 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.38962 -2.781583)', '2026-07-20 13:34:19', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389565 -2.781385)'), GeomFromEWKT('SRID=4674;POINT (-40.38962 -2.781583)'))) / (select extract(epoch from '2026-07-20 13:34:19'::timestamp) - extract(epoch from '2026-07-20 13:34:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389565 -2.781385)'), GeomFromEWKT('SRID=4674;POINT (-40.38962 -2.781583)'))) / (select extract(epoch from '2026-07-20 13:34:19'::timestamp) - extract(epoch from '2026-07-20 13:34: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'), 47832, 'SRID=4674;POINT (-40.389658 -2.781756)', '2026-07-20 13:34:26', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38962 -2.781583)'), GeomFromEWKT('SRID=4674;POINT (-40.389658 -2.781756)'))) / (select extract(epoch from '2026-07-20 13:34:26'::timestamp) - extract(epoch from '2026-07-20 13:34:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38962 -2.781583)'), GeomFromEWKT('SRID=4674;POINT (-40.389658 -2.781756)'))) / (select extract(epoch from '2026-07-20 13:34:26'::timestamp) - extract(epoch from '2026-07-20 13:34: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'), 47832, 'SRID=4674;POINT (-40.389702 -2.781905)', '2026-07-20 13:34:32', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389658 -2.781756)'), GeomFromEWKT('SRID=4674;POINT (-40.389702 -2.781905)'))) / (select extract(epoch from '2026-07-20 13:34:32'::timestamp) - extract(epoch from '2026-07-20 13:34:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389658 -2.781756)'), GeomFromEWKT('SRID=4674;POINT (-40.389702 -2.781905)'))) / (select extract(epoch from '2026-07-20 13:34:32'::timestamp) - extract(epoch from '2026-07-20 13:34: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'), 47832, 'SRID=4674;POINT (-40.389827 -2.782117)', '2026-07-20 13:34:41', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389702 -2.781905)'), GeomFromEWKT('SRID=4674;POINT (-40.389827 -2.782117)'))) / (select extract(epoch from '2026-07-20 13:34:41'::timestamp) - extract(epoch from '2026-07-20 13:34:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389702 -2.781905)'), GeomFromEWKT('SRID=4674;POINT (-40.389827 -2.782117)'))) / (select extract(epoch from '2026-07-20 13:34:41'::timestamp) - extract(epoch from '2026-07-20 13:34: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'), 47832, 'SRID=4674;POINT (-40.389947 -2.782271)', '2026-07-20 13:34:48', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389827 -2.782117)'), GeomFromEWKT('SRID=4674;POINT (-40.389947 -2.782271)'))) / (select extract(epoch from '2026-07-20 13:34:48'::timestamp) - extract(epoch from '2026-07-20 13:34:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389827 -2.782117)'), GeomFromEWKT('SRID=4674;POINT (-40.389947 -2.782271)'))) / (select extract(epoch from '2026-07-20 13:34:48'::timestamp) - extract(epoch from '2026-07-20 13:34: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'), 47832, 'SRID=4674;POINT (-40.390039 -2.782431)', '2026-07-20 13:34:55', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389947 -2.782271)'), GeomFromEWKT('SRID=4674;POINT (-40.390039 -2.782431)'))) / (select extract(epoch from '2026-07-20 13:34:55'::timestamp) - extract(epoch from '2026-07-20 13:34:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389947 -2.782271)'), GeomFromEWKT('SRID=4674;POINT (-40.390039 -2.782431)'))) / (select extract(epoch from '2026-07-20 13:34:55'::timestamp) - extract(epoch from '2026-07-20 13:34: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'), 47832, 'SRID=4674;POINT (-40.390109 -2.782597)', '2026-07-20 13:35:02', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390039 -2.782431)'), GeomFromEWKT('SRID=4674;POINT (-40.390109 -2.782597)'))) / (select extract(epoch from '2026-07-20 13:35:02'::timestamp) - extract(epoch from '2026-07-20 13:34:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390039 -2.782431)'), GeomFromEWKT('SRID=4674;POINT (-40.390109 -2.782597)'))) / (select extract(epoch from '2026-07-20 13:35:02'::timestamp) - extract(epoch from '2026-07-20 13:34:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.390158 -2.782717)', '2026-07-20 13:35:07', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390109 -2.782597)'), GeomFromEWKT('SRID=4674;POINT (-40.390158 -2.782717)'))) / (select extract(epoch from '2026-07-20 13:35:07'::timestamp) - extract(epoch from '2026-07-20 13:35:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390109 -2.782597)'), GeomFromEWKT('SRID=4674;POINT (-40.390158 -2.782717)'))) / (select extract(epoch from '2026-07-20 13:35:07'::timestamp) - extract(epoch from '2026-07-20 13: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'), 47832, 'SRID=4674;POINT (-40.390243 -2.782874)', '2026-07-20 13:35:14', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390158 -2.782717)'), GeomFromEWKT('SRID=4674;POINT (-40.390243 -2.782874)'))) / (select extract(epoch from '2026-07-20 13:35:14'::timestamp) - extract(epoch from '2026-07-20 13:35:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390158 -2.782717)'), GeomFromEWKT('SRID=4674;POINT (-40.390243 -2.782874)'))) / (select extract(epoch from '2026-07-20 13:35:14'::timestamp) - extract(epoch from '2026-07-20 13:35: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'), 47832, 'SRID=4674;POINT (-40.390343 -2.783026)', '2026-07-20 13:35:21', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390243 -2.782874)'), GeomFromEWKT('SRID=4674;POINT (-40.390343 -2.783026)'))) / (select extract(epoch from '2026-07-20 13:35:21'::timestamp) - extract(epoch from '2026-07-20 13:35:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390243 -2.782874)'), GeomFromEWKT('SRID=4674;POINT (-40.390343 -2.783026)'))) / (select extract(epoch from '2026-07-20 13:35:21'::timestamp) - extract(epoch from '2026-07-20 13:35: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'), 47832, 'SRID=4674;POINT (-40.390459 -2.783206)', '2026-07-20 13:35:29', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390343 -2.783026)'), GeomFromEWKT('SRID=4674;POINT (-40.390459 -2.783206)'))) / (select extract(epoch from '2026-07-20 13:35:29'::timestamp) - extract(epoch from '2026-07-20 13:35:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390343 -2.783026)'), GeomFromEWKT('SRID=4674;POINT (-40.390459 -2.783206)'))) / (select extract(epoch from '2026-07-20 13:35:29'::timestamp) - extract(epoch from '2026-07-20 13:35: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'), 47832, 'SRID=4674;POINT (-40.390544 -2.783355)', '2026-07-20 13:35:36', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390459 -2.783206)'), GeomFromEWKT('SRID=4674;POINT (-40.390544 -2.783355)'))) / (select extract(epoch from '2026-07-20 13:35:36'::timestamp) - extract(epoch from '2026-07-20 13:35:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390459 -2.783206)'), GeomFromEWKT('SRID=4674;POINT (-40.390544 -2.783355)'))) / (select extract(epoch from '2026-07-20 13:35:36'::timestamp) - extract(epoch from '2026-07-20 13:35: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'), 47832, 'SRID=4674;POINT (-40.39061 -2.783513)', '2026-07-20 13:35:42', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390544 -2.783355)'), GeomFromEWKT('SRID=4674;POINT (-40.39061 -2.783513)'))) / (select extract(epoch from '2026-07-20 13:35:42'::timestamp) - extract(epoch from '2026-07-20 13:35:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390544 -2.783355)'), GeomFromEWKT('SRID=4674;POINT (-40.39061 -2.783513)'))) / (select extract(epoch from '2026-07-20 13:35:42'::timestamp) - extract(epoch from '2026-07-20 13:35: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'), 47832, 'SRID=4674;POINT (-40.390699 -2.783657)', '2026-07-20 13:35:48', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39061 -2.783513)'), GeomFromEWKT('SRID=4674;POINT (-40.390699 -2.783657)'))) / (select extract(epoch from '2026-07-20 13:35:48'::timestamp) - extract(epoch from '2026-07-20 13:35:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39061 -2.783513)'), GeomFromEWKT('SRID=4674;POINT (-40.390699 -2.783657)'))) / (select extract(epoch from '2026-07-20 13:35:48'::timestamp) - extract(epoch from '2026-07-20 13:35: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'), 47832, 'SRID=4674;POINT (-40.390787 -2.783827)', '2026-07-20 13:35:55', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390699 -2.783657)'), GeomFromEWKT('SRID=4674;POINT (-40.390787 -2.783827)'))) / (select extract(epoch from '2026-07-20 13:35:55'::timestamp) - extract(epoch from '2026-07-20 13:35:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390699 -2.783657)'), GeomFromEWKT('SRID=4674;POINT (-40.390787 -2.783827)'))) / (select extract(epoch from '2026-07-20 13:35:55'::timestamp) - extract(epoch from '2026-07-20 13:35: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'), 47832, 'SRID=4674;POINT (-40.390832 -2.783971)', '2026-07-20 13:36:01', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390787 -2.783827)'), GeomFromEWKT('SRID=4674;POINT (-40.390832 -2.783971)'))) / (select extract(epoch from '2026-07-20 13:36:01'::timestamp) - extract(epoch from '2026-07-20 13:35:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390787 -2.783827)'), GeomFromEWKT('SRID=4674;POINT (-40.390832 -2.783971)'))) / (select extract(epoch from '2026-07-20 13:36:01'::timestamp) - extract(epoch from '2026-07-20 13:35: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'), 47832, 'SRID=4674;POINT (-40.390876 -2.784077)', '2026-07-20 13:36:06', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390832 -2.783971)'), GeomFromEWKT('SRID=4674;POINT (-40.390876 -2.784077)'))) / (select extract(epoch from '2026-07-20 13:36:06'::timestamp) - extract(epoch from '2026-07-20 13:36:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390832 -2.783971)'), GeomFromEWKT('SRID=4674;POINT (-40.390876 -2.784077)'))) / (select extract(epoch from '2026-07-20 13:36:06'::timestamp) - extract(epoch from '2026-07-20 13:36: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'), 47832, 'SRID=4674;POINT (-40.390933 -2.784247)', '2026-07-20 13:36:13', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390876 -2.784077)'), GeomFromEWKT('SRID=4674;POINT (-40.390933 -2.784247)'))) / (select extract(epoch from '2026-07-20 13:36:13'::timestamp) - extract(epoch from '2026-07-20 13:36:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390876 -2.784077)'), GeomFromEWKT('SRID=4674;POINT (-40.390933 -2.784247)'))) / (select extract(epoch from '2026-07-20 13:36:13'::timestamp) - extract(epoch from '2026-07-20 13:36: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'), 47832, 'SRID=4674;POINT (-40.390992 -2.784403)', '2026-07-20 13:36:20', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390933 -2.784247)'), GeomFromEWKT('SRID=4674;POINT (-40.390992 -2.784403)'))) / (select extract(epoch from '2026-07-20 13:36:20'::timestamp) - extract(epoch from '2026-07-20 13:36:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390933 -2.784247)'), GeomFromEWKT('SRID=4674;POINT (-40.390992 -2.784403)'))) / (select extract(epoch from '2026-07-20 13:36:20'::timestamp) - extract(epoch from '2026-07-20 13:36: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'), 47832, 'SRID=4674;POINT (-40.391085 -2.784545)', '2026-07-20 13:36:26', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390992 -2.784403)'), GeomFromEWKT('SRID=4674;POINT (-40.391085 -2.784545)'))) / (select extract(epoch from '2026-07-20 13:36:26'::timestamp) - extract(epoch from '2026-07-20 13:36:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390992 -2.784403)'), GeomFromEWKT('SRID=4674;POINT (-40.391085 -2.784545)'))) / (select extract(epoch from '2026-07-20 13:36:26'::timestamp) - extract(epoch from '2026-07-20 13:36: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'), 47832, 'SRID=4674;POINT (-40.391158 -2.78472)', '2026-07-20 13:36:34', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391085 -2.784545)'), GeomFromEWKT('SRID=4674;POINT (-40.391158 -2.78472)'))) / (select extract(epoch from '2026-07-20 13:36:34'::timestamp) - extract(epoch from '2026-07-20 13:36:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391085 -2.784545)'), GeomFromEWKT('SRID=4674;POINT (-40.391158 -2.78472)'))) / (select extract(epoch from '2026-07-20 13:36:34'::timestamp) - extract(epoch from '2026-07-20 13:36: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'), 47832, 'SRID=4674;POINT (-40.391183 -2.784879)', '2026-07-20 13:36:41', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391158 -2.78472)'), GeomFromEWKT('SRID=4674;POINT (-40.391183 -2.784879)'))) / (select extract(epoch from '2026-07-20 13:36:41'::timestamp) - extract(epoch from '2026-07-20 13:36:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391158 -2.78472)'), GeomFromEWKT('SRID=4674;POINT (-40.391183 -2.784879)'))) / (select extract(epoch from '2026-07-20 13:36:41'::timestamp) - extract(epoch from '2026-07-20 13:36: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'), 47832, 'SRID=4674;POINT (-40.391183 -2.785033)', '2026-07-20 13:36:47', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391183 -2.784879)'), GeomFromEWKT('SRID=4674;POINT (-40.391183 -2.785033)'))) / (select extract(epoch from '2026-07-20 13:36:47'::timestamp) - extract(epoch from '2026-07-20 13:36:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391183 -2.784879)'), GeomFromEWKT('SRID=4674;POINT (-40.391183 -2.785033)'))) / (select extract(epoch from '2026-07-20 13:36:47'::timestamp) - extract(epoch from '2026-07-20 13:36: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'), 47832, 'SRID=4674;POINT (-40.391215 -2.78521)', '2026-07-20 13:36:54', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391183 -2.785033)'), GeomFromEWKT('SRID=4674;POINT (-40.391215 -2.78521)'))) / (select extract(epoch from '2026-07-20 13:36:54'::timestamp) - extract(epoch from '2026-07-20 13:36:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391183 -2.785033)'), GeomFromEWKT('SRID=4674;POINT (-40.391215 -2.78521)'))) / (select extract(epoch from '2026-07-20 13:36:54'::timestamp) - extract(epoch from '2026-07-20 13:36: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'), 47832, 'SRID=4674;POINT (-40.391263 -2.785369)', '2026-07-20 13:37:00', -6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391215 -2.78521)'), GeomFromEWKT('SRID=4674;POINT (-40.391263 -2.785369)'))) / (select extract(epoch from '2026-07-20 13:37:00'::timestamp) - extract(epoch from '2026-07-20 13:36:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391215 -2.78521)'), GeomFromEWKT('SRID=4674;POINT (-40.391263 -2.785369)'))) / (select extract(epoch from '2026-07-20 13:37:00'::timestamp) - extract(epoch from '2026-07-20 13:36: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'), 47832, 'SRID=4674;POINT (-40.391339 -2.7855)', '2026-07-20 13:37:06', -6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391263 -2.785369)'), GeomFromEWKT('SRID=4674;POINT (-40.391339 -2.7855)'))) / (select extract(epoch from '2026-07-20 13:37:06'::timestamp) - extract(epoch from '2026-07-20 13:37:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391263 -2.785369)'), GeomFromEWKT('SRID=4674;POINT (-40.391339 -2.7855)'))) / (select extract(epoch from '2026-07-20 13:37:06'::timestamp) - extract(epoch from '2026-07-20 13:37: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'), 47832, 'SRID=4674;POINT (-40.391424 -2.785591)', '2026-07-20 13:37:12', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391339 -2.7855)'), GeomFromEWKT('SRID=4674;POINT (-40.391424 -2.785591)'))) / (select extract(epoch from '2026-07-20 13:37:12'::timestamp) - extract(epoch from '2026-07-20 13:37:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391339 -2.7855)'), GeomFromEWKT('SRID=4674;POINT (-40.391424 -2.785591)'))) / (select extract(epoch from '2026-07-20 13:37:12'::timestamp) - extract(epoch from '2026-07-20 13:37: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'), 47832, 'SRID=4674;POINT (-40.391507 -2.785692)', '2026-07-20 13:37:19', -5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391424 -2.785591)'), GeomFromEWKT('SRID=4674;POINT (-40.391507 -2.785692)'))) / (select extract(epoch from '2026-07-20 13:37:19'::timestamp) - extract(epoch from '2026-07-20 13:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391424 -2.785591)'), GeomFromEWKT('SRID=4674;POINT (-40.391507 -2.785692)'))) / (select extract(epoch from '2026-07-20 13:37:19'::timestamp) - extract(epoch from '2026-07-20 13:37: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'), 47832, 'SRID=4674;POINT (-40.391542 -2.78576)', '2026-07-20 13:37:25', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391507 -2.785692)'), GeomFromEWKT('SRID=4674;POINT (-40.391542 -2.78576)'))) / (select extract(epoch from '2026-07-20 13:37:25'::timestamp) - extract(epoch from '2026-07-20 13:37:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391507 -2.785692)'), GeomFromEWKT('SRID=4674;POINT (-40.391542 -2.78576)'))) / (select extract(epoch from '2026-07-20 13:37:25'::timestamp) - extract(epoch from '2026-07-20 13:37: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'), 47832, 'SRID=4674;POINT (-40.391622 -2.785816)', '2026-07-20 13:37:32', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391542 -2.78576)'), GeomFromEWKT('SRID=4674;POINT (-40.391622 -2.785816)'))) / (select extract(epoch from '2026-07-20 13:37:32'::timestamp) - extract(epoch from '2026-07-20 13:37:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391542 -2.78576)'), GeomFromEWKT('SRID=4674;POINT (-40.391622 -2.785816)'))) / (select extract(epoch from '2026-07-20 13:37:32'::timestamp) - extract(epoch from '2026-07-20 13:37: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'), 47832, 'SRID=4674;POINT (-40.391649 -2.78588)', '2026-07-20 13:37:38', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391622 -2.785816)'), GeomFromEWKT('SRID=4674;POINT (-40.391649 -2.78588)'))) / (select extract(epoch from '2026-07-20 13:37:38'::timestamp) - extract(epoch from '2026-07-20 13:37:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391622 -2.785816)'), GeomFromEWKT('SRID=4674;POINT (-40.391649 -2.78588)'))) / (select extract(epoch from '2026-07-20 13:37:38'::timestamp) - extract(epoch from '2026-07-20 13:37: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'), 47832, 'SRID=4674;POINT (-40.391681 -2.785945)', '2026-07-20 13:37:44', -5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391649 -2.78588)'), GeomFromEWKT('SRID=4674;POINT (-40.391681 -2.785945)'))) / (select extract(epoch from '2026-07-20 13:37:44'::timestamp) - extract(epoch from '2026-07-20 13:37:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391649 -2.78588)'), GeomFromEWKT('SRID=4674;POINT (-40.391681 -2.785945)'))) / (select extract(epoch from '2026-07-20 13:37:44'::timestamp) - extract(epoch from '2026-07-20 13:37: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'), 47832, 'SRID=4674;POINT (-40.391787 -2.786022)', '2026-07-20 13:37:53', -5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391681 -2.785945)'), GeomFromEWKT('SRID=4674;POINT (-40.391787 -2.786022)'))) / (select extract(epoch from '2026-07-20 13:37:53'::timestamp) - extract(epoch from '2026-07-20 13:37:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391681 -2.785945)'), GeomFromEWKT('SRID=4674;POINT (-40.391787 -2.786022)'))) / (select extract(epoch from '2026-07-20 13:37:53'::timestamp) - extract(epoch from '2026-07-20 13:37: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'), 47832, 'SRID=4674;POINT (-40.3919 -2.786062)', '2026-07-20 13:38:01', -6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391787 -2.786022)'), GeomFromEWKT('SRID=4674;POINT (-40.3919 -2.786062)'))) / (select extract(epoch from '2026-07-20 13:38:01'::timestamp) - extract(epoch from '2026-07-20 13:37:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391787 -2.786022)'), GeomFromEWKT('SRID=4674;POINT (-40.3919 -2.786062)'))) / (select extract(epoch from '2026-07-20 13:38:01'::timestamp) - extract(epoch from '2026-07-20 13:37: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'), 47832, 'SRID=4674;POINT (-40.392055 -2.78606)', '2026-07-20 13:38:11', -7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3919 -2.786062)'), GeomFromEWKT('SRID=4674;POINT (-40.392055 -2.78606)'))) / (select extract(epoch from '2026-07-20 13:38:11'::timestamp) - extract(epoch from '2026-07-20 13:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3919 -2.786062)'), GeomFromEWKT('SRID=4674;POINT (-40.392055 -2.78606)'))) / (select extract(epoch from '2026-07-20 13:38:11'::timestamp) - extract(epoch from '2026-07-20 13:38: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'), 47832, 'SRID=4674;POINT (-40.392087 -2.786063)', '2026-07-20 13:38:13', -7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392055 -2.78606)'), GeomFromEWKT('SRID=4674;POINT (-40.392087 -2.786063)'))) / (select extract(epoch from '2026-07-20 13:38:13'::timestamp) - extract(epoch from '2026-07-20 13:38:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392055 -2.78606)'), GeomFromEWKT('SRID=4674;POINT (-40.392087 -2.786063)'))) / (select extract(epoch from '2026-07-20 13:38:13'::timestamp) - extract(epoch from '2026-07-20 13:38: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'), 47832, 'SRID=4674;POINT (-40.392127 -2.78608)', '2026-07-20 13:38:17', -7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392087 -2.786063)'), GeomFromEWKT('SRID=4674;POINT (-40.392127 -2.78608)'))) / (select extract(epoch from '2026-07-20 13:38:17'::timestamp) - extract(epoch from '2026-07-20 13:38:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392087 -2.786063)'), GeomFromEWKT('SRID=4674;POINT (-40.392127 -2.78608)'))) / (select extract(epoch from '2026-07-20 13:38:17'::timestamp) - extract(epoch from '2026-07-20 13:38: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'), 47832, 'SRID=4674;POINT (-40.392185 -2.786134)', '2026-07-20 13:38:25', -8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392127 -2.78608)'), GeomFromEWKT('SRID=4674;POINT (-40.392185 -2.786134)'))) / (select extract(epoch from '2026-07-20 13:38:25'::timestamp) - extract(epoch from '2026-07-20 13:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392127 -2.78608)'), GeomFromEWKT('SRID=4674;POINT (-40.392185 -2.786134)'))) / (select extract(epoch from '2026-07-20 13:38:25'::timestamp) - extract(epoch from '2026-07-20 13: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'), 47832, 'SRID=4674;POINT (-40.392203 -2.786162)', '2026-07-20 13:38:31', -8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392185 -2.786134)'), GeomFromEWKT('SRID=4674;POINT (-40.392203 -2.786162)'))) / (select extract(epoch from '2026-07-20 13:38:31'::timestamp) - extract(epoch from '2026-07-20 13:38:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392185 -2.786134)'), GeomFromEWKT('SRID=4674;POINT (-40.392203 -2.786162)'))) / (select extract(epoch from '2026-07-20 13:38:31'::timestamp) - extract(epoch from '2026-07-20 13:38: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'), 47832, 'SRID=4674;POINT (-40.39223 -2.786236)', '2026-07-20 13:38:47', -8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392203 -2.786162)'), GeomFromEWKT('SRID=4674;POINT (-40.39223 -2.786236)'))) / (select extract(epoch from '2026-07-20 13:38:47'::timestamp) - extract(epoch from '2026-07-20 13:38:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392203 -2.786162)'), GeomFromEWKT('SRID=4674;POINT (-40.39223 -2.786236)'))) / (select extract(epoch from '2026-07-20 13:38:47'::timestamp) - extract(epoch from '2026-07-20 13:38: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'), 47832, 'SRID=4674;POINT (-40.392243 -2.786259)', '2026-07-20 13:38:54', -8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39223 -2.786236)'), GeomFromEWKT('SRID=4674;POINT (-40.392243 -2.786259)'))) / (select extract(epoch from '2026-07-20 13:38:54'::timestamp) - extract(epoch from '2026-07-20 13:38:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39223 -2.786236)'), GeomFromEWKT('SRID=4674;POINT (-40.392243 -2.786259)'))) / (select extract(epoch from '2026-07-20 13:38:54'::timestamp) - extract(epoch from '2026-07-20 13:38: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'), 47832, 'SRID=4674;POINT (-40.39225 -2.786259)', '2026-07-20 13:38:59', -8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392243 -2.786259)'), GeomFromEWKT('SRID=4674;POINT (-40.39225 -2.786259)'))) / (select extract(epoch from '2026-07-20 13:38:59'::timestamp) - extract(epoch from '2026-07-20 13:38:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392243 -2.786259)'), GeomFromEWKT('SRID=4674;POINT (-40.39225 -2.786259)'))) / (select extract(epoch from '2026-07-20 13:38:59'::timestamp) - extract(epoch from '2026-07-20 13:38: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'), 47832, 'SRID=4674;POINT (-40.392245 -2.786284)', '2026-07-20 13:39:06', -8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39225 -2.786259)'), GeomFromEWKT('SRID=4674;POINT (-40.392245 -2.786284)'))) / (select extract(epoch from '2026-07-20 13:39:06'::timestamp) - extract(epoch from '2026-07-20 13:38:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39225 -2.786259)'), GeomFromEWKT('SRID=4674;POINT (-40.392245 -2.786284)'))) / (select extract(epoch from '2026-07-20 13:39:06'::timestamp) - extract(epoch from '2026-07-20 13:38: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'), 47832, 'SRID=4674;POINT (-40.392223 -2.786317)', '2026-07-20 13:39:17', -8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392245 -2.786284)'), GeomFromEWKT('SRID=4674;POINT (-40.392223 -2.786317)'))) / (select extract(epoch from '2026-07-20 13:39:17'::timestamp) - extract(epoch from '2026-07-20 13:39:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392245 -2.786284)'), GeomFromEWKT('SRID=4674;POINT (-40.392223 -2.786317)'))) / (select extract(epoch from '2026-07-20 13:39:17'::timestamp) - extract(epoch from '2026-07-20 13:39: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'), 47832, 'SRID=4674;POINT (-40.392201 -2.786373)', '2026-07-20 13:39:24', -8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392223 -2.786317)'), GeomFromEWKT('SRID=4674;POINT (-40.392201 -2.786373)'))) / (select extract(epoch from '2026-07-20 13:39:24'::timestamp) - extract(epoch from '2026-07-20 13:39:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392223 -2.786317)'), GeomFromEWKT('SRID=4674;POINT (-40.392201 -2.786373)'))) / (select extract(epoch from '2026-07-20 13:39:24'::timestamp) - extract(epoch from '2026-07-20 13:39: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'), 47832, 'SRID=4674;POINT (-40.39222 -2.786462)', '2026-07-20 13:39:31', -8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392201 -2.786373)'), GeomFromEWKT('SRID=4674;POINT (-40.39222 -2.786462)'))) / (select extract(epoch from '2026-07-20 13:39:31'::timestamp) - extract(epoch from '2026-07-20 13:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392201 -2.786373)'), GeomFromEWKT('SRID=4674;POINT (-40.39222 -2.786462)'))) / (select extract(epoch from '2026-07-20 13:39:31'::timestamp) - extract(epoch from '2026-07-20 13:39: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'), 47832, 'SRID=4674;POINT (-40.392275 -2.786532)', '2026-07-20 13:39:38', -7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39222 -2.786462)'), GeomFromEWKT('SRID=4674;POINT (-40.392275 -2.786532)'))) / (select extract(epoch from '2026-07-20 13:39:38'::timestamp) - extract(epoch from '2026-07-20 13:39:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39222 -2.786462)'), GeomFromEWKT('SRID=4674;POINT (-40.392275 -2.786532)'))) / (select extract(epoch from '2026-07-20 13:39:38'::timestamp) - extract(epoch from '2026-07-20 13:39: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'), 47832, 'SRID=4674;POINT (-40.392302 -2.786584)', '2026-07-20 13:39:45', -7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392275 -2.786532)'), GeomFromEWKT('SRID=4674;POINT (-40.392302 -2.786584)'))) / (select extract(epoch from '2026-07-20 13:39:45'::timestamp) - extract(epoch from '2026-07-20 13:39:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392275 -2.786532)'), GeomFromEWKT('SRID=4674;POINT (-40.392302 -2.786584)'))) / (select extract(epoch from '2026-07-20 13:39:45'::timestamp) - extract(epoch from '2026-07-20 13:39: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'), 47832, 'SRID=4674;POINT (-40.392322 -2.786623)', '2026-07-20 13:39:52', -7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392302 -2.786584)'), GeomFromEWKT('SRID=4674;POINT (-40.392322 -2.786623)'))) / (select extract(epoch from '2026-07-20 13:39:52'::timestamp) - extract(epoch from '2026-07-20 13:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392302 -2.786584)'), GeomFromEWKT('SRID=4674;POINT (-40.392322 -2.786623)'))) / (select extract(epoch from '2026-07-20 13:39:52'::timestamp) - extract(epoch from '2026-07-20 13:39: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'), 47832, 'SRID=4674;POINT (-40.392352 -2.786679)', '2026-07-20 13:39:59', -7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392322 -2.786623)'), GeomFromEWKT('SRID=4674;POINT (-40.392352 -2.786679)'))) / (select extract(epoch from '2026-07-20 13:39:59'::timestamp) - extract(epoch from '2026-07-20 13:39:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392322 -2.786623)'), GeomFromEWKT('SRID=4674;POINT (-40.392352 -2.786679)'))) / (select extract(epoch from '2026-07-20 13:39:59'::timestamp) - extract(epoch from '2026-07-20 13:39: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'), 47832, 'SRID=4674;POINT (-40.392413 -2.786736)', '2026-07-20 13:40:07', -7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392352 -2.786679)'), GeomFromEWKT('SRID=4674;POINT (-40.392413 -2.786736)'))) / (select extract(epoch from '2026-07-20 13:40:07'::timestamp) - extract(epoch from '2026-07-20 13:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392352 -2.786679)'), GeomFromEWKT('SRID=4674;POINT (-40.392413 -2.786736)'))) / (select extract(epoch from '2026-07-20 13:40:07'::timestamp) - extract(epoch from '2026-07-20 13:39: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'), 47832, 'SRID=4674;POINT (-40.392426 -2.786762)', '2026-07-20 13:40:12', -7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392413 -2.786736)'), GeomFromEWKT('SRID=4674;POINT (-40.392426 -2.786762)'))) / (select extract(epoch from '2026-07-20 13:40:12'::timestamp) - extract(epoch from '2026-07-20 13:40:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392413 -2.786736)'), GeomFromEWKT('SRID=4674;POINT (-40.392426 -2.786762)'))) / (select extract(epoch from '2026-07-20 13:40:12'::timestamp) - extract(epoch from '2026-07-20 13:40: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'), 47832, 'SRID=4674;POINT (-40.392451 -2.786805)', '2026-07-20 13:40:20', -7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392426 -2.786762)'), GeomFromEWKT('SRID=4674;POINT (-40.392451 -2.786805)'))) / (select extract(epoch from '2026-07-20 13:40:20'::timestamp) - extract(epoch from '2026-07-20 13:40:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392426 -2.786762)'), GeomFromEWKT('SRID=4674;POINT (-40.392451 -2.786805)'))) / (select extract(epoch from '2026-07-20 13:40:20'::timestamp) - extract(epoch from '2026-07-20 13:40: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'), 47832, 'SRID=4674;POINT (-40.392499 -2.786884)', '2026-07-20 13:40:28', -6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392451 -2.786805)'), GeomFromEWKT('SRID=4674;POINT (-40.392499 -2.786884)'))) / (select extract(epoch from '2026-07-20 13:40:28'::timestamp) - extract(epoch from '2026-07-20 13:40:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392451 -2.786805)'), GeomFromEWKT('SRID=4674;POINT (-40.392499 -2.786884)'))) / (select extract(epoch from '2026-07-20 13:40:28'::timestamp) - extract(epoch from '2026-07-20 13:40: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'), 47832, 'SRID=4674;POINT (-40.3926 -2.78693)', '2026-07-20 13:40:36', -6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392499 -2.786884)'), GeomFromEWKT('SRID=4674;POINT (-40.3926 -2.78693)'))) / (select extract(epoch from '2026-07-20 13:40:36'::timestamp) - extract(epoch from '2026-07-20 13:40:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392499 -2.786884)'), GeomFromEWKT('SRID=4674;POINT (-40.3926 -2.78693)'))) / (select extract(epoch from '2026-07-20 13:40:36'::timestamp) - extract(epoch from '2026-07-20 13:40: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'), 47832, 'SRID=4674;POINT (-40.392681 -2.786886)', '2026-07-20 13:40:43', -7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3926 -2.78693)'), GeomFromEWKT('SRID=4674;POINT (-40.392681 -2.786886)'))) / (select extract(epoch from '2026-07-20 13:40:43'::timestamp) - extract(epoch from '2026-07-20 13:40:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3926 -2.78693)'), GeomFromEWKT('SRID=4674;POINT (-40.392681 -2.786886)'))) / (select extract(epoch from '2026-07-20 13:40:43'::timestamp) - extract(epoch from '2026-07-20 13:40: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'), 47832, 'SRID=4674;POINT (-40.392713 -2.786843)', '2026-07-20 13:40:48', -6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392681 -2.786886)'), GeomFromEWKT('SRID=4674;POINT (-40.392713 -2.786843)'))) / (select extract(epoch from '2026-07-20 13:40:48'::timestamp) - extract(epoch from '2026-07-20 13:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392681 -2.786886)'), GeomFromEWKT('SRID=4674;POINT (-40.392713 -2.786843)'))) / (select extract(epoch from '2026-07-20 13:40:48'::timestamp) - extract(epoch from '2026-07-20 13:40: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'), 47832, 'SRID=4674;POINT (-40.392707 -2.786769)', '2026-07-20 13:40:57', -6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392713 -2.786843)'), GeomFromEWKT('SRID=4674;POINT (-40.392707 -2.786769)'))) / (select extract(epoch from '2026-07-20 13:40:57'::timestamp) - extract(epoch from '2026-07-20 13:40:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392713 -2.786843)'), GeomFromEWKT('SRID=4674;POINT (-40.392707 -2.786769)'))) / (select extract(epoch from '2026-07-20 13:40:57'::timestamp) - extract(epoch from '2026-07-20 13:40: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'), 47832, 'SRID=4674;POINT (-40.39268 -2.786748)', '2026-07-20 13:41:04', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392707 -2.786769)'), GeomFromEWKT('SRID=4674;POINT (-40.39268 -2.786748)'))) / (select extract(epoch from '2026-07-20 13:41:04'::timestamp) - extract(epoch from '2026-07-20 13:40:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392707 -2.786769)'), GeomFromEWKT('SRID=4674;POINT (-40.39268 -2.786748)'))) / (select extract(epoch from '2026-07-20 13:41:04'::timestamp) - extract(epoch from '2026-07-20 13:40: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'), 47832, 'SRID=4674;POINT (-40.392664 -2.786767)', '2026-07-20 13:41:13', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39268 -2.786748)'), GeomFromEWKT('SRID=4674;POINT (-40.392664 -2.786767)'))) / (select extract(epoch from '2026-07-20 13:41:13'::timestamp) - extract(epoch from '2026-07-20 13:41:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39268 -2.786748)'), GeomFromEWKT('SRID=4674;POINT (-40.392664 -2.786767)'))) / (select extract(epoch from '2026-07-20 13:41:13'::timestamp) - extract(epoch from '2026-07-20 13:41: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'), 47832, 'SRID=4674;POINT (-40.392627 -2.786811)', '2026-07-20 13:41:23', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392664 -2.786767)'), GeomFromEWKT('SRID=4674;POINT (-40.392627 -2.786811)'))) / (select extract(epoch from '2026-07-20 13:41:23'::timestamp) - extract(epoch from '2026-07-20 13:41:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392664 -2.786767)'), GeomFromEWKT('SRID=4674;POINT (-40.392627 -2.786811)'))) / (select extract(epoch from '2026-07-20 13:41:23'::timestamp) - extract(epoch from '2026-07-20 13: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'), 47832, 'SRID=4674;POINT (-40.392623 -2.786842)', '2026-07-20 13:41:32', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392627 -2.786811)'), GeomFromEWKT('SRID=4674;POINT (-40.392623 -2.786842)'))) / (select extract(epoch from '2026-07-20 13:41:32'::timestamp) - extract(epoch from '2026-07-20 13:41:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392627 -2.786811)'), GeomFromEWKT('SRID=4674;POINT (-40.392623 -2.786842)'))) / (select extract(epoch from '2026-07-20 13:41:32'::timestamp) - extract(epoch from '2026-07-20 13:41: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'), 47832, 'SRID=4674;POINT (-40.392601 -2.786873)', '2026-07-20 13:41:40', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392623 -2.786842)'), GeomFromEWKT('SRID=4674;POINT (-40.392601 -2.786873)'))) / (select extract(epoch from '2026-07-20 13:41:40'::timestamp) - extract(epoch from '2026-07-20 13:41:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392623 -2.786842)'), GeomFromEWKT('SRID=4674;POINT (-40.392601 -2.786873)'))) / (select extract(epoch from '2026-07-20 13:41:40'::timestamp) - extract(epoch from '2026-07-20 13:41: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'), 47832, 'SRID=4674;POINT (-40.392596 -2.78688)', '2026-07-20 13:41:46', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392601 -2.786873)'), GeomFromEWKT('SRID=4674;POINT (-40.392596 -2.78688)'))) / (select extract(epoch from '2026-07-20 13:41:46'::timestamp) - extract(epoch from '2026-07-20 13:41:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392601 -2.786873)'), GeomFromEWKT('SRID=4674;POINT (-40.392596 -2.78688)'))) / (select extract(epoch from '2026-07-20 13:41:46'::timestamp) - extract(epoch from '2026-07-20 13:41: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'), 47832, 'SRID=4674;POINT (-40.392607 -2.786856)', '2026-07-20 13:42:06', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392596 -2.78688)'), GeomFromEWKT('SRID=4674;POINT (-40.392607 -2.786856)'))) / (select extract(epoch from '2026-07-20 13:42:06'::timestamp) - extract(epoch from '2026-07-20 13:41:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392596 -2.78688)'), GeomFromEWKT('SRID=4674;POINT (-40.392607 -2.786856)'))) / (select extract(epoch from '2026-07-20 13:42:06'::timestamp) - extract(epoch from '2026-07-20 13:41: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'), 47832, 'SRID=4674;POINT (-40.392619 -2.786872)', '2026-07-20 13:42:25', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392607 -2.786856)'), GeomFromEWKT('SRID=4674;POINT (-40.392619 -2.786872)'))) / (select extract(epoch from '2026-07-20 13:42:25'::timestamp) - extract(epoch from '2026-07-20 13:42:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392607 -2.786856)'), GeomFromEWKT('SRID=4674;POINT (-40.392619 -2.786872)'))) / (select extract(epoch from '2026-07-20 13:42:25'::timestamp) - extract(epoch from '2026-07-20 13: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'), 47832, 'SRID=4674;POINT (-40.392628 -2.786881)', '2026-07-20 13:42:32', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392619 -2.786872)'), GeomFromEWKT('SRID=4674;POINT (-40.392628 -2.786881)'))) / (select extract(epoch from '2026-07-20 13:42:32'::timestamp) - extract(epoch from '2026-07-20 13:42:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392619 -2.786872)'), GeomFromEWKT('SRID=4674;POINT (-40.392628 -2.786881)'))) / (select extract(epoch from '2026-07-20 13:42:32'::timestamp) - extract(epoch from '2026-07-20 13:42: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'), 47832, 'SRID=4674;POINT (-40.392599 -2.786907)', '2026-07-20 13:42:50', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392628 -2.786881)'), GeomFromEWKT('SRID=4674;POINT (-40.392599 -2.786907)'))) / (select extract(epoch from '2026-07-20 13:42:50'::timestamp) - extract(epoch from '2026-07-20 13:42:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392628 -2.786881)'), GeomFromEWKT('SRID=4674;POINT (-40.392599 -2.786907)'))) / (select extract(epoch from '2026-07-20 13:42:50'::timestamp) - extract(epoch from '2026-07-20 13:42: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'), 47832, 'SRID=4674;POINT (-40.3926 -2.786915)', '2026-07-20 13:42:51', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392599 -2.786907)'), GeomFromEWKT('SRID=4674;POINT (-40.3926 -2.786915)'))) / (select extract(epoch from '2026-07-20 13:42:51'::timestamp) - extract(epoch from '2026-07-20 13:42:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392599 -2.786907)'), GeomFromEWKT('SRID=4674;POINT (-40.3926 -2.786915)'))) / (select extract(epoch from '2026-07-20 13:42:51'::timestamp) - extract(epoch from '2026-07-20 13:42: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'), 47832, 'SRID=4674;POINT (-40.392601 -2.786965)', '2026-07-20 13:42:57', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3926 -2.786915)'), GeomFromEWKT('SRID=4674;POINT (-40.392601 -2.786965)'))) / (select extract(epoch from '2026-07-20 13:42:57'::timestamp) - extract(epoch from '2026-07-20 13:42:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3926 -2.786915)'), GeomFromEWKT('SRID=4674;POINT (-40.392601 -2.786965)'))) / (select extract(epoch from '2026-07-20 13:42:57'::timestamp) - extract(epoch from '2026-07-20 13:42: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'), 47832, 'SRID=4674;POINT (-40.392629 -2.786997)', '2026-07-20 13:43:02', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392601 -2.786965)'), GeomFromEWKT('SRID=4674;POINT (-40.392629 -2.786997)'))) / (select extract(epoch from '2026-07-20 13:43:02'::timestamp) - extract(epoch from '2026-07-20 13:42:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392601 -2.786965)'), GeomFromEWKT('SRID=4674;POINT (-40.392629 -2.786997)'))) / (select extract(epoch from '2026-07-20 13:43:02'::timestamp) - extract(epoch from '2026-07-20 13:42: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'), 47832, 'SRID=4674;POINT (-40.392641 -2.786999)', '2026-07-20 13:43:03', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392629 -2.786997)'), GeomFromEWKT('SRID=4674;POINT (-40.392641 -2.786999)'))) / (select extract(epoch from '2026-07-20 13:43:03'::timestamp) - extract(epoch from '2026-07-20 13:43:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392629 -2.786997)'), GeomFromEWKT('SRID=4674;POINT (-40.392641 -2.786999)'))) / (select extract(epoch from '2026-07-20 13:43:03'::timestamp) - extract(epoch from '2026-07-20 13: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'), 47832, 'SRID=4674;POINT (-40.392715 -2.786976)', '2026-07-20 13:43:09', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392641 -2.786999)'), GeomFromEWKT('SRID=4674;POINT (-40.392715 -2.786976)'))) / (select extract(epoch from '2026-07-20 13:43:09'::timestamp) - extract(epoch from '2026-07-20 13:43:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392641 -2.786999)'), GeomFromEWKT('SRID=4674;POINT (-40.392715 -2.786976)'))) / (select extract(epoch from '2026-07-20 13:43:09'::timestamp) - extract(epoch from '2026-07-20 13:43: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'), 47832, 'SRID=4674;POINT (-40.392728 -2.786962)', '2026-07-20 13:43:11', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392715 -2.786976)'), GeomFromEWKT('SRID=4674;POINT (-40.392728 -2.786962)'))) / (select extract(epoch from '2026-07-20 13:43:11'::timestamp) - extract(epoch from '2026-07-20 13:43:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392715 -2.786976)'), GeomFromEWKT('SRID=4674;POINT (-40.392728 -2.786962)'))) / (select extract(epoch from '2026-07-20 13:43:11'::timestamp) - extract(epoch from '2026-07-20 13:43: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'), 47832, 'SRID=4674;POINT (-40.392744 -2.786917)', '2026-07-20 13:43:15', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392728 -2.786962)'), GeomFromEWKT('SRID=4674;POINT (-40.392744 -2.786917)'))) / (select extract(epoch from '2026-07-20 13:43:15'::timestamp) - extract(epoch from '2026-07-20 13:43:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392728 -2.786962)'), GeomFromEWKT('SRID=4674;POINT (-40.392744 -2.786917)'))) / (select extract(epoch from '2026-07-20 13:43:15'::timestamp) - extract(epoch from '2026-07-20 13:43: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'), 47832, 'SRID=4674;POINT (-40.392757 -2.786874)', '2026-07-20 13:43:22', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392744 -2.786917)'), GeomFromEWKT('SRID=4674;POINT (-40.392757 -2.786874)'))) / (select extract(epoch from '2026-07-20 13:43:22'::timestamp) - extract(epoch from '2026-07-20 13:43:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392744 -2.786917)'), GeomFromEWKT('SRID=4674;POINT (-40.392757 -2.786874)'))) / (select extract(epoch from '2026-07-20 13:43:22'::timestamp) - extract(epoch from '2026-07-20 13:43: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'), 47832, 'SRID=4674;POINT (-40.392757 -2.786829)', '2026-07-20 13:43:30', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392757 -2.786874)'), GeomFromEWKT('SRID=4674;POINT (-40.392757 -2.786829)'))) / (select extract(epoch from '2026-07-20 13:43:30'::timestamp) - extract(epoch from '2026-07-20 13:43:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392757 -2.786874)'), GeomFromEWKT('SRID=4674;POINT (-40.392757 -2.786829)'))) / (select extract(epoch from '2026-07-20 13:43:30'::timestamp) - extract(epoch from '2026-07-20 13:43: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'), 47832, 'SRID=4674;POINT (-40.39274 -2.786816)', '2026-07-20 13:43:38', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392757 -2.786829)'), GeomFromEWKT('SRID=4674;POINT (-40.39274 -2.786816)'))) / (select extract(epoch from '2026-07-20 13:43:38'::timestamp) - extract(epoch from '2026-07-20 13:43:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392757 -2.786829)'), GeomFromEWKT('SRID=4674;POINT (-40.39274 -2.786816)'))) / (select extract(epoch from '2026-07-20 13:43:38'::timestamp) - extract(epoch from '2026-07-20 13:43: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'), 47832, 'SRID=4674;POINT (-40.392741 -2.786827)', '2026-07-20 13:43:39', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39274 -2.786816)'), GeomFromEWKT('SRID=4674;POINT (-40.392741 -2.786827)'))) / (select extract(epoch from '2026-07-20 13:43:39'::timestamp) - extract(epoch from '2026-07-20 13:43:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39274 -2.786816)'), GeomFromEWKT('SRID=4674;POINT (-40.392741 -2.786827)'))) / (select extract(epoch from '2026-07-20 13:43:39'::timestamp) - extract(epoch from '2026-07-20 13: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'), 47832, 'SRID=4674;POINT (-40.392744 -2.786857)', '2026-07-20 13:43:45', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392741 -2.786827)'), GeomFromEWKT('SRID=4674;POINT (-40.392744 -2.786857)'))) / (select extract(epoch from '2026-07-20 13:43:45'::timestamp) - extract(epoch from '2026-07-20 13:43:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392741 -2.786827)'), GeomFromEWKT('SRID=4674;POINT (-40.392744 -2.786857)'))) / (select extract(epoch from '2026-07-20 13:43:45'::timestamp) - extract(epoch from '2026-07-20 13:43: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'), 47832, 'SRID=4674;POINT (-40.392731 -2.786886)', '2026-07-20 13:43:53', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392744 -2.786857)'), GeomFromEWKT('SRID=4674;POINT (-40.392731 -2.786886)'))) / (select extract(epoch from '2026-07-20 13:43:53'::timestamp) - extract(epoch from '2026-07-20 13:43:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392744 -2.786857)'), GeomFromEWKT('SRID=4674;POINT (-40.392731 -2.786886)'))) / (select extract(epoch from '2026-07-20 13:43:53'::timestamp) - extract(epoch from '2026-07-20 13:43: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'), 47832, 'SRID=4674;POINT (-40.392709 -2.786908)', '2026-07-20 13:44:00', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392731 -2.786886)'), GeomFromEWKT('SRID=4674;POINT (-40.392709 -2.786908)'))) / (select extract(epoch from '2026-07-20 13:44:00'::timestamp) - extract(epoch from '2026-07-20 13:43:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392731 -2.786886)'), GeomFromEWKT('SRID=4674;POINT (-40.392709 -2.786908)'))) / (select extract(epoch from '2026-07-20 13:44:00'::timestamp) - extract(epoch from '2026-07-20 13: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'), 47832, 'SRID=4674;POINT (-40.392687 -2.786944)', '2026-07-20 13:44:09', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392709 -2.786908)'), GeomFromEWKT('SRID=4674;POINT (-40.392687 -2.786944)'))) / (select extract(epoch from '2026-07-20 13:44:09'::timestamp) - extract(epoch from '2026-07-20 13:44:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392709 -2.786908)'), GeomFromEWKT('SRID=4674;POINT (-40.392687 -2.786944)'))) / (select extract(epoch from '2026-07-20 13:44:09'::timestamp) - extract(epoch from '2026-07-20 13:44: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'), 47832, 'SRID=4674;POINT (-40.392669 -2.786958)', '2026-07-20 13:44:14', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392687 -2.786944)'), GeomFromEWKT('SRID=4674;POINT (-40.392669 -2.786958)'))) / (select extract(epoch from '2026-07-20 13:44:14'::timestamp) - extract(epoch from '2026-07-20 13:44:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392687 -2.786944)'), GeomFromEWKT('SRID=4674;POINT (-40.392669 -2.786958)'))) / (select extract(epoch from '2026-07-20 13:44:14'::timestamp) - extract(epoch from '2026-07-20 13:44: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'), 47832, 'SRID=4674;POINT (-40.392669 -2.786987)', '2026-07-20 13:44:25', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392669 -2.786958)'), GeomFromEWKT('SRID=4674;POINT (-40.392669 -2.786987)'))) / (select extract(epoch from '2026-07-20 13:44:25'::timestamp) - extract(epoch from '2026-07-20 13:44:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392669 -2.786958)'), GeomFromEWKT('SRID=4674;POINT (-40.392669 -2.786987)'))) / (select extract(epoch from '2026-07-20 13:44:25'::timestamp) - extract(epoch from '2026-07-20 13:44: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'), 47832, 'SRID=4674;POINT (-40.392692 -2.787025)', '2026-07-20 13:44:35', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392669 -2.786987)'), GeomFromEWKT('SRID=4674;POINT (-40.392692 -2.787025)'))) / (select extract(epoch from '2026-07-20 13:44:35'::timestamp) - extract(epoch from '2026-07-20 13:44:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392669 -2.786987)'), GeomFromEWKT('SRID=4674;POINT (-40.392692 -2.787025)'))) / (select extract(epoch from '2026-07-20 13:44:35'::timestamp) - extract(epoch from '2026-07-20 13:44: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'), 47832, 'SRID=4674;POINT (-40.392692 -2.787025)', '2026-07-20 13:44:48', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392692 -2.787025)'), GeomFromEWKT('SRID=4674;POINT (-40.392692 -2.787025)'))) / (select extract(epoch from '2026-07-20 13:44:48'::timestamp) - extract(epoch from '2026-07-20 13:44:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392692 -2.787025)'), GeomFromEWKT('SRID=4674;POINT (-40.392692 -2.787025)'))) / (select extract(epoch from '2026-07-20 13:44:48'::timestamp) - extract(epoch from '2026-07-20 13: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'), 47832, 'SRID=4674;POINT (-40.392672 -2.787019)', '2026-07-20 13:45:24', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392692 -2.787025)'), GeomFromEWKT('SRID=4674;POINT (-40.392672 -2.787019)'))) / (select extract(epoch from '2026-07-20 13:45:24'::timestamp) - extract(epoch from '2026-07-20 13:44:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392692 -2.787025)'), GeomFromEWKT('SRID=4674;POINT (-40.392672 -2.787019)'))) / (select extract(epoch from '2026-07-20 13:45:24'::timestamp) - extract(epoch from '2026-07-20 13:44: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'), 47832, 'SRID=4674;POINT (-40.392678 -2.787052)', '2026-07-20 13:45:30', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392672 -2.787019)'), GeomFromEWKT('SRID=4674;POINT (-40.392678 -2.787052)'))) / (select extract(epoch from '2026-07-20 13:45:30'::timestamp) - extract(epoch from '2026-07-20 13:45:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392672 -2.787019)'), GeomFromEWKT('SRID=4674;POINT (-40.392678 -2.787052)'))) / (select extract(epoch from '2026-07-20 13:45:30'::timestamp) - extract(epoch from '2026-07-20 13:45: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'), 47832, 'SRID=4674;POINT (-40.392732 -2.787005)', '2026-07-20 13:45:50', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392678 -2.787052)'), GeomFromEWKT('SRID=4674;POINT (-40.392732 -2.787005)'))) / (select extract(epoch from '2026-07-20 13:45:50'::timestamp) - extract(epoch from '2026-07-20 13:45:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392678 -2.787052)'), GeomFromEWKT('SRID=4674;POINT (-40.392732 -2.787005)'))) / (select extract(epoch from '2026-07-20 13:45:50'::timestamp) - extract(epoch from '2026-07-20 13:45: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'), 47832, 'SRID=4674;POINT (-40.392749 -2.78697)', '2026-07-20 13:45:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392732 -2.787005)'), GeomFromEWKT('SRID=4674;POINT (-40.392749 -2.78697)'))) / (select extract(epoch from '2026-07-20 13:45:57'::timestamp) - extract(epoch from '2026-07-20 13:45:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392732 -2.787005)'), GeomFromEWKT('SRID=4674;POINT (-40.392749 -2.78697)'))) / (select extract(epoch from '2026-07-20 13:45:57'::timestamp) - extract(epoch from '2026-07-20 13: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'), 47832, 'SRID=4674;POINT (-40.39274 -2.786899)', '2026-07-20 13:46:10', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392749 -2.78697)'), GeomFromEWKT('SRID=4674;POINT (-40.39274 -2.786899)'))) / (select extract(epoch from '2026-07-20 13:46:10'::timestamp) - extract(epoch from '2026-07-20 13:45:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392749 -2.78697)'), GeomFromEWKT('SRID=4674;POINT (-40.39274 -2.786899)'))) / (select extract(epoch from '2026-07-20 13:46:10'::timestamp) - extract(epoch from '2026-07-20 13:45: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'), 47832, 'SRID=4674;POINT (-40.392756 -2.786915)', '2026-07-20 13:46:33', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39274 -2.786899)'), GeomFromEWKT('SRID=4674;POINT (-40.392756 -2.786915)'))) / (select extract(epoch from '2026-07-20 13:46:33'::timestamp) - extract(epoch from '2026-07-20 13:46:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39274 -2.786899)'), GeomFromEWKT('SRID=4674;POINT (-40.392756 -2.786915)'))) / (select extract(epoch from '2026-07-20 13:46:33'::timestamp) - extract(epoch from '2026-07-20 13:46: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'), 47832, 'SRID=4674;POINT (-40.392769 -2.786951)', '2026-07-20 13:46:42', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392756 -2.786915)'), GeomFromEWKT('SRID=4674;POINT (-40.392769 -2.786951)'))) / (select extract(epoch from '2026-07-20 13:46:42'::timestamp) - extract(epoch from '2026-07-20 13:46:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392756 -2.786915)'), GeomFromEWKT('SRID=4674;POINT (-40.392769 -2.786951)'))) / (select extract(epoch from '2026-07-20 13:46:42'::timestamp) - extract(epoch from '2026-07-20 13:46: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'), 47832, 'SRID=4674;POINT (-40.392699 -2.786985)', '2026-07-20 13:46:51', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392769 -2.786951)'), GeomFromEWKT('SRID=4674;POINT (-40.392699 -2.786985)'))) / (select extract(epoch from '2026-07-20 13:46:51'::timestamp) - extract(epoch from '2026-07-20 13:46:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392769 -2.786951)'), GeomFromEWKT('SRID=4674;POINT (-40.392699 -2.786985)'))) / (select extract(epoch from '2026-07-20 13:46:51'::timestamp) - extract(epoch from '2026-07-20 13:46: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'), 47832, 'SRID=4674;POINT (-40.392651 -2.786996)', '2026-07-20 13:47:00', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392699 -2.786985)'), GeomFromEWKT('SRID=4674;POINT (-40.392651 -2.786996)'))) / (select extract(epoch from '2026-07-20 13:47:00'::timestamp) - extract(epoch from '2026-07-20 13:46:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392699 -2.786985)'), GeomFromEWKT('SRID=4674;POINT (-40.392651 -2.786996)'))) / (select extract(epoch from '2026-07-20 13:47:00'::timestamp) - extract(epoch from '2026-07-20 13:46: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'), 47832, 'SRID=4674;POINT (-40.39263 -2.78699)', '2026-07-20 13:47:08', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392651 -2.786996)'), GeomFromEWKT('SRID=4674;POINT (-40.39263 -2.78699)'))) / (select extract(epoch from '2026-07-20 13:47:08'::timestamp) - extract(epoch from '2026-07-20 13:47:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392651 -2.786996)'), GeomFromEWKT('SRID=4674;POINT (-40.39263 -2.78699)'))) / (select extract(epoch from '2026-07-20 13:47:08'::timestamp) - extract(epoch from '2026-07-20 13:47: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'), 47832, 'SRID=4674;POINT (-40.392668 -2.787023)', '2026-07-20 13:47:32', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39263 -2.78699)'), GeomFromEWKT('SRID=4674;POINT (-40.392668 -2.787023)'))) / (select extract(epoch from '2026-07-20 13:47:32'::timestamp) - extract(epoch from '2026-07-20 13:47:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39263 -2.78699)'), GeomFromEWKT('SRID=4674;POINT (-40.392668 -2.787023)'))) / (select extract(epoch from '2026-07-20 13:47:32'::timestamp) - extract(epoch from '2026-07-20 13:47: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'), 47832, 'SRID=4674;POINT (-40.392655 -2.786981)', '2026-07-20 13:47:48', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392668 -2.787023)'), GeomFromEWKT('SRID=4674;POINT (-40.392655 -2.786981)'))) / (select extract(epoch from '2026-07-20 13:47:48'::timestamp) - extract(epoch from '2026-07-20 13:47:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392668 -2.787023)'), GeomFromEWKT('SRID=4674;POINT (-40.392655 -2.786981)'))) / (select extract(epoch from '2026-07-20 13:47:48'::timestamp) - extract(epoch from '2026-07-20 13:47:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.392684 -2.787003)', '2026-07-20 13:48:26', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392655 -2.786981)'), GeomFromEWKT('SRID=4674;POINT (-40.392684 -2.787003)'))) / (select extract(epoch from '2026-07-20 13:48:26'::timestamp) - extract(epoch from '2026-07-20 13:47:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392655 -2.786981)'), GeomFromEWKT('SRID=4674;POINT (-40.392684 -2.787003)'))) / (select extract(epoch from '2026-07-20 13:48:26'::timestamp) - extract(epoch from '2026-07-20 13:47: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'), 47832, 'SRID=4674;POINT (-40.392722 -2.78702)', '2026-07-20 13:48:41', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392684 -2.787003)'), GeomFromEWKT('SRID=4674;POINT (-40.392722 -2.78702)'))) / (select extract(epoch from '2026-07-20 13:48:41'::timestamp) - extract(epoch from '2026-07-20 13:48:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392684 -2.787003)'), GeomFromEWKT('SRID=4674;POINT (-40.392722 -2.78702)'))) / (select extract(epoch from '2026-07-20 13:48:41'::timestamp) - extract(epoch from '2026-07-20 13:48: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'), 47832, 'SRID=4674;POINT (-40.392742 -2.78703)', '2026-07-20 13:48:52', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392722 -2.78702)'), GeomFromEWKT('SRID=4674;POINT (-40.392742 -2.78703)'))) / (select extract(epoch from '2026-07-20 13:48:52'::timestamp) - extract(epoch from '2026-07-20 13:48:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392722 -2.78702)'), GeomFromEWKT('SRID=4674;POINT (-40.392742 -2.78703)'))) / (select extract(epoch from '2026-07-20 13:48:52'::timestamp) - extract(epoch from '2026-07-20 13:48: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'), 47832, 'SRID=4674;POINT (-40.392796 -2.787058)', '2026-07-20 13:49:08', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392742 -2.78703)'), GeomFromEWKT('SRID=4674;POINT (-40.392796 -2.787058)'))) / (select extract(epoch from '2026-07-20 13:49:08'::timestamp) - extract(epoch from '2026-07-20 13:48:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392742 -2.78703)'), GeomFromEWKT('SRID=4674;POINT (-40.392796 -2.787058)'))) / (select extract(epoch from '2026-07-20 13:49:08'::timestamp) - extract(epoch from '2026-07-20 13: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'), 47832, 'SRID=4674;POINT (-40.392849 -2.787091)', '2026-07-20 13:49:23', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392796 -2.787058)'), GeomFromEWKT('SRID=4674;POINT (-40.392849 -2.787091)'))) / (select extract(epoch from '2026-07-20 13:49:23'::timestamp) - extract(epoch from '2026-07-20 13:49:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392796 -2.787058)'), GeomFromEWKT('SRID=4674;POINT (-40.392849 -2.787091)'))) / (select extract(epoch from '2026-07-20 13:49:23'::timestamp) - extract(epoch from '2026-07-20 13:49: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'), 47832, 'SRID=4674;POINT (-40.392942 -2.787092)', '2026-07-20 13:49:35', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392849 -2.787091)'), GeomFromEWKT('SRID=4674;POINT (-40.392942 -2.787092)'))) / (select extract(epoch from '2026-07-20 13:49:35'::timestamp) - extract(epoch from '2026-07-20 13:49:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392849 -2.787091)'), GeomFromEWKT('SRID=4674;POINT (-40.392942 -2.787092)'))) / (select extract(epoch from '2026-07-20 13:49:35'::timestamp) - extract(epoch from '2026-07-20 13:49: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'), 47832, 'SRID=4674;POINT (-40.393018 -2.787085)', '2026-07-20 13:49:47', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392942 -2.787092)'), GeomFromEWKT('SRID=4674;POINT (-40.393018 -2.787085)'))) / (select extract(epoch from '2026-07-20 13:49:47'::timestamp) - extract(epoch from '2026-07-20 13:49:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392942 -2.787092)'), GeomFromEWKT('SRID=4674;POINT (-40.393018 -2.787085)'))) / (select extract(epoch from '2026-07-20 13:49:47'::timestamp) - extract(epoch from '2026-07-20 13:49: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'), 47832, 'SRID=4674;POINT (-40.393054 -2.787084)', '2026-07-20 13:49:53', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393018 -2.787085)'), GeomFromEWKT('SRID=4674;POINT (-40.393054 -2.787084)'))) / (select extract(epoch from '2026-07-20 13:49:53'::timestamp) - extract(epoch from '2026-07-20 13:49:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393018 -2.787085)'), GeomFromEWKT('SRID=4674;POINT (-40.393054 -2.787084)'))) / (select extract(epoch from '2026-07-20 13:49:53'::timestamp) - extract(epoch from '2026-07-20 13: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'), 47832, 'SRID=4674;POINT (-40.393102 -2.787034)', '2026-07-20 13:50:01', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393054 -2.787084)'), GeomFromEWKT('SRID=4674;POINT (-40.393102 -2.787034)'))) / (select extract(epoch from '2026-07-20 13:50:01'::timestamp) - extract(epoch from '2026-07-20 13:49:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393054 -2.787084)'), GeomFromEWKT('SRID=4674;POINT (-40.393102 -2.787034)'))) / (select extract(epoch from '2026-07-20 13:50:01'::timestamp) - extract(epoch from '2026-07-20 13:49: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'), 47832, 'SRID=4674;POINT (-40.393158 -2.786953)', '2026-07-20 13:50:08', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393102 -2.787034)'), GeomFromEWKT('SRID=4674;POINT (-40.393158 -2.786953)'))) / (select extract(epoch from '2026-07-20 13:50:08'::timestamp) - extract(epoch from '2026-07-20 13:50:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393102 -2.787034)'), GeomFromEWKT('SRID=4674;POINT (-40.393158 -2.786953)'))) / (select extract(epoch from '2026-07-20 13:50:08'::timestamp) - extract(epoch from '2026-07-20 13:50: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'), 47832, 'SRID=4674;POINT (-40.393144 -2.78687)', '2026-07-20 13:50:17', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393158 -2.786953)'), GeomFromEWKT('SRID=4674;POINT (-40.393144 -2.78687)'))) / (select extract(epoch from '2026-07-20 13:50:17'::timestamp) - extract(epoch from '2026-07-20 13:50:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393158 -2.786953)'), GeomFromEWKT('SRID=4674;POINT (-40.393144 -2.78687)'))) / (select extract(epoch from '2026-07-20 13:50:17'::timestamp) - extract(epoch from '2026-07-20 13:50: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'), 47832, 'SRID=4674;POINT (-40.393099 -2.786877)', '2026-07-20 13:50:23', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393144 -2.78687)'), GeomFromEWKT('SRID=4674;POINT (-40.393099 -2.786877)'))) / (select extract(epoch from '2026-07-20 13:50:23'::timestamp) - extract(epoch from '2026-07-20 13:50:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393144 -2.78687)'), GeomFromEWKT('SRID=4674;POINT (-40.393099 -2.786877)'))) / (select extract(epoch from '2026-07-20 13:50:23'::timestamp) - extract(epoch from '2026-07-20 13:50: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'), 47832, 'SRID=4674;POINT (-40.393042 -2.786921)', '2026-07-20 13:50:30', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393099 -2.786877)'), GeomFromEWKT('SRID=4674;POINT (-40.393042 -2.786921)'))) / (select extract(epoch from '2026-07-20 13:50:30'::timestamp) - extract(epoch from '2026-07-20 13:50:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393099 -2.786877)'), GeomFromEWKT('SRID=4674;POINT (-40.393042 -2.786921)'))) / (select extract(epoch from '2026-07-20 13:50:30'::timestamp) - extract(epoch from '2026-07-20 13: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'), 47832, 'SRID=4674;POINT (-40.393029 -2.786921)', '2026-07-20 13:50:31', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393042 -2.786921)'), GeomFromEWKT('SRID=4674;POINT (-40.393029 -2.786921)'))) / (select extract(epoch from '2026-07-20 13:50:31'::timestamp) - extract(epoch from '2026-07-20 13:50:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393042 -2.786921)'), GeomFromEWKT('SRID=4674;POINT (-40.393029 -2.786921)'))) / (select extract(epoch from '2026-07-20 13:50:31'::timestamp) - extract(epoch from '2026-07-20 13: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'), 47832, 'SRID=4674;POINT (-40.392962 -2.7869)', '2026-07-20 13:50:38', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393029 -2.786921)'), GeomFromEWKT('SRID=4674;POINT (-40.392962 -2.7869)'))) / (select extract(epoch from '2026-07-20 13:50:38'::timestamp) - extract(epoch from '2026-07-20 13:50:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393029 -2.786921)'), GeomFromEWKT('SRID=4674;POINT (-40.392962 -2.7869)'))) / (select extract(epoch from '2026-07-20 13:50:38'::timestamp) - extract(epoch from '2026-07-20 13:50: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'), 47832, 'SRID=4674;POINT (-40.392896 -2.786885)', '2026-07-20 13:50:45', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392962 -2.7869)'), GeomFromEWKT('SRID=4674;POINT (-40.392896 -2.786885)'))) / (select extract(epoch from '2026-07-20 13:50:45'::timestamp) - extract(epoch from '2026-07-20 13:50:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392962 -2.7869)'), GeomFromEWKT('SRID=4674;POINT (-40.392896 -2.786885)'))) / (select extract(epoch from '2026-07-20 13:50:45'::timestamp) - extract(epoch from '2026-07-20 13: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'), 47832, 'SRID=4674;POINT (-40.392798 -2.786859)', '2026-07-20 13:50:53', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392896 -2.786885)'), GeomFromEWKT('SRID=4674;POINT (-40.392798 -2.786859)'))) / (select extract(epoch from '2026-07-20 13:50:53'::timestamp) - extract(epoch from '2026-07-20 13:50:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392896 -2.786885)'), GeomFromEWKT('SRID=4674;POINT (-40.392798 -2.786859)'))) / (select extract(epoch from '2026-07-20 13:50:53'::timestamp) - extract(epoch from '2026-07-20 13: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'), 47832, 'SRID=4674;POINT (-40.392729 -2.786823)', '2026-07-20 13:51:01', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392798 -2.786859)'), GeomFromEWKT('SRID=4674;POINT (-40.392729 -2.786823)'))) / (select extract(epoch from '2026-07-20 13:51:01'::timestamp) - extract(epoch from '2026-07-20 13:50:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392798 -2.786859)'), GeomFromEWKT('SRID=4674;POINT (-40.392729 -2.786823)'))) / (select extract(epoch from '2026-07-20 13:51:01'::timestamp) - extract(epoch from '2026-07-20 13: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'), 47832, 'SRID=4674;POINT (-40.392629 -2.786794)', '2026-07-20 13:51:08', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392729 -2.786823)'), GeomFromEWKT('SRID=4674;POINT (-40.392629 -2.786794)'))) / (select extract(epoch from '2026-07-20 13:51:08'::timestamp) - extract(epoch from '2026-07-20 13:51:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392729 -2.786823)'), GeomFromEWKT('SRID=4674;POINT (-40.392629 -2.786794)'))) / (select extract(epoch from '2026-07-20 13:51:08'::timestamp) - extract(epoch from '2026-07-20 13:51: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'), 47832, 'SRID=4674;POINT (-40.392562 -2.786767)', '2026-07-20 13:51:15', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392629 -2.786794)'), GeomFromEWKT('SRID=4674;POINT (-40.392562 -2.786767)'))) / (select extract(epoch from '2026-07-20 13:51:15'::timestamp) - extract(epoch from '2026-07-20 13:51:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392629 -2.786794)'), GeomFromEWKT('SRID=4674;POINT (-40.392562 -2.786767)'))) / (select extract(epoch from '2026-07-20 13:51:15'::timestamp) - extract(epoch from '2026-07-20 13: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'), 47832, 'SRID=4674;POINT (-40.392516 -2.78677)', '2026-07-20 13:51:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392562 -2.786767)'), GeomFromEWKT('SRID=4674;POINT (-40.392516 -2.78677)'))) / (select extract(epoch from '2026-07-20 13:51:21'::timestamp) - extract(epoch from '2026-07-20 13:51:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392562 -2.786767)'), GeomFromEWKT('SRID=4674;POINT (-40.392516 -2.78677)'))) / (select extract(epoch from '2026-07-20 13:51:21'::timestamp) - extract(epoch from '2026-07-20 13:51:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.39247 -2.786758)', '2026-07-20 13:51:29', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392516 -2.78677)'), GeomFromEWKT('SRID=4674;POINT (-40.39247 -2.786758)'))) / (select extract(epoch from '2026-07-20 13:51:29'::timestamp) - extract(epoch from '2026-07-20 13:51:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392516 -2.78677)'), GeomFromEWKT('SRID=4674;POINT (-40.39247 -2.786758)'))) / (select extract(epoch from '2026-07-20 13:51:29'::timestamp) - extract(epoch from '2026-07-20 13:51: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'), 47832, 'SRID=4674;POINT (-40.392476 -2.7867)', '2026-07-20 13:51:35', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39247 -2.786758)'), GeomFromEWKT('SRID=4674;POINT (-40.392476 -2.7867)'))) / (select extract(epoch from '2026-07-20 13:51:35'::timestamp) - extract(epoch from '2026-07-20 13:51:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39247 -2.786758)'), GeomFromEWKT('SRID=4674;POINT (-40.392476 -2.7867)'))) / (select extract(epoch from '2026-07-20 13:51:35'::timestamp) - extract(epoch from '2026-07-20 13:51: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'), 47832, 'SRID=4674;POINT (-40.392518 -2.786619)', '2026-07-20 13:51:44', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392476 -2.7867)'), GeomFromEWKT('SRID=4674;POINT (-40.392518 -2.786619)'))) / (select extract(epoch from '2026-07-20 13:51:44'::timestamp) - extract(epoch from '2026-07-20 13:51:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392476 -2.7867)'), GeomFromEWKT('SRID=4674;POINT (-40.392518 -2.786619)'))) / (select extract(epoch from '2026-07-20 13:51:44'::timestamp) - extract(epoch from '2026-07-20 13: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'), 47832, 'SRID=4674;POINT (-40.392538 -2.786572)', '2026-07-20 13:51:50', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392518 -2.786619)'), GeomFromEWKT('SRID=4674;POINT (-40.392538 -2.786572)'))) / (select extract(epoch from '2026-07-20 13:51:50'::timestamp) - extract(epoch from '2026-07-20 13:51:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392518 -2.786619)'), GeomFromEWKT('SRID=4674;POINT (-40.392538 -2.786572)'))) / (select extract(epoch from '2026-07-20 13:51:50'::timestamp) - extract(epoch from '2026-07-20 13:51: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'), 47832, 'SRID=4674;POINT (-40.392525 -2.78655)', '2026-07-20 13:51:59', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392538 -2.786572)'), GeomFromEWKT('SRID=4674;POINT (-40.392525 -2.78655)'))) / (select extract(epoch from '2026-07-20 13:51:59'::timestamp) - extract(epoch from '2026-07-20 13:51:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392538 -2.786572)'), GeomFromEWKT('SRID=4674;POINT (-40.392525 -2.78655)'))) / (select extract(epoch from '2026-07-20 13:51:59'::timestamp) - extract(epoch from '2026-07-20 13:51:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.392526 -2.786552)', '2026-07-20 13:52:14', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392525 -2.78655)'), GeomFromEWKT('SRID=4674;POINT (-40.392526 -2.786552)'))) / (select extract(epoch from '2026-07-20 13:52:14'::timestamp) - extract(epoch from '2026-07-20 13:51:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392525 -2.78655)'), GeomFromEWKT('SRID=4674;POINT (-40.392526 -2.786552)'))) / (select extract(epoch from '2026-07-20 13:52:14'::timestamp) - extract(epoch from '2026-07-20 13:51:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.39251 -2.786594)', '2026-07-20 13:52:31', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392526 -2.786552)'), GeomFromEWKT('SRID=4674;POINT (-40.39251 -2.786594)'))) / (select extract(epoch from '2026-07-20 13:52:31'::timestamp) - extract(epoch from '2026-07-20 13:52:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392526 -2.786552)'), GeomFromEWKT('SRID=4674;POINT (-40.39251 -2.786594)'))) / (select extract(epoch from '2026-07-20 13:52:31'::timestamp) - extract(epoch from '2026-07-20 13:52: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'), 47832, 'SRID=4674;POINT (-40.392498 -2.786656)', '2026-07-20 13:52:41', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39251 -2.786594)'), GeomFromEWKT('SRID=4674;POINT (-40.392498 -2.786656)'))) / (select extract(epoch from '2026-07-20 13:52:41'::timestamp) - extract(epoch from '2026-07-20 13:52:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39251 -2.786594)'), GeomFromEWKT('SRID=4674;POINT (-40.392498 -2.786656)'))) / (select extract(epoch from '2026-07-20 13:52:41'::timestamp) - extract(epoch from '2026-07-20 13:52: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'), 47832, 'SRID=4674;POINT (-40.392491 -2.786737)', '2026-07-20 13:52:48', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392498 -2.786656)'), GeomFromEWKT('SRID=4674;POINT (-40.392491 -2.786737)'))) / (select extract(epoch from '2026-07-20 13:52:48'::timestamp) - extract(epoch from '2026-07-20 13:52:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392498 -2.786656)'), GeomFromEWKT('SRID=4674;POINT (-40.392491 -2.786737)'))) / (select extract(epoch from '2026-07-20 13:52:48'::timestamp) - extract(epoch from '2026-07-20 13:52: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'), 47832, 'SRID=4674;POINT (-40.392472 -2.786749)', '2026-07-20 13:52:54', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392491 -2.786737)'), GeomFromEWKT('SRID=4674;POINT (-40.392472 -2.786749)'))) / (select extract(epoch from '2026-07-20 13:52:54'::timestamp) - extract(epoch from '2026-07-20 13:52:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392491 -2.786737)'), GeomFromEWKT('SRID=4674;POINT (-40.392472 -2.786749)'))) / (select extract(epoch from '2026-07-20 13:52:54'::timestamp) - extract(epoch from '2026-07-20 13:52: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'), 47832, 'SRID=4674;POINT (-40.392461 -2.786751)', '2026-07-20 13:53:05', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392472 -2.786749)'), GeomFromEWKT('SRID=4674;POINT (-40.392461 -2.786751)'))) / (select extract(epoch from '2026-07-20 13:53:05'::timestamp) - extract(epoch from '2026-07-20 13:52:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392472 -2.786749)'), GeomFromEWKT('SRID=4674;POINT (-40.392461 -2.786751)'))) / (select extract(epoch from '2026-07-20 13:53:05'::timestamp) - extract(epoch from '2026-07-20 13:52: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'), 47832, 'SRID=4674;POINT (-40.392514 -2.786732)', '2026-07-20 13:53:26', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392461 -2.786751)'), GeomFromEWKT('SRID=4674;POINT (-40.392514 -2.786732)'))) / (select extract(epoch from '2026-07-20 13:53:26'::timestamp) - extract(epoch from '2026-07-20 13:53:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392461 -2.786751)'), GeomFromEWKT('SRID=4674;POINT (-40.392514 -2.786732)'))) / (select extract(epoch from '2026-07-20 13:53:26'::timestamp) - extract(epoch from '2026-07-20 13:53: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'), 47832, 'SRID=4674;POINT (-40.392595 -2.786717)', '2026-07-20 13:53:38', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392514 -2.786732)'), GeomFromEWKT('SRID=4674;POINT (-40.392595 -2.786717)'))) / (select extract(epoch from '2026-07-20 13:53:38'::timestamp) - extract(epoch from '2026-07-20 13:53:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392514 -2.786732)'), GeomFromEWKT('SRID=4674;POINT (-40.392595 -2.786717)'))) / (select extract(epoch from '2026-07-20 13:53:38'::timestamp) - extract(epoch from '2026-07-20 13:53: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'), 47832, 'SRID=4674;POINT (-40.392696 -2.786713)', '2026-07-20 13:53:52', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392595 -2.786717)'), GeomFromEWKT('SRID=4674;POINT (-40.392696 -2.786713)'))) / (select extract(epoch from '2026-07-20 13:53:52'::timestamp) - extract(epoch from '2026-07-20 13:53:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392595 -2.786717)'), GeomFromEWKT('SRID=4674;POINT (-40.392696 -2.786713)'))) / (select extract(epoch from '2026-07-20 13:53:52'::timestamp) - extract(epoch from '2026-07-20 13:53: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'), 47832, 'SRID=4674;POINT (-40.392746 -2.786623)', '2026-07-20 13:54:01', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392696 -2.786713)'), GeomFromEWKT('SRID=4674;POINT (-40.392746 -2.786623)'))) / (select extract(epoch from '2026-07-20 13:54:01'::timestamp) - extract(epoch from '2026-07-20 13:53:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392696 -2.786713)'), GeomFromEWKT('SRID=4674;POINT (-40.392746 -2.786623)'))) / (select extract(epoch from '2026-07-20 13:54:01'::timestamp) - extract(epoch from '2026-07-20 13:53: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'), 47832, 'SRID=4674;POINT (-40.392694 -2.786586)', '2026-07-20 13:54:09', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392746 -2.786623)'), GeomFromEWKT('SRID=4674;POINT (-40.392694 -2.786586)'))) / (select extract(epoch from '2026-07-20 13:54:09'::timestamp) - extract(epoch from '2026-07-20 13:54:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392746 -2.786623)'), GeomFromEWKT('SRID=4674;POINT (-40.392694 -2.786586)'))) / (select extract(epoch from '2026-07-20 13:54:09'::timestamp) - extract(epoch from '2026-07-20 13:54: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'), 47832, 'SRID=4674;POINT (-40.39263 -2.786631)', '2026-07-20 13:54:23', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392694 -2.786586)'), GeomFromEWKT('SRID=4674;POINT (-40.39263 -2.786631)'))) / (select extract(epoch from '2026-07-20 13:54:23'::timestamp) - extract(epoch from '2026-07-20 13:54:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392694 -2.786586)'), GeomFromEWKT('SRID=4674;POINT (-40.39263 -2.786631)'))) / (select extract(epoch from '2026-07-20 13:54:23'::timestamp) - extract(epoch from '2026-07-20 13:54: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'), 47832, 'SRID=4674;POINT (-40.392584 -2.786642)', '2026-07-20 13:54:32', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39263 -2.786631)'), GeomFromEWKT('SRID=4674;POINT (-40.392584 -2.786642)'))) / (select extract(epoch from '2026-07-20 13:54:32'::timestamp) - extract(epoch from '2026-07-20 13:54:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39263 -2.786631)'), GeomFromEWKT('SRID=4674;POINT (-40.392584 -2.786642)'))) / (select extract(epoch from '2026-07-20 13:54:32'::timestamp) - extract(epoch from '2026-07-20 13:54: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'), 47832, 'SRID=4674;POINT (-40.392558 -2.786672)', '2026-07-20 13:54:40', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392584 -2.786642)'), GeomFromEWKT('SRID=4674;POINT (-40.392558 -2.786672)'))) / (select extract(epoch from '2026-07-20 13:54:40'::timestamp) - extract(epoch from '2026-07-20 13:54:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392584 -2.786642)'), GeomFromEWKT('SRID=4674;POINT (-40.392558 -2.786672)'))) / (select extract(epoch from '2026-07-20 13:54:40'::timestamp) - extract(epoch from '2026-07-20 13: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'), 47832, 'SRID=4674;POINT (-40.392525 -2.786714)', '2026-07-20 13:54:53', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392558 -2.786672)'), GeomFromEWKT('SRID=4674;POINT (-40.392525 -2.786714)'))) / (select extract(epoch from '2026-07-20 13:54:53'::timestamp) - extract(epoch from '2026-07-20 13:54:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392558 -2.786672)'), GeomFromEWKT('SRID=4674;POINT (-40.392525 -2.786714)'))) / (select extract(epoch from '2026-07-20 13:54:53'::timestamp) - extract(epoch from '2026-07-20 13:54: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'), 47832, 'SRID=4674;POINT (-40.392523 -2.78672)', '2026-07-20 13:55:01', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392525 -2.786714)'), GeomFromEWKT('SRID=4674;POINT (-40.392523 -2.78672)'))) / (select extract(epoch from '2026-07-20 13:55:01'::timestamp) - extract(epoch from '2026-07-20 13:54:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392525 -2.786714)'), GeomFromEWKT('SRID=4674;POINT (-40.392523 -2.78672)'))) / (select extract(epoch from '2026-07-20 13:55:01'::timestamp) - extract(epoch from '2026-07-20 13:54: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'), 47832, 'SRID=4674;POINT (-40.392514 -2.786725)', '2026-07-20 13:55:08', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392523 -2.78672)'), GeomFromEWKT('SRID=4674;POINT (-40.392514 -2.786725)'))) / (select extract(epoch from '2026-07-20 13:55:08'::timestamp) - extract(epoch from '2026-07-20 13:55:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392523 -2.78672)'), GeomFromEWKT('SRID=4674;POINT (-40.392514 -2.786725)'))) / (select extract(epoch from '2026-07-20 13:55:08'::timestamp) - extract(epoch from '2026-07-20 13:55: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'), 47832, 'SRID=4674;POINT (-40.392516 -2.786716)', '2026-07-20 13:55:56', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392514 -2.786725)'), GeomFromEWKT('SRID=4674;POINT (-40.392516 -2.786716)'))) / (select extract(epoch from '2026-07-20 13:55:56'::timestamp) - extract(epoch from '2026-07-20 13:55:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392514 -2.786725)'), GeomFromEWKT('SRID=4674;POINT (-40.392516 -2.786716)'))) / (select extract(epoch from '2026-07-20 13:55:56'::timestamp) - extract(epoch from '2026-07-20 13:55:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.392583 -2.786719)', '2026-07-20 13:56:06', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392516 -2.786716)'), GeomFromEWKT('SRID=4674;POINT (-40.392583 -2.786719)'))) / (select extract(epoch from '2026-07-20 13:56:06'::timestamp) - extract(epoch from '2026-07-20 13:55:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392516 -2.786716)'), GeomFromEWKT('SRID=4674;POINT (-40.392583 -2.786719)'))) / (select extract(epoch from '2026-07-20 13:56:06'::timestamp) - extract(epoch from '2026-07-20 13:55:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.392594 -2.786716)', '2026-07-20 13:56:07', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392583 -2.786719)'), GeomFromEWKT('SRID=4674;POINT (-40.392594 -2.786716)'))) / (select extract(epoch from '2026-07-20 13:56:07'::timestamp) - extract(epoch from '2026-07-20 13:56:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392583 -2.786719)'), GeomFromEWKT('SRID=4674;POINT (-40.392594 -2.786716)'))) / (select extract(epoch from '2026-07-20 13:56:07'::timestamp) - extract(epoch from '2026-07-20 13:56: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'), 47832, 'SRID=4674;POINT (-40.392688 -2.786656)', '2026-07-20 13:56:15', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392594 -2.786716)'), GeomFromEWKT('SRID=4674;POINT (-40.392688 -2.786656)'))) / (select extract(epoch from '2026-07-20 13:56:15'::timestamp) - extract(epoch from '2026-07-20 13:56:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392594 -2.786716)'), GeomFromEWKT('SRID=4674;POINT (-40.392688 -2.786656)'))) / (select extract(epoch from '2026-07-20 13:56:15'::timestamp) - extract(epoch from '2026-07-20 13:56: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'), 47832, 'SRID=4674;POINT (-40.392703 -2.7866)', '2026-07-20 13:56:22', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392688 -2.786656)'), GeomFromEWKT('SRID=4674;POINT (-40.392703 -2.7866)'))) / (select extract(epoch from '2026-07-20 13:56:22'::timestamp) - extract(epoch from '2026-07-20 13:56:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392688 -2.786656)'), GeomFromEWKT('SRID=4674;POINT (-40.392703 -2.7866)'))) / (select extract(epoch from '2026-07-20 13:56:22'::timestamp) - extract(epoch from '2026-07-20 13:56: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'), 47832, 'SRID=4674;POINT (-40.392676 -2.786586)', '2026-07-20 13:56:29', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392703 -2.7866)'), GeomFromEWKT('SRID=4674;POINT (-40.392676 -2.786586)'))) / (select extract(epoch from '2026-07-20 13:56:29'::timestamp) - extract(epoch from '2026-07-20 13:56:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392703 -2.7866)'), GeomFromEWKT('SRID=4674;POINT (-40.392676 -2.786586)'))) / (select extract(epoch from '2026-07-20 13:56:29'::timestamp) - extract(epoch from '2026-07-20 13:56: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'), 47832, 'SRID=4674;POINT (-40.392666 -2.786611)', '2026-07-20 13:56:36', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392676 -2.786586)'), GeomFromEWKT('SRID=4674;POINT (-40.392666 -2.786611)'))) / (select extract(epoch from '2026-07-20 13:56:36'::timestamp) - extract(epoch from '2026-07-20 13:56:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392676 -2.786586)'), GeomFromEWKT('SRID=4674;POINT (-40.392666 -2.786611)'))) / (select extract(epoch from '2026-07-20 13:56:36'::timestamp) - extract(epoch from '2026-07-20 13:56: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'), 47832, 'SRID=4674;POINT (-40.392646 -2.786665)', '2026-07-20 13:56:44', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392666 -2.786611)'), GeomFromEWKT('SRID=4674;POINT (-40.392646 -2.786665)'))) / (select extract(epoch from '2026-07-20 13:56:44'::timestamp) - extract(epoch from '2026-07-20 13:56:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392666 -2.786611)'), GeomFromEWKT('SRID=4674;POINT (-40.392646 -2.786665)'))) / (select extract(epoch from '2026-07-20 13:56:44'::timestamp) - extract(epoch from '2026-07-20 13:56: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'), 47832, 'SRID=4674;POINT (-40.392627 -2.786703)', '2026-07-20 13:56:56', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392646 -2.786665)'), GeomFromEWKT('SRID=4674;POINT (-40.392627 -2.786703)'))) / (select extract(epoch from '2026-07-20 13:56:56'::timestamp) - extract(epoch from '2026-07-20 13:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392646 -2.786665)'), GeomFromEWKT('SRID=4674;POINT (-40.392627 -2.786703)'))) / (select extract(epoch from '2026-07-20 13:56:56'::timestamp) - extract(epoch from '2026-07-20 13:56: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'), 47832, 'SRID=4674;POINT (-40.392589 -2.786702)', '2026-07-20 13:57:03', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392627 -2.786703)'), GeomFromEWKT('SRID=4674;POINT (-40.392589 -2.786702)'))) / (select extract(epoch from '2026-07-20 13:57:03'::timestamp) - extract(epoch from '2026-07-20 13:56:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392627 -2.786703)'), GeomFromEWKT('SRID=4674;POINT (-40.392589 -2.786702)'))) / (select extract(epoch from '2026-07-20 13:57:03'::timestamp) - extract(epoch from '2026-07-20 13:56:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.392547 -2.786719)', '2026-07-20 13:57:13', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392589 -2.786702)'), GeomFromEWKT('SRID=4674;POINT (-40.392547 -2.786719)'))) / (select extract(epoch from '2026-07-20 13:57:13'::timestamp) - extract(epoch from '2026-07-20 13:57:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392589 -2.786702)'), GeomFromEWKT('SRID=4674;POINT (-40.392547 -2.786719)'))) / (select extract(epoch from '2026-07-20 13:57:13'::timestamp) - extract(epoch from '2026-07-20 13:57: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'), 47832, 'SRID=4674;POINT (-40.392541 -2.786717)', '2026-07-20 13:57:25', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392547 -2.786719)'), GeomFromEWKT('SRID=4674;POINT (-40.392541 -2.786717)'))) / (select extract(epoch from '2026-07-20 13:57:25'::timestamp) - extract(epoch from '2026-07-20 13:57:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392547 -2.786719)'), GeomFromEWKT('SRID=4674;POINT (-40.392541 -2.786717)'))) / (select extract(epoch from '2026-07-20 13:57:25'::timestamp) - extract(epoch from '2026-07-20 13: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'), 47832, 'SRID=4674;POINT (-40.392605 -2.786705)', '2026-07-20 13:58:16', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392541 -2.786717)'), GeomFromEWKT('SRID=4674;POINT (-40.392605 -2.786705)'))) / (select extract(epoch from '2026-07-20 13:58:16'::timestamp) - extract(epoch from '2026-07-20 13:57:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392541 -2.786717)'), GeomFromEWKT('SRID=4674;POINT (-40.392605 -2.786705)'))) / (select extract(epoch from '2026-07-20 13:58:16'::timestamp) - extract(epoch from '2026-07-20 13:57: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'), 47832, 'SRID=4674;POINT (-40.392675 -2.786697)', '2026-07-20 13:58:28', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392605 -2.786705)'), GeomFromEWKT('SRID=4674;POINT (-40.392675 -2.786697)'))) / (select extract(epoch from '2026-07-20 13:58:28'::timestamp) - extract(epoch from '2026-07-20 13:58:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392605 -2.786705)'), GeomFromEWKT('SRID=4674;POINT (-40.392675 -2.786697)'))) / (select extract(epoch from '2026-07-20 13:58:28'::timestamp) - extract(epoch from '2026-07-20 13:58: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'), 47832, 'SRID=4674;POINT (-40.39278 -2.786701)', '2026-07-20 13:58:44', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392675 -2.786697)'), GeomFromEWKT('SRID=4674;POINT (-40.39278 -2.786701)'))) / (select extract(epoch from '2026-07-20 13:58:44'::timestamp) - extract(epoch from '2026-07-20 13:58:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392675 -2.786697)'), GeomFromEWKT('SRID=4674;POINT (-40.39278 -2.786701)'))) / (select extract(epoch from '2026-07-20 13:58:44'::timestamp) - extract(epoch from '2026-07-20 13:58: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'), 47832, 'SRID=4674;POINT (-40.392839 -2.786718)', '2026-07-20 13:58:57', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39278 -2.786701)'), GeomFromEWKT('SRID=4674;POINT (-40.392839 -2.786718)'))) / (select extract(epoch from '2026-07-20 13:58:57'::timestamp) - extract(epoch from '2026-07-20 13:58:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39278 -2.786701)'), GeomFromEWKT('SRID=4674;POINT (-40.392839 -2.786718)'))) / (select extract(epoch from '2026-07-20 13:58:57'::timestamp) - extract(epoch from '2026-07-20 13:58: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'), 47832, 'SRID=4674;POINT (-40.392933 -2.786712)', '2026-07-20 13:59:15', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392839 -2.786718)'), GeomFromEWKT('SRID=4674;POINT (-40.392933 -2.786712)'))) / (select extract(epoch from '2026-07-20 13:59:15'::timestamp) - extract(epoch from '2026-07-20 13:58:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392839 -2.786718)'), GeomFromEWKT('SRID=4674;POINT (-40.392933 -2.786712)'))) / (select extract(epoch from '2026-07-20 13:59:15'::timestamp) - extract(epoch from '2026-07-20 13:58:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.393019 -2.786716)', '2026-07-20 13:59:29', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392933 -2.786712)'), GeomFromEWKT('SRID=4674;POINT (-40.393019 -2.786716)'))) / (select extract(epoch from '2026-07-20 13:59:29'::timestamp) - extract(epoch from '2026-07-20 13:59:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392933 -2.786712)'), GeomFromEWKT('SRID=4674;POINT (-40.393019 -2.786716)'))) / (select extract(epoch from '2026-07-20 13:59:29'::timestamp) - extract(epoch from '2026-07-20 13:59:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.393113 -2.78669)', '2026-07-20 13:59:44', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393019 -2.786716)'), GeomFromEWKT('SRID=4674;POINT (-40.393113 -2.78669)'))) / (select extract(epoch from '2026-07-20 13:59:44'::timestamp) - extract(epoch from '2026-07-20 13:59:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393019 -2.786716)'), GeomFromEWKT('SRID=4674;POINT (-40.393113 -2.78669)'))) / (select extract(epoch from '2026-07-20 13:59:44'::timestamp) - extract(epoch from '2026-07-20 13:59: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'), 47832, 'SRID=4674;POINT (-40.39319 -2.786697)', '2026-07-20 13:59:59', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393113 -2.78669)'), GeomFromEWKT('SRID=4674;POINT (-40.39319 -2.786697)'))) / (select extract(epoch from '2026-07-20 13:59:59'::timestamp) - extract(epoch from '2026-07-20 13:59:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393113 -2.78669)'), GeomFromEWKT('SRID=4674;POINT (-40.39319 -2.786697)'))) / (select extract(epoch from '2026-07-20 13:59:59'::timestamp) - extract(epoch from '2026-07-20 13:59: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'), 47832, 'SRID=4674;POINT (-40.393264 -2.786632)', '2026-07-20 14:00:12', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39319 -2.786697)'), GeomFromEWKT('SRID=4674;POINT (-40.393264 -2.786632)'))) / (select extract(epoch from '2026-07-20 14:00:12'::timestamp) - extract(epoch from '2026-07-20 13:59:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39319 -2.786697)'), GeomFromEWKT('SRID=4674;POINT (-40.393264 -2.786632)'))) / (select extract(epoch from '2026-07-20 14:00:12'::timestamp) - extract(epoch from '2026-07-20 13: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'), 47832, 'SRID=4674;POINT (-40.393239 -2.786532)', '2026-07-20 14:00:21', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393264 -2.786632)'), GeomFromEWKT('SRID=4674;POINT (-40.393239 -2.786532)'))) / (select extract(epoch from '2026-07-20 14:00:21'::timestamp) - extract(epoch from '2026-07-20 14:00:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393264 -2.786632)'), GeomFromEWKT('SRID=4674;POINT (-40.393239 -2.786532)'))) / (select extract(epoch from '2026-07-20 14:00:21'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.393226 -2.786529)', '2026-07-20 14:00:22', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393239 -2.786532)'), GeomFromEWKT('SRID=4674;POINT (-40.393226 -2.786529)'))) / (select extract(epoch from '2026-07-20 14:00:22'::timestamp) - extract(epoch from '2026-07-20 14:00:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393239 -2.786532)'), GeomFromEWKT('SRID=4674;POINT (-40.393226 -2.786529)'))) / (select extract(epoch from '2026-07-20 14:00:22'::timestamp) - extract(epoch from '2026-07-20 14:00:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.393132 -2.786564)', '2026-07-20 14:00:29', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393226 -2.786529)'), GeomFromEWKT('SRID=4674;POINT (-40.393132 -2.786564)'))) / (select extract(epoch from '2026-07-20 14:00:29'::timestamp) - extract(epoch from '2026-07-20 14:00:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393226 -2.786529)'), GeomFromEWKT('SRID=4674;POINT (-40.393132 -2.786564)'))) / (select extract(epoch from '2026-07-20 14:00:29'::timestamp) - extract(epoch from '2026-07-20 14:00: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'), 47832, 'SRID=4674;POINT (-40.393047 -2.786652)', '2026-07-20 14:00:35', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393132 -2.786564)'), GeomFromEWKT('SRID=4674;POINT (-40.393047 -2.786652)'))) / (select extract(epoch from '2026-07-20 14:00:35'::timestamp) - extract(epoch from '2026-07-20 14:00:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393132 -2.786564)'), GeomFromEWKT('SRID=4674;POINT (-40.393047 -2.786652)'))) / (select extract(epoch from '2026-07-20 14:00:35'::timestamp) - extract(epoch from '2026-07-20 14:00: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'), 47832, 'SRID=4674;POINT (-40.392909 -2.786775)', '2026-07-20 14:00:43', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393047 -2.786652)'), GeomFromEWKT('SRID=4674;POINT (-40.392909 -2.786775)'))) / (select extract(epoch from '2026-07-20 14:00:43'::timestamp) - extract(epoch from '2026-07-20 14:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393047 -2.786652)'), GeomFromEWKT('SRID=4674;POINT (-40.392909 -2.786775)'))) / (select extract(epoch from '2026-07-20 14:00:43'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.392756 -2.786868)', '2026-07-20 14:00:50', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392909 -2.786775)'), GeomFromEWKT('SRID=4674;POINT (-40.392756 -2.786868)'))) / (select extract(epoch from '2026-07-20 14:00:50'::timestamp) - extract(epoch from '2026-07-20 14:00:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392909 -2.786775)'), GeomFromEWKT('SRID=4674;POINT (-40.392756 -2.786868)'))) / (select extract(epoch from '2026-07-20 14:00:50'::timestamp) - extract(epoch from '2026-07-20 14:00: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'), 47832, 'SRID=4674;POINT (-40.392638 -2.786954)', '2026-07-20 14:00:56', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392756 -2.786868)'), GeomFromEWKT('SRID=4674;POINT (-40.392638 -2.786954)'))) / (select extract(epoch from '2026-07-20 14:00:56'::timestamp) - extract(epoch from '2026-07-20 14:00:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392756 -2.786868)'), GeomFromEWKT('SRID=4674;POINT (-40.392638 -2.786954)'))) / (select extract(epoch from '2026-07-20 14:00:56'::timestamp) - extract(epoch from '2026-07-20 14:00: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'), 47832, 'SRID=4674;POINT (-40.392521 -2.787034)', '2026-07-20 14:01:02', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392638 -2.786954)'), GeomFromEWKT('SRID=4674;POINT (-40.392521 -2.787034)'))) / (select extract(epoch from '2026-07-20 14:01:02'::timestamp) - extract(epoch from '2026-07-20 14:00:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392638 -2.786954)'), GeomFromEWKT('SRID=4674;POINT (-40.392521 -2.787034)'))) / (select extract(epoch from '2026-07-20 14:01:02'::timestamp) - extract(epoch from '2026-07-20 14:00: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'), 47832, 'SRID=4674;POINT (-40.392387 -2.787137)', '2026-07-20 14:01:10', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392521 -2.787034)'), GeomFromEWKT('SRID=4674;POINT (-40.392387 -2.787137)'))) / (select extract(epoch from '2026-07-20 14:01:10'::timestamp) - extract(epoch from '2026-07-20 14:01:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392521 -2.787034)'), GeomFromEWKT('SRID=4674;POINT (-40.392387 -2.787137)'))) / (select extract(epoch from '2026-07-20 14:01:10'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.392256 -2.787247)', '2026-07-20 14:01:19', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392387 -2.787137)'), GeomFromEWKT('SRID=4674;POINT (-40.392256 -2.787247)'))) / (select extract(epoch from '2026-07-20 14:01:19'::timestamp) - extract(epoch from '2026-07-20 14:01:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392387 -2.787137)'), GeomFromEWKT('SRID=4674;POINT (-40.392256 -2.787247)'))) / (select extract(epoch from '2026-07-20 14:01:19'::timestamp) - extract(epoch from '2026-07-20 14:01:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.392172 -2.787332)', '2026-07-20 14:01:25', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392256 -2.787247)'), GeomFromEWKT('SRID=4674;POINT (-40.392172 -2.787332)'))) / (select extract(epoch from '2026-07-20 14:01:25'::timestamp) - extract(epoch from '2026-07-20 14:01:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392256 -2.787247)'), GeomFromEWKT('SRID=4674;POINT (-40.392172 -2.787332)'))) / (select extract(epoch from '2026-07-20 14:01:25'::timestamp) - extract(epoch from '2026-07-20 14:01:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.392081 -2.787429)', '2026-07-20 14:01:32', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392172 -2.787332)'), GeomFromEWKT('SRID=4674;POINT (-40.392081 -2.787429)'))) / (select extract(epoch from '2026-07-20 14:01:32'::timestamp) - extract(epoch from '2026-07-20 14:01:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392172 -2.787332)'), GeomFromEWKT('SRID=4674;POINT (-40.392081 -2.787429)'))) / (select extract(epoch from '2026-07-20 14:01:32'::timestamp) - extract(epoch from '2026-07-20 14:01:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.391946 -2.78752)', '2026-07-20 14:01:39', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392081 -2.787429)'), GeomFromEWKT('SRID=4674;POINT (-40.391946 -2.78752)'))) / (select extract(epoch from '2026-07-20 14:01:39'::timestamp) - extract(epoch from '2026-07-20 14:01:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392081 -2.787429)'), GeomFromEWKT('SRID=4674;POINT (-40.391946 -2.78752)'))) / (select extract(epoch from '2026-07-20 14:01:39'::timestamp) - extract(epoch from '2026-07-20 14:01:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.391802 -2.787622)', '2026-07-20 14:01:47', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391946 -2.78752)'), GeomFromEWKT('SRID=4674;POINT (-40.391802 -2.787622)'))) / (select extract(epoch from '2026-07-20 14:01:47'::timestamp) - extract(epoch from '2026-07-20 14:01:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391946 -2.78752)'), GeomFromEWKT('SRID=4674;POINT (-40.391802 -2.787622)'))) / (select extract(epoch from '2026-07-20 14:01:47'::timestamp) - extract(epoch from '2026-07-20 14:01: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'), 47832, 'SRID=4674;POINT (-40.391663 -2.7877)', '2026-07-20 14:01:55', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391802 -2.787622)'), GeomFromEWKT('SRID=4674;POINT (-40.391663 -2.7877)'))) / (select extract(epoch from '2026-07-20 14:01:55'::timestamp) - extract(epoch from '2026-07-20 14:01:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391802 -2.787622)'), GeomFromEWKT('SRID=4674;POINT (-40.391663 -2.7877)'))) / (select extract(epoch from '2026-07-20 14:01:55'::timestamp) - extract(epoch from '2026-07-20 14:01: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'), 47832, 'SRID=4674;POINT (-40.391543 -2.787785)', '2026-07-20 14:02:02', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391663 -2.7877)'), GeomFromEWKT('SRID=4674;POINT (-40.391543 -2.787785)'))) / (select extract(epoch from '2026-07-20 14:02:02'::timestamp) - extract(epoch from '2026-07-20 14:01:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391663 -2.7877)'), GeomFromEWKT('SRID=4674;POINT (-40.391543 -2.787785)'))) / (select extract(epoch from '2026-07-20 14:02:02'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.391438 -2.787844)', '2026-07-20 14:02:08', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391543 -2.787785)'), GeomFromEWKT('SRID=4674;POINT (-40.391438 -2.787844)'))) / (select extract(epoch from '2026-07-20 14:02:08'::timestamp) - extract(epoch from '2026-07-20 14:02:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391543 -2.787785)'), GeomFromEWKT('SRID=4674;POINT (-40.391438 -2.787844)'))) / (select extract(epoch from '2026-07-20 14:02:08'::timestamp) - extract(epoch from '2026-07-20 14:02: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'), 47832, 'SRID=4674;POINT (-40.391247 -2.787939)', '2026-07-20 14:02:18', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391438 -2.787844)'), GeomFromEWKT('SRID=4674;POINT (-40.391247 -2.787939)'))) / (select extract(epoch from '2026-07-20 14:02:18'::timestamp) - extract(epoch from '2026-07-20 14:02:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391438 -2.787844)'), GeomFromEWKT('SRID=4674;POINT (-40.391247 -2.787939)'))) / (select extract(epoch from '2026-07-20 14:02:18'::timestamp) - extract(epoch from '2026-07-20 14:02: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'), 47832, 'SRID=4674;POINT (-40.391068 -2.788018)', '2026-07-20 14:02:26', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391247 -2.787939)'), GeomFromEWKT('SRID=4674;POINT (-40.391068 -2.788018)'))) / (select extract(epoch from '2026-07-20 14:02:26'::timestamp) - extract(epoch from '2026-07-20 14:02:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391247 -2.787939)'), GeomFromEWKT('SRID=4674;POINT (-40.391068 -2.788018)'))) / (select extract(epoch from '2026-07-20 14:02:26'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.390935 -2.78812)', '2026-07-20 14:02:33', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391068 -2.788018)'), GeomFromEWKT('SRID=4674;POINT (-40.390935 -2.78812)'))) / (select extract(epoch from '2026-07-20 14:02:33'::timestamp) - extract(epoch from '2026-07-20 14:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391068 -2.788018)'), GeomFromEWKT('SRID=4674;POINT (-40.390935 -2.78812)'))) / (select extract(epoch from '2026-07-20 14:02:33'::timestamp) - extract(epoch from '2026-07-20 14:02:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.390814 -2.788244)', '2026-07-20 14:02:41', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390935 -2.78812)'), GeomFromEWKT('SRID=4674;POINT (-40.390814 -2.788244)'))) / (select extract(epoch from '2026-07-20 14:02:41'::timestamp) - extract(epoch from '2026-07-20 14:02:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390935 -2.78812)'), GeomFromEWKT('SRID=4674;POINT (-40.390814 -2.788244)'))) / (select extract(epoch from '2026-07-20 14:02:41'::timestamp) - extract(epoch from '2026-07-20 14:02: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'), 47832, 'SRID=4674;POINT (-40.390711 -2.788326)', '2026-07-20 14:02:47', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390814 -2.788244)'), GeomFromEWKT('SRID=4674;POINT (-40.390711 -2.788326)'))) / (select extract(epoch from '2026-07-20 14:02:47'::timestamp) - extract(epoch from '2026-07-20 14:02:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390814 -2.788244)'), GeomFromEWKT('SRID=4674;POINT (-40.390711 -2.788326)'))) / (select extract(epoch from '2026-07-20 14:02:47'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.390539 -2.78844)', '2026-07-20 14:02:56', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390711 -2.788326)'), GeomFromEWKT('SRID=4674;POINT (-40.390539 -2.78844)'))) / (select extract(epoch from '2026-07-20 14:02:56'::timestamp) - extract(epoch from '2026-07-20 14:02:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390711 -2.788326)'), GeomFromEWKT('SRID=4674;POINT (-40.390539 -2.78844)'))) / (select extract(epoch from '2026-07-20 14:02:56'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.390404 -2.788524)', '2026-07-20 14:03:03', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390539 -2.78844)'), GeomFromEWKT('SRID=4674;POINT (-40.390404 -2.788524)'))) / (select extract(epoch from '2026-07-20 14:03:03'::timestamp) - extract(epoch from '2026-07-20 14:02:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390539 -2.78844)'), GeomFromEWKT('SRID=4674;POINT (-40.390404 -2.788524)'))) / (select extract(epoch from '2026-07-20 14:03:03'::timestamp) - extract(epoch from '2026-07-20 14:02: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'), 47832, 'SRID=4674;POINT (-40.39026 -2.788612)', '2026-07-20 14:03:11', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390404 -2.788524)'), GeomFromEWKT('SRID=4674;POINT (-40.39026 -2.788612)'))) / (select extract(epoch from '2026-07-20 14:03:11'::timestamp) - extract(epoch from '2026-07-20 14:03:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390404 -2.788524)'), GeomFromEWKT('SRID=4674;POINT (-40.39026 -2.788612)'))) / (select extract(epoch from '2026-07-20 14:03:11'::timestamp) - extract(epoch from '2026-07-20 14:03: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'), 47832, 'SRID=4674;POINT (-40.390162 -2.788674)', '2026-07-20 14:03:18', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39026 -2.788612)'), GeomFromEWKT('SRID=4674;POINT (-40.390162 -2.788674)'))) / (select extract(epoch from '2026-07-20 14:03:18'::timestamp) - extract(epoch from '2026-07-20 14:03:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39026 -2.788612)'), GeomFromEWKT('SRID=4674;POINT (-40.390162 -2.788674)'))) / (select extract(epoch from '2026-07-20 14:03:18'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.390023 -2.788753)', '2026-07-20 14:03:25', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390162 -2.788674)'), GeomFromEWKT('SRID=4674;POINT (-40.390023 -2.788753)'))) / (select extract(epoch from '2026-07-20 14:03:25'::timestamp) - extract(epoch from '2026-07-20 14:03:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390162 -2.788674)'), GeomFromEWKT('SRID=4674;POINT (-40.390023 -2.788753)'))) / (select extract(epoch from '2026-07-20 14:03:25'::timestamp) - extract(epoch from '2026-07-20 14:03:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.389907 -2.788831)', '2026-07-20 14:03:32', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390023 -2.788753)'), GeomFromEWKT('SRID=4674;POINT (-40.389907 -2.788831)'))) / (select extract(epoch from '2026-07-20 14:03:32'::timestamp) - extract(epoch from '2026-07-20 14:03:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390023 -2.788753)'), GeomFromEWKT('SRID=4674;POINT (-40.389907 -2.788831)'))) / (select extract(epoch from '2026-07-20 14:03:32'::timestamp) - extract(epoch from '2026-07-20 14:03: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'), 47832, 'SRID=4674;POINT (-40.38979 -2.788912)', '2026-07-20 14:03:39', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389907 -2.788831)'), GeomFromEWKT('SRID=4674;POINT (-40.38979 -2.788912)'))) / (select extract(epoch from '2026-07-20 14:03:39'::timestamp) - extract(epoch from '2026-07-20 14:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389907 -2.788831)'), GeomFromEWKT('SRID=4674;POINT (-40.38979 -2.788912)'))) / (select extract(epoch from '2026-07-20 14:03:39'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.389678 -2.789009)', '2026-07-20 14:03:46', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38979 -2.788912)'), GeomFromEWKT('SRID=4674;POINT (-40.389678 -2.789009)'))) / (select extract(epoch from '2026-07-20 14:03:46'::timestamp) - extract(epoch from '2026-07-20 14:03:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38979 -2.788912)'), GeomFromEWKT('SRID=4674;POINT (-40.389678 -2.789009)'))) / (select extract(epoch from '2026-07-20 14:03:46'::timestamp) - extract(epoch from '2026-07-20 14:03:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.389568 -2.789076)', '2026-07-20 14:03:52', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389678 -2.789009)'), GeomFromEWKT('SRID=4674;POINT (-40.389568 -2.789076)'))) / (select extract(epoch from '2026-07-20 14:03:52'::timestamp) - extract(epoch from '2026-07-20 14:03:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389678 -2.789009)'), GeomFromEWKT('SRID=4674;POINT (-40.389568 -2.789076)'))) / (select extract(epoch from '2026-07-20 14:03:52'::timestamp) - extract(epoch from '2026-07-20 14:03:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.389411 -2.789153)', '2026-07-20 14:04:00', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389568 -2.789076)'), GeomFromEWKT('SRID=4674;POINT (-40.389411 -2.789153)'))) / (select extract(epoch from '2026-07-20 14:04:00'::timestamp) - extract(epoch from '2026-07-20 14:03:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389568 -2.789076)'), GeomFromEWKT('SRID=4674;POINT (-40.389411 -2.789153)'))) / (select extract(epoch from '2026-07-20 14:04:00'::timestamp) - extract(epoch from '2026-07-20 14:03:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.389263 -2.789244)', '2026-07-20 14:04:08', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389411 -2.789153)'), GeomFromEWKT('SRID=4674;POINT (-40.389263 -2.789244)'))) / (select extract(epoch from '2026-07-20 14:04:08'::timestamp) - extract(epoch from '2026-07-20 14:04:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389411 -2.789153)'), GeomFromEWKT('SRID=4674;POINT (-40.389263 -2.789244)'))) / (select extract(epoch from '2026-07-20 14:04:08'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.389131 -2.789359)', '2026-07-20 14:04:16', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389263 -2.789244)'), GeomFromEWKT('SRID=4674;POINT (-40.389131 -2.789359)'))) / (select extract(epoch from '2026-07-20 14:04:16'::timestamp) - extract(epoch from '2026-07-20 14:04:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389263 -2.789244)'), GeomFromEWKT('SRID=4674;POINT (-40.389131 -2.789359)'))) / (select extract(epoch from '2026-07-20 14:04:16'::timestamp) - extract(epoch from '2026-07-20 14:04:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.388981 -2.789484)', '2026-07-20 14:04:25', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389131 -2.789359)'), GeomFromEWKT('SRID=4674;POINT (-40.388981 -2.789484)'))) / (select extract(epoch from '2026-07-20 14:04:25'::timestamp) - extract(epoch from '2026-07-20 14:04:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389131 -2.789359)'), GeomFromEWKT('SRID=4674;POINT (-40.388981 -2.789484)'))) / (select extract(epoch from '2026-07-20 14:04:25'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.388883 -2.789554)', '2026-07-20 14:04:32', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388981 -2.789484)'), GeomFromEWKT('SRID=4674;POINT (-40.388883 -2.789554)'))) / (select extract(epoch from '2026-07-20 14:04:32'::timestamp) - extract(epoch from '2026-07-20 14:04:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388981 -2.789484)'), GeomFromEWKT('SRID=4674;POINT (-40.388883 -2.789554)'))) / (select extract(epoch from '2026-07-20 14:04:32'::timestamp) - extract(epoch from '2026-07-20 14:04: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'), 47832, 'SRID=4674;POINT (-40.388802 -2.789653)', '2026-07-20 14:04:38', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388883 -2.789554)'), GeomFromEWKT('SRID=4674;POINT (-40.388802 -2.789653)'))) / (select extract(epoch from '2026-07-20 14:04:38'::timestamp) - extract(epoch from '2026-07-20 14:04:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388883 -2.789554)'), GeomFromEWKT('SRID=4674;POINT (-40.388802 -2.789653)'))) / (select extract(epoch from '2026-07-20 14:04:38'::timestamp) - extract(epoch from '2026-07-20 14:04:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.388703 -2.789789)', '2026-07-20 14:04:46', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388802 -2.789653)'), GeomFromEWKT('SRID=4674;POINT (-40.388703 -2.789789)'))) / (select extract(epoch from '2026-07-20 14:04:46'::timestamp) - extract(epoch from '2026-07-20 14:04:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388802 -2.789653)'), GeomFromEWKT('SRID=4674;POINT (-40.388703 -2.789789)'))) / (select extract(epoch from '2026-07-20 14:04:46'::timestamp) - extract(epoch from '2026-07-20 14:04: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'), 47832, 'SRID=4674;POINT (-40.388634 -2.789904)', '2026-07-20 14:04:53', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388703 -2.789789)'), GeomFromEWKT('SRID=4674;POINT (-40.388634 -2.789904)'))) / (select extract(epoch from '2026-07-20 14:04:53'::timestamp) - extract(epoch from '2026-07-20 14:04:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388703 -2.789789)'), GeomFromEWKT('SRID=4674;POINT (-40.388634 -2.789904)'))) / (select extract(epoch from '2026-07-20 14:04:53'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.38851 -2.790002)', '2026-07-20 14:05:02', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388634 -2.789904)'), GeomFromEWKT('SRID=4674;POINT (-40.38851 -2.790002)'))) / (select extract(epoch from '2026-07-20 14:05:02'::timestamp) - extract(epoch from '2026-07-20 14:04:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388634 -2.789904)'), GeomFromEWKT('SRID=4674;POINT (-40.38851 -2.790002)'))) / (select extract(epoch from '2026-07-20 14:05:02'::timestamp) - extract(epoch from '2026-07-20 14:04: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'), 47832, 'SRID=4674;POINT (-40.388385 -2.79011)', '2026-07-20 14:05:11', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38851 -2.790002)'), GeomFromEWKT('SRID=4674;POINT (-40.388385 -2.79011)'))) / (select extract(epoch from '2026-07-20 14:05:11'::timestamp) - extract(epoch from '2026-07-20 14:05:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38851 -2.790002)'), GeomFromEWKT('SRID=4674;POINT (-40.388385 -2.79011)'))) / (select extract(epoch from '2026-07-20 14:05:11'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.388315 -2.790168)', '2026-07-20 14:05:17', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388385 -2.79011)'), GeomFromEWKT('SRID=4674;POINT (-40.388315 -2.790168)'))) / (select extract(epoch from '2026-07-20 14:05:17'::timestamp) - extract(epoch from '2026-07-20 14:05:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388385 -2.79011)'), GeomFromEWKT('SRID=4674;POINT (-40.388315 -2.790168)'))) / (select extract(epoch from '2026-07-20 14:05:17'::timestamp) - extract(epoch from '2026-07-20 14:05: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'), 47832, 'SRID=4674;POINT (-40.38822 -2.790259)', '2026-07-20 14:05:25', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388315 -2.790168)'), GeomFromEWKT('SRID=4674;POINT (-40.38822 -2.790259)'))) / (select extract(epoch from '2026-07-20 14:05:25'::timestamp) - extract(epoch from '2026-07-20 14:05:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388315 -2.790168)'), GeomFromEWKT('SRID=4674;POINT (-40.38822 -2.790259)'))) / (select extract(epoch from '2026-07-20 14:05:25'::timestamp) - extract(epoch from '2026-07-20 14:05: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'), 47832, 'SRID=4674;POINT (-40.388099 -2.79035)', '2026-07-20 14:05:34', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38822 -2.790259)'), GeomFromEWKT('SRID=4674;POINT (-40.388099 -2.79035)'))) / (select extract(epoch from '2026-07-20 14:05:34'::timestamp) - extract(epoch from '2026-07-20 14:05:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38822 -2.790259)'), GeomFromEWKT('SRID=4674;POINT (-40.388099 -2.79035)'))) / (select extract(epoch from '2026-07-20 14:05:34'::timestamp) - extract(epoch from '2026-07-20 14:05:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.388005 -2.790455)', '2026-07-20 14:05:42', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388099 -2.79035)'), GeomFromEWKT('SRID=4674;POINT (-40.388005 -2.790455)'))) / (select extract(epoch from '2026-07-20 14:05:42'::timestamp) - extract(epoch from '2026-07-20 14:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388099 -2.79035)'), GeomFromEWKT('SRID=4674;POINT (-40.388005 -2.790455)'))) / (select extract(epoch from '2026-07-20 14:05:42'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.387923 -2.79054)', '2026-07-20 14:05:49', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388005 -2.790455)'), GeomFromEWKT('SRID=4674;POINT (-40.387923 -2.79054)'))) / (select extract(epoch from '2026-07-20 14:05:49'::timestamp) - extract(epoch from '2026-07-20 14:05:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388005 -2.790455)'), GeomFromEWKT('SRID=4674;POINT (-40.387923 -2.79054)'))) / (select extract(epoch from '2026-07-20 14:05:49'::timestamp) - extract(epoch from '2026-07-20 14:05: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'), 47832, 'SRID=4674;POINT (-40.387824 -2.790656)', '2026-07-20 14:05:58', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387923 -2.79054)'), GeomFromEWKT('SRID=4674;POINT (-40.387824 -2.790656)'))) / (select extract(epoch from '2026-07-20 14:05:58'::timestamp) - extract(epoch from '2026-07-20 14:05:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387923 -2.79054)'), GeomFromEWKT('SRID=4674;POINT (-40.387824 -2.790656)'))) / (select extract(epoch from '2026-07-20 14:05:58'::timestamp) - extract(epoch from '2026-07-20 14:05: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'), 47832, 'SRID=4674;POINT (-40.38774 -2.790737)', '2026-07-20 14:06:05', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387824 -2.790656)'), GeomFromEWKT('SRID=4674;POINT (-40.38774 -2.790737)'))) / (select extract(epoch from '2026-07-20 14:06:05'::timestamp) - extract(epoch from '2026-07-20 14:05:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387824 -2.790656)'), GeomFromEWKT('SRID=4674;POINT (-40.38774 -2.790737)'))) / (select extract(epoch from '2026-07-20 14:06:05'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.387623 -2.790818)', '2026-07-20 14:06:13', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38774 -2.790737)'), GeomFromEWKT('SRID=4674;POINT (-40.387623 -2.790818)'))) / (select extract(epoch from '2026-07-20 14:06:13'::timestamp) - extract(epoch from '2026-07-20 14:06:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38774 -2.790737)'), GeomFromEWKT('SRID=4674;POINT (-40.387623 -2.790818)'))) / (select extract(epoch from '2026-07-20 14:06:13'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.387514 -2.790915)', '2026-07-20 14:06:21', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387623 -2.790818)'), GeomFromEWKT('SRID=4674;POINT (-40.387514 -2.790915)'))) / (select extract(epoch from '2026-07-20 14:06:21'::timestamp) - extract(epoch from '2026-07-20 14:06:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387623 -2.790818)'), GeomFromEWKT('SRID=4674;POINT (-40.387514 -2.790915)'))) / (select extract(epoch from '2026-07-20 14:06:21'::timestamp) - extract(epoch from '2026-07-20 14:06:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.38744 -2.790999)', '2026-07-20 14:06:28', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387514 -2.790915)'), GeomFromEWKT('SRID=4674;POINT (-40.38744 -2.790999)'))) / (select extract(epoch from '2026-07-20 14:06:28'::timestamp) - extract(epoch from '2026-07-20 14:06:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387514 -2.790915)'), GeomFromEWKT('SRID=4674;POINT (-40.38744 -2.790999)'))) / (select extract(epoch from '2026-07-20 14:06:28'::timestamp) - extract(epoch from '2026-07-20 14:06:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.387381 -2.791066)', '2026-07-20 14:06:34', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38744 -2.790999)'), GeomFromEWKT('SRID=4674;POINT (-40.387381 -2.791066)'))) / (select extract(epoch from '2026-07-20 14:06:34'::timestamp) - extract(epoch from '2026-07-20 14:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38744 -2.790999)'), GeomFromEWKT('SRID=4674;POINT (-40.387381 -2.791066)'))) / (select extract(epoch from '2026-07-20 14:06:34'::timestamp) - extract(epoch from '2026-07-20 14:06:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.387257 -2.791149)', '2026-07-20 14:06:42', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387381 -2.791066)'), GeomFromEWKT('SRID=4674;POINT (-40.387257 -2.791149)'))) / (select extract(epoch from '2026-07-20 14:06:42'::timestamp) - extract(epoch from '2026-07-20 14:06:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387381 -2.791066)'), GeomFromEWKT('SRID=4674;POINT (-40.387257 -2.791149)'))) / (select extract(epoch from '2026-07-20 14:06:42'::timestamp) - extract(epoch from '2026-07-20 14:06:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.387184 -2.791227)', '2026-07-20 14:06:49', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387257 -2.791149)'), GeomFromEWKT('SRID=4674;POINT (-40.387184 -2.791227)'))) / (select extract(epoch from '2026-07-20 14:06:49'::timestamp) - extract(epoch from '2026-07-20 14:06:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387257 -2.791149)'), GeomFromEWKT('SRID=4674;POINT (-40.387184 -2.791227)'))) / (select extract(epoch from '2026-07-20 14:06:49'::timestamp) - extract(epoch from '2026-07-20 14:06: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'), 47832, 'SRID=4674;POINT (-40.387118 -2.791292)', '2026-07-20 14:06:55', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387184 -2.791227)'), GeomFromEWKT('SRID=4674;POINT (-40.387118 -2.791292)'))) / (select extract(epoch from '2026-07-20 14:06:55'::timestamp) - extract(epoch from '2026-07-20 14:06:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387184 -2.791227)'), GeomFromEWKT('SRID=4674;POINT (-40.387118 -2.791292)'))) / (select extract(epoch from '2026-07-20 14:06:55'::timestamp) - extract(epoch from '2026-07-20 14:06: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'), 47832, 'SRID=4674;POINT (-40.387052 -2.791361)', '2026-07-20 14:07:01', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387118 -2.791292)'), GeomFromEWKT('SRID=4674;POINT (-40.387052 -2.791361)'))) / (select extract(epoch from '2026-07-20 14:07:01'::timestamp) - extract(epoch from '2026-07-20 14:06:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387118 -2.791292)'), GeomFromEWKT('SRID=4674;POINT (-40.387052 -2.791361)'))) / (select extract(epoch from '2026-07-20 14:07:01'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.386946 -2.791427)', '2026-07-20 14:07:09', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387052 -2.791361)'), GeomFromEWKT('SRID=4674;POINT (-40.386946 -2.791427)'))) / (select extract(epoch from '2026-07-20 14:07:09'::timestamp) - extract(epoch from '2026-07-20 14:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387052 -2.791361)'), GeomFromEWKT('SRID=4674;POINT (-40.386946 -2.791427)'))) / (select extract(epoch from '2026-07-20 14:07:09'::timestamp) - extract(epoch from '2026-07-20 14:07: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'), 47832, 'SRID=4674;POINT (-40.386872 -2.791475)', '2026-07-20 14:07:15', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386946 -2.791427)'), GeomFromEWKT('SRID=4674;POINT (-40.386872 -2.791475)'))) / (select extract(epoch from '2026-07-20 14:07:15'::timestamp) - extract(epoch from '2026-07-20 14:07:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386946 -2.791427)'), GeomFromEWKT('SRID=4674;POINT (-40.386872 -2.791475)'))) / (select extract(epoch from '2026-07-20 14:07:15'::timestamp) - extract(epoch from '2026-07-20 14:07: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'), 47832, 'SRID=4674;POINT (-40.38679 -2.791553)', '2026-07-20 14:07:22', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386872 -2.791475)'), GeomFromEWKT('SRID=4674;POINT (-40.38679 -2.791553)'))) / (select extract(epoch from '2026-07-20 14:07:22'::timestamp) - extract(epoch from '2026-07-20 14:07:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386872 -2.791475)'), GeomFromEWKT('SRID=4674;POINT (-40.38679 -2.791553)'))) / (select extract(epoch from '2026-07-20 14:07:22'::timestamp) - extract(epoch from '2026-07-20 14:07: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'), 47832, 'SRID=4674;POINT (-40.386694 -2.791626)', '2026-07-20 14:07:29', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38679 -2.791553)'), GeomFromEWKT('SRID=4674;POINT (-40.386694 -2.791626)'))) / (select extract(epoch from '2026-07-20 14:07:29'::timestamp) - extract(epoch from '2026-07-20 14:07:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38679 -2.791553)'), GeomFromEWKT('SRID=4674;POINT (-40.386694 -2.791626)'))) / (select extract(epoch from '2026-07-20 14:07:29'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.386571 -2.791694)', '2026-07-20 14:07:37', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386694 -2.791626)'), GeomFromEWKT('SRID=4674;POINT (-40.386571 -2.791694)'))) / (select extract(epoch from '2026-07-20 14:07:37'::timestamp) - extract(epoch from '2026-07-20 14:07:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386694 -2.791626)'), GeomFromEWKT('SRID=4674;POINT (-40.386571 -2.791694)'))) / (select extract(epoch from '2026-07-20 14:07:37'::timestamp) - extract(epoch from '2026-07-20 14:07: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'), 47832, 'SRID=4674;POINT (-40.386489 -2.791774)', '2026-07-20 14:07:44', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386571 -2.791694)'), GeomFromEWKT('SRID=4674;POINT (-40.386489 -2.791774)'))) / (select extract(epoch from '2026-07-20 14:07:44'::timestamp) - extract(epoch from '2026-07-20 14:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386571 -2.791694)'), GeomFromEWKT('SRID=4674;POINT (-40.386489 -2.791774)'))) / (select extract(epoch from '2026-07-20 14:07:44'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.386388 -2.791853)', '2026-07-20 14:07:51', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386489 -2.791774)'), GeomFromEWKT('SRID=4674;POINT (-40.386388 -2.791853)'))) / (select extract(epoch from '2026-07-20 14:07:51'::timestamp) - extract(epoch from '2026-07-20 14:07:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386489 -2.791774)'), GeomFromEWKT('SRID=4674;POINT (-40.386388 -2.791853)'))) / (select extract(epoch from '2026-07-20 14:07:51'::timestamp) - extract(epoch from '2026-07-20 14:07: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'), 47832, 'SRID=4674;POINT (-40.386278 -2.791936)', '2026-07-20 14:08:00', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386388 -2.791853)'), GeomFromEWKT('SRID=4674;POINT (-40.386278 -2.791936)'))) / (select extract(epoch from '2026-07-20 14:08:00'::timestamp) - extract(epoch from '2026-07-20 14:07:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386388 -2.791853)'), GeomFromEWKT('SRID=4674;POINT (-40.386278 -2.791936)'))) / (select extract(epoch from '2026-07-20 14:08:00'::timestamp) - extract(epoch from '2026-07-20 14:07: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'), 47832, 'SRID=4674;POINT (-40.386196 -2.792024)', '2026-07-20 14:08:08', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386278 -2.791936)'), GeomFromEWKT('SRID=4674;POINT (-40.386196 -2.792024)'))) / (select extract(epoch from '2026-07-20 14:08:08'::timestamp) - extract(epoch from '2026-07-20 14:08:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386278 -2.791936)'), GeomFromEWKT('SRID=4674;POINT (-40.386196 -2.792024)'))) / (select extract(epoch from '2026-07-20 14:08:08'::timestamp) - extract(epoch from '2026-07-20 14:08: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'), 47832, 'SRID=4674;POINT (-40.386068 -2.792128)', '2026-07-20 14:08:17', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386196 -2.792024)'), GeomFromEWKT('SRID=4674;POINT (-40.386068 -2.792128)'))) / (select extract(epoch from '2026-07-20 14:08:17'::timestamp) - extract(epoch from '2026-07-20 14:08:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386196 -2.792024)'), GeomFromEWKT('SRID=4674;POINT (-40.386068 -2.792128)'))) / (select extract(epoch from '2026-07-20 14:08:17'::timestamp) - extract(epoch from '2026-07-20 14:08: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'), 47832, 'SRID=4674;POINT (-40.385983 -2.79222)', '2026-07-20 14:08:25', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386068 -2.792128)'), GeomFromEWKT('SRID=4674;POINT (-40.385983 -2.79222)'))) / (select extract(epoch from '2026-07-20 14:08:25'::timestamp) - extract(epoch from '2026-07-20 14:08:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386068 -2.792128)'), GeomFromEWKT('SRID=4674;POINT (-40.385983 -2.79222)'))) / (select extract(epoch from '2026-07-20 14:08:25'::timestamp) - extract(epoch from '2026-07-20 14:08: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'), 47832, 'SRID=4674;POINT (-40.38593 -2.792248)', '2026-07-20 14:08:31', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385983 -2.79222)'), GeomFromEWKT('SRID=4674;POINT (-40.38593 -2.792248)'))) / (select extract(epoch from '2026-07-20 14:08:31'::timestamp) - extract(epoch from '2026-07-20 14:08:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385983 -2.79222)'), GeomFromEWKT('SRID=4674;POINT (-40.38593 -2.792248)'))) / (select extract(epoch from '2026-07-20 14:08:31'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.385893 -2.79224)', '2026-07-20 14:08:35', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38593 -2.792248)'), GeomFromEWKT('SRID=4674;POINT (-40.385893 -2.79224)'))) / (select extract(epoch from '2026-07-20 14:08:35'::timestamp) - extract(epoch from '2026-07-20 14:08:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38593 -2.792248)'), GeomFromEWKT('SRID=4674;POINT (-40.385893 -2.79224)'))) / (select extract(epoch from '2026-07-20 14:08:35'::timestamp) - extract(epoch from '2026-07-20 14:08: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'), 47832, 'SRID=4674;POINT (-40.385855 -2.792233)', '2026-07-20 14:08:38', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385893 -2.79224)'), GeomFromEWKT('SRID=4674;POINT (-40.385855 -2.792233)'))) / (select extract(epoch from '2026-07-20 14:08:38'::timestamp) - extract(epoch from '2026-07-20 14:08:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385893 -2.79224)'), GeomFromEWKT('SRID=4674;POINT (-40.385855 -2.792233)'))) / (select extract(epoch from '2026-07-20 14:08:38'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.385744 -2.792263)', '2026-07-20 14:08:46', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385855 -2.792233)'), GeomFromEWKT('SRID=4674;POINT (-40.385744 -2.792263)'))) / (select extract(epoch from '2026-07-20 14:08:46'::timestamp) - extract(epoch from '2026-07-20 14:08:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385855 -2.792233)'), GeomFromEWKT('SRID=4674;POINT (-40.385744 -2.792263)'))) / (select extract(epoch from '2026-07-20 14:08:46'::timestamp) - extract(epoch from '2026-07-20 14:08: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'), 47832, 'SRID=4674;POINT (-40.385661 -2.792314)', '2026-07-20 14:08:52', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385744 -2.792263)'), GeomFromEWKT('SRID=4674;POINT (-40.385661 -2.792314)'))) / (select extract(epoch from '2026-07-20 14:08:52'::timestamp) - extract(epoch from '2026-07-20 14:08:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385744 -2.792263)'), GeomFromEWKT('SRID=4674;POINT (-40.385661 -2.792314)'))) / (select extract(epoch from '2026-07-20 14:08:52'::timestamp) - extract(epoch from '2026-07-20 14:08: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'), 47832, 'SRID=4674;POINT (-40.385568 -2.792387)', '2026-07-20 14:08:59', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385661 -2.792314)'), GeomFromEWKT('SRID=4674;POINT (-40.385568 -2.792387)'))) / (select extract(epoch from '2026-07-20 14:08:59'::timestamp) - extract(epoch from '2026-07-20 14:08:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385661 -2.792314)'), GeomFromEWKT('SRID=4674;POINT (-40.385568 -2.792387)'))) / (select extract(epoch from '2026-07-20 14:08:59'::timestamp) - extract(epoch from '2026-07-20 14:08: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'), 47832, 'SRID=4674;POINT (-40.385491 -2.792462)', '2026-07-20 14:09:06', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385568 -2.792387)'), GeomFromEWKT('SRID=4674;POINT (-40.385491 -2.792462)'))) / (select extract(epoch from '2026-07-20 14:09:06'::timestamp) - extract(epoch from '2026-07-20 14:08:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385568 -2.792387)'), GeomFromEWKT('SRID=4674;POINT (-40.385491 -2.792462)'))) / (select extract(epoch from '2026-07-20 14:09:06'::timestamp) - extract(epoch from '2026-07-20 14:08: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'), 47832, 'SRID=4674;POINT (-40.385378 -2.792554)', '2026-07-20 14:09:14', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385491 -2.792462)'), GeomFromEWKT('SRID=4674;POINT (-40.385378 -2.792554)'))) / (select extract(epoch from '2026-07-20 14:09:14'::timestamp) - extract(epoch from '2026-07-20 14:09:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385491 -2.792462)'), GeomFromEWKT('SRID=4674;POINT (-40.385378 -2.792554)'))) / (select extract(epoch from '2026-07-20 14:09:14'::timestamp) - extract(epoch from '2026-07-20 14:09:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.385297 -2.792648)', '2026-07-20 14:09:22', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385378 -2.792554)'), GeomFromEWKT('SRID=4674;POINT (-40.385297 -2.792648)'))) / (select extract(epoch from '2026-07-20 14:09:22'::timestamp) - extract(epoch from '2026-07-20 14:09:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385378 -2.792554)'), GeomFromEWKT('SRID=4674;POINT (-40.385297 -2.792648)'))) / (select extract(epoch from '2026-07-20 14:09:22'::timestamp) - extract(epoch from '2026-07-20 14:09: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'), 47832, 'SRID=4674;POINT (-40.385217 -2.79273)', '2026-07-20 14:09:29', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385297 -2.792648)'), GeomFromEWKT('SRID=4674;POINT (-40.385217 -2.79273)'))) / (select extract(epoch from '2026-07-20 14:09:29'::timestamp) - extract(epoch from '2026-07-20 14:09:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385297 -2.792648)'), GeomFromEWKT('SRID=4674;POINT (-40.385217 -2.79273)'))) / (select extract(epoch from '2026-07-20 14:09:29'::timestamp) - extract(epoch from '2026-07-20 14:09: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'), 47832, 'SRID=4674;POINT (-40.385136 -2.792828)', '2026-07-20 14:09:37', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385217 -2.79273)'), GeomFromEWKT('SRID=4674;POINT (-40.385136 -2.792828)'))) / (select extract(epoch from '2026-07-20 14:09:37'::timestamp) - extract(epoch from '2026-07-20 14:09:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385217 -2.79273)'), GeomFromEWKT('SRID=4674;POINT (-40.385136 -2.792828)'))) / (select extract(epoch from '2026-07-20 14:09:37'::timestamp) - extract(epoch from '2026-07-20 14:09: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'), 47832, 'SRID=4674;POINT (-40.385032 -2.792924)', '2026-07-20 14:09:46', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385136 -2.792828)'), GeomFromEWKT('SRID=4674;POINT (-40.385032 -2.792924)'))) / (select extract(epoch from '2026-07-20 14:09:46'::timestamp) - extract(epoch from '2026-07-20 14:09:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385136 -2.792828)'), GeomFromEWKT('SRID=4674;POINT (-40.385032 -2.792924)'))) / (select extract(epoch from '2026-07-20 14:09:46'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.384929 -2.79301)', '2026-07-20 14:09:54', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385032 -2.792924)'), GeomFromEWKT('SRID=4674;POINT (-40.384929 -2.79301)'))) / (select extract(epoch from '2026-07-20 14:09:54'::timestamp) - extract(epoch from '2026-07-20 14:09:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385032 -2.792924)'), GeomFromEWKT('SRID=4674;POINT (-40.384929 -2.79301)'))) / (select extract(epoch from '2026-07-20 14:09:54'::timestamp) - extract(epoch from '2026-07-20 14:09: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'), 47832, 'SRID=4674;POINT (-40.384922 -2.793025)', '2026-07-20 14:09:55', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384929 -2.79301)'), GeomFromEWKT('SRID=4674;POINT (-40.384922 -2.793025)'))) / (select extract(epoch from '2026-07-20 14:09:55'::timestamp) - extract(epoch from '2026-07-20 14:09:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384929 -2.79301)'), GeomFromEWKT('SRID=4674;POINT (-40.384922 -2.793025)'))) / (select extract(epoch from '2026-07-20 14:09:55'::timestamp) - extract(epoch from '2026-07-20 14:09:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.38488 -2.793097)', '2026-07-20 14:10:00', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384922 -2.793025)'), GeomFromEWKT('SRID=4674;POINT (-40.38488 -2.793097)'))) / (select extract(epoch from '2026-07-20 14:10:00'::timestamp) - extract(epoch from '2026-07-20 14:09:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384922 -2.793025)'), GeomFromEWKT('SRID=4674;POINT (-40.38488 -2.793097)'))) / (select extract(epoch from '2026-07-20 14:10:00'::timestamp) - extract(epoch from '2026-07-20 14:09:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.38479 -2.793207)', '2026-07-20 14:10:08', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38488 -2.793097)'), GeomFromEWKT('SRID=4674;POINT (-40.38479 -2.793207)'))) / (select extract(epoch from '2026-07-20 14:10:08'::timestamp) - extract(epoch from '2026-07-20 14:10:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38488 -2.793097)'), GeomFromEWKT('SRID=4674;POINT (-40.38479 -2.793207)'))) / (select extract(epoch from '2026-07-20 14:10:08'::timestamp) - extract(epoch from '2026-07-20 14:10: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'), 47832, 'SRID=4674;POINT (-40.384769 -2.793252)', '2026-07-20 14:10:11', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38479 -2.793207)'), GeomFromEWKT('SRID=4674;POINT (-40.384769 -2.793252)'))) / (select extract(epoch from '2026-07-20 14:10:11'::timestamp) - extract(epoch from '2026-07-20 14:10:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38479 -2.793207)'), GeomFromEWKT('SRID=4674;POINT (-40.384769 -2.793252)'))) / (select extract(epoch from '2026-07-20 14:10:11'::timestamp) - extract(epoch from '2026-07-20 14:10:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.384749 -2.793309)', '2026-07-20 14:10:14', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384769 -2.793252)'), GeomFromEWKT('SRID=4674;POINT (-40.384749 -2.793309)'))) / (select extract(epoch from '2026-07-20 14:10:14'::timestamp) - extract(epoch from '2026-07-20 14:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384769 -2.793252)'), GeomFromEWKT('SRID=4674;POINT (-40.384749 -2.793309)'))) / (select extract(epoch from '2026-07-20 14:10:14'::timestamp) - extract(epoch from '2026-07-20 14:10: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'), 47832, 'SRID=4674;POINT (-40.384678 -2.793409)', '2026-07-20 14:10:21', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384749 -2.793309)'), GeomFromEWKT('SRID=4674;POINT (-40.384678 -2.793409)'))) / (select extract(epoch from '2026-07-20 14:10:21'::timestamp) - extract(epoch from '2026-07-20 14:10:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384749 -2.793309)'), GeomFromEWKT('SRID=4674;POINT (-40.384678 -2.793409)'))) / (select extract(epoch from '2026-07-20 14:10:21'::timestamp) - extract(epoch from '2026-07-20 14:10: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'), 47832, 'SRID=4674;POINT (-40.384593 -2.793486)', '2026-07-20 14:10:28', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384678 -2.793409)'), GeomFromEWKT('SRID=4674;POINT (-40.384593 -2.793486)'))) / (select extract(epoch from '2026-07-20 14:10:28'::timestamp) - extract(epoch from '2026-07-20 14:10:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384678 -2.793409)'), GeomFromEWKT('SRID=4674;POINT (-40.384593 -2.793486)'))) / (select extract(epoch from '2026-07-20 14:10:28'::timestamp) - extract(epoch from '2026-07-20 14:10:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.384456 -2.793568)', '2026-07-20 14:10:37', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384593 -2.793486)'), GeomFromEWKT('SRID=4674;POINT (-40.384456 -2.793568)'))) / (select extract(epoch from '2026-07-20 14:10:37'::timestamp) - extract(epoch from '2026-07-20 14:10:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384593 -2.793486)'), GeomFromEWKT('SRID=4674;POINT (-40.384456 -2.793568)'))) / (select extract(epoch from '2026-07-20 14:10:37'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.384363 -2.793622)', '2026-07-20 14:10:43', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384456 -2.793568)'), GeomFromEWKT('SRID=4674;POINT (-40.384363 -2.793622)'))) / (select extract(epoch from '2026-07-20 14:10:43'::timestamp) - extract(epoch from '2026-07-20 14:10:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384456 -2.793568)'), GeomFromEWKT('SRID=4674;POINT (-40.384363 -2.793622)'))) / (select extract(epoch from '2026-07-20 14:10:43'::timestamp) - extract(epoch from '2026-07-20 14:10: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'), 47832, 'SRID=4674;POINT (-40.384269 -2.793685)', '2026-07-20 14:10:51', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384363 -2.793622)'), GeomFromEWKT('SRID=4674;POINT (-40.384269 -2.793685)'))) / (select extract(epoch from '2026-07-20 14:10:51'::timestamp) - extract(epoch from '2026-07-20 14:10:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384363 -2.793622)'), GeomFromEWKT('SRID=4674;POINT (-40.384269 -2.793685)'))) / (select extract(epoch from '2026-07-20 14:10:51'::timestamp) - extract(epoch from '2026-07-20 14:10: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'), 47832, 'SRID=4674;POINT (-40.384173 -2.793741)', '2026-07-20 14:10:59', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384269 -2.793685)'), GeomFromEWKT('SRID=4674;POINT (-40.384173 -2.793741)'))) / (select extract(epoch from '2026-07-20 14:10:59'::timestamp) - extract(epoch from '2026-07-20 14:10:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384269 -2.793685)'), GeomFromEWKT('SRID=4674;POINT (-40.384173 -2.793741)'))) / (select extract(epoch from '2026-07-20 14:10:59'::timestamp) - extract(epoch from '2026-07-20 14:10:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.38406 -2.793808)', '2026-07-20 14:11:06', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384173 -2.793741)'), GeomFromEWKT('SRID=4674;POINT (-40.38406 -2.793808)'))) / (select extract(epoch from '2026-07-20 14:11:06'::timestamp) - extract(epoch from '2026-07-20 14:10:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384173 -2.793741)'), GeomFromEWKT('SRID=4674;POINT (-40.38406 -2.793808)'))) / (select extract(epoch from '2026-07-20 14:11:06'::timestamp) - extract(epoch from '2026-07-20 14:10: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'), 47832, 'SRID=4674;POINT (-40.383954 -2.793896)', '2026-07-20 14:11:14', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38406 -2.793808)'), GeomFromEWKT('SRID=4674;POINT (-40.383954 -2.793896)'))) / (select extract(epoch from '2026-07-20 14:11:14'::timestamp) - extract(epoch from '2026-07-20 14:11:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38406 -2.793808)'), GeomFromEWKT('SRID=4674;POINT (-40.383954 -2.793896)'))) / (select extract(epoch from '2026-07-20 14:11:14'::timestamp) - extract(epoch from '2026-07-20 14:11: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'), 47832, 'SRID=4674;POINT (-40.383837 -2.793986)', '2026-07-20 14:11:22', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383954 -2.793896)'), GeomFromEWKT('SRID=4674;POINT (-40.383837 -2.793986)'))) / (select extract(epoch from '2026-07-20 14:11:22'::timestamp) - extract(epoch from '2026-07-20 14:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383954 -2.793896)'), GeomFromEWKT('SRID=4674;POINT (-40.383837 -2.793986)'))) / (select extract(epoch from '2026-07-20 14:11:22'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.383719 -2.79407)', '2026-07-20 14:11:30', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383837 -2.793986)'), GeomFromEWKT('SRID=4674;POINT (-40.383719 -2.79407)'))) / (select extract(epoch from '2026-07-20 14:11:30'::timestamp) - extract(epoch from '2026-07-20 14:11:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383837 -2.793986)'), GeomFromEWKT('SRID=4674;POINT (-40.383719 -2.79407)'))) / (select extract(epoch from '2026-07-20 14:11:30'::timestamp) - extract(epoch from '2026-07-20 14:11:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.38361 -2.794147)', '2026-07-20 14:11:37', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383719 -2.79407)'), GeomFromEWKT('SRID=4674;POINT (-40.38361 -2.794147)'))) / (select extract(epoch from '2026-07-20 14:11:37'::timestamp) - extract(epoch from '2026-07-20 14:11:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383719 -2.79407)'), GeomFromEWKT('SRID=4674;POINT (-40.38361 -2.794147)'))) / (select extract(epoch from '2026-07-20 14:11:37'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.3835 -2.79423)', '2026-07-20 14:11:46', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38361 -2.794147)'), GeomFromEWKT('SRID=4674;POINT (-40.3835 -2.79423)'))) / (select extract(epoch from '2026-07-20 14:11:46'::timestamp) - extract(epoch from '2026-07-20 14:11:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38361 -2.794147)'), GeomFromEWKT('SRID=4674;POINT (-40.3835 -2.79423)'))) / (select extract(epoch from '2026-07-20 14:11:46'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.383427 -2.794292)', '2026-07-20 14:11:52', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3835 -2.79423)'), GeomFromEWKT('SRID=4674;POINT (-40.383427 -2.794292)'))) / (select extract(epoch from '2026-07-20 14:11:52'::timestamp) - extract(epoch from '2026-07-20 14:11:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3835 -2.79423)'), GeomFromEWKT('SRID=4674;POINT (-40.383427 -2.794292)'))) / (select extract(epoch from '2026-07-20 14:11:52'::timestamp) - extract(epoch from '2026-07-20 14:11: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'), 47832, 'SRID=4674;POINT (-40.383409 -2.794307)', '2026-07-20 14:11:54', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383427 -2.794292)'), GeomFromEWKT('SRID=4674;POINT (-40.383409 -2.794307)'))) / (select extract(epoch from '2026-07-20 14:11:54'::timestamp) - extract(epoch from '2026-07-20 14:11:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383427 -2.794292)'), GeomFromEWKT('SRID=4674;POINT (-40.383409 -2.794307)'))) / (select extract(epoch from '2026-07-20 14:11:54'::timestamp) - extract(epoch from '2026-07-20 14:11: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'), 47832, 'SRID=4674;POINT (-40.383373 -2.794321)', '2026-07-20 14:11:57', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383409 -2.794307)'), GeomFromEWKT('SRID=4674;POINT (-40.383373 -2.794321)'))) / (select extract(epoch from '2026-07-20 14:11:57'::timestamp) - extract(epoch from '2026-07-20 14:11:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383409 -2.794307)'), GeomFromEWKT('SRID=4674;POINT (-40.383373 -2.794321)'))) / (select extract(epoch from '2026-07-20 14:11:57'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.383266 -2.794384)', '2026-07-20 14:12:06', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383373 -2.794321)'), GeomFromEWKT('SRID=4674;POINT (-40.383266 -2.794384)'))) / (select extract(epoch from '2026-07-20 14:12:06'::timestamp) - extract(epoch from '2026-07-20 14:11:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383373 -2.794321)'), GeomFromEWKT('SRID=4674;POINT (-40.383266 -2.794384)'))) / (select extract(epoch from '2026-07-20 14:12:06'::timestamp) - extract(epoch from '2026-07-20 14:11:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383172 -2.794464)', '2026-07-20 14:12:13', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383266 -2.794384)'), GeomFromEWKT('SRID=4674;POINT (-40.383172 -2.794464)'))) / (select extract(epoch from '2026-07-20 14:12:13'::timestamp) - extract(epoch from '2026-07-20 14:12:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383266 -2.794384)'), GeomFromEWKT('SRID=4674;POINT (-40.383172 -2.794464)'))) / (select extract(epoch from '2026-07-20 14:12:13'::timestamp) - extract(epoch from '2026-07-20 14:12:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383086 -2.794537)', '2026-07-20 14:12:21', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383172 -2.794464)'), GeomFromEWKT('SRID=4674;POINT (-40.383086 -2.794537)'))) / (select extract(epoch from '2026-07-20 14:12:21'::timestamp) - extract(epoch from '2026-07-20 14:12:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383172 -2.794464)'), GeomFromEWKT('SRID=4674;POINT (-40.383086 -2.794537)'))) / (select extract(epoch from '2026-07-20 14:12:21'::timestamp) - extract(epoch from '2026-07-20 14:12: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'), 47832, 'SRID=4674;POINT (-40.383052 -2.794581)', '2026-07-20 14:12:27', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383086 -2.794537)'), GeomFromEWKT('SRID=4674;POINT (-40.383052 -2.794581)'))) / (select extract(epoch from '2026-07-20 14:12:27'::timestamp) - extract(epoch from '2026-07-20 14:12:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383086 -2.794537)'), GeomFromEWKT('SRID=4674;POINT (-40.383052 -2.794581)'))) / (select extract(epoch from '2026-07-20 14:12:27'::timestamp) - extract(epoch from '2026-07-20 14:12: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'), 47832, 'SRID=4674;POINT (-40.383003 -2.794578)', '2026-07-20 14:12:34', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383052 -2.794581)'), GeomFromEWKT('SRID=4674;POINT (-40.383003 -2.794578)'))) / (select extract(epoch from '2026-07-20 14:12:34'::timestamp) - extract(epoch from '2026-07-20 14:12:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383052 -2.794581)'), GeomFromEWKT('SRID=4674;POINT (-40.383003 -2.794578)'))) / (select extract(epoch from '2026-07-20 14:12:34'::timestamp) - extract(epoch from '2026-07-20 14:12: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'), 47832, 'SRID=4674;POINT (-40.382984 -2.79451)', '2026-07-20 14:12:40', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383003 -2.794578)'), GeomFromEWKT('SRID=4674;POINT (-40.382984 -2.79451)'))) / (select extract(epoch from '2026-07-20 14:12:40'::timestamp) - extract(epoch from '2026-07-20 14:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383003 -2.794578)'), GeomFromEWKT('SRID=4674;POINT (-40.382984 -2.79451)'))) / (select extract(epoch from '2026-07-20 14:12:40'::timestamp) - extract(epoch from '2026-07-20 14:12: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'), 47832, 'SRID=4674;POINT (-40.382998 -2.794481)', '2026-07-20 14:12:42', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382984 -2.79451)'), GeomFromEWKT('SRID=4674;POINT (-40.382998 -2.794481)'))) / (select extract(epoch from '2026-07-20 14:12:42'::timestamp) - extract(epoch from '2026-07-20 14:12:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382984 -2.79451)'), GeomFromEWKT('SRID=4674;POINT (-40.382998 -2.794481)'))) / (select extract(epoch from '2026-07-20 14:12:42'::timestamp) - extract(epoch from '2026-07-20 14:12: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'), 47832, 'SRID=4674;POINT (-40.383052 -2.794441)', '2026-07-20 14:12:46', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382998 -2.794481)'), GeomFromEWKT('SRID=4674;POINT (-40.383052 -2.794441)'))) / (select extract(epoch from '2026-07-20 14:12:46'::timestamp) - extract(epoch from '2026-07-20 14:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382998 -2.794481)'), GeomFromEWKT('SRID=4674;POINT (-40.383052 -2.794441)'))) / (select extract(epoch from '2026-07-20 14:12:46'::timestamp) - extract(epoch from '2026-07-20 14:12: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'), 47832, 'SRID=4674;POINT (-40.383188 -2.794431)', '2026-07-20 14:12:53', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383052 -2.794441)'), GeomFromEWKT('SRID=4674;POINT (-40.383188 -2.794431)'))) / (select extract(epoch from '2026-07-20 14:12:53'::timestamp) - extract(epoch from '2026-07-20 14:12:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383052 -2.794441)'), GeomFromEWKT('SRID=4674;POINT (-40.383188 -2.794431)'))) / (select extract(epoch from '2026-07-20 14:12:53'::timestamp) - extract(epoch from '2026-07-20 14:12:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383348 -2.794515)', '2026-07-20 14:13:01', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383188 -2.794431)'), GeomFromEWKT('SRID=4674;POINT (-40.383348 -2.794515)'))) / (select extract(epoch from '2026-07-20 14:13:01'::timestamp) - extract(epoch from '2026-07-20 14:12:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383188 -2.794431)'), GeomFromEWKT('SRID=4674;POINT (-40.383348 -2.794515)'))) / (select extract(epoch from '2026-07-20 14:13:01'::timestamp) - extract(epoch from '2026-07-20 14:12: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'), 47832, 'SRID=4674;POINT (-40.383497 -2.794566)', '2026-07-20 14:13:09', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383348 -2.794515)'), GeomFromEWKT('SRID=4674;POINT (-40.383497 -2.794566)'))) / (select extract(epoch from '2026-07-20 14:13:09'::timestamp) - extract(epoch from '2026-07-20 14:13:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383348 -2.794515)'), GeomFromEWKT('SRID=4674;POINT (-40.383497 -2.794566)'))) / (select extract(epoch from '2026-07-20 14:13:09'::timestamp) - extract(epoch from '2026-07-20 14:13: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'), 47832, 'SRID=4674;POINT (-40.383689 -2.794584)', '2026-07-20 14:13:19', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383497 -2.794566)'), GeomFromEWKT('SRID=4674;POINT (-40.383689 -2.794584)'))) / (select extract(epoch from '2026-07-20 14:13:19'::timestamp) - extract(epoch from '2026-07-20 14:13:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383497 -2.794566)'), GeomFromEWKT('SRID=4674;POINT (-40.383689 -2.794584)'))) / (select extract(epoch from '2026-07-20 14:13:19'::timestamp) - extract(epoch from '2026-07-20 14:13: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'), 47832, 'SRID=4674;POINT (-40.383822 -2.794607)', '2026-07-20 14:13:25', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383689 -2.794584)'), GeomFromEWKT('SRID=4674;POINT (-40.383822 -2.794607)'))) / (select extract(epoch from '2026-07-20 14:13:25'::timestamp) - extract(epoch from '2026-07-20 14:13:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383689 -2.794584)'), GeomFromEWKT('SRID=4674;POINT (-40.383822 -2.794607)'))) / (select extract(epoch from '2026-07-20 14:13:25'::timestamp) - extract(epoch from '2026-07-20 14:13: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'), 47832, 'SRID=4674;POINT (-40.383864 -2.794681)', '2026-07-20 14:13:30', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383822 -2.794607)'), GeomFromEWKT('SRID=4674;POINT (-40.383864 -2.794681)'))) / (select extract(epoch from '2026-07-20 14:13:30'::timestamp) - extract(epoch from '2026-07-20 14:13:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383822 -2.794607)'), GeomFromEWKT('SRID=4674;POINT (-40.383864 -2.794681)'))) / (select extract(epoch from '2026-07-20 14:13:30'::timestamp) - extract(epoch from '2026-07-20 14:13: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'), 47832, 'SRID=4674;POINT (-40.383856 -2.79477)', '2026-07-20 14:13:36', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383864 -2.794681)'), GeomFromEWKT('SRID=4674;POINT (-40.383856 -2.79477)'))) / (select extract(epoch from '2026-07-20 14:13:36'::timestamp) - extract(epoch from '2026-07-20 14:13:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383864 -2.794681)'), GeomFromEWKT('SRID=4674;POINT (-40.383856 -2.79477)'))) / (select extract(epoch from '2026-07-20 14:13:36'::timestamp) - extract(epoch from '2026-07-20 14:13:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383783 -2.794879)', '2026-07-20 14:13:44', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383856 -2.79477)'), GeomFromEWKT('SRID=4674;POINT (-40.383783 -2.794879)'))) / (select extract(epoch from '2026-07-20 14:13:44'::timestamp) - extract(epoch from '2026-07-20 14:13:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383856 -2.79477)'), GeomFromEWKT('SRID=4674;POINT (-40.383783 -2.794879)'))) / (select extract(epoch from '2026-07-20 14:13:44'::timestamp) - extract(epoch from '2026-07-20 14:13: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'), 47832, 'SRID=4674;POINT (-40.383695 -2.794927)', '2026-07-20 14:13:51', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383783 -2.794879)'), GeomFromEWKT('SRID=4674;POINT (-40.383695 -2.794927)'))) / (select extract(epoch from '2026-07-20 14:13:51'::timestamp) - extract(epoch from '2026-07-20 14:13:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383783 -2.794879)'), GeomFromEWKT('SRID=4674;POINT (-40.383695 -2.794927)'))) / (select extract(epoch from '2026-07-20 14:13:51'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.383603 -2.794981)', '2026-07-20 14:13:58', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383695 -2.794927)'), GeomFromEWKT('SRID=4674;POINT (-40.383603 -2.794981)'))) / (select extract(epoch from '2026-07-20 14:13:58'::timestamp) - extract(epoch from '2026-07-20 14:13:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383695 -2.794927)'), GeomFromEWKT('SRID=4674;POINT (-40.383603 -2.794981)'))) / (select extract(epoch from '2026-07-20 14:13:58'::timestamp) - extract(epoch from '2026-07-20 14:13: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'), 47832, 'SRID=4674;POINT (-40.383496 -2.79507)', '2026-07-20 14:14:06', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383603 -2.794981)'), GeomFromEWKT('SRID=4674;POINT (-40.383496 -2.79507)'))) / (select extract(epoch from '2026-07-20 14:14:06'::timestamp) - extract(epoch from '2026-07-20 14:13:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383603 -2.794981)'), GeomFromEWKT('SRID=4674;POINT (-40.383496 -2.79507)'))) / (select extract(epoch from '2026-07-20 14:14:06'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.383402 -2.795139)', '2026-07-20 14:14:13', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383496 -2.79507)'), GeomFromEWKT('SRID=4674;POINT (-40.383402 -2.795139)'))) / (select extract(epoch from '2026-07-20 14:14:13'::timestamp) - extract(epoch from '2026-07-20 14:14:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383496 -2.79507)'), GeomFromEWKT('SRID=4674;POINT (-40.383402 -2.795139)'))) / (select extract(epoch from '2026-07-20 14:14:13'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.383293 -2.795242)', '2026-07-20 14:14:22', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383402 -2.795139)'), GeomFromEWKT('SRID=4674;POINT (-40.383293 -2.795242)'))) / (select extract(epoch from '2026-07-20 14:14:22'::timestamp) - extract(epoch from '2026-07-20 14:14:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383402 -2.795139)'), GeomFromEWKT('SRID=4674;POINT (-40.383293 -2.795242)'))) / (select extract(epoch from '2026-07-20 14:14:22'::timestamp) - extract(epoch from '2026-07-20 14:14: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'), 47832, 'SRID=4674;POINT (-40.383161 -2.795309)', '2026-07-20 14:14:30', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383293 -2.795242)'), GeomFromEWKT('SRID=4674;POINT (-40.383161 -2.795309)'))) / (select extract(epoch from '2026-07-20 14:14:30'::timestamp) - extract(epoch from '2026-07-20 14:14:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383293 -2.795242)'), GeomFromEWKT('SRID=4674;POINT (-40.383161 -2.795309)'))) / (select extract(epoch from '2026-07-20 14:14:30'::timestamp) - extract(epoch from '2026-07-20 14:14:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383085 -2.79537)', '2026-07-20 14:14:36', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383161 -2.795309)'), GeomFromEWKT('SRID=4674;POINT (-40.383085 -2.79537)'))) / (select extract(epoch from '2026-07-20 14:14:36'::timestamp) - extract(epoch from '2026-07-20 14:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383161 -2.795309)'), GeomFromEWKT('SRID=4674;POINT (-40.383085 -2.79537)'))) / (select extract(epoch from '2026-07-20 14:14:36'::timestamp) - extract(epoch from '2026-07-20 14:14:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.382959 -2.795451)', '2026-07-20 14:14:44', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383085 -2.79537)'), GeomFromEWKT('SRID=4674;POINT (-40.382959 -2.795451)'))) / (select extract(epoch from '2026-07-20 14:14:44'::timestamp) - extract(epoch from '2026-07-20 14:14:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383085 -2.79537)'), GeomFromEWKT('SRID=4674;POINT (-40.382959 -2.795451)'))) / (select extract(epoch from '2026-07-20 14:14:44'::timestamp) - extract(epoch from '2026-07-20 14:14:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.382819 -2.795548)', '2026-07-20 14:14:53', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382959 -2.795451)'), GeomFromEWKT('SRID=4674;POINT (-40.382819 -2.795548)'))) / (select extract(epoch from '2026-07-20 14:14:53'::timestamp) - extract(epoch from '2026-07-20 14:14:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382959 -2.795451)'), GeomFromEWKT('SRID=4674;POINT (-40.382819 -2.795548)'))) / (select extract(epoch from '2026-07-20 14:14:53'::timestamp) - extract(epoch from '2026-07-20 14:14:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.382719 -2.795604)', '2026-07-20 14:15:00', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382819 -2.795548)'), GeomFromEWKT('SRID=4674;POINT (-40.382719 -2.795604)'))) / (select extract(epoch from '2026-07-20 14:15:00'::timestamp) - extract(epoch from '2026-07-20 14:14:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382819 -2.795548)'), GeomFromEWKT('SRID=4674;POINT (-40.382719 -2.795604)'))) / (select extract(epoch from '2026-07-20 14:15:00'::timestamp) - extract(epoch from '2026-07-20 14:14: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'), 47832, 'SRID=4674;POINT (-40.382603 -2.795674)', '2026-07-20 14:15:08', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382719 -2.795604)'), GeomFromEWKT('SRID=4674;POINT (-40.382603 -2.795674)'))) / (select extract(epoch from '2026-07-20 14:15:08'::timestamp) - extract(epoch from '2026-07-20 14:15:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382719 -2.795604)'), GeomFromEWKT('SRID=4674;POINT (-40.382603 -2.795674)'))) / (select extract(epoch from '2026-07-20 14:15:08'::timestamp) - extract(epoch from '2026-07-20 14:15: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'), 47832, 'SRID=4674;POINT (-40.382476 -2.795741)', '2026-07-20 14:15:16', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382603 -2.795674)'), GeomFromEWKT('SRID=4674;POINT (-40.382476 -2.795741)'))) / (select extract(epoch from '2026-07-20 14:15:16'::timestamp) - extract(epoch from '2026-07-20 14:15:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382603 -2.795674)'), GeomFromEWKT('SRID=4674;POINT (-40.382476 -2.795741)'))) / (select extract(epoch from '2026-07-20 14:15:16'::timestamp) - extract(epoch from '2026-07-20 14:15: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'), 47832, 'SRID=4674;POINT (-40.382358 -2.795803)', '2026-07-20 14:15:23', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382476 -2.795741)'), GeomFromEWKT('SRID=4674;POINT (-40.382358 -2.795803)'))) / (select extract(epoch from '2026-07-20 14:15:23'::timestamp) - extract(epoch from '2026-07-20 14:15:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382476 -2.795741)'), GeomFromEWKT('SRID=4674;POINT (-40.382358 -2.795803)'))) / (select extract(epoch from '2026-07-20 14:15:23'::timestamp) - extract(epoch from '2026-07-20 14:15:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.382212 -2.795875)', '2026-07-20 14:15:31', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382358 -2.795803)'), GeomFromEWKT('SRID=4674;POINT (-40.382212 -2.795875)'))) / (select extract(epoch from '2026-07-20 14:15:31'::timestamp) - extract(epoch from '2026-07-20 14:15:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382358 -2.795803)'), GeomFromEWKT('SRID=4674;POINT (-40.382212 -2.795875)'))) / (select extract(epoch from '2026-07-20 14:15:31'::timestamp) - extract(epoch from '2026-07-20 14:15: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'), 47832, 'SRID=4674;POINT (-40.382085 -2.795965)', '2026-07-20 14:15:39', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382212 -2.795875)'), GeomFromEWKT('SRID=4674;POINT (-40.382085 -2.795965)'))) / (select extract(epoch from '2026-07-20 14:15:39'::timestamp) - extract(epoch from '2026-07-20 14:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382212 -2.795875)'), GeomFromEWKT('SRID=4674;POINT (-40.382085 -2.795965)'))) / (select extract(epoch from '2026-07-20 14:15:39'::timestamp) - extract(epoch from '2026-07-20 14:15:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.381971 -2.796051)', '2026-07-20 14:15:47', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382085 -2.795965)'), GeomFromEWKT('SRID=4674;POINT (-40.381971 -2.796051)'))) / (select extract(epoch from '2026-07-20 14:15:47'::timestamp) - extract(epoch from '2026-07-20 14:15:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382085 -2.795965)'), GeomFromEWKT('SRID=4674;POINT (-40.381971 -2.796051)'))) / (select extract(epoch from '2026-07-20 14:15:47'::timestamp) - extract(epoch from '2026-07-20 14:15:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.381905 -2.796142)', '2026-07-20 14:15:54', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381971 -2.796051)'), GeomFromEWKT('SRID=4674;POINT (-40.381905 -2.796142)'))) / (select extract(epoch from '2026-07-20 14:15:54'::timestamp) - extract(epoch from '2026-07-20 14:15:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381971 -2.796051)'), GeomFromEWKT('SRID=4674;POINT (-40.381905 -2.796142)'))) / (select extract(epoch from '2026-07-20 14:15:54'::timestamp) - extract(epoch from '2026-07-20 14:15:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.381833 -2.796203)', '2026-07-20 14:16:00', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381905 -2.796142)'), GeomFromEWKT('SRID=4674;POINT (-40.381833 -2.796203)'))) / (select extract(epoch from '2026-07-20 14:16:00'::timestamp) - extract(epoch from '2026-07-20 14:15:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381905 -2.796142)'), GeomFromEWKT('SRID=4674;POINT (-40.381833 -2.796203)'))) / (select extract(epoch from '2026-07-20 14:16:00'::timestamp) - extract(epoch from '2026-07-20 14:15: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'), 47832, 'SRID=4674;POINT (-40.381712 -2.796278)', '2026-07-20 14:16:08', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381833 -2.796203)'), GeomFromEWKT('SRID=4674;POINT (-40.381712 -2.796278)'))) / (select extract(epoch from '2026-07-20 14:16:08'::timestamp) - extract(epoch from '2026-07-20 14:16:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381833 -2.796203)'), GeomFromEWKT('SRID=4674;POINT (-40.381712 -2.796278)'))) / (select extract(epoch from '2026-07-20 14:16:08'::timestamp) - extract(epoch from '2026-07-20 14:16: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'), 47832, 'SRID=4674;POINT (-40.381627 -2.796354)', '2026-07-20 14:16:15', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381712 -2.796278)'), GeomFromEWKT('SRID=4674;POINT (-40.381627 -2.796354)'))) / (select extract(epoch from '2026-07-20 14:16:15'::timestamp) - extract(epoch from '2026-07-20 14:16:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381712 -2.796278)'), GeomFromEWKT('SRID=4674;POINT (-40.381627 -2.796354)'))) / (select extract(epoch from '2026-07-20 14:16:15'::timestamp) - extract(epoch from '2026-07-20 14:16: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'), 47832, 'SRID=4674;POINT (-40.381491 -2.796432)', '2026-07-20 14:16:24', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381627 -2.796354)'), GeomFromEWKT('SRID=4674;POINT (-40.381491 -2.796432)'))) / (select extract(epoch from '2026-07-20 14:16:24'::timestamp) - extract(epoch from '2026-07-20 14:16:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381627 -2.796354)'), GeomFromEWKT('SRID=4674;POINT (-40.381491 -2.796432)'))) / (select extract(epoch from '2026-07-20 14:16:24'::timestamp) - extract(epoch from '2026-07-20 14:16:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.381395 -2.796481)', '2026-07-20 14:16:30', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381491 -2.796432)'), GeomFromEWKT('SRID=4674;POINT (-40.381395 -2.796481)'))) / (select extract(epoch from '2026-07-20 14:16:30'::timestamp) - extract(epoch from '2026-07-20 14:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381491 -2.796432)'), GeomFromEWKT('SRID=4674;POINT (-40.381395 -2.796481)'))) / (select extract(epoch from '2026-07-20 14:16:30'::timestamp) - extract(epoch from '2026-07-20 14:16:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.381282 -2.796559)', '2026-07-20 14:16:37', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381395 -2.796481)'), GeomFromEWKT('SRID=4674;POINT (-40.381282 -2.796559)'))) / (select extract(epoch from '2026-07-20 14:16:37'::timestamp) - extract(epoch from '2026-07-20 14:16:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381395 -2.796481)'), GeomFromEWKT('SRID=4674;POINT (-40.381282 -2.796559)'))) / (select extract(epoch from '2026-07-20 14:16:37'::timestamp) - extract(epoch from '2026-07-20 14:16: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'), 47832, 'SRID=4674;POINT (-40.381182 -2.796623)', '2026-07-20 14:16:44', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381282 -2.796559)'), GeomFromEWKT('SRID=4674;POINT (-40.381182 -2.796623)'))) / (select extract(epoch from '2026-07-20 14:16:44'::timestamp) - extract(epoch from '2026-07-20 14:16:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381282 -2.796559)'), GeomFromEWKT('SRID=4674;POINT (-40.381182 -2.796623)'))) / (select extract(epoch from '2026-07-20 14:16:44'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.381091 -2.796687)', '2026-07-20 14:16:51', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381182 -2.796623)'), GeomFromEWKT('SRID=4674;POINT (-40.381091 -2.796687)'))) / (select extract(epoch from '2026-07-20 14:16:51'::timestamp) - extract(epoch from '2026-07-20 14:16:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381182 -2.796623)'), GeomFromEWKT('SRID=4674;POINT (-40.381091 -2.796687)'))) / (select extract(epoch from '2026-07-20 14:16:51'::timestamp) - extract(epoch from '2026-07-20 14:16: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'), 47832, 'SRID=4674;POINT (-40.380957 -2.796772)', '2026-07-20 14:17:00', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381091 -2.796687)'), GeomFromEWKT('SRID=4674;POINT (-40.380957 -2.796772)'))) / (select extract(epoch from '2026-07-20 14:17:00'::timestamp) - extract(epoch from '2026-07-20 14:16:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381091 -2.796687)'), GeomFromEWKT('SRID=4674;POINT (-40.380957 -2.796772)'))) / (select extract(epoch from '2026-07-20 14:17:00'::timestamp) - extract(epoch from '2026-07-20 14:16: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'), 47832, 'SRID=4674;POINT (-40.380821 -2.796867)', '2026-07-20 14:17:08', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380957 -2.796772)'), GeomFromEWKT('SRID=4674;POINT (-40.380821 -2.796867)'))) / (select extract(epoch from '2026-07-20 14:17:08'::timestamp) - extract(epoch from '2026-07-20 14:17:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380957 -2.796772)'), GeomFromEWKT('SRID=4674;POINT (-40.380821 -2.796867)'))) / (select extract(epoch from '2026-07-20 14:17:08'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.3807 -2.796927)', '2026-07-20 14:17:15', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380821 -2.796867)'), GeomFromEWKT('SRID=4674;POINT (-40.3807 -2.796927)'))) / (select extract(epoch from '2026-07-20 14:17:15'::timestamp) - extract(epoch from '2026-07-20 14:17:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380821 -2.796867)'), GeomFromEWKT('SRID=4674;POINT (-40.3807 -2.796927)'))) / (select extract(epoch from '2026-07-20 14:17:15'::timestamp) - extract(epoch from '2026-07-20 14:17: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'), 47832, 'SRID=4674;POINT (-40.380561 -2.796979)', '2026-07-20 14:17:22', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3807 -2.796927)'), GeomFromEWKT('SRID=4674;POINT (-40.380561 -2.796979)'))) / (select extract(epoch from '2026-07-20 14:17:22'::timestamp) - extract(epoch from '2026-07-20 14:17:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3807 -2.796927)'), GeomFromEWKT('SRID=4674;POINT (-40.380561 -2.796979)'))) / (select extract(epoch from '2026-07-20 14:17:22'::timestamp) - extract(epoch from '2026-07-20 14:17:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.38048 -2.797028)', '2026-07-20 14:17:28', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380561 -2.796979)'), GeomFromEWKT('SRID=4674;POINT (-40.38048 -2.797028)'))) / (select extract(epoch from '2026-07-20 14:17:28'::timestamp) - extract(epoch from '2026-07-20 14:17:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380561 -2.796979)'), GeomFromEWKT('SRID=4674;POINT (-40.38048 -2.797028)'))) / (select extract(epoch from '2026-07-20 14:17:28'::timestamp) - extract(epoch from '2026-07-20 14:17:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.380405 -2.797118)', '2026-07-20 14:17:35', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38048 -2.797028)'), GeomFromEWKT('SRID=4674;POINT (-40.380405 -2.797118)'))) / (select extract(epoch from '2026-07-20 14:17:35'::timestamp) - extract(epoch from '2026-07-20 14:17:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38048 -2.797028)'), GeomFromEWKT('SRID=4674;POINT (-40.380405 -2.797118)'))) / (select extract(epoch from '2026-07-20 14:17:35'::timestamp) - extract(epoch from '2026-07-20 14:17:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.380322 -2.797211)', '2026-07-20 14:17:43', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380405 -2.797118)'), GeomFromEWKT('SRID=4674;POINT (-40.380322 -2.797211)'))) / (select extract(epoch from '2026-07-20 14:17:43'::timestamp) - extract(epoch from '2026-07-20 14:17:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380405 -2.797118)'), GeomFromEWKT('SRID=4674;POINT (-40.380322 -2.797211)'))) / (select extract(epoch from '2026-07-20 14:17:43'::timestamp) - extract(epoch from '2026-07-20 14:17: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'), 47832, 'SRID=4674;POINT (-40.380249 -2.797309)', '2026-07-20 14:17:50', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380322 -2.797211)'), GeomFromEWKT('SRID=4674;POINT (-40.380249 -2.797309)'))) / (select extract(epoch from '2026-07-20 14:17:50'::timestamp) - extract(epoch from '2026-07-20 14:17:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380322 -2.797211)'), GeomFromEWKT('SRID=4674;POINT (-40.380249 -2.797309)'))) / (select extract(epoch from '2026-07-20 14:17:50'::timestamp) - extract(epoch from '2026-07-20 14:17:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.38016 -2.797403)', '2026-07-20 14:17:58', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380249 -2.797309)'), GeomFromEWKT('SRID=4674;POINT (-40.38016 -2.797403)'))) / (select extract(epoch from '2026-07-20 14:17:58'::timestamp) - extract(epoch from '2026-07-20 14:17:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380249 -2.797309)'), GeomFromEWKT('SRID=4674;POINT (-40.38016 -2.797403)'))) / (select extract(epoch from '2026-07-20 14:17:58'::timestamp) - extract(epoch from '2026-07-20 14:17:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.380056 -2.797502)', '2026-07-20 14:18:06', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38016 -2.797403)'), GeomFromEWKT('SRID=4674;POINT (-40.380056 -2.797502)'))) / (select extract(epoch from '2026-07-20 14:18:06'::timestamp) - extract(epoch from '2026-07-20 14:17:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38016 -2.797403)'), GeomFromEWKT('SRID=4674;POINT (-40.380056 -2.797502)'))) / (select extract(epoch from '2026-07-20 14:18:06'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.37994 -2.797606)', '2026-07-20 14:18:14', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380056 -2.797502)'), GeomFromEWKT('SRID=4674;POINT (-40.37994 -2.797606)'))) / (select extract(epoch from '2026-07-20 14:18:14'::timestamp) - extract(epoch from '2026-07-20 14:18:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380056 -2.797502)'), GeomFromEWKT('SRID=4674;POINT (-40.37994 -2.797606)'))) / (select extract(epoch from '2026-07-20 14:18:14'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.379839 -2.797718)', '2026-07-20 14:18:22', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37994 -2.797606)'), GeomFromEWKT('SRID=4674;POINT (-40.379839 -2.797718)'))) / (select extract(epoch from '2026-07-20 14:18:22'::timestamp) - extract(epoch from '2026-07-20 14:18:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37994 -2.797606)'), GeomFromEWKT('SRID=4674;POINT (-40.379839 -2.797718)'))) / (select extract(epoch from '2026-07-20 14:18:22'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.379755 -2.797804)', '2026-07-20 14:18:28', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379839 -2.797718)'), GeomFromEWKT('SRID=4674;POINT (-40.379755 -2.797804)'))) / (select extract(epoch from '2026-07-20 14:18:28'::timestamp) - extract(epoch from '2026-07-20 14:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379839 -2.797718)'), GeomFromEWKT('SRID=4674;POINT (-40.379755 -2.797804)'))) / (select extract(epoch from '2026-07-20 14:18:28'::timestamp) - extract(epoch from '2026-07-20 14:18: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'), 47832, 'SRID=4674;POINT (-40.379611 -2.797915)', '2026-07-20 14:18:37', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379755 -2.797804)'), GeomFromEWKT('SRID=4674;POINT (-40.379611 -2.797915)'))) / (select extract(epoch from '2026-07-20 14:18:37'::timestamp) - extract(epoch from '2026-07-20 14:18:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379755 -2.797804)'), GeomFromEWKT('SRID=4674;POINT (-40.379611 -2.797915)'))) / (select extract(epoch from '2026-07-20 14:18:37'::timestamp) - extract(epoch from '2026-07-20 14:18: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'), 47832, 'SRID=4674;POINT (-40.379492 -2.798001)', '2026-07-20 14:18:45', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379611 -2.797915)'), GeomFromEWKT('SRID=4674;POINT (-40.379492 -2.798001)'))) / (select extract(epoch from '2026-07-20 14:18:45'::timestamp) - extract(epoch from '2026-07-20 14:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379611 -2.797915)'), GeomFromEWKT('SRID=4674;POINT (-40.379492 -2.798001)'))) / (select extract(epoch from '2026-07-20 14:18:45'::timestamp) - extract(epoch from '2026-07-20 14:18:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.379368 -2.798107)', '2026-07-20 14:18:53', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379492 -2.798001)'), GeomFromEWKT('SRID=4674;POINT (-40.379368 -2.798107)'))) / (select extract(epoch from '2026-07-20 14:18:53'::timestamp) - extract(epoch from '2026-07-20 14:18:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379492 -2.798001)'), GeomFromEWKT('SRID=4674;POINT (-40.379368 -2.798107)'))) / (select extract(epoch from '2026-07-20 14:18:53'::timestamp) - extract(epoch from '2026-07-20 14:18:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.379284 -2.798189)', '2026-07-20 14:18:59', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379368 -2.798107)'), GeomFromEWKT('SRID=4674;POINT (-40.379284 -2.798189)'))) / (select extract(epoch from '2026-07-20 14:18:59'::timestamp) - extract(epoch from '2026-07-20 14:18:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379368 -2.798107)'), GeomFromEWKT('SRID=4674;POINT (-40.379284 -2.798189)'))) / (select extract(epoch from '2026-07-20 14:18:59'::timestamp) - extract(epoch from '2026-07-20 14:18:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.379178 -2.798275)', '2026-07-20 14:19:06', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379284 -2.798189)'), GeomFromEWKT('SRID=4674;POINT (-40.379178 -2.798275)'))) / (select extract(epoch from '2026-07-20 14:19:06'::timestamp) - extract(epoch from '2026-07-20 14:18:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379284 -2.798189)'), GeomFromEWKT('SRID=4674;POINT (-40.379178 -2.798275)'))) / (select extract(epoch from '2026-07-20 14:19:06'::timestamp) - extract(epoch from '2026-07-20 14:18:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.379097 -2.798366)', '2026-07-20 14:19:12', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379178 -2.798275)'), GeomFromEWKT('SRID=4674;POINT (-40.379097 -2.798366)'))) / (select extract(epoch from '2026-07-20 14:19:12'::timestamp) - extract(epoch from '2026-07-20 14:19:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379178 -2.798275)'), GeomFromEWKT('SRID=4674;POINT (-40.379097 -2.798366)'))) / (select extract(epoch from '2026-07-20 14:19:12'::timestamp) - extract(epoch from '2026-07-20 14:19:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.379001 -2.798458)', '2026-07-20 14:19:19', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379097 -2.798366)'), GeomFromEWKT('SRID=4674;POINT (-40.379001 -2.798458)'))) / (select extract(epoch from '2026-07-20 14:19:19'::timestamp) - extract(epoch from '2026-07-20 14:19:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379097 -2.798366)'), GeomFromEWKT('SRID=4674;POINT (-40.379001 -2.798458)'))) / (select extract(epoch from '2026-07-20 14:19:19'::timestamp) - extract(epoch from '2026-07-20 14:19: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'), 47832, 'SRID=4674;POINT (-40.378922 -2.798539)', '2026-07-20 14:19:26', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379001 -2.798458)'), GeomFromEWKT('SRID=4674;POINT (-40.378922 -2.798539)'))) / (select extract(epoch from '2026-07-20 14:19:26'::timestamp) - extract(epoch from '2026-07-20 14:19:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379001 -2.798458)'), GeomFromEWKT('SRID=4674;POINT (-40.378922 -2.798539)'))) / (select extract(epoch from '2026-07-20 14:19:26'::timestamp) - extract(epoch from '2026-07-20 14:19: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'), 47832, 'SRID=4674;POINT (-40.37882 -2.798607)', '2026-07-20 14:19:33', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378922 -2.798539)'), GeomFromEWKT('SRID=4674;POINT (-40.37882 -2.798607)'))) / (select extract(epoch from '2026-07-20 14:19:33'::timestamp) - extract(epoch from '2026-07-20 14:19:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378922 -2.798539)'), GeomFromEWKT('SRID=4674;POINT (-40.37882 -2.798607)'))) / (select extract(epoch from '2026-07-20 14:19:33'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.37866 -2.798688)', '2026-07-20 14:19:42', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37882 -2.798607)'), GeomFromEWKT('SRID=4674;POINT (-40.37866 -2.798688)'))) / (select extract(epoch from '2026-07-20 14:19:42'::timestamp) - extract(epoch from '2026-07-20 14:19:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37882 -2.798607)'), GeomFromEWKT('SRID=4674;POINT (-40.37866 -2.798688)'))) / (select extract(epoch from '2026-07-20 14:19:42'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.378576 -2.79877)', '2026-07-20 14:19:49', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37866 -2.798688)'), GeomFromEWKT('SRID=4674;POINT (-40.378576 -2.79877)'))) / (select extract(epoch from '2026-07-20 14:19:49'::timestamp) - extract(epoch from '2026-07-20 14:19:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37866 -2.798688)'), GeomFromEWKT('SRID=4674;POINT (-40.378576 -2.79877)'))) / (select extract(epoch from '2026-07-20 14:19:49'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.37842 -2.798871)', '2026-07-20 14:19:58', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378576 -2.79877)'), GeomFromEWKT('SRID=4674;POINT (-40.37842 -2.798871)'))) / (select extract(epoch from '2026-07-20 14:19:58'::timestamp) - extract(epoch from '2026-07-20 14:19:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378576 -2.79877)'), GeomFromEWKT('SRID=4674;POINT (-40.37842 -2.798871)'))) / (select extract(epoch from '2026-07-20 14:19:58'::timestamp) - extract(epoch from '2026-07-20 14:19: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'), 47832, 'SRID=4674;POINT (-40.378339 -2.798947)', '2026-07-20 14:20:05', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37842 -2.798871)'), GeomFromEWKT('SRID=4674;POINT (-40.378339 -2.798947)'))) / (select extract(epoch from '2026-07-20 14:20:05'::timestamp) - extract(epoch from '2026-07-20 14:19:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37842 -2.798871)'), GeomFromEWKT('SRID=4674;POINT (-40.378339 -2.798947)'))) / (select extract(epoch from '2026-07-20 14:20:05'::timestamp) - extract(epoch from '2026-07-20 14:19:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.378286 -2.799043)', '2026-07-20 14:20:12', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378339 -2.798947)'), GeomFromEWKT('SRID=4674;POINT (-40.378286 -2.799043)'))) / (select extract(epoch from '2026-07-20 14:20:12'::timestamp) - extract(epoch from '2026-07-20 14:20:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378339 -2.798947)'), GeomFromEWKT('SRID=4674;POINT (-40.378286 -2.799043)'))) / (select extract(epoch from '2026-07-20 14:20:12'::timestamp) - extract(epoch from '2026-07-20 14:20:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.378211 -2.799115)', '2026-07-20 14:20:20', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378286 -2.799043)'), GeomFromEWKT('SRID=4674;POINT (-40.378211 -2.799115)'))) / (select extract(epoch from '2026-07-20 14:20:20'::timestamp) - extract(epoch from '2026-07-20 14:20:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378286 -2.799043)'), GeomFromEWKT('SRID=4674;POINT (-40.378211 -2.799115)'))) / (select extract(epoch from '2026-07-20 14:20:20'::timestamp) - extract(epoch from '2026-07-20 14:20:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.378111 -2.799202)', '2026-07-20 14:20:28', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378211 -2.799115)'), GeomFromEWKT('SRID=4674;POINT (-40.378111 -2.799202)'))) / (select extract(epoch from '2026-07-20 14:20:28'::timestamp) - extract(epoch from '2026-07-20 14:20:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378211 -2.799115)'), GeomFromEWKT('SRID=4674;POINT (-40.378111 -2.799202)'))) / (select extract(epoch from '2026-07-20 14:20:28'::timestamp) - extract(epoch from '2026-07-20 14:20: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'), 47832, 'SRID=4674;POINT (-40.377962 -2.799296)', '2026-07-20 14:20:38', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378111 -2.799202)'), GeomFromEWKT('SRID=4674;POINT (-40.377962 -2.799296)'))) / (select extract(epoch from '2026-07-20 14:20:38'::timestamp) - extract(epoch from '2026-07-20 14:20:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378111 -2.799202)'), GeomFromEWKT('SRID=4674;POINT (-40.377962 -2.799296)'))) / (select extract(epoch from '2026-07-20 14:20:38'::timestamp) - extract(epoch from '2026-07-20 14:20:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.377812 -2.799395)', '2026-07-20 14:20:48', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377962 -2.799296)'), GeomFromEWKT('SRID=4674;POINT (-40.377812 -2.799395)'))) / (select extract(epoch from '2026-07-20 14:20:48'::timestamp) - extract(epoch from '2026-07-20 14:20:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377962 -2.799296)'), GeomFromEWKT('SRID=4674;POINT (-40.377812 -2.799395)'))) / (select extract(epoch from '2026-07-20 14:20:48'::timestamp) - extract(epoch from '2026-07-20 14:20:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.377699 -2.799515)', '2026-07-20 14:20:57', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377812 -2.799395)'), GeomFromEWKT('SRID=4674;POINT (-40.377699 -2.799515)'))) / (select extract(epoch from '2026-07-20 14:20:57'::timestamp) - extract(epoch from '2026-07-20 14:20:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377812 -2.799395)'), GeomFromEWKT('SRID=4674;POINT (-40.377699 -2.799515)'))) / (select extract(epoch from '2026-07-20 14:20:57'::timestamp) - extract(epoch from '2026-07-20 14:20: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'), 47832, 'SRID=4674;POINT (-40.377618 -2.799594)', '2026-07-20 14:21:04', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377699 -2.799515)'), GeomFromEWKT('SRID=4674;POINT (-40.377618 -2.799594)'))) / (select extract(epoch from '2026-07-20 14:21:04'::timestamp) - extract(epoch from '2026-07-20 14:20:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377699 -2.799515)'), GeomFromEWKT('SRID=4674;POINT (-40.377618 -2.799594)'))) / (select extract(epoch from '2026-07-20 14:21:04'::timestamp) - extract(epoch from '2026-07-20 14:20: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'), 47832, 'SRID=4674;POINT (-40.377515 -2.799643)', '2026-07-20 14:21:11', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377618 -2.799594)'), GeomFromEWKT('SRID=4674;POINT (-40.377515 -2.799643)'))) / (select extract(epoch from '2026-07-20 14:21:11'::timestamp) - extract(epoch from '2026-07-20 14:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377618 -2.799594)'), GeomFromEWKT('SRID=4674;POINT (-40.377515 -2.799643)'))) / (select extract(epoch from '2026-07-20 14:21:11'::timestamp) - extract(epoch from '2026-07-20 14:21:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.377409 -2.799712)', '2026-07-20 14:21:18', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377515 -2.799643)'), GeomFromEWKT('SRID=4674;POINT (-40.377409 -2.799712)'))) / (select extract(epoch from '2026-07-20 14:21:18'::timestamp) - extract(epoch from '2026-07-20 14:21:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377515 -2.799643)'), GeomFromEWKT('SRID=4674;POINT (-40.377409 -2.799712)'))) / (select extract(epoch from '2026-07-20 14:21:18'::timestamp) - extract(epoch from '2026-07-20 14:21:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.377272 -2.799795)', '2026-07-20 14:21:26', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377409 -2.799712)'), GeomFromEWKT('SRID=4674;POINT (-40.377272 -2.799795)'))) / (select extract(epoch from '2026-07-20 14:21:26'::timestamp) - extract(epoch from '2026-07-20 14:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377409 -2.799712)'), GeomFromEWKT('SRID=4674;POINT (-40.377272 -2.799795)'))) / (select extract(epoch from '2026-07-20 14:21:26'::timestamp) - extract(epoch from '2026-07-20 14:21:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.377176 -2.799863)', '2026-07-20 14:21:33', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377272 -2.799795)'), GeomFromEWKT('SRID=4674;POINT (-40.377176 -2.799863)'))) / (select extract(epoch from '2026-07-20 14:21:33'::timestamp) - extract(epoch from '2026-07-20 14:21:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377272 -2.799795)'), GeomFromEWKT('SRID=4674;POINT (-40.377176 -2.799863)'))) / (select extract(epoch from '2026-07-20 14:21:33'::timestamp) - extract(epoch from '2026-07-20 14:21: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'), 47832, 'SRID=4674;POINT (-40.377033 -2.799925)', '2026-07-20 14:21:42', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377176 -2.799863)'), GeomFromEWKT('SRID=4674;POINT (-40.377033 -2.799925)'))) / (select extract(epoch from '2026-07-20 14:21:42'::timestamp) - extract(epoch from '2026-07-20 14:21:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377176 -2.799863)'), GeomFromEWKT('SRID=4674;POINT (-40.377033 -2.799925)'))) / (select extract(epoch from '2026-07-20 14:21:42'::timestamp) - extract(epoch from '2026-07-20 14:21:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.376919 -2.799982)', '2026-07-20 14:21:50', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377033 -2.799925)'), GeomFromEWKT('SRID=4674;POINT (-40.376919 -2.799982)'))) / (select extract(epoch from '2026-07-20 14:21:50'::timestamp) - extract(epoch from '2026-07-20 14:21:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377033 -2.799925)'), GeomFromEWKT('SRID=4674;POINT (-40.376919 -2.799982)'))) / (select extract(epoch from '2026-07-20 14:21:50'::timestamp) - extract(epoch from '2026-07-20 14:21: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'), 47832, 'SRID=4674;POINT (-40.376906 -2.799992)', '2026-07-20 14:21:51', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376919 -2.799982)'), GeomFromEWKT('SRID=4674;POINT (-40.376906 -2.799992)'))) / (select extract(epoch from '2026-07-20 14:21:51'::timestamp) - extract(epoch from '2026-07-20 14:21:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376919 -2.799982)'), GeomFromEWKT('SRID=4674;POINT (-40.376906 -2.799992)'))) / (select extract(epoch from '2026-07-20 14:21:51'::timestamp) - extract(epoch from '2026-07-20 14:21: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'), 47832, 'SRID=4674;POINT (-40.37686 -2.800027)', '2026-07-20 14:21:55', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376906 -2.799992)'), GeomFromEWKT('SRID=4674;POINT (-40.37686 -2.800027)'))) / (select extract(epoch from '2026-07-20 14:21:55'::timestamp) - extract(epoch from '2026-07-20 14:21:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376906 -2.799992)'), GeomFromEWKT('SRID=4674;POINT (-40.37686 -2.800027)'))) / (select extract(epoch from '2026-07-20 14:21:55'::timestamp) - extract(epoch from '2026-07-20 14:21: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'), 47832, 'SRID=4674;POINT (-40.376726 -2.800102)', '2026-07-20 14:22:04', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37686 -2.800027)'), GeomFromEWKT('SRID=4674;POINT (-40.376726 -2.800102)'))) / (select extract(epoch from '2026-07-20 14:22:04'::timestamp) - extract(epoch from '2026-07-20 14:21:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37686 -2.800027)'), GeomFromEWKT('SRID=4674;POINT (-40.376726 -2.800102)'))) / (select extract(epoch from '2026-07-20 14:22:04'::timestamp) - extract(epoch from '2026-07-20 14:21:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.376603 -2.800167)', '2026-07-20 14:22:11', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376726 -2.800102)'), GeomFromEWKT('SRID=4674;POINT (-40.376603 -2.800167)'))) / (select extract(epoch from '2026-07-20 14:22:11'::timestamp) - extract(epoch from '2026-07-20 14:22:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376726 -2.800102)'), GeomFromEWKT('SRID=4674;POINT (-40.376603 -2.800167)'))) / (select extract(epoch from '2026-07-20 14:22:11'::timestamp) - extract(epoch from '2026-07-20 14:22:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.376481 -2.800242)', '2026-07-20 14:22:18', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376603 -2.800167)'), GeomFromEWKT('SRID=4674;POINT (-40.376481 -2.800242)'))) / (select extract(epoch from '2026-07-20 14:22:18'::timestamp) - extract(epoch from '2026-07-20 14:22:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376603 -2.800167)'), GeomFromEWKT('SRID=4674;POINT (-40.376481 -2.800242)'))) / (select extract(epoch from '2026-07-20 14:22:18'::timestamp) - extract(epoch from '2026-07-20 14:22: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'), 47832, 'SRID=4674;POINT (-40.376335 -2.800334)', '2026-07-20 14:22:28', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376481 -2.800242)'), GeomFromEWKT('SRID=4674;POINT (-40.376335 -2.800334)'))) / (select extract(epoch from '2026-07-20 14:22:28'::timestamp) - extract(epoch from '2026-07-20 14:22:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376481 -2.800242)'), GeomFromEWKT('SRID=4674;POINT (-40.376335 -2.800334)'))) / (select extract(epoch from '2026-07-20 14:22:28'::timestamp) - extract(epoch from '2026-07-20 14:22: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'), 47832, 'SRID=4674;POINT (-40.376214 -2.800401)', '2026-07-20 14:22:36', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376335 -2.800334)'), GeomFromEWKT('SRID=4674;POINT (-40.376214 -2.800401)'))) / (select extract(epoch from '2026-07-20 14:22:36'::timestamp) - extract(epoch from '2026-07-20 14:22:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376335 -2.800334)'), GeomFromEWKT('SRID=4674;POINT (-40.376214 -2.800401)'))) / (select extract(epoch from '2026-07-20 14:22:36'::timestamp) - extract(epoch from '2026-07-20 14:22: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'), 47832, 'SRID=4674;POINT (-40.376097 -2.800476)', '2026-07-20 14:22:43', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376214 -2.800401)'), GeomFromEWKT('SRID=4674;POINT (-40.376097 -2.800476)'))) / (select extract(epoch from '2026-07-20 14:22:43'::timestamp) - extract(epoch from '2026-07-20 14:22:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376214 -2.800401)'), GeomFromEWKT('SRID=4674;POINT (-40.376097 -2.800476)'))) / (select extract(epoch from '2026-07-20 14:22:43'::timestamp) - extract(epoch from '2026-07-20 14:22: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'), 47832, 'SRID=4674;POINT (-40.375984 -2.800544)', '2026-07-20 14:22:50', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376097 -2.800476)'), GeomFromEWKT('SRID=4674;POINT (-40.375984 -2.800544)'))) / (select extract(epoch from '2026-07-20 14:22:50'::timestamp) - extract(epoch from '2026-07-20 14:22:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376097 -2.800476)'), GeomFromEWKT('SRID=4674;POINT (-40.375984 -2.800544)'))) / (select extract(epoch from '2026-07-20 14:22:50'::timestamp) - extract(epoch from '2026-07-20 14:22:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.375855 -2.800617)', '2026-07-20 14:22:58', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375984 -2.800544)'), GeomFromEWKT('SRID=4674;POINT (-40.375855 -2.800617)'))) / (select extract(epoch from '2026-07-20 14:22:58'::timestamp) - extract(epoch from '2026-07-20 14:22:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375984 -2.800544)'), GeomFromEWKT('SRID=4674;POINT (-40.375855 -2.800617)'))) / (select extract(epoch from '2026-07-20 14:22:58'::timestamp) - extract(epoch from '2026-07-20 14:22:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.375755 -2.800677)', '2026-07-20 14:23:04', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375855 -2.800617)'), GeomFromEWKT('SRID=4674;POINT (-40.375755 -2.800677)'))) / (select extract(epoch from '2026-07-20 14:23:04'::timestamp) - extract(epoch from '2026-07-20 14:22:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375855 -2.800617)'), GeomFromEWKT('SRID=4674;POINT (-40.375755 -2.800677)'))) / (select extract(epoch from '2026-07-20 14:23:04'::timestamp) - extract(epoch from '2026-07-20 14:22: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'), 47832, 'SRID=4674;POINT (-40.375626 -2.800754)', '2026-07-20 14:23:12', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375755 -2.800677)'), GeomFromEWKT('SRID=4674;POINT (-40.375626 -2.800754)'))) / (select extract(epoch from '2026-07-20 14:23:12'::timestamp) - extract(epoch from '2026-07-20 14:23:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375755 -2.800677)'), GeomFromEWKT('SRID=4674;POINT (-40.375626 -2.800754)'))) / (select extract(epoch from '2026-07-20 14:23:12'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.375497 -2.800833)', '2026-07-20 14:23:20', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375626 -2.800754)'), GeomFromEWKT('SRID=4674;POINT (-40.375497 -2.800833)'))) / (select extract(epoch from '2026-07-20 14:23:20'::timestamp) - extract(epoch from '2026-07-20 14:23:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375626 -2.800754)'), GeomFromEWKT('SRID=4674;POINT (-40.375497 -2.800833)'))) / (select extract(epoch from '2026-07-20 14:23:20'::timestamp) - extract(epoch from '2026-07-20 14:23: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'), 47832, 'SRID=4674;POINT (-40.375345 -2.800921)', '2026-07-20 14:23:29', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375497 -2.800833)'), GeomFromEWKT('SRID=4674;POINT (-40.375345 -2.800921)'))) / (select extract(epoch from '2026-07-20 14:23:29'::timestamp) - extract(epoch from '2026-07-20 14:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375497 -2.800833)'), GeomFromEWKT('SRID=4674;POINT (-40.375345 -2.800921)'))) / (select extract(epoch from '2026-07-20 14:23:29'::timestamp) - extract(epoch from '2026-07-20 14:23:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.375209 -2.801023)', '2026-07-20 14:23:38', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375345 -2.800921)'), GeomFromEWKT('SRID=4674;POINT (-40.375209 -2.801023)'))) / (select extract(epoch from '2026-07-20 14:23:38'::timestamp) - extract(epoch from '2026-07-20 14:23:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375345 -2.800921)'), GeomFromEWKT('SRID=4674;POINT (-40.375209 -2.801023)'))) / (select extract(epoch from '2026-07-20 14:23:38'::timestamp) - extract(epoch from '2026-07-20 14:23: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'), 47832, 'SRID=4674;POINT (-40.375071 -2.801124)', '2026-07-20 14:23:47', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375209 -2.801023)'), GeomFromEWKT('SRID=4674;POINT (-40.375071 -2.801124)'))) / (select extract(epoch from '2026-07-20 14:23:47'::timestamp) - extract(epoch from '2026-07-20 14:23:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375209 -2.801023)'), GeomFromEWKT('SRID=4674;POINT (-40.375071 -2.801124)'))) / (select extract(epoch from '2026-07-20 14:23:47'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.375003 -2.801175)', '2026-07-20 14:23:52', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375071 -2.801124)'), GeomFromEWKT('SRID=4674;POINT (-40.375003 -2.801175)'))) / (select extract(epoch from '2026-07-20 14:23:52'::timestamp) - extract(epoch from '2026-07-20 14:23:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375071 -2.801124)'), GeomFromEWKT('SRID=4674;POINT (-40.375003 -2.801175)'))) / (select extract(epoch from '2026-07-20 14:23:52'::timestamp) - extract(epoch from '2026-07-20 14:23: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'), 47832, 'SRID=4674;POINT (-40.374887 -2.801264)', '2026-07-20 14:24:00', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375003 -2.801175)'), GeomFromEWKT('SRID=4674;POINT (-40.374887 -2.801264)'))) / (select extract(epoch from '2026-07-20 14:24:00'::timestamp) - extract(epoch from '2026-07-20 14:23:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375003 -2.801175)'), GeomFromEWKT('SRID=4674;POINT (-40.374887 -2.801264)'))) / (select extract(epoch from '2026-07-20 14:24:00'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.374771 -2.801348)', '2026-07-20 14:24:07', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374887 -2.801264)'), GeomFromEWKT('SRID=4674;POINT (-40.374771 -2.801348)'))) / (select extract(epoch from '2026-07-20 14:24:07'::timestamp) - extract(epoch from '2026-07-20 14:24:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374887 -2.801264)'), GeomFromEWKT('SRID=4674;POINT (-40.374771 -2.801348)'))) / (select extract(epoch from '2026-07-20 14:24:07'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.37467 -2.801419)', '2026-07-20 14:24:14', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374771 -2.801348)'), GeomFromEWKT('SRID=4674;POINT (-40.37467 -2.801419)'))) / (select extract(epoch from '2026-07-20 14:24:14'::timestamp) - extract(epoch from '2026-07-20 14:24:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374771 -2.801348)'), GeomFromEWKT('SRID=4674;POINT (-40.37467 -2.801419)'))) / (select extract(epoch from '2026-07-20 14:24:14'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.374623 -2.801474)', '2026-07-20 14:24:19', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37467 -2.801419)'), GeomFromEWKT('SRID=4674;POINT (-40.374623 -2.801474)'))) / (select extract(epoch from '2026-07-20 14:24:19'::timestamp) - extract(epoch from '2026-07-20 14:24:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37467 -2.801419)'), GeomFromEWKT('SRID=4674;POINT (-40.374623 -2.801474)'))) / (select extract(epoch from '2026-07-20 14:24:19'::timestamp) - extract(epoch from '2026-07-20 14:24: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'), 47832, 'SRID=4674;POINT (-40.374526 -2.801559)', '2026-07-20 14:24:27', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374623 -2.801474)'), GeomFromEWKT('SRID=4674;POINT (-40.374526 -2.801559)'))) / (select extract(epoch from '2026-07-20 14:24:27'::timestamp) - extract(epoch from '2026-07-20 14:24:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374623 -2.801474)'), GeomFromEWKT('SRID=4674;POINT (-40.374526 -2.801559)'))) / (select extract(epoch from '2026-07-20 14:24:27'::timestamp) - extract(epoch from '2026-07-20 14:24: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'), 47832, 'SRID=4674;POINT (-40.374419 -2.801634)', '2026-07-20 14:24:34', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374526 -2.801559)'), GeomFromEWKT('SRID=4674;POINT (-40.374419 -2.801634)'))) / (select extract(epoch from '2026-07-20 14:24:34'::timestamp) - extract(epoch from '2026-07-20 14:24:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374526 -2.801559)'), GeomFromEWKT('SRID=4674;POINT (-40.374419 -2.801634)'))) / (select extract(epoch from '2026-07-20 14:24:34'::timestamp) - extract(epoch from '2026-07-20 14:24:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.374266 -2.801725)', '2026-07-20 14:24:42', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374419 -2.801634)'), GeomFromEWKT('SRID=4674;POINT (-40.374266 -2.801725)'))) / (select extract(epoch from '2026-07-20 14:24:42'::timestamp) - extract(epoch from '2026-07-20 14:24:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374419 -2.801634)'), GeomFromEWKT('SRID=4674;POINT (-40.374266 -2.801725)'))) / (select extract(epoch from '2026-07-20 14:24:42'::timestamp) - extract(epoch from '2026-07-20 14:24:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.374145 -2.801808)', '2026-07-20 14:24:50', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374266 -2.801725)'), GeomFromEWKT('SRID=4674;POINT (-40.374145 -2.801808)'))) / (select extract(epoch from '2026-07-20 14:24:50'::timestamp) - extract(epoch from '2026-07-20 14:24:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374266 -2.801725)'), GeomFromEWKT('SRID=4674;POINT (-40.374145 -2.801808)'))) / (select extract(epoch from '2026-07-20 14:24:50'::timestamp) - extract(epoch from '2026-07-20 14:24: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'), 47832, 'SRID=4674;POINT (-40.374009 -2.801901)', '2026-07-20 14:24:59', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374145 -2.801808)'), GeomFromEWKT('SRID=4674;POINT (-40.374009 -2.801901)'))) / (select extract(epoch from '2026-07-20 14:24:59'::timestamp) - extract(epoch from '2026-07-20 14:24:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374145 -2.801808)'), GeomFromEWKT('SRID=4674;POINT (-40.374009 -2.801901)'))) / (select extract(epoch from '2026-07-20 14:24:59'::timestamp) - extract(epoch from '2026-07-20 14:24: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'), 47832, 'SRID=4674;POINT (-40.373887 -2.80199)', '2026-07-20 14:25:07', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374009 -2.801901)'), GeomFromEWKT('SRID=4674;POINT (-40.373887 -2.80199)'))) / (select extract(epoch from '2026-07-20 14:25:07'::timestamp) - extract(epoch from '2026-07-20 14:24:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374009 -2.801901)'), GeomFromEWKT('SRID=4674;POINT (-40.373887 -2.80199)'))) / (select extract(epoch from '2026-07-20 14:25:07'::timestamp) - extract(epoch from '2026-07-20 14:24:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.373801 -2.802047)', '2026-07-20 14:25:14', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373887 -2.80199)'), GeomFromEWKT('SRID=4674;POINT (-40.373801 -2.802047)'))) / (select extract(epoch from '2026-07-20 14:25:14'::timestamp) - extract(epoch from '2026-07-20 14:25:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373887 -2.80199)'), GeomFromEWKT('SRID=4674;POINT (-40.373801 -2.802047)'))) / (select extract(epoch from '2026-07-20 14:25:14'::timestamp) - extract(epoch from '2026-07-20 14:25: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'), 47832, 'SRID=4674;POINT (-40.373791 -2.802058)', '2026-07-20 14:25:15', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373801 -2.802047)'), GeomFromEWKT('SRID=4674;POINT (-40.373791 -2.802058)'))) / (select extract(epoch from '2026-07-20 14:25:15'::timestamp) - extract(epoch from '2026-07-20 14:25:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373801 -2.802047)'), GeomFromEWKT('SRID=4674;POINT (-40.373791 -2.802058)'))) / (select extract(epoch from '2026-07-20 14:25:15'::timestamp) - extract(epoch from '2026-07-20 14:25: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'), 47832, 'SRID=4674;POINT (-40.373713 -2.80212)', '2026-07-20 14:25:21', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373791 -2.802058)'), GeomFromEWKT('SRID=4674;POINT (-40.373713 -2.80212)'))) / (select extract(epoch from '2026-07-20 14:25:21'::timestamp) - extract(epoch from '2026-07-20 14:25:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373791 -2.802058)'), GeomFromEWKT('SRID=4674;POINT (-40.373713 -2.80212)'))) / (select extract(epoch from '2026-07-20 14:25:21'::timestamp) - extract(epoch from '2026-07-20 14:25: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'), 47832, 'SRID=4674;POINT (-40.373603 -2.802187)', '2026-07-20 14:25:30', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373713 -2.80212)'), GeomFromEWKT('SRID=4674;POINT (-40.373603 -2.802187)'))) / (select extract(epoch from '2026-07-20 14:25:30'::timestamp) - extract(epoch from '2026-07-20 14:25:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373713 -2.80212)'), GeomFromEWKT('SRID=4674;POINT (-40.373603 -2.802187)'))) / (select extract(epoch from '2026-07-20 14:25:30'::timestamp) - extract(epoch from '2026-07-20 14:25: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'), 47832, 'SRID=4674;POINT (-40.373505 -2.802245)', '2026-07-20 14:25:37', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373603 -2.802187)'), GeomFromEWKT('SRID=4674;POINT (-40.373505 -2.802245)'))) / (select extract(epoch from '2026-07-20 14:25:37'::timestamp) - extract(epoch from '2026-07-20 14:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373603 -2.802187)'), GeomFromEWKT('SRID=4674;POINT (-40.373505 -2.802245)'))) / (select extract(epoch from '2026-07-20 14:25:37'::timestamp) - extract(epoch from '2026-07-20 14:25: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'), 47832, 'SRID=4674;POINT (-40.373392 -2.802303)', '2026-07-20 14:25:45', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373505 -2.802245)'), GeomFromEWKT('SRID=4674;POINT (-40.373392 -2.802303)'))) / (select extract(epoch from '2026-07-20 14:25:45'::timestamp) - extract(epoch from '2026-07-20 14:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373505 -2.802245)'), GeomFromEWKT('SRID=4674;POINT (-40.373392 -2.802303)'))) / (select extract(epoch from '2026-07-20 14:25:45'::timestamp) - extract(epoch from '2026-07-20 14:25:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.373274 -2.802367)', '2026-07-20 14:25:53', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373392 -2.802303)'), GeomFromEWKT('SRID=4674;POINT (-40.373274 -2.802367)'))) / (select extract(epoch from '2026-07-20 14:25:53'::timestamp) - extract(epoch from '2026-07-20 14:25:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373392 -2.802303)'), GeomFromEWKT('SRID=4674;POINT (-40.373274 -2.802367)'))) / (select extract(epoch from '2026-07-20 14:25:53'::timestamp) - extract(epoch from '2026-07-20 14:25: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'), 47832, 'SRID=4674;POINT (-40.373127 -2.802436)', '2026-07-20 14:26:02', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373274 -2.802367)'), GeomFromEWKT('SRID=4674;POINT (-40.373127 -2.802436)'))) / (select extract(epoch from '2026-07-20 14:26:02'::timestamp) - extract(epoch from '2026-07-20 14:25:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373274 -2.802367)'), GeomFromEWKT('SRID=4674;POINT (-40.373127 -2.802436)'))) / (select extract(epoch from '2026-07-20 14:26:02'::timestamp) - extract(epoch from '2026-07-20 14:25: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'), 47832, 'SRID=4674;POINT (-40.373021 -2.802511)', '2026-07-20 14:26:10', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373127 -2.802436)'), GeomFromEWKT('SRID=4674;POINT (-40.373021 -2.802511)'))) / (select extract(epoch from '2026-07-20 14:26:10'::timestamp) - extract(epoch from '2026-07-20 14:26:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373127 -2.802436)'), GeomFromEWKT('SRID=4674;POINT (-40.373021 -2.802511)'))) / (select extract(epoch from '2026-07-20 14:26:10'::timestamp) - extract(epoch from '2026-07-20 14:26: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'), 47832, 'SRID=4674;POINT (-40.372915 -2.802585)', '2026-07-20 14:26:18', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373021 -2.802511)'), GeomFromEWKT('SRID=4674;POINT (-40.372915 -2.802585)'))) / (select extract(epoch from '2026-07-20 14:26:18'::timestamp) - extract(epoch from '2026-07-20 14:26:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373021 -2.802511)'), GeomFromEWKT('SRID=4674;POINT (-40.372915 -2.802585)'))) / (select extract(epoch from '2026-07-20 14:26:18'::timestamp) - extract(epoch from '2026-07-20 14:26:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.372828 -2.802638)', '2026-07-20 14:26:25', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372915 -2.802585)'), GeomFromEWKT('SRID=4674;POINT (-40.372828 -2.802638)'))) / (select extract(epoch from '2026-07-20 14:26:25'::timestamp) - extract(epoch from '2026-07-20 14:26:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372915 -2.802585)'), GeomFromEWKT('SRID=4674;POINT (-40.372828 -2.802638)'))) / (select extract(epoch from '2026-07-20 14:26:25'::timestamp) - extract(epoch from '2026-07-20 14:26: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'), 47832, 'SRID=4674;POINT (-40.372664 -2.802703)', '2026-07-20 14:26:34', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372828 -2.802638)'), GeomFromEWKT('SRID=4674;POINT (-40.372664 -2.802703)'))) / (select extract(epoch from '2026-07-20 14:26:34'::timestamp) - extract(epoch from '2026-07-20 14:26:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372828 -2.802638)'), GeomFromEWKT('SRID=4674;POINT (-40.372664 -2.802703)'))) / (select extract(epoch from '2026-07-20 14:26:34'::timestamp) - extract(epoch from '2026-07-20 14:26: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'), 47832, 'SRID=4674;POINT (-40.37254 -2.802762)', '2026-07-20 14:26:41', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372664 -2.802703)'), GeomFromEWKT('SRID=4674;POINT (-40.37254 -2.802762)'))) / (select extract(epoch from '2026-07-20 14:26:41'::timestamp) - extract(epoch from '2026-07-20 14:26:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372664 -2.802703)'), GeomFromEWKT('SRID=4674;POINT (-40.37254 -2.802762)'))) / (select extract(epoch from '2026-07-20 14:26:41'::timestamp) - extract(epoch from '2026-07-20 14:26: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'), 47832, 'SRID=4674;POINT (-40.372407 -2.802837)', '2026-07-20 14:26:49', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37254 -2.802762)'), GeomFromEWKT('SRID=4674;POINT (-40.372407 -2.802837)'))) / (select extract(epoch from '2026-07-20 14:26:49'::timestamp) - extract(epoch from '2026-07-20 14:26:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37254 -2.802762)'), GeomFromEWKT('SRID=4674;POINT (-40.372407 -2.802837)'))) / (select extract(epoch from '2026-07-20 14:26:49'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.372286 -2.802909)', '2026-07-20 14:26:57', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372407 -2.802837)'), GeomFromEWKT('SRID=4674;POINT (-40.372286 -2.802909)'))) / (select extract(epoch from '2026-07-20 14:26:57'::timestamp) - extract(epoch from '2026-07-20 14:26:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372407 -2.802837)'), GeomFromEWKT('SRID=4674;POINT (-40.372286 -2.802909)'))) / (select extract(epoch from '2026-07-20 14:26:57'::timestamp) - extract(epoch from '2026-07-20 14:26: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'), 47832, 'SRID=4674;POINT (-40.372169 -2.802981)', '2026-07-20 14:27:05', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372286 -2.802909)'), GeomFromEWKT('SRID=4674;POINT (-40.372169 -2.802981)'))) / (select extract(epoch from '2026-07-20 14:27:05'::timestamp) - extract(epoch from '2026-07-20 14:26:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372286 -2.802909)'), GeomFromEWKT('SRID=4674;POINT (-40.372169 -2.802981)'))) / (select extract(epoch from '2026-07-20 14:27:05'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.37207 -2.803033)', '2026-07-20 14:27:12', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372169 -2.802981)'), GeomFromEWKT('SRID=4674;POINT (-40.37207 -2.803033)'))) / (select extract(epoch from '2026-07-20 14:27:12'::timestamp) - extract(epoch from '2026-07-20 14:27:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372169 -2.802981)'), GeomFromEWKT('SRID=4674;POINT (-40.37207 -2.803033)'))) / (select extract(epoch from '2026-07-20 14:27:12'::timestamp) - extract(epoch from '2026-07-20 14:27: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'), 47832, 'SRID=4674;POINT (-40.371966 -2.803092)', '2026-07-20 14:27:19', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37207 -2.803033)'), GeomFromEWKT('SRID=4674;POINT (-40.371966 -2.803092)'))) / (select extract(epoch from '2026-07-20 14:27:19'::timestamp) - extract(epoch from '2026-07-20 14:27:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37207 -2.803033)'), GeomFromEWKT('SRID=4674;POINT (-40.371966 -2.803092)'))) / (select extract(epoch from '2026-07-20 14:27:19'::timestamp) - extract(epoch from '2026-07-20 14:27: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'), 47832, 'SRID=4674;POINT (-40.371857 -2.803143)', '2026-07-20 14:27:26', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371966 -2.803092)'), GeomFromEWKT('SRID=4674;POINT (-40.371857 -2.803143)'))) / (select extract(epoch from '2026-07-20 14:27:26'::timestamp) - extract(epoch from '2026-07-20 14:27:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371966 -2.803092)'), GeomFromEWKT('SRID=4674;POINT (-40.371857 -2.803143)'))) / (select extract(epoch from '2026-07-20 14:27:26'::timestamp) - extract(epoch from '2026-07-20 14:27: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'), 47832, 'SRID=4674;POINT (-40.371754 -2.803202)', '2026-07-20 14:27:33', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371857 -2.803143)'), GeomFromEWKT('SRID=4674;POINT (-40.371754 -2.803202)'))) / (select extract(epoch from '2026-07-20 14:27:33'::timestamp) - extract(epoch from '2026-07-20 14:27:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371857 -2.803143)'), GeomFromEWKT('SRID=4674;POINT (-40.371754 -2.803202)'))) / (select extract(epoch from '2026-07-20 14:27:33'::timestamp) - extract(epoch from '2026-07-20 14:27: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'), 47832, 'SRID=4674;POINT (-40.371684 -2.803261)', '2026-07-20 14:27:39', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371754 -2.803202)'), GeomFromEWKT('SRID=4674;POINT (-40.371684 -2.803261)'))) / (select extract(epoch from '2026-07-20 14:27:39'::timestamp) - extract(epoch from '2026-07-20 14:27:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371754 -2.803202)'), GeomFromEWKT('SRID=4674;POINT (-40.371684 -2.803261)'))) / (select extract(epoch from '2026-07-20 14:27:39'::timestamp) - extract(epoch from '2026-07-20 14:27: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'), 47832, 'SRID=4674;POINT (-40.371561 -2.803337)', '2026-07-20 14:27:47', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371684 -2.803261)'), GeomFromEWKT('SRID=4674;POINT (-40.371561 -2.803337)'))) / (select extract(epoch from '2026-07-20 14:27:47'::timestamp) - extract(epoch from '2026-07-20 14:27:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371684 -2.803261)'), GeomFromEWKT('SRID=4674;POINT (-40.371561 -2.803337)'))) / (select extract(epoch from '2026-07-20 14:27:47'::timestamp) - extract(epoch from '2026-07-20 14:27: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'), 47832, 'SRID=4674;POINT (-40.371444 -2.803384)', '2026-07-20 14:27:54', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371561 -2.803337)'), GeomFromEWKT('SRID=4674;POINT (-40.371444 -2.803384)'))) / (select extract(epoch from '2026-07-20 14:27:54'::timestamp) - extract(epoch from '2026-07-20 14:27:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371561 -2.803337)'), GeomFromEWKT('SRID=4674;POINT (-40.371444 -2.803384)'))) / (select extract(epoch from '2026-07-20 14:27:54'::timestamp) - extract(epoch from '2026-07-20 14:27: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'), 47832, 'SRID=4674;POINT (-40.371277 -2.803431)', '2026-07-20 14:28:03', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371444 -2.803384)'), GeomFromEWKT('SRID=4674;POINT (-40.371277 -2.803431)'))) / (select extract(epoch from '2026-07-20 14:28:03'::timestamp) - extract(epoch from '2026-07-20 14:27:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371444 -2.803384)'), GeomFromEWKT('SRID=4674;POINT (-40.371277 -2.803431)'))) / (select extract(epoch from '2026-07-20 14:28:03'::timestamp) - extract(epoch from '2026-07-20 14:27: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'), 47832, 'SRID=4674;POINT (-40.371158 -2.803478)', '2026-07-20 14:28:10', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371277 -2.803431)'), GeomFromEWKT('SRID=4674;POINT (-40.371158 -2.803478)'))) / (select extract(epoch from '2026-07-20 14:28:10'::timestamp) - extract(epoch from '2026-07-20 14:28:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371277 -2.803431)'), GeomFromEWKT('SRID=4674;POINT (-40.371158 -2.803478)'))) / (select extract(epoch from '2026-07-20 14:28:10'::timestamp) - extract(epoch from '2026-07-20 14:28: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'), 47832, 'SRID=4674;POINT (-40.371083 -2.803547)', '2026-07-20 14:28:16', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371158 -2.803478)'), GeomFromEWKT('SRID=4674;POINT (-40.371083 -2.803547)'))) / (select extract(epoch from '2026-07-20 14:28:16'::timestamp) - extract(epoch from '2026-07-20 14:28:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371158 -2.803478)'), GeomFromEWKT('SRID=4674;POINT (-40.371083 -2.803547)'))) / (select extract(epoch from '2026-07-20 14:28:16'::timestamp) - extract(epoch from '2026-07-20 14:28: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'), 47832, 'SRID=4674;POINT (-40.370986 -2.803624)', '2026-07-20 14:28:23', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371083 -2.803547)'), GeomFromEWKT('SRID=4674;POINT (-40.370986 -2.803624)'))) / (select extract(epoch from '2026-07-20 14:28:23'::timestamp) - extract(epoch from '2026-07-20 14:28:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371083 -2.803547)'), GeomFromEWKT('SRID=4674;POINT (-40.370986 -2.803624)'))) / (select extract(epoch from '2026-07-20 14:28:23'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.370868 -2.803713)', '2026-07-20 14:28:32', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370986 -2.803624)'), GeomFromEWKT('SRID=4674;POINT (-40.370868 -2.803713)'))) / (select extract(epoch from '2026-07-20 14:28:32'::timestamp) - extract(epoch from '2026-07-20 14:28:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370986 -2.803624)'), GeomFromEWKT('SRID=4674;POINT (-40.370868 -2.803713)'))) / (select extract(epoch from '2026-07-20 14:28:32'::timestamp) - extract(epoch from '2026-07-20 14:28:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.370762 -2.803779)', '2026-07-20 14:28:39', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370868 -2.803713)'), GeomFromEWKT('SRID=4674;POINT (-40.370762 -2.803779)'))) / (select extract(epoch from '2026-07-20 14:28:39'::timestamp) - extract(epoch from '2026-07-20 14:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370868 -2.803713)'), GeomFromEWKT('SRID=4674;POINT (-40.370762 -2.803779)'))) / (select extract(epoch from '2026-07-20 14:28:39'::timestamp) - extract(epoch from '2026-07-20 14:28: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'), 47832, 'SRID=4674;POINT (-40.370648 -2.80385)', '2026-07-20 14:28:47', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370762 -2.803779)'), GeomFromEWKT('SRID=4674;POINT (-40.370648 -2.80385)'))) / (select extract(epoch from '2026-07-20 14:28:47'::timestamp) - extract(epoch from '2026-07-20 14:28:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370762 -2.803779)'), GeomFromEWKT('SRID=4674;POINT (-40.370648 -2.80385)'))) / (select extract(epoch from '2026-07-20 14:28:47'::timestamp) - extract(epoch from '2026-07-20 14:28: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'), 47832, 'SRID=4674;POINT (-40.370522 -2.803933)', '2026-07-20 14:28:57', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370648 -2.80385)'), GeomFromEWKT('SRID=4674;POINT (-40.370522 -2.803933)'))) / (select extract(epoch from '2026-07-20 14:28:57'::timestamp) - extract(epoch from '2026-07-20 14:28:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370648 -2.80385)'), GeomFromEWKT('SRID=4674;POINT (-40.370522 -2.803933)'))) / (select extract(epoch from '2026-07-20 14:28:57'::timestamp) - extract(epoch from '2026-07-20 14:28:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.370383 -2.804002)', '2026-07-20 14:29:05', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370522 -2.803933)'), GeomFromEWKT('SRID=4674;POINT (-40.370383 -2.804002)'))) / (select extract(epoch from '2026-07-20 14:29:05'::timestamp) - extract(epoch from '2026-07-20 14:28:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370522 -2.803933)'), GeomFromEWKT('SRID=4674;POINT (-40.370383 -2.804002)'))) / (select extract(epoch from '2026-07-20 14:29:05'::timestamp) - extract(epoch from '2026-07-20 14:28:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.370234 -2.804067)', '2026-07-20 14:29:13', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370383 -2.804002)'), GeomFromEWKT('SRID=4674;POINT (-40.370234 -2.804067)'))) / (select extract(epoch from '2026-07-20 14:29:13'::timestamp) - extract(epoch from '2026-07-20 14:29:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370383 -2.804002)'), GeomFromEWKT('SRID=4674;POINT (-40.370234 -2.804067)'))) / (select extract(epoch from '2026-07-20 14:29:13'::timestamp) - extract(epoch from '2026-07-20 14:29:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.370086 -2.804139)', '2026-07-20 14:29:22', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370234 -2.804067)'), GeomFromEWKT('SRID=4674;POINT (-40.370086 -2.804139)'))) / (select extract(epoch from '2026-07-20 14:29:22'::timestamp) - extract(epoch from '2026-07-20 14:29:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370234 -2.804067)'), GeomFromEWKT('SRID=4674;POINT (-40.370086 -2.804139)'))) / (select extract(epoch from '2026-07-20 14:29:22'::timestamp) - extract(epoch from '2026-07-20 14:29: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'), 47832, 'SRID=4674;POINT (-40.369995 -2.804178)', '2026-07-20 14:29:28', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370086 -2.804139)'), GeomFromEWKT('SRID=4674;POINT (-40.369995 -2.804178)'))) / (select extract(epoch from '2026-07-20 14:29:28'::timestamp) - extract(epoch from '2026-07-20 14:29:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370086 -2.804139)'), GeomFromEWKT('SRID=4674;POINT (-40.369995 -2.804178)'))) / (select extract(epoch from '2026-07-20 14:29:28'::timestamp) - extract(epoch from '2026-07-20 14:29:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.369879 -2.804227)', '2026-07-20 14:29:36', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369995 -2.804178)'), GeomFromEWKT('SRID=4674;POINT (-40.369879 -2.804227)'))) / (select extract(epoch from '2026-07-20 14:29:36'::timestamp) - extract(epoch from '2026-07-20 14:29:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369995 -2.804178)'), GeomFromEWKT('SRID=4674;POINT (-40.369879 -2.804227)'))) / (select extract(epoch from '2026-07-20 14:29:36'::timestamp) - extract(epoch from '2026-07-20 14:29: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'), 47832, 'SRID=4674;POINT (-40.369758 -2.804271)', '2026-07-20 14:29:43', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369879 -2.804227)'), GeomFromEWKT('SRID=4674;POINT (-40.369758 -2.804271)'))) / (select extract(epoch from '2026-07-20 14:29:43'::timestamp) - extract(epoch from '2026-07-20 14:29:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369879 -2.804227)'), GeomFromEWKT('SRID=4674;POINT (-40.369758 -2.804271)'))) / (select extract(epoch from '2026-07-20 14:29:43'::timestamp) - extract(epoch from '2026-07-20 14:29:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.36965 -2.804321)', '2026-07-20 14:29:50', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369758 -2.804271)'), GeomFromEWKT('SRID=4674;POINT (-40.36965 -2.804321)'))) / (select extract(epoch from '2026-07-20 14:29:50'::timestamp) - extract(epoch from '2026-07-20 14:29:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369758 -2.804271)'), GeomFromEWKT('SRID=4674;POINT (-40.36965 -2.804321)'))) / (select extract(epoch from '2026-07-20 14:29:50'::timestamp) - extract(epoch from '2026-07-20 14:29: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'), 47832, 'SRID=4674;POINT (-40.369536 -2.804378)', '2026-07-20 14:29:57', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36965 -2.804321)'), GeomFromEWKT('SRID=4674;POINT (-40.369536 -2.804378)'))) / (select extract(epoch from '2026-07-20 14:29:57'::timestamp) - extract(epoch from '2026-07-20 14:29:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36965 -2.804321)'), GeomFromEWKT('SRID=4674;POINT (-40.369536 -2.804378)'))) / (select extract(epoch from '2026-07-20 14:29:57'::timestamp) - extract(epoch from '2026-07-20 14:29: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'), 47832, 'SRID=4674;POINT (-40.369426 -2.804417)', '2026-07-20 14:30:04', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369536 -2.804378)'), GeomFromEWKT('SRID=4674;POINT (-40.369426 -2.804417)'))) / (select extract(epoch from '2026-07-20 14:30:04'::timestamp) - extract(epoch from '2026-07-20 14:29:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369536 -2.804378)'), GeomFromEWKT('SRID=4674;POINT (-40.369426 -2.804417)'))) / (select extract(epoch from '2026-07-20 14:30:04'::timestamp) - extract(epoch from '2026-07-20 14:29:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.369302 -2.804465)', '2026-07-20 14:30:12', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369426 -2.804417)'), GeomFromEWKT('SRID=4674;POINT (-40.369302 -2.804465)'))) / (select extract(epoch from '2026-07-20 14:30:12'::timestamp) - extract(epoch from '2026-07-20 14:30:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369426 -2.804417)'), GeomFromEWKT('SRID=4674;POINT (-40.369302 -2.804465)'))) / (select extract(epoch from '2026-07-20 14:30:12'::timestamp) - extract(epoch from '2026-07-20 14:30: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'), 47832, 'SRID=4674;POINT (-40.369176 -2.804497)', '2026-07-20 14:30:20', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369302 -2.804465)'), GeomFromEWKT('SRID=4674;POINT (-40.369176 -2.804497)'))) / (select extract(epoch from '2026-07-20 14:30:20'::timestamp) - extract(epoch from '2026-07-20 14:30:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369302 -2.804465)'), GeomFromEWKT('SRID=4674;POINT (-40.369176 -2.804497)'))) / (select extract(epoch from '2026-07-20 14:30:20'::timestamp) - extract(epoch from '2026-07-20 14:30:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.369035 -2.804555)', '2026-07-20 14:30:28', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369176 -2.804497)'), GeomFromEWKT('SRID=4674;POINT (-40.369035 -2.804555)'))) / (select extract(epoch from '2026-07-20 14:30:28'::timestamp) - extract(epoch from '2026-07-20 14:30:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369176 -2.804497)'), GeomFromEWKT('SRID=4674;POINT (-40.369035 -2.804555)'))) / (select extract(epoch from '2026-07-20 14:30:28'::timestamp) - extract(epoch from '2026-07-20 14:30: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'), 47832, 'SRID=4674;POINT (-40.368915 -2.804609)', '2026-07-20 14:30:35', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369035 -2.804555)'), GeomFromEWKT('SRID=4674;POINT (-40.368915 -2.804609)'))) / (select extract(epoch from '2026-07-20 14:30:35'::timestamp) - extract(epoch from '2026-07-20 14:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369035 -2.804555)'), GeomFromEWKT('SRID=4674;POINT (-40.368915 -2.804609)'))) / (select extract(epoch from '2026-07-20 14:30:35'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.368801 -2.804646)', '2026-07-20 14:30:42', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368915 -2.804609)'), GeomFromEWKT('SRID=4674;POINT (-40.368801 -2.804646)'))) / (select extract(epoch from '2026-07-20 14:30:42'::timestamp) - extract(epoch from '2026-07-20 14:30:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368915 -2.804609)'), GeomFromEWKT('SRID=4674;POINT (-40.368801 -2.804646)'))) / (select extract(epoch from '2026-07-20 14:30:42'::timestamp) - extract(epoch from '2026-07-20 14:30: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'), 47832, 'SRID=4674;POINT (-40.368696 -2.80469)', '2026-07-20 14:30:49', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368801 -2.804646)'), GeomFromEWKT('SRID=4674;POINT (-40.368696 -2.80469)'))) / (select extract(epoch from '2026-07-20 14:30:49'::timestamp) - extract(epoch from '2026-07-20 14:30:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368801 -2.804646)'), GeomFromEWKT('SRID=4674;POINT (-40.368696 -2.80469)'))) / (select extract(epoch from '2026-07-20 14:30:49'::timestamp) - extract(epoch from '2026-07-20 14:30: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'), 47832, 'SRID=4674;POINT (-40.368577 -2.804741)', '2026-07-20 14:30:57', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368696 -2.80469)'), GeomFromEWKT('SRID=4674;POINT (-40.368577 -2.804741)'))) / (select extract(epoch from '2026-07-20 14:30:57'::timestamp) - extract(epoch from '2026-07-20 14:30:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368696 -2.80469)'), GeomFromEWKT('SRID=4674;POINT (-40.368577 -2.804741)'))) / (select extract(epoch from '2026-07-20 14:30:57'::timestamp) - extract(epoch from '2026-07-20 14:30: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'), 47832, 'SRID=4674;POINT (-40.368449 -2.804781)', '2026-07-20 14:31:05', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368577 -2.804741)'), GeomFromEWKT('SRID=4674;POINT (-40.368449 -2.804781)'))) / (select extract(epoch from '2026-07-20 14:31:05'::timestamp) - extract(epoch from '2026-07-20 14:30:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368577 -2.804741)'), GeomFromEWKT('SRID=4674;POINT (-40.368449 -2.804781)'))) / (select extract(epoch from '2026-07-20 14:31:05'::timestamp) - extract(epoch from '2026-07-20 14:30:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.368319 -2.804836)', '2026-07-20 14:31:13', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368449 -2.804781)'), GeomFromEWKT('SRID=4674;POINT (-40.368319 -2.804836)'))) / (select extract(epoch from '2026-07-20 14:31:13'::timestamp) - extract(epoch from '2026-07-20 14:31:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368449 -2.804781)'), GeomFromEWKT('SRID=4674;POINT (-40.368319 -2.804836)'))) / (select extract(epoch from '2026-07-20 14:31:13'::timestamp) - extract(epoch from '2026-07-20 14:31: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'), 47832, 'SRID=4674;POINT (-40.368206 -2.804892)', '2026-07-20 14:31:20', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368319 -2.804836)'), GeomFromEWKT('SRID=4674;POINT (-40.368206 -2.804892)'))) / (select extract(epoch from '2026-07-20 14:31:20'::timestamp) - extract(epoch from '2026-07-20 14:31:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368319 -2.804836)'), GeomFromEWKT('SRID=4674;POINT (-40.368206 -2.804892)'))) / (select extract(epoch from '2026-07-20 14:31:20'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.368077 -2.804959)', '2026-07-20 14:31:28', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368206 -2.804892)'), GeomFromEWKT('SRID=4674;POINT (-40.368077 -2.804959)'))) / (select extract(epoch from '2026-07-20 14:31:28'::timestamp) - extract(epoch from '2026-07-20 14:31:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368206 -2.804892)'), GeomFromEWKT('SRID=4674;POINT (-40.368077 -2.804959)'))) / (select extract(epoch from '2026-07-20 14:31:28'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.367986 -2.805005)', '2026-07-20 14:31:34', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368077 -2.804959)'), GeomFromEWKT('SRID=4674;POINT (-40.367986 -2.805005)'))) / (select extract(epoch from '2026-07-20 14:31:34'::timestamp) - extract(epoch from '2026-07-20 14:31:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368077 -2.804959)'), GeomFromEWKT('SRID=4674;POINT (-40.367986 -2.805005)'))) / (select extract(epoch from '2026-07-20 14:31:34'::timestamp) - extract(epoch from '2026-07-20 14:31: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'), 47832, 'SRID=4674;POINT (-40.367845 -2.80505)', '2026-07-20 14:31:42', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367986 -2.805005)'), GeomFromEWKT('SRID=4674;POINT (-40.367845 -2.80505)'))) / (select extract(epoch from '2026-07-20 14:31:42'::timestamp) - extract(epoch from '2026-07-20 14:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367986 -2.805005)'), GeomFromEWKT('SRID=4674;POINT (-40.367845 -2.80505)'))) / (select extract(epoch from '2026-07-20 14:31:42'::timestamp) - extract(epoch from '2026-07-20 14:31: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'), 47832, 'SRID=4674;POINT (-40.367733 -2.805101)', '2026-07-20 14:31:50', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367845 -2.80505)'), GeomFromEWKT('SRID=4674;POINT (-40.367733 -2.805101)'))) / (select extract(epoch from '2026-07-20 14:31:50'::timestamp) - extract(epoch from '2026-07-20 14:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367845 -2.80505)'), GeomFromEWKT('SRID=4674;POINT (-40.367733 -2.805101)'))) / (select extract(epoch from '2026-07-20 14:31:50'::timestamp) - extract(epoch from '2026-07-20 14:31: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'), 47832, 'SRID=4674;POINT (-40.367578 -2.80516)', '2026-07-20 14:31:59', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367733 -2.805101)'), GeomFromEWKT('SRID=4674;POINT (-40.367578 -2.80516)'))) / (select extract(epoch from '2026-07-20 14:31:59'::timestamp) - extract(epoch from '2026-07-20 14:31:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367733 -2.805101)'), GeomFromEWKT('SRID=4674;POINT (-40.367578 -2.80516)'))) / (select extract(epoch from '2026-07-20 14:31:59'::timestamp) - extract(epoch from '2026-07-20 14:31: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'), 47832, 'SRID=4674;POINT (-40.367465 -2.805229)', '2026-07-20 14:32:07', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367578 -2.80516)'), GeomFromEWKT('SRID=4674;POINT (-40.367465 -2.805229)'))) / (select extract(epoch from '2026-07-20 14:32:07'::timestamp) - extract(epoch from '2026-07-20 14:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367578 -2.80516)'), GeomFromEWKT('SRID=4674;POINT (-40.367465 -2.805229)'))) / (select extract(epoch from '2026-07-20 14:32:07'::timestamp) - extract(epoch from '2026-07-20 14:31: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'), 47832, 'SRID=4674;POINT (-40.367349 -2.805265)', '2026-07-20 14:32:14', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367465 -2.805229)'), GeomFromEWKT('SRID=4674;POINT (-40.367349 -2.805265)'))) / (select extract(epoch from '2026-07-20 14:32:14'::timestamp) - extract(epoch from '2026-07-20 14:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367465 -2.805229)'), GeomFromEWKT('SRID=4674;POINT (-40.367349 -2.805265)'))) / (select extract(epoch from '2026-07-20 14:32:14'::timestamp) - extract(epoch from '2026-07-20 14:32: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'), 47832, 'SRID=4674;POINT (-40.367218 -2.805321)', '2026-07-20 14:32:22', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367349 -2.805265)'), GeomFromEWKT('SRID=4674;POINT (-40.367218 -2.805321)'))) / (select extract(epoch from '2026-07-20 14:32:22'::timestamp) - extract(epoch from '2026-07-20 14:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367349 -2.805265)'), GeomFromEWKT('SRID=4674;POINT (-40.367218 -2.805321)'))) / (select extract(epoch from '2026-07-20 14:32:22'::timestamp) - extract(epoch from '2026-07-20 14:32: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'), 47832, 'SRID=4674;POINT (-40.367087 -2.805365)', '2026-07-20 14:32:30', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367218 -2.805321)'), GeomFromEWKT('SRID=4674;POINT (-40.367087 -2.805365)'))) / (select extract(epoch from '2026-07-20 14:32:30'::timestamp) - extract(epoch from '2026-07-20 14:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367218 -2.805321)'), GeomFromEWKT('SRID=4674;POINT (-40.367087 -2.805365)'))) / (select extract(epoch from '2026-07-20 14:32:30'::timestamp) - extract(epoch from '2026-07-20 14:32: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'), 47832, 'SRID=4674;POINT (-40.36696 -2.805427)', '2026-07-20 14:32:38', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367087 -2.805365)'), GeomFromEWKT('SRID=4674;POINT (-40.36696 -2.805427)'))) / (select extract(epoch from '2026-07-20 14:32:38'::timestamp) - extract(epoch from '2026-07-20 14:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367087 -2.805365)'), GeomFromEWKT('SRID=4674;POINT (-40.36696 -2.805427)'))) / (select extract(epoch from '2026-07-20 14:32:38'::timestamp) - extract(epoch from '2026-07-20 14:32: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'), 47832, 'SRID=4674;POINT (-40.36685 -2.805466)', '2026-07-20 14:32:45', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36696 -2.805427)'), GeomFromEWKT('SRID=4674;POINT (-40.36685 -2.805466)'))) / (select extract(epoch from '2026-07-20 14:32:45'::timestamp) - extract(epoch from '2026-07-20 14:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36696 -2.805427)'), GeomFromEWKT('SRID=4674;POINT (-40.36685 -2.805466)'))) / (select extract(epoch from '2026-07-20 14:32:45'::timestamp) - extract(epoch from '2026-07-20 14:32: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'), 47832, 'SRID=4674;POINT (-40.36672 -2.805518)', '2026-07-20 14:32:54', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36685 -2.805466)'), GeomFromEWKT('SRID=4674;POINT (-40.36672 -2.805518)'))) / (select extract(epoch from '2026-07-20 14:32:54'::timestamp) - extract(epoch from '2026-07-20 14:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36685 -2.805466)'), GeomFromEWKT('SRID=4674;POINT (-40.36672 -2.805518)'))) / (select extract(epoch from '2026-07-20 14:32:54'::timestamp) - extract(epoch from '2026-07-20 14:32: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'), 47832, 'SRID=4674;POINT (-40.36658 -2.805528)', '2026-07-20 14:33:02', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36672 -2.805518)'), GeomFromEWKT('SRID=4674;POINT (-40.36658 -2.805528)'))) / (select extract(epoch from '2026-07-20 14:33:02'::timestamp) - extract(epoch from '2026-07-20 14:32:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36672 -2.805518)'), GeomFromEWKT('SRID=4674;POINT (-40.36658 -2.805528)'))) / (select extract(epoch from '2026-07-20 14:33:02'::timestamp) - extract(epoch from '2026-07-20 14:32:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.366461 -2.805557)', '2026-07-20 14:33:09', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36658 -2.805528)'), GeomFromEWKT('SRID=4674;POINT (-40.366461 -2.805557)'))) / (select extract(epoch from '2026-07-20 14:33:09'::timestamp) - extract(epoch from '2026-07-20 14:33:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36658 -2.805528)'), GeomFromEWKT('SRID=4674;POINT (-40.366461 -2.805557)'))) / (select extract(epoch from '2026-07-20 14:33:09'::timestamp) - extract(epoch from '2026-07-20 14:33: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'), 47832, 'SRID=4674;POINT (-40.366306 -2.805591)', '2026-07-20 14:33:17', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366461 -2.805557)'), GeomFromEWKT('SRID=4674;POINT (-40.366306 -2.805591)'))) / (select extract(epoch from '2026-07-20 14:33:17'::timestamp) - extract(epoch from '2026-07-20 14:33:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366461 -2.805557)'), GeomFromEWKT('SRID=4674;POINT (-40.366306 -2.805591)'))) / (select extract(epoch from '2026-07-20 14:33:17'::timestamp) - extract(epoch from '2026-07-20 14:33: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'), 47832, 'SRID=4674;POINT (-40.366201 -2.805636)', '2026-07-20 14:33:24', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366306 -2.805591)'), GeomFromEWKT('SRID=4674;POINT (-40.366201 -2.805636)'))) / (select extract(epoch from '2026-07-20 14:33:24'::timestamp) - extract(epoch from '2026-07-20 14:33:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366306 -2.805591)'), GeomFromEWKT('SRID=4674;POINT (-40.366201 -2.805636)'))) / (select extract(epoch from '2026-07-20 14:33:24'::timestamp) - extract(epoch from '2026-07-20 14:33: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'), 47832, 'SRID=4674;POINT (-40.366034 -2.805672)', '2026-07-20 14:33:33', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366201 -2.805636)'), GeomFromEWKT('SRID=4674;POINT (-40.366034 -2.805672)'))) / (select extract(epoch from '2026-07-20 14:33:33'::timestamp) - extract(epoch from '2026-07-20 14:33:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366201 -2.805636)'), GeomFromEWKT('SRID=4674;POINT (-40.366034 -2.805672)'))) / (select extract(epoch from '2026-07-20 14:33:33'::timestamp) - extract(epoch from '2026-07-20 14:33:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.365859 -2.805717)', '2026-07-20 14:33:43', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366034 -2.805672)'), GeomFromEWKT('SRID=4674;POINT (-40.365859 -2.805717)'))) / (select extract(epoch from '2026-07-20 14:33:43'::timestamp) - extract(epoch from '2026-07-20 14:33:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366034 -2.805672)'), GeomFromEWKT('SRID=4674;POINT (-40.365859 -2.805717)'))) / (select extract(epoch from '2026-07-20 14:33:43'::timestamp) - extract(epoch from '2026-07-20 14:33: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'), 47832, 'SRID=4674;POINT (-40.365714 -2.805755)', '2026-07-20 14:33:52', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365859 -2.805717)'), GeomFromEWKT('SRID=4674;POINT (-40.365714 -2.805755)'))) / (select extract(epoch from '2026-07-20 14:33:52'::timestamp) - extract(epoch from '2026-07-20 14:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365859 -2.805717)'), GeomFromEWKT('SRID=4674;POINT (-40.365714 -2.805755)'))) / (select extract(epoch from '2026-07-20 14:33:52'::timestamp) - extract(epoch from '2026-07-20 14:33:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.365609 -2.805768)', '2026-07-20 14:33:59', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365714 -2.805755)'), GeomFromEWKT('SRID=4674;POINT (-40.365609 -2.805768)'))) / (select extract(epoch from '2026-07-20 14:33:59'::timestamp) - extract(epoch from '2026-07-20 14:33:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365714 -2.805755)'), GeomFromEWKT('SRID=4674;POINT (-40.365609 -2.805768)'))) / (select extract(epoch from '2026-07-20 14:33:59'::timestamp) - extract(epoch from '2026-07-20 14:33: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'), 47832, 'SRID=4674;POINT (-40.365524 -2.805781)', '2026-07-20 14:34:05', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365609 -2.805768)'), GeomFromEWKT('SRID=4674;POINT (-40.365524 -2.805781)'))) / (select extract(epoch from '2026-07-20 14:34:05'::timestamp) - extract(epoch from '2026-07-20 14:33:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365609 -2.805768)'), GeomFromEWKT('SRID=4674;POINT (-40.365524 -2.805781)'))) / (select extract(epoch from '2026-07-20 14:34:05'::timestamp) - extract(epoch from '2026-07-20 14:33: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'), 47832, 'SRID=4674;POINT (-40.365375 -2.805812)', '2026-07-20 14:34:13', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365524 -2.805781)'), GeomFromEWKT('SRID=4674;POINT (-40.365375 -2.805812)'))) / (select extract(epoch from '2026-07-20 14:34:13'::timestamp) - extract(epoch from '2026-07-20 14:34:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365524 -2.805781)'), GeomFromEWKT('SRID=4674;POINT (-40.365375 -2.805812)'))) / (select extract(epoch from '2026-07-20 14:34:13'::timestamp) - extract(epoch from '2026-07-20 14:34: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'), 47832, 'SRID=4674;POINT (-40.365211 -2.805826)', '2026-07-20 14:34:22', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365375 -2.805812)'), GeomFromEWKT('SRID=4674;POINT (-40.365211 -2.805826)'))) / (select extract(epoch from '2026-07-20 14:34:22'::timestamp) - extract(epoch from '2026-07-20 14:34:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365375 -2.805812)'), GeomFromEWKT('SRID=4674;POINT (-40.365211 -2.805826)'))) / (select extract(epoch from '2026-07-20 14:34:22'::timestamp) - extract(epoch from '2026-07-20 14:34: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'), 47832, 'SRID=4674;POINT (-40.365055 -2.805855)', '2026-07-20 14:34:32', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365211 -2.805826)'), GeomFromEWKT('SRID=4674;POINT (-40.365055 -2.805855)'))) / (select extract(epoch from '2026-07-20 14:34:32'::timestamp) - extract(epoch from '2026-07-20 14:34:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365211 -2.805826)'), GeomFromEWKT('SRID=4674;POINT (-40.365055 -2.805855)'))) / (select extract(epoch from '2026-07-20 14:34:32'::timestamp) - extract(epoch from '2026-07-20 14:34: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'), 47832, 'SRID=4674;POINT (-40.364943 -2.805883)', '2026-07-20 14:34:40', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365055 -2.805855)'), GeomFromEWKT('SRID=4674;POINT (-40.364943 -2.805883)'))) / (select extract(epoch from '2026-07-20 14:34:40'::timestamp) - extract(epoch from '2026-07-20 14:34:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365055 -2.805855)'), GeomFromEWKT('SRID=4674;POINT (-40.364943 -2.805883)'))) / (select extract(epoch from '2026-07-20 14:34:40'::timestamp) - extract(epoch from '2026-07-20 14:34: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'), 47832, 'SRID=4674;POINT (-40.364822 -2.805899)', '2026-07-20 14:34:48', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364943 -2.805883)'), GeomFromEWKT('SRID=4674;POINT (-40.364822 -2.805899)'))) / (select extract(epoch from '2026-07-20 14:34:48'::timestamp) - extract(epoch from '2026-07-20 14:34:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364943 -2.805883)'), GeomFromEWKT('SRID=4674;POINT (-40.364822 -2.805899)'))) / (select extract(epoch from '2026-07-20 14:34:48'::timestamp) - extract(epoch from '2026-07-20 14:34: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'), 47832, 'SRID=4674;POINT (-40.364666 -2.805904)', '2026-07-20 14:34:56', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364822 -2.805899)'), GeomFromEWKT('SRID=4674;POINT (-40.364666 -2.805904)'))) / (select extract(epoch from '2026-07-20 14:34:56'::timestamp) - extract(epoch from '2026-07-20 14:34:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364822 -2.805899)'), GeomFromEWKT('SRID=4674;POINT (-40.364666 -2.805904)'))) / (select extract(epoch from '2026-07-20 14:34:56'::timestamp) - extract(epoch from '2026-07-20 14:34: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'), 47832, 'SRID=4674;POINT (-40.364552 -2.805928)', '2026-07-20 14:35:02', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364666 -2.805904)'), GeomFromEWKT('SRID=4674;POINT (-40.364552 -2.805928)'))) / (select extract(epoch from '2026-07-20 14:35:02'::timestamp) - extract(epoch from '2026-07-20 14:34:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364666 -2.805904)'), GeomFromEWKT('SRID=4674;POINT (-40.364552 -2.805928)'))) / (select extract(epoch from '2026-07-20 14:35:02'::timestamp) - extract(epoch from '2026-07-20 14:34: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'), 47832, 'SRID=4674;POINT (-40.364436 -2.805965)', '2026-07-20 14:35:10', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364552 -2.805928)'), GeomFromEWKT('SRID=4674;POINT (-40.364436 -2.805965)'))) / (select extract(epoch from '2026-07-20 14:35:10'::timestamp) - extract(epoch from '2026-07-20 14:35:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364552 -2.805928)'), GeomFromEWKT('SRID=4674;POINT (-40.364436 -2.805965)'))) / (select extract(epoch from '2026-07-20 14:35:10'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.364308 -2.806003)', '2026-07-20 14:35:18', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364436 -2.805965)'), GeomFromEWKT('SRID=4674;POINT (-40.364308 -2.806003)'))) / (select extract(epoch from '2026-07-20 14:35:18'::timestamp) - extract(epoch from '2026-07-20 14:35:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364436 -2.805965)'), GeomFromEWKT('SRID=4674;POINT (-40.364308 -2.806003)'))) / (select extract(epoch from '2026-07-20 14:35:18'::timestamp) - extract(epoch from '2026-07-20 14:35: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'), 47832, 'SRID=4674;POINT (-40.364154 -2.806044)', '2026-07-20 14:35:27', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364308 -2.806003)'), GeomFromEWKT('SRID=4674;POINT (-40.364154 -2.806044)'))) / (select extract(epoch from '2026-07-20 14:35:27'::timestamp) - extract(epoch from '2026-07-20 14:35:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364308 -2.806003)'), GeomFromEWKT('SRID=4674;POINT (-40.364154 -2.806044)'))) / (select extract(epoch from '2026-07-20 14:35:27'::timestamp) - extract(epoch from '2026-07-20 14: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'), 47832, 'SRID=4674;POINT (-40.36404 -2.806089)', '2026-07-20 14:35:34', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364154 -2.806044)'), GeomFromEWKT('SRID=4674;POINT (-40.36404 -2.806089)'))) / (select extract(epoch from '2026-07-20 14:35:34'::timestamp) - extract(epoch from '2026-07-20 14:35:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364154 -2.806044)'), GeomFromEWKT('SRID=4674;POINT (-40.36404 -2.806089)'))) / (select extract(epoch from '2026-07-20 14:35:34'::timestamp) - extract(epoch from '2026-07-20 14:35: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'), 47832, 'SRID=4674;POINT (-40.363901 -2.806115)', '2026-07-20 14:35:42', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36404 -2.806089)'), GeomFromEWKT('SRID=4674;POINT (-40.363901 -2.806115)'))) / (select extract(epoch from '2026-07-20 14:35:42'::timestamp) - extract(epoch from '2026-07-20 14:35:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36404 -2.806089)'), GeomFromEWKT('SRID=4674;POINT (-40.363901 -2.806115)'))) / (select extract(epoch from '2026-07-20 14:35:42'::timestamp) - extract(epoch from '2026-07-20 14:35: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'), 47832, 'SRID=4674;POINT (-40.363768 -2.80614)', '2026-07-20 14:35:50', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363901 -2.806115)'), GeomFromEWKT('SRID=4674;POINT (-40.363768 -2.80614)'))) / (select extract(epoch from '2026-07-20 14:35:50'::timestamp) - extract(epoch from '2026-07-20 14:35:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363901 -2.806115)'), GeomFromEWKT('SRID=4674;POINT (-40.363768 -2.80614)'))) / (select extract(epoch from '2026-07-20 14:35:50'::timestamp) - extract(epoch from '2026-07-20 14:35: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'), 47832, 'SRID=4674;POINT (-40.363632 -2.806158)', '2026-07-20 14:35:59', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363768 -2.80614)'), GeomFromEWKT('SRID=4674;POINT (-40.363632 -2.806158)'))) / (select extract(epoch from '2026-07-20 14:35:59'::timestamp) - extract(epoch from '2026-07-20 14:35:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363768 -2.80614)'), GeomFromEWKT('SRID=4674;POINT (-40.363632 -2.806158)'))) / (select extract(epoch from '2026-07-20 14:35:59'::timestamp) - extract(epoch from '2026-07-20 14:35: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'), 47832, 'SRID=4674;POINT (-40.3635 -2.806171)', '2026-07-20 14:36:07', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363632 -2.806158)'), GeomFromEWKT('SRID=4674;POINT (-40.3635 -2.806171)'))) / (select extract(epoch from '2026-07-20 14:36:07'::timestamp) - extract(epoch from '2026-07-20 14:35:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363632 -2.806158)'), GeomFromEWKT('SRID=4674;POINT (-40.3635 -2.806171)'))) / (select extract(epoch from '2026-07-20 14:36:07'::timestamp) - extract(epoch from '2026-07-20 14:35: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'), 47832, 'SRID=4674;POINT (-40.363396 -2.806203)', '2026-07-20 14:36:14', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3635 -2.806171)'), GeomFromEWKT('SRID=4674;POINT (-40.363396 -2.806203)'))) / (select extract(epoch from '2026-07-20 14:36:14'::timestamp) - extract(epoch from '2026-07-20 14:36:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3635 -2.806171)'), GeomFromEWKT('SRID=4674;POINT (-40.363396 -2.806203)'))) / (select extract(epoch from '2026-07-20 14:36:14'::timestamp) - extract(epoch from '2026-07-20 14:36: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'), 47832, 'SRID=4674;POINT (-40.363263 -2.806254)', '2026-07-20 14:36:21', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363396 -2.806203)'), GeomFromEWKT('SRID=4674;POINT (-40.363263 -2.806254)'))) / (select extract(epoch from '2026-07-20 14:36:21'::timestamp) - extract(epoch from '2026-07-20 14:36:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363396 -2.806203)'), GeomFromEWKT('SRID=4674;POINT (-40.363263 -2.806254)'))) / (select extract(epoch from '2026-07-20 14:36:21'::timestamp) - extract(epoch from '2026-07-20 14:36: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'), 47832, 'SRID=4674;POINT (-40.363162 -2.806283)', '2026-07-20 14:36:27', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363263 -2.806254)'), GeomFromEWKT('SRID=4674;POINT (-40.363162 -2.806283)'))) / (select extract(epoch from '2026-07-20 14:36:27'::timestamp) - extract(epoch from '2026-07-20 14:36:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363263 -2.806254)'), GeomFromEWKT('SRID=4674;POINT (-40.363162 -2.806283)'))) / (select extract(epoch from '2026-07-20 14:36:27'::timestamp) - extract(epoch from '2026-07-20 14:36: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'), 47832, 'SRID=4674;POINT (-40.363035 -2.806322)', '2026-07-20 14:36:35', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363162 -2.806283)'), GeomFromEWKT('SRID=4674;POINT (-40.363035 -2.806322)'))) / (select extract(epoch from '2026-07-20 14:36:35'::timestamp) - extract(epoch from '2026-07-20 14:36:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363162 -2.806283)'), GeomFromEWKT('SRID=4674;POINT (-40.363035 -2.806322)'))) / (select extract(epoch from '2026-07-20 14:36:35'::timestamp) - extract(epoch from '2026-07-20 14:36: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'), 47832, 'SRID=4674;POINT (-40.362899 -2.806354)', '2026-07-20 14:36:43', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363035 -2.806322)'), GeomFromEWKT('SRID=4674;POINT (-40.362899 -2.806354)'))) / (select extract(epoch from '2026-07-20 14:36:43'::timestamp) - extract(epoch from '2026-07-20 14:36:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363035 -2.806322)'), GeomFromEWKT('SRID=4674;POINT (-40.362899 -2.806354)'))) / (select extract(epoch from '2026-07-20 14:36:43'::timestamp) - extract(epoch from '2026-07-20 14:36: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'), 47832, 'SRID=4674;POINT (-40.362778 -2.806383)', '2026-07-20 14:36:51', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362899 -2.806354)'), GeomFromEWKT('SRID=4674;POINT (-40.362778 -2.806383)'))) / (select extract(epoch from '2026-07-20 14:36:51'::timestamp) - extract(epoch from '2026-07-20 14:36:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362899 -2.806354)'), GeomFromEWKT('SRID=4674;POINT (-40.362778 -2.806383)'))) / (select extract(epoch from '2026-07-20 14:36:51'::timestamp) - extract(epoch from '2026-07-20 14:36: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'), 47832, 'SRID=4674;POINT (-40.36261 -2.806434)', '2026-07-20 14:37:01', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362778 -2.806383)'), GeomFromEWKT('SRID=4674;POINT (-40.36261 -2.806434)'))) / (select extract(epoch from '2026-07-20 14:37:01'::timestamp) - extract(epoch from '2026-07-20 14:36:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362778 -2.806383)'), GeomFromEWKT('SRID=4674;POINT (-40.36261 -2.806434)'))) / (select extract(epoch from '2026-07-20 14:37:01'::timestamp) - extract(epoch from '2026-07-20 14:36: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'), 47832, 'SRID=4674;POINT (-40.362465 -2.806473)', '2026-07-20 14:37:09', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36261 -2.806434)'), GeomFromEWKT('SRID=4674;POINT (-40.362465 -2.806473)'))) / (select extract(epoch from '2026-07-20 14:37:09'::timestamp) - extract(epoch from '2026-07-20 14:37:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36261 -2.806434)'), GeomFromEWKT('SRID=4674;POINT (-40.362465 -2.806473)'))) / (select extract(epoch from '2026-07-20 14:37:09'::timestamp) - extract(epoch from '2026-07-20 14:37: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'), 47832, 'SRID=4674;POINT (-40.362358 -2.80651)', '2026-07-20 14:37:16', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362465 -2.806473)'), GeomFromEWKT('SRID=4674;POINT (-40.362358 -2.80651)'))) / (select extract(epoch from '2026-07-20 14:37:16'::timestamp) - extract(epoch from '2026-07-20 14:37:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362465 -2.806473)'), GeomFromEWKT('SRID=4674;POINT (-40.362358 -2.80651)'))) / (select extract(epoch from '2026-07-20 14:37:16'::timestamp) - extract(epoch from '2026-07-20 14:37: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'), 47832, 'SRID=4674;POINT (-40.362197 -2.806548)', '2026-07-20 14:37:25', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362358 -2.80651)'), GeomFromEWKT('SRID=4674;POINT (-40.362197 -2.806548)'))) / (select extract(epoch from '2026-07-20 14:37:25'::timestamp) - extract(epoch from '2026-07-20 14:37:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362358 -2.80651)'), GeomFromEWKT('SRID=4674;POINT (-40.362197 -2.806548)'))) / (select extract(epoch from '2026-07-20 14:37:25'::timestamp) - extract(epoch from '2026-07-20 14:37: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'), 47832, 'SRID=4674;POINT (-40.36206 -2.806589)', '2026-07-20 14:37:33', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362197 -2.806548)'), GeomFromEWKT('SRID=4674;POINT (-40.36206 -2.806589)'))) / (select extract(epoch from '2026-07-20 14:37:33'::timestamp) - extract(epoch from '2026-07-20 14:37:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362197 -2.806548)'), GeomFromEWKT('SRID=4674;POINT (-40.36206 -2.806589)'))) / (select extract(epoch from '2026-07-20 14:37:33'::timestamp) - extract(epoch from '2026-07-20 14:37: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'), 47832, 'SRID=4674;POINT (-40.361939 -2.806644)', '2026-07-20 14:37:40', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36206 -2.806589)'), GeomFromEWKT('SRID=4674;POINT (-40.361939 -2.806644)'))) / (select extract(epoch from '2026-07-20 14:37:40'::timestamp) - extract(epoch from '2026-07-20 14:37:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36206 -2.806589)'), GeomFromEWKT('SRID=4674;POINT (-40.361939 -2.806644)'))) / (select extract(epoch from '2026-07-20 14:37:40'::timestamp) - extract(epoch from '2026-07-20 14:37: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'), 47832, 'SRID=4674;POINT (-40.361789 -2.80673)', '2026-07-20 14:37:49', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361939 -2.806644)'), GeomFromEWKT('SRID=4674;POINT (-40.361789 -2.80673)'))) / (select extract(epoch from '2026-07-20 14:37:49'::timestamp) - extract(epoch from '2026-07-20 14:37:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361939 -2.806644)'), GeomFromEWKT('SRID=4674;POINT (-40.361789 -2.80673)'))) / (select extract(epoch from '2026-07-20 14:37:49'::timestamp) - extract(epoch from '2026-07-20 14:37: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'), 47832, 'SRID=4674;POINT (-40.361689 -2.806835)', '2026-07-20 14:37:58', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361789 -2.80673)'), GeomFromEWKT('SRID=4674;POINT (-40.361689 -2.806835)'))) / (select extract(epoch from '2026-07-20 14:37:58'::timestamp) - extract(epoch from '2026-07-20 14:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361789 -2.80673)'), GeomFromEWKT('SRID=4674;POINT (-40.361689 -2.806835)'))) / (select extract(epoch from '2026-07-20 14:37:58'::timestamp) - extract(epoch from '2026-07-20 14:37: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'), 47832, 'SRID=4674;POINT (-40.36161 -2.806927)', '2026-07-20 14:38:04', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361689 -2.806835)'), GeomFromEWKT('SRID=4674;POINT (-40.36161 -2.806927)'))) / (select extract(epoch from '2026-07-20 14:38:04'::timestamp) - extract(epoch from '2026-07-20 14:37:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361689 -2.806835)'), GeomFromEWKT('SRID=4674;POINT (-40.36161 -2.806927)'))) / (select extract(epoch from '2026-07-20 14:38:04'::timestamp) - extract(epoch from '2026-07-20 14:37: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'), 47832, 'SRID=4674;POINT (-40.361534 -2.807041)', '2026-07-20 14:38:11', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36161 -2.806927)'), GeomFromEWKT('SRID=4674;POINT (-40.361534 -2.807041)'))) / (select extract(epoch from '2026-07-20 14:38:11'::timestamp) - extract(epoch from '2026-07-20 14:38:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36161 -2.806927)'), GeomFromEWKT('SRID=4674;POINT (-40.361534 -2.807041)'))) / (select extract(epoch from '2026-07-20 14:38:11'::timestamp) - extract(epoch from '2026-07-20 14:38: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'), 47832, 'SRID=4674;POINT (-40.361448 -2.807156)', '2026-07-20 14:38:18', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361534 -2.807041)'), GeomFromEWKT('SRID=4674;POINT (-40.361448 -2.807156)'))) / (select extract(epoch from '2026-07-20 14:38:18'::timestamp) - extract(epoch from '2026-07-20 14:38:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361534 -2.807041)'), GeomFromEWKT('SRID=4674;POINT (-40.361448 -2.807156)'))) / (select extract(epoch from '2026-07-20 14:38:18'::timestamp) - extract(epoch from '2026-07-20 14:38: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'), 47832, 'SRID=4674;POINT (-40.361398 -2.807214)', '2026-07-20 14:38:23', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361448 -2.807156)'), GeomFromEWKT('SRID=4674;POINT (-40.361398 -2.807214)'))) / (select extract(epoch from '2026-07-20 14:38:23'::timestamp) - extract(epoch from '2026-07-20 14:38:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361448 -2.807156)'), GeomFromEWKT('SRID=4674;POINT (-40.361398 -2.807214)'))) / (select extract(epoch from '2026-07-20 14:38:23'::timestamp) - extract(epoch from '2026-07-20 14:38: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'), 47832, 'SRID=4674;POINT (-40.361316 -2.80726)', '2026-07-20 14:38:30', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361398 -2.807214)'), GeomFromEWKT('SRID=4674;POINT (-40.361316 -2.80726)'))) / (select extract(epoch from '2026-07-20 14:38:30'::timestamp) - extract(epoch from '2026-07-20 14:38:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361398 -2.807214)'), GeomFromEWKT('SRID=4674;POINT (-40.361316 -2.80726)'))) / (select extract(epoch from '2026-07-20 14:38:30'::timestamp) - extract(epoch from '2026-07-20 14:38: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'), 47832, 'SRID=4674;POINT (-40.361217 -2.807319)', '2026-07-20 14:38:39', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361316 -2.80726)'), GeomFromEWKT('SRID=4674;POINT (-40.361217 -2.807319)'))) / (select extract(epoch from '2026-07-20 14:38:39'::timestamp) - extract(epoch from '2026-07-20 14:38:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361316 -2.80726)'), GeomFromEWKT('SRID=4674;POINT (-40.361217 -2.807319)'))) / (select extract(epoch from '2026-07-20 14:38:39'::timestamp) - extract(epoch from '2026-07-20 14:38: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'), 47832, 'SRID=4674;POINT (-40.361125 -2.807395)', '2026-07-20 14:38:47', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361217 -2.807319)'), GeomFromEWKT('SRID=4674;POINT (-40.361125 -2.807395)'))) / (select extract(epoch from '2026-07-20 14:38:47'::timestamp) - extract(epoch from '2026-07-20 14:38:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361217 -2.807319)'), GeomFromEWKT('SRID=4674;POINT (-40.361125 -2.807395)'))) / (select extract(epoch from '2026-07-20 14:38:47'::timestamp) - extract(epoch from '2026-07-20 14:38: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'), 47832, 'SRID=4674;POINT (-40.361046 -2.807451)', '2026-07-20 14:38:54', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361125 -2.807395)'), GeomFromEWKT('SRID=4674;POINT (-40.361046 -2.807451)'))) / (select extract(epoch from '2026-07-20 14:38:54'::timestamp) - extract(epoch from '2026-07-20 14:38:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361125 -2.807395)'), GeomFromEWKT('SRID=4674;POINT (-40.361046 -2.807451)'))) / (select extract(epoch from '2026-07-20 14:38:54'::timestamp) - extract(epoch from '2026-07-20 14:38: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'), 47832, 'SRID=4674;POINT (-40.360951 -2.807545)', '2026-07-20 14:39:03', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361046 -2.807451)'), GeomFromEWKT('SRID=4674;POINT (-40.360951 -2.807545)'))) / (select extract(epoch from '2026-07-20 14:39:03'::timestamp) - extract(epoch from '2026-07-20 14:38:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361046 -2.807451)'), GeomFromEWKT('SRID=4674;POINT (-40.360951 -2.807545)'))) / (select extract(epoch from '2026-07-20 14:39:03'::timestamp) - extract(epoch from '2026-07-20 14:38: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'), 47832, 'SRID=4674;POINT (-40.36089 -2.807617)', '2026-07-20 14:39:10', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360951 -2.807545)'), GeomFromEWKT('SRID=4674;POINT (-40.36089 -2.807617)'))) / (select extract(epoch from '2026-07-20 14:39:10'::timestamp) - extract(epoch from '2026-07-20 14:39:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360951 -2.807545)'), GeomFromEWKT('SRID=4674;POINT (-40.36089 -2.807617)'))) / (select extract(epoch from '2026-07-20 14:39:10'::timestamp) - extract(epoch from '2026-07-20 14:39: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'), 47832, 'SRID=4674;POINT (-40.360803 -2.807679)', '2026-07-20 14:39:17', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36089 -2.807617)'), GeomFromEWKT('SRID=4674;POINT (-40.360803 -2.807679)'))) / (select extract(epoch from '2026-07-20 14:39:17'::timestamp) - extract(epoch from '2026-07-20 14:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36089 -2.807617)'), GeomFromEWKT('SRID=4674;POINT (-40.360803 -2.807679)'))) / (select extract(epoch from '2026-07-20 14:39:17'::timestamp) - extract(epoch from '2026-07-20 14:39: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'), 47832, 'SRID=4674;POINT (-40.360701 -2.807748)', '2026-07-20 14:39:25', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360803 -2.807679)'), GeomFromEWKT('SRID=4674;POINT (-40.360701 -2.807748)'))) / (select extract(epoch from '2026-07-20 14:39:25'::timestamp) - extract(epoch from '2026-07-20 14:39:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360803 -2.807679)'), GeomFromEWKT('SRID=4674;POINT (-40.360701 -2.807748)'))) / (select extract(epoch from '2026-07-20 14:39:25'::timestamp) - extract(epoch from '2026-07-20 14:39: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'), 47832, 'SRID=4674;POINT (-40.360595 -2.807798)', '2026-07-20 14:39:33', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360701 -2.807748)'), GeomFromEWKT('SRID=4674;POINT (-40.360595 -2.807798)'))) / (select extract(epoch from '2026-07-20 14:39:33'::timestamp) - extract(epoch from '2026-07-20 14:39:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360701 -2.807748)'), GeomFromEWKT('SRID=4674;POINT (-40.360595 -2.807798)'))) / (select extract(epoch from '2026-07-20 14:39:33'::timestamp) - extract(epoch from '2026-07-20 14:39:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
