 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.123647 -2.813579)', '2026-07-20 14:41:50', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123777 -2.813585)'), GeomFromEWKT('SRID=4674;POINT (-40.123647 -2.813579)'))) / (select extract(epoch from '2026-07-20 14:41:50'::timestamp) - extract(epoch from '2026-07-20 14:41:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123777 -2.813585)'), GeomFromEWKT('SRID=4674;POINT (-40.123647 -2.813579)'))) / (select extract(epoch from '2026-07-20 14:41:50'::timestamp) - extract(epoch from '2026-07-20 14:41: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'), 47632, 'SRID=4674;POINT (-40.123539 -2.813579)', '2026-07-20 14:41:58', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123647 -2.813579)'), GeomFromEWKT('SRID=4674;POINT (-40.123539 -2.813579)'))) / (select extract(epoch from '2026-07-20 14:41:58'::timestamp) - extract(epoch from '2026-07-20 14:41:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123647 -2.813579)'), GeomFromEWKT('SRID=4674;POINT (-40.123539 -2.813579)'))) / (select extract(epoch from '2026-07-20 14:41:58'::timestamp) - extract(epoch from '2026-07-20 14:41: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'), 47632, 'SRID=4674;POINT (-40.123419 -2.813576)', '2026-07-20 14:42:06', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123539 -2.813579)'), GeomFromEWKT('SRID=4674;POINT (-40.123419 -2.813576)'))) / (select extract(epoch from '2026-07-20 14:42:06'::timestamp) - extract(epoch from '2026-07-20 14:41:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123539 -2.813579)'), GeomFromEWKT('SRID=4674;POINT (-40.123419 -2.813576)'))) / (select extract(epoch from '2026-07-20 14:42:06'::timestamp) - extract(epoch from '2026-07-20 14:41: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'), 47632, 'SRID=4674;POINT (-40.123289 -2.813589)', '2026-07-20 14:42:15', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123419 -2.813576)'), GeomFromEWKT('SRID=4674;POINT (-40.123289 -2.813589)'))) / (select extract(epoch from '2026-07-20 14:42:15'::timestamp) - extract(epoch from '2026-07-20 14:42:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123419 -2.813576)'), GeomFromEWKT('SRID=4674;POINT (-40.123289 -2.813589)'))) / (select extract(epoch from '2026-07-20 14:42:15'::timestamp) - extract(epoch from '2026-07-20 14:42: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'), 47632, 'SRID=4674;POINT (-40.123167 -2.813593)', '2026-07-20 14:42:23', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123289 -2.813589)'), GeomFromEWKT('SRID=4674;POINT (-40.123167 -2.813593)'))) / (select extract(epoch from '2026-07-20 14:42:23'::timestamp) - extract(epoch from '2026-07-20 14:42:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123289 -2.813589)'), GeomFromEWKT('SRID=4674;POINT (-40.123167 -2.813593)'))) / (select extract(epoch from '2026-07-20 14:42:23'::timestamp) - extract(epoch from '2026-07-20 14:42: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'), 47632, 'SRID=4674;POINT (-40.123025 -2.813613)', '2026-07-20 14:42:33', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123167 -2.813593)'), GeomFromEWKT('SRID=4674;POINT (-40.123025 -2.813613)'))) / (select extract(epoch from '2026-07-20 14:42:33'::timestamp) - extract(epoch from '2026-07-20 14:42:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123167 -2.813593)'), GeomFromEWKT('SRID=4674;POINT (-40.123025 -2.813613)'))) / (select extract(epoch from '2026-07-20 14:42:33'::timestamp) - extract(epoch from '2026-07-20 14:42: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'), 47632, 'SRID=4674;POINT (-40.122928 -2.813607)', '2026-07-20 14:42:40', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123025 -2.813613)'), GeomFromEWKT('SRID=4674;POINT (-40.122928 -2.813607)'))) / (select extract(epoch from '2026-07-20 14:42:40'::timestamp) - extract(epoch from '2026-07-20 14:42:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123025 -2.813613)'), GeomFromEWKT('SRID=4674;POINT (-40.122928 -2.813607)'))) / (select extract(epoch from '2026-07-20 14:42:40'::timestamp) - extract(epoch from '2026-07-20 14:42: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'), 47632, 'SRID=4674;POINT (-40.122801 -2.813604)', '2026-07-20 14:42:49', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122928 -2.813607)'), GeomFromEWKT('SRID=4674;POINT (-40.122801 -2.813604)'))) / (select extract(epoch from '2026-07-20 14:42:49'::timestamp) - extract(epoch from '2026-07-20 14:42:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122928 -2.813607)'), GeomFromEWKT('SRID=4674;POINT (-40.122801 -2.813604)'))) / (select extract(epoch from '2026-07-20 14:42:49'::timestamp) - extract(epoch from '2026-07-20 14:42: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'), 47632, 'SRID=4674;POINT (-40.12267 -2.813603)', '2026-07-20 14:42:58', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122801 -2.813604)'), GeomFromEWKT('SRID=4674;POINT (-40.12267 -2.813603)'))) / (select extract(epoch from '2026-07-20 14:42:58'::timestamp) - extract(epoch from '2026-07-20 14:42:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122801 -2.813604)'), GeomFromEWKT('SRID=4674;POINT (-40.12267 -2.813603)'))) / (select extract(epoch from '2026-07-20 14:42:58'::timestamp) - extract(epoch from '2026-07-20 14:42: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'), 47632, 'SRID=4674;POINT (-40.12253 -2.813602)', '2026-07-20 14:43:08', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12267 -2.813603)'), GeomFromEWKT('SRID=4674;POINT (-40.12253 -2.813602)'))) / (select extract(epoch from '2026-07-20 14:43:08'::timestamp) - extract(epoch from '2026-07-20 14:42:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12267 -2.813603)'), GeomFromEWKT('SRID=4674;POINT (-40.12253 -2.813602)'))) / (select extract(epoch from '2026-07-20 14:43:08'::timestamp) - extract(epoch from '2026-07-20 14:42: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'), 47632, 'SRID=4674;POINT (-40.122444 -2.813582)', '2026-07-20 14:43:16', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12253 -2.813602)'), GeomFromEWKT('SRID=4674;POINT (-40.122444 -2.813582)'))) / (select extract(epoch from '2026-07-20 14:43:16'::timestamp) - extract(epoch from '2026-07-20 14:43:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12253 -2.813602)'), GeomFromEWKT('SRID=4674;POINT (-40.122444 -2.813582)'))) / (select extract(epoch from '2026-07-20 14:43:16'::timestamp) - extract(epoch from '2026-07-20 14:43: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'), 47632, 'SRID=4674;POINT (-40.122307 -2.813573)', '2026-07-20 14:43:25', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122444 -2.813582)'), GeomFromEWKT('SRID=4674;POINT (-40.122307 -2.813573)'))) / (select extract(epoch from '2026-07-20 14:43:25'::timestamp) - extract(epoch from '2026-07-20 14:43:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122444 -2.813582)'), GeomFromEWKT('SRID=4674;POINT (-40.122307 -2.813573)'))) / (select extract(epoch from '2026-07-20 14:43:25'::timestamp) - extract(epoch from '2026-07-20 14:43: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'), 47632, 'SRID=4674;POINT (-40.122136 -2.813571)', '2026-07-20 14:43:36', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122307 -2.813573)'), GeomFromEWKT('SRID=4674;POINT (-40.122136 -2.813571)'))) / (select extract(epoch from '2026-07-20 14:43:36'::timestamp) - extract(epoch from '2026-07-20 14:43:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122307 -2.813573)'), GeomFromEWKT('SRID=4674;POINT (-40.122136 -2.813571)'))) / (select extract(epoch from '2026-07-20 14:43:36'::timestamp) - extract(epoch from '2026-07-20 14:43: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'), 47632, 'SRID=4674;POINT (-40.122034 -2.813523)', '2026-07-20 14:43:43', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122136 -2.813571)'), GeomFromEWKT('SRID=4674;POINT (-40.122034 -2.813523)'))) / (select extract(epoch from '2026-07-20 14:43:43'::timestamp) - extract(epoch from '2026-07-20 14:43:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122136 -2.813571)'), GeomFromEWKT('SRID=4674;POINT (-40.122034 -2.813523)'))) / (select extract(epoch from '2026-07-20 14:43:43'::timestamp) - extract(epoch from '2026-07-20 14:43: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'), 47632, 'SRID=4674;POINT (-40.121892 -2.813488)', '2026-07-20 14:43:53', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122034 -2.813523)'), GeomFromEWKT('SRID=4674;POINT (-40.121892 -2.813488)'))) / (select extract(epoch from '2026-07-20 14:43:53'::timestamp) - extract(epoch from '2026-07-20 14:43:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122034 -2.813523)'), GeomFromEWKT('SRID=4674;POINT (-40.121892 -2.813488)'))) / (select extract(epoch from '2026-07-20 14:43:53'::timestamp) - extract(epoch from '2026-07-20 14:43: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'), 47632, 'SRID=4674;POINT (-40.121766 -2.813466)', '2026-07-20 14:44:01', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121892 -2.813488)'), GeomFromEWKT('SRID=4674;POINT (-40.121766 -2.813466)'))) / (select extract(epoch from '2026-07-20 14:44:01'::timestamp) - extract(epoch from '2026-07-20 14:43:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121892 -2.813488)'), GeomFromEWKT('SRID=4674;POINT (-40.121766 -2.813466)'))) / (select extract(epoch from '2026-07-20 14:44:01'::timestamp) - extract(epoch from '2026-07-20 14:43: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'), 47632, 'SRID=4674;POINT (-40.121631 -2.813432)', '2026-07-20 14:44:10', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121766 -2.813466)'), GeomFromEWKT('SRID=4674;POINT (-40.121631 -2.813432)'))) / (select extract(epoch from '2026-07-20 14:44:10'::timestamp) - extract(epoch from '2026-07-20 14:44:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121766 -2.813466)'), GeomFromEWKT('SRID=4674;POINT (-40.121631 -2.813432)'))) / (select extract(epoch from '2026-07-20 14:44:10'::timestamp) - extract(epoch from '2026-07-20 14:44: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'), 47632, 'SRID=4674;POINT (-40.121502 -2.813433)', '2026-07-20 14:44:18', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121631 -2.813432)'), GeomFromEWKT('SRID=4674;POINT (-40.121502 -2.813433)'))) / (select extract(epoch from '2026-07-20 14:44:18'::timestamp) - extract(epoch from '2026-07-20 14:44:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121631 -2.813432)'), GeomFromEWKT('SRID=4674;POINT (-40.121502 -2.813433)'))) / (select extract(epoch from '2026-07-20 14:44:18'::timestamp) - extract(epoch from '2026-07-20 14:44: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'), 47632, 'SRID=4674;POINT (-40.121367 -2.813429)', '2026-07-20 14:44:26', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121502 -2.813433)'), GeomFromEWKT('SRID=4674;POINT (-40.121367 -2.813429)'))) / (select extract(epoch from '2026-07-20 14:44:26'::timestamp) - extract(epoch from '2026-07-20 14:44:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121502 -2.813433)'), GeomFromEWKT('SRID=4674;POINT (-40.121367 -2.813429)'))) / (select extract(epoch from '2026-07-20 14:44:26'::timestamp) - extract(epoch from '2026-07-20 14:44: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'), 47632, 'SRID=4674;POINT (-40.12123 -2.813423)', '2026-07-20 14:44:35', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121367 -2.813429)'), GeomFromEWKT('SRID=4674;POINT (-40.12123 -2.813423)'))) / (select extract(epoch from '2026-07-20 14:44:35'::timestamp) - extract(epoch from '2026-07-20 14:44:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121367 -2.813429)'), GeomFromEWKT('SRID=4674;POINT (-40.12123 -2.813423)'))) / (select extract(epoch from '2026-07-20 14:44:35'::timestamp) - extract(epoch from '2026-07-20 14:44: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'), 47632, 'SRID=4674;POINT (-40.121099 -2.813417)', '2026-07-20 14:44:45', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12123 -2.813423)'), GeomFromEWKT('SRID=4674;POINT (-40.121099 -2.813417)'))) / (select extract(epoch from '2026-07-20 14:44:45'::timestamp) - extract(epoch from '2026-07-20 14:44:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12123 -2.813423)'), GeomFromEWKT('SRID=4674;POINT (-40.121099 -2.813417)'))) / (select extract(epoch from '2026-07-20 14:44:45'::timestamp) - extract(epoch from '2026-07-20 14:44: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'), 47632, 'SRID=4674;POINT (-40.120978 -2.813412)', '2026-07-20 14:44:54', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121099 -2.813417)'), GeomFromEWKT('SRID=4674;POINT (-40.120978 -2.813412)'))) / (select extract(epoch from '2026-07-20 14:44:54'::timestamp) - extract(epoch from '2026-07-20 14:44:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121099 -2.813417)'), GeomFromEWKT('SRID=4674;POINT (-40.120978 -2.813412)'))) / (select extract(epoch from '2026-07-20 14:44:54'::timestamp) - extract(epoch from '2026-07-20 14:44: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'), 47632, 'SRID=4674;POINT (-40.120882 -2.813403)', '2026-07-20 14:45:03', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120978 -2.813412)'), GeomFromEWKT('SRID=4674;POINT (-40.120882 -2.813403)'))) / (select extract(epoch from '2026-07-20 14:45:03'::timestamp) - extract(epoch from '2026-07-20 14:44:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120978 -2.813412)'), GeomFromEWKT('SRID=4674;POINT (-40.120882 -2.813403)'))) / (select extract(epoch from '2026-07-20 14:45:03'::timestamp) - extract(epoch from '2026-07-20 14:44: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'), 47632, 'SRID=4674;POINT (-40.120771 -2.813395)', '2026-07-20 14:45:12', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120882 -2.813403)'), GeomFromEWKT('SRID=4674;POINT (-40.120771 -2.813395)'))) / (select extract(epoch from '2026-07-20 14:45:12'::timestamp) - extract(epoch from '2026-07-20 14:45:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120882 -2.813403)'), GeomFromEWKT('SRID=4674;POINT (-40.120771 -2.813395)'))) / (select extract(epoch from '2026-07-20 14:45:12'::timestamp) - extract(epoch from '2026-07-20 14:45: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'), 47632, 'SRID=4674;POINT (-40.120668 -2.813383)', '2026-07-20 14:45:19', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120771 -2.813395)'), GeomFromEWKT('SRID=4674;POINT (-40.120668 -2.813383)'))) / (select extract(epoch from '2026-07-20 14:45:19'::timestamp) - extract(epoch from '2026-07-20 14:45:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120771 -2.813395)'), GeomFromEWKT('SRID=4674;POINT (-40.120668 -2.813383)'))) / (select extract(epoch from '2026-07-20 14:45:19'::timestamp) - extract(epoch from '2026-07-20 14:45: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'), 47632, 'SRID=4674;POINT (-40.120555 -2.81337)', '2026-07-20 14:45:27', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120668 -2.813383)'), GeomFromEWKT('SRID=4674;POINT (-40.120555 -2.81337)'))) / (select extract(epoch from '2026-07-20 14:45:27'::timestamp) - extract(epoch from '2026-07-20 14:45:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120668 -2.813383)'), GeomFromEWKT('SRID=4674;POINT (-40.120555 -2.81337)'))) / (select extract(epoch from '2026-07-20 14:45:27'::timestamp) - extract(epoch from '2026-07-20 14:45: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'), 47632, 'SRID=4674;POINT (-40.120473 -2.813368)', '2026-07-20 14:45:34', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120555 -2.81337)'), GeomFromEWKT('SRID=4674;POINT (-40.120473 -2.813368)'))) / (select extract(epoch from '2026-07-20 14:45:34'::timestamp) - extract(epoch from '2026-07-20 14:45:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120555 -2.81337)'), GeomFromEWKT('SRID=4674;POINT (-40.120473 -2.813368)'))) / (select extract(epoch from '2026-07-20 14:45:34'::timestamp) - extract(epoch from '2026-07-20 14:45: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'), 47632, 'SRID=4674;POINT (-40.120355 -2.813353)', '2026-07-20 14:45:43', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120473 -2.813368)'), GeomFromEWKT('SRID=4674;POINT (-40.120355 -2.813353)'))) / (select extract(epoch from '2026-07-20 14:45:43'::timestamp) - extract(epoch from '2026-07-20 14:45:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120473 -2.813368)'), GeomFromEWKT('SRID=4674;POINT (-40.120355 -2.813353)'))) / (select extract(epoch from '2026-07-20 14:45:43'::timestamp) - extract(epoch from '2026-07-20 14:45: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'), 47632, 'SRID=4674;POINT (-40.120274 -2.81333)', '2026-07-20 14:45:50', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120355 -2.813353)'), GeomFromEWKT('SRID=4674;POINT (-40.120274 -2.81333)'))) / (select extract(epoch from '2026-07-20 14:45:50'::timestamp) - extract(epoch from '2026-07-20 14:45:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120355 -2.813353)'), GeomFromEWKT('SRID=4674;POINT (-40.120274 -2.81333)'))) / (select extract(epoch from '2026-07-20 14:45:50'::timestamp) - extract(epoch from '2026-07-20 14:45: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'), 47632, 'SRID=4674;POINT (-40.120266 -2.813328)', '2026-07-20 14:45:51', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120274 -2.81333)'), GeomFromEWKT('SRID=4674;POINT (-40.120266 -2.813328)'))) / (select extract(epoch from '2026-07-20 14:45:51'::timestamp) - extract(epoch from '2026-07-20 14:45:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120274 -2.81333)'), GeomFromEWKT('SRID=4674;POINT (-40.120266 -2.813328)'))) / (select extract(epoch from '2026-07-20 14:45:51'::timestamp) - extract(epoch from '2026-07-20 14:45: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'), 47632, 'SRID=4674;POINT (-40.120164 -2.813328)', '2026-07-20 14:46:00', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120266 -2.813328)'), GeomFromEWKT('SRID=4674;POINT (-40.120164 -2.813328)'))) / (select extract(epoch from '2026-07-20 14:46:00'::timestamp) - extract(epoch from '2026-07-20 14:45:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120266 -2.813328)'), GeomFromEWKT('SRID=4674;POINT (-40.120164 -2.813328)'))) / (select extract(epoch from '2026-07-20 14:46:00'::timestamp) - extract(epoch from '2026-07-20 14:45: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'), 47632, 'SRID=4674;POINT (-40.120055 -2.813334)', '2026-07-20 14:46:09', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120164 -2.813328)'), GeomFromEWKT('SRID=4674;POINT (-40.120055 -2.813334)'))) / (select extract(epoch from '2026-07-20 14:46:09'::timestamp) - extract(epoch from '2026-07-20 14:46:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120164 -2.813328)'), GeomFromEWKT('SRID=4674;POINT (-40.120055 -2.813334)'))) / (select extract(epoch from '2026-07-20 14:46:09'::timestamp) - extract(epoch from '2026-07-20 14:46: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'), 47632, 'SRID=4674;POINT (-40.119916 -2.813338)', '2026-07-20 14:46:20', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120055 -2.813334)'), GeomFromEWKT('SRID=4674;POINT (-40.119916 -2.813338)'))) / (select extract(epoch from '2026-07-20 14:46:20'::timestamp) - extract(epoch from '2026-07-20 14:46:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120055 -2.813334)'), GeomFromEWKT('SRID=4674;POINT (-40.119916 -2.813338)'))) / (select extract(epoch from '2026-07-20 14:46:20'::timestamp) - extract(epoch from '2026-07-20 14:46: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'), 47632, 'SRID=4674;POINT (-40.119828 -2.813352)', '2026-07-20 14:46:29', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119916 -2.813338)'), GeomFromEWKT('SRID=4674;POINT (-40.119828 -2.813352)'))) / (select extract(epoch from '2026-07-20 14:46:29'::timestamp) - extract(epoch from '2026-07-20 14:46:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119916 -2.813338)'), GeomFromEWKT('SRID=4674;POINT (-40.119828 -2.813352)'))) / (select extract(epoch from '2026-07-20 14:46:29'::timestamp) - extract(epoch from '2026-07-20 14:46: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'), 47632, 'SRID=4674;POINT (-40.119721 -2.813369)', '2026-07-20 14:46:39', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119828 -2.813352)'), GeomFromEWKT('SRID=4674;POINT (-40.119721 -2.813369)'))) / (select extract(epoch from '2026-07-20 14:46:39'::timestamp) - extract(epoch from '2026-07-20 14:46:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119828 -2.813352)'), GeomFromEWKT('SRID=4674;POINT (-40.119721 -2.813369)'))) / (select extract(epoch from '2026-07-20 14:46:39'::timestamp) - extract(epoch from '2026-07-20 14:46: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'), 47632, 'SRID=4674;POINT (-40.119604 -2.813365)', '2026-07-20 14:46:48', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119721 -2.813369)'), GeomFromEWKT('SRID=4674;POINT (-40.119604 -2.813365)'))) / (select extract(epoch from '2026-07-20 14:46:48'::timestamp) - extract(epoch from '2026-07-20 14:46:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119721 -2.813369)'), GeomFromEWKT('SRID=4674;POINT (-40.119604 -2.813365)'))) / (select extract(epoch from '2026-07-20 14:46:48'::timestamp) - extract(epoch from '2026-07-20 14:46: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'), 47632, 'SRID=4674;POINT (-40.119484 -2.813359)', '2026-07-20 14:46:58', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119604 -2.813365)'), GeomFromEWKT('SRID=4674;POINT (-40.119484 -2.813359)'))) / (select extract(epoch from '2026-07-20 14:46:58'::timestamp) - extract(epoch from '2026-07-20 14:46:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119604 -2.813365)'), GeomFromEWKT('SRID=4674;POINT (-40.119484 -2.813359)'))) / (select extract(epoch from '2026-07-20 14:46:58'::timestamp) - extract(epoch from '2026-07-20 14:46: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'), 47632, 'SRID=4674;POINT (-40.119388 -2.813368)', '2026-07-20 14:47:06', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119484 -2.813359)'), GeomFromEWKT('SRID=4674;POINT (-40.119388 -2.813368)'))) / (select extract(epoch from '2026-07-20 14:47:06'::timestamp) - extract(epoch from '2026-07-20 14:46:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119484 -2.813359)'), GeomFromEWKT('SRID=4674;POINT (-40.119388 -2.813368)'))) / (select extract(epoch from '2026-07-20 14:47:06'::timestamp) - extract(epoch from '2026-07-20 14:46: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'), 47632, 'SRID=4674;POINT (-40.119274 -2.813351)', '2026-07-20 14:47:15', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119388 -2.813368)'), GeomFromEWKT('SRID=4674;POINT (-40.119274 -2.813351)'))) / (select extract(epoch from '2026-07-20 14:47:15'::timestamp) - extract(epoch from '2026-07-20 14:47:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119388 -2.813368)'), GeomFromEWKT('SRID=4674;POINT (-40.119274 -2.813351)'))) / (select extract(epoch from '2026-07-20 14:47:15'::timestamp) - extract(epoch from '2026-07-20 14:47: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'), 47632, 'SRID=4674;POINT (-40.11915 -2.813302)', '2026-07-20 14:47:24', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119274 -2.813351)'), GeomFromEWKT('SRID=4674;POINT (-40.11915 -2.813302)'))) / (select extract(epoch from '2026-07-20 14:47:24'::timestamp) - extract(epoch from '2026-07-20 14:47:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119274 -2.813351)'), GeomFromEWKT('SRID=4674;POINT (-40.11915 -2.813302)'))) / (select extract(epoch from '2026-07-20 14:47:24'::timestamp) - extract(epoch from '2026-07-20 14:47: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'), 47632, 'SRID=4674;POINT (-40.119033 -2.81327)', '2026-07-20 14:47:33', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11915 -2.813302)'), GeomFromEWKT('SRID=4674;POINT (-40.119033 -2.81327)'))) / (select extract(epoch from '2026-07-20 14:47:33'::timestamp) - extract(epoch from '2026-07-20 14:47:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11915 -2.813302)'), GeomFromEWKT('SRID=4674;POINT (-40.119033 -2.81327)'))) / (select extract(epoch from '2026-07-20 14:47:33'::timestamp) - extract(epoch from '2026-07-20 14:47: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'), 47632, 'SRID=4674;POINT (-40.118926 -2.813236)', '2026-07-20 14:47:42', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119033 -2.81327)'), GeomFromEWKT('SRID=4674;POINT (-40.118926 -2.813236)'))) / (select extract(epoch from '2026-07-20 14:47:42'::timestamp) - extract(epoch from '2026-07-20 14:47:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119033 -2.81327)'), GeomFromEWKT('SRID=4674;POINT (-40.118926 -2.813236)'))) / (select extract(epoch from '2026-07-20 14:47:42'::timestamp) - extract(epoch from '2026-07-20 14:47: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'), 47632, 'SRID=4674;POINT (-40.118836 -2.813157)', '2026-07-20 14:47:52', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118926 -2.813236)'), GeomFromEWKT('SRID=4674;POINT (-40.118836 -2.813157)'))) / (select extract(epoch from '2026-07-20 14:47:52'::timestamp) - extract(epoch from '2026-07-20 14:47:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118926 -2.813236)'), GeomFromEWKT('SRID=4674;POINT (-40.118836 -2.813157)'))) / (select extract(epoch from '2026-07-20 14:47:52'::timestamp) - extract(epoch from '2026-07-20 14:47: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'), 47632, 'SRID=4674;POINT (-40.118733 -2.813104)', '2026-07-20 14:48:01', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118836 -2.813157)'), GeomFromEWKT('SRID=4674;POINT (-40.118733 -2.813104)'))) / (select extract(epoch from '2026-07-20 14:48:01'::timestamp) - extract(epoch from '2026-07-20 14:47:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118836 -2.813157)'), GeomFromEWKT('SRID=4674;POINT (-40.118733 -2.813104)'))) / (select extract(epoch from '2026-07-20 14:48:01'::timestamp) - extract(epoch from '2026-07-20 14:47:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.118658 -2.813118)', '2026-07-20 14:48:09', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118733 -2.813104)'), GeomFromEWKT('SRID=4674;POINT (-40.118658 -2.813118)'))) / (select extract(epoch from '2026-07-20 14:48:09'::timestamp) - extract(epoch from '2026-07-20 14:48:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118733 -2.813104)'), GeomFromEWKT('SRID=4674;POINT (-40.118658 -2.813118)'))) / (select extract(epoch from '2026-07-20 14:48:09'::timestamp) - extract(epoch from '2026-07-20 14:48:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.118558 -2.813137)', '2026-07-20 14:48:18', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118658 -2.813118)'), GeomFromEWKT('SRID=4674;POINT (-40.118558 -2.813137)'))) / (select extract(epoch from '2026-07-20 14:48:18'::timestamp) - extract(epoch from '2026-07-20 14:48:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118658 -2.813118)'), GeomFromEWKT('SRID=4674;POINT (-40.118558 -2.813137)'))) / (select extract(epoch from '2026-07-20 14:48:18'::timestamp) - extract(epoch from '2026-07-20 14:48: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'), 47632, 'SRID=4674;POINT (-40.118447 -2.813134)', '2026-07-20 14:48:28', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118558 -2.813137)'), GeomFromEWKT('SRID=4674;POINT (-40.118447 -2.813134)'))) / (select extract(epoch from '2026-07-20 14:48:28'::timestamp) - extract(epoch from '2026-07-20 14:48:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118558 -2.813137)'), GeomFromEWKT('SRID=4674;POINT (-40.118447 -2.813134)'))) / (select extract(epoch from '2026-07-20 14:48:28'::timestamp) - extract(epoch from '2026-07-20 14:48: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'), 47632, 'SRID=4674;POINT (-40.118347 -2.813105)', '2026-07-20 14:48:36', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118447 -2.813134)'), GeomFromEWKT('SRID=4674;POINT (-40.118347 -2.813105)'))) / (select extract(epoch from '2026-07-20 14:48:36'::timestamp) - extract(epoch from '2026-07-20 14:48:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118447 -2.813134)'), GeomFromEWKT('SRID=4674;POINT (-40.118347 -2.813105)'))) / (select extract(epoch from '2026-07-20 14:48:36'::timestamp) - extract(epoch from '2026-07-20 14:48: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'), 47632, 'SRID=4674;POINT (-40.118257 -2.813085)', '2026-07-20 14:48:43', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118347 -2.813105)'), GeomFromEWKT('SRID=4674;POINT (-40.118257 -2.813085)'))) / (select extract(epoch from '2026-07-20 14:48:43'::timestamp) - extract(epoch from '2026-07-20 14:48:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118347 -2.813105)'), GeomFromEWKT('SRID=4674;POINT (-40.118257 -2.813085)'))) / (select extract(epoch from '2026-07-20 14:48:43'::timestamp) - extract(epoch from '2026-07-20 14:48: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'), 47632, 'SRID=4674;POINT (-40.118154 -2.813066)', '2026-07-20 14:48:52', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118257 -2.813085)'), GeomFromEWKT('SRID=4674;POINT (-40.118154 -2.813066)'))) / (select extract(epoch from '2026-07-20 14:48:52'::timestamp) - extract(epoch from '2026-07-20 14:48:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118257 -2.813085)'), GeomFromEWKT('SRID=4674;POINT (-40.118154 -2.813066)'))) / (select extract(epoch from '2026-07-20 14:48:52'::timestamp) - extract(epoch from '2026-07-20 14:48:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.118064 -2.813064)', '2026-07-20 14:49:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118154 -2.813066)'), GeomFromEWKT('SRID=4674;POINT (-40.118064 -2.813064)'))) / (select extract(epoch from '2026-07-20 14:49:00'::timestamp) - extract(epoch from '2026-07-20 14:48:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118154 -2.813066)'), GeomFromEWKT('SRID=4674;POINT (-40.118064 -2.813064)'))) / (select extract(epoch from '2026-07-20 14:49:00'::timestamp) - extract(epoch from '2026-07-20 14:48: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'), 47632, 'SRID=4674;POINT (-40.117955 -2.813066)', '2026-07-20 14:49:09', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118064 -2.813064)'), GeomFromEWKT('SRID=4674;POINT (-40.117955 -2.813066)'))) / (select extract(epoch from '2026-07-20 14:49:09'::timestamp) - extract(epoch from '2026-07-20 14:49:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118064 -2.813064)'), GeomFromEWKT('SRID=4674;POINT (-40.117955 -2.813066)'))) / (select extract(epoch from '2026-07-20 14:49:09'::timestamp) - extract(epoch from '2026-07-20 14:49: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'), 47632, 'SRID=4674;POINT (-40.117855 -2.813066)', '2026-07-20 14:49:17', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117955 -2.813066)'), GeomFromEWKT('SRID=4674;POINT (-40.117855 -2.813066)'))) / (select extract(epoch from '2026-07-20 14:49:17'::timestamp) - extract(epoch from '2026-07-20 14:49:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117955 -2.813066)'), GeomFromEWKT('SRID=4674;POINT (-40.117855 -2.813066)'))) / (select extract(epoch from '2026-07-20 14:49:17'::timestamp) - extract(epoch from '2026-07-20 14:49: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'), 47632, 'SRID=4674;POINT (-40.117789 -2.813058)', '2026-07-20 14:49:24', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117855 -2.813066)'), GeomFromEWKT('SRID=4674;POINT (-40.117789 -2.813058)'))) / (select extract(epoch from '2026-07-20 14:49:24'::timestamp) - extract(epoch from '2026-07-20 14:49:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117855 -2.813066)'), GeomFromEWKT('SRID=4674;POINT (-40.117789 -2.813058)'))) / (select extract(epoch from '2026-07-20 14:49:24'::timestamp) - extract(epoch from '2026-07-20 14:49: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'), 47632, 'SRID=4674;POINT (-40.117696 -2.813052)', '2026-07-20 14:49:33', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117789 -2.813058)'), GeomFromEWKT('SRID=4674;POINT (-40.117696 -2.813052)'))) / (select extract(epoch from '2026-07-20 14:49:33'::timestamp) - extract(epoch from '2026-07-20 14:49:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117789 -2.813058)'), GeomFromEWKT('SRID=4674;POINT (-40.117696 -2.813052)'))) / (select extract(epoch from '2026-07-20 14:49:33'::timestamp) - extract(epoch from '2026-07-20 14:49: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'), 47632, 'SRID=4674;POINT (-40.117606 -2.813044)', '2026-07-20 14:49:42', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117696 -2.813052)'), GeomFromEWKT('SRID=4674;POINT (-40.117606 -2.813044)'))) / (select extract(epoch from '2026-07-20 14:49:42'::timestamp) - extract(epoch from '2026-07-20 14:49:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117696 -2.813052)'), GeomFromEWKT('SRID=4674;POINT (-40.117606 -2.813044)'))) / (select extract(epoch from '2026-07-20 14:49:42'::timestamp) - extract(epoch from '2026-07-20 14:49: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'), 47632, 'SRID=4674;POINT (-40.117532 -2.813016)', '2026-07-20 14:49:49', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117606 -2.813044)'), GeomFromEWKT('SRID=4674;POINT (-40.117532 -2.813016)'))) / (select extract(epoch from '2026-07-20 14:49:49'::timestamp) - extract(epoch from '2026-07-20 14:49:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117606 -2.813044)'), GeomFromEWKT('SRID=4674;POINT (-40.117532 -2.813016)'))) / (select extract(epoch from '2026-07-20 14:49:49'::timestamp) - extract(epoch from '2026-07-20 14:49: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'), 47632, 'SRID=4674;POINT (-40.117414 -2.812973)', '2026-07-20 14:49:59', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117532 -2.813016)'), GeomFromEWKT('SRID=4674;POINT (-40.117414 -2.812973)'))) / (select extract(epoch from '2026-07-20 14:49:59'::timestamp) - extract(epoch from '2026-07-20 14:49:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117532 -2.813016)'), GeomFromEWKT('SRID=4674;POINT (-40.117414 -2.812973)'))) / (select extract(epoch from '2026-07-20 14:49:59'::timestamp) - extract(epoch from '2026-07-20 14:49: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'), 47632, 'SRID=4674;POINT (-40.117339 -2.812952)', '2026-07-20 14:50:06', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117414 -2.812973)'), GeomFromEWKT('SRID=4674;POINT (-40.117339 -2.812952)'))) / (select extract(epoch from '2026-07-20 14:50:06'::timestamp) - extract(epoch from '2026-07-20 14:49:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117414 -2.812973)'), GeomFromEWKT('SRID=4674;POINT (-40.117339 -2.812952)'))) / (select extract(epoch from '2026-07-20 14:50:06'::timestamp) - extract(epoch from '2026-07-20 14:49: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'), 47632, 'SRID=4674;POINT (-40.117233 -2.812946)', '2026-07-20 14:50:14', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117339 -2.812952)'), GeomFromEWKT('SRID=4674;POINT (-40.117233 -2.812946)'))) / (select extract(epoch from '2026-07-20 14:50:14'::timestamp) - extract(epoch from '2026-07-20 14:50:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117339 -2.812952)'), GeomFromEWKT('SRID=4674;POINT (-40.117233 -2.812946)'))) / (select extract(epoch from '2026-07-20 14:50:14'::timestamp) - extract(epoch from '2026-07-20 14:50: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'), 47632, 'SRID=4674;POINT (-40.117121 -2.812937)', '2026-07-20 14:50:23', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117233 -2.812946)'), GeomFromEWKT('SRID=4674;POINT (-40.117121 -2.812937)'))) / (select extract(epoch from '2026-07-20 14:50:23'::timestamp) - extract(epoch from '2026-07-20 14:50:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117233 -2.812946)'), GeomFromEWKT('SRID=4674;POINT (-40.117121 -2.812937)'))) / (select extract(epoch from '2026-07-20 14:50:23'::timestamp) - extract(epoch from '2026-07-20 14:50: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'), 47632, 'SRID=4674;POINT (-40.117036 -2.812925)', '2026-07-20 14:50:30', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117121 -2.812937)'), GeomFromEWKT('SRID=4674;POINT (-40.117036 -2.812925)'))) / (select extract(epoch from '2026-07-20 14:50:30'::timestamp) - extract(epoch from '2026-07-20 14:50:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117121 -2.812937)'), GeomFromEWKT('SRID=4674;POINT (-40.117036 -2.812925)'))) / (select extract(epoch from '2026-07-20 14:50:30'::timestamp) - extract(epoch from '2026-07-20 14:50: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'), 47632, 'SRID=4674;POINT (-40.116957 -2.812913)', '2026-07-20 14:50:37', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117036 -2.812925)'), GeomFromEWKT('SRID=4674;POINT (-40.116957 -2.812913)'))) / (select extract(epoch from '2026-07-20 14:50:37'::timestamp) - extract(epoch from '2026-07-20 14:50:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117036 -2.812925)'), GeomFromEWKT('SRID=4674;POINT (-40.116957 -2.812913)'))) / (select extract(epoch from '2026-07-20 14:50:37'::timestamp) - extract(epoch from '2026-07-20 14:50:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.116878 -2.812932)', '2026-07-20 14:50:45', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116957 -2.812913)'), GeomFromEWKT('SRID=4674;POINT (-40.116878 -2.812932)'))) / (select extract(epoch from '2026-07-20 14:50:45'::timestamp) - extract(epoch from '2026-07-20 14:50:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116957 -2.812913)'), GeomFromEWKT('SRID=4674;POINT (-40.116878 -2.812932)'))) / (select extract(epoch from '2026-07-20 14:50:45'::timestamp) - extract(epoch from '2026-07-20 14:50: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'), 47632, 'SRID=4674;POINT (-40.11679 -2.812954)', '2026-07-20 14:50:53', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116878 -2.812932)'), GeomFromEWKT('SRID=4674;POINT (-40.11679 -2.812954)'))) / (select extract(epoch from '2026-07-20 14:50:53'::timestamp) - extract(epoch from '2026-07-20 14:50:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116878 -2.812932)'), GeomFromEWKT('SRID=4674;POINT (-40.11679 -2.812954)'))) / (select extract(epoch from '2026-07-20 14:50:53'::timestamp) - extract(epoch from '2026-07-20 14:50:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.116705 -2.812966)', '2026-07-20 14:51:00', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11679 -2.812954)'), GeomFromEWKT('SRID=4674;POINT (-40.116705 -2.812966)'))) / (select extract(epoch from '2026-07-20 14:51:00'::timestamp) - extract(epoch from '2026-07-20 14:50:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11679 -2.812954)'), GeomFromEWKT('SRID=4674;POINT (-40.116705 -2.812966)'))) / (select extract(epoch from '2026-07-20 14:51:00'::timestamp) - extract(epoch from '2026-07-20 14:50: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'), 47632, 'SRID=4674;POINT (-40.116626 -2.812986)', '2026-07-20 14:51:08', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116705 -2.812966)'), GeomFromEWKT('SRID=4674;POINT (-40.116626 -2.812986)'))) / (select extract(epoch from '2026-07-20 14:51:08'::timestamp) - extract(epoch from '2026-07-20 14:51:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116705 -2.812966)'), GeomFromEWKT('SRID=4674;POINT (-40.116626 -2.812986)'))) / (select extract(epoch from '2026-07-20 14:51:08'::timestamp) - extract(epoch from '2026-07-20 14:51: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'), 47632, 'SRID=4674;POINT (-40.116535 -2.812977)', '2026-07-20 14:51:17', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116626 -2.812986)'), GeomFromEWKT('SRID=4674;POINT (-40.116535 -2.812977)'))) / (select extract(epoch from '2026-07-20 14:51:17'::timestamp) - extract(epoch from '2026-07-20 14:51:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116626 -2.812986)'), GeomFromEWKT('SRID=4674;POINT (-40.116535 -2.812977)'))) / (select extract(epoch from '2026-07-20 14:51:17'::timestamp) - extract(epoch from '2026-07-20 14:51: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'), 47632, 'SRID=4674;POINT (-40.116464 -2.812996)', '2026-07-20 14:51:24', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116535 -2.812977)'), GeomFromEWKT('SRID=4674;POINT (-40.116464 -2.812996)'))) / (select extract(epoch from '2026-07-20 14:51:24'::timestamp) - extract(epoch from '2026-07-20 14:51:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116535 -2.812977)'), GeomFromEWKT('SRID=4674;POINT (-40.116464 -2.812996)'))) / (select extract(epoch from '2026-07-20 14:51:24'::timestamp) - extract(epoch from '2026-07-20 14:51: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'), 47632, 'SRID=4674;POINT (-40.116348 -2.81304)', '2026-07-20 14:51:35', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116464 -2.812996)'), GeomFromEWKT('SRID=4674;POINT (-40.116348 -2.81304)'))) / (select extract(epoch from '2026-07-20 14:51:35'::timestamp) - extract(epoch from '2026-07-20 14:51:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116464 -2.812996)'), GeomFromEWKT('SRID=4674;POINT (-40.116348 -2.81304)'))) / (select extract(epoch from '2026-07-20 14:51:35'::timestamp) - extract(epoch from '2026-07-20 14:51: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'), 47632, 'SRID=4674;POINT (-40.116272 -2.813081)', '2026-07-20 14:51:42', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116348 -2.81304)'), GeomFromEWKT('SRID=4674;POINT (-40.116272 -2.813081)'))) / (select extract(epoch from '2026-07-20 14:51:42'::timestamp) - extract(epoch from '2026-07-20 14:51:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116348 -2.81304)'), GeomFromEWKT('SRID=4674;POINT (-40.116272 -2.813081)'))) / (select extract(epoch from '2026-07-20 14:51:42'::timestamp) - extract(epoch from '2026-07-20 14:51: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'), 47632, 'SRID=4674;POINT (-40.116172 -2.813132)', '2026-07-20 14:51:49', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116272 -2.813081)'), GeomFromEWKT('SRID=4674;POINT (-40.116172 -2.813132)'))) / (select extract(epoch from '2026-07-20 14:51:49'::timestamp) - extract(epoch from '2026-07-20 14:51:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116272 -2.813081)'), GeomFromEWKT('SRID=4674;POINT (-40.116172 -2.813132)'))) / (select extract(epoch from '2026-07-20 14:51:49'::timestamp) - extract(epoch from '2026-07-20 14:51: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'), 47632, 'SRID=4674;POINT (-40.116068 -2.813241)', '2026-07-20 14:52:00', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116172 -2.813132)'), GeomFromEWKT('SRID=4674;POINT (-40.116068 -2.813241)'))) / (select extract(epoch from '2026-07-20 14:52:00'::timestamp) - extract(epoch from '2026-07-20 14:51:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116172 -2.813132)'), GeomFromEWKT('SRID=4674;POINT (-40.116068 -2.813241)'))) / (select extract(epoch from '2026-07-20 14:52:00'::timestamp) - extract(epoch from '2026-07-20 14:51: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'), 47632, 'SRID=4674;POINT (-40.11599 -2.813296)', '2026-07-20 14:52:09', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116068 -2.813241)'), GeomFromEWKT('SRID=4674;POINT (-40.11599 -2.813296)'))) / (select extract(epoch from '2026-07-20 14:52:09'::timestamp) - extract(epoch from '2026-07-20 14:52:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116068 -2.813241)'), GeomFromEWKT('SRID=4674;POINT (-40.11599 -2.813296)'))) / (select extract(epoch from '2026-07-20 14:52:09'::timestamp) - extract(epoch from '2026-07-20 14:52: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'), 47632, 'SRID=4674;POINT (-40.115932 -2.813358)', '2026-07-20 14:52:19', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11599 -2.813296)'), GeomFromEWKT('SRID=4674;POINT (-40.115932 -2.813358)'))) / (select extract(epoch from '2026-07-20 14:52:19'::timestamp) - extract(epoch from '2026-07-20 14:52:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11599 -2.813296)'), GeomFromEWKT('SRID=4674;POINT (-40.115932 -2.813358)'))) / (select extract(epoch from '2026-07-20 14:52:19'::timestamp) - extract(epoch from '2026-07-20 14:52: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'), 47632, 'SRID=4674;POINT (-40.115858 -2.813416)', '2026-07-20 14:52:28', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115932 -2.813358)'), GeomFromEWKT('SRID=4674;POINT (-40.115858 -2.813416)'))) / (select extract(epoch from '2026-07-20 14:52:28'::timestamp) - extract(epoch from '2026-07-20 14:52:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115932 -2.813358)'), GeomFromEWKT('SRID=4674;POINT (-40.115858 -2.813416)'))) / (select extract(epoch from '2026-07-20 14:52:28'::timestamp) - extract(epoch from '2026-07-20 14:52: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'), 47632, 'SRID=4674;POINT (-40.115764 -2.813474)', '2026-07-20 14:52:38', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115858 -2.813416)'), GeomFromEWKT('SRID=4674;POINT (-40.115764 -2.813474)'))) / (select extract(epoch from '2026-07-20 14:52:38'::timestamp) - extract(epoch from '2026-07-20 14:52:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115858 -2.813416)'), GeomFromEWKT('SRID=4674;POINT (-40.115764 -2.813474)'))) / (select extract(epoch from '2026-07-20 14:52:38'::timestamp) - extract(epoch from '2026-07-20 14:52: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'), 47632, 'SRID=4674;POINT (-40.115665 -2.813535)', '2026-07-20 14:52:47', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115764 -2.813474)'), GeomFromEWKT('SRID=4674;POINT (-40.115665 -2.813535)'))) / (select extract(epoch from '2026-07-20 14:52:47'::timestamp) - extract(epoch from '2026-07-20 14:52:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115764 -2.813474)'), GeomFromEWKT('SRID=4674;POINT (-40.115665 -2.813535)'))) / (select extract(epoch from '2026-07-20 14:52:47'::timestamp) - extract(epoch from '2026-07-20 14:52: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'), 47632, 'SRID=4674;POINT (-40.115573 -2.813569)', '2026-07-20 14:52:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115665 -2.813535)'), GeomFromEWKT('SRID=4674;POINT (-40.115573 -2.813569)'))) / (select extract(epoch from '2026-07-20 14:52:55'::timestamp) - extract(epoch from '2026-07-20 14:52:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115665 -2.813535)'), GeomFromEWKT('SRID=4674;POINT (-40.115573 -2.813569)'))) / (select extract(epoch from '2026-07-20 14:52:55'::timestamp) - extract(epoch from '2026-07-20 14:52: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'), 47632, 'SRID=4674;POINT (-40.115489 -2.81364)', '2026-07-20 14:53:04', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115573 -2.813569)'), GeomFromEWKT('SRID=4674;POINT (-40.115489 -2.81364)'))) / (select extract(epoch from '2026-07-20 14:53:04'::timestamp) - extract(epoch from '2026-07-20 14:52:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115573 -2.813569)'), GeomFromEWKT('SRID=4674;POINT (-40.115489 -2.81364)'))) / (select extract(epoch from '2026-07-20 14:53:04'::timestamp) - extract(epoch from '2026-07-20 14:52: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'), 47632, 'SRID=4674;POINT (-40.115405 -2.813702)', '2026-07-20 14:53:13', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115489 -2.81364)'), GeomFromEWKT('SRID=4674;POINT (-40.115405 -2.813702)'))) / (select extract(epoch from '2026-07-20 14:53:13'::timestamp) - extract(epoch from '2026-07-20 14:53:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115489 -2.81364)'), GeomFromEWKT('SRID=4674;POINT (-40.115405 -2.813702)'))) / (select extract(epoch from '2026-07-20 14:53:13'::timestamp) - extract(epoch from '2026-07-20 14:53: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'), 47632, 'SRID=4674;POINT (-40.115288 -2.813784)', '2026-07-20 14:53:24', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115405 -2.813702)'), GeomFromEWKT('SRID=4674;POINT (-40.115288 -2.813784)'))) / (select extract(epoch from '2026-07-20 14:53:24'::timestamp) - extract(epoch from '2026-07-20 14:53:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115405 -2.813702)'), GeomFromEWKT('SRID=4674;POINT (-40.115288 -2.813784)'))) / (select extract(epoch from '2026-07-20 14:53:24'::timestamp) - extract(epoch from '2026-07-20 14:53: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'), 47632, 'SRID=4674;POINT (-40.11523 -2.813831)', '2026-07-20 14:53:31', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115288 -2.813784)'), GeomFromEWKT('SRID=4674;POINT (-40.11523 -2.813831)'))) / (select extract(epoch from '2026-07-20 14:53:31'::timestamp) - extract(epoch from '2026-07-20 14:53:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115288 -2.813784)'), GeomFromEWKT('SRID=4674;POINT (-40.11523 -2.813831)'))) / (select extract(epoch from '2026-07-20 14:53:31'::timestamp) - extract(epoch from '2026-07-20 14:53: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'), 47632, 'SRID=4674;POINT (-40.115137 -2.813878)', '2026-07-20 14:53:39', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11523 -2.813831)'), GeomFromEWKT('SRID=4674;POINT (-40.115137 -2.813878)'))) / (select extract(epoch from '2026-07-20 14:53:39'::timestamp) - extract(epoch from '2026-07-20 14:53:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11523 -2.813831)'), GeomFromEWKT('SRID=4674;POINT (-40.115137 -2.813878)'))) / (select extract(epoch from '2026-07-20 14:53:39'::timestamp) - extract(epoch from '2026-07-20 14:53: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'), 47632, 'SRID=4674;POINT (-40.11505 -2.813935)', '2026-07-20 14:53:48', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115137 -2.813878)'), GeomFromEWKT('SRID=4674;POINT (-40.11505 -2.813935)'))) / (select extract(epoch from '2026-07-20 14:53:48'::timestamp) - extract(epoch from '2026-07-20 14:53:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115137 -2.813878)'), GeomFromEWKT('SRID=4674;POINT (-40.11505 -2.813935)'))) / (select extract(epoch from '2026-07-20 14:53:48'::timestamp) - extract(epoch from '2026-07-20 14:53: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'), 47632, 'SRID=4674;POINT (-40.114989 -2.813998)', '2026-07-20 14:53:55', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11505 -2.813935)'), GeomFromEWKT('SRID=4674;POINT (-40.114989 -2.813998)'))) / (select extract(epoch from '2026-07-20 14:53:55'::timestamp) - extract(epoch from '2026-07-20 14:53:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11505 -2.813935)'), GeomFromEWKT('SRID=4674;POINT (-40.114989 -2.813998)'))) / (select extract(epoch from '2026-07-20 14:53:55'::timestamp) - extract(epoch from '2026-07-20 14:53: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'), 47632, 'SRID=4674;POINT (-40.114912 -2.81409)', '2026-07-20 14:54:05', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114989 -2.813998)'), GeomFromEWKT('SRID=4674;POINT (-40.114912 -2.81409)'))) / (select extract(epoch from '2026-07-20 14:54:05'::timestamp) - extract(epoch from '2026-07-20 14:53:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114989 -2.813998)'), GeomFromEWKT('SRID=4674;POINT (-40.114912 -2.81409)'))) / (select extract(epoch from '2026-07-20 14:54:05'::timestamp) - extract(epoch from '2026-07-20 14:53: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'), 47632, 'SRID=4674;POINT (-40.114849 -2.814149)', '2026-07-20 14:54:12', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114912 -2.81409)'), GeomFromEWKT('SRID=4674;POINT (-40.114849 -2.814149)'))) / (select extract(epoch from '2026-07-20 14:54:12'::timestamp) - extract(epoch from '2026-07-20 14:54:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114912 -2.81409)'), GeomFromEWKT('SRID=4674;POINT (-40.114849 -2.814149)'))) / (select extract(epoch from '2026-07-20 14:54:12'::timestamp) - extract(epoch from '2026-07-20 14:54: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'), 47632, 'SRID=4674;POINT (-40.114769 -2.814209)', '2026-07-20 14:54:20', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114849 -2.814149)'), GeomFromEWKT('SRID=4674;POINT (-40.114769 -2.814209)'))) / (select extract(epoch from '2026-07-20 14:54:20'::timestamp) - extract(epoch from '2026-07-20 14:54:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114849 -2.814149)'), GeomFromEWKT('SRID=4674;POINT (-40.114769 -2.814209)'))) / (select extract(epoch from '2026-07-20 14:54:20'::timestamp) - extract(epoch from '2026-07-20 14:54: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'), 47632, 'SRID=4674;POINT (-40.114673 -2.814311)', '2026-07-20 14:54:32', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114769 -2.814209)'), GeomFromEWKT('SRID=4674;POINT (-40.114673 -2.814311)'))) / (select extract(epoch from '2026-07-20 14:54:32'::timestamp) - extract(epoch from '2026-07-20 14:54:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114769 -2.814209)'), GeomFromEWKT('SRID=4674;POINT (-40.114673 -2.814311)'))) / (select extract(epoch from '2026-07-20 14:54:32'::timestamp) - extract(epoch from '2026-07-20 14:54: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'), 47632, 'SRID=4674;POINT (-40.114564 -2.814409)', '2026-07-20 14:54:45', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114673 -2.814311)'), GeomFromEWKT('SRID=4674;POINT (-40.114564 -2.814409)'))) / (select extract(epoch from '2026-07-20 14:54:45'::timestamp) - extract(epoch from '2026-07-20 14:54:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114673 -2.814311)'), GeomFromEWKT('SRID=4674;POINT (-40.114564 -2.814409)'))) / (select extract(epoch from '2026-07-20 14:54:45'::timestamp) - extract(epoch from '2026-07-20 14:54: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'), 47632, 'SRID=4674;POINT (-40.114483 -2.814476)', '2026-07-20 14:54:54', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114564 -2.814409)'), GeomFromEWKT('SRID=4674;POINT (-40.114483 -2.814476)'))) / (select extract(epoch from '2026-07-20 14:54:54'::timestamp) - extract(epoch from '2026-07-20 14:54:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114564 -2.814409)'), GeomFromEWKT('SRID=4674;POINT (-40.114483 -2.814476)'))) / (select extract(epoch from '2026-07-20 14:54:54'::timestamp) - extract(epoch from '2026-07-20 14:54:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.114425 -2.814531)', '2026-07-20 14:55:02', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114483 -2.814476)'), GeomFromEWKT('SRID=4674;POINT (-40.114425 -2.814531)'))) / (select extract(epoch from '2026-07-20 14:55:02'::timestamp) - extract(epoch from '2026-07-20 14:54:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114483 -2.814476)'), GeomFromEWKT('SRID=4674;POINT (-40.114425 -2.814531)'))) / (select extract(epoch from '2026-07-20 14:55:02'::timestamp) - extract(epoch from '2026-07-20 14:54: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'), 47632, 'SRID=4674;POINT (-40.114363 -2.814585)', '2026-07-20 14:55:10', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114425 -2.814531)'), GeomFromEWKT('SRID=4674;POINT (-40.114363 -2.814585)'))) / (select extract(epoch from '2026-07-20 14:55:10'::timestamp) - extract(epoch from '2026-07-20 14:55:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114425 -2.814531)'), GeomFromEWKT('SRID=4674;POINT (-40.114363 -2.814585)'))) / (select extract(epoch from '2026-07-20 14:55:10'::timestamp) - extract(epoch from '2026-07-20 14:55: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'), 47632, 'SRID=4674;POINT (-40.114278 -2.814641)', '2026-07-20 14:55:21', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114363 -2.814585)'), GeomFromEWKT('SRID=4674;POINT (-40.114278 -2.814641)'))) / (select extract(epoch from '2026-07-20 14:55:21'::timestamp) - extract(epoch from '2026-07-20 14:55:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114363 -2.814585)'), GeomFromEWKT('SRID=4674;POINT (-40.114278 -2.814641)'))) / (select extract(epoch from '2026-07-20 14:55:21'::timestamp) - extract(epoch from '2026-07-20 14:55: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'), 47632, 'SRID=4674;POINT (-40.114166 -2.814678)', '2026-07-20 14:55:31', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114278 -2.814641)'), GeomFromEWKT('SRID=4674;POINT (-40.114166 -2.814678)'))) / (select extract(epoch from '2026-07-20 14:55:31'::timestamp) - extract(epoch from '2026-07-20 14:55:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114278 -2.814641)'), GeomFromEWKT('SRID=4674;POINT (-40.114166 -2.814678)'))) / (select extract(epoch from '2026-07-20 14:55:31'::timestamp) - extract(epoch from '2026-07-20 14:55: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'), 47632, 'SRID=4674;POINT (-40.114053 -2.814717)', '2026-07-20 14:55:43', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114166 -2.814678)'), GeomFromEWKT('SRID=4674;POINT (-40.114053 -2.814717)'))) / (select extract(epoch from '2026-07-20 14:55:43'::timestamp) - extract(epoch from '2026-07-20 14:55:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114166 -2.814678)'), GeomFromEWKT('SRID=4674;POINT (-40.114053 -2.814717)'))) / (select extract(epoch from '2026-07-20 14:55:43'::timestamp) - extract(epoch from '2026-07-20 14:55: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'), 47632, 'SRID=4674;POINT (-40.113974 -2.814745)', '2026-07-20 14:55:51', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114053 -2.814717)'), GeomFromEWKT('SRID=4674;POINT (-40.113974 -2.814745)'))) / (select extract(epoch from '2026-07-20 14:55:51'::timestamp) - extract(epoch from '2026-07-20 14:55:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114053 -2.814717)'), GeomFromEWKT('SRID=4674;POINT (-40.113974 -2.814745)'))) / (select extract(epoch from '2026-07-20 14:55:51'::timestamp) - extract(epoch from '2026-07-20 14:55: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'), 47632, 'SRID=4674;POINT (-40.11389 -2.81479)', '2026-07-20 14:56:00', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113974 -2.814745)'), GeomFromEWKT('SRID=4674;POINT (-40.11389 -2.81479)'))) / (select extract(epoch from '2026-07-20 14:56:00'::timestamp) - extract(epoch from '2026-07-20 14:55:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113974 -2.814745)'), GeomFromEWKT('SRID=4674;POINT (-40.11389 -2.81479)'))) / (select extract(epoch from '2026-07-20 14:56:00'::timestamp) - extract(epoch from '2026-07-20 14:55:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.113802 -2.814831)', '2026-07-20 14:56:09', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11389 -2.81479)'), GeomFromEWKT('SRID=4674;POINT (-40.113802 -2.814831)'))) / (select extract(epoch from '2026-07-20 14:56:09'::timestamp) - extract(epoch from '2026-07-20 14:56:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11389 -2.81479)'), GeomFromEWKT('SRID=4674;POINT (-40.113802 -2.814831)'))) / (select extract(epoch from '2026-07-20 14:56:09'::timestamp) - extract(epoch from '2026-07-20 14:56: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'), 47632, 'SRID=4674;POINT (-40.11372 -2.814855)', '2026-07-20 14:56:17', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113802 -2.814831)'), GeomFromEWKT('SRID=4674;POINT (-40.11372 -2.814855)'))) / (select extract(epoch from '2026-07-20 14:56:17'::timestamp) - extract(epoch from '2026-07-20 14:56:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113802 -2.814831)'), GeomFromEWKT('SRID=4674;POINT (-40.11372 -2.814855)'))) / (select extract(epoch from '2026-07-20 14:56:17'::timestamp) - extract(epoch from '2026-07-20 14:56: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'), 47632, 'SRID=4674;POINT (-40.113637 -2.814886)', '2026-07-20 14:56:26', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11372 -2.814855)'), GeomFromEWKT('SRID=4674;POINT (-40.113637 -2.814886)'))) / (select extract(epoch from '2026-07-20 14:56:26'::timestamp) - extract(epoch from '2026-07-20 14:56:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11372 -2.814855)'), GeomFromEWKT('SRID=4674;POINT (-40.113637 -2.814886)'))) / (select extract(epoch from '2026-07-20 14:56:26'::timestamp) - extract(epoch from '2026-07-20 14:56: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'), 47632, 'SRID=4674;POINT (-40.113582 -2.814917)', '2026-07-20 14:56:33', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113637 -2.814886)'), GeomFromEWKT('SRID=4674;POINT (-40.113582 -2.814917)'))) / (select extract(epoch from '2026-07-20 14:56:33'::timestamp) - extract(epoch from '2026-07-20 14:56:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113637 -2.814886)'), GeomFromEWKT('SRID=4674;POINT (-40.113582 -2.814917)'))) / (select extract(epoch from '2026-07-20 14:56:33'::timestamp) - extract(epoch from '2026-07-20 14:56:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.113501 -2.814971)', '2026-07-20 14:56:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113582 -2.814917)'), GeomFromEWKT('SRID=4674;POINT (-40.113501 -2.814971)'))) / (select extract(epoch from '2026-07-20 14:56:42'::timestamp) - extract(epoch from '2026-07-20 14:56:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113582 -2.814917)'), GeomFromEWKT('SRID=4674;POINT (-40.113501 -2.814971)'))) / (select extract(epoch from '2026-07-20 14:56:42'::timestamp) - extract(epoch from '2026-07-20 14:56: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'), 47632, 'SRID=4674;POINT (-40.113413 -2.815004)', '2026-07-20 14:56:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113501 -2.814971)'), GeomFromEWKT('SRID=4674;POINT (-40.113413 -2.815004)'))) / (select extract(epoch from '2026-07-20 14:56:51'::timestamp) - extract(epoch from '2026-07-20 14:56:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113501 -2.814971)'), GeomFromEWKT('SRID=4674;POINT (-40.113413 -2.815004)'))) / (select extract(epoch from '2026-07-20 14:56:51'::timestamp) - extract(epoch from '2026-07-20 14:56: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'), 47632, 'SRID=4674;POINT (-40.113305 -2.815035)', '2026-07-20 14:57:02', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113413 -2.815004)'), GeomFromEWKT('SRID=4674;POINT (-40.113305 -2.815035)'))) / (select extract(epoch from '2026-07-20 14:57:02'::timestamp) - extract(epoch from '2026-07-20 14:56:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113413 -2.815004)'), GeomFromEWKT('SRID=4674;POINT (-40.113305 -2.815035)'))) / (select extract(epoch from '2026-07-20 14:57:02'::timestamp) - extract(epoch from '2026-07-20 14:56:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.113194 -2.815061)', '2026-07-20 14:57:13', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113305 -2.815035)'), GeomFromEWKT('SRID=4674;POINT (-40.113194 -2.815061)'))) / (select extract(epoch from '2026-07-20 14:57:13'::timestamp) - extract(epoch from '2026-07-20 14:57:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113305 -2.815035)'), GeomFromEWKT('SRID=4674;POINT (-40.113194 -2.815061)'))) / (select extract(epoch from '2026-07-20 14:57:13'::timestamp) - extract(epoch from '2026-07-20 14:57:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.113099 -2.815094)', '2026-07-20 14:57:22', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113194 -2.815061)'), GeomFromEWKT('SRID=4674;POINT (-40.113099 -2.815094)'))) / (select extract(epoch from '2026-07-20 14:57:22'::timestamp) - extract(epoch from '2026-07-20 14:57:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113194 -2.815061)'), GeomFromEWKT('SRID=4674;POINT (-40.113099 -2.815094)'))) / (select extract(epoch from '2026-07-20 14:57:22'::timestamp) - extract(epoch from '2026-07-20 14:57: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'), 47632, 'SRID=4674;POINT (-40.113004 -2.815155)', '2026-07-20 14:57:32', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113099 -2.815094)'), GeomFromEWKT('SRID=4674;POINT (-40.113004 -2.815155)'))) / (select extract(epoch from '2026-07-20 14:57:32'::timestamp) - extract(epoch from '2026-07-20 14:57:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113099 -2.815094)'), GeomFromEWKT('SRID=4674;POINT (-40.113004 -2.815155)'))) / (select extract(epoch from '2026-07-20 14:57:32'::timestamp) - extract(epoch from '2026-07-20 14:57: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'), 47632, 'SRID=4674;POINT (-40.112953 -2.815189)', '2026-07-20 14:57:38', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113004 -2.815155)'), GeomFromEWKT('SRID=4674;POINT (-40.112953 -2.815189)'))) / (select extract(epoch from '2026-07-20 14:57:38'::timestamp) - extract(epoch from '2026-07-20 14:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113004 -2.815155)'), GeomFromEWKT('SRID=4674;POINT (-40.112953 -2.815189)'))) / (select extract(epoch from '2026-07-20 14:57:38'::timestamp) - extract(epoch from '2026-07-20 14:57:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.112932 -2.815202)', '2026-07-20 14:57:41', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112953 -2.815189)'), GeomFromEWKT('SRID=4674;POINT (-40.112932 -2.815202)'))) / (select extract(epoch from '2026-07-20 14:57:41'::timestamp) - extract(epoch from '2026-07-20 14:57:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112953 -2.815189)'), GeomFromEWKT('SRID=4674;POINT (-40.112932 -2.815202)'))) / (select extract(epoch from '2026-07-20 14:57:41'::timestamp) - extract(epoch from '2026-07-20 14:57:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.112865 -2.81524)', '2026-07-20 14:57:49', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112932 -2.815202)'), GeomFromEWKT('SRID=4674;POINT (-40.112865 -2.81524)'))) / (select extract(epoch from '2026-07-20 14:57:49'::timestamp) - extract(epoch from '2026-07-20 14:57:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112932 -2.815202)'), GeomFromEWKT('SRID=4674;POINT (-40.112865 -2.81524)'))) / (select extract(epoch from '2026-07-20 14:57:49'::timestamp) - extract(epoch from '2026-07-20 14:57: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'), 47632, 'SRID=4674;POINT (-40.112775 -2.815272)', '2026-07-20 14:57:59', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112865 -2.81524)'), GeomFromEWKT('SRID=4674;POINT (-40.112775 -2.815272)'))) / (select extract(epoch from '2026-07-20 14:57:59'::timestamp) - extract(epoch from '2026-07-20 14:57:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112865 -2.81524)'), GeomFromEWKT('SRID=4674;POINT (-40.112775 -2.815272)'))) / (select extract(epoch from '2026-07-20 14:57:59'::timestamp) - extract(epoch from '2026-07-20 14:57: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'), 47632, 'SRID=4674;POINT (-40.112687 -2.815294)', '2026-07-20 14:58:11', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112775 -2.815272)'), GeomFromEWKT('SRID=4674;POINT (-40.112687 -2.815294)'))) / (select extract(epoch from '2026-07-20 14:58:11'::timestamp) - extract(epoch from '2026-07-20 14:57:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112775 -2.815272)'), GeomFromEWKT('SRID=4674;POINT (-40.112687 -2.815294)'))) / (select extract(epoch from '2026-07-20 14:58:11'::timestamp) - extract(epoch from '2026-07-20 14:57: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'), 47632, 'SRID=4674;POINT (-40.112564 -2.815332)', '2026-07-20 14:58:26', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112687 -2.815294)'), GeomFromEWKT('SRID=4674;POINT (-40.112564 -2.815332)'))) / (select extract(epoch from '2026-07-20 14:58:26'::timestamp) - extract(epoch from '2026-07-20 14:58:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112687 -2.815294)'), GeomFromEWKT('SRID=4674;POINT (-40.112564 -2.815332)'))) / (select extract(epoch from '2026-07-20 14:58:26'::timestamp) - extract(epoch from '2026-07-20 14:58: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'), 47632, 'SRID=4674;POINT (-40.11242 -2.815348)', '2026-07-20 14:58:40', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112564 -2.815332)'), GeomFromEWKT('SRID=4674;POINT (-40.11242 -2.815348)'))) / (select extract(epoch from '2026-07-20 14:58:40'::timestamp) - extract(epoch from '2026-07-20 14:58:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112564 -2.815332)'), GeomFromEWKT('SRID=4674;POINT (-40.11242 -2.815348)'))) / (select extract(epoch from '2026-07-20 14:58:40'::timestamp) - extract(epoch from '2026-07-20 14:58:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.112274 -2.815402)', '2026-07-20 14:58:55', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11242 -2.815348)'), GeomFromEWKT('SRID=4674;POINT (-40.112274 -2.815402)'))) / (select extract(epoch from '2026-07-20 14:58:55'::timestamp) - extract(epoch from '2026-07-20 14:58:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11242 -2.815348)'), GeomFromEWKT('SRID=4674;POINT (-40.112274 -2.815402)'))) / (select extract(epoch from '2026-07-20 14:58:55'::timestamp) - extract(epoch from '2026-07-20 14:58: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'), 47632, 'SRID=4674;POINT (-40.112092 -2.81544)', '2026-07-20 14:59:09', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112274 -2.815402)'), GeomFromEWKT('SRID=4674;POINT (-40.112092 -2.81544)'))) / (select extract(epoch from '2026-07-20 14:59:09'::timestamp) - extract(epoch from '2026-07-20 14:58:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112274 -2.815402)'), GeomFromEWKT('SRID=4674;POINT (-40.112092 -2.81544)'))) / (select extract(epoch from '2026-07-20 14:59:09'::timestamp) - extract(epoch from '2026-07-20 14:58: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'), 47632, 'SRID=4674;POINT (-40.111977 -2.815454)', '2026-07-20 14:59:18', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112092 -2.81544)'), GeomFromEWKT('SRID=4674;POINT (-40.111977 -2.815454)'))) / (select extract(epoch from '2026-07-20 14:59:18'::timestamp) - extract(epoch from '2026-07-20 14:59:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112092 -2.81544)'), GeomFromEWKT('SRID=4674;POINT (-40.111977 -2.815454)'))) / (select extract(epoch from '2026-07-20 14:59:18'::timestamp) - extract(epoch from '2026-07-20 14:59: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'), 47632, 'SRID=4674;POINT (-40.111858 -2.81546)', '2026-07-20 14:59:28', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111977 -2.815454)'), GeomFromEWKT('SRID=4674;POINT (-40.111858 -2.81546)'))) / (select extract(epoch from '2026-07-20 14:59:28'::timestamp) - extract(epoch from '2026-07-20 14:59:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111977 -2.815454)'), GeomFromEWKT('SRID=4674;POINT (-40.111858 -2.81546)'))) / (select extract(epoch from '2026-07-20 14:59:28'::timestamp) - extract(epoch from '2026-07-20 14:59:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.111752 -2.81548)', '2026-07-20 14:59:37', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111858 -2.81546)'), GeomFromEWKT('SRID=4674;POINT (-40.111752 -2.81548)'))) / (select extract(epoch from '2026-07-20 14:59:37'::timestamp) - extract(epoch from '2026-07-20 14:59:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111858 -2.81546)'), GeomFromEWKT('SRID=4674;POINT (-40.111752 -2.81548)'))) / (select extract(epoch from '2026-07-20 14:59:37'::timestamp) - extract(epoch from '2026-07-20 14:59:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.111623 -2.815488)', '2026-07-20 14:59:48', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111752 -2.81548)'), GeomFromEWKT('SRID=4674;POINT (-40.111623 -2.815488)'))) / (select extract(epoch from '2026-07-20 14:59:48'::timestamp) - extract(epoch from '2026-07-20 14:59:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111752 -2.81548)'), GeomFromEWKT('SRID=4674;POINT (-40.111623 -2.815488)'))) / (select extract(epoch from '2026-07-20 14:59:48'::timestamp) - extract(epoch from '2026-07-20 14:59:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.111514 -2.815492)', '2026-07-20 14:59:59', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111623 -2.815488)'), GeomFromEWKT('SRID=4674;POINT (-40.111514 -2.815492)'))) / (select extract(epoch from '2026-07-20 14:59:59'::timestamp) - extract(epoch from '2026-07-20 14:59:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111623 -2.815488)'), GeomFromEWKT('SRID=4674;POINT (-40.111514 -2.815492)'))) / (select extract(epoch from '2026-07-20 14:59:59'::timestamp) - extract(epoch from '2026-07-20 14:59: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'), 47632, 'SRID=4674;POINT (-40.11141 -2.815495)', '2026-07-20 15:00:07', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111514 -2.815492)'), GeomFromEWKT('SRID=4674;POINT (-40.11141 -2.815495)'))) / (select extract(epoch from '2026-07-20 15:00:07'::timestamp) - extract(epoch from '2026-07-20 14:59:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111514 -2.815492)'), GeomFromEWKT('SRID=4674;POINT (-40.11141 -2.815495)'))) / (select extract(epoch from '2026-07-20 15:00:07'::timestamp) - extract(epoch from '2026-07-20 14:59: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'), 47632, 'SRID=4674;POINT (-40.111274 -2.815496)', '2026-07-20 15:00:17', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11141 -2.815495)'), GeomFromEWKT('SRID=4674;POINT (-40.111274 -2.815496)'))) / (select extract(epoch from '2026-07-20 15:00:17'::timestamp) - extract(epoch from '2026-07-20 15:00:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11141 -2.815495)'), GeomFromEWKT('SRID=4674;POINT (-40.111274 -2.815496)'))) / (select extract(epoch from '2026-07-20 15:00:17'::timestamp) - extract(epoch from '2026-07-20 15:00:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.11115 -2.815501)', '2026-07-20 15:00:28', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111274 -2.815496)'), GeomFromEWKT('SRID=4674;POINT (-40.11115 -2.815501)'))) / (select extract(epoch from '2026-07-20 15:00:28'::timestamp) - extract(epoch from '2026-07-20 15:00:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111274 -2.815496)'), GeomFromEWKT('SRID=4674;POINT (-40.11115 -2.815501)'))) / (select extract(epoch from '2026-07-20 15:00:28'::timestamp) - extract(epoch from '2026-07-20 15:00: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'), 47632, 'SRID=4674;POINT (-40.111046 -2.815487)', '2026-07-20 15:00:35', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11115 -2.815501)'), GeomFromEWKT('SRID=4674;POINT (-40.111046 -2.815487)'))) / (select extract(epoch from '2026-07-20 15:00:35'::timestamp) - extract(epoch from '2026-07-20 15:00:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11115 -2.815501)'), GeomFromEWKT('SRID=4674;POINT (-40.111046 -2.815487)'))) / (select extract(epoch from '2026-07-20 15:00:35'::timestamp) - extract(epoch from '2026-07-20 15:00: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'), 47632, 'SRID=4674;POINT (-40.110962 -2.815493)', '2026-07-20 15:00:44', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111046 -2.815487)'), GeomFromEWKT('SRID=4674;POINT (-40.110962 -2.815493)'))) / (select extract(epoch from '2026-07-20 15:00:44'::timestamp) - extract(epoch from '2026-07-20 15:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111046 -2.815487)'), GeomFromEWKT('SRID=4674;POINT (-40.110962 -2.815493)'))) / (select extract(epoch from '2026-07-20 15:00:44'::timestamp) - extract(epoch from '2026-07-20 15:00: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'), 47632, 'SRID=4674;POINT (-40.110868 -2.815478)', '2026-07-20 15:00:51', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110962 -2.815493)'), GeomFromEWKT('SRID=4674;POINT (-40.110868 -2.815478)'))) / (select extract(epoch from '2026-07-20 15:00:51'::timestamp) - extract(epoch from '2026-07-20 15:00:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110962 -2.815493)'), GeomFromEWKT('SRID=4674;POINT (-40.110868 -2.815478)'))) / (select extract(epoch from '2026-07-20 15:00:51'::timestamp) - extract(epoch from '2026-07-20 15:00:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.110732 -2.815471)', '2026-07-20 15:01:02', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110868 -2.815478)'), GeomFromEWKT('SRID=4674;POINT (-40.110732 -2.815471)'))) / (select extract(epoch from '2026-07-20 15:01:02'::timestamp) - extract(epoch from '2026-07-20 15:00:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110868 -2.815478)'), GeomFromEWKT('SRID=4674;POINT (-40.110732 -2.815471)'))) / (select extract(epoch from '2026-07-20 15:01:02'::timestamp) - extract(epoch from '2026-07-20 15:00: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'), 47632, 'SRID=4674;POINT (-40.110627 -2.815483)', '2026-07-20 15:01:11', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110732 -2.815471)'), GeomFromEWKT('SRID=4674;POINT (-40.110627 -2.815483)'))) / (select extract(epoch from '2026-07-20 15:01:11'::timestamp) - extract(epoch from '2026-07-20 15:01:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110732 -2.815471)'), GeomFromEWKT('SRID=4674;POINT (-40.110627 -2.815483)'))) / (select extract(epoch from '2026-07-20 15:01:11'::timestamp) - extract(epoch from '2026-07-20 15:01: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'), 47632, 'SRID=4674;POINT (-40.110522 -2.815493)', '2026-07-20 15:01:20', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110627 -2.815483)'), GeomFromEWKT('SRID=4674;POINT (-40.110522 -2.815493)'))) / (select extract(epoch from '2026-07-20 15:01:20'::timestamp) - extract(epoch from '2026-07-20 15:01:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110627 -2.815483)'), GeomFromEWKT('SRID=4674;POINT (-40.110522 -2.815493)'))) / (select extract(epoch from '2026-07-20 15:01:20'::timestamp) - extract(epoch from '2026-07-20 15: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'), 47632, 'SRID=4674;POINT (-40.11044 -2.815476)', '2026-07-20 15:01:28', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110522 -2.815493)'), GeomFromEWKT('SRID=4674;POINT (-40.11044 -2.815476)'))) / (select extract(epoch from '2026-07-20 15:01:28'::timestamp) - extract(epoch from '2026-07-20 15:01:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110522 -2.815493)'), GeomFromEWKT('SRID=4674;POINT (-40.11044 -2.815476)'))) / (select extract(epoch from '2026-07-20 15:01:28'::timestamp) - extract(epoch from '2026-07-20 15:01: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'), 47632, 'SRID=4674;POINT (-40.110336 -2.815461)', '2026-07-20 15:01:37', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11044 -2.815476)'), GeomFromEWKT('SRID=4674;POINT (-40.110336 -2.815461)'))) / (select extract(epoch from '2026-07-20 15:01:37'::timestamp) - extract(epoch from '2026-07-20 15:01:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11044 -2.815476)'), GeomFromEWKT('SRID=4674;POINT (-40.110336 -2.815461)'))) / (select extract(epoch from '2026-07-20 15:01:37'::timestamp) - extract(epoch from '2026-07-20 15:01: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'), 47632, 'SRID=4674;POINT (-40.110248 -2.815434)', '2026-07-20 15:01:45', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110336 -2.815461)'), GeomFromEWKT('SRID=4674;POINT (-40.110248 -2.815434)'))) / (select extract(epoch from '2026-07-20 15:01:45'::timestamp) - extract(epoch from '2026-07-20 15:01:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110336 -2.815461)'), GeomFromEWKT('SRID=4674;POINT (-40.110248 -2.815434)'))) / (select extract(epoch from '2026-07-20 15:01:45'::timestamp) - extract(epoch from '2026-07-20 15: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'), 47632, 'SRID=4674;POINT (-40.110137 -2.81539)', '2026-07-20 15:01:55', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110248 -2.815434)'), GeomFromEWKT('SRID=4674;POINT (-40.110137 -2.81539)'))) / (select extract(epoch from '2026-07-20 15:01:55'::timestamp) - extract(epoch from '2026-07-20 15:01:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110248 -2.815434)'), GeomFromEWKT('SRID=4674;POINT (-40.110137 -2.81539)'))) / (select extract(epoch from '2026-07-20 15:01:55'::timestamp) - extract(epoch from '2026-07-20 15:01: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'), 47632, 'SRID=4674;POINT (-40.110032 -2.815337)', '2026-07-20 15:02:05', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110137 -2.81539)'), GeomFromEWKT('SRID=4674;POINT (-40.110032 -2.815337)'))) / (select extract(epoch from '2026-07-20 15:02:05'::timestamp) - extract(epoch from '2026-07-20 15:01:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110137 -2.81539)'), GeomFromEWKT('SRID=4674;POINT (-40.110032 -2.815337)'))) / (select extract(epoch from '2026-07-20 15:02:05'::timestamp) - extract(epoch from '2026-07-20 15:01: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'), 47632, 'SRID=4674;POINT (-40.109937 -2.815312)', '2026-07-20 15:02:14', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110032 -2.815337)'), GeomFromEWKT('SRID=4674;POINT (-40.109937 -2.815312)'))) / (select extract(epoch from '2026-07-20 15:02:14'::timestamp) - extract(epoch from '2026-07-20 15:02:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110032 -2.815337)'), GeomFromEWKT('SRID=4674;POINT (-40.109937 -2.815312)'))) / (select extract(epoch from '2026-07-20 15:02:14'::timestamp) - extract(epoch from '2026-07-20 15:02: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'), 47632, 'SRID=4674;POINT (-40.109845 -2.815299)', '2026-07-20 15:02:23', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109937 -2.815312)'), GeomFromEWKT('SRID=4674;POINT (-40.109845 -2.815299)'))) / (select extract(epoch from '2026-07-20 15:02:23'::timestamp) - extract(epoch from '2026-07-20 15:02:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109937 -2.815312)'), GeomFromEWKT('SRID=4674;POINT (-40.109845 -2.815299)'))) / (select extract(epoch from '2026-07-20 15:02:23'::timestamp) - extract(epoch from '2026-07-20 15:02: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'), 47632, 'SRID=4674;POINT (-40.109748 -2.815285)', '2026-07-20 15:02:31', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109845 -2.815299)'), GeomFromEWKT('SRID=4674;POINT (-40.109748 -2.815285)'))) / (select extract(epoch from '2026-07-20 15:02:31'::timestamp) - extract(epoch from '2026-07-20 15:02:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109845 -2.815299)'), GeomFromEWKT('SRID=4674;POINT (-40.109748 -2.815285)'))) / (select extract(epoch from '2026-07-20 15:02:31'::timestamp) - extract(epoch from '2026-07-20 15:02: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'), 47632, 'SRID=4674;POINT (-40.109636 -2.815274)', '2026-07-20 15:02:38', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109748 -2.815285)'), GeomFromEWKT('SRID=4674;POINT (-40.109636 -2.815274)'))) / (select extract(epoch from '2026-07-20 15:02:38'::timestamp) - extract(epoch from '2026-07-20 15:02:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109748 -2.815285)'), GeomFromEWKT('SRID=4674;POINT (-40.109636 -2.815274)'))) / (select extract(epoch from '2026-07-20 15:02:38'::timestamp) - extract(epoch from '2026-07-20 15:02: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'), 47632, 'SRID=4674;POINT (-40.109488 -2.815264)', '2026-07-20 15:02:48', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109636 -2.815274)'), GeomFromEWKT('SRID=4674;POINT (-40.109488 -2.815264)'))) / (select extract(epoch from '2026-07-20 15:02:48'::timestamp) - extract(epoch from '2026-07-20 15:02:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109636 -2.815274)'), GeomFromEWKT('SRID=4674;POINT (-40.109488 -2.815264)'))) / (select extract(epoch from '2026-07-20 15:02:48'::timestamp) - extract(epoch from '2026-07-20 15:02: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'), 47632, 'SRID=4674;POINT (-40.109365 -2.815263)', '2026-07-20 15:02:58', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109488 -2.815264)'), GeomFromEWKT('SRID=4674;POINT (-40.109365 -2.815263)'))) / (select extract(epoch from '2026-07-20 15:02:58'::timestamp) - extract(epoch from '2026-07-20 15:02:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109488 -2.815264)'), GeomFromEWKT('SRID=4674;POINT (-40.109365 -2.815263)'))) / (select extract(epoch from '2026-07-20 15:02:58'::timestamp) - extract(epoch from '2026-07-20 15: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'), 47632, 'SRID=4674;POINT (-40.109276 -2.815261)', '2026-07-20 15:03:05', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109365 -2.815263)'), GeomFromEWKT('SRID=4674;POINT (-40.109276 -2.815261)'))) / (select extract(epoch from '2026-07-20 15:03:05'::timestamp) - extract(epoch from '2026-07-20 15:02:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109365 -2.815263)'), GeomFromEWKT('SRID=4674;POINT (-40.109276 -2.815261)'))) / (select extract(epoch from '2026-07-20 15:03:05'::timestamp) - extract(epoch from '2026-07-20 15:02: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'), 47632, 'SRID=4674;POINT (-40.109167 -2.815262)', '2026-07-20 15:03:13', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109276 -2.815261)'), GeomFromEWKT('SRID=4674;POINT (-40.109167 -2.815262)'))) / (select extract(epoch from '2026-07-20 15:03:13'::timestamp) - extract(epoch from '2026-07-20 15:03:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109276 -2.815261)'), GeomFromEWKT('SRID=4674;POINT (-40.109167 -2.815262)'))) / (select extract(epoch from '2026-07-20 15:03:13'::timestamp) - extract(epoch from '2026-07-20 15: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'), 47632, 'SRID=4674;POINT (-40.109063 -2.815266)', '2026-07-20 15:03:22', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109167 -2.815262)'), GeomFromEWKT('SRID=4674;POINT (-40.109063 -2.815266)'))) / (select extract(epoch from '2026-07-20 15:03:22'::timestamp) - extract(epoch from '2026-07-20 15:03:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109167 -2.815262)'), GeomFromEWKT('SRID=4674;POINT (-40.109063 -2.815266)'))) / (select extract(epoch from '2026-07-20 15:03:22'::timestamp) - extract(epoch from '2026-07-20 15:03: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'), 47632, 'SRID=4674;POINT (-40.108938 -2.815302)', '2026-07-20 15:03:32', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109063 -2.815266)'), GeomFromEWKT('SRID=4674;POINT (-40.108938 -2.815302)'))) / (select extract(epoch from '2026-07-20 15:03:32'::timestamp) - extract(epoch from '2026-07-20 15:03:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109063 -2.815266)'), GeomFromEWKT('SRID=4674;POINT (-40.108938 -2.815302)'))) / (select extract(epoch from '2026-07-20 15:03:32'::timestamp) - extract(epoch from '2026-07-20 15:03: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'), 47632, 'SRID=4674;POINT (-40.108813 -2.815352)', '2026-07-20 15:03:42', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108938 -2.815302)'), GeomFromEWKT('SRID=4674;POINT (-40.108813 -2.815352)'))) / (select extract(epoch from '2026-07-20 15:03:42'::timestamp) - extract(epoch from '2026-07-20 15:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108938 -2.815302)'), GeomFromEWKT('SRID=4674;POINT (-40.108813 -2.815352)'))) / (select extract(epoch from '2026-07-20 15:03:42'::timestamp) - extract(epoch from '2026-07-20 15: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'), 47632, 'SRID=4674;POINT (-40.108692 -2.815381)', '2026-07-20 15:03:51', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108813 -2.815352)'), GeomFromEWKT('SRID=4674;POINT (-40.108692 -2.815381)'))) / (select extract(epoch from '2026-07-20 15:03:51'::timestamp) - extract(epoch from '2026-07-20 15:03:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108813 -2.815352)'), GeomFromEWKT('SRID=4674;POINT (-40.108692 -2.815381)'))) / (select extract(epoch from '2026-07-20 15:03:51'::timestamp) - extract(epoch from '2026-07-20 15:03:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.108557 -2.815399)', '2026-07-20 15:04:02', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108692 -2.815381)'), GeomFromEWKT('SRID=4674;POINT (-40.108557 -2.815399)'))) / (select extract(epoch from '2026-07-20 15:04:02'::timestamp) - extract(epoch from '2026-07-20 15:03:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108692 -2.815381)'), GeomFromEWKT('SRID=4674;POINT (-40.108557 -2.815399)'))) / (select extract(epoch from '2026-07-20 15:04:02'::timestamp) - extract(epoch from '2026-07-20 15:03: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'), 47632, 'SRID=4674;POINT (-40.108465 -2.815402)', '2026-07-20 15:04:09', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108557 -2.815399)'), GeomFromEWKT('SRID=4674;POINT (-40.108465 -2.815402)'))) / (select extract(epoch from '2026-07-20 15:04:09'::timestamp) - extract(epoch from '2026-07-20 15:04:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108557 -2.815399)'), GeomFromEWKT('SRID=4674;POINT (-40.108465 -2.815402)'))) / (select extract(epoch from '2026-07-20 15:04:09'::timestamp) - extract(epoch from '2026-07-20 15:04: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'), 47632, 'SRID=4674;POINT (-40.108395 -2.815415)', '2026-07-20 15:04:16', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108465 -2.815402)'), GeomFromEWKT('SRID=4674;POINT (-40.108395 -2.815415)'))) / (select extract(epoch from '2026-07-20 15:04:16'::timestamp) - extract(epoch from '2026-07-20 15:04:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108465 -2.815402)'), GeomFromEWKT('SRID=4674;POINT (-40.108395 -2.815415)'))) / (select extract(epoch from '2026-07-20 15:04:16'::timestamp) - extract(epoch from '2026-07-20 15: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'), 47632, 'SRID=4674;POINT (-40.108275 -2.815425)', '2026-07-20 15:04:27', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108395 -2.815415)'), GeomFromEWKT('SRID=4674;POINT (-40.108275 -2.815425)'))) / (select extract(epoch from '2026-07-20 15:04:27'::timestamp) - extract(epoch from '2026-07-20 15:04:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108395 -2.815415)'), GeomFromEWKT('SRID=4674;POINT (-40.108275 -2.815425)'))) / (select extract(epoch from '2026-07-20 15:04:27'::timestamp) - extract(epoch from '2026-07-20 15: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'), 47632, 'SRID=4674;POINT (-40.108175 -2.815418)', '2026-07-20 15:04:36', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108275 -2.815425)'), GeomFromEWKT('SRID=4674;POINT (-40.108175 -2.815418)'))) / (select extract(epoch from '2026-07-20 15:04:36'::timestamp) - extract(epoch from '2026-07-20 15:04:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108275 -2.815425)'), GeomFromEWKT('SRID=4674;POINT (-40.108175 -2.815418)'))) / (select extract(epoch from '2026-07-20 15:04:36'::timestamp) - extract(epoch from '2026-07-20 15:04: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'), 47632, 'SRID=4674;POINT (-40.108042 -2.815439)', '2026-07-20 15:04:46', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108175 -2.815418)'), GeomFromEWKT('SRID=4674;POINT (-40.108042 -2.815439)'))) / (select extract(epoch from '2026-07-20 15:04:46'::timestamp) - extract(epoch from '2026-07-20 15:04:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108175 -2.815418)'), GeomFromEWKT('SRID=4674;POINT (-40.108042 -2.815439)'))) / (select extract(epoch from '2026-07-20 15:04:46'::timestamp) - extract(epoch from '2026-07-20 15:04: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'), 47632, 'SRID=4674;POINT (-40.107918 -2.815485)', '2026-07-20 15:04:56', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108042 -2.815439)'), GeomFromEWKT('SRID=4674;POINT (-40.107918 -2.815485)'))) / (select extract(epoch from '2026-07-20 15:04:56'::timestamp) - extract(epoch from '2026-07-20 15:04:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108042 -2.815439)'), GeomFromEWKT('SRID=4674;POINT (-40.107918 -2.815485)'))) / (select extract(epoch from '2026-07-20 15:04:56'::timestamp) - extract(epoch from '2026-07-20 15: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'), 47632, 'SRID=4674;POINT (-40.107813 -2.815506)', '2026-07-20 15:05:05', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107918 -2.815485)'), GeomFromEWKT('SRID=4674;POINT (-40.107813 -2.815506)'))) / (select extract(epoch from '2026-07-20 15:05:05'::timestamp) - extract(epoch from '2026-07-20 15:04:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107918 -2.815485)'), GeomFromEWKT('SRID=4674;POINT (-40.107813 -2.815506)'))) / (select extract(epoch from '2026-07-20 15:05:05'::timestamp) - extract(epoch from '2026-07-20 15:04:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.107711 -2.81554)', '2026-07-20 15:05:14', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107813 -2.815506)'), GeomFromEWKT('SRID=4674;POINT (-40.107711 -2.81554)'))) / (select extract(epoch from '2026-07-20 15:05:14'::timestamp) - extract(epoch from '2026-07-20 15:05:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107813 -2.815506)'), GeomFromEWKT('SRID=4674;POINT (-40.107711 -2.81554)'))) / (select extract(epoch from '2026-07-20 15:05:14'::timestamp) - extract(epoch from '2026-07-20 15:05: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'), 47632, 'SRID=4674;POINT (-40.107579 -2.815568)', '2026-07-20 15:05:23', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107711 -2.81554)'), GeomFromEWKT('SRID=4674;POINT (-40.107579 -2.815568)'))) / (select extract(epoch from '2026-07-20 15:05:23'::timestamp) - extract(epoch from '2026-07-20 15:05:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107711 -2.81554)'), GeomFromEWKT('SRID=4674;POINT (-40.107579 -2.815568)'))) / (select extract(epoch from '2026-07-20 15:05:23'::timestamp) - extract(epoch from '2026-07-20 15:05: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'), 47632, 'SRID=4674;POINT (-40.107439 -2.815597)', '2026-07-20 15:05:34', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107579 -2.815568)'), GeomFromEWKT('SRID=4674;POINT (-40.107439 -2.815597)'))) / (select extract(epoch from '2026-07-20 15:05:34'::timestamp) - extract(epoch from '2026-07-20 15:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107579 -2.815568)'), GeomFromEWKT('SRID=4674;POINT (-40.107439 -2.815597)'))) / (select extract(epoch from '2026-07-20 15:05:34'::timestamp) - extract(epoch from '2026-07-20 15:05: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'), 47632, 'SRID=4674;POINT (-40.107327 -2.815629)', '2026-07-20 15:05:43', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107439 -2.815597)'), GeomFromEWKT('SRID=4674;POINT (-40.107327 -2.815629)'))) / (select extract(epoch from '2026-07-20 15:05:43'::timestamp) - extract(epoch from '2026-07-20 15:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107439 -2.815597)'), GeomFromEWKT('SRID=4674;POINT (-40.107327 -2.815629)'))) / (select extract(epoch from '2026-07-20 15:05:43'::timestamp) - extract(epoch from '2026-07-20 15:05: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'), 47632, 'SRID=4674;POINT (-40.107199 -2.815668)', '2026-07-20 15:05:54', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107327 -2.815629)'), GeomFromEWKT('SRID=4674;POINT (-40.107199 -2.815668)'))) / (select extract(epoch from '2026-07-20 15:05:54'::timestamp) - extract(epoch from '2026-07-20 15:05:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107327 -2.815629)'), GeomFromEWKT('SRID=4674;POINT (-40.107199 -2.815668)'))) / (select extract(epoch from '2026-07-20 15:05:54'::timestamp) - extract(epoch from '2026-07-20 15:05: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'), 47632, 'SRID=4674;POINT (-40.107102 -2.81567)', '2026-07-20 15:06:03', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107199 -2.815668)'), GeomFromEWKT('SRID=4674;POINT (-40.107102 -2.81567)'))) / (select extract(epoch from '2026-07-20 15:06:03'::timestamp) - extract(epoch from '2026-07-20 15:05:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107199 -2.815668)'), GeomFromEWKT('SRID=4674;POINT (-40.107102 -2.81567)'))) / (select extract(epoch from '2026-07-20 15:06:03'::timestamp) - extract(epoch from '2026-07-20 15: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'), 47632, 'SRID=4674;POINT (-40.106978 -2.815681)', '2026-07-20 15:06:12', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107102 -2.81567)'), GeomFromEWKT('SRID=4674;POINT (-40.106978 -2.815681)'))) / (select extract(epoch from '2026-07-20 15:06:12'::timestamp) - extract(epoch from '2026-07-20 15:06:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107102 -2.81567)'), GeomFromEWKT('SRID=4674;POINT (-40.106978 -2.815681)'))) / (select extract(epoch from '2026-07-20 15:06:12'::timestamp) - extract(epoch from '2026-07-20 15:06:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.106867 -2.815688)', '2026-07-20 15:06:20', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106978 -2.815681)'), GeomFromEWKT('SRID=4674;POINT (-40.106867 -2.815688)'))) / (select extract(epoch from '2026-07-20 15:06:20'::timestamp) - extract(epoch from '2026-07-20 15:06:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106978 -2.815681)'), GeomFromEWKT('SRID=4674;POINT (-40.106867 -2.815688)'))) / (select extract(epoch from '2026-07-20 15:06:20'::timestamp) - extract(epoch from '2026-07-20 15:06:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.106748 -2.815706)', '2026-07-20 15:06:29', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106867 -2.815688)'), GeomFromEWKT('SRID=4674;POINT (-40.106748 -2.815706)'))) / (select extract(epoch from '2026-07-20 15:06:29'::timestamp) - extract(epoch from '2026-07-20 15:06:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106867 -2.815688)'), GeomFromEWKT('SRID=4674;POINT (-40.106748 -2.815706)'))) / (select extract(epoch from '2026-07-20 15:06:29'::timestamp) - extract(epoch from '2026-07-20 15:06: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'), 47632, 'SRID=4674;POINT (-40.106649 -2.815725)', '2026-07-20 15:06:37', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106748 -2.815706)'), GeomFromEWKT('SRID=4674;POINT (-40.106649 -2.815725)'))) / (select extract(epoch from '2026-07-20 15:06:37'::timestamp) - extract(epoch from '2026-07-20 15:06:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106748 -2.815706)'), GeomFromEWKT('SRID=4674;POINT (-40.106649 -2.815725)'))) / (select extract(epoch from '2026-07-20 15:06:37'::timestamp) - extract(epoch from '2026-07-20 15:06: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'), 47632, 'SRID=4674;POINT (-40.106531 -2.815743)', '2026-07-20 15:06:45', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106649 -2.815725)'), GeomFromEWKT('SRID=4674;POINT (-40.106531 -2.815743)'))) / (select extract(epoch from '2026-07-20 15:06:45'::timestamp) - extract(epoch from '2026-07-20 15:06:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106649 -2.815725)'), GeomFromEWKT('SRID=4674;POINT (-40.106531 -2.815743)'))) / (select extract(epoch from '2026-07-20 15:06:45'::timestamp) - extract(epoch from '2026-07-20 15:06:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.106392 -2.815762)', '2026-07-20 15:06:55', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106531 -2.815743)'), GeomFromEWKT('SRID=4674;POINT (-40.106392 -2.815762)'))) / (select extract(epoch from '2026-07-20 15:06:55'::timestamp) - extract(epoch from '2026-07-20 15:06:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106531 -2.815743)'), GeomFromEWKT('SRID=4674;POINT (-40.106392 -2.815762)'))) / (select extract(epoch from '2026-07-20 15:06:55'::timestamp) - extract(epoch from '2026-07-20 15:06: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'), 47632, 'SRID=4674;POINT (-40.106293 -2.815762)', '2026-07-20 15:07:02', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106392 -2.815762)'), GeomFromEWKT('SRID=4674;POINT (-40.106293 -2.815762)'))) / (select extract(epoch from '2026-07-20 15:07:02'::timestamp) - extract(epoch from '2026-07-20 15:06:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106392 -2.815762)'), GeomFromEWKT('SRID=4674;POINT (-40.106293 -2.815762)'))) / (select extract(epoch from '2026-07-20 15:07:02'::timestamp) - extract(epoch from '2026-07-20 15:06: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'), 47632, 'SRID=4674;POINT (-40.106177 -2.815773)', '2026-07-20 15:07:13', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106293 -2.815762)'), GeomFromEWKT('SRID=4674;POINT (-40.106177 -2.815773)'))) / (select extract(epoch from '2026-07-20 15:07:13'::timestamp) - extract(epoch from '2026-07-20 15:07:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106293 -2.815762)'), GeomFromEWKT('SRID=4674;POINT (-40.106177 -2.815773)'))) / (select extract(epoch from '2026-07-20 15:07:13'::timestamp) - extract(epoch from '2026-07-20 15:07: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'), 47632, 'SRID=4674;POINT (-40.106077 -2.815767)', '2026-07-20 15:07:22', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106177 -2.815773)'), GeomFromEWKT('SRID=4674;POINT (-40.106077 -2.815767)'))) / (select extract(epoch from '2026-07-20 15:07:22'::timestamp) - extract(epoch from '2026-07-20 15:07:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106177 -2.815773)'), GeomFromEWKT('SRID=4674;POINT (-40.106077 -2.815767)'))) / (select extract(epoch from '2026-07-20 15:07:22'::timestamp) - extract(epoch from '2026-07-20 15: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'), 47632, 'SRID=4674;POINT (-40.105966 -2.815749)', '2026-07-20 15:07:31', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106077 -2.815767)'), GeomFromEWKT('SRID=4674;POINT (-40.105966 -2.815749)'))) / (select extract(epoch from '2026-07-20 15:07:31'::timestamp) - extract(epoch from '2026-07-20 15:07:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106077 -2.815767)'), GeomFromEWKT('SRID=4674;POINT (-40.105966 -2.815749)'))) / (select extract(epoch from '2026-07-20 15:07:31'::timestamp) - extract(epoch from '2026-07-20 15:07: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'), 47632, 'SRID=4674;POINT (-40.105849 -2.815733)', '2026-07-20 15:07:40', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105966 -2.815749)'), GeomFromEWKT('SRID=4674;POINT (-40.105849 -2.815733)'))) / (select extract(epoch from '2026-07-20 15:07:40'::timestamp) - extract(epoch from '2026-07-20 15:07:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105966 -2.815749)'), GeomFromEWKT('SRID=4674;POINT (-40.105849 -2.815733)'))) / (select extract(epoch from '2026-07-20 15:07:40'::timestamp) - extract(epoch from '2026-07-20 15:07:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.105755 -2.815697)', '2026-07-20 15:07:47', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105849 -2.815733)'), GeomFromEWKT('SRID=4674;POINT (-40.105755 -2.815697)'))) / (select extract(epoch from '2026-07-20 15:07:47'::timestamp) - extract(epoch from '2026-07-20 15:07:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105849 -2.815733)'), GeomFromEWKT('SRID=4674;POINT (-40.105755 -2.815697)'))) / (select extract(epoch from '2026-07-20 15:07:47'::timestamp) - extract(epoch from '2026-07-20 15:07:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.105613 -2.815615)', '2026-07-20 15:07:58', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105755 -2.815697)'), GeomFromEWKT('SRID=4674;POINT (-40.105613 -2.815615)'))) / (select extract(epoch from '2026-07-20 15:07:58'::timestamp) - extract(epoch from '2026-07-20 15:07:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105755 -2.815697)'), GeomFromEWKT('SRID=4674;POINT (-40.105613 -2.815615)'))) / (select extract(epoch from '2026-07-20 15:07:58'::timestamp) - extract(epoch from '2026-07-20 15:07: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'), 47632, 'SRID=4674;POINT (-40.105524 -2.815559)', '2026-07-20 15:08:06', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105613 -2.815615)'), GeomFromEWKT('SRID=4674;POINT (-40.105524 -2.815559)'))) / (select extract(epoch from '2026-07-20 15:08:06'::timestamp) - extract(epoch from '2026-07-20 15:07:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105613 -2.815615)'), GeomFromEWKT('SRID=4674;POINT (-40.105524 -2.815559)'))) / (select extract(epoch from '2026-07-20 15:08:06'::timestamp) - extract(epoch from '2026-07-20 15:07: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'), 47632, 'SRID=4674;POINT (-40.105432 -2.815483)', '2026-07-20 15:08:16', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105524 -2.815559)'), GeomFromEWKT('SRID=4674;POINT (-40.105432 -2.815483)'))) / (select extract(epoch from '2026-07-20 15:08:16'::timestamp) - extract(epoch from '2026-07-20 15:08:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105524 -2.815559)'), GeomFromEWKT('SRID=4674;POINT (-40.105432 -2.815483)'))) / (select extract(epoch from '2026-07-20 15:08:16'::timestamp) - extract(epoch from '2026-07-20 15:08: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'), 47632, 'SRID=4674;POINT (-40.105396 -2.815383)', '2026-07-20 15:08:25', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105432 -2.815483)'), GeomFromEWKT('SRID=4674;POINT (-40.105396 -2.815383)'))) / (select extract(epoch from '2026-07-20 15:08:25'::timestamp) - extract(epoch from '2026-07-20 15:08:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105432 -2.815483)'), GeomFromEWKT('SRID=4674;POINT (-40.105396 -2.815383)'))) / (select extract(epoch from '2026-07-20 15:08:25'::timestamp) - extract(epoch from '2026-07-20 15:08:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.105358 -2.815245)', '2026-07-20 15:08:35', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105396 -2.815383)'), GeomFromEWKT('SRID=4674;POINT (-40.105358 -2.815245)'))) / (select extract(epoch from '2026-07-20 15:08:35'::timestamp) - extract(epoch from '2026-07-20 15:08:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105396 -2.815383)'), GeomFromEWKT('SRID=4674;POINT (-40.105358 -2.815245)'))) / (select extract(epoch from '2026-07-20 15:08:35'::timestamp) - extract(epoch from '2026-07-20 15: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'), 47632, 'SRID=4674;POINT (-40.105323 -2.815169)', '2026-07-20 15:08:43', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105358 -2.815245)'), GeomFromEWKT('SRID=4674;POINT (-40.105323 -2.815169)'))) / (select extract(epoch from '2026-07-20 15:08:43'::timestamp) - extract(epoch from '2026-07-20 15:08:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105358 -2.815245)'), GeomFromEWKT('SRID=4674;POINT (-40.105323 -2.815169)'))) / (select extract(epoch from '2026-07-20 15:08:43'::timestamp) - extract(epoch from '2026-07-20 15:08:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.105297 -2.815106)', '2026-07-20 15:08:51', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105323 -2.815169)'), GeomFromEWKT('SRID=4674;POINT (-40.105297 -2.815106)'))) / (select extract(epoch from '2026-07-20 15:08:51'::timestamp) - extract(epoch from '2026-07-20 15:08:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105323 -2.815169)'), GeomFromEWKT('SRID=4674;POINT (-40.105297 -2.815106)'))) / (select extract(epoch from '2026-07-20 15:08:51'::timestamp) - extract(epoch from '2026-07-20 15:08: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'), 47632, 'SRID=4674;POINT (-40.105223 -2.815025)', '2026-07-20 15:09:02', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105297 -2.815106)'), GeomFromEWKT('SRID=4674;POINT (-40.105223 -2.815025)'))) / (select extract(epoch from '2026-07-20 15:09:02'::timestamp) - extract(epoch from '2026-07-20 15:08:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105297 -2.815106)'), GeomFromEWKT('SRID=4674;POINT (-40.105223 -2.815025)'))) / (select extract(epoch from '2026-07-20 15:09:02'::timestamp) - extract(epoch from '2026-07-20 15:08: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'), 47632, 'SRID=4674;POINT (-40.105143 -2.814956)', '2026-07-20 15:09:10', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105223 -2.815025)'), GeomFromEWKT('SRID=4674;POINT (-40.105143 -2.814956)'))) / (select extract(epoch from '2026-07-20 15:09:10'::timestamp) - extract(epoch from '2026-07-20 15:09:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105223 -2.815025)'), GeomFromEWKT('SRID=4674;POINT (-40.105143 -2.814956)'))) / (select extract(epoch from '2026-07-20 15:09:10'::timestamp) - extract(epoch from '2026-07-20 15:09: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'), 47632, 'SRID=4674;POINT (-40.1051 -2.814875)', '2026-07-20 15:09:19', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105143 -2.814956)'), GeomFromEWKT('SRID=4674;POINT (-40.1051 -2.814875)'))) / (select extract(epoch from '2026-07-20 15:09:19'::timestamp) - extract(epoch from '2026-07-20 15:09:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105143 -2.814956)'), GeomFromEWKT('SRID=4674;POINT (-40.1051 -2.814875)'))) / (select extract(epoch from '2026-07-20 15:09:19'::timestamp) - extract(epoch from '2026-07-20 15:09:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.105079 -2.8148)', '2026-07-20 15:09:26', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1051 -2.814875)'), GeomFromEWKT('SRID=4674;POINT (-40.105079 -2.8148)'))) / (select extract(epoch from '2026-07-20 15:09:26'::timestamp) - extract(epoch from '2026-07-20 15:09:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1051 -2.814875)'), GeomFromEWKT('SRID=4674;POINT (-40.105079 -2.8148)'))) / (select extract(epoch from '2026-07-20 15:09:26'::timestamp) - extract(epoch from '2026-07-20 15: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'), 47632, 'SRID=4674;POINT (-40.105036 -2.814703)', '2026-07-20 15:09:35', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105079 -2.8148)'), GeomFromEWKT('SRID=4674;POINT (-40.105036 -2.814703)'))) / (select extract(epoch from '2026-07-20 15:09:35'::timestamp) - extract(epoch from '2026-07-20 15:09:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105079 -2.8148)'), GeomFromEWKT('SRID=4674;POINT (-40.105036 -2.814703)'))) / (select extract(epoch from '2026-07-20 15:09:35'::timestamp) - extract(epoch from '2026-07-20 15: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'), 47632, 'SRID=4674;POINT (-40.104999 -2.814615)', '2026-07-20 15:09:44', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105036 -2.814703)'), GeomFromEWKT('SRID=4674;POINT (-40.104999 -2.814615)'))) / (select extract(epoch from '2026-07-20 15:09:44'::timestamp) - extract(epoch from '2026-07-20 15:09:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105036 -2.814703)'), GeomFromEWKT('SRID=4674;POINT (-40.104999 -2.814615)'))) / (select extract(epoch from '2026-07-20 15:09:44'::timestamp) - extract(epoch from '2026-07-20 15:09: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'), 47632, 'SRID=4674;POINT (-40.104963 -2.814513)', '2026-07-20 15:09:53', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104999 -2.814615)'), GeomFromEWKT('SRID=4674;POINT (-40.104963 -2.814513)'))) / (select extract(epoch from '2026-07-20 15:09:53'::timestamp) - extract(epoch from '2026-07-20 15:09:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104999 -2.814615)'), GeomFromEWKT('SRID=4674;POINT (-40.104963 -2.814513)'))) / (select extract(epoch from '2026-07-20 15:09:53'::timestamp) - extract(epoch from '2026-07-20 15:09: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'), 47632, 'SRID=4674;POINT (-40.104938 -2.81442)', '2026-07-20 15:10:01', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104963 -2.814513)'), GeomFromEWKT('SRID=4674;POINT (-40.104938 -2.81442)'))) / (select extract(epoch from '2026-07-20 15:10:01'::timestamp) - extract(epoch from '2026-07-20 15:09:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104963 -2.814513)'), GeomFromEWKT('SRID=4674;POINT (-40.104938 -2.81442)'))) / (select extract(epoch from '2026-07-20 15:10:01'::timestamp) - extract(epoch from '2026-07-20 15:09: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'), 47632, 'SRID=4674;POINT (-40.104932 -2.814331)', '2026-07-20 15:10:10', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104938 -2.81442)'), GeomFromEWKT('SRID=4674;POINT (-40.104932 -2.814331)'))) / (select extract(epoch from '2026-07-20 15:10:10'::timestamp) - extract(epoch from '2026-07-20 15:10:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104938 -2.81442)'), GeomFromEWKT('SRID=4674;POINT (-40.104932 -2.814331)'))) / (select extract(epoch from '2026-07-20 15:10:10'::timestamp) - extract(epoch from '2026-07-20 15: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'), 47632, 'SRID=4674;POINT (-40.104956 -2.814296)', '2026-07-20 15:10:18', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104932 -2.814331)'), GeomFromEWKT('SRID=4674;POINT (-40.104956 -2.814296)'))) / (select extract(epoch from '2026-07-20 15:10:18'::timestamp) - extract(epoch from '2026-07-20 15:10:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104932 -2.814331)'), GeomFromEWKT('SRID=4674;POINT (-40.104956 -2.814296)'))) / (select extract(epoch from '2026-07-20 15:10:18'::timestamp) - extract(epoch from '2026-07-20 15:10: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'), 47632, 'SRID=4674;POINT (-40.105012 -2.814306)', '2026-07-20 15:10:28', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104956 -2.814296)'), GeomFromEWKT('SRID=4674;POINT (-40.105012 -2.814306)'))) / (select extract(epoch from '2026-07-20 15:10:28'::timestamp) - extract(epoch from '2026-07-20 15:10:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104956 -2.814296)'), GeomFromEWKT('SRID=4674;POINT (-40.105012 -2.814306)'))) / (select extract(epoch from '2026-07-20 15:10:28'::timestamp) - extract(epoch from '2026-07-20 15:10:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.105113 -2.814319)', '2026-07-20 15:10:45', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105012 -2.814306)'), GeomFromEWKT('SRID=4674;POINT (-40.105113 -2.814319)'))) / (select extract(epoch from '2026-07-20 15:10:45'::timestamp) - extract(epoch from '2026-07-20 15:10:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105012 -2.814306)'), GeomFromEWKT('SRID=4674;POINT (-40.105113 -2.814319)'))) / (select extract(epoch from '2026-07-20 15:10:45'::timestamp) - extract(epoch from '2026-07-20 15:10: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'), 47632, 'SRID=4674;POINT (-40.105203 -2.814322)', '2026-07-20 15:11:05', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105113 -2.814319)'), GeomFromEWKT('SRID=4674;POINT (-40.105203 -2.814322)'))) / (select extract(epoch from '2026-07-20 15:11:05'::timestamp) - extract(epoch from '2026-07-20 15:10:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105113 -2.814319)'), GeomFromEWKT('SRID=4674;POINT (-40.105203 -2.814322)'))) / (select extract(epoch from '2026-07-20 15:11:05'::timestamp) - extract(epoch from '2026-07-20 15:10: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'), 47632, 'SRID=4674;POINT (-40.105219 -2.814312)', '2026-07-20 15:11:17', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105203 -2.814322)'), GeomFromEWKT('SRID=4674;POINT (-40.105219 -2.814312)'))) / (select extract(epoch from '2026-07-20 15:11:17'::timestamp) - extract(epoch from '2026-07-20 15:11:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105203 -2.814322)'), GeomFromEWKT('SRID=4674;POINT (-40.105219 -2.814312)'))) / (select extract(epoch from '2026-07-20 15:11:17'::timestamp) - extract(epoch from '2026-07-20 15:11:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.105268 -2.814326)', '2026-07-20 15:11:28', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105219 -2.814312)'), GeomFromEWKT('SRID=4674;POINT (-40.105268 -2.814326)'))) / (select extract(epoch from '2026-07-20 15:11:28'::timestamp) - extract(epoch from '2026-07-20 15:11:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105219 -2.814312)'), GeomFromEWKT('SRID=4674;POINT (-40.105268 -2.814326)'))) / (select extract(epoch from '2026-07-20 15:11:28'::timestamp) - extract(epoch from '2026-07-20 15:11:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.105345 -2.814333)', '2026-07-20 15:11:56', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105268 -2.814326)'), GeomFromEWKT('SRID=4674;POINT (-40.105345 -2.814333)'))) / (select extract(epoch from '2026-07-20 15:11:56'::timestamp) - extract(epoch from '2026-07-20 15:11:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105268 -2.814326)'), GeomFromEWKT('SRID=4674;POINT (-40.105345 -2.814333)'))) / (select extract(epoch from '2026-07-20 15:11:56'::timestamp) - extract(epoch from '2026-07-20 15:11:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.105396 -2.814336)', '2026-07-20 15:12:08', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105345 -2.814333)'), GeomFromEWKT('SRID=4674;POINT (-40.105396 -2.814336)'))) / (select extract(epoch from '2026-07-20 15:12:08'::timestamp) - extract(epoch from '2026-07-20 15:11:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105345 -2.814333)'), GeomFromEWKT('SRID=4674;POINT (-40.105396 -2.814336)'))) / (select extract(epoch from '2026-07-20 15:12:08'::timestamp) - extract(epoch from '2026-07-20 15:11:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.105411 -2.814329)', '2026-07-20 15:12:20', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105396 -2.814336)'), GeomFromEWKT('SRID=4674;POINT (-40.105411 -2.814329)'))) / (select extract(epoch from '2026-07-20 15:12:20'::timestamp) - extract(epoch from '2026-07-20 15:12:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105396 -2.814336)'), GeomFromEWKT('SRID=4674;POINT (-40.105411 -2.814329)'))) / (select extract(epoch from '2026-07-20 15:12:20'::timestamp) - extract(epoch from '2026-07-20 15:12: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'), 47632, 'SRID=4674;POINT (-40.105294 -2.814336)', '2026-07-20 15:27:00', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105411 -2.814329)'), GeomFromEWKT('SRID=4674;POINT (-40.105294 -2.814336)'))) / (select extract(epoch from '2026-07-20 15:27:00'::timestamp) - extract(epoch from '2026-07-20 15:12:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105411 -2.814329)'), GeomFromEWKT('SRID=4674;POINT (-40.105294 -2.814336)'))) / (select extract(epoch from '2026-07-20 15:27:00'::timestamp) - extract(epoch from '2026-07-20 15:12:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.105343 -2.814364)', '2026-07-20 15:27:20', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105294 -2.814336)'), GeomFromEWKT('SRID=4674;POINT (-40.105343 -2.814364)'))) / (select extract(epoch from '2026-07-20 15:27:20'::timestamp) - extract(epoch from '2026-07-20 15:27:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105294 -2.814336)'), GeomFromEWKT('SRID=4674;POINT (-40.105343 -2.814364)'))) / (select extract(epoch from '2026-07-20 15:27:20'::timestamp) - extract(epoch from '2026-07-20 15:27: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'), 47632, 'SRID=4674;POINT (-40.105441 -2.81438)', '2026-07-20 15:27:35', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105343 -2.814364)'), GeomFromEWKT('SRID=4674;POINT (-40.105441 -2.81438)'))) / (select extract(epoch from '2026-07-20 15:27:35'::timestamp) - extract(epoch from '2026-07-20 15:27:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105343 -2.814364)'), GeomFromEWKT('SRID=4674;POINT (-40.105441 -2.81438)'))) / (select extract(epoch from '2026-07-20 15:27:35'::timestamp) - extract(epoch from '2026-07-20 15:27: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'), 47632, 'SRID=4674;POINT (-40.105555 -2.814385)', '2026-07-20 15:27:52', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105441 -2.81438)'), GeomFromEWKT('SRID=4674;POINT (-40.105555 -2.814385)'))) / (select extract(epoch from '2026-07-20 15:27:52'::timestamp) - extract(epoch from '2026-07-20 15:27:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105441 -2.81438)'), GeomFromEWKT('SRID=4674;POINT (-40.105555 -2.814385)'))) / (select extract(epoch from '2026-07-20 15:27:52'::timestamp) - extract(epoch from '2026-07-20 15:27: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'), 47632, 'SRID=4674;POINT (-40.10565 -2.814417)', '2026-07-20 15:28:09', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105555 -2.814385)'), GeomFromEWKT('SRID=4674;POINT (-40.10565 -2.814417)'))) / (select extract(epoch from '2026-07-20 15:28:09'::timestamp) - extract(epoch from '2026-07-20 15:27:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105555 -2.814385)'), GeomFromEWKT('SRID=4674;POINT (-40.10565 -2.814417)'))) / (select extract(epoch from '2026-07-20 15:28:09'::timestamp) - extract(epoch from '2026-07-20 15:27:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.105735 -2.81444)', '2026-07-20 15:28:25', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10565 -2.814417)'), GeomFromEWKT('SRID=4674;POINT (-40.105735 -2.81444)'))) / (select extract(epoch from '2026-07-20 15:28:25'::timestamp) - extract(epoch from '2026-07-20 15:28:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10565 -2.814417)'), GeomFromEWKT('SRID=4674;POINT (-40.105735 -2.81444)'))) / (select extract(epoch from '2026-07-20 15:28:25'::timestamp) - extract(epoch from '2026-07-20 15:28:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.105847 -2.814469)', '2026-07-20 15:28:43', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105735 -2.81444)'), GeomFromEWKT('SRID=4674;POINT (-40.105847 -2.814469)'))) / (select extract(epoch from '2026-07-20 15:28:43'::timestamp) - extract(epoch from '2026-07-20 15:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105735 -2.81444)'), GeomFromEWKT('SRID=4674;POINT (-40.105847 -2.814469)'))) / (select extract(epoch from '2026-07-20 15:28:43'::timestamp) - extract(epoch from '2026-07-20 15:28: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'), 47632, 'SRID=4674;POINT (-40.105958 -2.814497)', '2026-07-20 15:29:04', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105847 -2.814469)'), GeomFromEWKT('SRID=4674;POINT (-40.105958 -2.814497)'))) / (select extract(epoch from '2026-07-20 15:29:04'::timestamp) - extract(epoch from '2026-07-20 15:28:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105847 -2.814469)'), GeomFromEWKT('SRID=4674;POINT (-40.105958 -2.814497)'))) / (select extract(epoch from '2026-07-20 15:29:04'::timestamp) - extract(epoch from '2026-07-20 15:28:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.106054 -2.814531)', '2026-07-20 15:29:21', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105958 -2.814497)'), GeomFromEWKT('SRID=4674;POINT (-40.106054 -2.814531)'))) / (select extract(epoch from '2026-07-20 15:29:21'::timestamp) - extract(epoch from '2026-07-20 15:29:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105958 -2.814497)'), GeomFromEWKT('SRID=4674;POINT (-40.106054 -2.814531)'))) / (select extract(epoch from '2026-07-20 15:29:21'::timestamp) - extract(epoch from '2026-07-20 15:29: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'), 47632, 'SRID=4674;POINT (-40.106166 -2.814565)', '2026-07-20 15:29:40', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106054 -2.814531)'), GeomFromEWKT('SRID=4674;POINT (-40.106166 -2.814565)'))) / (select extract(epoch from '2026-07-20 15:29:40'::timestamp) - extract(epoch from '2026-07-20 15:29:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106054 -2.814531)'), GeomFromEWKT('SRID=4674;POINT (-40.106166 -2.814565)'))) / (select extract(epoch from '2026-07-20 15:29:40'::timestamp) - extract(epoch from '2026-07-20 15:29:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.106276 -2.814595)', '2026-07-20 15:29:58', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106166 -2.814565)'), GeomFromEWKT('SRID=4674;POINT (-40.106276 -2.814595)'))) / (select extract(epoch from '2026-07-20 15:29:58'::timestamp) - extract(epoch from '2026-07-20 15:29:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106166 -2.814565)'), GeomFromEWKT('SRID=4674;POINT (-40.106276 -2.814595)'))) / (select extract(epoch from '2026-07-20 15:29:58'::timestamp) - extract(epoch from '2026-07-20 15:29: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'), 47632, 'SRID=4674;POINT (-40.106365 -2.814625)', '2026-07-20 15:30:14', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106276 -2.814595)'), GeomFromEWKT('SRID=4674;POINT (-40.106365 -2.814625)'))) / (select extract(epoch from '2026-07-20 15:30:14'::timestamp) - extract(epoch from '2026-07-20 15:29:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106276 -2.814595)'), GeomFromEWKT('SRID=4674;POINT (-40.106365 -2.814625)'))) / (select extract(epoch from '2026-07-20 15:30:14'::timestamp) - extract(epoch from '2026-07-20 15:29: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'), 47632, 'SRID=4674;POINT (-40.106459 -2.814656)', '2026-07-20 15:30:29', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106365 -2.814625)'), GeomFromEWKT('SRID=4674;POINT (-40.106459 -2.814656)'))) / (select extract(epoch from '2026-07-20 15:30:29'::timestamp) - extract(epoch from '2026-07-20 15:30:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106365 -2.814625)'), GeomFromEWKT('SRID=4674;POINT (-40.106459 -2.814656)'))) / (select extract(epoch from '2026-07-20 15:30:29'::timestamp) - extract(epoch from '2026-07-20 15:30: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'), 47632, 'SRID=4674;POINT (-40.10655 -2.814679)', '2026-07-20 15:30:43', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106459 -2.814656)'), GeomFromEWKT('SRID=4674;POINT (-40.10655 -2.814679)'))) / (select extract(epoch from '2026-07-20 15:30:43'::timestamp) - extract(epoch from '2026-07-20 15:30:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106459 -2.814656)'), GeomFromEWKT('SRID=4674;POINT (-40.10655 -2.814679)'))) / (select extract(epoch from '2026-07-20 15:30:43'::timestamp) - extract(epoch from '2026-07-20 15:30:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.106654 -2.81471)', '2026-07-20 15:30:58', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10655 -2.814679)'), GeomFromEWKT('SRID=4674;POINT (-40.106654 -2.81471)'))) / (select extract(epoch from '2026-07-20 15:30:58'::timestamp) - extract(epoch from '2026-07-20 15:30:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10655 -2.814679)'), GeomFromEWKT('SRID=4674;POINT (-40.106654 -2.81471)'))) / (select extract(epoch from '2026-07-20 15:30:58'::timestamp) - extract(epoch from '2026-07-20 15:30:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.10677 -2.814733)', '2026-07-20 15:31:15', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106654 -2.81471)'), GeomFromEWKT('SRID=4674;POINT (-40.10677 -2.814733)'))) / (select extract(epoch from '2026-07-20 15:31:15'::timestamp) - extract(epoch from '2026-07-20 15:30:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106654 -2.81471)'), GeomFromEWKT('SRID=4674;POINT (-40.10677 -2.814733)'))) / (select extract(epoch from '2026-07-20 15:31:15'::timestamp) - extract(epoch from '2026-07-20 15:30: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'), 47632, 'SRID=4674;POINT (-40.106884 -2.814757)', '2026-07-20 15:31:31', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10677 -2.814733)'), GeomFromEWKT('SRID=4674;POINT (-40.106884 -2.814757)'))) / (select extract(epoch from '2026-07-20 15:31:31'::timestamp) - extract(epoch from '2026-07-20 15:31:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10677 -2.814733)'), GeomFromEWKT('SRID=4674;POINT (-40.106884 -2.814757)'))) / (select extract(epoch from '2026-07-20 15:31:31'::timestamp) - extract(epoch from '2026-07-20 15:31: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'), 47632, 'SRID=4674;POINT (-40.107005 -2.814783)', '2026-07-20 15:31:48', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106884 -2.814757)'), GeomFromEWKT('SRID=4674;POINT (-40.107005 -2.814783)'))) / (select extract(epoch from '2026-07-20 15:31:48'::timestamp) - extract(epoch from '2026-07-20 15:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106884 -2.814757)'), GeomFromEWKT('SRID=4674;POINT (-40.107005 -2.814783)'))) / (select extract(epoch from '2026-07-20 15:31:48'::timestamp) - extract(epoch from '2026-07-20 15:31:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.107109 -2.814813)', '2026-07-20 15:32:06', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107005 -2.814783)'), GeomFromEWKT('SRID=4674;POINT (-40.107109 -2.814813)'))) / (select extract(epoch from '2026-07-20 15:32:06'::timestamp) - extract(epoch from '2026-07-20 15:31:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107005 -2.814783)'), GeomFromEWKT('SRID=4674;POINT (-40.107109 -2.814813)'))) / (select extract(epoch from '2026-07-20 15:32:06'::timestamp) - extract(epoch from '2026-07-20 15:31:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.10722 -2.814863)', '2026-07-20 15:32:23', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107109 -2.814813)'), GeomFromEWKT('SRID=4674;POINT (-40.10722 -2.814863)'))) / (select extract(epoch from '2026-07-20 15:32:23'::timestamp) - extract(epoch from '2026-07-20 15:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107109 -2.814813)'), GeomFromEWKT('SRID=4674;POINT (-40.10722 -2.814863)'))) / (select extract(epoch from '2026-07-20 15:32:23'::timestamp) - extract(epoch from '2026-07-20 15:32: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'), 47632, 'SRID=4674;POINT (-40.107341 -2.814898)', '2026-07-20 15:32:41', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10722 -2.814863)'), GeomFromEWKT('SRID=4674;POINT (-40.107341 -2.814898)'))) / (select extract(epoch from '2026-07-20 15:32:41'::timestamp) - extract(epoch from '2026-07-20 15:32:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10722 -2.814863)'), GeomFromEWKT('SRID=4674;POINT (-40.107341 -2.814898)'))) / (select extract(epoch from '2026-07-20 15:32:41'::timestamp) - extract(epoch from '2026-07-20 15:32: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'), 47632, 'SRID=4674;POINT (-40.107457 -2.814917)', '2026-07-20 15:32:57', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107341 -2.814898)'), GeomFromEWKT('SRID=4674;POINT (-40.107457 -2.814917)'))) / (select extract(epoch from '2026-07-20 15:32:57'::timestamp) - extract(epoch from '2026-07-20 15:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107341 -2.814898)'), GeomFromEWKT('SRID=4674;POINT (-40.107457 -2.814917)'))) / (select extract(epoch from '2026-07-20 15:32:57'::timestamp) - extract(epoch from '2026-07-20 15:32: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'), 47632, 'SRID=4674;POINT (-40.107562 -2.814933)', '2026-07-20 15:33:16', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107457 -2.814917)'), GeomFromEWKT('SRID=4674;POINT (-40.107562 -2.814933)'))) / (select extract(epoch from '2026-07-20 15:33:16'::timestamp) - extract(epoch from '2026-07-20 15:32:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107457 -2.814917)'), GeomFromEWKT('SRID=4674;POINT (-40.107562 -2.814933)'))) / (select extract(epoch from '2026-07-20 15:33:16'::timestamp) - extract(epoch from '2026-07-20 15:32: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'), 47632, 'SRID=4674;POINT (-40.107654 -2.814961)', '2026-07-20 15:33:30', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107562 -2.814933)'), GeomFromEWKT('SRID=4674;POINT (-40.107654 -2.814961)'))) / (select extract(epoch from '2026-07-20 15:33:30'::timestamp) - extract(epoch from '2026-07-20 15:33:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107562 -2.814933)'), GeomFromEWKT('SRID=4674;POINT (-40.107654 -2.814961)'))) / (select extract(epoch from '2026-07-20 15:33:30'::timestamp) - extract(epoch from '2026-07-20 15:33:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.107752 -2.814998)', '2026-07-20 15:33:45', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107654 -2.814961)'), GeomFromEWKT('SRID=4674;POINT (-40.107752 -2.814998)'))) / (select extract(epoch from '2026-07-20 15:33:45'::timestamp) - extract(epoch from '2026-07-20 15:33:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107654 -2.814961)'), GeomFromEWKT('SRID=4674;POINT (-40.107752 -2.814998)'))) / (select extract(epoch from '2026-07-20 15:33:45'::timestamp) - extract(epoch from '2026-07-20 15:33: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'), 47632, 'SRID=4674;POINT (-40.107864 -2.815035)', '2026-07-20 15:34:03', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107752 -2.814998)'), GeomFromEWKT('SRID=4674;POINT (-40.107864 -2.815035)'))) / (select extract(epoch from '2026-07-20 15:34:03'::timestamp) - extract(epoch from '2026-07-20 15:33:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107752 -2.814998)'), GeomFromEWKT('SRID=4674;POINT (-40.107864 -2.815035)'))) / (select extract(epoch from '2026-07-20 15:34:03'::timestamp) - extract(epoch from '2026-07-20 15:33: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'), 47632, 'SRID=4674;POINT (-40.107974 -2.815081)', '2026-07-20 15:34:21', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107864 -2.815035)'), GeomFromEWKT('SRID=4674;POINT (-40.107974 -2.815081)'))) / (select extract(epoch from '2026-07-20 15:34:21'::timestamp) - extract(epoch from '2026-07-20 15:34:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107864 -2.815035)'), GeomFromEWKT('SRID=4674;POINT (-40.107974 -2.815081)'))) / (select extract(epoch from '2026-07-20 15:34:21'::timestamp) - extract(epoch from '2026-07-20 15:34: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'), 47632, 'SRID=4674;POINT (-40.108093 -2.815126)', '2026-07-20 15:34:42', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107974 -2.815081)'), GeomFromEWKT('SRID=4674;POINT (-40.108093 -2.815126)'))) / (select extract(epoch from '2026-07-20 15:34:42'::timestamp) - extract(epoch from '2026-07-20 15:34:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107974 -2.815081)'), GeomFromEWKT('SRID=4674;POINT (-40.108093 -2.815126)'))) / (select extract(epoch from '2026-07-20 15:34:42'::timestamp) - extract(epoch from '2026-07-20 15:34:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.108233 -2.815165)', '2026-07-20 15:35:02', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108093 -2.815126)'), GeomFromEWKT('SRID=4674;POINT (-40.108233 -2.815165)'))) / (select extract(epoch from '2026-07-20 15:35:02'::timestamp) - extract(epoch from '2026-07-20 15:34:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108093 -2.815126)'), GeomFromEWKT('SRID=4674;POINT (-40.108233 -2.815165)'))) / (select extract(epoch from '2026-07-20 15:35:02'::timestamp) - extract(epoch from '2026-07-20 15:34: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'), 47632, 'SRID=4674;POINT (-40.108322 -2.815198)', '2026-07-20 15:35:18', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108233 -2.815165)'), GeomFromEWKT('SRID=4674;POINT (-40.108322 -2.815198)'))) / (select extract(epoch from '2026-07-20 15:35:18'::timestamp) - extract(epoch from '2026-07-20 15:35:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108233 -2.815165)'), GeomFromEWKT('SRID=4674;POINT (-40.108322 -2.815198)'))) / (select extract(epoch from '2026-07-20 15:35:18'::timestamp) - extract(epoch from '2026-07-20 15:35: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'), 47632, 'SRID=4674;POINT (-40.108441 -2.815238)', '2026-07-20 15:35:37', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108322 -2.815198)'), GeomFromEWKT('SRID=4674;POINT (-40.108441 -2.815238)'))) / (select extract(epoch from '2026-07-20 15:35:37'::timestamp) - extract(epoch from '2026-07-20 15:35:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108322 -2.815198)'), GeomFromEWKT('SRID=4674;POINT (-40.108441 -2.815238)'))) / (select extract(epoch from '2026-07-20 15:35:37'::timestamp) - extract(epoch from '2026-07-20 15:35:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.108575 -2.815293)', '2026-07-20 15:35:57', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108441 -2.815238)'), GeomFromEWKT('SRID=4674;POINT (-40.108575 -2.815293)'))) / (select extract(epoch from '2026-07-20 15:35:57'::timestamp) - extract(epoch from '2026-07-20 15:35:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108441 -2.815238)'), GeomFromEWKT('SRID=4674;POINT (-40.108575 -2.815293)'))) / (select extract(epoch from '2026-07-20 15:35:57'::timestamp) - extract(epoch from '2026-07-20 15:35: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'), 47632, 'SRID=4674;POINT (-40.108667 -2.815324)', '2026-07-20 15:36:12', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108575 -2.815293)'), GeomFromEWKT('SRID=4674;POINT (-40.108667 -2.815324)'))) / (select extract(epoch from '2026-07-20 15:36:12'::timestamp) - extract(epoch from '2026-07-20 15:35:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108575 -2.815293)'), GeomFromEWKT('SRID=4674;POINT (-40.108667 -2.815324)'))) / (select extract(epoch from '2026-07-20 15:36:12'::timestamp) - extract(epoch from '2026-07-20 15:35: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'), 47632, 'SRID=4674;POINT (-40.108757 -2.815354)', '2026-07-20 15:36:29', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108667 -2.815324)'), GeomFromEWKT('SRID=4674;POINT (-40.108757 -2.815354)'))) / (select extract(epoch from '2026-07-20 15:36:29'::timestamp) - extract(epoch from '2026-07-20 15:36:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108667 -2.815324)'), GeomFromEWKT('SRID=4674;POINT (-40.108757 -2.815354)'))) / (select extract(epoch from '2026-07-20 15:36:29'::timestamp) - extract(epoch from '2026-07-20 15:36: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'), 47632, 'SRID=4674;POINT (-40.108846 -2.815387)', '2026-07-20 15:36:45', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108757 -2.815354)'), GeomFromEWKT('SRID=4674;POINT (-40.108846 -2.815387)'))) / (select extract(epoch from '2026-07-20 15:36:45'::timestamp) - extract(epoch from '2026-07-20 15:36:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108757 -2.815354)'), GeomFromEWKT('SRID=4674;POINT (-40.108846 -2.815387)'))) / (select extract(epoch from '2026-07-20 15:36:45'::timestamp) - extract(epoch from '2026-07-20 15:36: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'), 47632, 'SRID=4674;POINT (-40.108931 -2.815405)', '2026-07-20 15:36:59', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108846 -2.815387)'), GeomFromEWKT('SRID=4674;POINT (-40.108931 -2.815405)'))) / (select extract(epoch from '2026-07-20 15:36:59'::timestamp) - extract(epoch from '2026-07-20 15:36:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108846 -2.815387)'), GeomFromEWKT('SRID=4674;POINT (-40.108931 -2.815405)'))) / (select extract(epoch from '2026-07-20 15:36:59'::timestamp) - extract(epoch from '2026-07-20 15:36: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'), 47632, 'SRID=4674;POINT (-40.108985 -2.815367)', '2026-07-20 15:37:13', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108931 -2.815405)'), GeomFromEWKT('SRID=4674;POINT (-40.108985 -2.815367)'))) / (select extract(epoch from '2026-07-20 15:37:13'::timestamp) - extract(epoch from '2026-07-20 15:36:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108931 -2.815405)'), GeomFromEWKT('SRID=4674;POINT (-40.108985 -2.815367)'))) / (select extract(epoch from '2026-07-20 15:37:13'::timestamp) - extract(epoch from '2026-07-20 15:36: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'), 47632, 'SRID=4674;POINT (-40.109072 -2.815353)', '2026-07-20 15:37:28', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108985 -2.815367)'), GeomFromEWKT('SRID=4674;POINT (-40.109072 -2.815353)'))) / (select extract(epoch from '2026-07-20 15:37:28'::timestamp) - extract(epoch from '2026-07-20 15:37:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108985 -2.815367)'), GeomFromEWKT('SRID=4674;POINT (-40.109072 -2.815353)'))) / (select extract(epoch from '2026-07-20 15:37:28'::timestamp) - extract(epoch from '2026-07-20 15:37: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'), 47632, 'SRID=4674;POINT (-40.109178 -2.815361)', '2026-07-20 15:37:45', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109072 -2.815353)'), GeomFromEWKT('SRID=4674;POINT (-40.109178 -2.815361)'))) / (select extract(epoch from '2026-07-20 15:37:45'::timestamp) - extract(epoch from '2026-07-20 15:37:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109072 -2.815353)'), GeomFromEWKT('SRID=4674;POINT (-40.109178 -2.815361)'))) / (select extract(epoch from '2026-07-20 15:37:45'::timestamp) - extract(epoch from '2026-07-20 15:37: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'), 47632, 'SRID=4674;POINT (-40.109258 -2.815388)', '2026-07-20 15:38:02', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109178 -2.815361)'), GeomFromEWKT('SRID=4674;POINT (-40.109258 -2.815388)'))) / (select extract(epoch from '2026-07-20 15:38:02'::timestamp) - extract(epoch from '2026-07-20 15:37:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109178 -2.815361)'), GeomFromEWKT('SRID=4674;POINT (-40.109258 -2.815388)'))) / (select extract(epoch from '2026-07-20 15:38:02'::timestamp) - extract(epoch from '2026-07-20 15:37: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'), 47632, 'SRID=4674;POINT (-40.109339 -2.815405)', '2026-07-20 15:38:17', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109258 -2.815388)'), GeomFromEWKT('SRID=4674;POINT (-40.109339 -2.815405)'))) / (select extract(epoch from '2026-07-20 15:38:17'::timestamp) - extract(epoch from '2026-07-20 15:38:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109258 -2.815388)'), GeomFromEWKT('SRID=4674;POINT (-40.109339 -2.815405)'))) / (select extract(epoch from '2026-07-20 15:38:17'::timestamp) - extract(epoch from '2026-07-20 15:38: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'), 47632, 'SRID=4674;POINT (-40.109433 -2.815436)', '2026-07-20 15:38:34', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109339 -2.815405)'), GeomFromEWKT('SRID=4674;POINT (-40.109433 -2.815436)'))) / (select extract(epoch from '2026-07-20 15:38:34'::timestamp) - extract(epoch from '2026-07-20 15:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109339 -2.815405)'), GeomFromEWKT('SRID=4674;POINT (-40.109433 -2.815436)'))) / (select extract(epoch from '2026-07-20 15:38:34'::timestamp) - extract(epoch from '2026-07-20 15:38: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'), 47632, 'SRID=4674;POINT (-40.10952 -2.815457)', '2026-07-20 15:38:51', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109433 -2.815436)'), GeomFromEWKT('SRID=4674;POINT (-40.10952 -2.815457)'))) / (select extract(epoch from '2026-07-20 15:38:51'::timestamp) - extract(epoch from '2026-07-20 15:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109433 -2.815436)'), GeomFromEWKT('SRID=4674;POINT (-40.10952 -2.815457)'))) / (select extract(epoch from '2026-07-20 15:38:51'::timestamp) - extract(epoch from '2026-07-20 15:38: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'), 47632, 'SRID=4674;POINT (-40.1096 -2.815488)', '2026-07-20 15:39:04', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10952 -2.815457)'), GeomFromEWKT('SRID=4674;POINT (-40.1096 -2.815488)'))) / (select extract(epoch from '2026-07-20 15:39:04'::timestamp) - extract(epoch from '2026-07-20 15:38:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10952 -2.815457)'), GeomFromEWKT('SRID=4674;POINT (-40.1096 -2.815488)'))) / (select extract(epoch from '2026-07-20 15:39:04'::timestamp) - extract(epoch from '2026-07-20 15:38: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'), 47632, 'SRID=4674;POINT (-40.109702 -2.815519)', '2026-07-20 15:39:21', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1096 -2.815488)'), GeomFromEWKT('SRID=4674;POINT (-40.109702 -2.815519)'))) / (select extract(epoch from '2026-07-20 15:39:21'::timestamp) - extract(epoch from '2026-07-20 15:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1096 -2.815488)'), GeomFromEWKT('SRID=4674;POINT (-40.109702 -2.815519)'))) / (select extract(epoch from '2026-07-20 15:39:21'::timestamp) - extract(epoch from '2026-07-20 15:39: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'), 47632, 'SRID=4674;POINT (-40.109809 -2.815569)', '2026-07-20 15:39:37', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109702 -2.815519)'), GeomFromEWKT('SRID=4674;POINT (-40.109809 -2.815569)'))) / (select extract(epoch from '2026-07-20 15:39:37'::timestamp) - extract(epoch from '2026-07-20 15:39:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109702 -2.815519)'), GeomFromEWKT('SRID=4674;POINT (-40.109809 -2.815569)'))) / (select extract(epoch from '2026-07-20 15:39:37'::timestamp) - extract(epoch from '2026-07-20 15:39: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'), 47632, 'SRID=4674;POINT (-40.109911 -2.815602)', '2026-07-20 15:39:55', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109809 -2.815569)'), GeomFromEWKT('SRID=4674;POINT (-40.109911 -2.815602)'))) / (select extract(epoch from '2026-07-20 15:39:55'::timestamp) - extract(epoch from '2026-07-20 15:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109809 -2.815569)'), GeomFromEWKT('SRID=4674;POINT (-40.109911 -2.815602)'))) / (select extract(epoch from '2026-07-20 15:39:55'::timestamp) - extract(epoch from '2026-07-20 15:39: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'), 47632, 'SRID=4674;POINT (-40.110035 -2.815631)', '2026-07-20 15:40:14', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109911 -2.815602)'), GeomFromEWKT('SRID=4674;POINT (-40.110035 -2.815631)'))) / (select extract(epoch from '2026-07-20 15:40:14'::timestamp) - extract(epoch from '2026-07-20 15:39:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109911 -2.815602)'), GeomFromEWKT('SRID=4674;POINT (-40.110035 -2.815631)'))) / (select extract(epoch from '2026-07-20 15:40:14'::timestamp) - extract(epoch from '2026-07-20 15:39: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'), 47632, 'SRID=4674;POINT (-40.110122 -2.815671)', '2026-07-20 15:40:29', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110035 -2.815631)'), GeomFromEWKT('SRID=4674;POINT (-40.110122 -2.815671)'))) / (select extract(epoch from '2026-07-20 15:40:29'::timestamp) - extract(epoch from '2026-07-20 15:40:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110035 -2.815631)'), GeomFromEWKT('SRID=4674;POINT (-40.110122 -2.815671)'))) / (select extract(epoch from '2026-07-20 15:40:29'::timestamp) - extract(epoch from '2026-07-20 15:40:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.110218 -2.815698)', '2026-07-20 15:40:45', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110122 -2.815671)'), GeomFromEWKT('SRID=4674;POINT (-40.110218 -2.815698)'))) / (select extract(epoch from '2026-07-20 15:40:45'::timestamp) - extract(epoch from '2026-07-20 15:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110122 -2.815671)'), GeomFromEWKT('SRID=4674;POINT (-40.110218 -2.815698)'))) / (select extract(epoch from '2026-07-20 15:40:45'::timestamp) - extract(epoch from '2026-07-20 15:40: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'), 47632, 'SRID=4674;POINT (-40.110297 -2.815711)', '2026-07-20 15:40:59', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110218 -2.815698)'), GeomFromEWKT('SRID=4674;POINT (-40.110297 -2.815711)'))) / (select extract(epoch from '2026-07-20 15:40:59'::timestamp) - extract(epoch from '2026-07-20 15:40:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110218 -2.815698)'), GeomFromEWKT('SRID=4674;POINT (-40.110297 -2.815711)'))) / (select extract(epoch from '2026-07-20 15:40:59'::timestamp) - extract(epoch from '2026-07-20 15:40: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'), 47632, 'SRID=4674;POINT (-40.110387 -2.815734)', '2026-07-20 15:41:13', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110297 -2.815711)'), GeomFromEWKT('SRID=4674;POINT (-40.110387 -2.815734)'))) / (select extract(epoch from '2026-07-20 15:41:13'::timestamp) - extract(epoch from '2026-07-20 15:40:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110297 -2.815711)'), GeomFromEWKT('SRID=4674;POINT (-40.110387 -2.815734)'))) / (select extract(epoch from '2026-07-20 15:41:13'::timestamp) - extract(epoch from '2026-07-20 15:40: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'), 47632, 'SRID=4674;POINT (-40.110479 -2.815769)', '2026-07-20 15:41:27', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110387 -2.815734)'), GeomFromEWKT('SRID=4674;POINT (-40.110479 -2.815769)'))) / (select extract(epoch from '2026-07-20 15:41:27'::timestamp) - extract(epoch from '2026-07-20 15:41:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110387 -2.815734)'), GeomFromEWKT('SRID=4674;POINT (-40.110479 -2.815769)'))) / (select extract(epoch from '2026-07-20 15:41:27'::timestamp) - extract(epoch from '2026-07-20 15:41:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.110567 -2.815779)', '2026-07-20 15:41:41', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110479 -2.815769)'), GeomFromEWKT('SRID=4674;POINT (-40.110567 -2.815779)'))) / (select extract(epoch from '2026-07-20 15:41:41'::timestamp) - extract(epoch from '2026-07-20 15:41:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110479 -2.815769)'), GeomFromEWKT('SRID=4674;POINT (-40.110567 -2.815779)'))) / (select extract(epoch from '2026-07-20 15:41:41'::timestamp) - extract(epoch from '2026-07-20 15:41: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'), 47632, 'SRID=4674;POINT (-40.110663 -2.815801)', '2026-07-20 15:41:57', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110567 -2.815779)'), GeomFromEWKT('SRID=4674;POINT (-40.110663 -2.815801)'))) / (select extract(epoch from '2026-07-20 15:41:57'::timestamp) - extract(epoch from '2026-07-20 15:41:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110567 -2.815779)'), GeomFromEWKT('SRID=4674;POINT (-40.110663 -2.815801)'))) / (select extract(epoch from '2026-07-20 15:41:57'::timestamp) - extract(epoch from '2026-07-20 15:41: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'), 47632, 'SRID=4674;POINT (-40.110763 -2.815808)', '2026-07-20 15:42:11', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110663 -2.815801)'), GeomFromEWKT('SRID=4674;POINT (-40.110763 -2.815808)'))) / (select extract(epoch from '2026-07-20 15:42:11'::timestamp) - extract(epoch from '2026-07-20 15:41:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110663 -2.815801)'), GeomFromEWKT('SRID=4674;POINT (-40.110763 -2.815808)'))) / (select extract(epoch from '2026-07-20 15:42:11'::timestamp) - extract(epoch from '2026-07-20 15:41: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'), 47632, 'SRID=4674;POINT (-40.11086 -2.815838)', '2026-07-20 15:42:28', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110763 -2.815808)'), GeomFromEWKT('SRID=4674;POINT (-40.11086 -2.815838)'))) / (select extract(epoch from '2026-07-20 15:42:28'::timestamp) - extract(epoch from '2026-07-20 15:42:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110763 -2.815808)'), GeomFromEWKT('SRID=4674;POINT (-40.11086 -2.815838)'))) / (select extract(epoch from '2026-07-20 15:42:28'::timestamp) - extract(epoch from '2026-07-20 15:42: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'), 47632, 'SRID=4674;POINT (-40.110984 -2.81585)', '2026-07-20 15:42:47', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11086 -2.815838)'), GeomFromEWKT('SRID=4674;POINT (-40.110984 -2.81585)'))) / (select extract(epoch from '2026-07-20 15:42:47'::timestamp) - extract(epoch from '2026-07-20 15:42:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11086 -2.815838)'), GeomFromEWKT('SRID=4674;POINT (-40.110984 -2.81585)'))) / (select extract(epoch from '2026-07-20 15:42:47'::timestamp) - extract(epoch from '2026-07-20 15:42: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'), 47632, 'SRID=4674;POINT (-40.111082 -2.815869)', '2026-07-20 15:43:02', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110984 -2.81585)'), GeomFromEWKT('SRID=4674;POINT (-40.111082 -2.815869)'))) / (select extract(epoch from '2026-07-20 15:43:02'::timestamp) - extract(epoch from '2026-07-20 15:42:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110984 -2.81585)'), GeomFromEWKT('SRID=4674;POINT (-40.111082 -2.815869)'))) / (select extract(epoch from '2026-07-20 15:43:02'::timestamp) - extract(epoch from '2026-07-20 15:42: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'), 47632, 'SRID=4674;POINT (-40.111196 -2.81588)', '2026-07-20 15:43:19', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111082 -2.815869)'), GeomFromEWKT('SRID=4674;POINT (-40.111196 -2.81588)'))) / (select extract(epoch from '2026-07-20 15:43:19'::timestamp) - extract(epoch from '2026-07-20 15:43:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111082 -2.815869)'), GeomFromEWKT('SRID=4674;POINT (-40.111196 -2.81588)'))) / (select extract(epoch from '2026-07-20 15:43:19'::timestamp) - extract(epoch from '2026-07-20 15:43: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'), 47632, 'SRID=4674;POINT (-40.111196 -2.815874)', '2026-07-20 15:43:28', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111196 -2.81588)'), GeomFromEWKT('SRID=4674;POINT (-40.111196 -2.815874)'))) / (select extract(epoch from '2026-07-20 15:43:28'::timestamp) - extract(epoch from '2026-07-20 15:43:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111196 -2.81588)'), GeomFromEWKT('SRID=4674;POINT (-40.111196 -2.815874)'))) / (select extract(epoch from '2026-07-20 15:43:28'::timestamp) - extract(epoch from '2026-07-20 15:43: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'), 47632, 'SRID=4674;POINT (-40.111197 -2.815857)', '2026-07-20 15:43:38', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111196 -2.815874)'), GeomFromEWKT('SRID=4674;POINT (-40.111197 -2.815857)'))) / (select extract(epoch from '2026-07-20 15:43:38'::timestamp) - extract(epoch from '2026-07-20 15:43:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111196 -2.815874)'), GeomFromEWKT('SRID=4674;POINT (-40.111197 -2.815857)'))) / (select extract(epoch from '2026-07-20 15:43:38'::timestamp) - extract(epoch from '2026-07-20 15:43: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'), 47632, 'SRID=4674;POINT (-40.11121 -2.815854)', '2026-07-20 15:49:06', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111197 -2.815857)'), GeomFromEWKT('SRID=4674;POINT (-40.11121 -2.815854)'))) / (select extract(epoch from '2026-07-20 15:49:06'::timestamp) - extract(epoch from '2026-07-20 15:43:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111197 -2.815857)'), GeomFromEWKT('SRID=4674;POINT (-40.11121 -2.815854)'))) / (select extract(epoch from '2026-07-20 15:49:06'::timestamp) - extract(epoch from '2026-07-20 15:43: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'), 47632, 'SRID=4674;POINT (-40.111272 -2.815852)', '2026-07-20 15:49:16', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11121 -2.815854)'), GeomFromEWKT('SRID=4674;POINT (-40.111272 -2.815852)'))) / (select extract(epoch from '2026-07-20 15:49:16'::timestamp) - extract(epoch from '2026-07-20 15:49:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11121 -2.815854)'), GeomFromEWKT('SRID=4674;POINT (-40.111272 -2.815852)'))) / (select extract(epoch from '2026-07-20 15:49:16'::timestamp) - extract(epoch from '2026-07-20 15:49: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'), 47632, 'SRID=4674;POINT (-40.11133 -2.815849)', '2026-07-20 15:49:27', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111272 -2.815852)'), GeomFromEWKT('SRID=4674;POINT (-40.11133 -2.815849)'))) / (select extract(epoch from '2026-07-20 15:49:27'::timestamp) - extract(epoch from '2026-07-20 15:49:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111272 -2.815852)'), GeomFromEWKT('SRID=4674;POINT (-40.11133 -2.815849)'))) / (select extract(epoch from '2026-07-20 15:49:27'::timestamp) - extract(epoch from '2026-07-20 15:49: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'), 47632, 'SRID=4674;POINT (-40.11146 -2.815831)', '2026-07-20 15:49:47', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11133 -2.815849)'), GeomFromEWKT('SRID=4674;POINT (-40.11146 -2.815831)'))) / (select extract(epoch from '2026-07-20 15:49:47'::timestamp) - extract(epoch from '2026-07-20 15:49:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11133 -2.815849)'), GeomFromEWKT('SRID=4674;POINT (-40.11146 -2.815831)'))) / (select extract(epoch from '2026-07-20 15:49:47'::timestamp) - extract(epoch from '2026-07-20 15:49: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'), 47632, 'SRID=4674;POINT (-40.111549 -2.815816)', '2026-07-20 15:50:00', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11146 -2.815831)'), GeomFromEWKT('SRID=4674;POINT (-40.111549 -2.815816)'))) / (select extract(epoch from '2026-07-20 15:50:00'::timestamp) - extract(epoch from '2026-07-20 15:49:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11146 -2.815831)'), GeomFromEWKT('SRID=4674;POINT (-40.111549 -2.815816)'))) / (select extract(epoch from '2026-07-20 15:50:00'::timestamp) - extract(epoch from '2026-07-20 15:49: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'), 47632, 'SRID=4674;POINT (-40.111599 -2.815803)', '2026-07-20 15:50:07', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111549 -2.815816)'), GeomFromEWKT('SRID=4674;POINT (-40.111599 -2.815803)'))) / (select extract(epoch from '2026-07-20 15:50:07'::timestamp) - extract(epoch from '2026-07-20 15:50:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111549 -2.815816)'), GeomFromEWKT('SRID=4674;POINT (-40.111599 -2.815803)'))) / (select extract(epoch from '2026-07-20 15:50:07'::timestamp) - extract(epoch from '2026-07-20 15:50: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'), 47632, 'SRID=4674;POINT (-40.111645 -2.815789)', '2026-07-20 15:50:13', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111599 -2.815803)'), GeomFromEWKT('SRID=4674;POINT (-40.111645 -2.815789)'))) / (select extract(epoch from '2026-07-20 15:50:13'::timestamp) - extract(epoch from '2026-07-20 15:50:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111599 -2.815803)'), GeomFromEWKT('SRID=4674;POINT (-40.111645 -2.815789)'))) / (select extract(epoch from '2026-07-20 15:50:13'::timestamp) - extract(epoch from '2026-07-20 15:50:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.111729 -2.815788)', '2026-07-20 15:50:28', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111645 -2.815789)'), GeomFromEWKT('SRID=4674;POINT (-40.111729 -2.815788)'))) / (select extract(epoch from '2026-07-20 15:50:28'::timestamp) - extract(epoch from '2026-07-20 15:50:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111645 -2.815789)'), GeomFromEWKT('SRID=4674;POINT (-40.111729 -2.815788)'))) / (select extract(epoch from '2026-07-20 15:50:28'::timestamp) - extract(epoch from '2026-07-20 15:50: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'), 47632, 'SRID=4674;POINT (-40.111749 -2.815803)', '2026-07-20 15:50:38', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111729 -2.815788)'), GeomFromEWKT('SRID=4674;POINT (-40.111749 -2.815803)'))) / (select extract(epoch from '2026-07-20 15:50:38'::timestamp) - extract(epoch from '2026-07-20 15:50:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111729 -2.815788)'), GeomFromEWKT('SRID=4674;POINT (-40.111749 -2.815803)'))) / (select extract(epoch from '2026-07-20 15:50:38'::timestamp) - extract(epoch from '2026-07-20 15:50: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'), 47632, 'SRID=4674;POINT (-40.11179 -2.81581)', '2026-07-20 15:50:50', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111749 -2.815803)'), GeomFromEWKT('SRID=4674;POINT (-40.11179 -2.81581)'))) / (select extract(epoch from '2026-07-20 15:50:50'::timestamp) - extract(epoch from '2026-07-20 15:50:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111749 -2.815803)'), GeomFromEWKT('SRID=4674;POINT (-40.11179 -2.81581)'))) / (select extract(epoch from '2026-07-20 15:50:50'::timestamp) - extract(epoch from '2026-07-20 15:50:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.111804 -2.815801)', '2026-07-20 15:51:03', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11179 -2.81581)'), GeomFromEWKT('SRID=4674;POINT (-40.111804 -2.815801)'))) / (select extract(epoch from '2026-07-20 15:51:03'::timestamp) - extract(epoch from '2026-07-20 15:50:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11179 -2.81581)'), GeomFromEWKT('SRID=4674;POINT (-40.111804 -2.815801)'))) / (select extract(epoch from '2026-07-20 15:51:03'::timestamp) - extract(epoch from '2026-07-20 15:50: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'), 47632, 'SRID=4674;POINT (-40.111777 -2.815793)', '2026-07-20 15:59:54', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111804 -2.815801)'), GeomFromEWKT('SRID=4674;POINT (-40.111777 -2.815793)'))) / (select extract(epoch from '2026-07-20 15:59:54'::timestamp) - extract(epoch from '2026-07-20 15:51:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111804 -2.815801)'), GeomFromEWKT('SRID=4674;POINT (-40.111777 -2.815793)'))) / (select extract(epoch from '2026-07-20 15:59:54'::timestamp) - extract(epoch from '2026-07-20 15:51: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'), 47632, 'SRID=4674;POINT (-40.111835 -2.815825)', '2026-07-20 16:00:47', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111777 -2.815793)'), GeomFromEWKT('SRID=4674;POINT (-40.111835 -2.815825)'))) / (select extract(epoch from '2026-07-20 16:00:47'::timestamp) - extract(epoch from '2026-07-20 15:59:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111777 -2.815793)'), GeomFromEWKT('SRID=4674;POINT (-40.111835 -2.815825)'))) / (select extract(epoch from '2026-07-20 16:00:47'::timestamp) - extract(epoch from '2026-07-20 15:59: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'), 47632, 'SRID=4674;POINT (-40.111916 -2.815851)', '2026-07-20 16:01:02', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111835 -2.815825)'), GeomFromEWKT('SRID=4674;POINT (-40.111916 -2.815851)'))) / (select extract(epoch from '2026-07-20 16:01:02'::timestamp) - extract(epoch from '2026-07-20 16:00:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111835 -2.815825)'), GeomFromEWKT('SRID=4674;POINT (-40.111916 -2.815851)'))) / (select extract(epoch from '2026-07-20 16:01:02'::timestamp) - extract(epoch from '2026-07-20 16:00: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'), 47632, 'SRID=4674;POINT (-40.112033 -2.815844)', '2026-07-20 16:01:16', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111916 -2.815851)'), GeomFromEWKT('SRID=4674;POINT (-40.112033 -2.815844)'))) / (select extract(epoch from '2026-07-20 16:01:16'::timestamp) - extract(epoch from '2026-07-20 16:01:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111916 -2.815851)'), GeomFromEWKT('SRID=4674;POINT (-40.112033 -2.815844)'))) / (select extract(epoch from '2026-07-20 16:01:16'::timestamp) - extract(epoch from '2026-07-20 16:01: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'), 47632, 'SRID=4674;POINT (-40.112116 -2.815764)', '2026-07-20 16:01:27', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112033 -2.815844)'), GeomFromEWKT('SRID=4674;POINT (-40.112116 -2.815764)'))) / (select extract(epoch from '2026-07-20 16:01:27'::timestamp) - extract(epoch from '2026-07-20 16:01:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112033 -2.815844)'), GeomFromEWKT('SRID=4674;POINT (-40.112116 -2.815764)'))) / (select extract(epoch from '2026-07-20 16:01:27'::timestamp) - extract(epoch from '2026-07-20 16:01: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'), 47632, 'SRID=4674;POINT (-40.112239 -2.815695)', '2026-07-20 16:01:42', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112116 -2.815764)'), GeomFromEWKT('SRID=4674;POINT (-40.112239 -2.815695)'))) / (select extract(epoch from '2026-07-20 16:01:42'::timestamp) - extract(epoch from '2026-07-20 16:01:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112116 -2.815764)'), GeomFromEWKT('SRID=4674;POINT (-40.112239 -2.815695)'))) / (select extract(epoch from '2026-07-20 16:01:42'::timestamp) - extract(epoch from '2026-07-20 16:01: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'), 47632, 'SRID=4674;POINT (-40.112356 -2.815617)', '2026-07-20 16:02:00', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112239 -2.815695)'), GeomFromEWKT('SRID=4674;POINT (-40.112356 -2.815617)'))) / (select extract(epoch from '2026-07-20 16:02:00'::timestamp) - extract(epoch from '2026-07-20 16:01:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112239 -2.815695)'), GeomFromEWKT('SRID=4674;POINT (-40.112356 -2.815617)'))) / (select extract(epoch from '2026-07-20 16:02:00'::timestamp) - extract(epoch from '2026-07-20 16:01:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.112469 -2.815579)', '2026-07-20 16:02:14', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112356 -2.815617)'), GeomFromEWKT('SRID=4674;POINT (-40.112469 -2.815579)'))) / (select extract(epoch from '2026-07-20 16:02:14'::timestamp) - extract(epoch from '2026-07-20 16:02:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112356 -2.815617)'), GeomFromEWKT('SRID=4674;POINT (-40.112469 -2.815579)'))) / (select extract(epoch from '2026-07-20 16:02:14'::timestamp) - extract(epoch from '2026-07-20 16:02:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.112495 -2.815537)', '2026-07-20 16:02:21', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112469 -2.815579)'), GeomFromEWKT('SRID=4674;POINT (-40.112495 -2.815537)'))) / (select extract(epoch from '2026-07-20 16:02:21'::timestamp) - extract(epoch from '2026-07-20 16:02:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112469 -2.815579)'), GeomFromEWKT('SRID=4674;POINT (-40.112495 -2.815537)'))) / (select extract(epoch from '2026-07-20 16:02:21'::timestamp) - extract(epoch from '2026-07-20 16:02: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'), 47632, 'SRID=4674;POINT (-40.112493 -2.815559)', '2026-07-20 16:02:29', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112495 -2.815537)'), GeomFromEWKT('SRID=4674;POINT (-40.112493 -2.815559)'))) / (select extract(epoch from '2026-07-20 16:02:29'::timestamp) - extract(epoch from '2026-07-20 16:02:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112495 -2.815537)'), GeomFromEWKT('SRID=4674;POINT (-40.112493 -2.815559)'))) / (select extract(epoch from '2026-07-20 16:02:29'::timestamp) - extract(epoch from '2026-07-20 16:02: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'), 47632, 'SRID=4674;POINT (-40.11249 -2.8156)', '2026-07-20 16:02:37', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112493 -2.815559)'), GeomFromEWKT('SRID=4674;POINT (-40.11249 -2.8156)'))) / (select extract(epoch from '2026-07-20 16:02:37'::timestamp) - extract(epoch from '2026-07-20 16:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112493 -2.815559)'), GeomFromEWKT('SRID=4674;POINT (-40.11249 -2.8156)'))) / (select extract(epoch from '2026-07-20 16:02:37'::timestamp) - extract(epoch from '2026-07-20 16:02:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.112476 -2.815603)', '2026-07-20 16:02:45', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11249 -2.8156)'), GeomFromEWKT('SRID=4674;POINT (-40.112476 -2.815603)'))) / (select extract(epoch from '2026-07-20 16:02:45'::timestamp) - extract(epoch from '2026-07-20 16:02:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11249 -2.8156)'), GeomFromEWKT('SRID=4674;POINT (-40.112476 -2.815603)'))) / (select extract(epoch from '2026-07-20 16:02:45'::timestamp) - extract(epoch from '2026-07-20 16:02:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.112485 -2.815566)', '2026-07-20 16:02:53', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112476 -2.815603)'), GeomFromEWKT('SRID=4674;POINT (-40.112485 -2.815566)'))) / (select extract(epoch from '2026-07-20 16:02:53'::timestamp) - extract(epoch from '2026-07-20 16:02:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112476 -2.815603)'), GeomFromEWKT('SRID=4674;POINT (-40.112485 -2.815566)'))) / (select extract(epoch from '2026-07-20 16:02:53'::timestamp) - extract(epoch from '2026-07-20 16:02: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'), 47632, 'SRID=4674;POINT (-40.112486 -2.815549)', '2026-07-20 16:03:01', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112485 -2.815566)'), GeomFromEWKT('SRID=4674;POINT (-40.112486 -2.815549)'))) / (select extract(epoch from '2026-07-20 16:03:01'::timestamp) - extract(epoch from '2026-07-20 16:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112485 -2.815566)'), GeomFromEWKT('SRID=4674;POINT (-40.112486 -2.815549)'))) / (select extract(epoch from '2026-07-20 16:03:01'::timestamp) - extract(epoch from '2026-07-20 16:02:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.112449 -2.815579)', '2026-07-20 16:03:11', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112486 -2.815549)'), GeomFromEWKT('SRID=4674;POINT (-40.112449 -2.815579)'))) / (select extract(epoch from '2026-07-20 16:03:11'::timestamp) - extract(epoch from '2026-07-20 16:03:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112486 -2.815549)'), GeomFromEWKT('SRID=4674;POINT (-40.112449 -2.815579)'))) / (select extract(epoch from '2026-07-20 16:03:11'::timestamp) - extract(epoch from '2026-07-20 16:03:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.112405 -2.815591)', '2026-07-20 16:03:20', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112449 -2.815579)'), GeomFromEWKT('SRID=4674;POINT (-40.112405 -2.815591)'))) / (select extract(epoch from '2026-07-20 16:03:20'::timestamp) - extract(epoch from '2026-07-20 16:03:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112449 -2.815579)'), GeomFromEWKT('SRID=4674;POINT (-40.112405 -2.815591)'))) / (select extract(epoch from '2026-07-20 16:03:20'::timestamp) - extract(epoch from '2026-07-20 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'), 47632, 'SRID=4674;POINT (-40.112339 -2.815596)', '2026-07-20 16:03:30', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112405 -2.815591)'), GeomFromEWKT('SRID=4674;POINT (-40.112339 -2.815596)'))) / (select extract(epoch from '2026-07-20 16:03:30'::timestamp) - extract(epoch from '2026-07-20 16:03:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112405 -2.815591)'), GeomFromEWKT('SRID=4674;POINT (-40.112339 -2.815596)'))) / (select extract(epoch from '2026-07-20 16:03:30'::timestamp) - extract(epoch from '2026-07-20 16:03:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.112295 -2.815594)', '2026-07-20 16:03:38', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112339 -2.815596)'), GeomFromEWKT('SRID=4674;POINT (-40.112295 -2.815594)'))) / (select extract(epoch from '2026-07-20 16:03:38'::timestamp) - extract(epoch from '2026-07-20 16:03:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112339 -2.815596)'), GeomFromEWKT('SRID=4674;POINT (-40.112295 -2.815594)'))) / (select extract(epoch from '2026-07-20 16:03:38'::timestamp) - extract(epoch from '2026-07-20 16:03:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.112268 -2.81558)', '2026-07-20 16:03:48', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112295 -2.815594)'), GeomFromEWKT('SRID=4674;POINT (-40.112268 -2.81558)'))) / (select extract(epoch from '2026-07-20 16:03:48'::timestamp) - extract(epoch from '2026-07-20 16:03:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112295 -2.815594)'), GeomFromEWKT('SRID=4674;POINT (-40.112268 -2.81558)'))) / (select extract(epoch from '2026-07-20 16:03:48'::timestamp) - extract(epoch from '2026-07-20 16:03:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.112213 -2.815567)', '2026-07-20 16:03:58', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112268 -2.81558)'), GeomFromEWKT('SRID=4674;POINT (-40.112213 -2.815567)'))) / (select extract(epoch from '2026-07-20 16:03:58'::timestamp) - extract(epoch from '2026-07-20 16:03:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112268 -2.81558)'), GeomFromEWKT('SRID=4674;POINT (-40.112213 -2.815567)'))) / (select extract(epoch from '2026-07-20 16:03:58'::timestamp) - extract(epoch from '2026-07-20 16:03: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'), 47632, 'SRID=4674;POINT (-40.11219 -2.815536)', '2026-07-20 16:04:06', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112213 -2.815567)'), GeomFromEWKT('SRID=4674;POINT (-40.11219 -2.815536)'))) / (select extract(epoch from '2026-07-20 16:04:06'::timestamp) - extract(epoch from '2026-07-20 16:03:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112213 -2.815567)'), GeomFromEWKT('SRID=4674;POINT (-40.11219 -2.815536)'))) / (select extract(epoch from '2026-07-20 16:04:06'::timestamp) - extract(epoch from '2026-07-20 16:03: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'), 47632, 'SRID=4674;POINT (-40.112168 -2.815528)', '2026-07-20 16:04:15', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11219 -2.815536)'), GeomFromEWKT('SRID=4674;POINT (-40.112168 -2.815528)'))) / (select extract(epoch from '2026-07-20 16:04:15'::timestamp) - extract(epoch from '2026-07-20 16:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11219 -2.815536)'), GeomFromEWKT('SRID=4674;POINT (-40.112168 -2.815528)'))) / (select extract(epoch from '2026-07-20 16:04:15'::timestamp) - extract(epoch from '2026-07-20 16:04:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.112135 -2.81551)', '2026-07-20 16:04:24', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112168 -2.815528)'), GeomFromEWKT('SRID=4674;POINT (-40.112135 -2.81551)'))) / (select extract(epoch from '2026-07-20 16:04:24'::timestamp) - extract(epoch from '2026-07-20 16:04:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112168 -2.815528)'), GeomFromEWKT('SRID=4674;POINT (-40.112135 -2.81551)'))) / (select extract(epoch from '2026-07-20 16:04:24'::timestamp) - extract(epoch from '2026-07-20 16:04:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.112063 -2.815494)', '2026-07-20 16:04:51', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112135 -2.81551)'), GeomFromEWKT('SRID=4674;POINT (-40.112063 -2.815494)'))) / (select extract(epoch from '2026-07-20 16:04:51'::timestamp) - extract(epoch from '2026-07-20 16:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112135 -2.81551)'), GeomFromEWKT('SRID=4674;POINT (-40.112063 -2.815494)'))) / (select extract(epoch from '2026-07-20 16:04:51'::timestamp) - extract(epoch from '2026-07-20 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'), 47632, 'SRID=4674;POINT (-40.112017 -2.815495)', '2026-07-20 16:04:59', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112063 -2.815494)'), GeomFromEWKT('SRID=4674;POINT (-40.112017 -2.815495)'))) / (select extract(epoch from '2026-07-20 16:04:59'::timestamp) - extract(epoch from '2026-07-20 16:04:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112063 -2.815494)'), GeomFromEWKT('SRID=4674;POINT (-40.112017 -2.815495)'))) / (select extract(epoch from '2026-07-20 16:04:59'::timestamp) - extract(epoch from '2026-07-20 16:04:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.111996 -2.81549)', '2026-07-20 16:05:06', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112017 -2.815495)'), GeomFromEWKT('SRID=4674;POINT (-40.111996 -2.81549)'))) / (select extract(epoch from '2026-07-20 16:05:06'::timestamp) - extract(epoch from '2026-07-20 16:04:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112017 -2.815495)'), GeomFromEWKT('SRID=4674;POINT (-40.111996 -2.81549)'))) / (select extract(epoch from '2026-07-20 16:05:06'::timestamp) - extract(epoch from '2026-07-20 16:04: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'), 47632, 'SRID=4674;POINT (-40.111968 -2.815494)', '2026-07-20 16:05:21', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111996 -2.81549)'), GeomFromEWKT('SRID=4674;POINT (-40.111968 -2.815494)'))) / (select extract(epoch from '2026-07-20 16:05:21'::timestamp) - extract(epoch from '2026-07-20 16:05:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111996 -2.81549)'), GeomFromEWKT('SRID=4674;POINT (-40.111968 -2.815494)'))) / (select extract(epoch from '2026-07-20 16:05:21'::timestamp) - extract(epoch from '2026-07-20 16:05:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.111958 -2.815453)', '2026-07-20 16:05:30', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111968 -2.815494)'), GeomFromEWKT('SRID=4674;POINT (-40.111958 -2.815453)'))) / (select extract(epoch from '2026-07-20 16:05:30'::timestamp) - extract(epoch from '2026-07-20 16:05:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111968 -2.815494)'), GeomFromEWKT('SRID=4674;POINT (-40.111958 -2.815453)'))) / (select extract(epoch from '2026-07-20 16:05:30'::timestamp) - extract(epoch from '2026-07-20 16:05: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'), 47632, 'SRID=4674;POINT (-40.111945 -2.815433)', '2026-07-20 16:05:38', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111958 -2.815453)'), GeomFromEWKT('SRID=4674;POINT (-40.111945 -2.815433)'))) / (select extract(epoch from '2026-07-20 16:05:38'::timestamp) - extract(epoch from '2026-07-20 16:05:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111958 -2.815453)'), GeomFromEWKT('SRID=4674;POINT (-40.111945 -2.815433)'))) / (select extract(epoch from '2026-07-20 16:05:38'::timestamp) - extract(epoch from '2026-07-20 16:05:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.111934 -2.815419)', '2026-07-20 16:05:46', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111945 -2.815433)'), GeomFromEWKT('SRID=4674;POINT (-40.111934 -2.815419)'))) / (select extract(epoch from '2026-07-20 16:05:46'::timestamp) - extract(epoch from '2026-07-20 16:05:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111945 -2.815433)'), GeomFromEWKT('SRID=4674;POINT (-40.111934 -2.815419)'))) / (select extract(epoch from '2026-07-20 16:05:46'::timestamp) - extract(epoch from '2026-07-20 16:05: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'), 47632, 'SRID=4674;POINT (-40.111911 -2.815411)', '2026-07-20 16:05:57', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111934 -2.815419)'), GeomFromEWKT('SRID=4674;POINT (-40.111911 -2.815411)'))) / (select extract(epoch from '2026-07-20 16:05:57'::timestamp) - extract(epoch from '2026-07-20 16:05:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111934 -2.815419)'), GeomFromEWKT('SRID=4674;POINT (-40.111911 -2.815411)'))) / (select extract(epoch from '2026-07-20 16:05:57'::timestamp) - extract(epoch from '2026-07-20 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'), 47632, 'SRID=4674;POINT (-40.111879 -2.815407)', '2026-07-20 16:06:05', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111911 -2.815411)'), GeomFromEWKT('SRID=4674;POINT (-40.111879 -2.815407)'))) / (select extract(epoch from '2026-07-20 16:06:05'::timestamp) - extract(epoch from '2026-07-20 16:05:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111911 -2.815411)'), GeomFromEWKT('SRID=4674;POINT (-40.111879 -2.815407)'))) / (select extract(epoch from '2026-07-20 16:06:05'::timestamp) - extract(epoch from '2026-07-20 16:05: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'), 47632, 'SRID=4674;POINT (-40.111827 -2.815385)', '2026-07-20 16:06:17', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111879 -2.815407)'), GeomFromEWKT('SRID=4674;POINT (-40.111827 -2.815385)'))) / (select extract(epoch from '2026-07-20 16:06:17'::timestamp) - extract(epoch from '2026-07-20 16:06:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111879 -2.815407)'), GeomFromEWKT('SRID=4674;POINT (-40.111827 -2.815385)'))) / (select extract(epoch from '2026-07-20 16:06:17'::timestamp) - extract(epoch from '2026-07-20 16:06: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'), 47632, 'SRID=4674;POINT (-40.111821 -2.815381)', '2026-07-20 16:06:30', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111827 -2.815385)'), GeomFromEWKT('SRID=4674;POINT (-40.111821 -2.815381)'))) / (select extract(epoch from '2026-07-20 16:06:30'::timestamp) - extract(epoch from '2026-07-20 16:06:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111827 -2.815385)'), GeomFromEWKT('SRID=4674;POINT (-40.111821 -2.815381)'))) / (select extract(epoch from '2026-07-20 16:06:30'::timestamp) - extract(epoch from '2026-07-20 16:06: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'), 47632, 'SRID=4674;POINT (-40.111706 -2.815366)', '2026-07-20 16:06:40', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111821 -2.815381)'), GeomFromEWKT('SRID=4674;POINT (-40.111706 -2.815366)'))) / (select extract(epoch from '2026-07-20 16:06:40'::timestamp) - extract(epoch from '2026-07-20 16:06:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111821 -2.815381)'), GeomFromEWKT('SRID=4674;POINT (-40.111706 -2.815366)'))) / (select extract(epoch from '2026-07-20 16:06:40'::timestamp) - extract(epoch from '2026-07-20 16:06:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.111628 -2.815367)', '2026-07-20 16:06:54', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111706 -2.815366)'), GeomFromEWKT('SRID=4674;POINT (-40.111628 -2.815367)'))) / (select extract(epoch from '2026-07-20 16:06:54'::timestamp) - extract(epoch from '2026-07-20 16:06:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111706 -2.815366)'), GeomFromEWKT('SRID=4674;POINT (-40.111628 -2.815367)'))) / (select extract(epoch from '2026-07-20 16:06:54'::timestamp) - extract(epoch from '2026-07-20 16:06:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.111582 -2.815368)', '2026-07-20 16:07:07', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111628 -2.815367)'), GeomFromEWKT('SRID=4674;POINT (-40.111582 -2.815368)'))) / (select extract(epoch from '2026-07-20 16:07:07'::timestamp) - extract(epoch from '2026-07-20 16:06:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111628 -2.815367)'), GeomFromEWKT('SRID=4674;POINT (-40.111582 -2.815368)'))) / (select extract(epoch from '2026-07-20 16:07:07'::timestamp) - extract(epoch from '2026-07-20 16:06:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.111571 -2.815374)', '2026-07-20 16:07:18', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111582 -2.815368)'), GeomFromEWKT('SRID=4674;POINT (-40.111571 -2.815374)'))) / (select extract(epoch from '2026-07-20 16:07:18'::timestamp) - extract(epoch from '2026-07-20 16:07:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111582 -2.815368)'), GeomFromEWKT('SRID=4674;POINT (-40.111571 -2.815374)'))) / (select extract(epoch from '2026-07-20 16:07:18'::timestamp) - extract(epoch from '2026-07-20 16:07:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.111513 -2.815299)', '2026-07-20 16:07:37', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111571 -2.815374)'), GeomFromEWKT('SRID=4674;POINT (-40.111513 -2.815299)'))) / (select extract(epoch from '2026-07-20 16:07:37'::timestamp) - extract(epoch from '2026-07-20 16:07:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111571 -2.815374)'), GeomFromEWKT('SRID=4674;POINT (-40.111513 -2.815299)'))) / (select extract(epoch from '2026-07-20 16:07:37'::timestamp) - extract(epoch from '2026-07-20 16:07:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.111513 -2.815307)', '2026-07-20 16:07:46', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111513 -2.815299)'), GeomFromEWKT('SRID=4674;POINT (-40.111513 -2.815307)'))) / (select extract(epoch from '2026-07-20 16:07:46'::timestamp) - extract(epoch from '2026-07-20 16:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111513 -2.815299)'), GeomFromEWKT('SRID=4674;POINT (-40.111513 -2.815307)'))) / (select extract(epoch from '2026-07-20 16:07:46'::timestamp) - extract(epoch from '2026-07-20 16:07:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.111475 -2.815311)', '2026-07-20 16:07:56', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111513 -2.815307)'), GeomFromEWKT('SRID=4674;POINT (-40.111475 -2.815311)'))) / (select extract(epoch from '2026-07-20 16:07:56'::timestamp) - extract(epoch from '2026-07-20 16:07:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111513 -2.815307)'), GeomFromEWKT('SRID=4674;POINT (-40.111475 -2.815311)'))) / (select extract(epoch from '2026-07-20 16:07:56'::timestamp) - extract(epoch from '2026-07-20 16:07:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.111441 -2.815294)', '2026-07-20 16:08:10', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111475 -2.815311)'), GeomFromEWKT('SRID=4674;POINT (-40.111441 -2.815294)'))) / (select extract(epoch from '2026-07-20 16:08:10'::timestamp) - extract(epoch from '2026-07-20 16:07:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111475 -2.815311)'), GeomFromEWKT('SRID=4674;POINT (-40.111441 -2.815294)'))) / (select extract(epoch from '2026-07-20 16:08:10'::timestamp) - extract(epoch from '2026-07-20 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'), 47632, 'SRID=4674;POINT (-40.111396 -2.815269)', '2026-07-20 16:08:22', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111441 -2.815294)'), GeomFromEWKT('SRID=4674;POINT (-40.111396 -2.815269)'))) / (select extract(epoch from '2026-07-20 16:08:22'::timestamp) - extract(epoch from '2026-07-20 16:08:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111441 -2.815294)'), GeomFromEWKT('SRID=4674;POINT (-40.111396 -2.815269)'))) / (select extract(epoch from '2026-07-20 16:08:22'::timestamp) - extract(epoch from '2026-07-20 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'), 47632, 'SRID=4674;POINT (-40.11134 -2.81523)', '2026-07-20 16:08:37', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111396 -2.815269)'), GeomFromEWKT('SRID=4674;POINT (-40.11134 -2.81523)'))) / (select extract(epoch from '2026-07-20 16:08:37'::timestamp) - extract(epoch from '2026-07-20 16:08:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111396 -2.815269)'), GeomFromEWKT('SRID=4674;POINT (-40.11134 -2.81523)'))) / (select extract(epoch from '2026-07-20 16:08:37'::timestamp) - extract(epoch from '2026-07-20 16:08:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.111297 -2.81523)', '2026-07-20 16:08:49', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11134 -2.81523)'), GeomFromEWKT('SRID=4674;POINT (-40.111297 -2.81523)'))) / (select extract(epoch from '2026-07-20 16:08:49'::timestamp) - extract(epoch from '2026-07-20 16:08:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11134 -2.81523)'), GeomFromEWKT('SRID=4674;POINT (-40.111297 -2.81523)'))) / (select extract(epoch from '2026-07-20 16:08:49'::timestamp) - extract(epoch from '2026-07-20 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'), 47632, 'SRID=4674;POINT (-40.111268 -2.81523)', '2026-07-20 16:09:02', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111297 -2.81523)'), GeomFromEWKT('SRID=4674;POINT (-40.111268 -2.81523)'))) / (select extract(epoch from '2026-07-20 16:09:02'::timestamp) - extract(epoch from '2026-07-20 16:08:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111297 -2.81523)'), GeomFromEWKT('SRID=4674;POINT (-40.111268 -2.81523)'))) / (select extract(epoch from '2026-07-20 16:09:02'::timestamp) - extract(epoch from '2026-07-20 16:08: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'), 47632, 'SRID=4674;POINT (-40.111172 -2.815206)', '2026-07-20 16:09:30', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111268 -2.81523)'), GeomFromEWKT('SRID=4674;POINT (-40.111172 -2.815206)'))) / (select extract(epoch from '2026-07-20 16:09:30'::timestamp) - extract(epoch from '2026-07-20 16:09:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111268 -2.81523)'), GeomFromEWKT('SRID=4674;POINT (-40.111172 -2.815206)'))) / (select extract(epoch from '2026-07-20 16:09:30'::timestamp) - extract(epoch from '2026-07-20 16:09: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'), 47632, 'SRID=4674;POINT (-40.111151 -2.815194)', '2026-07-20 16:09:37', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111172 -2.815206)'), GeomFromEWKT('SRID=4674;POINT (-40.111151 -2.815194)'))) / (select extract(epoch from '2026-07-20 16:09:37'::timestamp) - extract(epoch from '2026-07-20 16:09:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111172 -2.815206)'), GeomFromEWKT('SRID=4674;POINT (-40.111151 -2.815194)'))) / (select extract(epoch from '2026-07-20 16:09:37'::timestamp) - extract(epoch from '2026-07-20 16:09:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.111132 -2.815147)', '2026-07-20 16:09:47', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111151 -2.815194)'), GeomFromEWKT('SRID=4674;POINT (-40.111132 -2.815147)'))) / (select extract(epoch from '2026-07-20 16:09:47'::timestamp) - extract(epoch from '2026-07-20 16:09:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111151 -2.815194)'), GeomFromEWKT('SRID=4674;POINT (-40.111132 -2.815147)'))) / (select extract(epoch from '2026-07-20 16:09:47'::timestamp) - extract(epoch from '2026-07-20 16:09: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'), 47632, 'SRID=4674;POINT (-40.111111 -2.815139)', '2026-07-20 16:10:03', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111132 -2.815147)'), GeomFromEWKT('SRID=4674;POINT (-40.111111 -2.815139)'))) / (select extract(epoch from '2026-07-20 16:10:03'::timestamp) - extract(epoch from '2026-07-20 16:09:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111132 -2.815147)'), GeomFromEWKT('SRID=4674;POINT (-40.111111 -2.815139)'))) / (select extract(epoch from '2026-07-20 16:10:03'::timestamp) - extract(epoch from '2026-07-20 16:09:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.111103 -2.815133)', '2026-07-20 16:10:05', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111111 -2.815139)'), GeomFromEWKT('SRID=4674;POINT (-40.111103 -2.815133)'))) / (select extract(epoch from '2026-07-20 16:10:05'::timestamp) - extract(epoch from '2026-07-20 16:10:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111111 -2.815139)'), GeomFromEWKT('SRID=4674;POINT (-40.111103 -2.815133)'))) / (select extract(epoch from '2026-07-20 16:10:05'::timestamp) - extract(epoch from '2026-07-20 16:10:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.111082 -2.815118)', '2026-07-20 16:10:10', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111103 -2.815133)'), GeomFromEWKT('SRID=4674;POINT (-40.111082 -2.815118)'))) / (select extract(epoch from '2026-07-20 16:10:10'::timestamp) - extract(epoch from '2026-07-20 16:10:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111103 -2.815133)'), GeomFromEWKT('SRID=4674;POINT (-40.111082 -2.815118)'))) / (select extract(epoch from '2026-07-20 16:10:10'::timestamp) - extract(epoch from '2026-07-20 16:10:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.111056 -2.815097)', '2026-07-20 16:10:18', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111082 -2.815118)'), GeomFromEWKT('SRID=4674;POINT (-40.111056 -2.815097)'))) / (select extract(epoch from '2026-07-20 16:10:18'::timestamp) - extract(epoch from '2026-07-20 16:10:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111082 -2.815118)'), GeomFromEWKT('SRID=4674;POINT (-40.111056 -2.815097)'))) / (select extract(epoch from '2026-07-20 16:10:18'::timestamp) - extract(epoch from '2026-07-20 16:10: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'), 47632, 'SRID=4674;POINT (-40.111015 -2.815095)', '2026-07-20 16:10:36', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111056 -2.815097)'), GeomFromEWKT('SRID=4674;POINT (-40.111015 -2.815095)'))) / (select extract(epoch from '2026-07-20 16:10:36'::timestamp) - extract(epoch from '2026-07-20 16:10:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111056 -2.815097)'), GeomFromEWKT('SRID=4674;POINT (-40.111015 -2.815095)'))) / (select extract(epoch from '2026-07-20 16:10:36'::timestamp) - extract(epoch from '2026-07-20 16:10:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.111005 -2.81509)', '2026-07-20 16:10:44', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111015 -2.815095)'), GeomFromEWKT('SRID=4674;POINT (-40.111005 -2.81509)'))) / (select extract(epoch from '2026-07-20 16:10:44'::timestamp) - extract(epoch from '2026-07-20 16:10:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111015 -2.815095)'), GeomFromEWKT('SRID=4674;POINT (-40.111005 -2.81509)'))) / (select extract(epoch from '2026-07-20 16:10:44'::timestamp) - extract(epoch from '2026-07-20 16:10: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'), 47632, 'SRID=4674;POINT (-40.110939 -2.815059)', '2026-07-20 16:11:14', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111005 -2.81509)'), GeomFromEWKT('SRID=4674;POINT (-40.110939 -2.815059)'))) / (select extract(epoch from '2026-07-20 16:11:14'::timestamp) - extract(epoch from '2026-07-20 16:10:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111005 -2.81509)'), GeomFromEWKT('SRID=4674;POINT (-40.110939 -2.815059)'))) / (select extract(epoch from '2026-07-20 16:11:14'::timestamp) - extract(epoch from '2026-07-20 16:10:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.110913 -2.815058)', '2026-07-20 16:11:21', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110939 -2.815059)'), GeomFromEWKT('SRID=4674;POINT (-40.110913 -2.815058)'))) / (select extract(epoch from '2026-07-20 16:11:21'::timestamp) - extract(epoch from '2026-07-20 16:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110939 -2.815059)'), GeomFromEWKT('SRID=4674;POINT (-40.110913 -2.815058)'))) / (select extract(epoch from '2026-07-20 16:11:21'::timestamp) - extract(epoch from '2026-07-20 16:11:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.110896 -2.815054)', '2026-07-20 16:11:30', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110913 -2.815058)'), GeomFromEWKT('SRID=4674;POINT (-40.110896 -2.815054)'))) / (select extract(epoch from '2026-07-20 16:11:30'::timestamp) - extract(epoch from '2026-07-20 16:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110913 -2.815058)'), GeomFromEWKT('SRID=4674;POINT (-40.110896 -2.815054)'))) / (select extract(epoch from '2026-07-20 16:11:30'::timestamp) - extract(epoch from '2026-07-20 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'), 47632, 'SRID=4674;POINT (-40.110866 -2.815047)', '2026-07-20 16:11:37', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110896 -2.815054)'), GeomFromEWKT('SRID=4674;POINT (-40.110866 -2.815047)'))) / (select extract(epoch from '2026-07-20 16:11:37'::timestamp) - extract(epoch from '2026-07-20 16:11:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110896 -2.815054)'), GeomFromEWKT('SRID=4674;POINT (-40.110866 -2.815047)'))) / (select extract(epoch from '2026-07-20 16:11:37'::timestamp) - extract(epoch from '2026-07-20 16:11: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'), 47632, 'SRID=4674;POINT (-40.110853 -2.815035)', '2026-07-20 16:11:43', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110866 -2.815047)'), GeomFromEWKT('SRID=4674;POINT (-40.110853 -2.815035)'))) / (select extract(epoch from '2026-07-20 16:11:43'::timestamp) - extract(epoch from '2026-07-20 16:11:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110866 -2.815047)'), GeomFromEWKT('SRID=4674;POINT (-40.110853 -2.815035)'))) / (select extract(epoch from '2026-07-20 16:11:43'::timestamp) - extract(epoch from '2026-07-20 16:11: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'), 47632, 'SRID=4674;POINT (-40.110849 -2.81501)', '2026-07-20 16:11:54', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110853 -2.815035)'), GeomFromEWKT('SRID=4674;POINT (-40.110849 -2.81501)'))) / (select extract(epoch from '2026-07-20 16:11:54'::timestamp) - extract(epoch from '2026-07-20 16:11:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110853 -2.815035)'), GeomFromEWKT('SRID=4674;POINT (-40.110849 -2.81501)'))) / (select extract(epoch from '2026-07-20 16:11:54'::timestamp) - extract(epoch from '2026-07-20 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'), 47632, 'SRID=4674;POINT (-40.110796 -2.814991)', '2026-07-20 16:12:04', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110849 -2.81501)'), GeomFromEWKT('SRID=4674;POINT (-40.110796 -2.814991)'))) / (select extract(epoch from '2026-07-20 16:12:04'::timestamp) - extract(epoch from '2026-07-20 16:11:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110849 -2.81501)'), GeomFromEWKT('SRID=4674;POINT (-40.110796 -2.814991)'))) / (select extract(epoch from '2026-07-20 16:12:04'::timestamp) - extract(epoch from '2026-07-20 16:11: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'), 47632, 'SRID=4674;POINT (-40.110789 -2.814963)', '2026-07-20 16:12:29', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110796 -2.814991)'), GeomFromEWKT('SRID=4674;POINT (-40.110789 -2.814963)'))) / (select extract(epoch from '2026-07-20 16:12:29'::timestamp) - extract(epoch from '2026-07-20 16:12:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110796 -2.814991)'), GeomFromEWKT('SRID=4674;POINT (-40.110789 -2.814963)'))) / (select extract(epoch from '2026-07-20 16:12:29'::timestamp) - extract(epoch from '2026-07-20 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'), 47632, 'SRID=4674;POINT (-40.110785 -2.814972)', '2026-07-20 16:12:44', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110789 -2.814963)'), GeomFromEWKT('SRID=4674;POINT (-40.110785 -2.814972)'))) / (select extract(epoch from '2026-07-20 16:12:44'::timestamp) - extract(epoch from '2026-07-20 16:12:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110789 -2.814963)'), GeomFromEWKT('SRID=4674;POINT (-40.110785 -2.814972)'))) / (select extract(epoch from '2026-07-20 16:12:44'::timestamp) - extract(epoch from '2026-07-20 16:12:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.110752 -2.814962)', '2026-07-20 16:12:50', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110785 -2.814972)'), GeomFromEWKT('SRID=4674;POINT (-40.110752 -2.814962)'))) / (select extract(epoch from '2026-07-20 16:12:50'::timestamp) - extract(epoch from '2026-07-20 16:12:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110785 -2.814972)'), GeomFromEWKT('SRID=4674;POINT (-40.110752 -2.814962)'))) / (select extract(epoch from '2026-07-20 16:12:50'::timestamp) - extract(epoch from '2026-07-20 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'), 47632, 'SRID=4674;POINT (-40.110726 -2.814932)', '2026-07-20 16:12:59', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110752 -2.814962)'), GeomFromEWKT('SRID=4674;POINT (-40.110726 -2.814932)'))) / (select extract(epoch from '2026-07-20 16:12:59'::timestamp) - extract(epoch from '2026-07-20 16:12:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110752 -2.814962)'), GeomFromEWKT('SRID=4674;POINT (-40.110726 -2.814932)'))) / (select extract(epoch from '2026-07-20 16:12:59'::timestamp) - extract(epoch from '2026-07-20 16:12:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.110714 -2.814893)', '2026-07-20 16:13:07', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110726 -2.814932)'), GeomFromEWKT('SRID=4674;POINT (-40.110714 -2.814893)'))) / (select extract(epoch from '2026-07-20 16:13:07'::timestamp) - extract(epoch from '2026-07-20 16:12:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110726 -2.814932)'), GeomFromEWKT('SRID=4674;POINT (-40.110714 -2.814893)'))) / (select extract(epoch from '2026-07-20 16:13:07'::timestamp) - extract(epoch from '2026-07-20 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'), 47632, 'SRID=4674;POINT (-40.110668 -2.814863)', '2026-07-20 16:13:15', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110714 -2.814893)'), GeomFromEWKT('SRID=4674;POINT (-40.110668 -2.814863)'))) / (select extract(epoch from '2026-07-20 16:13:15'::timestamp) - extract(epoch from '2026-07-20 16:13:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110714 -2.814893)'), GeomFromEWKT('SRID=4674;POINT (-40.110668 -2.814863)'))) / (select extract(epoch from '2026-07-20 16:13:15'::timestamp) - extract(epoch from '2026-07-20 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'), 47632, 'SRID=4674;POINT (-40.110647 -2.814864)', '2026-07-20 16:13:23', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110668 -2.814863)'), GeomFromEWKT('SRID=4674;POINT (-40.110647 -2.814864)'))) / (select extract(epoch from '2026-07-20 16:13:23'::timestamp) - extract(epoch from '2026-07-20 16:13:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110668 -2.814863)'), GeomFromEWKT('SRID=4674;POINT (-40.110647 -2.814864)'))) / (select extract(epoch from '2026-07-20 16:13:23'::timestamp) - extract(epoch from '2026-07-20 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'), 47632, 'SRID=4674;POINT (-40.110621 -2.814848)', '2026-07-20 16:13:33', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110647 -2.814864)'), GeomFromEWKT('SRID=4674;POINT (-40.110621 -2.814848)'))) / (select extract(epoch from '2026-07-20 16:13:33'::timestamp) - extract(epoch from '2026-07-20 16:13:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110647 -2.814864)'), GeomFromEWKT('SRID=4674;POINT (-40.110621 -2.814848)'))) / (select extract(epoch from '2026-07-20 16:13:33'::timestamp) - extract(epoch from '2026-07-20 16:13:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.110608 -2.814847)', '2026-07-20 16:13:44', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110621 -2.814848)'), GeomFromEWKT('SRID=4674;POINT (-40.110608 -2.814847)'))) / (select extract(epoch from '2026-07-20 16:13:44'::timestamp) - extract(epoch from '2026-07-20 16:13:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110621 -2.814848)'), GeomFromEWKT('SRID=4674;POINT (-40.110608 -2.814847)'))) / (select extract(epoch from '2026-07-20 16:13:44'::timestamp) - extract(epoch from '2026-07-20 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'), 47632, 'SRID=4674;POINT (-40.110591 -2.814843)', '2026-07-20 16:13:58', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110608 -2.814847)'), GeomFromEWKT('SRID=4674;POINT (-40.110591 -2.814843)'))) / (select extract(epoch from '2026-07-20 16:13:58'::timestamp) - extract(epoch from '2026-07-20 16:13:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110608 -2.814847)'), GeomFromEWKT('SRID=4674;POINT (-40.110591 -2.814843)'))) / (select extract(epoch from '2026-07-20 16:13:58'::timestamp) - extract(epoch from '2026-07-20 16:13: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'), 47632, 'SRID=4674;POINT (-40.11057 -2.814822)', '2026-07-20 16:14:06', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110591 -2.814843)'), GeomFromEWKT('SRID=4674;POINT (-40.11057 -2.814822)'))) / (select extract(epoch from '2026-07-20 16:14:06'::timestamp) - extract(epoch from '2026-07-20 16:13:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110591 -2.814843)'), GeomFromEWKT('SRID=4674;POINT (-40.11057 -2.814822)'))) / (select extract(epoch from '2026-07-20 16:14:06'::timestamp) - extract(epoch from '2026-07-20 16:13: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'), 47632, 'SRID=4674;POINT (-40.110568 -2.8148)', '2026-07-20 16:14:15', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11057 -2.814822)'), GeomFromEWKT('SRID=4674;POINT (-40.110568 -2.8148)'))) / (select extract(epoch from '2026-07-20 16:14:15'::timestamp) - extract(epoch from '2026-07-20 16:14:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11057 -2.814822)'), GeomFromEWKT('SRID=4674;POINT (-40.110568 -2.8148)'))) / (select extract(epoch from '2026-07-20 16:14:15'::timestamp) - extract(epoch from '2026-07-20 16:14:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.110505 -2.814789)', '2026-07-20 16:14:34', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110568 -2.8148)'), GeomFromEWKT('SRID=4674;POINT (-40.110505 -2.814789)'))) / (select extract(epoch from '2026-07-20 16:14:34'::timestamp) - extract(epoch from '2026-07-20 16:14:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110568 -2.8148)'), GeomFromEWKT('SRID=4674;POINT (-40.110505 -2.814789)'))) / (select extract(epoch from '2026-07-20 16:14:34'::timestamp) - extract(epoch from '2026-07-20 16:14:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.11044 -2.814753)', '2026-07-20 16:14:48', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110505 -2.814789)'), GeomFromEWKT('SRID=4674;POINT (-40.11044 -2.814753)'))) / (select extract(epoch from '2026-07-20 16:14:48'::timestamp) - extract(epoch from '2026-07-20 16:14:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110505 -2.814789)'), GeomFromEWKT('SRID=4674;POINT (-40.11044 -2.814753)'))) / (select extract(epoch from '2026-07-20 16:14:48'::timestamp) - extract(epoch from '2026-07-20 16:14:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.110423 -2.814752)', '2026-07-20 16:15:01', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11044 -2.814753)'), GeomFromEWKT('SRID=4674;POINT (-40.110423 -2.814752)'))) / (select extract(epoch from '2026-07-20 16:15:01'::timestamp) - extract(epoch from '2026-07-20 16:14:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11044 -2.814753)'), GeomFromEWKT('SRID=4674;POINT (-40.110423 -2.814752)'))) / (select extract(epoch from '2026-07-20 16:15:01'::timestamp) - extract(epoch from '2026-07-20 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'), 47632, 'SRID=4674;POINT (-40.110358 -2.814759)', '2026-07-20 16:15:13', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110423 -2.814752)'), GeomFromEWKT('SRID=4674;POINT (-40.110358 -2.814759)'))) / (select extract(epoch from '2026-07-20 16:15:13'::timestamp) - extract(epoch from '2026-07-20 16:15:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110423 -2.814752)'), GeomFromEWKT('SRID=4674;POINT (-40.110358 -2.814759)'))) / (select extract(epoch from '2026-07-20 16:15:13'::timestamp) - extract(epoch from '2026-07-20 16:15:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.110334 -2.814752)', '2026-07-20 16:15:25', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110358 -2.814759)'), GeomFromEWKT('SRID=4674;POINT (-40.110334 -2.814752)'))) / (select extract(epoch from '2026-07-20 16:15:25'::timestamp) - extract(epoch from '2026-07-20 16:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110358 -2.814759)'), GeomFromEWKT('SRID=4674;POINT (-40.110334 -2.814752)'))) / (select extract(epoch from '2026-07-20 16:15:25'::timestamp) - extract(epoch from '2026-07-20 16:15:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.110267 -2.814778)', '2026-07-20 16:15:43', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110334 -2.814752)'), GeomFromEWKT('SRID=4674;POINT (-40.110267 -2.814778)'))) / (select extract(epoch from '2026-07-20 16:15:43'::timestamp) - extract(epoch from '2026-07-20 16:15:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110334 -2.814752)'), GeomFromEWKT('SRID=4674;POINT (-40.110267 -2.814778)'))) / (select extract(epoch from '2026-07-20 16:15:43'::timestamp) - extract(epoch from '2026-07-20 16:15: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'), 47632, 'SRID=4674;POINT (-40.110211 -2.814753)', '2026-07-20 16:15:55', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110267 -2.814778)'), GeomFromEWKT('SRID=4674;POINT (-40.110211 -2.814753)'))) / (select extract(epoch from '2026-07-20 16:15:55'::timestamp) - extract(epoch from '2026-07-20 16:15:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110267 -2.814778)'), GeomFromEWKT('SRID=4674;POINT (-40.110211 -2.814753)'))) / (select extract(epoch from '2026-07-20 16:15:55'::timestamp) - extract(epoch from '2026-07-20 16:15: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'), 47632, 'SRID=4674;POINT (-40.110149 -2.814739)', '2026-07-20 16:16:10', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110211 -2.814753)'), GeomFromEWKT('SRID=4674;POINT (-40.110149 -2.814739)'))) / (select extract(epoch from '2026-07-20 16:16:10'::timestamp) - extract(epoch from '2026-07-20 16:15:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110211 -2.814753)'), GeomFromEWKT('SRID=4674;POINT (-40.110149 -2.814739)'))) / (select extract(epoch from '2026-07-20 16:16:10'::timestamp) - extract(epoch from '2026-07-20 16:15:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.110068 -2.814722)', '2026-07-20 16:16:26', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110149 -2.814739)'), GeomFromEWKT('SRID=4674;POINT (-40.110068 -2.814722)'))) / (select extract(epoch from '2026-07-20 16:16:26'::timestamp) - extract(epoch from '2026-07-20 16:16:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110149 -2.814739)'), GeomFromEWKT('SRID=4674;POINT (-40.110068 -2.814722)'))) / (select extract(epoch from '2026-07-20 16:16:26'::timestamp) - extract(epoch from '2026-07-20 16:16: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'), 47632, 'SRID=4674;POINT (-40.110036 -2.814672)', '2026-07-20 16:16:37', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110068 -2.814722)'), GeomFromEWKT('SRID=4674;POINT (-40.110036 -2.814672)'))) / (select extract(epoch from '2026-07-20 16:16:37'::timestamp) - extract(epoch from '2026-07-20 16:16:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110068 -2.814722)'), GeomFromEWKT('SRID=4674;POINT (-40.110036 -2.814672)'))) / (select extract(epoch from '2026-07-20 16:16:37'::timestamp) - extract(epoch from '2026-07-20 16:16: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'), 47632, 'SRID=4674;POINT (-40.110043 -2.814652)', '2026-07-20 16:16:39', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110036 -2.814672)'), GeomFromEWKT('SRID=4674;POINT (-40.110043 -2.814652)'))) / (select extract(epoch from '2026-07-20 16:16:39'::timestamp) - extract(epoch from '2026-07-20 16:16:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110036 -2.814672)'), GeomFromEWKT('SRID=4674;POINT (-40.110043 -2.814652)'))) / (select extract(epoch from '2026-07-20 16:16:39'::timestamp) - extract(epoch from '2026-07-20 16:16: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'), 47632, 'SRID=4674;POINT (-40.110064 -2.814588)', '2026-07-20 16:16:45', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110043 -2.814652)'), GeomFromEWKT('SRID=4674;POINT (-40.110064 -2.814588)'))) / (select extract(epoch from '2026-07-20 16:16:45'::timestamp) - extract(epoch from '2026-07-20 16:16:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110043 -2.814652)'), GeomFromEWKT('SRID=4674;POINT (-40.110064 -2.814588)'))) / (select extract(epoch from '2026-07-20 16:16:45'::timestamp) - extract(epoch from '2026-07-20 16:16: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'), 47632, 'SRID=4674;POINT (-40.110074 -2.814575)', '2026-07-20 16:16:46', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110064 -2.814588)'), GeomFromEWKT('SRID=4674;POINT (-40.110074 -2.814575)'))) / (select extract(epoch from '2026-07-20 16:16:46'::timestamp) - extract(epoch from '2026-07-20 16:16:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110064 -2.814588)'), GeomFromEWKT('SRID=4674;POINT (-40.110074 -2.814575)'))) / (select extract(epoch from '2026-07-20 16:16:46'::timestamp) - extract(epoch from '2026-07-20 16:16: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'), 47632, 'SRID=4674;POINT (-40.110148 -2.814503)', '2026-07-20 16:16:52', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110074 -2.814575)'), GeomFromEWKT('SRID=4674;POINT (-40.110148 -2.814503)'))) / (select extract(epoch from '2026-07-20 16:16:52'::timestamp) - extract(epoch from '2026-07-20 16:16:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110074 -2.814575)'), GeomFromEWKT('SRID=4674;POINT (-40.110148 -2.814503)'))) / (select extract(epoch from '2026-07-20 16:16:52'::timestamp) - extract(epoch from '2026-07-20 16:16: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'), 47632, 'SRID=4674;POINT (-40.110275 -2.814448)', '2026-07-20 16:17:00', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110148 -2.814503)'), GeomFromEWKT('SRID=4674;POINT (-40.110275 -2.814448)'))) / (select extract(epoch from '2026-07-20 16:17:00'::timestamp) - extract(epoch from '2026-07-20 16:16:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110148 -2.814503)'), GeomFromEWKT('SRID=4674;POINT (-40.110275 -2.814448)'))) / (select extract(epoch from '2026-07-20 16:17:00'::timestamp) - extract(epoch from '2026-07-20 16:16: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'), 47632, 'SRID=4674;POINT (-40.110413 -2.814392)', '2026-07-20 16:17:09', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110275 -2.814448)'), GeomFromEWKT('SRID=4674;POINT (-40.110413 -2.814392)'))) / (select extract(epoch from '2026-07-20 16:17:09'::timestamp) - extract(epoch from '2026-07-20 16:17:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110275 -2.814448)'), GeomFromEWKT('SRID=4674;POINT (-40.110413 -2.814392)'))) / (select extract(epoch from '2026-07-20 16:17:09'::timestamp) - extract(epoch from '2026-07-20 16:17:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.110542 -2.81433)', '2026-07-20 16:17:17', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110413 -2.814392)'), GeomFromEWKT('SRID=4674;POINT (-40.110542 -2.81433)'))) / (select extract(epoch from '2026-07-20 16:17:17'::timestamp) - extract(epoch from '2026-07-20 16:17:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110413 -2.814392)'), GeomFromEWKT('SRID=4674;POINT (-40.110542 -2.81433)'))) / (select extract(epoch from '2026-07-20 16:17:17'::timestamp) - extract(epoch from '2026-07-20 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'), 47632, 'SRID=4674;POINT (-40.110676 -2.814262)', '2026-07-20 16:17:25', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110542 -2.81433)'), GeomFromEWKT('SRID=4674;POINT (-40.110676 -2.814262)'))) / (select extract(epoch from '2026-07-20 16:17:25'::timestamp) - extract(epoch from '2026-07-20 16:17:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110542 -2.81433)'), GeomFromEWKT('SRID=4674;POINT (-40.110676 -2.814262)'))) / (select extract(epoch from '2026-07-20 16:17:25'::timestamp) - extract(epoch from '2026-07-20 16:17: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'), 47632, 'SRID=4674;POINT (-40.110803 -2.814159)', '2026-07-20 16:17:33', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110676 -2.814262)'), GeomFromEWKT('SRID=4674;POINT (-40.110803 -2.814159)'))) / (select extract(epoch from '2026-07-20 16:17:33'::timestamp) - extract(epoch from '2026-07-20 16:17:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110676 -2.814262)'), GeomFromEWKT('SRID=4674;POINT (-40.110803 -2.814159)'))) / (select extract(epoch from '2026-07-20 16:17:33'::timestamp) - extract(epoch from '2026-07-20 16:17: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'), 47632, 'SRID=4674;POINT (-40.110895 -2.81407)', '2026-07-20 16:17:41', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110803 -2.814159)'), GeomFromEWKT('SRID=4674;POINT (-40.110895 -2.81407)'))) / (select extract(epoch from '2026-07-20 16:17:41'::timestamp) - extract(epoch from '2026-07-20 16:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110803 -2.814159)'), GeomFromEWKT('SRID=4674;POINT (-40.110895 -2.81407)'))) / (select extract(epoch from '2026-07-20 16:17:41'::timestamp) - extract(epoch from '2026-07-20 16:17:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.111041 -2.813939)', '2026-07-20 16:17:51', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110895 -2.81407)'), GeomFromEWKT('SRID=4674;POINT (-40.111041 -2.813939)'))) / (select extract(epoch from '2026-07-20 16:17:51'::timestamp) - extract(epoch from '2026-07-20 16:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110895 -2.81407)'), GeomFromEWKT('SRID=4674;POINT (-40.111041 -2.813939)'))) / (select extract(epoch from '2026-07-20 16:17:51'::timestamp) - extract(epoch from '2026-07-20 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'), 47632, 'SRID=4674;POINT (-40.111125 -2.81391)', '2026-07-20 16:17:58', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111041 -2.813939)'), GeomFromEWKT('SRID=4674;POINT (-40.111125 -2.81391)'))) / (select extract(epoch from '2026-07-20 16:17:58'::timestamp) - extract(epoch from '2026-07-20 16:17:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111041 -2.813939)'), GeomFromEWKT('SRID=4674;POINT (-40.111125 -2.81391)'))) / (select extract(epoch from '2026-07-20 16:17:58'::timestamp) - extract(epoch from '2026-07-20 16:17: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'), 47632, 'SRID=4674;POINT (-40.11124 -2.81391)', '2026-07-20 16:18:06', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111125 -2.81391)'), GeomFromEWKT('SRID=4674;POINT (-40.11124 -2.81391)'))) / (select extract(epoch from '2026-07-20 16:18:06'::timestamp) - extract(epoch from '2026-07-20 16:17:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111125 -2.81391)'), GeomFromEWKT('SRID=4674;POINT (-40.11124 -2.81391)'))) / (select extract(epoch from '2026-07-20 16:18:06'::timestamp) - extract(epoch from '2026-07-20 16:17: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'), 47632, 'SRID=4674;POINT (-40.111369 -2.813894)', '2026-07-20 16:18:14', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11124 -2.81391)'), GeomFromEWKT('SRID=4674;POINT (-40.111369 -2.813894)'))) / (select extract(epoch from '2026-07-20 16:18:14'::timestamp) - extract(epoch from '2026-07-20 16:18:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11124 -2.81391)'), GeomFromEWKT('SRID=4674;POINT (-40.111369 -2.813894)'))) / (select extract(epoch from '2026-07-20 16:18:14'::timestamp) - extract(epoch from '2026-07-20 16:18:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.111501 -2.813872)', '2026-07-20 16:18:23', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111369 -2.813894)'), GeomFromEWKT('SRID=4674;POINT (-40.111501 -2.813872)'))) / (select extract(epoch from '2026-07-20 16:18:23'::timestamp) - extract(epoch from '2026-07-20 16:18:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111369 -2.813894)'), GeomFromEWKT('SRID=4674;POINT (-40.111501 -2.813872)'))) / (select extract(epoch from '2026-07-20 16:18:23'::timestamp) - extract(epoch from '2026-07-20 16:18: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'), 47632, 'SRID=4674;POINT (-40.111614 -2.813908)', '2026-07-20 16:18:30', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111501 -2.813872)'), GeomFromEWKT('SRID=4674;POINT (-40.111614 -2.813908)'))) / (select extract(epoch from '2026-07-20 16:18:30'::timestamp) - extract(epoch from '2026-07-20 16:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111501 -2.813872)'), GeomFromEWKT('SRID=4674;POINT (-40.111614 -2.813908)'))) / (select extract(epoch from '2026-07-20 16:18:30'::timestamp) - extract(epoch from '2026-07-20 16:18:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.111627 -2.813904)', '2026-07-20 16:18:31', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111614 -2.813908)'), GeomFromEWKT('SRID=4674;POINT (-40.111627 -2.813904)'))) / (select extract(epoch from '2026-07-20 16:18:31'::timestamp) - extract(epoch from '2026-07-20 16:18:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111614 -2.813908)'), GeomFromEWKT('SRID=4674;POINT (-40.111627 -2.813904)'))) / (select extract(epoch from '2026-07-20 16:18:31'::timestamp) - extract(epoch from '2026-07-20 16:18: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'), 47632, 'SRID=4674;POINT (-40.111701 -2.813865)', '2026-07-20 16:18:36', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111627 -2.813904)'), GeomFromEWKT('SRID=4674;POINT (-40.111701 -2.813865)'))) / (select extract(epoch from '2026-07-20 16:18:36'::timestamp) - extract(epoch from '2026-07-20 16:18:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111627 -2.813904)'), GeomFromEWKT('SRID=4674;POINT (-40.111701 -2.813865)'))) / (select extract(epoch from '2026-07-20 16:18:36'::timestamp) - extract(epoch from '2026-07-20 16:18:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.111819 -2.813798)', '2026-07-20 16:18:44', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111701 -2.813865)'), GeomFromEWKT('SRID=4674;POINT (-40.111819 -2.813798)'))) / (select extract(epoch from '2026-07-20 16:18:44'::timestamp) - extract(epoch from '2026-07-20 16:18:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111701 -2.813865)'), GeomFromEWKT('SRID=4674;POINT (-40.111819 -2.813798)'))) / (select extract(epoch from '2026-07-20 16:18:44'::timestamp) - extract(epoch from '2026-07-20 16:18: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'), 47632, 'SRID=4674;POINT (-40.111943 -2.813742)', '2026-07-20 16:18:52', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111819 -2.813798)'), GeomFromEWKT('SRID=4674;POINT (-40.111943 -2.813742)'))) / (select extract(epoch from '2026-07-20 16:18:52'::timestamp) - extract(epoch from '2026-07-20 16:18:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111819 -2.813798)'), GeomFromEWKT('SRID=4674;POINT (-40.111943 -2.813742)'))) / (select extract(epoch from '2026-07-20 16:18:52'::timestamp) - extract(epoch from '2026-07-20 16:18:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.112093 -2.813713)', '2026-07-20 16:19:00', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111943 -2.813742)'), GeomFromEWKT('SRID=4674;POINT (-40.112093 -2.813713)'))) / (select extract(epoch from '2026-07-20 16:19:00'::timestamp) - extract(epoch from '2026-07-20 16:18:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111943 -2.813742)'), GeomFromEWKT('SRID=4674;POINT (-40.112093 -2.813713)'))) / (select extract(epoch from '2026-07-20 16:19:00'::timestamp) - extract(epoch from '2026-07-20 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'), 47632, 'SRID=4674;POINT (-40.112258 -2.813685)', '2026-07-20 16:19:10', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112093 -2.813713)'), GeomFromEWKT('SRID=4674;POINT (-40.112258 -2.813685)'))) / (select extract(epoch from '2026-07-20 16:19:10'::timestamp) - extract(epoch from '2026-07-20 16:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112093 -2.813713)'), GeomFromEWKT('SRID=4674;POINT (-40.112258 -2.813685)'))) / (select extract(epoch from '2026-07-20 16:19:10'::timestamp) - extract(epoch from '2026-07-20 16:19: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'), 47632, 'SRID=4674;POINT (-40.112375 -2.813675)', '2026-07-20 16:19:17', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112258 -2.813685)'), GeomFromEWKT('SRID=4674;POINT (-40.112375 -2.813675)'))) / (select extract(epoch from '2026-07-20 16:19:17'::timestamp) - extract(epoch from '2026-07-20 16:19:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112258 -2.813685)'), GeomFromEWKT('SRID=4674;POINT (-40.112375 -2.813675)'))) / (select extract(epoch from '2026-07-20 16:19:17'::timestamp) - extract(epoch from '2026-07-20 16:19: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'), 47632, 'SRID=4674;POINT (-40.112523 -2.813648)', '2026-07-20 16:19:26', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112375 -2.813675)'), GeomFromEWKT('SRID=4674;POINT (-40.112523 -2.813648)'))) / (select extract(epoch from '2026-07-20 16:19:26'::timestamp) - extract(epoch from '2026-07-20 16:19:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112375 -2.813675)'), GeomFromEWKT('SRID=4674;POINT (-40.112523 -2.813648)'))) / (select extract(epoch from '2026-07-20 16:19:26'::timestamp) - extract(epoch from '2026-07-20 16:19:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.112631 -2.813628)', '2026-07-20 16:19:33', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112523 -2.813648)'), GeomFromEWKT('SRID=4674;POINT (-40.112631 -2.813628)'))) / (select extract(epoch from '2026-07-20 16:19:33'::timestamp) - extract(epoch from '2026-07-20 16:19:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112523 -2.813648)'), GeomFromEWKT('SRID=4674;POINT (-40.112631 -2.813628)'))) / (select extract(epoch from '2026-07-20 16:19:33'::timestamp) - extract(epoch from '2026-07-20 16:19:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.11276 -2.813568)', '2026-07-20 16:19:42', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112631 -2.813628)'), GeomFromEWKT('SRID=4674;POINT (-40.11276 -2.813568)'))) / (select extract(epoch from '2026-07-20 16:19:42'::timestamp) - extract(epoch from '2026-07-20 16:19:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112631 -2.813628)'), GeomFromEWKT('SRID=4674;POINT (-40.11276 -2.813568)'))) / (select extract(epoch from '2026-07-20 16:19:42'::timestamp) - extract(epoch from '2026-07-20 16:19: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'), 47632, 'SRID=4674;POINT (-40.112897 -2.813533)', '2026-07-20 16:19:51', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11276 -2.813568)'), GeomFromEWKT('SRID=4674;POINT (-40.112897 -2.813533)'))) / (select extract(epoch from '2026-07-20 16:19:51'::timestamp) - extract(epoch from '2026-07-20 16:19:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11276 -2.813568)'), GeomFromEWKT('SRID=4674;POINT (-40.112897 -2.813533)'))) / (select extract(epoch from '2026-07-20 16:19:51'::timestamp) - extract(epoch from '2026-07-20 16:19:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.113027 -2.813517)', '2026-07-20 16:19:59', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112897 -2.813533)'), GeomFromEWKT('SRID=4674;POINT (-40.113027 -2.813517)'))) / (select extract(epoch from '2026-07-20 16:19:59'::timestamp) - extract(epoch from '2026-07-20 16:19:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112897 -2.813533)'), GeomFromEWKT('SRID=4674;POINT (-40.113027 -2.813517)'))) / (select extract(epoch from '2026-07-20 16:19:59'::timestamp) - extract(epoch from '2026-07-20 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'), 47632, 'SRID=4674;POINT (-40.113126 -2.813475)', '2026-07-20 16:20:06', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113027 -2.813517)'), GeomFromEWKT('SRID=4674;POINT (-40.113126 -2.813475)'))) / (select extract(epoch from '2026-07-20 16:20:06'::timestamp) - extract(epoch from '2026-07-20 16:19:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113027 -2.813517)'), GeomFromEWKT('SRID=4674;POINT (-40.113126 -2.813475)'))) / (select extract(epoch from '2026-07-20 16:20:06'::timestamp) - extract(epoch from '2026-07-20 16:19:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.113205 -2.813476)', '2026-07-20 16:20:13', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113126 -2.813475)'), GeomFromEWKT('SRID=4674;POINT (-40.113205 -2.813476)'))) / (select extract(epoch from '2026-07-20 16:20:13'::timestamp) - extract(epoch from '2026-07-20 16:20:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113126 -2.813475)'), GeomFromEWKT('SRID=4674;POINT (-40.113205 -2.813476)'))) / (select extract(epoch from '2026-07-20 16:20:13'::timestamp) - extract(epoch from '2026-07-20 16:20: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'), 47632, 'SRID=4674;POINT (-40.113358 -2.813481)', '2026-07-20 16:20:22', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113205 -2.813476)'), GeomFromEWKT('SRID=4674;POINT (-40.113358 -2.813481)'))) / (select extract(epoch from '2026-07-20 16:20:22'::timestamp) - extract(epoch from '2026-07-20 16:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113205 -2.813476)'), GeomFromEWKT('SRID=4674;POINT (-40.113358 -2.813481)'))) / (select extract(epoch from '2026-07-20 16:20:22'::timestamp) - extract(epoch from '2026-07-20 16:20: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'), 47632, 'SRID=4674;POINT (-40.113486 -2.813463)', '2026-07-20 16:20:30', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113358 -2.813481)'), GeomFromEWKT('SRID=4674;POINT (-40.113486 -2.813463)'))) / (select extract(epoch from '2026-07-20 16:20:30'::timestamp) - extract(epoch from '2026-07-20 16:20:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113358 -2.813481)'), GeomFromEWKT('SRID=4674;POINT (-40.113486 -2.813463)'))) / (select extract(epoch from '2026-07-20 16:20:30'::timestamp) - extract(epoch from '2026-07-20 16:20: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'), 47632, 'SRID=4674;POINT (-40.113618 -2.813378)', '2026-07-20 16:20:39', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113486 -2.813463)'), GeomFromEWKT('SRID=4674;POINT (-40.113618 -2.813378)'))) / (select extract(epoch from '2026-07-20 16:20:39'::timestamp) - extract(epoch from '2026-07-20 16:20:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113486 -2.813463)'), GeomFromEWKT('SRID=4674;POINT (-40.113618 -2.813378)'))) / (select extract(epoch from '2026-07-20 16:20:39'::timestamp) - extract(epoch from '2026-07-20 16:20:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.113735 -2.813333)', '2026-07-20 16:20:47', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113618 -2.813378)'), GeomFromEWKT('SRID=4674;POINT (-40.113735 -2.813333)'))) / (select extract(epoch from '2026-07-20 16:20:47'::timestamp) - extract(epoch from '2026-07-20 16:20:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113618 -2.813378)'), GeomFromEWKT('SRID=4674;POINT (-40.113735 -2.813333)'))) / (select extract(epoch from '2026-07-20 16:20:47'::timestamp) - extract(epoch from '2026-07-20 16:20:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.113867 -2.813325)', '2026-07-20 16:20:55', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113735 -2.813333)'), GeomFromEWKT('SRID=4674;POINT (-40.113867 -2.813325)'))) / (select extract(epoch from '2026-07-20 16:20:55'::timestamp) - extract(epoch from '2026-07-20 16:20:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113735 -2.813333)'), GeomFromEWKT('SRID=4674;POINT (-40.113867 -2.813325)'))) / (select extract(epoch from '2026-07-20 16:20:55'::timestamp) - extract(epoch from '2026-07-20 16:20:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.114035 -2.8133)', '2026-07-20 16:21:05', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113867 -2.813325)'), GeomFromEWKT('SRID=4674;POINT (-40.114035 -2.8133)'))) / (select extract(epoch from '2026-07-20 16:21:05'::timestamp) - extract(epoch from '2026-07-20 16:20:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113867 -2.813325)'), GeomFromEWKT('SRID=4674;POINT (-40.114035 -2.8133)'))) / (select extract(epoch from '2026-07-20 16:21:05'::timestamp) - extract(epoch from '2026-07-20 16:20: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'), 47632, 'SRID=4674;POINT (-40.114167 -2.813276)', '2026-07-20 16:21:13', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114035 -2.8133)'), GeomFromEWKT('SRID=4674;POINT (-40.114167 -2.813276)'))) / (select extract(epoch from '2026-07-20 16:21:13'::timestamp) - extract(epoch from '2026-07-20 16:21:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114035 -2.8133)'), GeomFromEWKT('SRID=4674;POINT (-40.114167 -2.813276)'))) / (select extract(epoch from '2026-07-20 16:21:13'::timestamp) - extract(epoch from '2026-07-20 16:21: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'), 47632, 'SRID=4674;POINT (-40.114271 -2.813257)', '2026-07-20 16:21:20', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114167 -2.813276)'), GeomFromEWKT('SRID=4674;POINT (-40.114271 -2.813257)'))) / (select extract(epoch from '2026-07-20 16:21:20'::timestamp) - extract(epoch from '2026-07-20 16:21:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114167 -2.813276)'), GeomFromEWKT('SRID=4674;POINT (-40.114271 -2.813257)'))) / (select extract(epoch from '2026-07-20 16:21:20'::timestamp) - extract(epoch from '2026-07-20 16:21: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'), 47632, 'SRID=4674;POINT (-40.114412 -2.813209)', '2026-07-20 16:21:28', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114271 -2.813257)'), GeomFromEWKT('SRID=4674;POINT (-40.114412 -2.813209)'))) / (select extract(epoch from '2026-07-20 16:21:28'::timestamp) - extract(epoch from '2026-07-20 16:21:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114271 -2.813257)'), GeomFromEWKT('SRID=4674;POINT (-40.114412 -2.813209)'))) / (select extract(epoch from '2026-07-20 16:21:28'::timestamp) - extract(epoch from '2026-07-20 16:21: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'), 47632, 'SRID=4674;POINT (-40.11449 -2.813172)', '2026-07-20 16:21:34', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114412 -2.813209)'), GeomFromEWKT('SRID=4674;POINT (-40.11449 -2.813172)'))) / (select extract(epoch from '2026-07-20 16:21:34'::timestamp) - extract(epoch from '2026-07-20 16:21:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114412 -2.813209)'), GeomFromEWKT('SRID=4674;POINT (-40.11449 -2.813172)'))) / (select extract(epoch from '2026-07-20 16:21:34'::timestamp) - extract(epoch from '2026-07-20 16:21:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.114623 -2.813128)', '2026-07-20 16:21:43', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11449 -2.813172)'), GeomFromEWKT('SRID=4674;POINT (-40.114623 -2.813128)'))) / (select extract(epoch from '2026-07-20 16:21:43'::timestamp) - extract(epoch from '2026-07-20 16:21:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11449 -2.813172)'), GeomFromEWKT('SRID=4674;POINT (-40.114623 -2.813128)'))) / (select extract(epoch from '2026-07-20 16:21:43'::timestamp) - extract(epoch from '2026-07-20 16:21: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'), 47632, 'SRID=4674;POINT (-40.114768 -2.813093)', '2026-07-20 16:21:52', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114623 -2.813128)'), GeomFromEWKT('SRID=4674;POINT (-40.114768 -2.813093)'))) / (select extract(epoch from '2026-07-20 16:21:52'::timestamp) - extract(epoch from '2026-07-20 16:21:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114623 -2.813128)'), GeomFromEWKT('SRID=4674;POINT (-40.114768 -2.813093)'))) / (select extract(epoch from '2026-07-20 16:21:52'::timestamp) - extract(epoch from '2026-07-20 16:21: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'), 47632, 'SRID=4674;POINT (-40.114898 -2.813048)', '2026-07-20 16:22:00', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114768 -2.813093)'), GeomFromEWKT('SRID=4674;POINT (-40.114898 -2.813048)'))) / (select extract(epoch from '2026-07-20 16:22:00'::timestamp) - extract(epoch from '2026-07-20 16:21:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114768 -2.813093)'), GeomFromEWKT('SRID=4674;POINT (-40.114898 -2.813048)'))) / (select extract(epoch from '2026-07-20 16:22:00'::timestamp) - extract(epoch from '2026-07-20 16:21: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'), 47632, 'SRID=4674;POINT (-40.115 -2.813011)', '2026-07-20 16:22:07', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114898 -2.813048)'), GeomFromEWKT('SRID=4674;POINT (-40.115 -2.813011)'))) / (select extract(epoch from '2026-07-20 16:22:07'::timestamp) - extract(epoch from '2026-07-20 16:22:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114898 -2.813048)'), GeomFromEWKT('SRID=4674;POINT (-40.115 -2.813011)'))) / (select extract(epoch from '2026-07-20 16:22:07'::timestamp) - extract(epoch from '2026-07-20 16:22: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'), 47632, 'SRID=4674;POINT (-40.115128 -2.812998)', '2026-07-20 16:22:15', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115 -2.813011)'), GeomFromEWKT('SRID=4674;POINT (-40.115128 -2.812998)'))) / (select extract(epoch from '2026-07-20 16:22:15'::timestamp) - extract(epoch from '2026-07-20 16:22:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115 -2.813011)'), GeomFromEWKT('SRID=4674;POINT (-40.115128 -2.812998)'))) / (select extract(epoch from '2026-07-20 16:22:15'::timestamp) - extract(epoch from '2026-07-20 16:22:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.115279 -2.812943)', '2026-07-20 16:22:25', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115128 -2.812998)'), GeomFromEWKT('SRID=4674;POINT (-40.115279 -2.812943)'))) / (select extract(epoch from '2026-07-20 16:22:25'::timestamp) - extract(epoch from '2026-07-20 16:22:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115128 -2.812998)'), GeomFromEWKT('SRID=4674;POINT (-40.115279 -2.812943)'))) / (select extract(epoch from '2026-07-20 16:22:25'::timestamp) - extract(epoch from '2026-07-20 16:22: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'), 47632, 'SRID=4674;POINT (-40.115429 -2.812938)', '2026-07-20 16:22:34', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115279 -2.812943)'), GeomFromEWKT('SRID=4674;POINT (-40.115429 -2.812938)'))) / (select extract(epoch from '2026-07-20 16:22:34'::timestamp) - extract(epoch from '2026-07-20 16:22:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115279 -2.812943)'), GeomFromEWKT('SRID=4674;POINT (-40.115429 -2.812938)'))) / (select extract(epoch from '2026-07-20 16:22:34'::timestamp) - extract(epoch from '2026-07-20 16:22: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'), 47632, 'SRID=4674;POINT (-40.115543 -2.812971)', '2026-07-20 16:22:41', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115429 -2.812938)'), GeomFromEWKT('SRID=4674;POINT (-40.115543 -2.812971)'))) / (select extract(epoch from '2026-07-20 16:22:41'::timestamp) - extract(epoch from '2026-07-20 16:22:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115429 -2.812938)'), GeomFromEWKT('SRID=4674;POINT (-40.115543 -2.812971)'))) / (select extract(epoch from '2026-07-20 16:22:41'::timestamp) - extract(epoch from '2026-07-20 16:22: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'), 47632, 'SRID=4674;POINT (-40.115663 -2.81299)', '2026-07-20 16:22:48', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115543 -2.812971)'), GeomFromEWKT('SRID=4674;POINT (-40.115663 -2.81299)'))) / (select extract(epoch from '2026-07-20 16:22:48'::timestamp) - extract(epoch from '2026-07-20 16:22:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115543 -2.812971)'), GeomFromEWKT('SRID=4674;POINT (-40.115663 -2.81299)'))) / (select extract(epoch from '2026-07-20 16:22:48'::timestamp) - extract(epoch from '2026-07-20 16:22:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.115784 -2.812944)', '2026-07-20 16:22:57', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115663 -2.81299)'), GeomFromEWKT('SRID=4674;POINT (-40.115784 -2.812944)'))) / (select extract(epoch from '2026-07-20 16:22:57'::timestamp) - extract(epoch from '2026-07-20 16:22:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115663 -2.81299)'), GeomFromEWKT('SRID=4674;POINT (-40.115784 -2.812944)'))) / (select extract(epoch from '2026-07-20 16:22:57'::timestamp) - extract(epoch from '2026-07-20 16:22: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'), 47632, 'SRID=4674;POINT (-40.115882 -2.812895)', '2026-07-20 16:23:04', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115784 -2.812944)'), GeomFromEWKT('SRID=4674;POINT (-40.115882 -2.812895)'))) / (select extract(epoch from '2026-07-20 16:23:04'::timestamp) - extract(epoch from '2026-07-20 16:22:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115784 -2.812944)'), GeomFromEWKT('SRID=4674;POINT (-40.115882 -2.812895)'))) / (select extract(epoch from '2026-07-20 16:23:04'::timestamp) - extract(epoch from '2026-07-20 16:22: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'), 47632, 'SRID=4674;POINT (-40.115992 -2.812851)', '2026-07-20 16:23:11', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115882 -2.812895)'), GeomFromEWKT('SRID=4674;POINT (-40.115992 -2.812851)'))) / (select extract(epoch from '2026-07-20 16:23:11'::timestamp) - extract(epoch from '2026-07-20 16:23:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115882 -2.812895)'), GeomFromEWKT('SRID=4674;POINT (-40.115992 -2.812851)'))) / (select extract(epoch from '2026-07-20 16:23:11'::timestamp) - extract(epoch from '2026-07-20 16:23: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'), 47632, 'SRID=4674;POINT (-40.116153 -2.812808)', '2026-07-20 16:23:21', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115992 -2.812851)'), GeomFromEWKT('SRID=4674;POINT (-40.116153 -2.812808)'))) / (select extract(epoch from '2026-07-20 16:23:21'::timestamp) - extract(epoch from '2026-07-20 16:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115992 -2.812851)'), GeomFromEWKT('SRID=4674;POINT (-40.116153 -2.812808)'))) / (select extract(epoch from '2026-07-20 16:23:21'::timestamp) - extract(epoch from '2026-07-20 16:23: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'), 47632, 'SRID=4674;POINT (-40.116293 -2.812816)', '2026-07-20 16:23:30', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116153 -2.812808)'), GeomFromEWKT('SRID=4674;POINT (-40.116293 -2.812816)'))) / (select extract(epoch from '2026-07-20 16:23:30'::timestamp) - extract(epoch from '2026-07-20 16:23:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116153 -2.812808)'), GeomFromEWKT('SRID=4674;POINT (-40.116293 -2.812816)'))) / (select extract(epoch from '2026-07-20 16:23:30'::timestamp) - extract(epoch from '2026-07-20 16:23:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.116402 -2.812793)', '2026-07-20 16:23:38', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116293 -2.812816)'), GeomFromEWKT('SRID=4674;POINT (-40.116402 -2.812793)'))) / (select extract(epoch from '2026-07-20 16:23:38'::timestamp) - extract(epoch from '2026-07-20 16:23:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116293 -2.812816)'), GeomFromEWKT('SRID=4674;POINT (-40.116402 -2.812793)'))) / (select extract(epoch from '2026-07-20 16:23:38'::timestamp) - extract(epoch from '2026-07-20 16:23: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'), 47632, 'SRID=4674;POINT (-40.116512 -2.81276)', '2026-07-20 16:23:45', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116402 -2.812793)'), GeomFromEWKT('SRID=4674;POINT (-40.116512 -2.81276)'))) / (select extract(epoch from '2026-07-20 16:23:45'::timestamp) - extract(epoch from '2026-07-20 16:23:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116402 -2.812793)'), GeomFromEWKT('SRID=4674;POINT (-40.116512 -2.81276)'))) / (select extract(epoch from '2026-07-20 16:23:45'::timestamp) - extract(epoch from '2026-07-20 16:23: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'), 47632, 'SRID=4674;POINT (-40.116591 -2.81272)', '2026-07-20 16:23:52', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116512 -2.81276)'), GeomFromEWKT('SRID=4674;POINT (-40.116591 -2.81272)'))) / (select extract(epoch from '2026-07-20 16:23:52'::timestamp) - extract(epoch from '2026-07-20 16:23:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116512 -2.81276)'), GeomFromEWKT('SRID=4674;POINT (-40.116591 -2.81272)'))) / (select extract(epoch from '2026-07-20 16:23:52'::timestamp) - extract(epoch from '2026-07-20 16:23: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'), 47632, 'SRID=4674;POINT (-40.116661 -2.812664)', '2026-07-20 16:24:00', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116591 -2.81272)'), GeomFromEWKT('SRID=4674;POINT (-40.116661 -2.812664)'))) / (select extract(epoch from '2026-07-20 16:24:00'::timestamp) - extract(epoch from '2026-07-20 16:23:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116591 -2.81272)'), GeomFromEWKT('SRID=4674;POINT (-40.116661 -2.812664)'))) / (select extract(epoch from '2026-07-20 16:24:00'::timestamp) - extract(epoch from '2026-07-20 16:23:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.116715 -2.812621)', '2026-07-20 16:24:07', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116661 -2.812664)'), GeomFromEWKT('SRID=4674;POINT (-40.116715 -2.812621)'))) / (select extract(epoch from '2026-07-20 16:24:07'::timestamp) - extract(epoch from '2026-07-20 16:24:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116661 -2.812664)'), GeomFromEWKT('SRID=4674;POINT (-40.116715 -2.812621)'))) / (select extract(epoch from '2026-07-20 16:24:07'::timestamp) - extract(epoch from '2026-07-20 16:24: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'), 47632, 'SRID=4674;POINT (-40.116755 -2.812589)', '2026-07-20 16:24:15', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116715 -2.812621)'), GeomFromEWKT('SRID=4674;POINT (-40.116755 -2.812589)'))) / (select extract(epoch from '2026-07-20 16:24:15'::timestamp) - extract(epoch from '2026-07-20 16:24:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116715 -2.812621)'), GeomFromEWKT('SRID=4674;POINT (-40.116755 -2.812589)'))) / (select extract(epoch from '2026-07-20 16:24:15'::timestamp) - extract(epoch from '2026-07-20 16:24: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'), 47632, 'SRID=4674;POINT (-40.116765 -2.812563)', '2026-07-20 16:24:21', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116755 -2.812589)'), GeomFromEWKT('SRID=4674;POINT (-40.116765 -2.812563)'))) / (select extract(epoch from '2026-07-20 16:24:21'::timestamp) - extract(epoch from '2026-07-20 16:24:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116755 -2.812589)'), GeomFromEWKT('SRID=4674;POINT (-40.116765 -2.812563)'))) / (select extract(epoch from '2026-07-20 16:24:21'::timestamp) - extract(epoch from '2026-07-20 16:24: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'), 47632, 'SRID=4674;POINT (-40.116783 -2.812481)', '2026-07-20 16:24:31', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116765 -2.812563)'), GeomFromEWKT('SRID=4674;POINT (-40.116783 -2.812481)'))) / (select extract(epoch from '2026-07-20 16:24:31'::timestamp) - extract(epoch from '2026-07-20 16:24:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116765 -2.812563)'), GeomFromEWKT('SRID=4674;POINT (-40.116783 -2.812481)'))) / (select extract(epoch from '2026-07-20 16:24:31'::timestamp) - extract(epoch from '2026-07-20 16:24: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'), 47632, 'SRID=4674;POINT (-40.116805 -2.812416)', '2026-07-20 16:24:39', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116783 -2.812481)'), GeomFromEWKT('SRID=4674;POINT (-40.116805 -2.812416)'))) / (select extract(epoch from '2026-07-20 16:24:39'::timestamp) - extract(epoch from '2026-07-20 16:24:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116783 -2.812481)'), GeomFromEWKT('SRID=4674;POINT (-40.116805 -2.812416)'))) / (select extract(epoch from '2026-07-20 16:24:39'::timestamp) - extract(epoch from '2026-07-20 16:24:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.116745 -2.812365)', '2026-07-20 16:24:48', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116805 -2.812416)'), GeomFromEWKT('SRID=4674;POINT (-40.116745 -2.812365)'))) / (select extract(epoch from '2026-07-20 16:24:48'::timestamp) - extract(epoch from '2026-07-20 16:24:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116805 -2.812416)'), GeomFromEWKT('SRID=4674;POINT (-40.116745 -2.812365)'))) / (select extract(epoch from '2026-07-20 16:24:48'::timestamp) - extract(epoch from '2026-07-20 16:24:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.116727 -2.81234)', '2026-07-20 16:24:56', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116745 -2.812365)'), GeomFromEWKT('SRID=4674;POINT (-40.116727 -2.81234)'))) / (select extract(epoch from '2026-07-20 16:24:56'::timestamp) - extract(epoch from '2026-07-20 16:24:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116745 -2.812365)'), GeomFromEWKT('SRID=4674;POINT (-40.116727 -2.81234)'))) / (select extract(epoch from '2026-07-20 16:24:56'::timestamp) - extract(epoch from '2026-07-20 16:24: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'), 47632, 'SRID=4674;POINT (-40.116741 -2.812324)', '2026-07-20 16:25:03', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116727 -2.81234)'), GeomFromEWKT('SRID=4674;POINT (-40.116741 -2.812324)'))) / (select extract(epoch from '2026-07-20 16:25:03'::timestamp) - extract(epoch from '2026-07-20 16:24:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116727 -2.81234)'), GeomFromEWKT('SRID=4674;POINT (-40.116741 -2.812324)'))) / (select extract(epoch from '2026-07-20 16:25:03'::timestamp) - extract(epoch from '2026-07-20 16:24:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.116759 -2.812296)', '2026-07-20 16:25:09', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116741 -2.812324)'), GeomFromEWKT('SRID=4674;POINT (-40.116759 -2.812296)'))) / (select extract(epoch from '2026-07-20 16:25:09'::timestamp) - extract(epoch from '2026-07-20 16:25:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116741 -2.812324)'), GeomFromEWKT('SRID=4674;POINT (-40.116759 -2.812296)'))) / (select extract(epoch from '2026-07-20 16:25:09'::timestamp) - extract(epoch from '2026-07-20 16:25: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'), 47632, 'SRID=4674;POINT (-40.116763 -2.812284)', '2026-07-20 16:25:11', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116759 -2.812296)'), GeomFromEWKT('SRID=4674;POINT (-40.116763 -2.812284)'))) / (select extract(epoch from '2026-07-20 16:25:11'::timestamp) - extract(epoch from '2026-07-20 16:25:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116759 -2.812296)'), GeomFromEWKT('SRID=4674;POINT (-40.116763 -2.812284)'))) / (select extract(epoch from '2026-07-20 16:25:11'::timestamp) - extract(epoch from '2026-07-20 16:25: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'), 47632, 'SRID=4674;POINT (-40.116787 -2.812243)', '2026-07-20 16:25:17', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116763 -2.812284)'), GeomFromEWKT('SRID=4674;POINT (-40.116787 -2.812243)'))) / (select extract(epoch from '2026-07-20 16:25:17'::timestamp) - extract(epoch from '2026-07-20 16:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116763 -2.812284)'), GeomFromEWKT('SRID=4674;POINT (-40.116787 -2.812243)'))) / (select extract(epoch from '2026-07-20 16:25:17'::timestamp) - extract(epoch from '2026-07-20 16:25: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'), 47632, 'SRID=4674;POINT (-40.116836 -2.812155)', '2026-07-20 16:25:32', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116787 -2.812243)'), GeomFromEWKT('SRID=4674;POINT (-40.116836 -2.812155)'))) / (select extract(epoch from '2026-07-20 16:25:32'::timestamp) - extract(epoch from '2026-07-20 16:25:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116787 -2.812243)'), GeomFromEWKT('SRID=4674;POINT (-40.116836 -2.812155)'))) / (select extract(epoch from '2026-07-20 16:25:32'::timestamp) - extract(epoch from '2026-07-20 16:25: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'), 47632, 'SRID=4674;POINT (-40.116856 -2.812134)', '2026-07-20 16:25:44', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116836 -2.812155)'), GeomFromEWKT('SRID=4674;POINT (-40.116856 -2.812134)'))) / (select extract(epoch from '2026-07-20 16:25:44'::timestamp) - extract(epoch from '2026-07-20 16:25:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116836 -2.812155)'), GeomFromEWKT('SRID=4674;POINT (-40.116856 -2.812134)'))) / (select extract(epoch from '2026-07-20 16:25:44'::timestamp) - extract(epoch from '2026-07-20 16:25: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'), 47632, 'SRID=4674;POINT (-40.116894 -2.812093)', '2026-07-20 16:25:54', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116856 -2.812134)'), GeomFromEWKT('SRID=4674;POINT (-40.116894 -2.812093)'))) / (select extract(epoch from '2026-07-20 16:25:54'::timestamp) - extract(epoch from '2026-07-20 16:25:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116856 -2.812134)'), GeomFromEWKT('SRID=4674;POINT (-40.116894 -2.812093)'))) / (select extract(epoch from '2026-07-20 16:25:54'::timestamp) - extract(epoch from '2026-07-20 16:25: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'), 47632, 'SRID=4674;POINT (-40.116981 -2.812071)', '2026-07-20 16:26:09', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116894 -2.812093)'), GeomFromEWKT('SRID=4674;POINT (-40.116981 -2.812071)'))) / (select extract(epoch from '2026-07-20 16:26:09'::timestamp) - extract(epoch from '2026-07-20 16:25:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116894 -2.812093)'), GeomFromEWKT('SRID=4674;POINT (-40.116981 -2.812071)'))) / (select extract(epoch from '2026-07-20 16:26:09'::timestamp) - extract(epoch from '2026-07-20 16:25:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.117095 -2.81209)', '2026-07-20 16:26:26', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116981 -2.812071)'), GeomFromEWKT('SRID=4674;POINT (-40.117095 -2.81209)'))) / (select extract(epoch from '2026-07-20 16:26:26'::timestamp) - extract(epoch from '2026-07-20 16:26:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116981 -2.812071)'), GeomFromEWKT('SRID=4674;POINT (-40.117095 -2.81209)'))) / (select extract(epoch from '2026-07-20 16:26:26'::timestamp) - extract(epoch from '2026-07-20 16:26: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'), 47632, 'SRID=4674;POINT (-40.117197 -2.812092)', '2026-07-20 16:26:41', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117095 -2.81209)'), GeomFromEWKT('SRID=4674;POINT (-40.117197 -2.812092)'))) / (select extract(epoch from '2026-07-20 16:26:41'::timestamp) - extract(epoch from '2026-07-20 16:26:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117095 -2.81209)'), GeomFromEWKT('SRID=4674;POINT (-40.117197 -2.812092)'))) / (select extract(epoch from '2026-07-20 16:26:41'::timestamp) - extract(epoch from '2026-07-20 16:26: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'), 47632, 'SRID=4674;POINT (-40.117307 -2.812101)', '2026-07-20 16:26:57', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117197 -2.812092)'), GeomFromEWKT('SRID=4674;POINT (-40.117307 -2.812101)'))) / (select extract(epoch from '2026-07-20 16:26:57'::timestamp) - extract(epoch from '2026-07-20 16:26:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117197 -2.812092)'), GeomFromEWKT('SRID=4674;POINT (-40.117307 -2.812101)'))) / (select extract(epoch from '2026-07-20 16:26:57'::timestamp) - extract(epoch from '2026-07-20 16:26:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.117436 -2.812131)', '2026-07-20 16:27:15', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117307 -2.812101)'), GeomFromEWKT('SRID=4674;POINT (-40.117436 -2.812131)'))) / (select extract(epoch from '2026-07-20 16:27:15'::timestamp) - extract(epoch from '2026-07-20 16:26:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117307 -2.812101)'), GeomFromEWKT('SRID=4674;POINT (-40.117436 -2.812131)'))) / (select extract(epoch from '2026-07-20 16:27:15'::timestamp) - extract(epoch from '2026-07-20 16:26:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.117531 -2.812171)', '2026-07-20 16:27:32', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117436 -2.812131)'), GeomFromEWKT('SRID=4674;POINT (-40.117531 -2.812171)'))) / (select extract(epoch from '2026-07-20 16:27:32'::timestamp) - extract(epoch from '2026-07-20 16:27:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117436 -2.812131)'), GeomFromEWKT('SRID=4674;POINT (-40.117531 -2.812171)'))) / (select extract(epoch from '2026-07-20 16:27:32'::timestamp) - extract(epoch from '2026-07-20 16:27: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'), 47632, 'SRID=4674;POINT (-40.117594 -2.81219)', '2026-07-20 16:27:42', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117531 -2.812171)'), GeomFromEWKT('SRID=4674;POINT (-40.117594 -2.81219)'))) / (select extract(epoch from '2026-07-20 16:27:42'::timestamp) - extract(epoch from '2026-07-20 16:27:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117531 -2.812171)'), GeomFromEWKT('SRID=4674;POINT (-40.117594 -2.81219)'))) / (select extract(epoch from '2026-07-20 16:27:42'::timestamp) - extract(epoch from '2026-07-20 16:27:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.117646 -2.812206)', '2026-07-20 16:27:50', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117594 -2.81219)'), GeomFromEWKT('SRID=4674;POINT (-40.117646 -2.812206)'))) / (select extract(epoch from '2026-07-20 16:27:50'::timestamp) - extract(epoch from '2026-07-20 16:27:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117594 -2.81219)'), GeomFromEWKT('SRID=4674;POINT (-40.117646 -2.812206)'))) / (select extract(epoch from '2026-07-20 16:27:50'::timestamp) - extract(epoch from '2026-07-20 16:27: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'), 47632, 'SRID=4674;POINT (-40.117698 -2.812232)', '2026-07-20 16:27:59', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117646 -2.812206)'), GeomFromEWKT('SRID=4674;POINT (-40.117698 -2.812232)'))) / (select extract(epoch from '2026-07-20 16:27:59'::timestamp) - extract(epoch from '2026-07-20 16:27:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117646 -2.812206)'), GeomFromEWKT('SRID=4674;POINT (-40.117698 -2.812232)'))) / (select extract(epoch from '2026-07-20 16:27:59'::timestamp) - extract(epoch from '2026-07-20 16:27:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.117745 -2.812259)', '2026-07-20 16:28:08', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117698 -2.812232)'), GeomFromEWKT('SRID=4674;POINT (-40.117745 -2.812259)'))) / (select extract(epoch from '2026-07-20 16:28:08'::timestamp) - extract(epoch from '2026-07-20 16:27:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117698 -2.812232)'), GeomFromEWKT('SRID=4674;POINT (-40.117745 -2.812259)'))) / (select extract(epoch from '2026-07-20 16:28:08'::timestamp) - extract(epoch from '2026-07-20 16:27:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.117786 -2.812292)', '2026-07-20 16:28:16', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117745 -2.812259)'), GeomFromEWKT('SRID=4674;POINT (-40.117786 -2.812292)'))) / (select extract(epoch from '2026-07-20 16:28:16'::timestamp) - extract(epoch from '2026-07-20 16:28:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117745 -2.812259)'), GeomFromEWKT('SRID=4674;POINT (-40.117786 -2.812292)'))) / (select extract(epoch from '2026-07-20 16:28:16'::timestamp) - extract(epoch from '2026-07-20 16:28: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'), 47632, 'SRID=4674;POINT (-40.11786 -2.812317)', '2026-07-20 16:28:25', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117786 -2.812292)'), GeomFromEWKT('SRID=4674;POINT (-40.11786 -2.812317)'))) / (select extract(epoch from '2026-07-20 16:28:25'::timestamp) - extract(epoch from '2026-07-20 16:28:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117786 -2.812292)'), GeomFromEWKT('SRID=4674;POINT (-40.11786 -2.812317)'))) / (select extract(epoch from '2026-07-20 16:28:25'::timestamp) - extract(epoch from '2026-07-20 16:28:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.117924 -2.812329)', '2026-07-20 16:28:35', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11786 -2.812317)'), GeomFromEWKT('SRID=4674;POINT (-40.117924 -2.812329)'))) / (select extract(epoch from '2026-07-20 16:28:35'::timestamp) - extract(epoch from '2026-07-20 16:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11786 -2.812317)'), GeomFromEWKT('SRID=4674;POINT (-40.117924 -2.812329)'))) / (select extract(epoch from '2026-07-20 16:28:35'::timestamp) - extract(epoch from '2026-07-20 16:28: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'), 47632, 'SRID=4674;POINT (-40.117991 -2.812331)', '2026-07-20 16:28:44', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117924 -2.812329)'), GeomFromEWKT('SRID=4674;POINT (-40.117991 -2.812331)'))) / (select extract(epoch from '2026-07-20 16:28:44'::timestamp) - extract(epoch from '2026-07-20 16:28:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117924 -2.812329)'), GeomFromEWKT('SRID=4674;POINT (-40.117991 -2.812331)'))) / (select extract(epoch from '2026-07-20 16:28:44'::timestamp) - extract(epoch from '2026-07-20 16:28:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.118046 -2.812352)', '2026-07-20 16:28:52', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117991 -2.812331)'), GeomFromEWKT('SRID=4674;POINT (-40.118046 -2.812352)'))) / (select extract(epoch from '2026-07-20 16:28:52'::timestamp) - extract(epoch from '2026-07-20 16:28:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117991 -2.812331)'), GeomFromEWKT('SRID=4674;POINT (-40.118046 -2.812352)'))) / (select extract(epoch from '2026-07-20 16:28:52'::timestamp) - extract(epoch from '2026-07-20 16:28: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'), 47632, 'SRID=4674;POINT (-40.118109 -2.812364)', '2026-07-20 16:29:00', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118046 -2.812352)'), GeomFromEWKT('SRID=4674;POINT (-40.118109 -2.812364)'))) / (select extract(epoch from '2026-07-20 16:29:00'::timestamp) - extract(epoch from '2026-07-20 16:28:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118046 -2.812352)'), GeomFromEWKT('SRID=4674;POINT (-40.118109 -2.812364)'))) / (select extract(epoch from '2026-07-20 16:29:00'::timestamp) - extract(epoch from '2026-07-20 16:28: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'), 47632, 'SRID=4674;POINT (-40.118154 -2.812377)', '2026-07-20 16:29:10', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118109 -2.812364)'), GeomFromEWKT('SRID=4674;POINT (-40.118154 -2.812377)'))) / (select extract(epoch from '2026-07-20 16:29:10'::timestamp) - extract(epoch from '2026-07-20 16:29:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118109 -2.812364)'), GeomFromEWKT('SRID=4674;POINT (-40.118154 -2.812377)'))) / (select extract(epoch from '2026-07-20 16:29:10'::timestamp) - extract(epoch from '2026-07-20 16:29: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'), 47632, 'SRID=4674;POINT (-40.118189 -2.812402)', '2026-07-20 16:29:17', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118154 -2.812377)'), GeomFromEWKT('SRID=4674;POINT (-40.118189 -2.812402)'))) / (select extract(epoch from '2026-07-20 16:29:17'::timestamp) - extract(epoch from '2026-07-20 16:29:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118154 -2.812377)'), GeomFromEWKT('SRID=4674;POINT (-40.118189 -2.812402)'))) / (select extract(epoch from '2026-07-20 16:29:17'::timestamp) - extract(epoch from '2026-07-20 16:29: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'), 47632, 'SRID=4674;POINT (-40.118237 -2.812415)', '2026-07-20 16:29:26', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118189 -2.812402)'), GeomFromEWKT('SRID=4674;POINT (-40.118237 -2.812415)'))) / (select extract(epoch from '2026-07-20 16:29:26'::timestamp) - extract(epoch from '2026-07-20 16:29:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118189 -2.812402)'), GeomFromEWKT('SRID=4674;POINT (-40.118237 -2.812415)'))) / (select extract(epoch from '2026-07-20 16:29:26'::timestamp) - extract(epoch from '2026-07-20 16:29: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'), 47632, 'SRID=4674;POINT (-40.118288 -2.812446)', '2026-07-20 16:29:37', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118237 -2.812415)'), GeomFromEWKT('SRID=4674;POINT (-40.118288 -2.812446)'))) / (select extract(epoch from '2026-07-20 16:29:37'::timestamp) - extract(epoch from '2026-07-20 16:29:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118237 -2.812415)'), GeomFromEWKT('SRID=4674;POINT (-40.118288 -2.812446)'))) / (select extract(epoch from '2026-07-20 16:29:37'::timestamp) - extract(epoch from '2026-07-20 16:29:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.118346 -2.812449)', '2026-07-20 16:29:45', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118288 -2.812446)'), GeomFromEWKT('SRID=4674;POINT (-40.118346 -2.812449)'))) / (select extract(epoch from '2026-07-20 16:29:45'::timestamp) - extract(epoch from '2026-07-20 16:29:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118288 -2.812446)'), GeomFromEWKT('SRID=4674;POINT (-40.118346 -2.812449)'))) / (select extract(epoch from '2026-07-20 16:29:45'::timestamp) - extract(epoch from '2026-07-20 16:29: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'), 47632, 'SRID=4674;POINT (-40.118416 -2.812458)', '2026-07-20 16:29:55', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118346 -2.812449)'), GeomFromEWKT('SRID=4674;POINT (-40.118416 -2.812458)'))) / (select extract(epoch from '2026-07-20 16:29:55'::timestamp) - extract(epoch from '2026-07-20 16:29:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118346 -2.812449)'), GeomFromEWKT('SRID=4674;POINT (-40.118416 -2.812458)'))) / (select extract(epoch from '2026-07-20 16:29:55'::timestamp) - extract(epoch from '2026-07-20 16:29: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'), 47632, 'SRID=4674;POINT (-40.118443 -2.812481)', '2026-07-20 16:30:03', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118416 -2.812458)'), GeomFromEWKT('SRID=4674;POINT (-40.118443 -2.812481)'))) / (select extract(epoch from '2026-07-20 16:30:03'::timestamp) - extract(epoch from '2026-07-20 16:29:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118416 -2.812458)'), GeomFromEWKT('SRID=4674;POINT (-40.118443 -2.812481)'))) / (select extract(epoch from '2026-07-20 16:30:03'::timestamp) - extract(epoch from '2026-07-20 16:29:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.118482 -2.812492)', '2026-07-20 16:30:09', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118443 -2.812481)'), GeomFromEWKT('SRID=4674;POINT (-40.118482 -2.812492)'))) / (select extract(epoch from '2026-07-20 16:30:09'::timestamp) - extract(epoch from '2026-07-20 16:30:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118443 -2.812481)'), GeomFromEWKT('SRID=4674;POINT (-40.118482 -2.812492)'))) / (select extract(epoch from '2026-07-20 16:30:09'::timestamp) - extract(epoch from '2026-07-20 16:30: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'), 47632, 'SRID=4674;POINT (-40.118575 -2.812501)', '2026-07-20 16:30:19', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118482 -2.812492)'), GeomFromEWKT('SRID=4674;POINT (-40.118575 -2.812501)'))) / (select extract(epoch from '2026-07-20 16:30:19'::timestamp) - extract(epoch from '2026-07-20 16:30:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118482 -2.812492)'), GeomFromEWKT('SRID=4674;POINT (-40.118575 -2.812501)'))) / (select extract(epoch from '2026-07-20 16:30:19'::timestamp) - extract(epoch from '2026-07-20 16:30: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'), 47632, 'SRID=4674;POINT (-40.118634 -2.812537)', '2026-07-20 16:30:28', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118575 -2.812501)'), GeomFromEWKT('SRID=4674;POINT (-40.118634 -2.812537)'))) / (select extract(epoch from '2026-07-20 16:30:28'::timestamp) - extract(epoch from '2026-07-20 16:30:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118575 -2.812501)'), GeomFromEWKT('SRID=4674;POINT (-40.118634 -2.812537)'))) / (select extract(epoch from '2026-07-20 16:30:28'::timestamp) - extract(epoch from '2026-07-20 16:30:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.118696 -2.812548)', '2026-07-20 16:30:37', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118634 -2.812537)'), GeomFromEWKT('SRID=4674;POINT (-40.118696 -2.812548)'))) / (select extract(epoch from '2026-07-20 16:30:37'::timestamp) - extract(epoch from '2026-07-20 16:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118634 -2.812537)'), GeomFromEWKT('SRID=4674;POINT (-40.118696 -2.812548)'))) / (select extract(epoch from '2026-07-20 16:30:37'::timestamp) - extract(epoch from '2026-07-20 16:30:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.118762 -2.812538)', '2026-07-20 16:30:46', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118696 -2.812548)'), GeomFromEWKT('SRID=4674;POINT (-40.118762 -2.812538)'))) / (select extract(epoch from '2026-07-20 16:30:46'::timestamp) - extract(epoch from '2026-07-20 16:30:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118696 -2.812548)'), GeomFromEWKT('SRID=4674;POINT (-40.118762 -2.812538)'))) / (select extract(epoch from '2026-07-20 16:30:46'::timestamp) - extract(epoch from '2026-07-20 16:30:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.118819 -2.812548)', '2026-07-20 16:30:54', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118762 -2.812538)'), GeomFromEWKT('SRID=4674;POINT (-40.118819 -2.812548)'))) / (select extract(epoch from '2026-07-20 16:30:54'::timestamp) - extract(epoch from '2026-07-20 16:30:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118762 -2.812538)'), GeomFromEWKT('SRID=4674;POINT (-40.118819 -2.812548)'))) / (select extract(epoch from '2026-07-20 16:30:54'::timestamp) - extract(epoch from '2026-07-20 16:30:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.118869 -2.812568)', '2026-07-20 16:31:04', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118819 -2.812548)'), GeomFromEWKT('SRID=4674;POINT (-40.118869 -2.812568)'))) / (select extract(epoch from '2026-07-20 16:31:04'::timestamp) - extract(epoch from '2026-07-20 16:30:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118819 -2.812548)'), GeomFromEWKT('SRID=4674;POINT (-40.118869 -2.812568)'))) / (select extract(epoch from '2026-07-20 16:31:04'::timestamp) - extract(epoch from '2026-07-20 16:30:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.118941 -2.812598)', '2026-07-20 16:31:13', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118869 -2.812568)'), GeomFromEWKT('SRID=4674;POINT (-40.118941 -2.812598)'))) / (select extract(epoch from '2026-07-20 16:31:13'::timestamp) - extract(epoch from '2026-07-20 16:31:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118869 -2.812568)'), GeomFromEWKT('SRID=4674;POINT (-40.118941 -2.812598)'))) / (select extract(epoch from '2026-07-20 16:31:13'::timestamp) - extract(epoch from '2026-07-20 16:31:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.118981 -2.812622)', '2026-07-20 16:31:20', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118941 -2.812598)'), GeomFromEWKT('SRID=4674;POINT (-40.118981 -2.812622)'))) / (select extract(epoch from '2026-07-20 16:31:20'::timestamp) - extract(epoch from '2026-07-20 16:31:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118941 -2.812598)'), GeomFromEWKT('SRID=4674;POINT (-40.118981 -2.812622)'))) / (select extract(epoch from '2026-07-20 16:31:20'::timestamp) - extract(epoch from '2026-07-20 16:31: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'), 47632, 'SRID=4674;POINT (-40.119046 -2.812642)', '2026-07-20 16:31:29', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118981 -2.812622)'), GeomFromEWKT('SRID=4674;POINT (-40.119046 -2.812642)'))) / (select extract(epoch from '2026-07-20 16:31:29'::timestamp) - extract(epoch from '2026-07-20 16:31:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118981 -2.812622)'), GeomFromEWKT('SRID=4674;POINT (-40.119046 -2.812642)'))) / (select extract(epoch from '2026-07-20 16:31:29'::timestamp) - extract(epoch from '2026-07-20 16:31:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.119098 -2.812675)', '2026-07-20 16:31:39', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119046 -2.812642)'), GeomFromEWKT('SRID=4674;POINT (-40.119098 -2.812675)'))) / (select extract(epoch from '2026-07-20 16:31:39'::timestamp) - extract(epoch from '2026-07-20 16:31:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119046 -2.812642)'), GeomFromEWKT('SRID=4674;POINT (-40.119098 -2.812675)'))) / (select extract(epoch from '2026-07-20 16:31:39'::timestamp) - extract(epoch from '2026-07-20 16:31: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'), 47632, 'SRID=4674;POINT (-40.119152 -2.812701)', '2026-07-20 16:31:48', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119098 -2.812675)'), GeomFromEWKT('SRID=4674;POINT (-40.119152 -2.812701)'))) / (select extract(epoch from '2026-07-20 16:31:48'::timestamp) - extract(epoch from '2026-07-20 16:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119098 -2.812675)'), GeomFromEWKT('SRID=4674;POINT (-40.119152 -2.812701)'))) / (select extract(epoch from '2026-07-20 16:31:48'::timestamp) - extract(epoch from '2026-07-20 16:31: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'), 47632, 'SRID=4674;POINT (-40.119212 -2.812718)', '2026-07-20 16:31:57', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119152 -2.812701)'), GeomFromEWKT('SRID=4674;POINT (-40.119212 -2.812718)'))) / (select extract(epoch from '2026-07-20 16:31:57'::timestamp) - extract(epoch from '2026-07-20 16:31:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119152 -2.812701)'), GeomFromEWKT('SRID=4674;POINT (-40.119212 -2.812718)'))) / (select extract(epoch from '2026-07-20 16:31:57'::timestamp) - extract(epoch from '2026-07-20 16:31:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.119264 -2.812728)', '2026-07-20 16:32:05', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119212 -2.812718)'), GeomFromEWKT('SRID=4674;POINT (-40.119264 -2.812728)'))) / (select extract(epoch from '2026-07-20 16:32:05'::timestamp) - extract(epoch from '2026-07-20 16:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119212 -2.812718)'), GeomFromEWKT('SRID=4674;POINT (-40.119264 -2.812728)'))) / (select extract(epoch from '2026-07-20 16:32:05'::timestamp) - extract(epoch from '2026-07-20 16:31:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.119361 -2.812743)', '2026-07-20 16:32:16', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119264 -2.812728)'), GeomFromEWKT('SRID=4674;POINT (-40.119361 -2.812743)'))) / (select extract(epoch from '2026-07-20 16:32:16'::timestamp) - extract(epoch from '2026-07-20 16:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119264 -2.812728)'), GeomFromEWKT('SRID=4674;POINT (-40.119361 -2.812743)'))) / (select extract(epoch from '2026-07-20 16:32:16'::timestamp) - extract(epoch from '2026-07-20 16:32:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.119413 -2.812756)', '2026-07-20 16:32:24', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119361 -2.812743)'), GeomFromEWKT('SRID=4674;POINT (-40.119413 -2.812756)'))) / (select extract(epoch from '2026-07-20 16:32:24'::timestamp) - extract(epoch from '2026-07-20 16:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119361 -2.812743)'), GeomFromEWKT('SRID=4674;POINT (-40.119413 -2.812756)'))) / (select extract(epoch from '2026-07-20 16:32:24'::timestamp) - extract(epoch from '2026-07-20 16:32: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'), 47632, 'SRID=4674;POINT (-40.119487 -2.812786)', '2026-07-20 16:32:33', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119413 -2.812756)'), GeomFromEWKT('SRID=4674;POINT (-40.119487 -2.812786)'))) / (select extract(epoch from '2026-07-20 16:32:33'::timestamp) - extract(epoch from '2026-07-20 16:32:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119413 -2.812756)'), GeomFromEWKT('SRID=4674;POINT (-40.119487 -2.812786)'))) / (select extract(epoch from '2026-07-20 16:32:33'::timestamp) - extract(epoch from '2026-07-20 16:32: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'), 47632, 'SRID=4674;POINT (-40.119558 -2.812816)', '2026-07-20 16:32:43', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119487 -2.812786)'), GeomFromEWKT('SRID=4674;POINT (-40.119558 -2.812816)'))) / (select extract(epoch from '2026-07-20 16:32:43'::timestamp) - extract(epoch from '2026-07-20 16:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119487 -2.812786)'), GeomFromEWKT('SRID=4674;POINT (-40.119558 -2.812816)'))) / (select extract(epoch from '2026-07-20 16:32:43'::timestamp) - extract(epoch from '2026-07-20 16:32:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.119603 -2.812823)', '2026-07-20 16:32:52', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119558 -2.812816)'), GeomFromEWKT('SRID=4674;POINT (-40.119603 -2.812823)'))) / (select extract(epoch from '2026-07-20 16:32:52'::timestamp) - extract(epoch from '2026-07-20 16:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119558 -2.812816)'), GeomFromEWKT('SRID=4674;POINT (-40.119603 -2.812823)'))) / (select extract(epoch from '2026-07-20 16:32:52'::timestamp) - extract(epoch from '2026-07-20 16:32:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.119666 -2.812822)', '2026-07-20 16:33:00', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119603 -2.812823)'), GeomFromEWKT('SRID=4674;POINT (-40.119666 -2.812822)'))) / (select extract(epoch from '2026-07-20 16:33:00'::timestamp) - extract(epoch from '2026-07-20 16:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119603 -2.812823)'), GeomFromEWKT('SRID=4674;POINT (-40.119666 -2.812822)'))) / (select extract(epoch from '2026-07-20 16:33:00'::timestamp) - extract(epoch from '2026-07-20 16:32:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
