BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47854, 'SRID=4674;POINT (-39.552530134097 -3.0574689991772)', '2026-07-23 21:00:01', 2.3999938964844, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47854, 'SRID=4674;POINT (-39.552566092461 -3.0575798917562)', '2026-07-23 21:00:06', 2.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.552530134097 -3.0574689991772)'), GeomFromEWKT('SRID=4674;POINT (-39.552566092461 -3.0575798917562)'))) / (select extract(epoch from '2026-07-23 21:00:06'::timestamp) - extract(epoch from '2026-07-23 21:00:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.552530134097 -3.0574689991772)'), GeomFromEWKT('SRID=4674;POINT (-39.552566092461 -3.0575798917562)'))) / (select extract(epoch from '2026-07-23 21:00:06'::timestamp) - extract(epoch from '2026-07-23 21:00: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'), 47854, 'SRID=4674;POINT (-39.552618227899 -3.0577232223004)', '2026-07-23 21:00:12', 1.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.552566092461 -3.0575798917562)'), GeomFromEWKT('SRID=4674;POINT (-39.552618227899 -3.0577232223004)'))) / (select extract(epoch from '2026-07-23 21:00:12'::timestamp) - extract(epoch from '2026-07-23 21:00:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.552566092461 -3.0575798917562)'), GeomFromEWKT('SRID=4674;POINT (-39.552618227899 -3.0577232223004)'))) / (select extract(epoch from '2026-07-23 21:00:12'::timestamp) - extract(epoch from '2026-07-23 21:00: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'), 47854, 'SRID=4674;POINT (-39.552688049152 -3.0578417424113)', '2026-07-23 21:00:18', 1.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.552618227899 -3.0577232223004)'), GeomFromEWKT('SRID=4674;POINT (-39.552688049152 -3.0578417424113)'))) / (select extract(epoch from '2026-07-23 21:00:18'::timestamp) - extract(epoch from '2026-07-23 21:00:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.552618227899 -3.0577232223004)'), GeomFromEWKT('SRID=4674;POINT (-39.552688049152 -3.0578417424113)'))) / (select extract(epoch from '2026-07-23 21:00:18'::timestamp) - extract(epoch from '2026-07-23 21:00: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'), 47854, 'SRID=4674;POINT (-39.552765078843 -3.0579606816173)', '2026-07-23 21:00:23', 1.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.552688049152 -3.0578417424113)'), GeomFromEWKT('SRID=4674;POINT (-39.552765078843 -3.0579606816173)'))) / (select extract(epoch from '2026-07-23 21:00:23'::timestamp) - extract(epoch from '2026-07-23 21:00:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.552688049152 -3.0578417424113)'), GeomFromEWKT('SRID=4674;POINT (-39.552765078843 -3.0579606816173)'))) / (select extract(epoch from '2026-07-23 21:00:23'::timestamp) - extract(epoch from '2026-07-23 21:00: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'), 47854, 'SRID=4674;POINT (-39.552807323635 -3.0580692272633)', '2026-07-23 21:00:28', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.552765078843 -3.0579606816173)'), GeomFromEWKT('SRID=4674;POINT (-39.552807323635 -3.0580692272633)'))) / (select extract(epoch from '2026-07-23 21:00:28'::timestamp) - extract(epoch from '2026-07-23 21:00:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.552765078843 -3.0579606816173)'), GeomFromEWKT('SRID=4674;POINT (-39.552807323635 -3.0580692272633)'))) / (select extract(epoch from '2026-07-23 21:00:28'::timestamp) - extract(epoch from '2026-07-23 21:00: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'), 47854, 'SRID=4674;POINT (-39.552844371647 -3.0582002364099)', '2026-07-23 21:00:33', 0.39999389648438, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.552807323635 -3.0580692272633)'), GeomFromEWKT('SRID=4674;POINT (-39.552844371647 -3.0582002364099)'))) / (select extract(epoch from '2026-07-23 21:00:33'::timestamp) - extract(epoch from '2026-07-23 21:00:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.552807323635 -3.0580692272633)'), GeomFromEWKT('SRID=4674;POINT (-39.552844371647 -3.0582002364099)'))) / (select extract(epoch from '2026-07-23 21:00:33'::timestamp) - extract(epoch from '2026-07-23 21: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'), 47854, 'SRID=4674;POINT (-39.552903631702 -3.0583401303738)', '2026-07-23 21:00:39', 0.20001220703125, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.552844371647 -3.0582002364099)'), GeomFromEWKT('SRID=4674;POINT (-39.552903631702 -3.0583401303738)'))) / (select extract(epoch from '2026-07-23 21:00:39'::timestamp) - extract(epoch from '2026-07-23 21:00:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.552844371647 -3.0582002364099)'), GeomFromEWKT('SRID=4674;POINT (-39.552903631702 -3.0583401303738)'))) / (select extract(epoch from '2026-07-23 21:00:39'::timestamp) - extract(epoch from '2026-07-23 21:00: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'), 47854, 'SRID=4674;POINT (-39.552991474047 -3.0585087742656)', '2026-07-23 21:00:47', -0.39999389648438, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.552903631702 -3.0583401303738)'), GeomFromEWKT('SRID=4674;POINT (-39.552991474047 -3.0585087742656)'))) / (select extract(epoch from '2026-07-23 21:00:47'::timestamp) - extract(epoch from '2026-07-23 21:00:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.552903631702 -3.0583401303738)'), GeomFromEWKT('SRID=4674;POINT (-39.552991474047 -3.0585087742656)'))) / (select extract(epoch from '2026-07-23 21:00:47'::timestamp) - extract(epoch from '2026-07-23 21:00: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'), 47854, 'SRID=4674;POINT (-39.553091386333 -3.0586696229875)', '2026-07-23 21:00:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.552991474047 -3.0585087742656)'), GeomFromEWKT('SRID=4674;POINT (-39.553091386333 -3.0586696229875)'))) / (select extract(epoch from '2026-07-23 21:00:54'::timestamp) - extract(epoch from '2026-07-23 21:00:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.552991474047 -3.0585087742656)'), GeomFromEWKT('SRID=4674;POINT (-39.553091386333 -3.0586696229875)'))) / (select extract(epoch from '2026-07-23 21:00:54'::timestamp) - extract(epoch from '2026-07-23 21: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'), 47854, 'SRID=4674;POINT (-39.553172355518 -3.0588145460933)', '2026-07-23 21:01:01', -0.79998779296875, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.553091386333 -3.0586696229875)'), GeomFromEWKT('SRID=4674;POINT (-39.553172355518 -3.0588145460933)'))) / (select extract(epoch from '2026-07-23 21:01:01'::timestamp) - extract(epoch from '2026-07-23 21:00:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.553091386333 -3.0586696229875)'), GeomFromEWKT('SRID=4674;POINT (-39.553172355518 -3.0588145460933)'))) / (select extract(epoch from '2026-07-23 21:01:01'::timestamp) - extract(epoch from '2026-07-23 21:00: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'), 47854, 'SRID=4674;POINT (-39.553237231448 -3.0589739698917)', '2026-07-23 21:01:08', -1.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.553172355518 -3.0588145460933)'), GeomFromEWKT('SRID=4674;POINT (-39.553237231448 -3.0589739698917)'))) / (select extract(epoch from '2026-07-23 21:01:08'::timestamp) - extract(epoch from '2026-07-23 21:01:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.553172355518 -3.0588145460933)'), GeomFromEWKT('SRID=4674;POINT (-39.553237231448 -3.0589739698917)'))) / (select extract(epoch from '2026-07-23 21:01:08'::timestamp) - extract(epoch from '2026-07-23 21:01:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47854, 'SRID=4674;POINT (-39.553318284452 -3.0591073259711)', '2026-07-23 21:01:15', -2.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.553237231448 -3.0589739698917)'), GeomFromEWKT('SRID=4674;POINT (-39.553318284452 -3.0591073259711)'))) / (select extract(epoch from '2026-07-23 21:01:15'::timestamp) - extract(epoch from '2026-07-23 21:01:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.553237231448 -3.0589739698917)'), GeomFromEWKT('SRID=4674;POINT (-39.553318284452 -3.0591073259711)'))) / (select extract(epoch from '2026-07-23 21:01:15'::timestamp) - extract(epoch from '2026-07-23 21:01:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47854, 'SRID=4674;POINT (-39.553379723802 -3.0592643190175)', '2026-07-23 21:01:22', -1.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.553318284452 -3.0591073259711)'), GeomFromEWKT('SRID=4674;POINT (-39.553379723802 -3.0592643190175)'))) / (select extract(epoch from '2026-07-23 21:01:22'::timestamp) - extract(epoch from '2026-07-23 21:01:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.553318284452 -3.0591073259711)'), GeomFromEWKT('SRID=4674;POINT (-39.553379723802 -3.0592643190175)'))) / (select extract(epoch from '2026-07-23 21:01:22'::timestamp) - extract(epoch from '2026-07-23 21:01: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'), 47854, 'SRID=4674;POINT (-39.553423058242 -3.0594021175057)', '2026-07-23 21:01:28', -0.79998779296875, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.553379723802 -3.0592643190175)'), GeomFromEWKT('SRID=4674;POINT (-39.553423058242 -3.0594021175057)'))) / (select extract(epoch from '2026-07-23 21:01:28'::timestamp) - extract(epoch from '2026-07-23 21:01:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.553379723802 -3.0592643190175)'), GeomFromEWKT('SRID=4674;POINT (-39.553423058242 -3.0594021175057)'))) / (select extract(epoch from '2026-07-23 21:01:28'::timestamp) - extract(epoch from '2026-07-23 21:01: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'), 47854, 'SRID=4674;POINT (-39.553492795676 -3.059556260705)', '2026-07-23 21:01:35', -0.60000610351562, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.553423058242 -3.0594021175057)'), GeomFromEWKT('SRID=4674;POINT (-39.553492795676 -3.059556260705)'))) / (select extract(epoch from '2026-07-23 21:01:35'::timestamp) - extract(epoch from '2026-07-23 21:01:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.553423058242 -3.0594021175057)'), GeomFromEWKT('SRID=4674;POINT (-39.553492795676 -3.059556260705)'))) / (select extract(epoch from '2026-07-23 21:01:35'::timestamp) - extract(epoch from '2026-07-23 21: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'), 47854, 'SRID=4674;POINT (-39.553559767082 -3.0596985854208)', '2026-07-23 21:01:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.553492795676 -3.059556260705)'), GeomFromEWKT('SRID=4674;POINT (-39.553559767082 -3.0596985854208)'))) / (select extract(epoch from '2026-07-23 21:01:41'::timestamp) - extract(epoch from '2026-07-23 21:01:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.553492795676 -3.059556260705)'), GeomFromEWKT('SRID=4674;POINT (-39.553559767082 -3.0596985854208)'))) / (select extract(epoch from '2026-07-23 21:01:41'::timestamp) - extract(epoch from '2026-07-23 21:01: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'), 47854, 'SRID=4674;POINT (-39.553666552529 -3.0598463583738)', '2026-07-23 21:01:48', 0.60000610351562, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.553559767082 -3.0596985854208)'), GeomFromEWKT('SRID=4674;POINT (-39.553666552529 -3.0598463583738)'))) / (select extract(epoch from '2026-07-23 21:01:48'::timestamp) - extract(epoch from '2026-07-23 21:01:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.553559767082 -3.0596985854208)'), GeomFromEWKT('SRID=4674;POINT (-39.553666552529 -3.0598463583738)'))) / (select extract(epoch from '2026-07-23 21:01:48'::timestamp) - extract(epoch from '2026-07-23 21:01: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'), 47854, 'SRID=4674;POINT (-39.553718855605 -3.0599823966622)', '2026-07-23 21:01:54', 1.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.553666552529 -3.0598463583738)'), GeomFromEWKT('SRID=4674;POINT (-39.553718855605 -3.0599823966622)'))) / (select extract(epoch from '2026-07-23 21:01:54'::timestamp) - extract(epoch from '2026-07-23 21:01:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.553666552529 -3.0598463583738)'), GeomFromEWKT('SRID=4674;POINT (-39.553718855605 -3.0599823966622)'))) / (select extract(epoch from '2026-07-23 21:01:54'::timestamp) - extract(epoch from '2026-07-23 21:01: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'), 47854, 'SRID=4674;POINT (-39.553771996871 -3.0601079575717)', '2026-07-23 21:02:00', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.553718855605 -3.0599823966622)'), GeomFromEWKT('SRID=4674;POINT (-39.553771996871 -3.0601079575717)'))) / (select extract(epoch from '2026-07-23 21:02:00'::timestamp) - extract(epoch from '2026-07-23 21:01:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.553718855605 -3.0599823966622)'), GeomFromEWKT('SRID=4674;POINT (-39.553771996871 -3.0601079575717)'))) / (select extract(epoch from '2026-07-23 21:02:00'::timestamp) - extract(epoch from '2026-07-23 21:01: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'), 47854, 'SRID=4674;POINT (-39.553840896115 -3.0602679681033)', '2026-07-23 21:02:07', 0.39999389648438, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.553771996871 -3.0601079575717)'), GeomFromEWKT('SRID=4674;POINT (-39.553840896115 -3.0602679681033)'))) / (select extract(epoch from '2026-07-23 21:02:07'::timestamp) - extract(epoch from '2026-07-23 21:02:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.553771996871 -3.0601079575717)'), GeomFromEWKT('SRID=4674;POINT (-39.553840896115 -3.0602679681033)'))) / (select extract(epoch from '2026-07-23 21:02:07'::timestamp) - extract(epoch from '2026-07-23 21: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'), 47854, 'SRID=4674;POINT (-39.553908957168 -3.0603899247944)', '2026-07-23 21:02:13', -0.20001220703125, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.553840896115 -3.0602679681033)'), GeomFromEWKT('SRID=4674;POINT (-39.553908957168 -3.0603899247944)'))) / (select extract(epoch from '2026-07-23 21:02:13'::timestamp) - extract(epoch from '2026-07-23 21:02:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.553840896115 -3.0602679681033)'), GeomFromEWKT('SRID=4674;POINT (-39.553908957168 -3.0603899247944)'))) / (select extract(epoch from '2026-07-23 21:02:13'::timestamp) - extract(epoch from '2026-07-23 21:02: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'), 47854, 'SRID=4674;POINT (-39.553968636319 -3.0605033319443)', '2026-07-23 21:02:18', -0.20001220703125, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.553908957168 -3.0603899247944)'), GeomFromEWKT('SRID=4674;POINT (-39.553968636319 -3.0605033319443)'))) / (select extract(epoch from '2026-07-23 21:02:18'::timestamp) - extract(epoch from '2026-07-23 21:02:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.553908957168 -3.0603899247944)'), GeomFromEWKT('SRID=4674;POINT (-39.553968636319 -3.0605033319443)'))) / (select extract(epoch from '2026-07-23 21:02:18'::timestamp) - extract(epoch from '2026-07-23 21:02:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47854, 'SRID=4674;POINT (-39.554048432037 -3.060631994158)', '2026-07-23 21:02:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.553968636319 -3.0605033319443)'), GeomFromEWKT('SRID=4674;POINT (-39.554048432037 -3.060631994158)'))) / (select extract(epoch from '2026-07-23 21:02:24'::timestamp) - extract(epoch from '2026-07-23 21:02:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.553968636319 -3.0605033319443)'), GeomFromEWKT('SRID=4674;POINT (-39.554048432037 -3.060631994158)'))) / (select extract(epoch from '2026-07-23 21:02:24'::timestamp) - extract(epoch from '2026-07-23 21:02: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'), 47854, 'SRID=4674;POINT (-39.554116493091 -3.0607247818261)', '2026-07-23 21:02:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.554048432037 -3.060631994158)'), GeomFromEWKT('SRID=4674;POINT (-39.554116493091 -3.0607247818261)'))) / (select extract(epoch from '2026-07-23 21:02:29'::timestamp) - extract(epoch from '2026-07-23 21:02:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.554048432037 -3.060631994158)'), GeomFromEWKT('SRID=4674;POINT (-39.554116493091 -3.0607247818261)'))) / (select extract(epoch from '2026-07-23 21:02:29'::timestamp) - extract(epoch from '2026-07-23 21:02:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47854, 'SRID=4674;POINT (-39.55418933183 -3.0608505941927)', '2026-07-23 21:02:35', 0.39999389648438, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.554116493091 -3.0607247818261)'), GeomFromEWKT('SRID=4674;POINT (-39.55418933183 -3.0608505941927)'))) / (select extract(epoch from '2026-07-23 21:02:35'::timestamp) - extract(epoch from '2026-07-23 21:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.554116493091 -3.0607247818261)'), GeomFromEWKT('SRID=4674;POINT (-39.55418933183 -3.0608505941927)'))) / (select extract(epoch from '2026-07-23 21:02:35'::timestamp) - extract(epoch from '2026-07-23 21: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'), 47854, 'SRID=4674;POINT (-39.554254375398 -3.0609847884625)', '2026-07-23 21:02:41', 0.39999389648438, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55418933183 -3.0608505941927)'), GeomFromEWKT('SRID=4674;POINT (-39.554254375398 -3.0609847884625)'))) / (select extract(epoch from '2026-07-23 21:02:41'::timestamp) - extract(epoch from '2026-07-23 21:02:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55418933183 -3.0608505941927)'), GeomFromEWKT('SRID=4674;POINT (-39.554254375398 -3.0609847884625)'))) / (select extract(epoch from '2026-07-23 21:02:41'::timestamp) - extract(epoch from '2026-07-23 21:02:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47854, 'SRID=4674;POINT (-39.554311288521 -3.0611104331911)', '2026-07-23 21:02:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.554254375398 -3.0609847884625)'), GeomFromEWKT('SRID=4674;POINT (-39.554311288521 -3.0611104331911)'))) / (select extract(epoch from '2026-07-23 21:02:47'::timestamp) - extract(epoch from '2026-07-23 21:02:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.554254375398 -3.0609847884625)'), GeomFromEWKT('SRID=4674;POINT (-39.554311288521 -3.0611104331911)'))) / (select extract(epoch from '2026-07-23 21:02:47'::timestamp) - extract(epoch from '2026-07-23 21:02:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47854, 'SRID=4674;POINT (-39.554369458929 -3.0612420290709)', '2026-07-23 21:02:53', 0.39999389648438, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.554311288521 -3.0611104331911)'), GeomFromEWKT('SRID=4674;POINT (-39.554369458929 -3.0612420290709)'))) / (select extract(epoch from '2026-07-23 21:02:53'::timestamp) - extract(epoch from '2026-07-23 21:02:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.554311288521 -3.0611104331911)'), GeomFromEWKT('SRID=4674;POINT (-39.554369458929 -3.0612420290709)'))) / (select extract(epoch from '2026-07-23 21:02:53'::timestamp) - extract(epoch from '2026-07-23 21:02: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'), 47854, 'SRID=4674;POINT (-39.554411452264 -3.0613883771002)', '2026-07-23 21:02:59', 0.20001220703125, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.554369458929 -3.0612420290709)'), GeomFromEWKT('SRID=4674;POINT (-39.554411452264 -3.0613883771002)'))) / (select extract(epoch from '2026-07-23 21:02:59'::timestamp) - extract(epoch from '2026-07-23 21:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.554369458929 -3.0612420290709)'), GeomFromEWKT('SRID=4674;POINT (-39.554411452264 -3.0613883771002)'))) / (select extract(epoch from '2026-07-23 21:02:59'::timestamp) - extract(epoch from '2026-07-23 21: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'), 47854, 'SRID=4674;POINT (-39.554463839158 -3.0615195538849)', '2026-07-23 21:03:05', -0.79998779296875, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.554411452264 -3.0613883771002)'), GeomFromEWKT('SRID=4674;POINT (-39.554463839158 -3.0615195538849)'))) / (select extract(epoch from '2026-07-23 21:03:05'::timestamp) - extract(epoch from '2026-07-23 21:02:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.554411452264 -3.0613883771002)'), GeomFromEWKT('SRID=4674;POINT (-39.554463839158 -3.0615195538849)'))) / (select extract(epoch from '2026-07-23 21:03:05'::timestamp) - extract(epoch from '2026-07-23 21:02: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'), 47854, 'SRID=4674;POINT (-39.554553860798 -3.0616424325854)', '2026-07-23 21:03:11', -0.39999389648438, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.554463839158 -3.0615195538849)'), GeomFromEWKT('SRID=4674;POINT (-39.554553860798 -3.0616424325854)'))) / (select extract(epoch from '2026-07-23 21:03:11'::timestamp) - extract(epoch from '2026-07-23 21:03:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.554463839158 -3.0615195538849)'), GeomFromEWKT('SRID=4674;POINT (-39.554553860798 -3.0616424325854)'))) / (select extract(epoch from '2026-07-23 21:03:11'::timestamp) - extract(epoch from '2026-07-23 21: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'), 47854, 'SRID=4674;POINT (-39.554588478059 -3.0617385730147)', '2026-07-23 21:03:16', -0.20001220703125, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.554553860798 -3.0616424325854)'), GeomFromEWKT('SRID=4674;POINT (-39.554588478059 -3.0617385730147)'))) / (select extract(epoch from '2026-07-23 21:03:16'::timestamp) - extract(epoch from '2026-07-23 21:03:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.554553860798 -3.0616424325854)'), GeomFromEWKT('SRID=4674;POINT (-39.554588478059 -3.0617385730147)'))) / (select extract(epoch from '2026-07-23 21:03:16'::timestamp) - extract(epoch from '2026-07-23 21: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'), 47854, 'SRID=4674;POINT (-39.554599374533 -3.0618536565453)', '2026-07-23 21:03:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.554588478059 -3.0617385730147)'), GeomFromEWKT('SRID=4674;POINT (-39.554599374533 -3.0618536565453)'))) / (select extract(epoch from '2026-07-23 21:03:21'::timestamp) - extract(epoch from '2026-07-23 21:03:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.554588478059 -3.0617385730147)'), GeomFromEWKT('SRID=4674;POINT (-39.554599374533 -3.0618536565453)'))) / (select extract(epoch from '2026-07-23 21:03:21'::timestamp) - extract(epoch from '2026-07-23 21:03: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'), 47854, 'SRID=4674;POINT (-39.554614126682 -3.0619742721319)', '2026-07-23 21:03:27', 1.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.554599374533 -3.0618536565453)'), GeomFromEWKT('SRID=4674;POINT (-39.554614126682 -3.0619742721319)'))) / (select extract(epoch from '2026-07-23 21:03:27'::timestamp) - extract(epoch from '2026-07-23 21:03:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.554599374533 -3.0618536565453)'), GeomFromEWKT('SRID=4674;POINT (-39.554614126682 -3.0619742721319)'))) / (select extract(epoch from '2026-07-23 21:03:27'::timestamp) - extract(epoch from '2026-07-23 21:03:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47854, 'SRID=4674;POINT (-39.554615886882 -3.0620577558875)', '2026-07-23 21:03:32', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.554614126682 -3.0619742721319)'), GeomFromEWKT('SRID=4674;POINT (-39.554615886882 -3.0620577558875)'))) / (select extract(epoch from '2026-07-23 21:03:32'::timestamp) - extract(epoch from '2026-07-23 21:03:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.554614126682 -3.0619742721319)'), GeomFromEWKT('SRID=4674;POINT (-39.554615886882 -3.0620577558875)'))) / (select extract(epoch from '2026-07-23 21:03:32'::timestamp) - extract(epoch from '2026-07-23 21:03: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'), 47854, 'SRID=4674;POINT (-39.554607337341 -3.0621537286788)', '2026-07-23 21:03:38', 2.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.554615886882 -3.0620577558875)'), GeomFromEWKT('SRID=4674;POINT (-39.554607337341 -3.0621537286788)'))) / (select extract(epoch from '2026-07-23 21:03:38'::timestamp) - extract(epoch from '2026-07-23 21:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.554615886882 -3.0620577558875)'), GeomFromEWKT('SRID=4674;POINT (-39.554607337341 -3.0621537286788)'))) / (select extract(epoch from '2026-07-23 21:03:38'::timestamp) - extract(epoch from '2026-07-23 21: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'), 47854, 'SRID=4674;POINT (-39.554616389796 -3.0622445885092)', '2026-07-23 21:03:44', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.554607337341 -3.0621537286788)'), GeomFromEWKT('SRID=4674;POINT (-39.554616389796 -3.0622445885092)'))) / (select extract(epoch from '2026-07-23 21:03:44'::timestamp) - extract(epoch from '2026-07-23 21:03:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.554607337341 -3.0621537286788)'), GeomFromEWKT('SRID=4674;POINT (-39.554616389796 -3.0622445885092)'))) / (select extract(epoch from '2026-07-23 21:03:44'::timestamp) - extract(epoch from '2026-07-23 21: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'), 47854, 'SRID=4674;POINT (-39.554664418101 -3.0623571574688)', '2026-07-23 21:03:49', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.554616389796 -3.0622445885092)'), GeomFromEWKT('SRID=4674;POINT (-39.554664418101 -3.0623571574688)'))) / (select extract(epoch from '2026-07-23 21:03:49'::timestamp) - extract(epoch from '2026-07-23 21:03:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.554616389796 -3.0622445885092)'), GeomFromEWKT('SRID=4674;POINT (-39.554664418101 -3.0623571574688)'))) / (select extract(epoch from '2026-07-23 21:03:49'::timestamp) - extract(epoch from '2026-07-23 21:03: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'), 47854, 'SRID=4674;POINT (-39.554720995948 -3.0624735821038)', '2026-07-23 21:03:54', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.554664418101 -3.0623571574688)'), GeomFromEWKT('SRID=4674;POINT (-39.554720995948 -3.0624735821038)'))) / (select extract(epoch from '2026-07-23 21:03:54'::timestamp) - extract(epoch from '2026-07-23 21:03:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.554664418101 -3.0623571574688)'), GeomFromEWKT('SRID=4674;POINT (-39.554720995948 -3.0624735821038)'))) / (select extract(epoch from '2026-07-23 21:03:54'::timestamp) - extract(epoch from '2026-07-23 21:03: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'), 47854, 'SRID=4674;POINT (-39.554789559916 -3.0626122187823)', '2026-07-23 21:04:00', 2.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.554720995948 -3.0624735821038)'), GeomFromEWKT('SRID=4674;POINT (-39.554789559916 -3.0626122187823)'))) / (select extract(epoch from '2026-07-23 21:04:00'::timestamp) - extract(epoch from '2026-07-23 21:03:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.554720995948 -3.0624735821038)'), GeomFromEWKT('SRID=4674;POINT (-39.554789559916 -3.0626122187823)'))) / (select extract(epoch from '2026-07-23 21:04:00'::timestamp) - extract(epoch from '2026-07-23 21:03: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'), 47854, 'SRID=4674;POINT (-39.554863739759 -3.0627371929586)', '2026-07-23 21:04:06', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.554789559916 -3.0626122187823)'), GeomFromEWKT('SRID=4674;POINT (-39.554863739759 -3.0627371929586)'))) / (select extract(epoch from '2026-07-23 21:04:06'::timestamp) - extract(epoch from '2026-07-23 21:04:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.554789559916 -3.0626122187823)'), GeomFromEWKT('SRID=4674;POINT (-39.554863739759 -3.0627371929586)'))) / (select extract(epoch from '2026-07-23 21:04:06'::timestamp) - extract(epoch from '2026-07-23 21:04:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47854, 'SRID=4674;POINT (-39.554949570447 -3.0628832895309)', '2026-07-23 21:04:13', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.554863739759 -3.0627371929586)'), GeomFromEWKT('SRID=4674;POINT (-39.554949570447 -3.0628832895309)'))) / (select extract(epoch from '2026-07-23 21:04:13'::timestamp) - extract(epoch from '2026-07-23 21:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.554863739759 -3.0627371929586)'), GeomFromEWKT('SRID=4674;POINT (-39.554949570447 -3.0628832895309)'))) / (select extract(epoch from '2026-07-23 21:04:13'::timestamp) - extract(epoch from '2026-07-23 21: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'), 47854, 'SRID=4674;POINT (-39.555024420843 -3.0630142986774)', '2026-07-23 21:04:19', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.554949570447 -3.0628832895309)'), GeomFromEWKT('SRID=4674;POINT (-39.555024420843 -3.0630142986774)'))) / (select extract(epoch from '2026-07-23 21:04:19'::timestamp) - extract(epoch from '2026-07-23 21:04:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.554949570447 -3.0628832895309)'), GeomFromEWKT('SRID=4674;POINT (-39.555024420843 -3.0630142986774)'))) / (select extract(epoch from '2026-07-23 21:04:19'::timestamp) - extract(epoch from '2026-07-23 21:04: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'), 47854, 'SRID=4674;POINT (-39.555100528523 -3.063198197633)', '2026-07-23 21:04:27', 6.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.555024420843 -3.0630142986774)'), GeomFromEWKT('SRID=4674;POINT (-39.555100528523 -3.063198197633)'))) / (select extract(epoch from '2026-07-23 21:04:27'::timestamp) - extract(epoch from '2026-07-23 21:04:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.555024420843 -3.0630142986774)'), GeomFromEWKT('SRID=4674;POINT (-39.555100528523 -3.063198197633)'))) / (select extract(epoch from '2026-07-23 21:04:27'::timestamp) - extract(epoch from '2026-07-23 21:04: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'), 47854, 'SRID=4674;POINT (-39.555181665346 -3.0633279494941)', '2026-07-23 21:04:33', 6.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.555100528523 -3.063198197633)'), GeomFromEWKT('SRID=4674;POINT (-39.555181665346 -3.0633279494941)'))) / (select extract(epoch from '2026-07-23 21:04:33'::timestamp) - extract(epoch from '2026-07-23 21:04:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.555100528523 -3.063198197633)'), GeomFromEWKT('SRID=4674;POINT (-39.555181665346 -3.0633279494941)'))) / (select extract(epoch from '2026-07-23 21:04:33'::timestamp) - extract(epoch from '2026-07-23 21: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'), 47854, 'SRID=4674;POINT (-39.555248720571 -3.0634583719075)', '2026-07-23 21:04:39', 6.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.555181665346 -3.0633279494941)'), GeomFromEWKT('SRID=4674;POINT (-39.555248720571 -3.0634583719075)'))) / (select extract(epoch from '2026-07-23 21:04:39'::timestamp) - extract(epoch from '2026-07-23 21:04:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.555181665346 -3.0633279494941)'), GeomFromEWKT('SRID=4674;POINT (-39.555248720571 -3.0634583719075)'))) / (select extract(epoch from '2026-07-23 21:04:39'::timestamp) - extract(epoch from '2026-07-23 21:04:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47854, 'SRID=4674;POINT (-39.555287696421 -3.0635915603489)', '2026-07-23 21:04:46', 7.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.555248720571 -3.0634583719075)'), GeomFromEWKT('SRID=4674;POINT (-39.555287696421 -3.0635915603489)'))) / (select extract(epoch from '2026-07-23 21:04:46'::timestamp) - extract(epoch from '2026-07-23 21:04:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.555248720571 -3.0634583719075)'), GeomFromEWKT('SRID=4674;POINT (-39.555287696421 -3.0635915603489)'))) / (select extract(epoch from '2026-07-23 21:04:46'::timestamp) - extract(epoch from '2026-07-23 21:04:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47854, 'SRID=4674;POINT (-39.555359026417 -3.0637037940323)', '2026-07-23 21:04:51', 7.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.555287696421 -3.0635915603489)'), GeomFromEWKT('SRID=4674;POINT (-39.555359026417 -3.0637037940323)'))) / (select extract(epoch from '2026-07-23 21:04:51'::timestamp) - extract(epoch from '2026-07-23 21:04:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.555287696421 -3.0635915603489)'), GeomFromEWKT('SRID=4674;POINT (-39.555359026417 -3.0637037940323)'))) / (select extract(epoch from '2026-07-23 21:04:51'::timestamp) - extract(epoch from '2026-07-23 21: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'), 47854, 'SRID=4674;POINT (-39.55544016324 -3.0638311989605)', '2026-07-23 21:04:57', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.555359026417 -3.0637037940323)'), GeomFromEWKT('SRID=4674;POINT (-39.55544016324 -3.0638311989605)'))) / (select extract(epoch from '2026-07-23 21:04:57'::timestamp) - extract(epoch from '2026-07-23 21:04:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.555359026417 -3.0637037940323)'), GeomFromEWKT('SRID=4674;POINT (-39.55544016324 -3.0638311989605)'))) / (select extract(epoch from '2026-07-23 21:04:57'::timestamp) - extract(epoch from '2026-07-23 21: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'), 47854, 'SRID=4674;POINT (-39.555508727208 -3.0639404989779)', '2026-07-23 21:05:02', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55544016324 -3.0638311989605)'), GeomFromEWKT('SRID=4674;POINT (-39.555508727208 -3.0639404989779)'))) / (select extract(epoch from '2026-07-23 21:05:02'::timestamp) - extract(epoch from '2026-07-23 21:04:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55544016324 -3.0638311989605)'), GeomFromEWKT('SRID=4674;POINT (-39.555508727208 -3.0639404989779)'))) / (select extract(epoch from '2026-07-23 21:05:02'::timestamp) - extract(epoch from '2026-07-23 21:04: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'), 47854, 'SRID=4674;POINT (-39.55561936833 -3.0641024373472)', '2026-07-23 21:05:09', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.555508727208 -3.0639404989779)'), GeomFromEWKT('SRID=4674;POINT (-39.55561936833 -3.0641024373472)'))) / (select extract(epoch from '2026-07-23 21:05:09'::timestamp) - extract(epoch from '2026-07-23 21:05:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.555508727208 -3.0639404989779)'), GeomFromEWKT('SRID=4674;POINT (-39.55561936833 -3.0641024373472)'))) / (select extract(epoch from '2026-07-23 21:05:09'::timestamp) - extract(epoch from '2026-07-23 21:05: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'), 47854, 'SRID=4674;POINT (-39.555670833215 -3.0642564967275)', '2026-07-23 21:05:16', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55561936833 -3.0641024373472)'), GeomFromEWKT('SRID=4674;POINT (-39.555670833215 -3.0642564967275)'))) / (select extract(epoch from '2026-07-23 21:05:16'::timestamp) - extract(epoch from '2026-07-23 21:05:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55561936833 -3.0641024373472)'), GeomFromEWKT('SRID=4674;POINT (-39.555670833215 -3.0642564967275)'))) / (select extract(epoch from '2026-07-23 21:05:16'::timestamp) - extract(epoch from '2026-07-23 21:05: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'), 47854, 'SRID=4674;POINT (-39.555720537901 -3.0643553193659)', '2026-07-23 21:05:21', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.555670833215 -3.0642564967275)'), GeomFromEWKT('SRID=4674;POINT (-39.555720537901 -3.0643553193659)'))) / (select extract(epoch from '2026-07-23 21:05:21'::timestamp) - extract(epoch from '2026-07-23 21:05:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.555670833215 -3.0642564967275)'), GeomFromEWKT('SRID=4674;POINT (-39.555720537901 -3.0643553193659)'))) / (select extract(epoch from '2026-07-23 21:05:21'::timestamp) - extract(epoch from '2026-07-23 21:05: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'), 47854, 'SRID=4674;POINT (-39.555773930624 -3.0644855741411)', '2026-07-23 21:05:27', 6.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.555720537901 -3.0643553193659)'), GeomFromEWKT('SRID=4674;POINT (-39.555773930624 -3.0644855741411)'))) / (select extract(epoch from '2026-07-23 21:05:27'::timestamp) - extract(epoch from '2026-07-23 21:05:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.555720537901 -3.0643553193659)'), GeomFromEWKT('SRID=4674;POINT (-39.555773930624 -3.0644855741411)'))) / (select extract(epoch from '2026-07-23 21:05:27'::timestamp) - extract(epoch from '2026-07-23 21: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'), 47854, 'SRID=4674;POINT (-39.555847272277 -3.0645904317498)', '2026-07-23 21:05:32', 5.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.555773930624 -3.0644855741411)'), GeomFromEWKT('SRID=4674;POINT (-39.555847272277 -3.0645904317498)'))) / (select extract(epoch from '2026-07-23 21:05:32'::timestamp) - extract(epoch from '2026-07-23 21:05:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.555773930624 -3.0644855741411)'), GeomFromEWKT('SRID=4674;POINT (-39.555847272277 -3.0645904317498)'))) / (select extract(epoch from '2026-07-23 21:05:32'::timestamp) - extract(epoch from '2026-07-23 21:05: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'), 47854, 'SRID=4674;POINT (-39.555916842073 -3.0646819621325)', '2026-07-23 21:05:37', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.555847272277 -3.0645904317498)'), GeomFromEWKT('SRID=4674;POINT (-39.555916842073 -3.0646819621325)'))) / (select extract(epoch from '2026-07-23 21:05:37'::timestamp) - extract(epoch from '2026-07-23 21:05:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.555847272277 -3.0645904317498)'), GeomFromEWKT('SRID=4674;POINT (-39.555916842073 -3.0646819621325)'))) / (select extract(epoch from '2026-07-23 21:05:37'::timestamp) - extract(epoch from '2026-07-23 21:05:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47854, 'SRID=4674;POINT (-39.556009126827 -3.0647773481905)', '2026-07-23 21:05:43', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.555916842073 -3.0646819621325)'), GeomFromEWKT('SRID=4674;POINT (-39.556009126827 -3.0647773481905)'))) / (select extract(epoch from '2026-07-23 21:05:43'::timestamp) - extract(epoch from '2026-07-23 21:05:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.555916842073 -3.0646819621325)'), GeomFromEWKT('SRID=4674;POINT (-39.556009126827 -3.0647773481905)'))) / (select extract(epoch from '2026-07-23 21:05:43'::timestamp) - extract(epoch from '2026-07-23 21:05:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47854, 'SRID=4674;POINT (-39.556086156517 -3.0648602452129)', '2026-07-23 21:05:48', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556009126827 -3.0647773481905)'), GeomFromEWKT('SRID=4674;POINT (-39.556086156517 -3.0648602452129)'))) / (select extract(epoch from '2026-07-23 21:05:48'::timestamp) - extract(epoch from '2026-07-23 21:05:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556009126827 -3.0647773481905)'), GeomFromEWKT('SRID=4674;POINT (-39.556086156517 -3.0648602452129)'))) / (select extract(epoch from '2026-07-23 21:05:48'::timestamp) - extract(epoch from '2026-07-23 21: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'), 47854, 'SRID=4674;POINT (-39.556166119874 -3.0649626720697)', '2026-07-23 21:05:54', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556086156517 -3.0648602452129)'), GeomFromEWKT('SRID=4674;POINT (-39.556166119874 -3.0649626720697)'))) / (select extract(epoch from '2026-07-23 21:05:54'::timestamp) - extract(epoch from '2026-07-23 21:05:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556086156517 -3.0648602452129)'), GeomFromEWKT('SRID=4674;POINT (-39.556166119874 -3.0649626720697)'))) / (select extract(epoch from '2026-07-23 21:05:54'::timestamp) - extract(epoch from '2026-07-23 21:05: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'), 47854, 'SRID=4674;POINT (-39.556216327474 -3.0650460720062)', '2026-07-23 21:05:58', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556166119874 -3.0649626720697)'), GeomFromEWKT('SRID=4674;POINT (-39.556216327474 -3.0650460720062)'))) / (select extract(epoch from '2026-07-23 21:05:58'::timestamp) - extract(epoch from '2026-07-23 21:05:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556166119874 -3.0649626720697)'), GeomFromEWKT('SRID=4674;POINT (-39.556216327474 -3.0650460720062)'))) / (select extract(epoch from '2026-07-23 21:05:58'::timestamp) - extract(epoch from '2026-07-23 21: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'), 47854, 'SRID=4674;POINT (-39.5562798623 -3.0651690345258)', '2026-07-23 21:06:04', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556216327474 -3.0650460720062)'), GeomFromEWKT('SRID=4674;POINT (-39.5562798623 -3.0651690345258)'))) / (select extract(epoch from '2026-07-23 21:06:04'::timestamp) - extract(epoch from '2026-07-23 21:05:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556216327474 -3.0650460720062)'), GeomFromEWKT('SRID=4674;POINT (-39.5562798623 -3.0651690345258)'))) / (select extract(epoch from '2026-07-23 21:06:04'::timestamp) - extract(epoch from '2026-07-23 21:05: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'), 47854, 'SRID=4674;POINT (-39.556329566985 -3.0652729701251)', '2026-07-23 21:06:09', 2.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5562798623 -3.0651690345258)'), GeomFromEWKT('SRID=4674;POINT (-39.556329566985 -3.0652729701251)'))) / (select extract(epoch from '2026-07-23 21:06:09'::timestamp) - extract(epoch from '2026-07-23 21:06:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5562798623 -3.0651690345258)'), GeomFromEWKT('SRID=4674;POINT (-39.556329566985 -3.0652729701251)'))) / (select extract(epoch from '2026-07-23 21:06:09'::timestamp) - extract(epoch from '2026-07-23 21:06:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47854, 'SRID=4674;POINT (-39.556420426816 -3.0653975252062)', '2026-07-23 21:06:15', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556329566985 -3.0652729701251)'), GeomFromEWKT('SRID=4674;POINT (-39.556420426816 -3.0653975252062)'))) / (select extract(epoch from '2026-07-23 21:06:15'::timestamp) - extract(epoch from '2026-07-23 21:06:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556329566985 -3.0652729701251)'), GeomFromEWKT('SRID=4674;POINT (-39.556420426816 -3.0653975252062)'))) / (select extract(epoch from '2026-07-23 21:06:15'::timestamp) - extract(epoch from '2026-07-23 21:06:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47854, 'SRID=4674;POINT (-39.556522434577 -3.0655314680189)', '2026-07-23 21:06:22', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556420426816 -3.0653975252062)'), GeomFromEWKT('SRID=4674;POINT (-39.556522434577 -3.0655314680189)'))) / (select extract(epoch from '2026-07-23 21:06:22'::timestamp) - extract(epoch from '2026-07-23 21:06:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556420426816 -3.0653975252062)'), GeomFromEWKT('SRID=4674;POINT (-39.556522434577 -3.0655314680189)'))) / (select extract(epoch from '2026-07-23 21:06:22'::timestamp) - extract(epoch from '2026-07-23 21:06: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'), 47854, 'SRID=4674;POINT (-39.556603152305 -3.0656258482486)', '2026-07-23 21:06:27', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556522434577 -3.0655314680189)'), GeomFromEWKT('SRID=4674;POINT (-39.556603152305 -3.0656258482486)'))) / (select extract(epoch from '2026-07-23 21:06:27'::timestamp) - extract(epoch from '2026-07-23 21:06:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556522434577 -3.0655314680189)'), GeomFromEWKT('SRID=4674;POINT (-39.556603152305 -3.0656258482486)'))) / (select extract(epoch from '2026-07-23 21:06:27'::timestamp) - extract(epoch from '2026-07-23 21:06:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47854, 'SRID=4674;POINT (-39.556691749021 -3.0657001957297)', '2026-07-23 21:06:32', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556603152305 -3.0656258482486)'), GeomFromEWKT('SRID=4674;POINT (-39.556691749021 -3.0657001957297)'))) / (select extract(epoch from '2026-07-23 21:06:32'::timestamp) - extract(epoch from '2026-07-23 21:06:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556603152305 -3.0656258482486)'), GeomFromEWKT('SRID=4674;POINT (-39.556691749021 -3.0657001957297)'))) / (select extract(epoch from '2026-07-23 21:06:32'::timestamp) - extract(epoch from '2026-07-23 21:06: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'), 47854, 'SRID=4674;POINT (-39.556800881401 -3.0658035445958)', '2026-07-23 21:06:38', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556691749021 -3.0657001957297)'), GeomFromEWKT('SRID=4674;POINT (-39.556800881401 -3.0658035445958)'))) / (select extract(epoch from '2026-07-23 21:06:38'::timestamp) - extract(epoch from '2026-07-23 21:06:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556691749021 -3.0657001957297)'), GeomFromEWKT('SRID=4674;POINT (-39.556800881401 -3.0658035445958)'))) / (select extract(epoch from '2026-07-23 21:06:38'::timestamp) - extract(epoch from '2026-07-23 21:06:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47854, 'SRID=4674;POINT (-39.556883526966 -3.0658864416182)', '2026-07-23 21:06:43', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556800881401 -3.0658035445958)'), GeomFromEWKT('SRID=4674;POINT (-39.556883526966 -3.0658864416182)'))) / (select extract(epoch from '2026-07-23 21:06:43'::timestamp) - extract(epoch from '2026-07-23 21:06:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556800881401 -3.0658035445958)'), GeomFromEWKT('SRID=4674;POINT (-39.556883526966 -3.0658864416182)'))) / (select extract(epoch from '2026-07-23 21:06:43'::timestamp) - extract(epoch from '2026-07-23 21:06:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47854, 'SRID=4674;POINT (-39.556964496151 -3.0660067219287)', '2026-07-23 21:06:49', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556883526966 -3.0658864416182)'), GeomFromEWKT('SRID=4674;POINT (-39.556964496151 -3.0660067219287)'))) / (select extract(epoch from '2026-07-23 21:06:49'::timestamp) - extract(epoch from '2026-07-23 21:06:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556883526966 -3.0658864416182)'), GeomFromEWKT('SRID=4674;POINT (-39.556964496151 -3.0660067219287)'))) / (select extract(epoch from '2026-07-23 21:06:49'::timestamp) - extract(epoch from '2026-07-23 21:06: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'), 47854, 'SRID=4674;POINT (-39.557025684044 -3.0660896189511)', '2026-07-23 21:06:54', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556964496151 -3.0660067219287)'), GeomFromEWKT('SRID=4674;POINT (-39.557025684044 -3.0660896189511)'))) / (select extract(epoch from '2026-07-23 21:06:54'::timestamp) - extract(epoch from '2026-07-23 21:06:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556964496151 -3.0660067219287)'), GeomFromEWKT('SRID=4674;POINT (-39.557025684044 -3.0660896189511)'))) / (select extract(epoch from '2026-07-23 21:06:54'::timestamp) - extract(epoch from '2026-07-23 21:06:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
