 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.037425 -2.805629)', '2026-06-26 10:57:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037486 -2.80551)'), GeomFromEWKT('SRID=4674;POINT (-40.037425 -2.805629)'))) / (select extract(epoch from '2026-06-26 10:57:53'::timestamp) - extract(epoch from '2026-06-26 10:57:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037486 -2.80551)'), GeomFromEWKT('SRID=4674;POINT (-40.037425 -2.805629)'))) / (select extract(epoch from '2026-06-26 10:57:53'::timestamp) - extract(epoch from '2026-06-26 10:57: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'), 46941, 'SRID=4674;POINT (-40.03737 -2.805707)', '2026-06-26 10:58:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037425 -2.805629)'), GeomFromEWKT('SRID=4674;POINT (-40.03737 -2.805707)'))) / (select extract(epoch from '2026-06-26 10:58:00'::timestamp) - extract(epoch from '2026-06-26 10:57:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037425 -2.805629)'), GeomFromEWKT('SRID=4674;POINT (-40.03737 -2.805707)'))) / (select extract(epoch from '2026-06-26 10:58:00'::timestamp) - extract(epoch from '2026-06-26 10:57: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'), 46941, 'SRID=4674;POINT (-40.037318 -2.805788)', '2026-06-26 10:58:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03737 -2.805707)'), GeomFromEWKT('SRID=4674;POINT (-40.037318 -2.805788)'))) / (select extract(epoch from '2026-06-26 10:58:07'::timestamp) - extract(epoch from '2026-06-26 10:58:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03737 -2.805707)'), GeomFromEWKT('SRID=4674;POINT (-40.037318 -2.805788)'))) / (select extract(epoch from '2026-06-26 10:58:07'::timestamp) - extract(epoch from '2026-06-26 10:58: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'), 46941, 'SRID=4674;POINT (-40.037276 -2.805848)', '2026-06-26 10:58:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037318 -2.805788)'), GeomFromEWKT('SRID=4674;POINT (-40.037276 -2.805848)'))) / (select extract(epoch from '2026-06-26 10:58:13'::timestamp) - extract(epoch from '2026-06-26 10:58:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037318 -2.805788)'), GeomFromEWKT('SRID=4674;POINT (-40.037276 -2.805848)'))) / (select extract(epoch from '2026-06-26 10:58:13'::timestamp) - extract(epoch from '2026-06-26 10:58: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'), 46941, 'SRID=4674;POINT (-40.037208 -2.805886)', '2026-06-26 10:58:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037276 -2.805848)'), GeomFromEWKT('SRID=4674;POINT (-40.037208 -2.805886)'))) / (select extract(epoch from '2026-06-26 10:58:21'::timestamp) - extract(epoch from '2026-06-26 10:58:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037276 -2.805848)'), GeomFromEWKT('SRID=4674;POINT (-40.037208 -2.805886)'))) / (select extract(epoch from '2026-06-26 10:58:21'::timestamp) - extract(epoch from '2026-06-26 10:58: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'), 46941, 'SRID=4674;POINT (-40.037194 -2.805902)', '2026-06-26 10:58:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037208 -2.805886)'), GeomFromEWKT('SRID=4674;POINT (-40.037194 -2.805902)'))) / (select extract(epoch from '2026-06-26 10:58:23'::timestamp) - extract(epoch from '2026-06-26 10:58:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037208 -2.805886)'), GeomFromEWKT('SRID=4674;POINT (-40.037194 -2.805902)'))) / (select extract(epoch from '2026-06-26 10:58:23'::timestamp) - extract(epoch from '2026-06-26 10:58: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'), 46941, 'SRID=4674;POINT (-40.037174 -2.805928)', '2026-06-26 10:58:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037194 -2.805902)'), GeomFromEWKT('SRID=4674;POINT (-40.037174 -2.805928)'))) / (select extract(epoch from '2026-06-26 10:58:26'::timestamp) - extract(epoch from '2026-06-26 10:58:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037194 -2.805902)'), GeomFromEWKT('SRID=4674;POINT (-40.037174 -2.805928)'))) / (select extract(epoch from '2026-06-26 10:58:26'::timestamp) - extract(epoch from '2026-06-26 10:58: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'), 46941, 'SRID=4674;POINT (-40.037165 -2.805935)', '2026-06-26 10:58:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037174 -2.805928)'), GeomFromEWKT('SRID=4674;POINT (-40.037165 -2.805935)'))) / (select extract(epoch from '2026-06-26 10:58:27'::timestamp) - extract(epoch from '2026-06-26 10:58:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037174 -2.805928)'), GeomFromEWKT('SRID=4674;POINT (-40.037165 -2.805935)'))) / (select extract(epoch from '2026-06-26 10:58:27'::timestamp) - extract(epoch from '2026-06-26 10:58:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.037135 -2.805952)', '2026-06-26 10:58:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037165 -2.805935)'), GeomFromEWKT('SRID=4674;POINT (-40.037135 -2.805952)'))) / (select extract(epoch from '2026-06-26 10:58:30'::timestamp) - extract(epoch from '2026-06-26 10:58:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037165 -2.805935)'), GeomFromEWKT('SRID=4674;POINT (-40.037135 -2.805952)'))) / (select extract(epoch from '2026-06-26 10:58:30'::timestamp) - extract(epoch from '2026-06-26 10:58: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'), 46941, 'SRID=4674;POINT (-40.037109 -2.805963)', '2026-06-26 10:58:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037135 -2.805952)'), GeomFromEWKT('SRID=4674;POINT (-40.037109 -2.805963)'))) / (select extract(epoch from '2026-06-26 10:58:33'::timestamp) - extract(epoch from '2026-06-26 10:58:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037135 -2.805952)'), GeomFromEWKT('SRID=4674;POINT (-40.037109 -2.805963)'))) / (select extract(epoch from '2026-06-26 10:58:33'::timestamp) - extract(epoch from '2026-06-26 10:58: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'), 46941, 'SRID=4674;POINT (-40.037086 -2.805994)', '2026-06-26 10:58:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037109 -2.805963)'), GeomFromEWKT('SRID=4674;POINT (-40.037086 -2.805994)'))) / (select extract(epoch from '2026-06-26 10:58:39'::timestamp) - extract(epoch from '2026-06-26 10:58:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037109 -2.805963)'), GeomFromEWKT('SRID=4674;POINT (-40.037086 -2.805994)'))) / (select extract(epoch from '2026-06-26 10:58:39'::timestamp) - extract(epoch from '2026-06-26 10:58: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'), 46941, 'SRID=4674;POINT (-40.037065 -2.80604)', '2026-06-26 10:58:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037086 -2.805994)'), GeomFromEWKT('SRID=4674;POINT (-40.037065 -2.80604)'))) / (select extract(epoch from '2026-06-26 10:58:44'::timestamp) - extract(epoch from '2026-06-26 10:58:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037086 -2.805994)'), GeomFromEWKT('SRID=4674;POINT (-40.037065 -2.80604)'))) / (select extract(epoch from '2026-06-26 10:58:44'::timestamp) - extract(epoch from '2026-06-26 10:58: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'), 46941, 'SRID=4674;POINT (-40.037061 -2.80606)', '2026-06-26 10:58:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037065 -2.80604)'), GeomFromEWKT('SRID=4674;POINT (-40.037061 -2.80606)'))) / (select extract(epoch from '2026-06-26 10:58:46'::timestamp) - extract(epoch from '2026-06-26 10:58:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037065 -2.80604)'), GeomFromEWKT('SRID=4674;POINT (-40.037061 -2.80606)'))) / (select extract(epoch from '2026-06-26 10:58:46'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.037059 -2.80607)', '2026-06-26 10:58:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037061 -2.80606)'), GeomFromEWKT('SRID=4674;POINT (-40.037059 -2.80607)'))) / (select extract(epoch from '2026-06-26 10:58:47'::timestamp) - extract(epoch from '2026-06-26 10:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037061 -2.80606)'), GeomFromEWKT('SRID=4674;POINT (-40.037059 -2.80607)'))) / (select extract(epoch from '2026-06-26 10:58:47'::timestamp) - extract(epoch from '2026-06-26 10:58: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'), 46941, 'SRID=4674;POINT (-40.037053 -2.80611)', '2026-06-26 10:58:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037059 -2.80607)'), GeomFromEWKT('SRID=4674;POINT (-40.037053 -2.80611)'))) / (select extract(epoch from '2026-06-26 10:58:55'::timestamp) - extract(epoch from '2026-06-26 10:58:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037059 -2.80607)'), GeomFromEWKT('SRID=4674;POINT (-40.037053 -2.80611)'))) / (select extract(epoch from '2026-06-26 10:58:55'::timestamp) - extract(epoch from '2026-06-26 10:58: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'), 46941, 'SRID=4674;POINT (-40.037046 -2.806089)', '2026-06-26 10:59:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037053 -2.80611)'), GeomFromEWKT('SRID=4674;POINT (-40.037046 -2.806089)'))) / (select extract(epoch from '2026-06-26 10:59:04'::timestamp) - extract(epoch from '2026-06-26 10:58:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037053 -2.80611)'), GeomFromEWKT('SRID=4674;POINT (-40.037046 -2.806089)'))) / (select extract(epoch from '2026-06-26 10:59:04'::timestamp) - extract(epoch from '2026-06-26 10:58:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.036988 -2.806028)', '2026-06-26 10:59:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037046 -2.806089)'), GeomFromEWKT('SRID=4674;POINT (-40.036988 -2.806028)'))) / (select extract(epoch from '2026-06-26 10:59:17'::timestamp) - extract(epoch from '2026-06-26 10:59:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037046 -2.806089)'), GeomFromEWKT('SRID=4674;POINT (-40.036988 -2.806028)'))) / (select extract(epoch from '2026-06-26 10:59:17'::timestamp) - extract(epoch from '2026-06-26 10:59: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'), 46941, 'SRID=4674;POINT (-40.036907 -2.805993)', '2026-06-26 10:59:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036988 -2.806028)'), GeomFromEWKT('SRID=4674;POINT (-40.036907 -2.805993)'))) / (select extract(epoch from '2026-06-26 10:59:25'::timestamp) - extract(epoch from '2026-06-26 10:59:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036988 -2.806028)'), GeomFromEWKT('SRID=4674;POINT (-40.036907 -2.805993)'))) / (select extract(epoch from '2026-06-26 10:59:25'::timestamp) - extract(epoch from '2026-06-26 10:59: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'), 46941, 'SRID=4674;POINT (-40.036865 -2.805967)', '2026-06-26 10:59:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036907 -2.805993)'), GeomFromEWKT('SRID=4674;POINT (-40.036865 -2.805967)'))) / (select extract(epoch from '2026-06-26 10:59:29'::timestamp) - extract(epoch from '2026-06-26 10:59:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036907 -2.805993)'), GeomFromEWKT('SRID=4674;POINT (-40.036865 -2.805967)'))) / (select extract(epoch from '2026-06-26 10:59:29'::timestamp) - extract(epoch from '2026-06-26 10:59: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'), 46941, 'SRID=4674;POINT (-40.036841 -2.805954)', '2026-06-26 10:59:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036865 -2.805967)'), GeomFromEWKT('SRID=4674;POINT (-40.036841 -2.805954)'))) / (select extract(epoch from '2026-06-26 10:59:32'::timestamp) - extract(epoch from '2026-06-26 10:59:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036865 -2.805967)'), GeomFromEWKT('SRID=4674;POINT (-40.036841 -2.805954)'))) / (select extract(epoch from '2026-06-26 10:59:32'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.036829 -2.805906)', '2026-06-26 10:59:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036841 -2.805954)'), GeomFromEWKT('SRID=4674;POINT (-40.036829 -2.805906)'))) / (select extract(epoch from '2026-06-26 10:59:41'::timestamp) - extract(epoch from '2026-06-26 10:59:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036841 -2.805954)'), GeomFromEWKT('SRID=4674;POINT (-40.036829 -2.805906)'))) / (select extract(epoch from '2026-06-26 10:59:41'::timestamp) - extract(epoch from '2026-06-26 10:59: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'), 46941, 'SRID=4674;POINT (-40.036905 -2.805877)', '2026-06-26 11:00:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036829 -2.805906)'), GeomFromEWKT('SRID=4674;POINT (-40.036905 -2.805877)'))) / (select extract(epoch from '2026-06-26 11:00:01'::timestamp) - extract(epoch from '2026-06-26 10:59:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036829 -2.805906)'), GeomFromEWKT('SRID=4674;POINT (-40.036905 -2.805877)'))) / (select extract(epoch from '2026-06-26 11:00:01'::timestamp) - extract(epoch from '2026-06-26 10:59: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'), 46941, 'SRID=4674;POINT (-40.037016 -2.805906)', '2026-06-26 11:00:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036905 -2.805877)'), GeomFromEWKT('SRID=4674;POINT (-40.037016 -2.805906)'))) / (select extract(epoch from '2026-06-26 11:00:23'::timestamp) - extract(epoch from '2026-06-26 11:00:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036905 -2.805877)'), GeomFromEWKT('SRID=4674;POINT (-40.037016 -2.805906)'))) / (select extract(epoch from '2026-06-26 11:00:23'::timestamp) - extract(epoch from '2026-06-26 11:00:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.037072 -2.805889)', '2026-06-26 11:00:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037016 -2.805906)'), GeomFromEWKT('SRID=4674;POINT (-40.037072 -2.805889)'))) / (select extract(epoch from '2026-06-26 11:00:46'::timestamp) - extract(epoch from '2026-06-26 11:00:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037016 -2.805906)'), GeomFromEWKT('SRID=4674;POINT (-40.037072 -2.805889)'))) / (select extract(epoch from '2026-06-26 11:00:46'::timestamp) - extract(epoch from '2026-06-26 11:00:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.037061 -2.805915)', '2026-06-26 11:01:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037072 -2.805889)'), GeomFromEWKT('SRID=4674;POINT (-40.037061 -2.805915)'))) / (select extract(epoch from '2026-06-26 11:01:07'::timestamp) - extract(epoch from '2026-06-26 11:00:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037072 -2.805889)'), GeomFromEWKT('SRID=4674;POINT (-40.037061 -2.805915)'))) / (select extract(epoch from '2026-06-26 11:01:07'::timestamp) - extract(epoch from '2026-06-26 11:00: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'), 46941, 'SRID=4674;POINT (-40.037067 -2.805966)', '2026-06-26 11:01:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037061 -2.805915)'), GeomFromEWKT('SRID=4674;POINT (-40.037067 -2.805966)'))) / (select extract(epoch from '2026-06-26 11:01:33'::timestamp) - extract(epoch from '2026-06-26 11:01:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037061 -2.805915)'), GeomFromEWKT('SRID=4674;POINT (-40.037067 -2.805966)'))) / (select extract(epoch from '2026-06-26 11:01:33'::timestamp) - extract(epoch from '2026-06-26 11:01: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'), 46941, 'SRID=4674;POINT (-40.037068 -2.805977)', '2026-06-26 11:01:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037067 -2.805966)'), GeomFromEWKT('SRID=4674;POINT (-40.037068 -2.805977)'))) / (select extract(epoch from '2026-06-26 11:01:53'::timestamp) - extract(epoch from '2026-06-26 11:01:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037067 -2.805966)'), GeomFromEWKT('SRID=4674;POINT (-40.037068 -2.805977)'))) / (select extract(epoch from '2026-06-26 11:01:53'::timestamp) - extract(epoch from '2026-06-26 11:01: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'), 46941, 'SRID=4674;POINT (-40.037062 -2.805996)', '2026-06-26 11:02:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037068 -2.805977)'), GeomFromEWKT('SRID=4674;POINT (-40.037062 -2.805996)'))) / (select extract(epoch from '2026-06-26 11:02:27'::timestamp) - extract(epoch from '2026-06-26 11:01:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037068 -2.805977)'), GeomFromEWKT('SRID=4674;POINT (-40.037062 -2.805996)'))) / (select extract(epoch from '2026-06-26 11:02:27'::timestamp) - extract(epoch from '2026-06-26 11:01: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'), 46941, 'SRID=4674;POINT (-40.037074 -2.806013)', '2026-06-26 11:02:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037062 -2.805996)'), GeomFromEWKT('SRID=4674;POINT (-40.037074 -2.806013)'))) / (select extract(epoch from '2026-06-26 11:02:55'::timestamp) - extract(epoch from '2026-06-26 11:02:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037062 -2.805996)'), GeomFromEWKT('SRID=4674;POINT (-40.037074 -2.806013)'))) / (select extract(epoch from '2026-06-26 11:02:55'::timestamp) - extract(epoch from '2026-06-26 11:02:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.037083 -2.805979)', '2026-06-26 11:03:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037074 -2.806013)'), GeomFromEWKT('SRID=4674;POINT (-40.037083 -2.805979)'))) / (select extract(epoch from '2026-06-26 11:03:07'::timestamp) - extract(epoch from '2026-06-26 11:02:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037074 -2.806013)'), GeomFromEWKT('SRID=4674;POINT (-40.037083 -2.805979)'))) / (select extract(epoch from '2026-06-26 11:03:07'::timestamp) - extract(epoch from '2026-06-26 11:02:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.037097 -2.805943)', '2026-06-26 11:03:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037083 -2.805979)'), GeomFromEWKT('SRID=4674;POINT (-40.037097 -2.805943)'))) / (select extract(epoch from '2026-06-26 11:03:32'::timestamp) - extract(epoch from '2026-06-26 11:03:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037083 -2.805979)'), GeomFromEWKT('SRID=4674;POINT (-40.037097 -2.805943)'))) / (select extract(epoch from '2026-06-26 11:03:32'::timestamp) - extract(epoch from '2026-06-26 11:03: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'), 46941, 'SRID=4674;POINT (-40.0371 -2.805913)', '2026-06-26 11:04:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037097 -2.805943)'), GeomFromEWKT('SRID=4674;POINT (-40.0371 -2.805913)'))) / (select extract(epoch from '2026-06-26 11:04:04'::timestamp) - extract(epoch from '2026-06-26 11:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037097 -2.805943)'), GeomFromEWKT('SRID=4674;POINT (-40.0371 -2.805913)'))) / (select extract(epoch from '2026-06-26 11:04:04'::timestamp) - extract(epoch from '2026-06-26 11: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'), 46941, 'SRID=4674;POINT (-40.03709 -2.805934)', '2026-06-26 11:04:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0371 -2.805913)'), GeomFromEWKT('SRID=4674;POINT (-40.03709 -2.805934)'))) / (select extract(epoch from '2026-06-26 11:04:43'::timestamp) - extract(epoch from '2026-06-26 11:04:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0371 -2.805913)'), GeomFromEWKT('SRID=4674;POINT (-40.03709 -2.805934)'))) / (select extract(epoch from '2026-06-26 11:04:43'::timestamp) - extract(epoch from '2026-06-26 11:04: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'), 46941, 'SRID=4674;POINT (-40.037082 -2.805955)', '2026-06-26 11:04:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03709 -2.805934)'), GeomFromEWKT('SRID=4674;POINT (-40.037082 -2.805955)'))) / (select extract(epoch from '2026-06-26 11:04:56'::timestamp) - extract(epoch from '2026-06-26 11:04:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03709 -2.805934)'), GeomFromEWKT('SRID=4674;POINT (-40.037082 -2.805955)'))) / (select extract(epoch from '2026-06-26 11:04:56'::timestamp) - extract(epoch from '2026-06-26 11:04: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'), 46941, 'SRID=4674;POINT (-40.037079 -2.805968)', '2026-06-26 11:05:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037082 -2.805955)'), GeomFromEWKT('SRID=4674;POINT (-40.037079 -2.805968)'))) / (select extract(epoch from '2026-06-26 11:05:10'::timestamp) - extract(epoch from '2026-06-26 11:04:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037082 -2.805955)'), GeomFromEWKT('SRID=4674;POINT (-40.037079 -2.805968)'))) / (select extract(epoch from '2026-06-26 11:05:10'::timestamp) - extract(epoch from '2026-06-26 11:04:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.03708 -2.805973)', '2026-06-26 11:05:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037079 -2.805968)'), GeomFromEWKT('SRID=4674;POINT (-40.03708 -2.805973)'))) / (select extract(epoch from '2026-06-26 11:05:43'::timestamp) - extract(epoch from '2026-06-26 11:05:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037079 -2.805968)'), GeomFromEWKT('SRID=4674;POINT (-40.03708 -2.805973)'))) / (select extract(epoch from '2026-06-26 11:05:43'::timestamp) - extract(epoch from '2026-06-26 11:05:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.03708 -2.805973)', '2026-06-26 11:06:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03708 -2.805973)'), GeomFromEWKT('SRID=4674;POINT (-40.03708 -2.805973)'))) / (select extract(epoch from '2026-06-26 11:06:02'::timestamp) - extract(epoch from '2026-06-26 11:05:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03708 -2.805973)'), GeomFromEWKT('SRID=4674;POINT (-40.03708 -2.805973)'))) / (select extract(epoch from '2026-06-26 11:06:02'::timestamp) - extract(epoch from '2026-06-26 11:05:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.037078 -2.805975)', '2026-06-26 11:06:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03708 -2.805973)'), GeomFromEWKT('SRID=4674;POINT (-40.037078 -2.805975)'))) / (select extract(epoch from '2026-06-26 11:06:54'::timestamp) - extract(epoch from '2026-06-26 11:06:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03708 -2.805973)'), GeomFromEWKT('SRID=4674;POINT (-40.037078 -2.805975)'))) / (select extract(epoch from '2026-06-26 11:06:54'::timestamp) - extract(epoch from '2026-06-26 11:06: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'), 46941, 'SRID=4674;POINT (-40.037075 -2.805988)', '2026-06-26 11:07:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037078 -2.805975)'), GeomFromEWKT('SRID=4674;POINT (-40.037075 -2.805988)'))) / (select extract(epoch from '2026-06-26 11:07:39'::timestamp) - extract(epoch from '2026-06-26 11:06:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037078 -2.805975)'), GeomFromEWKT('SRID=4674;POINT (-40.037075 -2.805988)'))) / (select extract(epoch from '2026-06-26 11:07:39'::timestamp) - extract(epoch from '2026-06-26 11:06:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.037077 -2.805989)', '2026-06-26 11:08:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037075 -2.805988)'), GeomFromEWKT('SRID=4674;POINT (-40.037077 -2.805989)'))) / (select extract(epoch from '2026-06-26 11:08:11'::timestamp) - extract(epoch from '2026-06-26 11:07:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037075 -2.805988)'), GeomFromEWKT('SRID=4674;POINT (-40.037077 -2.805989)'))) / (select extract(epoch from '2026-06-26 11:08:11'::timestamp) - extract(epoch from '2026-06-26 11:07: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'), 46941, 'SRID=4674;POINT (-40.03708 -2.80599)', '2026-06-26 11:08:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037077 -2.805989)'), GeomFromEWKT('SRID=4674;POINT (-40.03708 -2.80599)'))) / (select extract(epoch from '2026-06-26 11:08:49'::timestamp) - extract(epoch from '2026-06-26 11:08:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037077 -2.805989)'), GeomFromEWKT('SRID=4674;POINT (-40.03708 -2.80599)'))) / (select extract(epoch from '2026-06-26 11:08:49'::timestamp) - extract(epoch from '2026-06-26 11:08: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'), 46941, 'SRID=4674;POINT (-40.037077 -2.805996)', '2026-06-26 11:09:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03708 -2.80599)'), GeomFromEWKT('SRID=4674;POINT (-40.037077 -2.805996)'))) / (select extract(epoch from '2026-06-26 11:09:19'::timestamp) - extract(epoch from '2026-06-26 11:08:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03708 -2.80599)'), GeomFromEWKT('SRID=4674;POINT (-40.037077 -2.805996)'))) / (select extract(epoch from '2026-06-26 11:09:19'::timestamp) - extract(epoch from '2026-06-26 11:08:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.03708 -2.805995)', '2026-06-26 11:09:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037077 -2.805996)'), GeomFromEWKT('SRID=4674;POINT (-40.03708 -2.805995)'))) / (select extract(epoch from '2026-06-26 11:09:48'::timestamp) - extract(epoch from '2026-06-26 11:09:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037077 -2.805996)'), GeomFromEWKT('SRID=4674;POINT (-40.03708 -2.805995)'))) / (select extract(epoch from '2026-06-26 11:09:48'::timestamp) - extract(epoch from '2026-06-26 11:09:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.037082 -2.805983)', '2026-06-26 11:10:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03708 -2.805995)'), GeomFromEWKT('SRID=4674;POINT (-40.037082 -2.805983)'))) / (select extract(epoch from '2026-06-26 11:10:13'::timestamp) - extract(epoch from '2026-06-26 11:09:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03708 -2.805995)'), GeomFromEWKT('SRID=4674;POINT (-40.037082 -2.805983)'))) / (select extract(epoch from '2026-06-26 11:10:13'::timestamp) - extract(epoch from '2026-06-26 11:09:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.037078 -2.805986)', '2026-06-26 11:10:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037082 -2.805983)'), GeomFromEWKT('SRID=4674;POINT (-40.037078 -2.805986)'))) / (select extract(epoch from '2026-06-26 11:10:35'::timestamp) - extract(epoch from '2026-06-26 11:10:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037082 -2.805983)'), GeomFromEWKT('SRID=4674;POINT (-40.037078 -2.805986)'))) / (select extract(epoch from '2026-06-26 11:10:35'::timestamp) - extract(epoch from '2026-06-26 11:10: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'), 46941, 'SRID=4674;POINT (-40.037074 -2.805995)', '2026-06-26 11:10:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037078 -2.805986)'), GeomFromEWKT('SRID=4674;POINT (-40.037074 -2.805995)'))) / (select extract(epoch from '2026-06-26 11:10:59'::timestamp) - extract(epoch from '2026-06-26 11:10:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037078 -2.805986)'), GeomFromEWKT('SRID=4674;POINT (-40.037074 -2.805995)'))) / (select extract(epoch from '2026-06-26 11:10:59'::timestamp) - extract(epoch from '2026-06-26 11:10: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'), 46941, 'SRID=4674;POINT (-40.037078 -2.805993)', '2026-06-26 11:11:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037074 -2.805995)'), GeomFromEWKT('SRID=4674;POINT (-40.037078 -2.805993)'))) / (select extract(epoch from '2026-06-26 11:11:25'::timestamp) - extract(epoch from '2026-06-26 11:10:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037074 -2.805995)'), GeomFromEWKT('SRID=4674;POINT (-40.037078 -2.805993)'))) / (select extract(epoch from '2026-06-26 11:11:25'::timestamp) - extract(epoch from '2026-06-26 11: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'), 46941, 'SRID=4674;POINT (-40.037073 -2.806001)', '2026-06-26 11:11:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037078 -2.805993)'), GeomFromEWKT('SRID=4674;POINT (-40.037073 -2.806001)'))) / (select extract(epoch from '2026-06-26 11:11:44'::timestamp) - extract(epoch from '2026-06-26 11:11:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037078 -2.805993)'), GeomFromEWKT('SRID=4674;POINT (-40.037073 -2.806001)'))) / (select extract(epoch from '2026-06-26 11:11:44'::timestamp) - extract(epoch from '2026-06-26 11:11: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'), 46941, 'SRID=4674;POINT (-40.037076 -2.806003)', '2026-06-26 11:11:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037073 -2.806001)'), GeomFromEWKT('SRID=4674;POINT (-40.037076 -2.806003)'))) / (select extract(epoch from '2026-06-26 11:11:59'::timestamp) - extract(epoch from '2026-06-26 11:11:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037073 -2.806001)'), GeomFromEWKT('SRID=4674;POINT (-40.037076 -2.806003)'))) / (select extract(epoch from '2026-06-26 11:11:59'::timestamp) - extract(epoch from '2026-06-26 11:11:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.037071 -2.806003)', '2026-06-26 11:12:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037076 -2.806003)'), GeomFromEWKT('SRID=4674;POINT (-40.037071 -2.806003)'))) / (select extract(epoch from '2026-06-26 11:12:34'::timestamp) - extract(epoch from '2026-06-26 11:11:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037076 -2.806003)'), GeomFromEWKT('SRID=4674;POINT (-40.037071 -2.806003)'))) / (select extract(epoch from '2026-06-26 11:12:34'::timestamp) - extract(epoch from '2026-06-26 11:11: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'), 46941, 'SRID=4674;POINT (-40.037077 -2.805999)', '2026-06-26 11:12:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037071 -2.806003)'), GeomFromEWKT('SRID=4674;POINT (-40.037077 -2.805999)'))) / (select extract(epoch from '2026-06-26 11:12:58'::timestamp) - extract(epoch from '2026-06-26 11:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037071 -2.806003)'), GeomFromEWKT('SRID=4674;POINT (-40.037077 -2.805999)'))) / (select extract(epoch from '2026-06-26 11:12:58'::timestamp) - extract(epoch from '2026-06-26 11: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'), 46941, 'SRID=4674;POINT (-40.037077 -2.805996)', '2026-06-26 11:13:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037077 -2.805999)'), GeomFromEWKT('SRID=4674;POINT (-40.037077 -2.805996)'))) / (select extract(epoch from '2026-06-26 11:13:50'::timestamp) - extract(epoch from '2026-06-26 11:12:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037077 -2.805999)'), GeomFromEWKT('SRID=4674;POINT (-40.037077 -2.805996)'))) / (select extract(epoch from '2026-06-26 11:13:50'::timestamp) - extract(epoch from '2026-06-26 11:12: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'), 46941, 'SRID=4674;POINT (-40.037074 -2.805989)', '2026-06-26 11:14:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037077 -2.805996)'), GeomFromEWKT('SRID=4674;POINT (-40.037074 -2.805989)'))) / (select extract(epoch from '2026-06-26 11:14:06'::timestamp) - extract(epoch from '2026-06-26 11:13:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037077 -2.805996)'), GeomFromEWKT('SRID=4674;POINT (-40.037074 -2.805989)'))) / (select extract(epoch from '2026-06-26 11:14:06'::timestamp) - extract(epoch from '2026-06-26 11:13: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'), 46941, 'SRID=4674;POINT (-40.037075 -2.805988)', '2026-06-26 11:14:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037074 -2.805989)'), GeomFromEWKT('SRID=4674;POINT (-40.037075 -2.805988)'))) / (select extract(epoch from '2026-06-26 11:14:19'::timestamp) - extract(epoch from '2026-06-26 11:14:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037074 -2.805989)'), GeomFromEWKT('SRID=4674;POINT (-40.037075 -2.805988)'))) / (select extract(epoch from '2026-06-26 11:14:19'::timestamp) - extract(epoch from '2026-06-26 11: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'), 46941, 'SRID=4674;POINT (-40.037074 -2.805985)', '2026-06-26 11:14:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037075 -2.805988)'), GeomFromEWKT('SRID=4674;POINT (-40.037074 -2.805985)'))) / (select extract(epoch from '2026-06-26 11:14:41'::timestamp) - extract(epoch from '2026-06-26 11:14:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037075 -2.805988)'), GeomFromEWKT('SRID=4674;POINT (-40.037074 -2.805985)'))) / (select extract(epoch from '2026-06-26 11:14:41'::timestamp) - extract(epoch from '2026-06-26 11:14: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'), 46941, 'SRID=4674;POINT (-40.037075 -2.805981)', '2026-06-26 11:15:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037074 -2.805985)'), GeomFromEWKT('SRID=4674;POINT (-40.037075 -2.805981)'))) / (select extract(epoch from '2026-06-26 11:15:07'::timestamp) - extract(epoch from '2026-06-26 11:14:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037074 -2.805985)'), GeomFromEWKT('SRID=4674;POINT (-40.037075 -2.805981)'))) / (select extract(epoch from '2026-06-26 11:15:07'::timestamp) - extract(epoch from '2026-06-26 11:14:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.037078 -2.805988)', '2026-06-26 11:15:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037075 -2.805981)'), GeomFromEWKT('SRID=4674;POINT (-40.037078 -2.805988)'))) / (select extract(epoch from '2026-06-26 11:15:44'::timestamp) - extract(epoch from '2026-06-26 11:15:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037075 -2.805981)'), GeomFromEWKT('SRID=4674;POINT (-40.037078 -2.805988)'))) / (select extract(epoch from '2026-06-26 11:15:44'::timestamp) - extract(epoch from '2026-06-26 11:15: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'), 46941, 'SRID=4674;POINT (-40.037072 -2.806001)', '2026-06-26 11:16:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037078 -2.805988)'), GeomFromEWKT('SRID=4674;POINT (-40.037072 -2.806001)'))) / (select extract(epoch from '2026-06-26 11:16:20'::timestamp) - extract(epoch from '2026-06-26 11:15:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037078 -2.805988)'), GeomFromEWKT('SRID=4674;POINT (-40.037072 -2.806001)'))) / (select extract(epoch from '2026-06-26 11:16:20'::timestamp) - extract(epoch from '2026-06-26 11:15:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.037071 -2.80601)', '2026-06-26 11:16:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037072 -2.806001)'), GeomFromEWKT('SRID=4674;POINT (-40.037071 -2.80601)'))) / (select extract(epoch from '2026-06-26 11:16:45'::timestamp) - extract(epoch from '2026-06-26 11:16:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037072 -2.806001)'), GeomFromEWKT('SRID=4674;POINT (-40.037071 -2.80601)'))) / (select extract(epoch from '2026-06-26 11:16:45'::timestamp) - extract(epoch from '2026-06-26 11:16: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'), 46941, 'SRID=4674;POINT (-40.037075 -2.806006)', '2026-06-26 11:17:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037071 -2.80601)'), GeomFromEWKT('SRID=4674;POINT (-40.037075 -2.806006)'))) / (select extract(epoch from '2026-06-26 11:17:04'::timestamp) - extract(epoch from '2026-06-26 11:16:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037071 -2.80601)'), GeomFromEWKT('SRID=4674;POINT (-40.037075 -2.806006)'))) / (select extract(epoch from '2026-06-26 11:17:04'::timestamp) - extract(epoch from '2026-06-26 11:16:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.037076 -2.806011)', '2026-06-26 11:17:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037075 -2.806006)'), GeomFromEWKT('SRID=4674;POINT (-40.037076 -2.806011)'))) / (select extract(epoch from '2026-06-26 11:17:35'::timestamp) - extract(epoch from '2026-06-26 11:17:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037075 -2.806006)'), GeomFromEWKT('SRID=4674;POINT (-40.037076 -2.806011)'))) / (select extract(epoch from '2026-06-26 11:17:35'::timestamp) - extract(epoch from '2026-06-26 11:17: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'), 46941, 'SRID=4674;POINT (-40.037076 -2.806013)', '2026-06-26 11:18:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037076 -2.806011)'), GeomFromEWKT('SRID=4674;POINT (-40.037076 -2.806013)'))) / (select extract(epoch from '2026-06-26 11:18:01'::timestamp) - extract(epoch from '2026-06-26 11:17:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037076 -2.806011)'), GeomFromEWKT('SRID=4674;POINT (-40.037076 -2.806013)'))) / (select extract(epoch from '2026-06-26 11:18:01'::timestamp) - extract(epoch from '2026-06-26 11: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'), 46941, 'SRID=4674;POINT (-40.03708 -2.80601)', '2026-06-26 11:18:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037076 -2.806013)'), GeomFromEWKT('SRID=4674;POINT (-40.03708 -2.80601)'))) / (select extract(epoch from '2026-06-26 11:18:29'::timestamp) - extract(epoch from '2026-06-26 11:18:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037076 -2.806013)'), GeomFromEWKT('SRID=4674;POINT (-40.03708 -2.80601)'))) / (select extract(epoch from '2026-06-26 11:18:29'::timestamp) - extract(epoch from '2026-06-26 11:18: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'), 46941, 'SRID=4674;POINT (-40.037078 -2.80601)', '2026-06-26 11:18:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03708 -2.80601)'), GeomFromEWKT('SRID=4674;POINT (-40.037078 -2.80601)'))) / (select extract(epoch from '2026-06-26 11:18:44'::timestamp) - extract(epoch from '2026-06-26 11:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03708 -2.80601)'), GeomFromEWKT('SRID=4674;POINT (-40.037078 -2.80601)'))) / (select extract(epoch from '2026-06-26 11:18:44'::timestamp) - extract(epoch from '2026-06-26 11:18: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'), 46941, 'SRID=4674;POINT (-40.037078 -2.806006)', '2026-06-26 11:19:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037078 -2.80601)'), GeomFromEWKT('SRID=4674;POINT (-40.037078 -2.806006)'))) / (select extract(epoch from '2026-06-26 11:19:02'::timestamp) - extract(epoch from '2026-06-26 11:18:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037078 -2.80601)'), GeomFromEWKT('SRID=4674;POINT (-40.037078 -2.806006)'))) / (select extract(epoch from '2026-06-26 11:19:02'::timestamp) - extract(epoch from '2026-06-26 11:18:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.037077 -2.806007)', '2026-06-26 11:19:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037078 -2.806006)'), GeomFromEWKT('SRID=4674;POINT (-40.037077 -2.806007)'))) / (select extract(epoch from '2026-06-26 11:19:20'::timestamp) - extract(epoch from '2026-06-26 11:19:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037078 -2.806006)'), GeomFromEWKT('SRID=4674;POINT (-40.037077 -2.806007)'))) / (select extract(epoch from '2026-06-26 11:19:20'::timestamp) - extract(epoch from '2026-06-26 11:19: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'), 46941, 'SRID=4674;POINT (-40.037078 -2.805992)', '2026-06-26 11:19:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037077 -2.806007)'), GeomFromEWKT('SRID=4674;POINT (-40.037078 -2.805992)'))) / (select extract(epoch from '2026-06-26 11:19:56'::timestamp) - extract(epoch from '2026-06-26 11:19:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037077 -2.806007)'), GeomFromEWKT('SRID=4674;POINT (-40.037078 -2.805992)'))) / (select extract(epoch from '2026-06-26 11:19:56'::timestamp) - extract(epoch from '2026-06-26 11:19:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.037074 -2.805933)', '2026-06-26 11:20:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037078 -2.805992)'), GeomFromEWKT('SRID=4674;POINT (-40.037074 -2.805933)'))) / (select extract(epoch from '2026-06-26 11:20:18'::timestamp) - extract(epoch from '2026-06-26 11:19:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037078 -2.805992)'), GeomFromEWKT('SRID=4674;POINT (-40.037074 -2.805933)'))) / (select extract(epoch from '2026-06-26 11:20:18'::timestamp) - extract(epoch from '2026-06-26 11:19: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'), 46941, 'SRID=4674;POINT (-40.037001 -2.805915)', '2026-06-26 11:20:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037074 -2.805933)'), GeomFromEWKT('SRID=4674;POINT (-40.037001 -2.805915)'))) / (select extract(epoch from '2026-06-26 11:20:39'::timestamp) - extract(epoch from '2026-06-26 11:20:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037074 -2.805933)'), GeomFromEWKT('SRID=4674;POINT (-40.037001 -2.805915)'))) / (select extract(epoch from '2026-06-26 11:20:39'::timestamp) - extract(epoch from '2026-06-26 11:20: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'), 46941, 'SRID=4674;POINT (-40.036949 -2.805932)', '2026-06-26 11:20:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037001 -2.805915)'), GeomFromEWKT('SRID=4674;POINT (-40.036949 -2.805932)'))) / (select extract(epoch from '2026-06-26 11:20:45'::timestamp) - extract(epoch from '2026-06-26 11:20:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037001 -2.805915)'), GeomFromEWKT('SRID=4674;POINT (-40.036949 -2.805932)'))) / (select extract(epoch from '2026-06-26 11:20:45'::timestamp) - extract(epoch from '2026-06-26 11:20:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.036929 -2.805932)', '2026-06-26 11:20:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036949 -2.805932)'), GeomFromEWKT('SRID=4674;POINT (-40.036929 -2.805932)'))) / (select extract(epoch from '2026-06-26 11:20:47'::timestamp) - extract(epoch from '2026-06-26 11:20:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036949 -2.805932)'), GeomFromEWKT('SRID=4674;POINT (-40.036929 -2.805932)'))) / (select extract(epoch from '2026-06-26 11:20:47'::timestamp) - extract(epoch from '2026-06-26 11:20: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'), 46941, 'SRID=4674;POINT (-40.036872 -2.805929)', '2026-06-26 11:20:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036929 -2.805932)'), GeomFromEWKT('SRID=4674;POINT (-40.036872 -2.805929)'))) / (select extract(epoch from '2026-06-26 11:20:55'::timestamp) - extract(epoch from '2026-06-26 11:20:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036929 -2.805932)'), GeomFromEWKT('SRID=4674;POINT (-40.036872 -2.805929)'))) / (select extract(epoch from '2026-06-26 11:20:55'::timestamp) - extract(epoch from '2026-06-26 11:20:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.036834 -2.805925)', '2026-06-26 11:21:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036872 -2.805929)'), GeomFromEWKT('SRID=4674;POINT (-40.036834 -2.805925)'))) / (select extract(epoch from '2026-06-26 11:21:07'::timestamp) - extract(epoch from '2026-06-26 11:20:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036872 -2.805929)'), GeomFromEWKT('SRID=4674;POINT (-40.036834 -2.805925)'))) / (select extract(epoch from '2026-06-26 11:21:07'::timestamp) - extract(epoch from '2026-06-26 11:20:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.036786 -2.805991)', '2026-06-26 11:21:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036834 -2.805925)'), GeomFromEWKT('SRID=4674;POINT (-40.036786 -2.805991)'))) / (select extract(epoch from '2026-06-26 11:21:18'::timestamp) - extract(epoch from '2026-06-26 11:21:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036834 -2.805925)'), GeomFromEWKT('SRID=4674;POINT (-40.036786 -2.805991)'))) / (select extract(epoch from '2026-06-26 11:21:18'::timestamp) - extract(epoch from '2026-06-26 11:21: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'), 46941, 'SRID=4674;POINT (-40.036778 -2.806094)', '2026-06-26 11:21:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036786 -2.805991)'), GeomFromEWKT('SRID=4674;POINT (-40.036778 -2.806094)'))) / (select extract(epoch from '2026-06-26 11:21:25'::timestamp) - extract(epoch from '2026-06-26 11:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036786 -2.805991)'), GeomFromEWKT('SRID=4674;POINT (-40.036778 -2.806094)'))) / (select extract(epoch from '2026-06-26 11:21:25'::timestamp) - extract(epoch from '2026-06-26 11: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'), 46941, 'SRID=4674;POINT (-40.036819 -2.806237)', '2026-06-26 11:21:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036778 -2.806094)'), GeomFromEWKT('SRID=4674;POINT (-40.036819 -2.806237)'))) / (select extract(epoch from '2026-06-26 11:21:33'::timestamp) - extract(epoch from '2026-06-26 11:21:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036778 -2.806094)'), GeomFromEWKT('SRID=4674;POINT (-40.036819 -2.806237)'))) / (select extract(epoch from '2026-06-26 11:21:33'::timestamp) - extract(epoch from '2026-06-26 11:21:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.036863 -2.80639)', '2026-06-26 11:21:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036819 -2.806237)'), GeomFromEWKT('SRID=4674;POINT (-40.036863 -2.80639)'))) / (select extract(epoch from '2026-06-26 11:21:41'::timestamp) - extract(epoch from '2026-06-26 11:21:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036819 -2.806237)'), GeomFromEWKT('SRID=4674;POINT (-40.036863 -2.80639)'))) / (select extract(epoch from '2026-06-26 11:21:41'::timestamp) - extract(epoch from '2026-06-26 11: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'), 46941, 'SRID=4674;POINT (-40.036912 -2.806543)', '2026-06-26 11:21:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036863 -2.80639)'), GeomFromEWKT('SRID=4674;POINT (-40.036912 -2.806543)'))) / (select extract(epoch from '2026-06-26 11:21:49'::timestamp) - extract(epoch from '2026-06-26 11:21:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036863 -2.80639)'), GeomFromEWKT('SRID=4674;POINT (-40.036912 -2.806543)'))) / (select extract(epoch from '2026-06-26 11:21:49'::timestamp) - extract(epoch from '2026-06-26 11:21: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'), 46941, 'SRID=4674;POINT (-40.036975 -2.806672)', '2026-06-26 11:21:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036912 -2.806543)'), GeomFromEWKT('SRID=4674;POINT (-40.036975 -2.806672)'))) / (select extract(epoch from '2026-06-26 11:21:56'::timestamp) - extract(epoch from '2026-06-26 11:21:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036912 -2.806543)'), GeomFromEWKT('SRID=4674;POINT (-40.036975 -2.806672)'))) / (select extract(epoch from '2026-06-26 11:21:56'::timestamp) - extract(epoch from '2026-06-26 11:21: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'), 46941, 'SRID=4674;POINT (-40.037038 -2.806752)', '2026-06-26 11:22:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036975 -2.806672)'), GeomFromEWKT('SRID=4674;POINT (-40.037038 -2.806752)'))) / (select extract(epoch from '2026-06-26 11:22:01'::timestamp) - extract(epoch from '2026-06-26 11:21:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036975 -2.806672)'), GeomFromEWKT('SRID=4674;POINT (-40.037038 -2.806752)'))) / (select extract(epoch from '2026-06-26 11:22:01'::timestamp) - extract(epoch from '2026-06-26 11:21: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'), 46941, 'SRID=4674;POINT (-40.0371 -2.806881)', '2026-06-26 11:22:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037038 -2.806752)'), GeomFromEWKT('SRID=4674;POINT (-40.0371 -2.806881)'))) / (select extract(epoch from '2026-06-26 11:22:08'::timestamp) - extract(epoch from '2026-06-26 11:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037038 -2.806752)'), GeomFromEWKT('SRID=4674;POINT (-40.0371 -2.806881)'))) / (select extract(epoch from '2026-06-26 11:22:08'::timestamp) - extract(epoch from '2026-06-26 11:22: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'), 46941, 'SRID=4674;POINT (-40.03713 -2.807015)', '2026-06-26 11:22:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0371 -2.806881)'), GeomFromEWKT('SRID=4674;POINT (-40.03713 -2.807015)'))) / (select extract(epoch from '2026-06-26 11:22:15'::timestamp) - extract(epoch from '2026-06-26 11:22:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0371 -2.806881)'), GeomFromEWKT('SRID=4674;POINT (-40.03713 -2.807015)'))) / (select extract(epoch from '2026-06-26 11:22:15'::timestamp) - extract(epoch from '2026-06-26 11:22: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'), 46941, 'SRID=4674;POINT (-40.037154 -2.80711)', '2026-06-26 11:22:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03713 -2.807015)'), GeomFromEWKT('SRID=4674;POINT (-40.037154 -2.80711)'))) / (select extract(epoch from '2026-06-26 11:22:20'::timestamp) - extract(epoch from '2026-06-26 11:22:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03713 -2.807015)'), GeomFromEWKT('SRID=4674;POINT (-40.037154 -2.80711)'))) / (select extract(epoch from '2026-06-26 11:22:20'::timestamp) - extract(epoch from '2026-06-26 11:22:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.037208 -2.807212)', '2026-06-26 11:22:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037154 -2.80711)'), GeomFromEWKT('SRID=4674;POINT (-40.037208 -2.807212)'))) / (select extract(epoch from '2026-06-26 11:22:26'::timestamp) - extract(epoch from '2026-06-26 11:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037154 -2.80711)'), GeomFromEWKT('SRID=4674;POINT (-40.037208 -2.807212)'))) / (select extract(epoch from '2026-06-26 11:22:26'::timestamp) - extract(epoch from '2026-06-26 11:22: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'), 46941, 'SRID=4674;POINT (-40.037276 -2.807323)', '2026-06-26 11:22:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037208 -2.807212)'), GeomFromEWKT('SRID=4674;POINT (-40.037276 -2.807323)'))) / (select extract(epoch from '2026-06-26 11:22:33'::timestamp) - extract(epoch from '2026-06-26 11:22:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037208 -2.807212)'), GeomFromEWKT('SRID=4674;POINT (-40.037276 -2.807323)'))) / (select extract(epoch from '2026-06-26 11:22:33'::timestamp) - extract(epoch from '2026-06-26 11:22:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.037339 -2.807439)', '2026-06-26 11:22:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037276 -2.807323)'), GeomFromEWKT('SRID=4674;POINT (-40.037339 -2.807439)'))) / (select extract(epoch from '2026-06-26 11:22:40'::timestamp) - extract(epoch from '2026-06-26 11:22:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037276 -2.807323)'), GeomFromEWKT('SRID=4674;POINT (-40.037339 -2.807439)'))) / (select extract(epoch from '2026-06-26 11:22:40'::timestamp) - extract(epoch from '2026-06-26 11:22: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'), 46941, 'SRID=4674;POINT (-40.037421 -2.807511)', '2026-06-26 11:22:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037339 -2.807439)'), GeomFromEWKT('SRID=4674;POINT (-40.037421 -2.807511)'))) / (select extract(epoch from '2026-06-26 11:22:46'::timestamp) - extract(epoch from '2026-06-26 11:22:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037339 -2.807439)'), GeomFromEWKT('SRID=4674;POINT (-40.037421 -2.807511)'))) / (select extract(epoch from '2026-06-26 11:22:46'::timestamp) - extract(epoch from '2026-06-26 11:22: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'), 46941, 'SRID=4674;POINT (-40.037527 -2.807574)', '2026-06-26 11:22:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037421 -2.807511)'), GeomFromEWKT('SRID=4674;POINT (-40.037527 -2.807574)'))) / (select extract(epoch from '2026-06-26 11:22:54'::timestamp) - extract(epoch from '2026-06-26 11:22:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037421 -2.807511)'), GeomFromEWKT('SRID=4674;POINT (-40.037527 -2.807574)'))) / (select extract(epoch from '2026-06-26 11:22:54'::timestamp) - extract(epoch from '2026-06-26 11:22: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'), 46941, 'SRID=4674;POINT (-40.037545 -2.807647)', '2026-06-26 11:23:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037527 -2.807574)'), GeomFromEWKT('SRID=4674;POINT (-40.037545 -2.807647)'))) / (select extract(epoch from '2026-06-26 11:23:02'::timestamp) - extract(epoch from '2026-06-26 11:22:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037527 -2.807574)'), GeomFromEWKT('SRID=4674;POINT (-40.037545 -2.807647)'))) / (select extract(epoch from '2026-06-26 11:23:02'::timestamp) - extract(epoch from '2026-06-26 11:22: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'), 46941, 'SRID=4674;POINT (-40.037536 -2.807661)', '2026-06-26 11:23:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037545 -2.807647)'), GeomFromEWKT('SRID=4674;POINT (-40.037536 -2.807661)'))) / (select extract(epoch from '2026-06-26 11:23:04'::timestamp) - extract(epoch from '2026-06-26 11:23:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037545 -2.807647)'), GeomFromEWKT('SRID=4674;POINT (-40.037536 -2.807661)'))) / (select extract(epoch from '2026-06-26 11:23:04'::timestamp) - extract(epoch from '2026-06-26 11:23: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'), 46941, 'SRID=4674;POINT (-40.037521 -2.807678)', '2026-06-26 11:23:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037536 -2.807661)'), GeomFromEWKT('SRID=4674;POINT (-40.037521 -2.807678)'))) / (select extract(epoch from '2026-06-26 11:23:07'::timestamp) - extract(epoch from '2026-06-26 11:23:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037536 -2.807661)'), GeomFromEWKT('SRID=4674;POINT (-40.037521 -2.807678)'))) / (select extract(epoch from '2026-06-26 11:23:07'::timestamp) - extract(epoch from '2026-06-26 11: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'), 46941, 'SRID=4674;POINT (-40.0375 -2.807669)', '2026-06-26 11:23:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037521 -2.807678)'), GeomFromEWKT('SRID=4674;POINT (-40.0375 -2.807669)'))) / (select extract(epoch from '2026-06-26 11:23:13'::timestamp) - extract(epoch from '2026-06-26 11:23:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037521 -2.807678)'), GeomFromEWKT('SRID=4674;POINT (-40.0375 -2.807669)'))) / (select extract(epoch from '2026-06-26 11:23:13'::timestamp) - extract(epoch from '2026-06-26 11:23: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'), 46941, 'SRID=4674;POINT (-40.037506 -2.807594)', '2026-06-26 11:23:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0375 -2.807669)'), GeomFromEWKT('SRID=4674;POINT (-40.037506 -2.807594)'))) / (select extract(epoch from '2026-06-26 11:23:24'::timestamp) - extract(epoch from '2026-06-26 11:23:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0375 -2.807669)'), GeomFromEWKT('SRID=4674;POINT (-40.037506 -2.807594)'))) / (select extract(epoch from '2026-06-26 11:23:24'::timestamp) - extract(epoch from '2026-06-26 11:23: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'), 46941, 'SRID=4674;POINT (-40.037504 -2.807519)', '2026-06-26 11:23:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037506 -2.807594)'), GeomFromEWKT('SRID=4674;POINT (-40.037504 -2.807519)'))) / (select extract(epoch from '2026-06-26 11:23:40'::timestamp) - extract(epoch from '2026-06-26 11:23:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037506 -2.807594)'), GeomFromEWKT('SRID=4674;POINT (-40.037504 -2.807519)'))) / (select extract(epoch from '2026-06-26 11:23:40'::timestamp) - extract(epoch from '2026-06-26 11:23: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'), 46941, 'SRID=4674;POINT (-40.037498 -2.8075)', '2026-06-26 11:23:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037504 -2.807519)'), GeomFromEWKT('SRID=4674;POINT (-40.037498 -2.8075)'))) / (select extract(epoch from '2026-06-26 11:23:47'::timestamp) - extract(epoch from '2026-06-26 11:23:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037504 -2.807519)'), GeomFromEWKT('SRID=4674;POINT (-40.037498 -2.8075)'))) / (select extract(epoch from '2026-06-26 11:23:47'::timestamp) - extract(epoch from '2026-06-26 11:23: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'), 46941, 'SRID=4674;POINT (-40.037491 -2.807495)', '2026-06-26 11:23:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037498 -2.8075)'), GeomFromEWKT('SRID=4674;POINT (-40.037491 -2.807495)'))) / (select extract(epoch from '2026-06-26 11:23:54'::timestamp) - extract(epoch from '2026-06-26 11:23:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037498 -2.8075)'), GeomFromEWKT('SRID=4674;POINT (-40.037491 -2.807495)'))) / (select extract(epoch from '2026-06-26 11:23:54'::timestamp) - extract(epoch from '2026-06-26 11: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'), 46941, 'SRID=4674;POINT (-40.037483 -2.807525)', '2026-06-26 11:24:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037491 -2.807495)'), GeomFromEWKT('SRID=4674;POINT (-40.037483 -2.807525)'))) / (select extract(epoch from '2026-06-26 11:24:03'::timestamp) - extract(epoch from '2026-06-26 11:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037491 -2.807495)'), GeomFromEWKT('SRID=4674;POINT (-40.037483 -2.807525)'))) / (select extract(epoch from '2026-06-26 11:24:03'::timestamp) - extract(epoch from '2026-06-26 11:23: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'), 46941, 'SRID=4674;POINT (-40.037529 -2.807621)', '2026-06-26 11:24:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037483 -2.807525)'), GeomFromEWKT('SRID=4674;POINT (-40.037529 -2.807621)'))) / (select extract(epoch from '2026-06-26 11:24:14'::timestamp) - extract(epoch from '2026-06-26 11:24:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037483 -2.807525)'), GeomFromEWKT('SRID=4674;POINT (-40.037529 -2.807621)'))) / (select extract(epoch from '2026-06-26 11:24:14'::timestamp) - extract(epoch from '2026-06-26 11:24: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'), 46941, 'SRID=4674;POINT (-40.037637 -2.8077)', '2026-06-26 11:24:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037529 -2.807621)'), GeomFromEWKT('SRID=4674;POINT (-40.037637 -2.8077)'))) / (select extract(epoch from '2026-06-26 11:24:22'::timestamp) - extract(epoch from '2026-06-26 11:24:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037529 -2.807621)'), GeomFromEWKT('SRID=4674;POINT (-40.037637 -2.8077)'))) / (select extract(epoch from '2026-06-26 11:24:22'::timestamp) - extract(epoch from '2026-06-26 11: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'), 46941, 'SRID=4674;POINT (-40.037721 -2.80775)', '2026-06-26 11:24:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037637 -2.8077)'), GeomFromEWKT('SRID=4674;POINT (-40.037721 -2.80775)'))) / (select extract(epoch from '2026-06-26 11:24:27'::timestamp) - extract(epoch from '2026-06-26 11:24:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037637 -2.8077)'), GeomFromEWKT('SRID=4674;POINT (-40.037721 -2.80775)'))) / (select extract(epoch from '2026-06-26 11:24:27'::timestamp) - extract(epoch from '2026-06-26 11:24: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'), 46941, 'SRID=4674;POINT (-40.037885 -2.807807)', '2026-06-26 11:24:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037721 -2.80775)'), GeomFromEWKT('SRID=4674;POINT (-40.037885 -2.807807)'))) / (select extract(epoch from '2026-06-26 11:24:35'::timestamp) - extract(epoch from '2026-06-26 11:24:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037721 -2.80775)'), GeomFromEWKT('SRID=4674;POINT (-40.037885 -2.807807)'))) / (select extract(epoch from '2026-06-26 11:24:35'::timestamp) - extract(epoch from '2026-06-26 11: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'), 46941, 'SRID=4674;POINT (-40.038037 -2.80782)', '2026-06-26 11:24:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037885 -2.807807)'), GeomFromEWKT('SRID=4674;POINT (-40.038037 -2.80782)'))) / (select extract(epoch from '2026-06-26 11:24:42'::timestamp) - extract(epoch from '2026-06-26 11:24:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037885 -2.807807)'), GeomFromEWKT('SRID=4674;POINT (-40.038037 -2.80782)'))) / (select extract(epoch from '2026-06-26 11:24:42'::timestamp) - extract(epoch from '2026-06-26 11:24: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'), 46941, 'SRID=4674;POINT (-40.038156 -2.807844)', '2026-06-26 11:24:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038037 -2.80782)'), GeomFromEWKT('SRID=4674;POINT (-40.038156 -2.807844)'))) / (select extract(epoch from '2026-06-26 11:24:48'::timestamp) - extract(epoch from '2026-06-26 11:24:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038037 -2.80782)'), GeomFromEWKT('SRID=4674;POINT (-40.038156 -2.807844)'))) / (select extract(epoch from '2026-06-26 11:24:48'::timestamp) - extract(epoch from '2026-06-26 11: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'), 46941, 'SRID=4674;POINT (-40.03827 -2.807895)', '2026-06-26 11:24:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038156 -2.807844)'), GeomFromEWKT('SRID=4674;POINT (-40.03827 -2.807895)'))) / (select extract(epoch from '2026-06-26 11:24:54'::timestamp) - extract(epoch from '2026-06-26 11:24:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038156 -2.807844)'), GeomFromEWKT('SRID=4674;POINT (-40.03827 -2.807895)'))) / (select extract(epoch from '2026-06-26 11:24:54'::timestamp) - extract(epoch from '2026-06-26 11:24:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.038383 -2.80794)', '2026-06-26 11:25:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03827 -2.807895)'), GeomFromEWKT('SRID=4674;POINT (-40.038383 -2.80794)'))) / (select extract(epoch from '2026-06-26 11:25:00'::timestamp) - extract(epoch from '2026-06-26 11:24:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03827 -2.807895)'), GeomFromEWKT('SRID=4674;POINT (-40.038383 -2.80794)'))) / (select extract(epoch from '2026-06-26 11:25:00'::timestamp) - extract(epoch from '2026-06-26 11:24: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'), 46941, 'SRID=4674;POINT (-40.038495 -2.807982)', '2026-06-26 11:25:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038383 -2.80794)'), GeomFromEWKT('SRID=4674;POINT (-40.038495 -2.807982)'))) / (select extract(epoch from '2026-06-26 11:25:06'::timestamp) - extract(epoch from '2026-06-26 11:25:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038383 -2.80794)'), GeomFromEWKT('SRID=4674;POINT (-40.038495 -2.807982)'))) / (select extract(epoch from '2026-06-26 11:25:06'::timestamp) - extract(epoch from '2026-06-26 11:25: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'), 46941, 'SRID=4674;POINT (-40.03859 -2.808021)', '2026-06-26 11:25:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038495 -2.807982)'), GeomFromEWKT('SRID=4674;POINT (-40.03859 -2.808021)'))) / (select extract(epoch from '2026-06-26 11:25:11'::timestamp) - extract(epoch from '2026-06-26 11:25:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038495 -2.807982)'), GeomFromEWKT('SRID=4674;POINT (-40.03859 -2.808021)'))) / (select extract(epoch from '2026-06-26 11:25:11'::timestamp) - extract(epoch from '2026-06-26 11:25: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'), 46941, 'SRID=4674;POINT (-40.038722 -2.80804)', '2026-06-26 11:25:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03859 -2.808021)'), GeomFromEWKT('SRID=4674;POINT (-40.038722 -2.80804)'))) / (select extract(epoch from '2026-06-26 11:25:18'::timestamp) - extract(epoch from '2026-06-26 11:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03859 -2.808021)'), GeomFromEWKT('SRID=4674;POINT (-40.038722 -2.80804)'))) / (select extract(epoch from '2026-06-26 11:25:18'::timestamp) - extract(epoch from '2026-06-26 11:25:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.038838 -2.808043)', '2026-06-26 11:25:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038722 -2.80804)'), GeomFromEWKT('SRID=4674;POINT (-40.038838 -2.808043)'))) / (select extract(epoch from '2026-06-26 11:25:24'::timestamp) - extract(epoch from '2026-06-26 11:25:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038722 -2.80804)'), GeomFromEWKT('SRID=4674;POINT (-40.038838 -2.808043)'))) / (select extract(epoch from '2026-06-26 11:25:24'::timestamp) - extract(epoch from '2026-06-26 11:25: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'), 46941, 'SRID=4674;POINT (-40.038967 -2.808066)', '2026-06-26 11:25:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038838 -2.808043)'), GeomFromEWKT('SRID=4674;POINT (-40.038967 -2.808066)'))) / (select extract(epoch from '2026-06-26 11:25:30'::timestamp) - extract(epoch from '2026-06-26 11:25:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038838 -2.808043)'), GeomFromEWKT('SRID=4674;POINT (-40.038967 -2.808066)'))) / (select extract(epoch from '2026-06-26 11:25:30'::timestamp) - extract(epoch from '2026-06-26 11:25: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'), 46941, 'SRID=4674;POINT (-40.039109 -2.808106)', '2026-06-26 11:25:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038967 -2.808066)'), GeomFromEWKT('SRID=4674;POINT (-40.039109 -2.808106)'))) / (select extract(epoch from '2026-06-26 11:25:37'::timestamp) - extract(epoch from '2026-06-26 11:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038967 -2.808066)'), GeomFromEWKT('SRID=4674;POINT (-40.039109 -2.808106)'))) / (select extract(epoch from '2026-06-26 11:25:37'::timestamp) - extract(epoch from '2026-06-26 11: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'), 46941, 'SRID=4674;POINT (-40.039234 -2.808118)', '2026-06-26 11:25:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039109 -2.808106)'), GeomFromEWKT('SRID=4674;POINT (-40.039234 -2.808118)'))) / (select extract(epoch from '2026-06-26 11:25:43'::timestamp) - extract(epoch from '2026-06-26 11:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039109 -2.808106)'), GeomFromEWKT('SRID=4674;POINT (-40.039234 -2.808118)'))) / (select extract(epoch from '2026-06-26 11:25:43'::timestamp) - extract(epoch from '2026-06-26 11: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'), 46941, 'SRID=4674;POINT (-40.039375 -2.808139)', '2026-06-26 11:25:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039234 -2.808118)'), GeomFromEWKT('SRID=4674;POINT (-40.039375 -2.808139)'))) / (select extract(epoch from '2026-06-26 11:25:50'::timestamp) - extract(epoch from '2026-06-26 11:25:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039234 -2.808118)'), GeomFromEWKT('SRID=4674;POINT (-40.039375 -2.808139)'))) / (select extract(epoch from '2026-06-26 11:25:50'::timestamp) - extract(epoch from '2026-06-26 11:25: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'), 46941, 'SRID=4674;POINT (-40.039548 -2.808169)', '2026-06-26 11:25:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039375 -2.808139)'), GeomFromEWKT('SRID=4674;POINT (-40.039548 -2.808169)'))) / (select extract(epoch from '2026-06-26 11:25:58'::timestamp) - extract(epoch from '2026-06-26 11:25:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039375 -2.808139)'), GeomFromEWKT('SRID=4674;POINT (-40.039548 -2.808169)'))) / (select extract(epoch from '2026-06-26 11:25:58'::timestamp) - extract(epoch from '2026-06-26 11:25: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'), 46941, 'SRID=4674;POINT (-40.039674 -2.808194)', '2026-06-26 11:26:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039548 -2.808169)'), GeomFromEWKT('SRID=4674;POINT (-40.039674 -2.808194)'))) / (select extract(epoch from '2026-06-26 11:26:04'::timestamp) - extract(epoch from '2026-06-26 11:25:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039548 -2.808169)'), GeomFromEWKT('SRID=4674;POINT (-40.039674 -2.808194)'))) / (select extract(epoch from '2026-06-26 11:26:04'::timestamp) - extract(epoch from '2026-06-26 11:25: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'), 46941, 'SRID=4674;POINT (-40.039821 -2.808201)', '2026-06-26 11:26:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039674 -2.808194)'), GeomFromEWKT('SRID=4674;POINT (-40.039821 -2.808201)'))) / (select extract(epoch from '2026-06-26 11:26:11'::timestamp) - extract(epoch from '2026-06-26 11:26:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039674 -2.808194)'), GeomFromEWKT('SRID=4674;POINT (-40.039821 -2.808201)'))) / (select extract(epoch from '2026-06-26 11:26:11'::timestamp) - extract(epoch from '2026-06-26 11:26:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.039942 -2.808187)', '2026-06-26 11:26:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039821 -2.808201)'), GeomFromEWKT('SRID=4674;POINT (-40.039942 -2.808187)'))) / (select extract(epoch from '2026-06-26 11:26:17'::timestamp) - extract(epoch from '2026-06-26 11:26:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039821 -2.808201)'), GeomFromEWKT('SRID=4674;POINT (-40.039942 -2.808187)'))) / (select extract(epoch from '2026-06-26 11:26:17'::timestamp) - extract(epoch from '2026-06-26 11:26: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'), 46941, 'SRID=4674;POINT (-40.040083 -2.808169)', '2026-06-26 11:26:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039942 -2.808187)'), GeomFromEWKT('SRID=4674;POINT (-40.040083 -2.808169)'))) / (select extract(epoch from '2026-06-26 11:26:24'::timestamp) - extract(epoch from '2026-06-26 11:26:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039942 -2.808187)'), GeomFromEWKT('SRID=4674;POINT (-40.040083 -2.808169)'))) / (select extract(epoch from '2026-06-26 11:26:24'::timestamp) - extract(epoch from '2026-06-26 11:26: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'), 46941, 'SRID=4674;POINT (-40.040207 -2.808177)', '2026-06-26 11:26:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040083 -2.808169)'), GeomFromEWKT('SRID=4674;POINT (-40.040207 -2.808177)'))) / (select extract(epoch from '2026-06-26 11:26:30'::timestamp) - extract(epoch from '2026-06-26 11:26:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040083 -2.808169)'), GeomFromEWKT('SRID=4674;POINT (-40.040207 -2.808177)'))) / (select extract(epoch from '2026-06-26 11:26:30'::timestamp) - extract(epoch from '2026-06-26 11:26: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'), 46941, 'SRID=4674;POINT (-40.040327 -2.808206)', '2026-06-26 11:26:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040207 -2.808177)'), GeomFromEWKT('SRID=4674;POINT (-40.040327 -2.808206)'))) / (select extract(epoch from '2026-06-26 11:26:36'::timestamp) - extract(epoch from '2026-06-26 11:26:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040207 -2.808177)'), GeomFromEWKT('SRID=4674;POINT (-40.040327 -2.808206)'))) / (select extract(epoch from '2026-06-26 11:26:36'::timestamp) - extract(epoch from '2026-06-26 11:26: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'), 46941, 'SRID=4674;POINT (-40.040482 -2.808253)', '2026-06-26 11:26:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040327 -2.808206)'), GeomFromEWKT('SRID=4674;POINT (-40.040482 -2.808253)'))) / (select extract(epoch from '2026-06-26 11:26:44'::timestamp) - extract(epoch from '2026-06-26 11:26:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040327 -2.808206)'), GeomFromEWKT('SRID=4674;POINT (-40.040482 -2.808253)'))) / (select extract(epoch from '2026-06-26 11:26:44'::timestamp) - extract(epoch from '2026-06-26 11:26: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'), 46941, 'SRID=4674;POINT (-40.040632 -2.8083)', '2026-06-26 11:26:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040482 -2.808253)'), GeomFromEWKT('SRID=4674;POINT (-40.040632 -2.8083)'))) / (select extract(epoch from '2026-06-26 11:26:51'::timestamp) - extract(epoch from '2026-06-26 11:26:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040482 -2.808253)'), GeomFromEWKT('SRID=4674;POINT (-40.040632 -2.8083)'))) / (select extract(epoch from '2026-06-26 11:26:51'::timestamp) - extract(epoch from '2026-06-26 11:26: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'), 46941, 'SRID=4674;POINT (-40.040798 -2.808309)', '2026-06-26 11:26:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040632 -2.8083)'), GeomFromEWKT('SRID=4674;POINT (-40.040798 -2.808309)'))) / (select extract(epoch from '2026-06-26 11:26:59'::timestamp) - extract(epoch from '2026-06-26 11:26:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040632 -2.8083)'), GeomFromEWKT('SRID=4674;POINT (-40.040798 -2.808309)'))) / (select extract(epoch from '2026-06-26 11:26:59'::timestamp) - extract(epoch from '2026-06-26 11:26: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'), 46941, 'SRID=4674;POINT (-40.040954 -2.808323)', '2026-06-26 11:27:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040798 -2.808309)'), GeomFromEWKT('SRID=4674;POINT (-40.040954 -2.808323)'))) / (select extract(epoch from '2026-06-26 11:27:07'::timestamp) - extract(epoch from '2026-06-26 11:26:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040798 -2.808309)'), GeomFromEWKT('SRID=4674;POINT (-40.040954 -2.808323)'))) / (select extract(epoch from '2026-06-26 11:27:07'::timestamp) - extract(epoch from '2026-06-26 11:26: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'), 46941, 'SRID=4674;POINT (-40.041115 -2.808364)', '2026-06-26 11:27:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040954 -2.808323)'), GeomFromEWKT('SRID=4674;POINT (-40.041115 -2.808364)'))) / (select extract(epoch from '2026-06-26 11:27:15'::timestamp) - extract(epoch from '2026-06-26 11:27:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040954 -2.808323)'), GeomFromEWKT('SRID=4674;POINT (-40.041115 -2.808364)'))) / (select extract(epoch from '2026-06-26 11:27:15'::timestamp) - extract(epoch from '2026-06-26 11:27: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'), 46941, 'SRID=4674;POINT (-40.041259 -2.808355)', '2026-06-26 11:27:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041115 -2.808364)'), GeomFromEWKT('SRID=4674;POINT (-40.041259 -2.808355)'))) / (select extract(epoch from '2026-06-26 11:27:22'::timestamp) - extract(epoch from '2026-06-26 11:27:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041115 -2.808364)'), GeomFromEWKT('SRID=4674;POINT (-40.041259 -2.808355)'))) / (select extract(epoch from '2026-06-26 11:27:22'::timestamp) - extract(epoch from '2026-06-26 11:27:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.041405 -2.808318)', '2026-06-26 11:27:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041259 -2.808355)'), GeomFromEWKT('SRID=4674;POINT (-40.041405 -2.808318)'))) / (select extract(epoch from '2026-06-26 11:27:29'::timestamp) - extract(epoch from '2026-06-26 11:27:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041259 -2.808355)'), GeomFromEWKT('SRID=4674;POINT (-40.041405 -2.808318)'))) / (select extract(epoch from '2026-06-26 11:27:29'::timestamp) - extract(epoch from '2026-06-26 11:27: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'), 46941, 'SRID=4674;POINT (-40.041546 -2.808301)', '2026-06-26 11:27:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041405 -2.808318)'), GeomFromEWKT('SRID=4674;POINT (-40.041546 -2.808301)'))) / (select extract(epoch from '2026-06-26 11:27:36'::timestamp) - extract(epoch from '2026-06-26 11:27:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041405 -2.808318)'), GeomFromEWKT('SRID=4674;POINT (-40.041546 -2.808301)'))) / (select extract(epoch from '2026-06-26 11:27:36'::timestamp) - extract(epoch from '2026-06-26 11:27: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'), 46941, 'SRID=4674;POINT (-40.041676 -2.80828)', '2026-06-26 11:27:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041546 -2.808301)'), GeomFromEWKT('SRID=4674;POINT (-40.041676 -2.80828)'))) / (select extract(epoch from '2026-06-26 11:27:43'::timestamp) - extract(epoch from '2026-06-26 11:27:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041546 -2.808301)'), GeomFromEWKT('SRID=4674;POINT (-40.041676 -2.80828)'))) / (select extract(epoch from '2026-06-26 11:27:43'::timestamp) - extract(epoch from '2026-06-26 11:27: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'), 46941, 'SRID=4674;POINT (-40.041732 -2.808288)', '2026-06-26 11:27:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041676 -2.80828)'), GeomFromEWKT('SRID=4674;POINT (-40.041732 -2.808288)'))) / (select extract(epoch from '2026-06-26 11:27:49'::timestamp) - extract(epoch from '2026-06-26 11:27:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041676 -2.80828)'), GeomFromEWKT('SRID=4674;POINT (-40.041732 -2.808288)'))) / (select extract(epoch from '2026-06-26 11:27:49'::timestamp) - extract(epoch from '2026-06-26 11:27:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.041783 -2.8083)', '2026-06-26 11:28:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041732 -2.808288)'), GeomFromEWKT('SRID=4674;POINT (-40.041783 -2.8083)'))) / (select extract(epoch from '2026-06-26 11:28:01'::timestamp) - extract(epoch from '2026-06-26 11:27:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041732 -2.808288)'), GeomFromEWKT('SRID=4674;POINT (-40.041783 -2.8083)'))) / (select extract(epoch from '2026-06-26 11:28:01'::timestamp) - extract(epoch from '2026-06-26 11:27: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'), 46941, 'SRID=4674;POINT (-40.041832 -2.808301)', '2026-06-26 11:28:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041783 -2.8083)'), GeomFromEWKT('SRID=4674;POINT (-40.041832 -2.808301)'))) / (select extract(epoch from '2026-06-26 11:28:13'::timestamp) - extract(epoch from '2026-06-26 11:28:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041783 -2.8083)'), GeomFromEWKT('SRID=4674;POINT (-40.041832 -2.808301)'))) / (select extract(epoch from '2026-06-26 11:28:13'::timestamp) - extract(epoch from '2026-06-26 11:28:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.041883 -2.808299)', '2026-06-26 11:28:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041832 -2.808301)'), GeomFromEWKT('SRID=4674;POINT (-40.041883 -2.808299)'))) / (select extract(epoch from '2026-06-26 11:28:24'::timestamp) - extract(epoch from '2026-06-26 11:28:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041832 -2.808301)'), GeomFromEWKT('SRID=4674;POINT (-40.041883 -2.808299)'))) / (select extract(epoch from '2026-06-26 11:28:24'::timestamp) - extract(epoch from '2026-06-26 11:28: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'), 46941, 'SRID=4674;POINT (-40.041916 -2.808316)', '2026-06-26 11:28:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041883 -2.808299)'), GeomFromEWKT('SRID=4674;POINT (-40.041916 -2.808316)'))) / (select extract(epoch from '2026-06-26 11:28:29'::timestamp) - extract(epoch from '2026-06-26 11:28:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041883 -2.808299)'), GeomFromEWKT('SRID=4674;POINT (-40.041916 -2.808316)'))) / (select extract(epoch from '2026-06-26 11:28:29'::timestamp) - extract(epoch from '2026-06-26 11:28: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'), 46941, 'SRID=4674;POINT (-40.04193 -2.808333)', '2026-06-26 11:28:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041916 -2.808316)'), GeomFromEWKT('SRID=4674;POINT (-40.04193 -2.808333)'))) / (select extract(epoch from '2026-06-26 11:28:31'::timestamp) - extract(epoch from '2026-06-26 11:28:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041916 -2.808316)'), GeomFromEWKT('SRID=4674;POINT (-40.04193 -2.808333)'))) / (select extract(epoch from '2026-06-26 11:28:31'::timestamp) - extract(epoch from '2026-06-26 11:28: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'), 46941, 'SRID=4674;POINT (-40.041935 -2.808345)', '2026-06-26 11:28:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04193 -2.808333)'), GeomFromEWKT('SRID=4674;POINT (-40.041935 -2.808345)'))) / (select extract(epoch from '2026-06-26 11:28:32'::timestamp) - extract(epoch from '2026-06-26 11:28:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04193 -2.808333)'), GeomFromEWKT('SRID=4674;POINT (-40.041935 -2.808345)'))) / (select extract(epoch from '2026-06-26 11:28:32'::timestamp) - extract(epoch from '2026-06-26 11:28:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.041937 -2.808409)', '2026-06-26 11:28:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041935 -2.808345)'), GeomFromEWKT('SRID=4674;POINT (-40.041937 -2.808409)'))) / (select extract(epoch from '2026-06-26 11:28:38'::timestamp) - extract(epoch from '2026-06-26 11:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041935 -2.808345)'), GeomFromEWKT('SRID=4674;POINT (-40.041937 -2.808409)'))) / (select extract(epoch from '2026-06-26 11:28:38'::timestamp) - extract(epoch from '2026-06-26 11: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'), 46941, 'SRID=4674;POINT (-40.04193 -2.808414)', '2026-06-26 11:28:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041937 -2.808409)'), GeomFromEWKT('SRID=4674;POINT (-40.04193 -2.808414)'))) / (select extract(epoch from '2026-06-26 11:28:39'::timestamp) - extract(epoch from '2026-06-26 11:28:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041937 -2.808409)'), GeomFromEWKT('SRID=4674;POINT (-40.04193 -2.808414)'))) / (select extract(epoch from '2026-06-26 11:28:39'::timestamp) - extract(epoch from '2026-06-26 11:28:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.041833 -2.808425)', '2026-06-26 11:28:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04193 -2.808414)'), GeomFromEWKT('SRID=4674;POINT (-40.041833 -2.808425)'))) / (select extract(epoch from '2026-06-26 11:28:49'::timestamp) - extract(epoch from '2026-06-26 11:28:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04193 -2.808414)'), GeomFromEWKT('SRID=4674;POINT (-40.041833 -2.808425)'))) / (select extract(epoch from '2026-06-26 11:28:49'::timestamp) - extract(epoch from '2026-06-26 11: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'), 46941, 'SRID=4674;POINT (-40.041753 -2.80841)', '2026-06-26 11:28:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041833 -2.808425)'), GeomFromEWKT('SRID=4674;POINT (-40.041753 -2.80841)'))) / (select extract(epoch from '2026-06-26 11:28:56'::timestamp) - extract(epoch from '2026-06-26 11:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041833 -2.808425)'), GeomFromEWKT('SRID=4674;POINT (-40.041753 -2.80841)'))) / (select extract(epoch from '2026-06-26 11:28:56'::timestamp) - extract(epoch from '2026-06-26 11:28: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'), 46941, 'SRID=4674;POINT (-40.041683 -2.808382)', '2026-06-26 11:29:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041753 -2.80841)'), GeomFromEWKT('SRID=4674;POINT (-40.041683 -2.808382)'))) / (select extract(epoch from '2026-06-26 11:29:02'::timestamp) - extract(epoch from '2026-06-26 11:28:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041753 -2.80841)'), GeomFromEWKT('SRID=4674;POINT (-40.041683 -2.808382)'))) / (select extract(epoch from '2026-06-26 11:29:02'::timestamp) - extract(epoch from '2026-06-26 11:28: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'), 46941, 'SRID=4674;POINT (-40.041599 -2.808334)', '2026-06-26 11:29:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041683 -2.808382)'), GeomFromEWKT('SRID=4674;POINT (-40.041599 -2.808334)'))) / (select extract(epoch from '2026-06-26 11:29:10'::timestamp) - extract(epoch from '2026-06-26 11:29:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041683 -2.808382)'), GeomFromEWKT('SRID=4674;POINT (-40.041599 -2.808334)'))) / (select extract(epoch from '2026-06-26 11:29:10'::timestamp) - extract(epoch from '2026-06-26 11:29: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'), 46941, 'SRID=4674;POINT (-40.041538 -2.808274)', '2026-06-26 11:29:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041599 -2.808334)'), GeomFromEWKT('SRID=4674;POINT (-40.041538 -2.808274)'))) / (select extract(epoch from '2026-06-26 11:29:17'::timestamp) - extract(epoch from '2026-06-26 11:29:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041599 -2.808334)'), GeomFromEWKT('SRID=4674;POINT (-40.041538 -2.808274)'))) / (select extract(epoch from '2026-06-26 11:29:17'::timestamp) - extract(epoch from '2026-06-26 11:29:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.041531 -2.808245)', '2026-06-26 11:29:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041538 -2.808274)'), GeomFromEWKT('SRID=4674;POINT (-40.041531 -2.808245)'))) / (select extract(epoch from '2026-06-26 11:29:27'::timestamp) - extract(epoch from '2026-06-26 11:29:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041538 -2.808274)'), GeomFromEWKT('SRID=4674;POINT (-40.041531 -2.808245)'))) / (select extract(epoch from '2026-06-26 11:29:27'::timestamp) - extract(epoch from '2026-06-26 11:29:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.041542 -2.808242)', '2026-06-26 11:29:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041531 -2.808245)'), GeomFromEWKT('SRID=4674;POINT (-40.041542 -2.808242)'))) / (select extract(epoch from '2026-06-26 11:29:32'::timestamp) - extract(epoch from '2026-06-26 11:29:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041531 -2.808245)'), GeomFromEWKT('SRID=4674;POINT (-40.041542 -2.808242)'))) / (select extract(epoch from '2026-06-26 11:29:32'::timestamp) - extract(epoch from '2026-06-26 11:29: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'), 46941, 'SRID=4674;POINT (-40.041582 -2.808233)', '2026-06-26 11:29:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041542 -2.808242)'), GeomFromEWKT('SRID=4674;POINT (-40.041582 -2.808233)'))) / (select extract(epoch from '2026-06-26 11:29:42'::timestamp) - extract(epoch from '2026-06-26 11:29:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041542 -2.808242)'), GeomFromEWKT('SRID=4674;POINT (-40.041582 -2.808233)'))) / (select extract(epoch from '2026-06-26 11:29:42'::timestamp) - extract(epoch from '2026-06-26 11:29: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'), 46941, 'SRID=4674;POINT (-40.041698 -2.808247)', '2026-06-26 11:30:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041582 -2.808233)'), GeomFromEWKT('SRID=4674;POINT (-40.041698 -2.808247)'))) / (select extract(epoch from '2026-06-26 11:30:07'::timestamp) - extract(epoch from '2026-06-26 11:29:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041582 -2.808233)'), GeomFromEWKT('SRID=4674;POINT (-40.041698 -2.808247)'))) / (select extract(epoch from '2026-06-26 11:30:07'::timestamp) - extract(epoch from '2026-06-26 11:29:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.041724 -2.808233)', '2026-06-26 11:30:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041698 -2.808247)'), GeomFromEWKT('SRID=4674;POINT (-40.041724 -2.808233)'))) / (select extract(epoch from '2026-06-26 11:30:18'::timestamp) - extract(epoch from '2026-06-26 11:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041698 -2.808247)'), GeomFromEWKT('SRID=4674;POINT (-40.041724 -2.808233)'))) / (select extract(epoch from '2026-06-26 11:30:18'::timestamp) - extract(epoch from '2026-06-26 11:30: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'), 46941, 'SRID=4674;POINT (-40.041721 -2.808242)', '2026-06-26 11:30:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041724 -2.808233)'), GeomFromEWKT('SRID=4674;POINT (-40.041721 -2.808242)'))) / (select extract(epoch from '2026-06-26 11:30:30'::timestamp) - extract(epoch from '2026-06-26 11:30:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041724 -2.808233)'), GeomFromEWKT('SRID=4674;POINT (-40.041721 -2.808242)'))) / (select extract(epoch from '2026-06-26 11:30:30'::timestamp) - extract(epoch from '2026-06-26 11:30: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'), 46941, 'SRID=4674;POINT (-40.041721 -2.808255)', '2026-06-26 11:30:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041721 -2.808242)'), GeomFromEWKT('SRID=4674;POINT (-40.041721 -2.808255)'))) / (select extract(epoch from '2026-06-26 11:30:42'::timestamp) - extract(epoch from '2026-06-26 11:30:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041721 -2.808242)'), GeomFromEWKT('SRID=4674;POINT (-40.041721 -2.808255)'))) / (select extract(epoch from '2026-06-26 11:30:42'::timestamp) - extract(epoch from '2026-06-26 11:30: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'), 46941, 'SRID=4674;POINT (-40.041721 -2.808266)', '2026-06-26 11:30:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041721 -2.808255)'), GeomFromEWKT('SRID=4674;POINT (-40.041721 -2.808266)'))) / (select extract(epoch from '2026-06-26 11:30:51'::timestamp) - extract(epoch from '2026-06-26 11:30:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041721 -2.808255)'), GeomFromEWKT('SRID=4674;POINT (-40.041721 -2.808266)'))) / (select extract(epoch from '2026-06-26 11:30:51'::timestamp) - extract(epoch from '2026-06-26 11: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'), 46941, 'SRID=4674;POINT (-40.041721 -2.808272)', '2026-06-26 11:31:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041721 -2.808266)'), GeomFromEWKT('SRID=4674;POINT (-40.041721 -2.808272)'))) / (select extract(epoch from '2026-06-26 11:31:01'::timestamp) - extract(epoch from '2026-06-26 11:30:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041721 -2.808266)'), GeomFromEWKT('SRID=4674;POINT (-40.041721 -2.808272)'))) / (select extract(epoch from '2026-06-26 11:31:01'::timestamp) - extract(epoch from '2026-06-26 11:30: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'), 46941, 'SRID=4674;POINT (-40.041721 -2.808276)', '2026-06-26 11:31:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041721 -2.808272)'), GeomFromEWKT('SRID=4674;POINT (-40.041721 -2.808276)'))) / (select extract(epoch from '2026-06-26 11:31:15'::timestamp) - extract(epoch from '2026-06-26 11:31:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041721 -2.808272)'), GeomFromEWKT('SRID=4674;POINT (-40.041721 -2.808276)'))) / (select extract(epoch from '2026-06-26 11:31:15'::timestamp) - extract(epoch from '2026-06-26 11:31: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'), 46941, 'SRID=4674;POINT (-40.041721 -2.808267)', '2026-06-26 11:31:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041721 -2.808276)'), GeomFromEWKT('SRID=4674;POINT (-40.041721 -2.808267)'))) / (select extract(epoch from '2026-06-26 11:31:34'::timestamp) - extract(epoch from '2026-06-26 11:31:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041721 -2.808276)'), GeomFromEWKT('SRID=4674;POINT (-40.041721 -2.808267)'))) / (select extract(epoch from '2026-06-26 11:31:34'::timestamp) - extract(epoch from '2026-06-26 11:31:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.041723 -2.808256)', '2026-06-26 11:31:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041721 -2.808267)'), GeomFromEWKT('SRID=4674;POINT (-40.041723 -2.808256)'))) / (select extract(epoch from '2026-06-26 11:31:46'::timestamp) - extract(epoch from '2026-06-26 11:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041721 -2.808267)'), GeomFromEWKT('SRID=4674;POINT (-40.041723 -2.808256)'))) / (select extract(epoch from '2026-06-26 11:31:46'::timestamp) - extract(epoch from '2026-06-26 11: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'), 46941, 'SRID=4674;POINT (-40.041723 -2.808248)', '2026-06-26 11:32:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041723 -2.808256)'), GeomFromEWKT('SRID=4674;POINT (-40.041723 -2.808248)'))) / (select extract(epoch from '2026-06-26 11:32:07'::timestamp) - extract(epoch from '2026-06-26 11:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041723 -2.808256)'), GeomFromEWKT('SRID=4674;POINT (-40.041723 -2.808248)'))) / (select extract(epoch from '2026-06-26 11:32:07'::timestamp) - extract(epoch from '2026-06-26 11:31: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'), 46941, 'SRID=4674;POINT (-40.041718 -2.808245)', '2026-06-26 11:32:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041723 -2.808248)'), GeomFromEWKT('SRID=4674;POINT (-40.041718 -2.808245)'))) / (select extract(epoch from '2026-06-26 11:32:24'::timestamp) - extract(epoch from '2026-06-26 11:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041723 -2.808248)'), GeomFromEWKT('SRID=4674;POINT (-40.041718 -2.808245)'))) / (select extract(epoch from '2026-06-26 11:32:24'::timestamp) - extract(epoch from '2026-06-26 11: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'), 46941, 'SRID=4674;POINT (-40.041716 -2.808247)', '2026-06-26 11:32:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041718 -2.808245)'), GeomFromEWKT('SRID=4674;POINT (-40.041716 -2.808247)'))) / (select extract(epoch from '2026-06-26 11:32:46'::timestamp) - extract(epoch from '2026-06-26 11:32:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041718 -2.808245)'), GeomFromEWKT('SRID=4674;POINT (-40.041716 -2.808247)'))) / (select extract(epoch from '2026-06-26 11:32:46'::timestamp) - extract(epoch from '2026-06-26 11:32:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.041715 -2.808264)', '2026-06-26 11:33:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041716 -2.808247)'), GeomFromEWKT('SRID=4674;POINT (-40.041715 -2.808264)'))) / (select extract(epoch from '2026-06-26 11:33:05'::timestamp) - extract(epoch from '2026-06-26 11:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041716 -2.808247)'), GeomFromEWKT('SRID=4674;POINT (-40.041715 -2.808264)'))) / (select extract(epoch from '2026-06-26 11:33:05'::timestamp) - extract(epoch from '2026-06-26 11:32: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'), 46941, 'SRID=4674;POINT (-40.041713 -2.808282)', '2026-06-26 11:33:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041715 -2.808264)'), GeomFromEWKT('SRID=4674;POINT (-40.041713 -2.808282)'))) / (select extract(epoch from '2026-06-26 11:33:20'::timestamp) - extract(epoch from '2026-06-26 11:33:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041715 -2.808264)'), GeomFromEWKT('SRID=4674;POINT (-40.041713 -2.808282)'))) / (select extract(epoch from '2026-06-26 11:33:20'::timestamp) - extract(epoch from '2026-06-26 11:33: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'), 46941, 'SRID=4674;POINT (-40.041713 -2.808252)', '2026-06-26 11:33:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041713 -2.808282)'), GeomFromEWKT('SRID=4674;POINT (-40.041713 -2.808252)'))) / (select extract(epoch from '2026-06-26 11:33:43'::timestamp) - extract(epoch from '2026-06-26 11:33:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041713 -2.808282)'), GeomFromEWKT('SRID=4674;POINT (-40.041713 -2.808252)'))) / (select extract(epoch from '2026-06-26 11:33:43'::timestamp) - extract(epoch from '2026-06-26 11:33: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'), 46941, 'SRID=4674;POINT (-40.041707 -2.808219)', '2026-06-26 11:34:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041713 -2.808252)'), GeomFromEWKT('SRID=4674;POINT (-40.041707 -2.808219)'))) / (select extract(epoch from '2026-06-26 11:34:10'::timestamp) - extract(epoch from '2026-06-26 11:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041713 -2.808252)'), GeomFromEWKT('SRID=4674;POINT (-40.041707 -2.808219)'))) / (select extract(epoch from '2026-06-26 11:34:10'::timestamp) - extract(epoch from '2026-06-26 11: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'), 46941, 'SRID=4674;POINT (-40.041708 -2.808258)', '2026-06-26 11:34:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041707 -2.808219)'), GeomFromEWKT('SRID=4674;POINT (-40.041708 -2.808258)'))) / (select extract(epoch from '2026-06-26 11:34:41'::timestamp) - extract(epoch from '2026-06-26 11:34:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041707 -2.808219)'), GeomFromEWKT('SRID=4674;POINT (-40.041708 -2.808258)'))) / (select extract(epoch from '2026-06-26 11:34:41'::timestamp) - extract(epoch from '2026-06-26 11:34: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'), 46941, 'SRID=4674;POINT (-40.041706 -2.808222)', '2026-06-26 11:35:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041708 -2.808258)'), GeomFromEWKT('SRID=4674;POINT (-40.041706 -2.808222)'))) / (select extract(epoch from '2026-06-26 11:35:02'::timestamp) - extract(epoch from '2026-06-26 11:34:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041708 -2.808258)'), GeomFromEWKT('SRID=4674;POINT (-40.041706 -2.808222)'))) / (select extract(epoch from '2026-06-26 11:35:02'::timestamp) - extract(epoch from '2026-06-26 11: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'), 46941, 'SRID=4674;POINT (-40.041709 -2.808237)', '2026-06-26 11:35:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041706 -2.808222)'), GeomFromEWKT('SRID=4674;POINT (-40.041709 -2.808237)'))) / (select extract(epoch from '2026-06-26 11:35:26'::timestamp) - extract(epoch from '2026-06-26 11:35:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041706 -2.808222)'), GeomFromEWKT('SRID=4674;POINT (-40.041709 -2.808237)'))) / (select extract(epoch from '2026-06-26 11:35:26'::timestamp) - extract(epoch from '2026-06-26 11: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'), 46941, 'SRID=4674;POINT (-40.041708 -2.808226)', '2026-06-26 11:35:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041709 -2.808237)'), GeomFromEWKT('SRID=4674;POINT (-40.041708 -2.808226)'))) / (select extract(epoch from '2026-06-26 11:35:50'::timestamp) - extract(epoch from '2026-06-26 11:35:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041709 -2.808237)'), GeomFromEWKT('SRID=4674;POINT (-40.041708 -2.808226)'))) / (select extract(epoch from '2026-06-26 11:35:50'::timestamp) - extract(epoch from '2026-06-26 11:35: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'), 46941, 'SRID=4674;POINT (-40.041711 -2.808256)', '2026-06-26 11:36:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041708 -2.808226)'), GeomFromEWKT('SRID=4674;POINT (-40.041711 -2.808256)'))) / (select extract(epoch from '2026-06-26 11:36:12'::timestamp) - extract(epoch from '2026-06-26 11:35:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041708 -2.808226)'), GeomFromEWKT('SRID=4674;POINT (-40.041711 -2.808256)'))) / (select extract(epoch from '2026-06-26 11:36:12'::timestamp) - extract(epoch from '2026-06-26 11: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'), 46941, 'SRID=4674;POINT (-40.041721 -2.80826)', '2026-06-26 11:36:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041711 -2.808256)'), GeomFromEWKT('SRID=4674;POINT (-40.041721 -2.80826)'))) / (select extract(epoch from '2026-06-26 11:36:33'::timestamp) - extract(epoch from '2026-06-26 11:36:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041711 -2.808256)'), GeomFromEWKT('SRID=4674;POINT (-40.041721 -2.80826)'))) / (select extract(epoch from '2026-06-26 11:36:33'::timestamp) - extract(epoch from '2026-06-26 11:36:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
