BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.042804 -2.839019)', '2026-06-27 07:00:56', 0, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.042758 -2.838726)', '2026-06-27 07:01:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042804 -2.839019)'), GeomFromEWKT('SRID=4674;POINT (-40.042758 -2.838726)'))) / (select extract(epoch from '2026-06-27 07:01:11'::timestamp) - extract(epoch from '2026-06-27 07:00:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042804 -2.839019)'), GeomFromEWKT('SRID=4674;POINT (-40.042758 -2.838726)'))) / (select extract(epoch from '2026-06-27 07:01:11'::timestamp) - extract(epoch from '2026-06-27 07:00:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.042643 -2.838487)', '2026-06-27 07:01:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042758 -2.838726)'), GeomFromEWKT('SRID=4674;POINT (-40.042643 -2.838487)'))) / (select extract(epoch from '2026-06-27 07:01:24'::timestamp) - extract(epoch from '2026-06-27 07:01:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042758 -2.838726)'), GeomFromEWKT('SRID=4674;POINT (-40.042643 -2.838487)'))) / (select extract(epoch from '2026-06-27 07:01:24'::timestamp) - extract(epoch from '2026-06-27 07:01:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.042401 -2.838235)', '2026-06-27 07:01:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042643 -2.838487)'), GeomFromEWKT('SRID=4674;POINT (-40.042401 -2.838235)'))) / (select extract(epoch from '2026-06-27 07:01:40'::timestamp) - extract(epoch from '2026-06-27 07:01:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042643 -2.838487)'), GeomFromEWKT('SRID=4674;POINT (-40.042401 -2.838235)'))) / (select extract(epoch from '2026-06-27 07:01:40'::timestamp) - extract(epoch from '2026-06-27 07:01: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'), 46942, 'SRID=4674;POINT (-40.042125 -2.837961)', '2026-06-27 07:01:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042401 -2.838235)'), GeomFromEWKT('SRID=4674;POINT (-40.042125 -2.837961)'))) / (select extract(epoch from '2026-06-27 07:01:57'::timestamp) - extract(epoch from '2026-06-27 07:01:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042401 -2.838235)'), GeomFromEWKT('SRID=4674;POINT (-40.042125 -2.837961)'))) / (select extract(epoch from '2026-06-27 07:01:57'::timestamp) - extract(epoch from '2026-06-27 07:01: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'), 46942, 'SRID=4674;POINT (-40.041873 -2.837681)', '2026-06-27 07:02:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042125 -2.837961)'), GeomFromEWKT('SRID=4674;POINT (-40.041873 -2.837681)'))) / (select extract(epoch from '2026-06-27 07:02:13'::timestamp) - extract(epoch from '2026-06-27 07:01:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042125 -2.837961)'), GeomFromEWKT('SRID=4674;POINT (-40.041873 -2.837681)'))) / (select extract(epoch from '2026-06-27 07:02:13'::timestamp) - extract(epoch from '2026-06-27 07:01:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.041606 -2.837414)', '2026-06-27 07:02:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041873 -2.837681)'), GeomFromEWKT('SRID=4674;POINT (-40.041606 -2.837414)'))) / (select extract(epoch from '2026-06-27 07:02:29'::timestamp) - extract(epoch from '2026-06-27 07:02:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041873 -2.837681)'), GeomFromEWKT('SRID=4674;POINT (-40.041606 -2.837414)'))) / (select extract(epoch from '2026-06-27 07:02:29'::timestamp) - extract(epoch from '2026-06-27 07:02:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.041355 -2.837129)', '2026-06-27 07:02:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041606 -2.837414)'), GeomFromEWKT('SRID=4674;POINT (-40.041355 -2.837129)'))) / (select extract(epoch from '2026-06-27 07:02:45'::timestamp) - extract(epoch from '2026-06-27 07:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041606 -2.837414)'), GeomFromEWKT('SRID=4674;POINT (-40.041355 -2.837129)'))) / (select extract(epoch from '2026-06-27 07:02:45'::timestamp) - extract(epoch from '2026-06-27 07:02:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.041122 -2.836779)', '2026-06-27 07:03:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041355 -2.837129)'), GeomFromEWKT('SRID=4674;POINT (-40.041122 -2.836779)'))) / (select extract(epoch from '2026-06-27 07:03:03'::timestamp) - extract(epoch from '2026-06-27 07:02:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041355 -2.837129)'), GeomFromEWKT('SRID=4674;POINT (-40.041122 -2.836779)'))) / (select extract(epoch from '2026-06-27 07:03:03'::timestamp) - extract(epoch from '2026-06-27 07:02:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.041036 -2.836662)', '2026-06-27 07:03:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041122 -2.836779)'), GeomFromEWKT('SRID=4674;POINT (-40.041036 -2.836662)'))) / (select extract(epoch from '2026-06-27 07:03:10'::timestamp) - extract(epoch from '2026-06-27 07:03:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041122 -2.836779)'), GeomFromEWKT('SRID=4674;POINT (-40.041036 -2.836662)'))) / (select extract(epoch from '2026-06-27 07:03:10'::timestamp) - extract(epoch from '2026-06-27 07:03:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.040936 -2.83654)', '2026-06-27 07:03:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041036 -2.836662)'), GeomFromEWKT('SRID=4674;POINT (-40.040936 -2.83654)'))) / (select extract(epoch from '2026-06-27 07:03:18'::timestamp) - extract(epoch from '2026-06-27 07:03:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041036 -2.836662)'), GeomFromEWKT('SRID=4674;POINT (-40.040936 -2.83654)'))) / (select extract(epoch from '2026-06-27 07:03:18'::timestamp) - extract(epoch from '2026-06-27 07:03: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'), 46942, 'SRID=4674;POINT (-40.040843 -2.836432)', '2026-06-27 07:03:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040936 -2.83654)'), GeomFromEWKT('SRID=4674;POINT (-40.040843 -2.836432)'))) / (select extract(epoch from '2026-06-27 07:03:25'::timestamp) - extract(epoch from '2026-06-27 07:03:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040936 -2.83654)'), GeomFromEWKT('SRID=4674;POINT (-40.040843 -2.836432)'))) / (select extract(epoch from '2026-06-27 07:03:25'::timestamp) - extract(epoch from '2026-06-27 07:03:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.040657 -2.836116)', '2026-06-27 07:03:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040843 -2.836432)'), GeomFromEWKT('SRID=4674;POINT (-40.040657 -2.836116)'))) / (select extract(epoch from '2026-06-27 07:03:43'::timestamp) - extract(epoch from '2026-06-27 07:03:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040843 -2.836432)'), GeomFromEWKT('SRID=4674;POINT (-40.040657 -2.836116)'))) / (select extract(epoch from '2026-06-27 07:03:43'::timestamp) - extract(epoch from '2026-06-27 07:03:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.040491 -2.835798)', '2026-06-27 07:04:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040657 -2.836116)'), GeomFromEWKT('SRID=4674;POINT (-40.040491 -2.835798)'))) / (select extract(epoch from '2026-06-27 07:04:01'::timestamp) - extract(epoch from '2026-06-27 07:03:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040657 -2.836116)'), GeomFromEWKT('SRID=4674;POINT (-40.040491 -2.835798)'))) / (select extract(epoch from '2026-06-27 07:04:01'::timestamp) - extract(epoch from '2026-06-27 07:03: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'), 46942, 'SRID=4674;POINT (-40.040344 -2.835544)', '2026-06-27 07:04:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040491 -2.835798)'), GeomFromEWKT('SRID=4674;POINT (-40.040344 -2.835544)'))) / (select extract(epoch from '2026-06-27 07:04:15'::timestamp) - extract(epoch from '2026-06-27 07:04:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040491 -2.835798)'), GeomFromEWKT('SRID=4674;POINT (-40.040344 -2.835544)'))) / (select extract(epoch from '2026-06-27 07:04:15'::timestamp) - extract(epoch from '2026-06-27 07:04: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'), 46942, 'SRID=4674;POINT (-40.040204 -2.835272)', '2026-06-27 07:04:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040344 -2.835544)'), GeomFromEWKT('SRID=4674;POINT (-40.040204 -2.835272)'))) / (select extract(epoch from '2026-06-27 07:04:30'::timestamp) - extract(epoch from '2026-06-27 07:04:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040344 -2.835544)'), GeomFromEWKT('SRID=4674;POINT (-40.040204 -2.835272)'))) / (select extract(epoch from '2026-06-27 07:04:30'::timestamp) - extract(epoch from '2026-06-27 07:04:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.040087 -2.835032)', '2026-06-27 07:04:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040204 -2.835272)'), GeomFromEWKT('SRID=4674;POINT (-40.040087 -2.835032)'))) / (select extract(epoch from '2026-06-27 07:04:45'::timestamp) - extract(epoch from '2026-06-27 07:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040204 -2.835272)'), GeomFromEWKT('SRID=4674;POINT (-40.040087 -2.835032)'))) / (select extract(epoch from '2026-06-27 07:04:45'::timestamp) - extract(epoch from '2026-06-27 07:04: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'), 46942, 'SRID=4674;POINT (-40.039976 -2.83482)', '2026-06-27 07:04:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040087 -2.835032)'), GeomFromEWKT('SRID=4674;POINT (-40.039976 -2.83482)'))) / (select extract(epoch from '2026-06-27 07:04:57'::timestamp) - extract(epoch from '2026-06-27 07:04:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040087 -2.835032)'), GeomFromEWKT('SRID=4674;POINT (-40.039976 -2.83482)'))) / (select extract(epoch from '2026-06-27 07:04:57'::timestamp) - extract(epoch from '2026-06-27 07:04: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'), 46942, 'SRID=4674;POINT (-40.039948 -2.834555)', '2026-06-27 07:05:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039976 -2.83482)'), GeomFromEWKT('SRID=4674;POINT (-40.039948 -2.834555)'))) / (select extract(epoch from '2026-06-27 07:05:10'::timestamp) - extract(epoch from '2026-06-27 07:04:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039976 -2.83482)'), GeomFromEWKT('SRID=4674;POINT (-40.039948 -2.834555)'))) / (select extract(epoch from '2026-06-27 07:05:10'::timestamp) - extract(epoch from '2026-06-27 07:04:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.039943 -2.83433)', '2026-06-27 07:05:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039948 -2.834555)'), GeomFromEWKT('SRID=4674;POINT (-40.039943 -2.83433)'))) / (select extract(epoch from '2026-06-27 07:05:21'::timestamp) - extract(epoch from '2026-06-27 07:05:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039948 -2.834555)'), GeomFromEWKT('SRID=4674;POINT (-40.039943 -2.83433)'))) / (select extract(epoch from '2026-06-27 07:05:21'::timestamp) - extract(epoch from '2026-06-27 07: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'), 46942, 'SRID=4674;POINT (-40.039946 -2.834065)', '2026-06-27 07:05:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039943 -2.83433)'), GeomFromEWKT('SRID=4674;POINT (-40.039946 -2.834065)'))) / (select extract(epoch from '2026-06-27 07:05:33'::timestamp) - extract(epoch from '2026-06-27 07:05:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039943 -2.83433)'), GeomFromEWKT('SRID=4674;POINT (-40.039946 -2.834065)'))) / (select extract(epoch from '2026-06-27 07:05:33'::timestamp) - extract(epoch from '2026-06-27 07:05:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.039948 -2.833744)', '2026-06-27 07:05:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039946 -2.834065)'), GeomFromEWKT('SRID=4674;POINT (-40.039948 -2.833744)'))) / (select extract(epoch from '2026-06-27 07:05:47'::timestamp) - extract(epoch from '2026-06-27 07:05:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039946 -2.834065)'), GeomFromEWKT('SRID=4674;POINT (-40.039948 -2.833744)'))) / (select extract(epoch from '2026-06-27 07:05:47'::timestamp) - extract(epoch from '2026-06-27 07:05: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'), 46942, 'SRID=4674;POINT (-40.039998 -2.833283)', '2026-06-27 07:06:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039948 -2.833744)'), GeomFromEWKT('SRID=4674;POINT (-40.039998 -2.833283)'))) / (select extract(epoch from '2026-06-27 07:06:07'::timestamp) - extract(epoch from '2026-06-27 07:05:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039948 -2.833744)'), GeomFromEWKT('SRID=4674;POINT (-40.039998 -2.833283)'))) / (select extract(epoch from '2026-06-27 07:06:07'::timestamp) - extract(epoch from '2026-06-27 07:05: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'), 46942, 'SRID=4674;POINT (-40.040049 -2.83297)', '2026-06-27 07:06:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039998 -2.833283)'), GeomFromEWKT('SRID=4674;POINT (-40.040049 -2.83297)'))) / (select extract(epoch from '2026-06-27 07:06:21'::timestamp) - extract(epoch from '2026-06-27 07:06:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039998 -2.833283)'), GeomFromEWKT('SRID=4674;POINT (-40.040049 -2.83297)'))) / (select extract(epoch from '2026-06-27 07:06:21'::timestamp) - extract(epoch from '2026-06-27 07:06: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'), 46942, 'SRID=4674;POINT (-40.040112 -2.832787)', '2026-06-27 07:06:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040049 -2.83297)'), GeomFromEWKT('SRID=4674;POINT (-40.040112 -2.832787)'))) / (select extract(epoch from '2026-06-27 07:06:30'::timestamp) - extract(epoch from '2026-06-27 07:06:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040049 -2.83297)'), GeomFromEWKT('SRID=4674;POINT (-40.040112 -2.832787)'))) / (select extract(epoch from '2026-06-27 07:06:30'::timestamp) - extract(epoch from '2026-06-27 07:06:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.040191 -2.832554)', '2026-06-27 07:06:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040112 -2.832787)'), GeomFromEWKT('SRID=4674;POINT (-40.040191 -2.832554)'))) / (select extract(epoch from '2026-06-27 07:06:42'::timestamp) - extract(epoch from '2026-06-27 07:06:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040112 -2.832787)'), GeomFromEWKT('SRID=4674;POINT (-40.040191 -2.832554)'))) / (select extract(epoch from '2026-06-27 07:06:42'::timestamp) - extract(epoch from '2026-06-27 07:06:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.040283 -2.832309)', '2026-06-27 07:06:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040191 -2.832554)'), GeomFromEWKT('SRID=4674;POINT (-40.040283 -2.832309)'))) / (select extract(epoch from '2026-06-27 07:06:55'::timestamp) - extract(epoch from '2026-06-27 07:06:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040191 -2.832554)'), GeomFromEWKT('SRID=4674;POINT (-40.040283 -2.832309)'))) / (select extract(epoch from '2026-06-27 07:06:55'::timestamp) - extract(epoch from '2026-06-27 07:06:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.040424 -2.832149)', '2026-06-27 07:07:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040283 -2.832309)'), GeomFromEWKT('SRID=4674;POINT (-40.040424 -2.832149)'))) / (select extract(epoch from '2026-06-27 07:07:06'::timestamp) - extract(epoch from '2026-06-27 07:06:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040283 -2.832309)'), GeomFromEWKT('SRID=4674;POINT (-40.040424 -2.832149)'))) / (select extract(epoch from '2026-06-27 07:07:06'::timestamp) - extract(epoch from '2026-06-27 07:06:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.040539 -2.831983)', '2026-06-27 07:07:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040424 -2.832149)'), GeomFromEWKT('SRID=4674;POINT (-40.040539 -2.831983)'))) / (select extract(epoch from '2026-06-27 07:07:16'::timestamp) - extract(epoch from '2026-06-27 07:07:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040424 -2.832149)'), GeomFromEWKT('SRID=4674;POINT (-40.040539 -2.831983)'))) / (select extract(epoch from '2026-06-27 07:07:16'::timestamp) - extract(epoch from '2026-06-27 07:07:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.04067 -2.831691)', '2026-06-27 07:07:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040539 -2.831983)'), GeomFromEWKT('SRID=4674;POINT (-40.04067 -2.831691)'))) / (select extract(epoch from '2026-06-27 07:07:30'::timestamp) - extract(epoch from '2026-06-27 07:07:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040539 -2.831983)'), GeomFromEWKT('SRID=4674;POINT (-40.04067 -2.831691)'))) / (select extract(epoch from '2026-06-27 07:07:30'::timestamp) - extract(epoch from '2026-06-27 07:07:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.040867 -2.831428)', '2026-06-27 07:07:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04067 -2.831691)'), GeomFromEWKT('SRID=4674;POINT (-40.040867 -2.831428)'))) / (select extract(epoch from '2026-06-27 07:07:44'::timestamp) - extract(epoch from '2026-06-27 07:07:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04067 -2.831691)'), GeomFromEWKT('SRID=4674;POINT (-40.040867 -2.831428)'))) / (select extract(epoch from '2026-06-27 07:07:44'::timestamp) - extract(epoch from '2026-06-27 07:07: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'), 46942, 'SRID=4674;POINT (-40.041167 -2.83118)', '2026-06-27 07:08:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040867 -2.831428)'), GeomFromEWKT('SRID=4674;POINT (-40.041167 -2.83118)'))) / (select extract(epoch from '2026-06-27 07:08:01'::timestamp) - extract(epoch from '2026-06-27 07:07:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040867 -2.831428)'), GeomFromEWKT('SRID=4674;POINT (-40.041167 -2.83118)'))) / (select extract(epoch from '2026-06-27 07:08:01'::timestamp) - extract(epoch from '2026-06-27 07:07:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.041415 -2.830963)', '2026-06-27 07:08:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041167 -2.83118)'), GeomFromEWKT('SRID=4674;POINT (-40.041415 -2.830963)'))) / (select extract(epoch from '2026-06-27 07:08:16'::timestamp) - extract(epoch from '2026-06-27 07:08:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041167 -2.83118)'), GeomFromEWKT('SRID=4674;POINT (-40.041415 -2.830963)'))) / (select extract(epoch from '2026-06-27 07:08:16'::timestamp) - extract(epoch from '2026-06-27 07:08: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'), 46942, 'SRID=4674;POINT (-40.041723 -2.830717)', '2026-06-27 07:08:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041415 -2.830963)'), GeomFromEWKT('SRID=4674;POINT (-40.041723 -2.830717)'))) / (select extract(epoch from '2026-06-27 07:08:34'::timestamp) - extract(epoch from '2026-06-27 07:08:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041415 -2.830963)'), GeomFromEWKT('SRID=4674;POINT (-40.041723 -2.830717)'))) / (select extract(epoch from '2026-06-27 07:08:34'::timestamp) - extract(epoch from '2026-06-27 07:08:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.041963 -2.830546)', '2026-06-27 07:08:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041723 -2.830717)'), GeomFromEWKT('SRID=4674;POINT (-40.041963 -2.830546)'))) / (select extract(epoch from '2026-06-27 07:08:47'::timestamp) - extract(epoch from '2026-06-27 07:08:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041723 -2.830717)'), GeomFromEWKT('SRID=4674;POINT (-40.041963 -2.830546)'))) / (select extract(epoch from '2026-06-27 07:08:47'::timestamp) - extract(epoch from '2026-06-27 07:08: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'), 46942, 'SRID=4674;POINT (-40.042254 -2.83029)', '2026-06-27 07:09:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041963 -2.830546)'), GeomFromEWKT('SRID=4674;POINT (-40.042254 -2.83029)'))) / (select extract(epoch from '2026-06-27 07:09:04'::timestamp) - extract(epoch from '2026-06-27 07:08:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041963 -2.830546)'), GeomFromEWKT('SRID=4674;POINT (-40.042254 -2.83029)'))) / (select extract(epoch from '2026-06-27 07:09:04'::timestamp) - extract(epoch from '2026-06-27 07:08: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'), 46942, 'SRID=4674;POINT (-40.042561 -2.829956)', '2026-06-27 07:09:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042254 -2.83029)'), GeomFromEWKT('SRID=4674;POINT (-40.042561 -2.829956)'))) / (select extract(epoch from '2026-06-27 07:09:24'::timestamp) - extract(epoch from '2026-06-27 07:09:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042254 -2.83029)'), GeomFromEWKT('SRID=4674;POINT (-40.042561 -2.829956)'))) / (select extract(epoch from '2026-06-27 07:09:24'::timestamp) - extract(epoch from '2026-06-27 07:09: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'), 46942, 'SRID=4674;POINT (-40.042622 -2.829889)', '2026-06-27 07:09:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042561 -2.829956)'), GeomFromEWKT('SRID=4674;POINT (-40.042622 -2.829889)'))) / (select extract(epoch from '2026-06-27 07:09:28'::timestamp) - extract(epoch from '2026-06-27 07:09:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042561 -2.829956)'), GeomFromEWKT('SRID=4674;POINT (-40.042622 -2.829889)'))) / (select extract(epoch from '2026-06-27 07:09:28'::timestamp) - extract(epoch from '2026-06-27 07:09: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'), 46942, 'SRID=4674;POINT (-40.04279 -2.829749)', '2026-06-27 07:09:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042622 -2.829889)'), GeomFromEWKT('SRID=4674;POINT (-40.04279 -2.829749)'))) / (select extract(epoch from '2026-06-27 07:09:38'::timestamp) - extract(epoch from '2026-06-27 07:09:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042622 -2.829889)'), GeomFromEWKT('SRID=4674;POINT (-40.04279 -2.829749)'))) / (select extract(epoch from '2026-06-27 07:09:38'::timestamp) - extract(epoch from '2026-06-27 07:09:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.042948 -2.829555)', '2026-06-27 07:09:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04279 -2.829749)'), GeomFromEWKT('SRID=4674;POINT (-40.042948 -2.829555)'))) / (select extract(epoch from '2026-06-27 07:09:50'::timestamp) - extract(epoch from '2026-06-27 07:09:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04279 -2.829749)'), GeomFromEWKT('SRID=4674;POINT (-40.042948 -2.829555)'))) / (select extract(epoch from '2026-06-27 07:09:50'::timestamp) - extract(epoch from '2026-06-27 07:09: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'), 46942, 'SRID=4674;POINT (-40.04297 -2.829374)', '2026-06-27 07:09:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042948 -2.829555)'), GeomFromEWKT('SRID=4674;POINT (-40.04297 -2.829374)'))) / (select extract(epoch from '2026-06-27 07:09:59'::timestamp) - extract(epoch from '2026-06-27 07:09:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042948 -2.829555)'), GeomFromEWKT('SRID=4674;POINT (-40.04297 -2.829374)'))) / (select extract(epoch from '2026-06-27 07:09:59'::timestamp) - extract(epoch from '2026-06-27 07:09: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'), 46942, 'SRID=4674;POINT (-40.042908 -2.829076)', '2026-06-27 07:10:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04297 -2.829374)'), GeomFromEWKT('SRID=4674;POINT (-40.042908 -2.829076)'))) / (select extract(epoch from '2026-06-27 07:10:14'::timestamp) - extract(epoch from '2026-06-27 07:09:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04297 -2.829374)'), GeomFromEWKT('SRID=4674;POINT (-40.042908 -2.829076)'))) / (select extract(epoch from '2026-06-27 07:10:14'::timestamp) - extract(epoch from '2026-06-27 07:09: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'), 46942, 'SRID=4674;POINT (-40.042802 -2.828768)', '2026-06-27 07:10:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042908 -2.829076)'), GeomFromEWKT('SRID=4674;POINT (-40.042802 -2.828768)'))) / (select extract(epoch from '2026-06-27 07:10:30'::timestamp) - extract(epoch from '2026-06-27 07:10:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042908 -2.829076)'), GeomFromEWKT('SRID=4674;POINT (-40.042802 -2.828768)'))) / (select extract(epoch from '2026-06-27 07:10:30'::timestamp) - extract(epoch from '2026-06-27 07:10:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.042797 -2.828465)', '2026-06-27 07:10:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042802 -2.828768)'), GeomFromEWKT('SRID=4674;POINT (-40.042797 -2.828465)'))) / (select extract(epoch from '2026-06-27 07:10:44'::timestamp) - extract(epoch from '2026-06-27 07:10:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042802 -2.828768)'), GeomFromEWKT('SRID=4674;POINT (-40.042797 -2.828465)'))) / (select extract(epoch from '2026-06-27 07:10:44'::timestamp) - extract(epoch from '2026-06-27 07:10: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'), 46942, 'SRID=4674;POINT (-40.042849 -2.828108)', '2026-06-27 07:11:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042797 -2.828465)'), GeomFromEWKT('SRID=4674;POINT (-40.042849 -2.828108)'))) / (select extract(epoch from '2026-06-27 07:11:00'::timestamp) - extract(epoch from '2026-06-27 07:10:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042797 -2.828465)'), GeomFromEWKT('SRID=4674;POINT (-40.042849 -2.828108)'))) / (select extract(epoch from '2026-06-27 07:11:00'::timestamp) - extract(epoch from '2026-06-27 07:10:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.042879 -2.827977)', '2026-06-27 07:11:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042849 -2.828108)'), GeomFromEWKT('SRID=4674;POINT (-40.042879 -2.827977)'))) / (select extract(epoch from '2026-06-27 07:11:06'::timestamp) - extract(epoch from '2026-06-27 07:11:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042849 -2.828108)'), GeomFromEWKT('SRID=4674;POINT (-40.042879 -2.827977)'))) / (select extract(epoch from '2026-06-27 07:11:06'::timestamp) - extract(epoch from '2026-06-27 07:11: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'), 46942, 'SRID=4674;POINT (-40.042948 -2.827768)', '2026-06-27 07:11:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042879 -2.827977)'), GeomFromEWKT('SRID=4674;POINT (-40.042948 -2.827768)'))) / (select extract(epoch from '2026-06-27 07:11:18'::timestamp) - extract(epoch from '2026-06-27 07:11:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042879 -2.827977)'), GeomFromEWKT('SRID=4674;POINT (-40.042948 -2.827768)'))) / (select extract(epoch from '2026-06-27 07:11:18'::timestamp) - extract(epoch from '2026-06-27 07:11:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.04292 -2.827658)', '2026-06-27 07:11:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042948 -2.827768)'), GeomFromEWKT('SRID=4674;POINT (-40.04292 -2.827658)'))) / (select extract(epoch from '2026-06-27 07:11:26'::timestamp) - extract(epoch from '2026-06-27 07:11:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042948 -2.827768)'), GeomFromEWKT('SRID=4674;POINT (-40.04292 -2.827658)'))) / (select extract(epoch from '2026-06-27 07:11:26'::timestamp) - extract(epoch from '2026-06-27 07:11: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'), 46942, 'SRID=4674;POINT (-40.042843 -2.827569)', '2026-06-27 07:11:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04292 -2.827658)'), GeomFromEWKT('SRID=4674;POINT (-40.042843 -2.827569)'))) / (select extract(epoch from '2026-06-27 07:11:35'::timestamp) - extract(epoch from '2026-06-27 07:11:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04292 -2.827658)'), GeomFromEWKT('SRID=4674;POINT (-40.042843 -2.827569)'))) / (select extract(epoch from '2026-06-27 07:11:35'::timestamp) - extract(epoch from '2026-06-27 07:11: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'), 46942, 'SRID=4674;POINT (-40.042827 -2.827542)', '2026-06-27 07:11:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042843 -2.827569)'), GeomFromEWKT('SRID=4674;POINT (-40.042827 -2.827542)'))) / (select extract(epoch from '2026-06-27 07:11:38'::timestamp) - extract(epoch from '2026-06-27 07:11:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042843 -2.827569)'), GeomFromEWKT('SRID=4674;POINT (-40.042827 -2.827542)'))) / (select extract(epoch from '2026-06-27 07:11:38'::timestamp) - extract(epoch from '2026-06-27 07:11: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'), 46942, 'SRID=4674;POINT (-40.042818 -2.827533)', '2026-06-27 07:11:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042827 -2.827542)'), GeomFromEWKT('SRID=4674;POINT (-40.042818 -2.827533)'))) / (select extract(epoch from '2026-06-27 07:11:39'::timestamp) - extract(epoch from '2026-06-27 07:11:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042827 -2.827542)'), GeomFromEWKT('SRID=4674;POINT (-40.042818 -2.827533)'))) / (select extract(epoch from '2026-06-27 07:11:39'::timestamp) - extract(epoch from '2026-06-27 07:11: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'), 46942, 'SRID=4674;POINT (-40.042725 -2.827453)', '2026-06-27 07:11:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042818 -2.827533)'), GeomFromEWKT('SRID=4674;POINT (-40.042725 -2.827453)'))) / (select extract(epoch from '2026-06-27 07:11:48'::timestamp) - extract(epoch from '2026-06-27 07:11:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042818 -2.827533)'), GeomFromEWKT('SRID=4674;POINT (-40.042725 -2.827453)'))) / (select extract(epoch from '2026-06-27 07:11:48'::timestamp) - extract(epoch from '2026-06-27 07:11: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'), 46942, 'SRID=4674;POINT (-40.042643 -2.827312)', '2026-06-27 07:11:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042725 -2.827453)'), GeomFromEWKT('SRID=4674;POINT (-40.042643 -2.827312)'))) / (select extract(epoch from '2026-06-27 07:11:59'::timestamp) - extract(epoch from '2026-06-27 07:11:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042725 -2.827453)'), GeomFromEWKT('SRID=4674;POINT (-40.042643 -2.827312)'))) / (select extract(epoch from '2026-06-27 07:11:59'::timestamp) - extract(epoch from '2026-06-27 07:11: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'), 46942, 'SRID=4674;POINT (-40.042619 -2.827146)', '2026-06-27 07:12:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042643 -2.827312)'), GeomFromEWKT('SRID=4674;POINT (-40.042619 -2.827146)'))) / (select extract(epoch from '2026-06-27 07:12:08'::timestamp) - extract(epoch from '2026-06-27 07:11:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042643 -2.827312)'), GeomFromEWKT('SRID=4674;POINT (-40.042619 -2.827146)'))) / (select extract(epoch from '2026-06-27 07:12:08'::timestamp) - extract(epoch from '2026-06-27 07: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'), 46942, 'SRID=4674;POINT (-40.042686 -2.826913)', '2026-06-27 07:12:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042619 -2.827146)'), GeomFromEWKT('SRID=4674;POINT (-40.042686 -2.826913)'))) / (select extract(epoch from '2026-06-27 07:12:20'::timestamp) - extract(epoch from '2026-06-27 07:12:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042619 -2.827146)'), GeomFromEWKT('SRID=4674;POINT (-40.042686 -2.826913)'))) / (select extract(epoch from '2026-06-27 07:12:20'::timestamp) - extract(epoch from '2026-06-27 07:12:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.042759 -2.826726)', '2026-06-27 07:12:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042686 -2.826913)'), GeomFromEWKT('SRID=4674;POINT (-40.042759 -2.826726)'))) / (select extract(epoch from '2026-06-27 07:12:29'::timestamp) - extract(epoch from '2026-06-27 07:12:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042686 -2.826913)'), GeomFromEWKT('SRID=4674;POINT (-40.042759 -2.826726)'))) / (select extract(epoch from '2026-06-27 07:12:29'::timestamp) - extract(epoch from '2026-06-27 07:12:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.042865 -2.826391)', '2026-06-27 07:12:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042759 -2.826726)'), GeomFromEWKT('SRID=4674;POINT (-40.042865 -2.826391)'))) / (select extract(epoch from '2026-06-27 07:12:44'::timestamp) - extract(epoch from '2026-06-27 07:12:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042759 -2.826726)'), GeomFromEWKT('SRID=4674;POINT (-40.042865 -2.826391)'))) / (select extract(epoch from '2026-06-27 07:12:44'::timestamp) - extract(epoch from '2026-06-27 07:12:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.042991 -2.825973)', '2026-06-27 07:13:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042865 -2.826391)'), GeomFromEWKT('SRID=4674;POINT (-40.042991 -2.825973)'))) / (select extract(epoch from '2026-06-27 07:13:02'::timestamp) - extract(epoch from '2026-06-27 07:12:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042865 -2.826391)'), GeomFromEWKT('SRID=4674;POINT (-40.042991 -2.825973)'))) / (select extract(epoch from '2026-06-27 07:13:02'::timestamp) - extract(epoch from '2026-06-27 07:12:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.043055 -2.825633)', '2026-06-27 07:13:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042991 -2.825973)'), GeomFromEWKT('SRID=4674;POINT (-40.043055 -2.825633)'))) / (select extract(epoch from '2026-06-27 07:13:16'::timestamp) - extract(epoch from '2026-06-27 07:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042991 -2.825973)'), GeomFromEWKT('SRID=4674;POINT (-40.043055 -2.825633)'))) / (select extract(epoch from '2026-06-27 07:13:16'::timestamp) - extract(epoch from '2026-06-27 07:13: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'), 46942, 'SRID=4674;POINT (-40.043066 -2.8255)', '2026-06-27 07:13:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043055 -2.825633)'), GeomFromEWKT('SRID=4674;POINT (-40.043066 -2.8255)'))) / (select extract(epoch from '2026-06-27 07:13:22'::timestamp) - extract(epoch from '2026-06-27 07:13:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043055 -2.825633)'), GeomFromEWKT('SRID=4674;POINT (-40.043066 -2.8255)'))) / (select extract(epoch from '2026-06-27 07:13:22'::timestamp) - extract(epoch from '2026-06-27 07:13:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.043125 -2.825287)', '2026-06-27 07:13:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043066 -2.8255)'), GeomFromEWKT('SRID=4674;POINT (-40.043125 -2.825287)'))) / (select extract(epoch from '2026-06-27 07:13:32'::timestamp) - extract(epoch from '2026-06-27 07:13:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043066 -2.8255)'), GeomFromEWKT('SRID=4674;POINT (-40.043125 -2.825287)'))) / (select extract(epoch from '2026-06-27 07:13:32'::timestamp) - extract(epoch from '2026-06-27 07:13: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'), 46942, 'SRID=4674;POINT (-40.04317 -2.825037)', '2026-06-27 07:13:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043125 -2.825287)'), GeomFromEWKT('SRID=4674;POINT (-40.04317 -2.825037)'))) / (select extract(epoch from '2026-06-27 07:13:43'::timestamp) - extract(epoch from '2026-06-27 07:13:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043125 -2.825287)'), GeomFromEWKT('SRID=4674;POINT (-40.04317 -2.825037)'))) / (select extract(epoch from '2026-06-27 07:13:43'::timestamp) - extract(epoch from '2026-06-27 07:13: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'), 46942, 'SRID=4674;POINT (-40.043135 -2.824669)', '2026-06-27 07:13:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04317 -2.825037)'), GeomFromEWKT('SRID=4674;POINT (-40.043135 -2.824669)'))) / (select extract(epoch from '2026-06-27 07:13:59'::timestamp) - extract(epoch from '2026-06-27 07:13:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04317 -2.825037)'), GeomFromEWKT('SRID=4674;POINT (-40.043135 -2.824669)'))) / (select extract(epoch from '2026-06-27 07:13:59'::timestamp) - extract(epoch from '2026-06-27 07:13: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'), 46942, 'SRID=4674;POINT (-40.043032 -2.824367)', '2026-06-27 07:14:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043135 -2.824669)'), GeomFromEWKT('SRID=4674;POINT (-40.043032 -2.824367)'))) / (select extract(epoch from '2026-06-27 07:14:13'::timestamp) - extract(epoch from '2026-06-27 07:13:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043135 -2.824669)'), GeomFromEWKT('SRID=4674;POINT (-40.043032 -2.824367)'))) / (select extract(epoch from '2026-06-27 07:14:13'::timestamp) - extract(epoch from '2026-06-27 07:13: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'), 46942, 'SRID=4674;POINT (-40.042865 -2.824137)', '2026-06-27 07:14:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043032 -2.824367)'), GeomFromEWKT('SRID=4674;POINT (-40.042865 -2.824137)'))) / (select extract(epoch from '2026-06-27 07:14:26'::timestamp) - extract(epoch from '2026-06-27 07:14:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043032 -2.824367)'), GeomFromEWKT('SRID=4674;POINT (-40.042865 -2.824137)'))) / (select extract(epoch from '2026-06-27 07:14:26'::timestamp) - extract(epoch from '2026-06-27 07:14:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.04266 -2.823925)', '2026-06-27 07:14:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042865 -2.824137)'), GeomFromEWKT('SRID=4674;POINT (-40.04266 -2.823925)'))) / (select extract(epoch from '2026-06-27 07:14:40'::timestamp) - extract(epoch from '2026-06-27 07:14:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042865 -2.824137)'), GeomFromEWKT('SRID=4674;POINT (-40.04266 -2.823925)'))) / (select extract(epoch from '2026-06-27 07:14:40'::timestamp) - extract(epoch from '2026-06-27 07:14: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'), 46942, 'SRID=4674;POINT (-40.042399 -2.823644)', '2026-06-27 07:14:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04266 -2.823925)'), GeomFromEWKT('SRID=4674;POINT (-40.042399 -2.823644)'))) / (select extract(epoch from '2026-06-27 07:14:58'::timestamp) - extract(epoch from '2026-06-27 07:14:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04266 -2.823925)'), GeomFromEWKT('SRID=4674;POINT (-40.042399 -2.823644)'))) / (select extract(epoch from '2026-06-27 07:14:58'::timestamp) - extract(epoch from '2026-06-27 07:14: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'), 46942, 'SRID=4674;POINT (-40.042262 -2.823425)', '2026-06-27 07:15:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042399 -2.823644)'), GeomFromEWKT('SRID=4674;POINT (-40.042262 -2.823425)'))) / (select extract(epoch from '2026-06-27 07:15:10'::timestamp) - extract(epoch from '2026-06-27 07:14:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042399 -2.823644)'), GeomFromEWKT('SRID=4674;POINT (-40.042262 -2.823425)'))) / (select extract(epoch from '2026-06-27 07:15:10'::timestamp) - extract(epoch from '2026-06-27 07:14: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'), 46942, 'SRID=4674;POINT (-40.042111 -2.823202)', '2026-06-27 07:15:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042262 -2.823425)'), GeomFromEWKT('SRID=4674;POINT (-40.042111 -2.823202)'))) / (select extract(epoch from '2026-06-27 07:15:23'::timestamp) - extract(epoch from '2026-06-27 07:15:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042262 -2.823425)'), GeomFromEWKT('SRID=4674;POINT (-40.042111 -2.823202)'))) / (select extract(epoch from '2026-06-27 07:15:23'::timestamp) - extract(epoch from '2026-06-27 07:15: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'), 46942, 'SRID=4674;POINT (-40.041899 -2.823012)', '2026-06-27 07:15:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042111 -2.823202)'), GeomFromEWKT('SRID=4674;POINT (-40.041899 -2.823012)'))) / (select extract(epoch from '2026-06-27 07:15:38'::timestamp) - extract(epoch from '2026-06-27 07:15:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042111 -2.823202)'), GeomFromEWKT('SRID=4674;POINT (-40.041899 -2.823012)'))) / (select extract(epoch from '2026-06-27 07:15:38'::timestamp) - extract(epoch from '2026-06-27 07:15:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.041707 -2.822839)', '2026-06-27 07:15:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041899 -2.823012)'), GeomFromEWKT('SRID=4674;POINT (-40.041707 -2.822839)'))) / (select extract(epoch from '2026-06-27 07:15:51'::timestamp) - extract(epoch from '2026-06-27 07:15:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041899 -2.823012)'), GeomFromEWKT('SRID=4674;POINT (-40.041707 -2.822839)'))) / (select extract(epoch from '2026-06-27 07:15:51'::timestamp) - extract(epoch from '2026-06-27 07:15: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'), 46942, 'SRID=4674;POINT (-40.041539 -2.82264)', '2026-06-27 07:16:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041707 -2.822839)'), GeomFromEWKT('SRID=4674;POINT (-40.041539 -2.82264)'))) / (select extract(epoch from '2026-06-27 07:16:04'::timestamp) - extract(epoch from '2026-06-27 07:15:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041707 -2.822839)'), GeomFromEWKT('SRID=4674;POINT (-40.041539 -2.82264)'))) / (select extract(epoch from '2026-06-27 07:16:04'::timestamp) - extract(epoch from '2026-06-27 07:15: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'), 46942, 'SRID=4674;POINT (-40.041356 -2.82236)', '2026-06-27 07:16:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041539 -2.82264)'), GeomFromEWKT('SRID=4674;POINT (-40.041356 -2.82236)'))) / (select extract(epoch from '2026-06-27 07:16:20'::timestamp) - extract(epoch from '2026-06-27 07:16:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041539 -2.82264)'), GeomFromEWKT('SRID=4674;POINT (-40.041356 -2.82236)'))) / (select extract(epoch from '2026-06-27 07:16:20'::timestamp) - extract(epoch from '2026-06-27 07:16: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'), 46942, 'SRID=4674;POINT (-40.041171 -2.822111)', '2026-06-27 07:16:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041356 -2.82236)'), GeomFromEWKT('SRID=4674;POINT (-40.041171 -2.822111)'))) / (select extract(epoch from '2026-06-27 07:16:35'::timestamp) - extract(epoch from '2026-06-27 07:16:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041356 -2.82236)'), GeomFromEWKT('SRID=4674;POINT (-40.041171 -2.822111)'))) / (select extract(epoch from '2026-06-27 07:16:35'::timestamp) - extract(epoch from '2026-06-27 07: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'), 46942, 'SRID=4674;POINT (-40.04094 -2.821812)', '2026-06-27 07:16:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041171 -2.822111)'), GeomFromEWKT('SRID=4674;POINT (-40.04094 -2.821812)'))) / (select extract(epoch from '2026-06-27 07:16:53'::timestamp) - extract(epoch from '2026-06-27 07:16:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041171 -2.822111)'), GeomFromEWKT('SRID=4674;POINT (-40.04094 -2.821812)'))) / (select extract(epoch from '2026-06-27 07:16:53'::timestamp) - extract(epoch from '2026-06-27 07:16: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'), 46942, 'SRID=4674;POINT (-40.040707 -2.82156)', '2026-06-27 07:17:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04094 -2.821812)'), GeomFromEWKT('SRID=4674;POINT (-40.040707 -2.82156)'))) / (select extract(epoch from '2026-06-27 07:17:09'::timestamp) - extract(epoch from '2026-06-27 07:16:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04094 -2.821812)'), GeomFromEWKT('SRID=4674;POINT (-40.040707 -2.82156)'))) / (select extract(epoch from '2026-06-27 07:17:09'::timestamp) - extract(epoch from '2026-06-27 07:16: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'), 46942, 'SRID=4674;POINT (-40.040504 -2.821264)', '2026-06-27 07:17:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040707 -2.82156)'), GeomFromEWKT('SRID=4674;POINT (-40.040504 -2.821264)'))) / (select extract(epoch from '2026-06-27 07:17:26'::timestamp) - extract(epoch from '2026-06-27 07:17:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040707 -2.82156)'), GeomFromEWKT('SRID=4674;POINT (-40.040504 -2.821264)'))) / (select extract(epoch from '2026-06-27 07:17:26'::timestamp) - extract(epoch from '2026-06-27 07:17:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.040347 -2.821041)', '2026-06-27 07:17:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040504 -2.821264)'), GeomFromEWKT('SRID=4674;POINT (-40.040347 -2.821041)'))) / (select extract(epoch from '2026-06-27 07:17:39'::timestamp) - extract(epoch from '2026-06-27 07:17:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040504 -2.821264)'), GeomFromEWKT('SRID=4674;POINT (-40.040347 -2.821041)'))) / (select extract(epoch from '2026-06-27 07:17:39'::timestamp) - extract(epoch from '2026-06-27 07:17: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'), 46942, 'SRID=4674;POINT (-40.040134 -2.820749)', '2026-06-27 07:17:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040347 -2.821041)'), GeomFromEWKT('SRID=4674;POINT (-40.040134 -2.820749)'))) / (select extract(epoch from '2026-06-27 07:17:56'::timestamp) - extract(epoch from '2026-06-27 07:17:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040347 -2.821041)'), GeomFromEWKT('SRID=4674;POINT (-40.040134 -2.820749)'))) / (select extract(epoch from '2026-06-27 07:17:56'::timestamp) - extract(epoch from '2026-06-27 07:17: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'), 46942, 'SRID=4674;POINT (-40.039922 -2.820491)', '2026-06-27 07:18:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040134 -2.820749)'), GeomFromEWKT('SRID=4674;POINT (-40.039922 -2.820491)'))) / (select extract(epoch from '2026-06-27 07:18:12'::timestamp) - extract(epoch from '2026-06-27 07:17:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040134 -2.820749)'), GeomFromEWKT('SRID=4674;POINT (-40.039922 -2.820491)'))) / (select extract(epoch from '2026-06-27 07:18:12'::timestamp) - extract(epoch from '2026-06-27 07:17: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'), 46942, 'SRID=4674;POINT (-40.039734 -2.820275)', '2026-06-27 07:18:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039922 -2.820491)'), GeomFromEWKT('SRID=4674;POINT (-40.039734 -2.820275)'))) / (select extract(epoch from '2026-06-27 07:18:26'::timestamp) - extract(epoch from '2026-06-27 07:18:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039922 -2.820491)'), GeomFromEWKT('SRID=4674;POINT (-40.039734 -2.820275)'))) / (select extract(epoch from '2026-06-27 07:18:26'::timestamp) - extract(epoch from '2026-06-27 07:18:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.039603 -2.820095)', '2026-06-27 07:18:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039734 -2.820275)'), GeomFromEWKT('SRID=4674;POINT (-40.039603 -2.820095)'))) / (select extract(epoch from '2026-06-27 07:18:37'::timestamp) - extract(epoch from '2026-06-27 07:18:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039734 -2.820275)'), GeomFromEWKT('SRID=4674;POINT (-40.039603 -2.820095)'))) / (select extract(epoch from '2026-06-27 07:18:37'::timestamp) - extract(epoch from '2026-06-27 07:18: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'), 46942, 'SRID=4674;POINT (-40.039469 -2.819888)', '2026-06-27 07:18:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039603 -2.820095)'), GeomFromEWKT('SRID=4674;POINT (-40.039469 -2.819888)'))) / (select extract(epoch from '2026-06-27 07:18:49'::timestamp) - extract(epoch from '2026-06-27 07:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039603 -2.820095)'), GeomFromEWKT('SRID=4674;POINT (-40.039469 -2.819888)'))) / (select extract(epoch from '2026-06-27 07:18:49'::timestamp) - extract(epoch from '2026-06-27 07:18:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.039309 -2.819631)', '2026-06-27 07:19:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039469 -2.819888)'), GeomFromEWKT('SRID=4674;POINT (-40.039309 -2.819631)'))) / (select extract(epoch from '2026-06-27 07:19:04'::timestamp) - extract(epoch from '2026-06-27 07:18:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039469 -2.819888)'), GeomFromEWKT('SRID=4674;POINT (-40.039309 -2.819631)'))) / (select extract(epoch from '2026-06-27 07:19:04'::timestamp) - extract(epoch from '2026-06-27 07:18: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'), 46942, 'SRID=4674;POINT (-40.039145 -2.81936)', '2026-06-27 07:19:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039309 -2.819631)'), GeomFromEWKT('SRID=4674;POINT (-40.039145 -2.81936)'))) / (select extract(epoch from '2026-06-27 07:19:19'::timestamp) - extract(epoch from '2026-06-27 07:19:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039309 -2.819631)'), GeomFromEWKT('SRID=4674;POINT (-40.039145 -2.81936)'))) / (select extract(epoch from '2026-06-27 07:19:19'::timestamp) - extract(epoch from '2026-06-27 07:19: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'), 46942, 'SRID=4674;POINT (-40.038987 -2.819173)', '2026-06-27 07:19:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039145 -2.81936)'), GeomFromEWKT('SRID=4674;POINT (-40.038987 -2.819173)'))) / (select extract(epoch from '2026-06-27 07:19:31'::timestamp) - extract(epoch from '2026-06-27 07:19:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039145 -2.81936)'), GeomFromEWKT('SRID=4674;POINT (-40.038987 -2.819173)'))) / (select extract(epoch from '2026-06-27 07:19:31'::timestamp) - extract(epoch from '2026-06-27 07:19:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.038755 -2.818939)', '2026-06-27 07:19:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038987 -2.819173)'), GeomFromEWKT('SRID=4674;POINT (-40.038755 -2.818939)'))) / (select extract(epoch from '2026-06-27 07:19:47'::timestamp) - extract(epoch from '2026-06-27 07:19:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038987 -2.819173)'), GeomFromEWKT('SRID=4674;POINT (-40.038755 -2.818939)'))) / (select extract(epoch from '2026-06-27 07:19:47'::timestamp) - extract(epoch from '2026-06-27 07:19: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'), 46942, 'SRID=4674;POINT (-40.038567 -2.818715)', '2026-06-27 07:20:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038755 -2.818939)'), GeomFromEWKT('SRID=4674;POINT (-40.038567 -2.818715)'))) / (select extract(epoch from '2026-06-27 07:20:01'::timestamp) - extract(epoch from '2026-06-27 07:19:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038755 -2.818939)'), GeomFromEWKT('SRID=4674;POINT (-40.038567 -2.818715)'))) / (select extract(epoch from '2026-06-27 07:20:01'::timestamp) - extract(epoch from '2026-06-27 07:19: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'), 46942, 'SRID=4674;POINT (-40.038407 -2.818523)', '2026-06-27 07:20:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038567 -2.818715)'), GeomFromEWKT('SRID=4674;POINT (-40.038407 -2.818523)'))) / (select extract(epoch from '2026-06-27 07:20:13'::timestamp) - extract(epoch from '2026-06-27 07:20:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038567 -2.818715)'), GeomFromEWKT('SRID=4674;POINT (-40.038407 -2.818523)'))) / (select extract(epoch from '2026-06-27 07:20:13'::timestamp) - extract(epoch from '2026-06-27 07:20: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'), 46942, 'SRID=4674;POINT (-40.038233 -2.818231)', '2026-06-27 07:20:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038407 -2.818523)'), GeomFromEWKT('SRID=4674;POINT (-40.038233 -2.818231)'))) / (select extract(epoch from '2026-06-27 07:20:29'::timestamp) - extract(epoch from '2026-06-27 07:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038407 -2.818523)'), GeomFromEWKT('SRID=4674;POINT (-40.038233 -2.818231)'))) / (select extract(epoch from '2026-06-27 07:20:29'::timestamp) - extract(epoch from '2026-06-27 07:20:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.038108 -2.818018)', '2026-06-27 07:20:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038233 -2.818231)'), GeomFromEWKT('SRID=4674;POINT (-40.038108 -2.818018)'))) / (select extract(epoch from '2026-06-27 07:20:41'::timestamp) - extract(epoch from '2026-06-27 07:20:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038233 -2.818231)'), GeomFromEWKT('SRID=4674;POINT (-40.038108 -2.818018)'))) / (select extract(epoch from '2026-06-27 07:20:41'::timestamp) - extract(epoch from '2026-06-27 07:20: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'), 46942, 'SRID=4674;POINT (-40.037984 -2.817823)', '2026-06-27 07:20:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038108 -2.818018)'), GeomFromEWKT('SRID=4674;POINT (-40.037984 -2.817823)'))) / (select extract(epoch from '2026-06-27 07:20:52'::timestamp) - extract(epoch from '2026-06-27 07:20:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038108 -2.818018)'), GeomFromEWKT('SRID=4674;POINT (-40.037984 -2.817823)'))) / (select extract(epoch from '2026-06-27 07:20:52'::timestamp) - extract(epoch from '2026-06-27 07:20: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'), 46942, 'SRID=4674;POINT (-40.037809 -2.817593)', '2026-06-27 07:21:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037984 -2.817823)'), GeomFromEWKT('SRID=4674;POINT (-40.037809 -2.817593)'))) / (select extract(epoch from '2026-06-27 07:21:06'::timestamp) - extract(epoch from '2026-06-27 07:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037984 -2.817823)'), GeomFromEWKT('SRID=4674;POINT (-40.037809 -2.817593)'))) / (select extract(epoch from '2026-06-27 07:21:06'::timestamp) - extract(epoch from '2026-06-27 07:20:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.037601 -2.817333)', '2026-06-27 07:21:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037809 -2.817593)'), GeomFromEWKT('SRID=4674;POINT (-40.037601 -2.817333)'))) / (select extract(epoch from '2026-06-27 07:21:22'::timestamp) - extract(epoch from '2026-06-27 07:21:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037809 -2.817593)'), GeomFromEWKT('SRID=4674;POINT (-40.037601 -2.817333)'))) / (select extract(epoch from '2026-06-27 07:21:22'::timestamp) - extract(epoch from '2026-06-27 07:21: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'), 46942, 'SRID=4674;POINT (-40.037424 -2.817135)', '2026-06-27 07:21:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037601 -2.817333)'), GeomFromEWKT('SRID=4674;POINT (-40.037424 -2.817135)'))) / (select extract(epoch from '2026-06-27 07:21:35'::timestamp) - extract(epoch from '2026-06-27 07:21:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037601 -2.817333)'), GeomFromEWKT('SRID=4674;POINT (-40.037424 -2.817135)'))) / (select extract(epoch from '2026-06-27 07:21:35'::timestamp) - extract(epoch from '2026-06-27 07:21: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'), 46942, 'SRID=4674;POINT (-40.0373 -2.816987)', '2026-06-27 07:21:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037424 -2.817135)'), GeomFromEWKT('SRID=4674;POINT (-40.0373 -2.816987)'))) / (select extract(epoch from '2026-06-27 07:21:46'::timestamp) - extract(epoch from '2026-06-27 07:21:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037424 -2.817135)'), GeomFromEWKT('SRID=4674;POINT (-40.0373 -2.816987)'))) / (select extract(epoch from '2026-06-27 07:21:46'::timestamp) - extract(epoch from '2026-06-27 07:21: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'), 46942, 'SRID=4674;POINT (-40.037163 -2.816791)', '2026-06-27 07:21:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0373 -2.816987)'), GeomFromEWKT('SRID=4674;POINT (-40.037163 -2.816791)'))) / (select extract(epoch from '2026-06-27 07:21:58'::timestamp) - extract(epoch from '2026-06-27 07:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0373 -2.816987)'), GeomFromEWKT('SRID=4674;POINT (-40.037163 -2.816791)'))) / (select extract(epoch from '2026-06-27 07:21:58'::timestamp) - extract(epoch from '2026-06-27 07:21: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'), 46942, 'SRID=4674;POINT (-40.036974 -2.816612)', '2026-06-27 07:22:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037163 -2.816791)'), GeomFromEWKT('SRID=4674;POINT (-40.036974 -2.816612)'))) / (select extract(epoch from '2026-06-27 07:22:11'::timestamp) - extract(epoch from '2026-06-27 07:21:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037163 -2.816791)'), GeomFromEWKT('SRID=4674;POINT (-40.036974 -2.816612)'))) / (select extract(epoch from '2026-06-27 07:22:11'::timestamp) - extract(epoch from '2026-06-27 07:21: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'), 46942, 'SRID=4674;POINT (-40.036811 -2.816438)', '2026-06-27 07:22:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036974 -2.816612)'), GeomFromEWKT('SRID=4674;POINT (-40.036811 -2.816438)'))) / (select extract(epoch from '2026-06-27 07:22:23'::timestamp) - extract(epoch from '2026-06-27 07:22:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036974 -2.816612)'), GeomFromEWKT('SRID=4674;POINT (-40.036811 -2.816438)'))) / (select extract(epoch from '2026-06-27 07:22:23'::timestamp) - extract(epoch from '2026-06-27 07:22:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.036589 -2.816208)', '2026-06-27 07:22:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036811 -2.816438)'), GeomFromEWKT('SRID=4674;POINT (-40.036589 -2.816208)'))) / (select extract(epoch from '2026-06-27 07:22:39'::timestamp) - extract(epoch from '2026-06-27 07:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036811 -2.816438)'), GeomFromEWKT('SRID=4674;POINT (-40.036589 -2.816208)'))) / (select extract(epoch from '2026-06-27 07:22:39'::timestamp) - extract(epoch from '2026-06-27 07:22: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'), 46942, 'SRID=4674;POINT (-40.036414 -2.816008)', '2026-06-27 07:22:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036589 -2.816208)'), GeomFromEWKT('SRID=4674;POINT (-40.036414 -2.816008)'))) / (select extract(epoch from '2026-06-27 07:22:53'::timestamp) - extract(epoch from '2026-06-27 07:22:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036589 -2.816208)'), GeomFromEWKT('SRID=4674;POINT (-40.036414 -2.816008)'))) / (select extract(epoch from '2026-06-27 07:22:53'::timestamp) - extract(epoch from '2026-06-27 07:22: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'), 46942, 'SRID=4674;POINT (-40.036266 -2.815859)', '2026-06-27 07:23:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036414 -2.816008)'), GeomFromEWKT('SRID=4674;POINT (-40.036266 -2.815859)'))) / (select extract(epoch from '2026-06-27 07:23:06'::timestamp) - extract(epoch from '2026-06-27 07:22:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036414 -2.816008)'), GeomFromEWKT('SRID=4674;POINT (-40.036266 -2.815859)'))) / (select extract(epoch from '2026-06-27 07:23:06'::timestamp) - extract(epoch from '2026-06-27 07:22: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'), 46942, 'SRID=4674;POINT (-40.03613 -2.81579)', '2026-06-27 07:23:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036266 -2.815859)'), GeomFromEWKT('SRID=4674;POINT (-40.03613 -2.81579)'))) / (select extract(epoch from '2026-06-27 07:23:16'::timestamp) - extract(epoch from '2026-06-27 07:23:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036266 -2.815859)'), GeomFromEWKT('SRID=4674;POINT (-40.03613 -2.81579)'))) / (select extract(epoch from '2026-06-27 07:23:16'::timestamp) - extract(epoch from '2026-06-27 07:23: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'), 46942, 'SRID=4674;POINT (-40.035978 -2.815708)', '2026-06-27 07:23:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03613 -2.81579)'), GeomFromEWKT('SRID=4674;POINT (-40.035978 -2.815708)'))) / (select extract(epoch from '2026-06-27 07:23:27'::timestamp) - extract(epoch from '2026-06-27 07:23:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03613 -2.81579)'), GeomFromEWKT('SRID=4674;POINT (-40.035978 -2.815708)'))) / (select extract(epoch from '2026-06-27 07:23:27'::timestamp) - extract(epoch from '2026-06-27 07:23:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.035828 -2.815603)', '2026-06-27 07:23:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035978 -2.815708)'), GeomFromEWKT('SRID=4674;POINT (-40.035828 -2.815603)'))) / (select extract(epoch from '2026-06-27 07:23:37'::timestamp) - extract(epoch from '2026-06-27 07:23:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035978 -2.815708)'), GeomFromEWKT('SRID=4674;POINT (-40.035828 -2.815603)'))) / (select extract(epoch from '2026-06-27 07:23:37'::timestamp) - extract(epoch from '2026-06-27 07:23: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'), 46942, 'SRID=4674;POINT (-40.035665 -2.815469)', '2026-06-27 07:23:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035828 -2.815603)'), GeomFromEWKT('SRID=4674;POINT (-40.035665 -2.815469)'))) / (select extract(epoch from '2026-06-27 07:23:48'::timestamp) - extract(epoch from '2026-06-27 07:23:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035828 -2.815603)'), GeomFromEWKT('SRID=4674;POINT (-40.035665 -2.815469)'))) / (select extract(epoch from '2026-06-27 07:23:48'::timestamp) - extract(epoch from '2026-06-27 07:23: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'), 46942, 'SRID=4674;POINT (-40.035501 -2.815265)', '2026-06-27 07:24:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035665 -2.815469)'), GeomFromEWKT('SRID=4674;POINT (-40.035501 -2.815265)'))) / (select extract(epoch from '2026-06-27 07:24:01'::timestamp) - extract(epoch from '2026-06-27 07:23:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035665 -2.815469)'), GeomFromEWKT('SRID=4674;POINT (-40.035501 -2.815265)'))) / (select extract(epoch from '2026-06-27 07:24:01'::timestamp) - extract(epoch from '2026-06-27 07:23: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'), 46942, 'SRID=4674;POINT (-40.035334 -2.815043)', '2026-06-27 07:24:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035501 -2.815265)'), GeomFromEWKT('SRID=4674;POINT (-40.035334 -2.815043)'))) / (select extract(epoch from '2026-06-27 07:24:15'::timestamp) - extract(epoch from '2026-06-27 07:24:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035501 -2.815265)'), GeomFromEWKT('SRID=4674;POINT (-40.035334 -2.815043)'))) / (select extract(epoch from '2026-06-27 07:24:15'::timestamp) - extract(epoch from '2026-06-27 07:24: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'), 46942, 'SRID=4674;POINT (-40.035184 -2.81486)', '2026-06-27 07:24:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035334 -2.815043)'), GeomFromEWKT('SRID=4674;POINT (-40.035184 -2.81486)'))) / (select extract(epoch from '2026-06-27 07:24:27'::timestamp) - extract(epoch from '2026-06-27 07:24:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035334 -2.815043)'), GeomFromEWKT('SRID=4674;POINT (-40.035184 -2.81486)'))) / (select extract(epoch from '2026-06-27 07:24:27'::timestamp) - extract(epoch from '2026-06-27 07:24:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.035056 -2.814723)', '2026-06-27 07:24:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035184 -2.81486)'), GeomFromEWKT('SRID=4674;POINT (-40.035056 -2.814723)'))) / (select extract(epoch from '2026-06-27 07:24:37'::timestamp) - extract(epoch from '2026-06-27 07:24:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035184 -2.81486)'), GeomFromEWKT('SRID=4674;POINT (-40.035056 -2.814723)'))) / (select extract(epoch from '2026-06-27 07:24:37'::timestamp) - extract(epoch from '2026-06-27 07: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'), 46942, 'SRID=4674;POINT (-40.034883 -2.814522)', '2026-06-27 07:24:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035056 -2.814723)'), GeomFromEWKT('SRID=4674;POINT (-40.034883 -2.814522)'))) / (select extract(epoch from '2026-06-27 07:24:51'::timestamp) - extract(epoch from '2026-06-27 07:24:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035056 -2.814723)'), GeomFromEWKT('SRID=4674;POINT (-40.034883 -2.814522)'))) / (select extract(epoch from '2026-06-27 07:24:51'::timestamp) - extract(epoch from '2026-06-27 07:24: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'), 46942, 'SRID=4674;POINT (-40.034701 -2.814239)', '2026-06-27 07:25:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034883 -2.814522)'), GeomFromEWKT('SRID=4674;POINT (-40.034701 -2.814239)'))) / (select extract(epoch from '2026-06-27 07:25:08'::timestamp) - extract(epoch from '2026-06-27 07:24:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034883 -2.814522)'), GeomFromEWKT('SRID=4674;POINT (-40.034701 -2.814239)'))) / (select extract(epoch from '2026-06-27 07:25:08'::timestamp) - extract(epoch from '2026-06-27 07:24: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'), 46942, 'SRID=4674;POINT (-40.034543 -2.813988)', '2026-06-27 07:25:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034701 -2.814239)'), GeomFromEWKT('SRID=4674;POINT (-40.034543 -2.813988)'))) / (select extract(epoch from '2026-06-27 07:25:23'::timestamp) - extract(epoch from '2026-06-27 07:25:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034701 -2.814239)'), GeomFromEWKT('SRID=4674;POINT (-40.034543 -2.813988)'))) / (select extract(epoch from '2026-06-27 07:25:23'::timestamp) - extract(epoch from '2026-06-27 07:25: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'), 46942, 'SRID=4674;POINT (-40.034392 -2.813732)', '2026-06-27 07:25:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034543 -2.813988)'), GeomFromEWKT('SRID=4674;POINT (-40.034392 -2.813732)'))) / (select extract(epoch from '2026-06-27 07:25:38'::timestamp) - extract(epoch from '2026-06-27 07:25:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034543 -2.813988)'), GeomFromEWKT('SRID=4674;POINT (-40.034392 -2.813732)'))) / (select extract(epoch from '2026-06-27 07:25:38'::timestamp) - extract(epoch from '2026-06-27 07:25: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'), 46942, 'SRID=4674;POINT (-40.034249 -2.813521)', '2026-06-27 07:25:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034392 -2.813732)'), GeomFromEWKT('SRID=4674;POINT (-40.034249 -2.813521)'))) / (select extract(epoch from '2026-06-27 07:25:51'::timestamp) - extract(epoch from '2026-06-27 07:25:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034392 -2.813732)'), GeomFromEWKT('SRID=4674;POINT (-40.034249 -2.813521)'))) / (select extract(epoch from '2026-06-27 07:25:51'::timestamp) - extract(epoch from '2026-06-27 07:25: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'), 46942, 'SRID=4674;POINT (-40.034099 -2.813343)', '2026-06-27 07:26:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034249 -2.813521)'), GeomFromEWKT('SRID=4674;POINT (-40.034099 -2.813343)'))) / (select extract(epoch from '2026-06-27 07:26:03'::timestamp) - extract(epoch from '2026-06-27 07:25:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034249 -2.813521)'), GeomFromEWKT('SRID=4674;POINT (-40.034099 -2.813343)'))) / (select extract(epoch from '2026-06-27 07:26:03'::timestamp) - extract(epoch from '2026-06-27 07:25: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'), 46942, 'SRID=4674;POINT (-40.033962 -2.8131)', '2026-06-27 07:26:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034099 -2.813343)'), GeomFromEWKT('SRID=4674;POINT (-40.033962 -2.8131)'))) / (select extract(epoch from '2026-06-27 07:26:17'::timestamp) - extract(epoch from '2026-06-27 07:26:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034099 -2.813343)'), GeomFromEWKT('SRID=4674;POINT (-40.033962 -2.8131)'))) / (select extract(epoch from '2026-06-27 07:26:17'::timestamp) - extract(epoch from '2026-06-27 07:26: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'), 46942, 'SRID=4674;POINT (-40.033845 -2.812888)', '2026-06-27 07:26:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033962 -2.8131)'), GeomFromEWKT('SRID=4674;POINT (-40.033845 -2.812888)'))) / (select extract(epoch from '2026-06-27 07:26:29'::timestamp) - extract(epoch from '2026-06-27 07:26:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033962 -2.8131)'), GeomFromEWKT('SRID=4674;POINT (-40.033845 -2.812888)'))) / (select extract(epoch from '2026-06-27 07:26:29'::timestamp) - extract(epoch from '2026-06-27 07: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'), 46942, 'SRID=4674;POINT (-40.033692 -2.812663)', '2026-06-27 07:26:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033845 -2.812888)'), GeomFromEWKT('SRID=4674;POINT (-40.033692 -2.812663)'))) / (select extract(epoch from '2026-06-27 07:26:43'::timestamp) - extract(epoch from '2026-06-27 07:26:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033845 -2.812888)'), GeomFromEWKT('SRID=4674;POINT (-40.033692 -2.812663)'))) / (select extract(epoch from '2026-06-27 07:26:43'::timestamp) - extract(epoch from '2026-06-27 07:26: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'), 46942, 'SRID=4674;POINT (-40.033561 -2.81242)', '2026-06-27 07:26:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033692 -2.812663)'), GeomFromEWKT('SRID=4674;POINT (-40.033561 -2.81242)'))) / (select extract(epoch from '2026-06-27 07:26:57'::timestamp) - extract(epoch from '2026-06-27 07:26:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033692 -2.812663)'), GeomFromEWKT('SRID=4674;POINT (-40.033561 -2.81242)'))) / (select extract(epoch from '2026-06-27 07:26:57'::timestamp) - extract(epoch from '2026-06-27 07:26: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'), 46942, 'SRID=4674;POINT (-40.033436 -2.812249)', '2026-06-27 07:27:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033561 -2.81242)'), GeomFromEWKT('SRID=4674;POINT (-40.033436 -2.812249)'))) / (select extract(epoch from '2026-06-27 07:27:08'::timestamp) - extract(epoch from '2026-06-27 07:26:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033561 -2.81242)'), GeomFromEWKT('SRID=4674;POINT (-40.033436 -2.812249)'))) / (select extract(epoch from '2026-06-27 07:27:08'::timestamp) - extract(epoch from '2026-06-27 07:26:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.033278 -2.812063)', '2026-06-27 07:27:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033436 -2.812249)'), GeomFromEWKT('SRID=4674;POINT (-40.033278 -2.812063)'))) / (select extract(epoch from '2026-06-27 07:27:21'::timestamp) - extract(epoch from '2026-06-27 07:27:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033436 -2.812249)'), GeomFromEWKT('SRID=4674;POINT (-40.033278 -2.812063)'))) / (select extract(epoch from '2026-06-27 07:27:21'::timestamp) - extract(epoch from '2026-06-27 07:27: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'), 46942, 'SRID=4674;POINT (-40.03311 -2.811878)', '2026-06-27 07:27:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033278 -2.812063)'), GeomFromEWKT('SRID=4674;POINT (-40.03311 -2.811878)'))) / (select extract(epoch from '2026-06-27 07:27:34'::timestamp) - extract(epoch from '2026-06-27 07:27:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033278 -2.812063)'), GeomFromEWKT('SRID=4674;POINT (-40.03311 -2.811878)'))) / (select extract(epoch from '2026-06-27 07:27:34'::timestamp) - extract(epoch from '2026-06-27 07:27: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'), 46942, 'SRID=4674;POINT (-40.03296 -2.811737)', '2026-06-27 07:27:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03311 -2.811878)'), GeomFromEWKT('SRID=4674;POINT (-40.03296 -2.811737)'))) / (select extract(epoch from '2026-06-27 07:27:45'::timestamp) - extract(epoch from '2026-06-27 07:27:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03311 -2.811878)'), GeomFromEWKT('SRID=4674;POINT (-40.03296 -2.811737)'))) / (select extract(epoch from '2026-06-27 07:27:45'::timestamp) - extract(epoch from '2026-06-27 07:27: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'), 46942, 'SRID=4674;POINT (-40.032827 -2.811601)', '2026-06-27 07:27:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03296 -2.811737)'), GeomFromEWKT('SRID=4674;POINT (-40.032827 -2.811601)'))) / (select extract(epoch from '2026-06-27 07:27:55'::timestamp) - extract(epoch from '2026-06-27 07:27:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03296 -2.811737)'), GeomFromEWKT('SRID=4674;POINT (-40.032827 -2.811601)'))) / (select extract(epoch from '2026-06-27 07:27:55'::timestamp) - extract(epoch from '2026-06-27 07:27: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'), 46942, 'SRID=4674;POINT (-40.032681 -2.811422)', '2026-06-27 07:28:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032827 -2.811601)'), GeomFromEWKT('SRID=4674;POINT (-40.032681 -2.811422)'))) / (select extract(epoch from '2026-06-27 07:28:07'::timestamp) - extract(epoch from '2026-06-27 07:27:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032827 -2.811601)'), GeomFromEWKT('SRID=4674;POINT (-40.032681 -2.811422)'))) / (select extract(epoch from '2026-06-27 07:28:07'::timestamp) - extract(epoch from '2026-06-27 07:27: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'), 46942, 'SRID=4674;POINT (-40.032524 -2.811198)', '2026-06-27 07:28:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032681 -2.811422)'), GeomFromEWKT('SRID=4674;POINT (-40.032524 -2.811198)'))) / (select extract(epoch from '2026-06-27 07:28:21'::timestamp) - extract(epoch from '2026-06-27 07:28:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032681 -2.811422)'), GeomFromEWKT('SRID=4674;POINT (-40.032524 -2.811198)'))) / (select extract(epoch from '2026-06-27 07:28:21'::timestamp) - extract(epoch from '2026-06-27 07:28: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'), 46942, 'SRID=4674;POINT (-40.032411 -2.811041)', '2026-06-27 07:28:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032524 -2.811198)'), GeomFromEWKT('SRID=4674;POINT (-40.032411 -2.811041)'))) / (select extract(epoch from '2026-06-27 07:28:31'::timestamp) - extract(epoch from '2026-06-27 07:28:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032524 -2.811198)'), GeomFromEWKT('SRID=4674;POINT (-40.032411 -2.811041)'))) / (select extract(epoch from '2026-06-27 07:28:31'::timestamp) - extract(epoch from '2026-06-27 07:28: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'), 46942, 'SRID=4674;POINT (-40.032232 -2.810782)', '2026-06-27 07:28:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032411 -2.811041)'), GeomFromEWKT('SRID=4674;POINT (-40.032232 -2.810782)'))) / (select extract(epoch from '2026-06-27 07:28:47'::timestamp) - extract(epoch from '2026-06-27 07:28:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032411 -2.811041)'), GeomFromEWKT('SRID=4674;POINT (-40.032232 -2.810782)'))) / (select extract(epoch from '2026-06-27 07:28:47'::timestamp) - extract(epoch from '2026-06-27 07: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'), 46942, 'SRID=4674;POINT (-40.032077 -2.81058)', '2026-06-27 07:29:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032232 -2.810782)'), GeomFromEWKT('SRID=4674;POINT (-40.032077 -2.81058)'))) / (select extract(epoch from '2026-06-27 07:29:00'::timestamp) - extract(epoch from '2026-06-27 07:28:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032232 -2.810782)'), GeomFromEWKT('SRID=4674;POINT (-40.032077 -2.81058)'))) / (select extract(epoch from '2026-06-27 07:29:00'::timestamp) - extract(epoch from '2026-06-27 07:28:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.031893 -2.810383)', '2026-06-27 07:29:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032077 -2.81058)'), GeomFromEWKT('SRID=4674;POINT (-40.031893 -2.810383)'))) / (select extract(epoch from '2026-06-27 07:29:14'::timestamp) - extract(epoch from '2026-06-27 07:29:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032077 -2.81058)'), GeomFromEWKT('SRID=4674;POINT (-40.031893 -2.810383)'))) / (select extract(epoch from '2026-06-27 07:29:14'::timestamp) - extract(epoch from '2026-06-27 07:29:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.031743 -2.810238)', '2026-06-27 07:29:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031893 -2.810383)'), GeomFromEWKT('SRID=4674;POINT (-40.031743 -2.810238)'))) / (select extract(epoch from '2026-06-27 07:29:25'::timestamp) - extract(epoch from '2026-06-27 07:29:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031893 -2.810383)'), GeomFromEWKT('SRID=4674;POINT (-40.031743 -2.810238)'))) / (select extract(epoch from '2026-06-27 07:29:25'::timestamp) - extract(epoch from '2026-06-27 07:29: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'), 46942, 'SRID=4674;POINT (-40.03157 -2.810016)', '2026-06-27 07:29:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031743 -2.810238)'), GeomFromEWKT('SRID=4674;POINT (-40.03157 -2.810016)'))) / (select extract(epoch from '2026-06-27 07:29:40'::timestamp) - extract(epoch from '2026-06-27 07:29:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031743 -2.810238)'), GeomFromEWKT('SRID=4674;POINT (-40.03157 -2.810016)'))) / (select extract(epoch from '2026-06-27 07:29:40'::timestamp) - extract(epoch from '2026-06-27 07:29: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'), 46942, 'SRID=4674;POINT (-40.03145 -2.809846)', '2026-06-27 07:29:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03157 -2.810016)'), GeomFromEWKT('SRID=4674;POINT (-40.03145 -2.809846)'))) / (select extract(epoch from '2026-06-27 07:29:51'::timestamp) - extract(epoch from '2026-06-27 07:29:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03157 -2.810016)'), GeomFromEWKT('SRID=4674;POINT (-40.03145 -2.809846)'))) / (select extract(epoch from '2026-06-27 07:29:51'::timestamp) - extract(epoch from '2026-06-27 07:29:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.031338 -2.809722)', '2026-06-27 07:30:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03145 -2.809846)'), GeomFromEWKT('SRID=4674;POINT (-40.031338 -2.809722)'))) / (select extract(epoch from '2026-06-27 07:30:00'::timestamp) - extract(epoch from '2026-06-27 07:29:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03145 -2.809846)'), GeomFromEWKT('SRID=4674;POINT (-40.031338 -2.809722)'))) / (select extract(epoch from '2026-06-27 07:30:00'::timestamp) - extract(epoch from '2026-06-27 07:29: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'), 46942, 'SRID=4674;POINT (-40.031219 -2.809656)', '2026-06-27 07:30:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031338 -2.809722)'), GeomFromEWKT('SRID=4674;POINT (-40.031219 -2.809656)'))) / (select extract(epoch from '2026-06-27 07:30:09'::timestamp) - extract(epoch from '2026-06-27 07:30:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031338 -2.809722)'), GeomFromEWKT('SRID=4674;POINT (-40.031219 -2.809656)'))) / (select extract(epoch from '2026-06-27 07:30:09'::timestamp) - extract(epoch from '2026-06-27 07:30: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'), 46942, 'SRID=4674;POINT (-40.031139 -2.809572)', '2026-06-27 07:30:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031219 -2.809656)'), GeomFromEWKT('SRID=4674;POINT (-40.031139 -2.809572)'))) / (select extract(epoch from '2026-06-27 07:30:19'::timestamp) - extract(epoch from '2026-06-27 07:30:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031219 -2.809656)'), GeomFromEWKT('SRID=4674;POINT (-40.031139 -2.809572)'))) / (select extract(epoch from '2026-06-27 07:30:19'::timestamp) - extract(epoch from '2026-06-27 07:30:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.03105 -2.809457)', '2026-06-27 07:30:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031139 -2.809572)'), GeomFromEWKT('SRID=4674;POINT (-40.03105 -2.809457)'))) / (select extract(epoch from '2026-06-27 07:30:30'::timestamp) - extract(epoch from '2026-06-27 07:30:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031139 -2.809572)'), GeomFromEWKT('SRID=4674;POINT (-40.03105 -2.809457)'))) / (select extract(epoch from '2026-06-27 07:30:30'::timestamp) - extract(epoch from '2026-06-27 07:30:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.030948 -2.809378)', '2026-06-27 07:30:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03105 -2.809457)'), GeomFromEWKT('SRID=4674;POINT (-40.030948 -2.809378)'))) / (select extract(epoch from '2026-06-27 07:30:40'::timestamp) - extract(epoch from '2026-06-27 07:30:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03105 -2.809457)'), GeomFromEWKT('SRID=4674;POINT (-40.030948 -2.809378)'))) / (select extract(epoch from '2026-06-27 07:30:40'::timestamp) - extract(epoch from '2026-06-27 07: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'), 46942, 'SRID=4674;POINT (-40.030865 -2.80931)', '2026-06-27 07:30:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030948 -2.809378)'), GeomFromEWKT('SRID=4674;POINT (-40.030865 -2.80931)'))) / (select extract(epoch from '2026-06-27 07:30:49'::timestamp) - extract(epoch from '2026-06-27 07:30:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030948 -2.809378)'), GeomFromEWKT('SRID=4674;POINT (-40.030865 -2.80931)'))) / (select extract(epoch from '2026-06-27 07:30:49'::timestamp) - extract(epoch from '2026-06-27 07:30: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'), 46942, 'SRID=4674;POINT (-40.030786 -2.809279)', '2026-06-27 07:30:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030865 -2.80931)'), GeomFromEWKT('SRID=4674;POINT (-40.030786 -2.809279)'))) / (select extract(epoch from '2026-06-27 07:30:59'::timestamp) - extract(epoch from '2026-06-27 07:30:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030865 -2.80931)'), GeomFromEWKT('SRID=4674;POINT (-40.030786 -2.809279)'))) / (select extract(epoch from '2026-06-27 07:30:59'::timestamp) - extract(epoch from '2026-06-27 07:30:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.030715 -2.809287)', '2026-06-27 07:31:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030786 -2.809279)'), GeomFromEWKT('SRID=4674;POINT (-40.030715 -2.809287)'))) / (select extract(epoch from '2026-06-27 07:31:18'::timestamp) - extract(epoch from '2026-06-27 07:30:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030786 -2.809279)'), GeomFromEWKT('SRID=4674;POINT (-40.030715 -2.809287)'))) / (select extract(epoch from '2026-06-27 07:31:18'::timestamp) - extract(epoch from '2026-06-27 07:30: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'), 46942, 'SRID=4674;POINT (-40.030689 -2.809293)', '2026-06-27 07:31:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030715 -2.809287)'), GeomFromEWKT('SRID=4674;POINT (-40.030689 -2.809293)'))) / (select extract(epoch from '2026-06-27 07:31:26'::timestamp) - extract(epoch from '2026-06-27 07:31:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030715 -2.809287)'), GeomFromEWKT('SRID=4674;POINT (-40.030689 -2.809293)'))) / (select extract(epoch from '2026-06-27 07:31:26'::timestamp) - extract(epoch from '2026-06-27 07:31: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'), 46942, 'SRID=4674;POINT (-40.030657 -2.809302)', '2026-06-27 07:31:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030689 -2.809293)'), GeomFromEWKT('SRID=4674;POINT (-40.030657 -2.809302)'))) / (select extract(epoch from '2026-06-27 07:31:35'::timestamp) - extract(epoch from '2026-06-27 07:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030689 -2.809293)'), GeomFromEWKT('SRID=4674;POINT (-40.030657 -2.809302)'))) / (select extract(epoch from '2026-06-27 07:31:35'::timestamp) - extract(epoch from '2026-06-27 07:31: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'), 46942, 'SRID=4674;POINT (-40.03062 -2.809318)', '2026-06-27 07:31:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030657 -2.809302)'), GeomFromEWKT('SRID=4674;POINT (-40.03062 -2.809318)'))) / (select extract(epoch from '2026-06-27 07:31:44'::timestamp) - extract(epoch from '2026-06-27 07:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030657 -2.809302)'), GeomFromEWKT('SRID=4674;POINT (-40.03062 -2.809318)'))) / (select extract(epoch from '2026-06-27 07:31:44'::timestamp) - extract(epoch from '2026-06-27 07:31: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'), 46942, 'SRID=4674;POINT (-40.030623 -2.809357)', '2026-06-27 07:31:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03062 -2.809318)'), GeomFromEWKT('SRID=4674;POINT (-40.030623 -2.809357)'))) / (select extract(epoch from '2026-06-27 07:31:55'::timestamp) - extract(epoch from '2026-06-27 07:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03062 -2.809318)'), GeomFromEWKT('SRID=4674;POINT (-40.030623 -2.809357)'))) / (select extract(epoch from '2026-06-27 07:31:55'::timestamp) - extract(epoch from '2026-06-27 07:31: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'), 46942, 'SRID=4674;POINT (-40.030707 -2.809378)', '2026-06-27 07:32:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030623 -2.809357)'), GeomFromEWKT('SRID=4674;POINT (-40.030707 -2.809378)'))) / (select extract(epoch from '2026-06-27 07:32:06'::timestamp) - extract(epoch from '2026-06-27 07:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030623 -2.809357)'), GeomFromEWKT('SRID=4674;POINT (-40.030707 -2.809378)'))) / (select extract(epoch from '2026-06-27 07:32:06'::timestamp) - extract(epoch from '2026-06-27 07:31: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'), 46942, 'SRID=4674;POINT (-40.030785 -2.809333)', '2026-06-27 07:32:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030707 -2.809378)'), GeomFromEWKT('SRID=4674;POINT (-40.030785 -2.809333)'))) / (select extract(epoch from '2026-06-27 07:32:14'::timestamp) - extract(epoch from '2026-06-27 07:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030707 -2.809378)'), GeomFromEWKT('SRID=4674;POINT (-40.030785 -2.809333)'))) / (select extract(epoch from '2026-06-27 07:32:14'::timestamp) - extract(epoch from '2026-06-27 07:32:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.030816 -2.809259)', '2026-06-27 07:32:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030785 -2.809333)'), GeomFromEWKT('SRID=4674;POINT (-40.030816 -2.809259)'))) / (select extract(epoch from '2026-06-27 07:32:23'::timestamp) - extract(epoch from '2026-06-27 07:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030785 -2.809333)'), GeomFromEWKT('SRID=4674;POINT (-40.030816 -2.809259)'))) / (select extract(epoch from '2026-06-27 07:32:23'::timestamp) - extract(epoch from '2026-06-27 07:32:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.030781 -2.809195)', '2026-06-27 07:32:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030816 -2.809259)'), GeomFromEWKT('SRID=4674;POINT (-40.030781 -2.809195)'))) / (select extract(epoch from '2026-06-27 07:32:37'::timestamp) - extract(epoch from '2026-06-27 07:32:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030816 -2.809259)'), GeomFromEWKT('SRID=4674;POINT (-40.030781 -2.809195)'))) / (select extract(epoch from '2026-06-27 07:32:37'::timestamp) - extract(epoch from '2026-06-27 07:32:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.030682 -2.809185)', '2026-06-27 07:32:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030781 -2.809195)'), GeomFromEWKT('SRID=4674;POINT (-40.030682 -2.809185)'))) / (select extract(epoch from '2026-06-27 07:32:48'::timestamp) - extract(epoch from '2026-06-27 07:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030781 -2.809195)'), GeomFromEWKT('SRID=4674;POINT (-40.030682 -2.809185)'))) / (select extract(epoch from '2026-06-27 07:32:48'::timestamp) - extract(epoch from '2026-06-27 07:32: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'), 46942, 'SRID=4674;POINT (-40.030559 -2.809198)', '2026-06-27 07:32:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030682 -2.809185)'), GeomFromEWKT('SRID=4674;POINT (-40.030559 -2.809198)'))) / (select extract(epoch from '2026-06-27 07:32:59'::timestamp) - extract(epoch from '2026-06-27 07:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030682 -2.809185)'), GeomFromEWKT('SRID=4674;POINT (-40.030559 -2.809198)'))) / (select extract(epoch from '2026-06-27 07:32:59'::timestamp) - extract(epoch from '2026-06-27 07:32: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'), 46942, 'SRID=4674;POINT (-40.030422 -2.809252)', '2026-06-27 07:33:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030559 -2.809198)'), GeomFromEWKT('SRID=4674;POINT (-40.030422 -2.809252)'))) / (select extract(epoch from '2026-06-27 07:33:11'::timestamp) - extract(epoch from '2026-06-27 07:32:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030559 -2.809198)'), GeomFromEWKT('SRID=4674;POINT (-40.030422 -2.809252)'))) / (select extract(epoch from '2026-06-27 07:33:11'::timestamp) - extract(epoch from '2026-06-27 07:32: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'), 46942, 'SRID=4674;POINT (-40.03029 -2.80935)', '2026-06-27 07:33:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030422 -2.809252)'), GeomFromEWKT('SRID=4674;POINT (-40.03029 -2.80935)'))) / (select extract(epoch from '2026-06-27 07:33:22'::timestamp) - extract(epoch from '2026-06-27 07:33:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030422 -2.809252)'), GeomFromEWKT('SRID=4674;POINT (-40.03029 -2.80935)'))) / (select extract(epoch from '2026-06-27 07:33:22'::timestamp) - extract(epoch from '2026-06-27 07:33: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'), 46942, 'SRID=4674;POINT (-40.030106 -2.809438)', '2026-06-27 07:33:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03029 -2.80935)'), GeomFromEWKT('SRID=4674;POINT (-40.030106 -2.809438)'))) / (select extract(epoch from '2026-06-27 07:33:34'::timestamp) - extract(epoch from '2026-06-27 07:33:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03029 -2.80935)'), GeomFromEWKT('SRID=4674;POINT (-40.030106 -2.809438)'))) / (select extract(epoch from '2026-06-27 07:33:34'::timestamp) - extract(epoch from '2026-06-27 07:33: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'), 46942, 'SRID=4674;POINT (-40.029976 -2.809519)', '2026-06-27 07:33:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030106 -2.809438)'), GeomFromEWKT('SRID=4674;POINT (-40.029976 -2.809519)'))) / (select extract(epoch from '2026-06-27 07:33:44'::timestamp) - extract(epoch from '2026-06-27 07:33:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030106 -2.809438)'), GeomFromEWKT('SRID=4674;POINT (-40.029976 -2.809519)'))) / (select extract(epoch from '2026-06-27 07:33:44'::timestamp) - extract(epoch from '2026-06-27 07:33: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'), 46942, 'SRID=4674;POINT (-40.029854 -2.80955)', '2026-06-27 07:33:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029976 -2.809519)'), GeomFromEWKT('SRID=4674;POINT (-40.029854 -2.80955)'))) / (select extract(epoch from '2026-06-27 07:33:53'::timestamp) - extract(epoch from '2026-06-27 07:33:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029976 -2.809519)'), GeomFromEWKT('SRID=4674;POINT (-40.029854 -2.80955)'))) / (select extract(epoch from '2026-06-27 07:33:53'::timestamp) - extract(epoch from '2026-06-27 07:33: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'), 46942, 'SRID=4674;POINT (-40.029751 -2.809578)', '2026-06-27 07:34:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029854 -2.80955)'), GeomFromEWKT('SRID=4674;POINT (-40.029751 -2.809578)'))) / (select extract(epoch from '2026-06-27 07:34:02'::timestamp) - extract(epoch from '2026-06-27 07:33:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029854 -2.80955)'), GeomFromEWKT('SRID=4674;POINT (-40.029751 -2.809578)'))) / (select extract(epoch from '2026-06-27 07:34:02'::timestamp) - extract(epoch from '2026-06-27 07:33: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'), 46942, 'SRID=4674;POINT (-40.029676 -2.809673)', '2026-06-27 07:34:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029751 -2.809578)'), GeomFromEWKT('SRID=4674;POINT (-40.029676 -2.809673)'))) / (select extract(epoch from '2026-06-27 07:34:15'::timestamp) - extract(epoch from '2026-06-27 07:34:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029751 -2.809578)'), GeomFromEWKT('SRID=4674;POINT (-40.029676 -2.809673)'))) / (select extract(epoch from '2026-06-27 07:34:15'::timestamp) - extract(epoch from '2026-06-27 07:34: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'), 46942, 'SRID=4674;POINT (-40.029666 -2.809695)', '2026-06-27 07:34:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029676 -2.809673)'), GeomFromEWKT('SRID=4674;POINT (-40.029666 -2.809695)'))) / (select extract(epoch from '2026-06-27 07:34:18'::timestamp) - extract(epoch from '2026-06-27 07:34:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029676 -2.809673)'), GeomFromEWKT('SRID=4674;POINT (-40.029666 -2.809695)'))) / (select extract(epoch from '2026-06-27 07:34:18'::timestamp) - extract(epoch from '2026-06-27 07:34: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'), 46942, 'SRID=4674;POINT (-40.029663 -2.809723)', '2026-06-27 07:34:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029666 -2.809695)'), GeomFromEWKT('SRID=4674;POINT (-40.029663 -2.809723)'))) / (select extract(epoch from '2026-06-27 07:34:22'::timestamp) - extract(epoch from '2026-06-27 07:34:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029666 -2.809695)'), GeomFromEWKT('SRID=4674;POINT (-40.029663 -2.809723)'))) / (select extract(epoch from '2026-06-27 07:34:22'::timestamp) - extract(epoch from '2026-06-27 07:34: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'), 46942, 'SRID=4674;POINT (-40.029659 -2.809776)', '2026-06-27 07:34:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029663 -2.809723)'), GeomFromEWKT('SRID=4674;POINT (-40.029659 -2.809776)'))) / (select extract(epoch from '2026-06-27 07:34:32'::timestamp) - extract(epoch from '2026-06-27 07:34:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029663 -2.809723)'), GeomFromEWKT('SRID=4674;POINT (-40.029659 -2.809776)'))) / (select extract(epoch from '2026-06-27 07:34:32'::timestamp) - extract(epoch from '2026-06-27 07:34:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.029654 -2.809802)', '2026-06-27 07:34:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029659 -2.809776)'), GeomFromEWKT('SRID=4674;POINT (-40.029654 -2.809802)'))) / (select extract(epoch from '2026-06-27 07:34:41'::timestamp) - extract(epoch from '2026-06-27 07:34:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029659 -2.809776)'), GeomFromEWKT('SRID=4674;POINT (-40.029654 -2.809802)'))) / (select extract(epoch from '2026-06-27 07:34:41'::timestamp) - extract(epoch from '2026-06-27 07:34:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.029619 -2.809849)', '2026-06-27 07:34:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029654 -2.809802)'), GeomFromEWKT('SRID=4674;POINT (-40.029619 -2.809849)'))) / (select extract(epoch from '2026-06-27 07:34:53'::timestamp) - extract(epoch from '2026-06-27 07:34:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029654 -2.809802)'), GeomFromEWKT('SRID=4674;POINT (-40.029619 -2.809849)'))) / (select extract(epoch from '2026-06-27 07:34:53'::timestamp) - extract(epoch from '2026-06-27 07: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'), 46942, 'SRID=4674;POINT (-40.029582 -2.809821)', '2026-06-27 07:34:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029619 -2.809849)'), GeomFromEWKT('SRID=4674;POINT (-40.029582 -2.809821)'))) / (select extract(epoch from '2026-06-27 07:34:59'::timestamp) - extract(epoch from '2026-06-27 07:34:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029619 -2.809849)'), GeomFromEWKT('SRID=4674;POINT (-40.029582 -2.809821)'))) / (select extract(epoch from '2026-06-27 07:34:59'::timestamp) - extract(epoch from '2026-06-27 07:34: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'), 46942, 'SRID=4674;POINT (-40.029572 -2.809793)', '2026-06-27 07:35:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029582 -2.809821)'), GeomFromEWKT('SRID=4674;POINT (-40.029572 -2.809793)'))) / (select extract(epoch from '2026-06-27 07:35:02'::timestamp) - extract(epoch from '2026-06-27 07:34:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029582 -2.809821)'), GeomFromEWKT('SRID=4674;POINT (-40.029572 -2.809793)'))) / (select extract(epoch from '2026-06-27 07:35:02'::timestamp) - extract(epoch from '2026-06-27 07:34: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'), 46942, 'SRID=4674;POINT (-40.029593 -2.809698)', '2026-06-27 07:35:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029572 -2.809793)'), GeomFromEWKT('SRID=4674;POINT (-40.029593 -2.809698)'))) / (select extract(epoch from '2026-06-27 07:35:12'::timestamp) - extract(epoch from '2026-06-27 07:35:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029572 -2.809793)'), GeomFromEWKT('SRID=4674;POINT (-40.029593 -2.809698)'))) / (select extract(epoch from '2026-06-27 07:35:12'::timestamp) - extract(epoch from '2026-06-27 07: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'), 46942, 'SRID=4674;POINT (-40.029648 -2.809637)', '2026-06-27 07:35:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029593 -2.809698)'), GeomFromEWKT('SRID=4674;POINT (-40.029648 -2.809637)'))) / (select extract(epoch from '2026-06-27 07:35:22'::timestamp) - extract(epoch from '2026-06-27 07:35:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029593 -2.809698)'), GeomFromEWKT('SRID=4674;POINT (-40.029648 -2.809637)'))) / (select extract(epoch from '2026-06-27 07:35:22'::timestamp) - extract(epoch from '2026-06-27 07:35:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.029727 -2.809558)', '2026-06-27 07:35:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029648 -2.809637)'), GeomFromEWKT('SRID=4674;POINT (-40.029727 -2.809558)'))) / (select extract(epoch from '2026-06-27 07:35:33'::timestamp) - extract(epoch from '2026-06-27 07:35:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029648 -2.809637)'), GeomFromEWKT('SRID=4674;POINT (-40.029727 -2.809558)'))) / (select extract(epoch from '2026-06-27 07:35:33'::timestamp) - extract(epoch from '2026-06-27 07:35: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'), 46942, 'SRID=4674;POINT (-40.029763 -2.809445)', '2026-06-27 07:35:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029727 -2.809558)'), GeomFromEWKT('SRID=4674;POINT (-40.029763 -2.809445)'))) / (select extract(epoch from '2026-06-27 07:35:41'::timestamp) - extract(epoch from '2026-06-27 07:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029727 -2.809558)'), GeomFromEWKT('SRID=4674;POINT (-40.029763 -2.809445)'))) / (select extract(epoch from '2026-06-27 07:35:41'::timestamp) - extract(epoch from '2026-06-27 07:35: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'), 46942, 'SRID=4674;POINT (-40.029714 -2.809286)', '2026-06-27 07:35:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029763 -2.809445)'), GeomFromEWKT('SRID=4674;POINT (-40.029714 -2.809286)'))) / (select extract(epoch from '2026-06-27 07:35:51'::timestamp) - extract(epoch from '2026-06-27 07:35:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029763 -2.809445)'), GeomFromEWKT('SRID=4674;POINT (-40.029714 -2.809286)'))) / (select extract(epoch from '2026-06-27 07:35:51'::timestamp) - extract(epoch from '2026-06-27 07:35: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'), 46942, 'SRID=4674;POINT (-40.029657 -2.809062)', '2026-06-27 07:36:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029714 -2.809286)'), GeomFromEWKT('SRID=4674;POINT (-40.029657 -2.809062)'))) / (select extract(epoch from '2026-06-27 07:36:04'::timestamp) - extract(epoch from '2026-06-27 07:35:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029714 -2.809286)'), GeomFromEWKT('SRID=4674;POINT (-40.029657 -2.809062)'))) / (select extract(epoch from '2026-06-27 07:36:04'::timestamp) - extract(epoch from '2026-06-27 07:35: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'), 46942, 'SRID=4674;POINT (-40.029626 -2.808883)', '2026-06-27 07:36:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029657 -2.809062)'), GeomFromEWKT('SRID=4674;POINT (-40.029626 -2.808883)'))) / (select extract(epoch from '2026-06-27 07:36:13'::timestamp) - extract(epoch from '2026-06-27 07:36:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029657 -2.809062)'), GeomFromEWKT('SRID=4674;POINT (-40.029626 -2.808883)'))) / (select extract(epoch from '2026-06-27 07:36:13'::timestamp) - extract(epoch from '2026-06-27 07:36: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'), 46942, 'SRID=4674;POINT (-40.029595 -2.808676)', '2026-06-27 07:36:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029626 -2.808883)'), GeomFromEWKT('SRID=4674;POINT (-40.029595 -2.808676)'))) / (select extract(epoch from '2026-06-27 07:36:23'::timestamp) - extract(epoch from '2026-06-27 07:36:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029626 -2.808883)'), GeomFromEWKT('SRID=4674;POINT (-40.029595 -2.808676)'))) / (select extract(epoch from '2026-06-27 07:36:23'::timestamp) - extract(epoch from '2026-06-27 07:36:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.029515 -2.80852)', '2026-06-27 07:36:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029595 -2.808676)'), GeomFromEWKT('SRID=4674;POINT (-40.029515 -2.80852)'))) / (select extract(epoch from '2026-06-27 07:36:32'::timestamp) - extract(epoch from '2026-06-27 07:36:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029595 -2.808676)'), GeomFromEWKT('SRID=4674;POINT (-40.029515 -2.80852)'))) / (select extract(epoch from '2026-06-27 07:36:32'::timestamp) - extract(epoch from '2026-06-27 07:36: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'), 46942, 'SRID=4674;POINT (-40.029417 -2.808387)', '2026-06-27 07:36:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029515 -2.80852)'), GeomFromEWKT('SRID=4674;POINT (-40.029417 -2.808387)'))) / (select extract(epoch from '2026-06-27 07:36:42'::timestamp) - extract(epoch from '2026-06-27 07:36:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029515 -2.80852)'), GeomFromEWKT('SRID=4674;POINT (-40.029417 -2.808387)'))) / (select extract(epoch from '2026-06-27 07:36:42'::timestamp) - extract(epoch from '2026-06-27 07:36: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'), 46942, 'SRID=4674;POINT (-40.029386 -2.808353)', '2026-06-27 07:36:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029417 -2.808387)'), GeomFromEWKT('SRID=4674;POINT (-40.029386 -2.808353)'))) / (select extract(epoch from '2026-06-27 07:36:46'::timestamp) - extract(epoch from '2026-06-27 07:36:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029417 -2.808387)'), GeomFromEWKT('SRID=4674;POINT (-40.029386 -2.808353)'))) / (select extract(epoch from '2026-06-27 07:36:46'::timestamp) - extract(epoch from '2026-06-27 07:36: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'), 46942, 'SRID=4674;POINT (-40.029372 -2.808349)', '2026-06-27 07:36:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029386 -2.808353)'), GeomFromEWKT('SRID=4674;POINT (-40.029372 -2.808349)'))) / (select extract(epoch from '2026-06-27 07:36:48'::timestamp) - extract(epoch from '2026-06-27 07:36:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029386 -2.808353)'), GeomFromEWKT('SRID=4674;POINT (-40.029372 -2.808349)'))) / (select extract(epoch from '2026-06-27 07:36:48'::timestamp) - extract(epoch from '2026-06-27 07:36: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'), 46942, 'SRID=4674;POINT (-40.029344 -2.808343)', '2026-06-27 07:36:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029372 -2.808349)'), GeomFromEWKT('SRID=4674;POINT (-40.029344 -2.808343)'))) / (select extract(epoch from '2026-06-27 07:36:53'::timestamp) - extract(epoch from '2026-06-27 07:36:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029372 -2.808349)'), GeomFromEWKT('SRID=4674;POINT (-40.029344 -2.808343)'))) / (select extract(epoch from '2026-06-27 07:36:53'::timestamp) - extract(epoch from '2026-06-27 07:36: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'), 46942, 'SRID=4674;POINT (-40.029293 -2.808355)', '2026-06-27 07:37:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029344 -2.808343)'), GeomFromEWKT('SRID=4674;POINT (-40.029293 -2.808355)'))) / (select extract(epoch from '2026-06-27 07:37:05'::timestamp) - extract(epoch from '2026-06-27 07:36:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029344 -2.808343)'), GeomFromEWKT('SRID=4674;POINT (-40.029293 -2.808355)'))) / (select extract(epoch from '2026-06-27 07:37:05'::timestamp) - extract(epoch from '2026-06-27 07:36: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'), 46942, 'SRID=4674;POINT (-40.029324 -2.808385)', '2026-06-27 07:37:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029293 -2.808355)'), GeomFromEWKT('SRID=4674;POINT (-40.029324 -2.808385)'))) / (select extract(epoch from '2026-06-27 07:37:17'::timestamp) - extract(epoch from '2026-06-27 07:37:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029293 -2.808355)'), GeomFromEWKT('SRID=4674;POINT (-40.029324 -2.808385)'))) / (select extract(epoch from '2026-06-27 07:37:17'::timestamp) - extract(epoch from '2026-06-27 07:37: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'), 46942, 'SRID=4674;POINT (-40.029336 -2.808452)', '2026-06-27 07:37:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029324 -2.808385)'), GeomFromEWKT('SRID=4674;POINT (-40.029336 -2.808452)'))) / (select extract(epoch from '2026-06-27 07:37:29'::timestamp) - extract(epoch from '2026-06-27 07:37:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029324 -2.808385)'), GeomFromEWKT('SRID=4674;POINT (-40.029336 -2.808452)'))) / (select extract(epoch from '2026-06-27 07:37:29'::timestamp) - extract(epoch from '2026-06-27 07:37: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'), 46942, 'SRID=4674;POINT (-40.029296 -2.808451)', '2026-06-27 07:37:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029336 -2.808452)'), GeomFromEWKT('SRID=4674;POINT (-40.029296 -2.808451)'))) / (select extract(epoch from '2026-06-27 07:37:46'::timestamp) - extract(epoch from '2026-06-27 07:37:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029336 -2.808452)'), GeomFromEWKT('SRID=4674;POINT (-40.029296 -2.808451)'))) / (select extract(epoch from '2026-06-27 07:37:46'::timestamp) - extract(epoch from '2026-06-27 07:37: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'), 46942, 'SRID=4674;POINT (-40.029306 -2.808374)', '2026-06-27 07:38:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029296 -2.808451)'), GeomFromEWKT('SRID=4674;POINT (-40.029306 -2.808374)'))) / (select extract(epoch from '2026-06-27 07:38:00'::timestamp) - extract(epoch from '2026-06-27 07:37:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029296 -2.808451)'), GeomFromEWKT('SRID=4674;POINT (-40.029306 -2.808374)'))) / (select extract(epoch from '2026-06-27 07:38:00'::timestamp) - extract(epoch from '2026-06-27 07:37: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'), 46942, 'SRID=4674;POINT (-40.029356 -2.808305)', '2026-06-27 07:38:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029306 -2.808374)'), GeomFromEWKT('SRID=4674;POINT (-40.029356 -2.808305)'))) / (select extract(epoch from '2026-06-27 07:38:13'::timestamp) - extract(epoch from '2026-06-27 07:38:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029306 -2.808374)'), GeomFromEWKT('SRID=4674;POINT (-40.029356 -2.808305)'))) / (select extract(epoch from '2026-06-27 07:38:13'::timestamp) - extract(epoch from '2026-06-27 07:38: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'), 46942, 'SRID=4674;POINT (-40.029425 -2.808231)', '2026-06-27 07:38:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029356 -2.808305)'), GeomFromEWKT('SRID=4674;POINT (-40.029425 -2.808231)'))) / (select extract(epoch from '2026-06-27 07:38:24'::timestamp) - extract(epoch from '2026-06-27 07:38:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029356 -2.808305)'), GeomFromEWKT('SRID=4674;POINT (-40.029425 -2.808231)'))) / (select extract(epoch from '2026-06-27 07:38:24'::timestamp) - extract(epoch from '2026-06-27 07:38:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.029438 -2.808093)', '2026-06-27 07:38:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029425 -2.808231)'), GeomFromEWKT('SRID=4674;POINT (-40.029438 -2.808093)'))) / (select extract(epoch from '2026-06-27 07:38:33'::timestamp) - extract(epoch from '2026-06-27 07:38:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029425 -2.808231)'), GeomFromEWKT('SRID=4674;POINT (-40.029438 -2.808093)'))) / (select extract(epoch from '2026-06-27 07:38:33'::timestamp) - extract(epoch from '2026-06-27 07:38: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'), 46942, 'SRID=4674;POINT (-40.029366 -2.807897)', '2026-06-27 07:38:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029438 -2.808093)'), GeomFromEWKT('SRID=4674;POINT (-40.029366 -2.807897)'))) / (select extract(epoch from '2026-06-27 07:38:44'::timestamp) - extract(epoch from '2026-06-27 07:38:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029438 -2.808093)'), GeomFromEWKT('SRID=4674;POINT (-40.029366 -2.807897)'))) / (select extract(epoch from '2026-06-27 07:38:44'::timestamp) - extract(epoch from '2026-06-27 07:38: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'), 46942, 'SRID=4674;POINT (-40.029295 -2.807752)', '2026-06-27 07:38:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029366 -2.807897)'), GeomFromEWKT('SRID=4674;POINT (-40.029295 -2.807752)'))) / (select extract(epoch from '2026-06-27 07:38:52'::timestamp) - extract(epoch from '2026-06-27 07:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029366 -2.807897)'), GeomFromEWKT('SRID=4674;POINT (-40.029295 -2.807752)'))) / (select extract(epoch from '2026-06-27 07:38:52'::timestamp) - extract(epoch from '2026-06-27 07:38: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'), 46942, 'SRID=4674;POINT (-40.029228 -2.807581)', '2026-06-27 07:39:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029295 -2.807752)'), GeomFromEWKT('SRID=4674;POINT (-40.029228 -2.807581)'))) / (select extract(epoch from '2026-06-27 07:39:01'::timestamp) - extract(epoch from '2026-06-27 07:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029295 -2.807752)'), GeomFromEWKT('SRID=4674;POINT (-40.029228 -2.807581)'))) / (select extract(epoch from '2026-06-27 07:39:01'::timestamp) - extract(epoch from '2026-06-27 07:38:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.029172 -2.807411)', '2026-06-27 07:39:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029228 -2.807581)'), GeomFromEWKT('SRID=4674;POINT (-40.029172 -2.807411)'))) / (select extract(epoch from '2026-06-27 07:39:10'::timestamp) - extract(epoch from '2026-06-27 07:39:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029228 -2.807581)'), GeomFromEWKT('SRID=4674;POINT (-40.029172 -2.807411)'))) / (select extract(epoch from '2026-06-27 07:39:10'::timestamp) - extract(epoch from '2026-06-27 07:39: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'), 46942, 'SRID=4674;POINT (-40.029108 -2.807336)', '2026-06-27 07:39:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029172 -2.807411)'), GeomFromEWKT('SRID=4674;POINT (-40.029108 -2.807336)'))) / (select extract(epoch from '2026-06-27 07:39:17'::timestamp) - extract(epoch from '2026-06-27 07:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029172 -2.807411)'), GeomFromEWKT('SRID=4674;POINT (-40.029108 -2.807336)'))) / (select extract(epoch from '2026-06-27 07:39:17'::timestamp) - extract(epoch from '2026-06-27 07:39:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.028997 -2.807276)', '2026-06-27 07:39:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029108 -2.807336)'), GeomFromEWKT('SRID=4674;POINT (-40.028997 -2.807276)'))) / (select extract(epoch from '2026-06-27 07:39:28'::timestamp) - extract(epoch from '2026-06-27 07:39:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029108 -2.807336)'), GeomFromEWKT('SRID=4674;POINT (-40.028997 -2.807276)'))) / (select extract(epoch from '2026-06-27 07:39:28'::timestamp) - extract(epoch from '2026-06-27 07:39:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.028947 -2.807196)', '2026-06-27 07:39:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028997 -2.807276)'), GeomFromEWKT('SRID=4674;POINT (-40.028947 -2.807196)'))) / (select extract(epoch from '2026-06-27 07:39:38'::timestamp) - extract(epoch from '2026-06-27 07:39:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028997 -2.807276)'), GeomFromEWKT('SRID=4674;POINT (-40.028947 -2.807196)'))) / (select extract(epoch from '2026-06-27 07:39:38'::timestamp) - extract(epoch from '2026-06-27 07:39:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.028928 -2.807098)', '2026-06-27 07:39:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028947 -2.807196)'), GeomFromEWKT('SRID=4674;POINT (-40.028928 -2.807098)'))) / (select extract(epoch from '2026-06-27 07:39:49'::timestamp) - extract(epoch from '2026-06-27 07:39:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028947 -2.807196)'), GeomFromEWKT('SRID=4674;POINT (-40.028928 -2.807098)'))) / (select extract(epoch from '2026-06-27 07:39:49'::timestamp) - extract(epoch from '2026-06-27 07:39:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.028897 -2.807067)', '2026-06-27 07:39:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028928 -2.807098)'), GeomFromEWKT('SRID=4674;POINT (-40.028897 -2.807067)'))) / (select extract(epoch from '2026-06-27 07:39:56'::timestamp) - extract(epoch from '2026-06-27 07:39:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028928 -2.807098)'), GeomFromEWKT('SRID=4674;POINT (-40.028897 -2.807067)'))) / (select extract(epoch from '2026-06-27 07:39:56'::timestamp) - extract(epoch from '2026-06-27 07:39: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'), 46942, 'SRID=4674;POINT (-40.028833 -2.807044)', '2026-06-27 07:40:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028897 -2.807067)'), GeomFromEWKT('SRID=4674;POINT (-40.028833 -2.807044)'))) / (select extract(epoch from '2026-06-27 07:40:08'::timestamp) - extract(epoch from '2026-06-27 07:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028897 -2.807067)'), GeomFromEWKT('SRID=4674;POINT (-40.028833 -2.807044)'))) / (select extract(epoch from '2026-06-27 07:40:08'::timestamp) - extract(epoch from '2026-06-27 07:39: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'), 46942, 'SRID=4674;POINT (-40.028801 -2.807105)', '2026-06-27 07:40:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028833 -2.807044)'), GeomFromEWKT('SRID=4674;POINT (-40.028801 -2.807105)'))) / (select extract(epoch from '2026-06-27 07:40:16'::timestamp) - extract(epoch from '2026-06-27 07:40:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028833 -2.807044)'), GeomFromEWKT('SRID=4674;POINT (-40.028801 -2.807105)'))) / (select extract(epoch from '2026-06-27 07:40:16'::timestamp) - extract(epoch from '2026-06-27 07:40: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'), 46942, 'SRID=4674;POINT (-40.028841 -2.807172)', '2026-06-27 07:40:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028801 -2.807105)'), GeomFromEWKT('SRID=4674;POINT (-40.028841 -2.807172)'))) / (select extract(epoch from '2026-06-27 07:40:24'::timestamp) - extract(epoch from '2026-06-27 07:40:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028801 -2.807105)'), GeomFromEWKT('SRID=4674;POINT (-40.028841 -2.807172)'))) / (select extract(epoch from '2026-06-27 07:40:24'::timestamp) - extract(epoch from '2026-06-27 07:40:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.028867 -2.807193)', '2026-06-27 07:40:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028841 -2.807172)'), GeomFromEWKT('SRID=4674;POINT (-40.028867 -2.807193)'))) / (select extract(epoch from '2026-06-27 07:40:28'::timestamp) - extract(epoch from '2026-06-27 07:40:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028841 -2.807172)'), GeomFromEWKT('SRID=4674;POINT (-40.028867 -2.807193)'))) / (select extract(epoch from '2026-06-27 07:40:28'::timestamp) - extract(epoch from '2026-06-27 07:40: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'), 46942, 'SRID=4674;POINT (-40.028888 -2.807207)', '2026-06-27 07:40:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028867 -2.807193)'), GeomFromEWKT('SRID=4674;POINT (-40.028888 -2.807207)'))) / (select extract(epoch from '2026-06-27 07:40:31'::timestamp) - extract(epoch from '2026-06-27 07:40:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028867 -2.807193)'), GeomFromEWKT('SRID=4674;POINT (-40.028888 -2.807207)'))) / (select extract(epoch from '2026-06-27 07:40:31'::timestamp) - extract(epoch from '2026-06-27 07:40:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.028943 -2.807241)', '2026-06-27 07:40:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028888 -2.807207)'), GeomFromEWKT('SRID=4674;POINT (-40.028943 -2.807241)'))) / (select extract(epoch from '2026-06-27 07:40:42'::timestamp) - extract(epoch from '2026-06-27 07:40:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028888 -2.807207)'), GeomFromEWKT('SRID=4674;POINT (-40.028943 -2.807241)'))) / (select extract(epoch from '2026-06-27 07:40:42'::timestamp) - extract(epoch from '2026-06-27 07:40: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'), 46942, 'SRID=4674;POINT (-40.028979 -2.807314)', '2026-06-27 07:40:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028943 -2.807241)'), GeomFromEWKT('SRID=4674;POINT (-40.028979 -2.807314)'))) / (select extract(epoch from '2026-06-27 07:40:56'::timestamp) - extract(epoch from '2026-06-27 07:40:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028943 -2.807241)'), GeomFromEWKT('SRID=4674;POINT (-40.028979 -2.807314)'))) / (select extract(epoch from '2026-06-27 07:40:56'::timestamp) - extract(epoch from '2026-06-27 07:40: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'), 46942, 'SRID=4674;POINT (-40.028936 -2.807345)', '2026-06-27 07:41:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028979 -2.807314)'), GeomFromEWKT('SRID=4674;POINT (-40.028936 -2.807345)'))) / (select extract(epoch from '2026-06-27 07:41:03'::timestamp) - extract(epoch from '2026-06-27 07:40:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028979 -2.807314)'), GeomFromEWKT('SRID=4674;POINT (-40.028936 -2.807345)'))) / (select extract(epoch from '2026-06-27 07:41:03'::timestamp) - extract(epoch from '2026-06-27 07:40: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'), 46942, 'SRID=4674;POINT (-40.028925 -2.807344)', '2026-06-27 07:41:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028936 -2.807345)'), GeomFromEWKT('SRID=4674;POINT (-40.028925 -2.807344)'))) / (select extract(epoch from '2026-06-27 07:41:04'::timestamp) - extract(epoch from '2026-06-27 07:41:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028936 -2.807345)'), GeomFromEWKT('SRID=4674;POINT (-40.028925 -2.807344)'))) / (select extract(epoch from '2026-06-27 07:41:04'::timestamp) - extract(epoch from '2026-06-27 07:41: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'), 46942, 'SRID=4674;POINT (-40.028857 -2.807272)', '2026-06-27 07:41:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028925 -2.807344)'), GeomFromEWKT('SRID=4674;POINT (-40.028857 -2.807272)'))) / (select extract(epoch from '2026-06-27 07:41:12'::timestamp) - extract(epoch from '2026-06-27 07:41:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028925 -2.807344)'), GeomFromEWKT('SRID=4674;POINT (-40.028857 -2.807272)'))) / (select extract(epoch from '2026-06-27 07:41:12'::timestamp) - extract(epoch from '2026-06-27 07:41:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.028818 -2.807157)', '2026-06-27 07:41:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028857 -2.807272)'), GeomFromEWKT('SRID=4674;POINT (-40.028818 -2.807157)'))) / (select extract(epoch from '2026-06-27 07:41:20'::timestamp) - extract(epoch from '2026-06-27 07:41:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028857 -2.807272)'), GeomFromEWKT('SRID=4674;POINT (-40.028818 -2.807157)'))) / (select extract(epoch from '2026-06-27 07:41:20'::timestamp) - extract(epoch from '2026-06-27 07:41:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.028777 -2.806981)', '2026-06-27 07:41:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028818 -2.807157)'), GeomFromEWKT('SRID=4674;POINT (-40.028777 -2.806981)'))) / (select extract(epoch from '2026-06-27 07:41:30'::timestamp) - extract(epoch from '2026-06-27 07:41:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028818 -2.807157)'), GeomFromEWKT('SRID=4674;POINT (-40.028777 -2.806981)'))) / (select extract(epoch from '2026-06-27 07:41:30'::timestamp) - extract(epoch from '2026-06-27 07:41: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'), 46942, 'SRID=4674;POINT (-40.028745 -2.806797)', '2026-06-27 07:41:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028777 -2.806981)'), GeomFromEWKT('SRID=4674;POINT (-40.028745 -2.806797)'))) / (select extract(epoch from '2026-06-27 07:41:40'::timestamp) - extract(epoch from '2026-06-27 07:41:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028777 -2.806981)'), GeomFromEWKT('SRID=4674;POINT (-40.028745 -2.806797)'))) / (select extract(epoch from '2026-06-27 07:41:40'::timestamp) - extract(epoch from '2026-06-27 07:41: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'), 46942, 'SRID=4674;POINT (-40.02867 -2.806607)', '2026-06-27 07:41:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028745 -2.806797)'), GeomFromEWKT('SRID=4674;POINT (-40.02867 -2.806607)'))) / (select extract(epoch from '2026-06-27 07:41:51'::timestamp) - extract(epoch from '2026-06-27 07:41:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028745 -2.806797)'), GeomFromEWKT('SRID=4674;POINT (-40.02867 -2.806607)'))) / (select extract(epoch from '2026-06-27 07:41:51'::timestamp) - extract(epoch from '2026-06-27 07:41:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.028576 -2.806415)', '2026-06-27 07:42:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02867 -2.806607)'), GeomFromEWKT('SRID=4674;POINT (-40.028576 -2.806415)'))) / (select extract(epoch from '2026-06-27 07:42:02'::timestamp) - extract(epoch from '2026-06-27 07:41:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02867 -2.806607)'), GeomFromEWKT('SRID=4674;POINT (-40.028576 -2.806415)'))) / (select extract(epoch from '2026-06-27 07:42:02'::timestamp) - extract(epoch from '2026-06-27 07:41: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'), 46942, 'SRID=4674;POINT (-40.028509 -2.806256)', '2026-06-27 07:42:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028576 -2.806415)'), GeomFromEWKT('SRID=4674;POINT (-40.028509 -2.806256)'))) / (select extract(epoch from '2026-06-27 07:42:11'::timestamp) - extract(epoch from '2026-06-27 07:42:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028576 -2.806415)'), GeomFromEWKT('SRID=4674;POINT (-40.028509 -2.806256)'))) / (select extract(epoch from '2026-06-27 07:42:11'::timestamp) - extract(epoch from '2026-06-27 07:42: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'), 46942, 'SRID=4674;POINT (-40.02845 -2.806149)', '2026-06-27 07:42:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028509 -2.806256)'), GeomFromEWKT('SRID=4674;POINT (-40.02845 -2.806149)'))) / (select extract(epoch from '2026-06-27 07:42:19'::timestamp) - extract(epoch from '2026-06-27 07:42:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028509 -2.806256)'), GeomFromEWKT('SRID=4674;POINT (-40.02845 -2.806149)'))) / (select extract(epoch from '2026-06-27 07:42:19'::timestamp) - extract(epoch from '2026-06-27 07:42:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.028392 -2.80611)', '2026-06-27 07:42:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02845 -2.806149)'), GeomFromEWKT('SRID=4674;POINT (-40.028392 -2.80611)'))) / (select extract(epoch from '2026-06-27 07:42:28'::timestamp) - extract(epoch from '2026-06-27 07:42:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02845 -2.806149)'), GeomFromEWKT('SRID=4674;POINT (-40.028392 -2.80611)'))) / (select extract(epoch from '2026-06-27 07:42:28'::timestamp) - extract(epoch from '2026-06-27 07:42: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'), 46942, 'SRID=4674;POINT (-40.028342 -2.806087)', '2026-06-27 07:42:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028392 -2.80611)'), GeomFromEWKT('SRID=4674;POINT (-40.028342 -2.806087)'))) / (select extract(epoch from '2026-06-27 07:42:38'::timestamp) - extract(epoch from '2026-06-27 07:42:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028392 -2.80611)'), GeomFromEWKT('SRID=4674;POINT (-40.028342 -2.806087)'))) / (select extract(epoch from '2026-06-27 07:42:38'::timestamp) - extract(epoch from '2026-06-27 07:42:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.02831 -2.806085)', '2026-06-27 07:42:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028342 -2.806087)'), GeomFromEWKT('SRID=4674;POINT (-40.02831 -2.806085)'))) / (select extract(epoch from '2026-06-27 07:42:50'::timestamp) - extract(epoch from '2026-06-27 07:42:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028342 -2.806087)'), GeomFromEWKT('SRID=4674;POINT (-40.02831 -2.806085)'))) / (select extract(epoch from '2026-06-27 07:42:50'::timestamp) - extract(epoch from '2026-06-27 07:42: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'), 46942, 'SRID=4674;POINT (-40.028346 -2.80611)', '2026-06-27 07:43:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02831 -2.806085)'), GeomFromEWKT('SRID=4674;POINT (-40.028346 -2.80611)'))) / (select extract(epoch from '2026-06-27 07:43:01'::timestamp) - extract(epoch from '2026-06-27 07:42:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02831 -2.806085)'), GeomFromEWKT('SRID=4674;POINT (-40.028346 -2.80611)'))) / (select extract(epoch from '2026-06-27 07:43:01'::timestamp) - extract(epoch from '2026-06-27 07:42:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.028375 -2.806116)', '2026-06-27 07:43:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028346 -2.80611)'), GeomFromEWKT('SRID=4674;POINT (-40.028375 -2.806116)'))) / (select extract(epoch from '2026-06-27 07:43:04'::timestamp) - extract(epoch from '2026-06-27 07:43:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028346 -2.80611)'), GeomFromEWKT('SRID=4674;POINT (-40.028375 -2.806116)'))) / (select extract(epoch from '2026-06-27 07:43:04'::timestamp) - extract(epoch from '2026-06-27 07:43: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'), 46942, 'SRID=4674;POINT (-40.028424 -2.8061)', '2026-06-27 07:43:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028375 -2.806116)'), GeomFromEWKT('SRID=4674;POINT (-40.028424 -2.8061)'))) / (select extract(epoch from '2026-06-27 07:43:08'::timestamp) - extract(epoch from '2026-06-27 07:43:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028375 -2.806116)'), GeomFromEWKT('SRID=4674;POINT (-40.028424 -2.8061)'))) / (select extract(epoch from '2026-06-27 07:43:08'::timestamp) - extract(epoch from '2026-06-27 07:43: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'), 46942, 'SRID=4674;POINT (-40.028476 -2.806012)', '2026-06-27 07:43:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028424 -2.8061)'), GeomFromEWKT('SRID=4674;POINT (-40.028476 -2.806012)'))) / (select extract(epoch from '2026-06-27 07:43:15'::timestamp) - extract(epoch from '2026-06-27 07:43:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028424 -2.8061)'), GeomFromEWKT('SRID=4674;POINT (-40.028476 -2.806012)'))) / (select extract(epoch from '2026-06-27 07:43:15'::timestamp) - extract(epoch from '2026-06-27 07:43:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.028436 -2.805889)', '2026-06-27 07:43:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028476 -2.806012)'), GeomFromEWKT('SRID=4674;POINT (-40.028436 -2.805889)'))) / (select extract(epoch from '2026-06-27 07:43:23'::timestamp) - extract(epoch from '2026-06-27 07:43:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028476 -2.806012)'), GeomFromEWKT('SRID=4674;POINT (-40.028436 -2.805889)'))) / (select extract(epoch from '2026-06-27 07:43:23'::timestamp) - extract(epoch from '2026-06-27 07:43:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.028335 -2.805707)', '2026-06-27 07:43:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028436 -2.805889)'), GeomFromEWKT('SRID=4674;POINT (-40.028335 -2.805707)'))) / (select extract(epoch from '2026-06-27 07:43:34'::timestamp) - extract(epoch from '2026-06-27 07:43:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028436 -2.805889)'), GeomFromEWKT('SRID=4674;POINT (-40.028335 -2.805707)'))) / (select extract(epoch from '2026-06-27 07:43:34'::timestamp) - extract(epoch from '2026-06-27 07:43: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'), 46942, 'SRID=4674;POINT (-40.028255 -2.805598)', '2026-06-27 07:43:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028335 -2.805707)'), GeomFromEWKT('SRID=4674;POINT (-40.028255 -2.805598)'))) / (select extract(epoch from '2026-06-27 07:43:42'::timestamp) - extract(epoch from '2026-06-27 07:43:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028335 -2.805707)'), GeomFromEWKT('SRID=4674;POINT (-40.028255 -2.805598)'))) / (select extract(epoch from '2026-06-27 07:43:42'::timestamp) - extract(epoch from '2026-06-27 07:43: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'), 46942, 'SRID=4674;POINT (-40.028144 -2.805502)', '2026-06-27 07:43:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028255 -2.805598)'), GeomFromEWKT('SRID=4674;POINT (-40.028144 -2.805502)'))) / (select extract(epoch from '2026-06-27 07:43:54'::timestamp) - extract(epoch from '2026-06-27 07:43:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028255 -2.805598)'), GeomFromEWKT('SRID=4674;POINT (-40.028144 -2.805502)'))) / (select extract(epoch from '2026-06-27 07:43:54'::timestamp) - extract(epoch from '2026-06-27 07:43: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'), 46942, 'SRID=4674;POINT (-40.028028 -2.8054)', '2026-06-27 07:44:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028144 -2.805502)'), GeomFromEWKT('SRID=4674;POINT (-40.028028 -2.8054)'))) / (select extract(epoch from '2026-06-27 07:44:06'::timestamp) - extract(epoch from '2026-06-27 07:43:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028144 -2.805502)'), GeomFromEWKT('SRID=4674;POINT (-40.028028 -2.8054)'))) / (select extract(epoch from '2026-06-27 07:44:06'::timestamp) - extract(epoch from '2026-06-27 07:43: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'), 46942, 'SRID=4674;POINT (-40.027905 -2.805367)', '2026-06-27 07:44:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028028 -2.8054)'), GeomFromEWKT('SRID=4674;POINT (-40.027905 -2.805367)'))) / (select extract(epoch from '2026-06-27 07:44:16'::timestamp) - extract(epoch from '2026-06-27 07:44:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028028 -2.8054)'), GeomFromEWKT('SRID=4674;POINT (-40.027905 -2.805367)'))) / (select extract(epoch from '2026-06-27 07:44:16'::timestamp) - extract(epoch from '2026-06-27 07:44: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'), 46942, 'SRID=4674;POINT (-40.027763 -2.805322)', '2026-06-27 07:44:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027905 -2.805367)'), GeomFromEWKT('SRID=4674;POINT (-40.027763 -2.805322)'))) / (select extract(epoch from '2026-06-27 07:44:28'::timestamp) - extract(epoch from '2026-06-27 07:44:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027905 -2.805367)'), GeomFromEWKT('SRID=4674;POINT (-40.027763 -2.805322)'))) / (select extract(epoch from '2026-06-27 07:44:28'::timestamp) - extract(epoch from '2026-06-27 07:44:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.027644 -2.805258)', '2026-06-27 07:44:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027763 -2.805322)'), GeomFromEWKT('SRID=4674;POINT (-40.027644 -2.805258)'))) / (select extract(epoch from '2026-06-27 07:44:40'::timestamp) - extract(epoch from '2026-06-27 07:44:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027763 -2.805322)'), GeomFromEWKT('SRID=4674;POINT (-40.027644 -2.805258)'))) / (select extract(epoch from '2026-06-27 07:44:40'::timestamp) - extract(epoch from '2026-06-27 07:44:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.027587 -2.805226)', '2026-06-27 07:44:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027644 -2.805258)'), GeomFromEWKT('SRID=4674;POINT (-40.027587 -2.805226)'))) / (select extract(epoch from '2026-06-27 07:44:50'::timestamp) - extract(epoch from '2026-06-27 07:44:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027644 -2.805258)'), GeomFromEWKT('SRID=4674;POINT (-40.027587 -2.805226)'))) / (select extract(epoch from '2026-06-27 07:44:50'::timestamp) - extract(epoch from '2026-06-27 07:44: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'), 46942, 'SRID=4674;POINT (-40.027515 -2.805197)', '2026-06-27 07:45:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027587 -2.805226)'), GeomFromEWKT('SRID=4674;POINT (-40.027515 -2.805197)'))) / (select extract(epoch from '2026-06-27 07:45:10'::timestamp) - extract(epoch from '2026-06-27 07:44:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027587 -2.805226)'), GeomFromEWKT('SRID=4674;POINT (-40.027515 -2.805197)'))) / (select extract(epoch from '2026-06-27 07:45:10'::timestamp) - extract(epoch from '2026-06-27 07:44: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'), 46942, 'SRID=4674;POINT (-40.027491 -2.805192)', '2026-06-27 07:45:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027515 -2.805197)'), GeomFromEWKT('SRID=4674;POINT (-40.027491 -2.805192)'))) / (select extract(epoch from '2026-06-27 07:45:16'::timestamp) - extract(epoch from '2026-06-27 07:45:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027515 -2.805197)'), GeomFromEWKT('SRID=4674;POINT (-40.027491 -2.805192)'))) / (select extract(epoch from '2026-06-27 07:45:16'::timestamp) - extract(epoch from '2026-06-27 07:45: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'), 46942, 'SRID=4674;POINT (-40.027517 -2.805233)', '2026-06-27 07:45:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027491 -2.805192)'), GeomFromEWKT('SRID=4674;POINT (-40.027517 -2.805233)'))) / (select extract(epoch from '2026-06-27 07:45:27'::timestamp) - extract(epoch from '2026-06-27 07:45:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027491 -2.805192)'), GeomFromEWKT('SRID=4674;POINT (-40.027517 -2.805233)'))) / (select extract(epoch from '2026-06-27 07:45:27'::timestamp) - extract(epoch from '2026-06-27 07:45:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.027577 -2.805231)', '2026-06-27 07:45:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027517 -2.805233)'), GeomFromEWKT('SRID=4674;POINT (-40.027577 -2.805231)'))) / (select extract(epoch from '2026-06-27 07:45:37'::timestamp) - extract(epoch from '2026-06-27 07:45:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027517 -2.805233)'), GeomFromEWKT('SRID=4674;POINT (-40.027577 -2.805231)'))) / (select extract(epoch from '2026-06-27 07:45:37'::timestamp) - extract(epoch from '2026-06-27 07:45:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.02759 -2.805225)', '2026-06-27 07:45:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027577 -2.805231)'), GeomFromEWKT('SRID=4674;POINT (-40.02759 -2.805225)'))) / (select extract(epoch from '2026-06-27 07:45:39'::timestamp) - extract(epoch from '2026-06-27 07:45:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027577 -2.805231)'), GeomFromEWKT('SRID=4674;POINT (-40.02759 -2.805225)'))) / (select extract(epoch from '2026-06-27 07:45:39'::timestamp) - extract(epoch from '2026-06-27 07:45: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'), 46942, 'SRID=4674;POINT (-40.027672 -2.805188)', '2026-06-27 07:45:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02759 -2.805225)'), GeomFromEWKT('SRID=4674;POINT (-40.027672 -2.805188)'))) / (select extract(epoch from '2026-06-27 07:45:49'::timestamp) - extract(epoch from '2026-06-27 07:45:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02759 -2.805225)'), GeomFromEWKT('SRID=4674;POINT (-40.027672 -2.805188)'))) / (select extract(epoch from '2026-06-27 07:45:49'::timestamp) - extract(epoch from '2026-06-27 07:45: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'), 46942, 'SRID=4674;POINT (-40.027704 -2.80509)', '2026-06-27 07:45:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027672 -2.805188)'), GeomFromEWKT('SRID=4674;POINT (-40.027704 -2.80509)'))) / (select extract(epoch from '2026-06-27 07:45:56'::timestamp) - extract(epoch from '2026-06-27 07:45:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027672 -2.805188)'), GeomFromEWKT('SRID=4674;POINT (-40.027704 -2.80509)'))) / (select extract(epoch from '2026-06-27 07:45:56'::timestamp) - extract(epoch from '2026-06-27 07:45: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'), 46942, 'SRID=4674;POINT (-40.02766 -2.804953)', '2026-06-27 07:46:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027704 -2.80509)'), GeomFromEWKT('SRID=4674;POINT (-40.02766 -2.804953)'))) / (select extract(epoch from '2026-06-27 07:46:04'::timestamp) - extract(epoch from '2026-06-27 07:45:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027704 -2.80509)'), GeomFromEWKT('SRID=4674;POINT (-40.02766 -2.804953)'))) / (select extract(epoch from '2026-06-27 07:46:04'::timestamp) - extract(epoch from '2026-06-27 07:45: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'), 46942, 'SRID=4674;POINT (-40.027615 -2.804793)', '2026-06-27 07:46:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02766 -2.804953)'), GeomFromEWKT('SRID=4674;POINT (-40.027615 -2.804793)'))) / (select extract(epoch from '2026-06-27 07:46:13'::timestamp) - extract(epoch from '2026-06-27 07:46:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02766 -2.804953)'), GeomFromEWKT('SRID=4674;POINT (-40.027615 -2.804793)'))) / (select extract(epoch from '2026-06-27 07:46:13'::timestamp) - extract(epoch from '2026-06-27 07:46: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'), 46942, 'SRID=4674;POINT (-40.02765 -2.804732)', '2026-06-27 07:46:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027615 -2.804793)'), GeomFromEWKT('SRID=4674;POINT (-40.02765 -2.804732)'))) / (select extract(epoch from '2026-06-27 07:46:18'::timestamp) - extract(epoch from '2026-06-27 07:46:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027615 -2.804793)'), GeomFromEWKT('SRID=4674;POINT (-40.02765 -2.804732)'))) / (select extract(epoch from '2026-06-27 07:46:18'::timestamp) - extract(epoch from '2026-06-27 07:46: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'), 46942, 'SRID=4674;POINT (-40.02772 -2.804742)', '2026-06-27 07:46:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02765 -2.804732)'), GeomFromEWKT('SRID=4674;POINT (-40.02772 -2.804742)'))) / (select extract(epoch from '2026-06-27 07:46:24'::timestamp) - extract(epoch from '2026-06-27 07:46:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02765 -2.804732)'), GeomFromEWKT('SRID=4674;POINT (-40.02772 -2.804742)'))) / (select extract(epoch from '2026-06-27 07:46:24'::timestamp) - extract(epoch from '2026-06-27 07:46: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'), 46942, 'SRID=4674;POINT (-40.02773 -2.804807)', '2026-06-27 07:46:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02772 -2.804742)'), GeomFromEWKT('SRID=4674;POINT (-40.02773 -2.804807)'))) / (select extract(epoch from '2026-06-27 07:46:31'::timestamp) - extract(epoch from '2026-06-27 07:46:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02772 -2.804742)'), GeomFromEWKT('SRID=4674;POINT (-40.02773 -2.804807)'))) / (select extract(epoch from '2026-06-27 07:46:31'::timestamp) - extract(epoch from '2026-06-27 07:46: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'), 46942, 'SRID=4674;POINT (-40.027684 -2.804831)', '2026-06-27 07:46:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02773 -2.804807)'), GeomFromEWKT('SRID=4674;POINT (-40.027684 -2.804831)'))) / (select extract(epoch from '2026-06-27 07:46:41'::timestamp) - extract(epoch from '2026-06-27 07:46:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02773 -2.804807)'), GeomFromEWKT('SRID=4674;POINT (-40.027684 -2.804831)'))) / (select extract(epoch from '2026-06-27 07:46:41'::timestamp) - extract(epoch from '2026-06-27 07:46: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'), 46942, 'SRID=4674;POINT (-40.027666 -2.804822)', '2026-06-27 07:46:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027684 -2.804831)'), GeomFromEWKT('SRID=4674;POINT (-40.027666 -2.804822)'))) / (select extract(epoch from '2026-06-27 07:46:47'::timestamp) - extract(epoch from '2026-06-27 07:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027684 -2.804831)'), GeomFromEWKT('SRID=4674;POINT (-40.027666 -2.804822)'))) / (select extract(epoch from '2026-06-27 07:46:47'::timestamp) - extract(epoch from '2026-06-27 07:46: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'), 46942, 'SRID=4674;POINT (-40.027615 -2.804781)', '2026-06-27 07:46:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027666 -2.804822)'), GeomFromEWKT('SRID=4674;POINT (-40.027615 -2.804781)'))) / (select extract(epoch from '2026-06-27 07:46:59'::timestamp) - extract(epoch from '2026-06-27 07:46:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027666 -2.804822)'), GeomFromEWKT('SRID=4674;POINT (-40.027615 -2.804781)'))) / (select extract(epoch from '2026-06-27 07:46:59'::timestamp) - extract(epoch from '2026-06-27 07:46: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'), 46942, 'SRID=4674;POINT (-40.027602 -2.804773)', '2026-06-27 07:47:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027615 -2.804781)'), GeomFromEWKT('SRID=4674;POINT (-40.027602 -2.804773)'))) / (select extract(epoch from '2026-06-27 07:47:01'::timestamp) - extract(epoch from '2026-06-27 07:46:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027615 -2.804781)'), GeomFromEWKT('SRID=4674;POINT (-40.027602 -2.804773)'))) / (select extract(epoch from '2026-06-27 07:47:01'::timestamp) - extract(epoch from '2026-06-27 07:46: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'), 46942, 'SRID=4674;POINT (-40.027595 -2.804768)', '2026-06-27 07:47:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027602 -2.804773)'), GeomFromEWKT('SRID=4674;POINT (-40.027595 -2.804768)'))) / (select extract(epoch from '2026-06-27 07:47:03'::timestamp) - extract(epoch from '2026-06-27 07:47:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027602 -2.804773)'), GeomFromEWKT('SRID=4674;POINT (-40.027595 -2.804768)'))) / (select extract(epoch from '2026-06-27 07:47:03'::timestamp) - extract(epoch from '2026-06-27 07:47: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'), 46942, 'SRID=4674;POINT (-40.027563 -2.8048)', '2026-06-27 07:47:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027595 -2.804768)'), GeomFromEWKT('SRID=4674;POINT (-40.027563 -2.8048)'))) / (select extract(epoch from '2026-06-27 07:47:17'::timestamp) - extract(epoch from '2026-06-27 07:47:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027595 -2.804768)'), GeomFromEWKT('SRID=4674;POINT (-40.027563 -2.8048)'))) / (select extract(epoch from '2026-06-27 07:47:17'::timestamp) - extract(epoch from '2026-06-27 07:47: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'), 46942, 'SRID=4674;POINT (-40.027619 -2.80484)', '2026-06-27 07:47:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027563 -2.8048)'), GeomFromEWKT('SRID=4674;POINT (-40.027619 -2.80484)'))) / (select extract(epoch from '2026-06-27 07:47:27'::timestamp) - extract(epoch from '2026-06-27 07:47:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027563 -2.8048)'), GeomFromEWKT('SRID=4674;POINT (-40.027619 -2.80484)'))) / (select extract(epoch from '2026-06-27 07:47:27'::timestamp) - extract(epoch from '2026-06-27 07:47: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'), 46942, 'SRID=4674;POINT (-40.027701 -2.804841)', '2026-06-27 07:47:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027619 -2.80484)'), GeomFromEWKT('SRID=4674;POINT (-40.027701 -2.804841)'))) / (select extract(epoch from '2026-06-27 07:47:38'::timestamp) - extract(epoch from '2026-06-27 07:47:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027619 -2.80484)'), GeomFromEWKT('SRID=4674;POINT (-40.027701 -2.804841)'))) / (select extract(epoch from '2026-06-27 07:47:38'::timestamp) - extract(epoch from '2026-06-27 07:47: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'), 46942, 'SRID=4674;POINT (-40.027798 -2.80481)', '2026-06-27 07:47:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027701 -2.804841)'), GeomFromEWKT('SRID=4674;POINT (-40.027798 -2.80481)'))) / (select extract(epoch from '2026-06-27 07:47:50'::timestamp) - extract(epoch from '2026-06-27 07:47:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027701 -2.804841)'), GeomFromEWKT('SRID=4674;POINT (-40.027798 -2.80481)'))) / (select extract(epoch from '2026-06-27 07:47:50'::timestamp) - extract(epoch from '2026-06-27 07:47: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'), 46942, 'SRID=4674;POINT (-40.027872 -2.804748)', '2026-06-27 07:47:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027798 -2.80481)'), GeomFromEWKT('SRID=4674;POINT (-40.027872 -2.804748)'))) / (select extract(epoch from '2026-06-27 07:47:56'::timestamp) - extract(epoch from '2026-06-27 07:47:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027798 -2.80481)'), GeomFromEWKT('SRID=4674;POINT (-40.027872 -2.804748)'))) / (select extract(epoch from '2026-06-27 07:47:56'::timestamp) - extract(epoch from '2026-06-27 07:47: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'), 46942, 'SRID=4674;POINT (-40.027886 -2.804645)', '2026-06-27 07:48:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027872 -2.804748)'), GeomFromEWKT('SRID=4674;POINT (-40.027886 -2.804645)'))) / (select extract(epoch from '2026-06-27 07:48:02'::timestamp) - extract(epoch from '2026-06-27 07:47:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027872 -2.804748)'), GeomFromEWKT('SRID=4674;POINT (-40.027886 -2.804645)'))) / (select extract(epoch from '2026-06-27 07:48:02'::timestamp) - extract(epoch from '2026-06-27 07:47: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'), 46942, 'SRID=4674;POINT (-40.027847 -2.804519)', '2026-06-27 07:48:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027886 -2.804645)'), GeomFromEWKT('SRID=4674;POINT (-40.027847 -2.804519)'))) / (select extract(epoch from '2026-06-27 07:48:09'::timestamp) - extract(epoch from '2026-06-27 07:48:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027886 -2.804645)'), GeomFromEWKT('SRID=4674;POINT (-40.027847 -2.804519)'))) / (select extract(epoch from '2026-06-27 07:48:09'::timestamp) - extract(epoch from '2026-06-27 07:48: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'), 46942, 'SRID=4674;POINT (-40.027788 -2.804348)', '2026-06-27 07:48:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027847 -2.804519)'), GeomFromEWKT('SRID=4674;POINT (-40.027788 -2.804348)'))) / (select extract(epoch from '2026-06-27 07:48:19'::timestamp) - extract(epoch from '2026-06-27 07:48:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027847 -2.804519)'), GeomFromEWKT('SRID=4674;POINT (-40.027788 -2.804348)'))) / (select extract(epoch from '2026-06-27 07:48:19'::timestamp) - extract(epoch from '2026-06-27 07:48:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.027784 -2.804233)', '2026-06-27 07:48:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027788 -2.804348)'), GeomFromEWKT('SRID=4674;POINT (-40.027784 -2.804233)'))) / (select extract(epoch from '2026-06-27 07:48:27'::timestamp) - extract(epoch from '2026-06-27 07:48:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027788 -2.804348)'), GeomFromEWKT('SRID=4674;POINT (-40.027784 -2.804233)'))) / (select extract(epoch from '2026-06-27 07:48:27'::timestamp) - extract(epoch from '2026-06-27 07:48: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'), 46942, 'SRID=4674;POINT (-40.027786 -2.804128)', '2026-06-27 07:48:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027784 -2.804233)'), GeomFromEWKT('SRID=4674;POINT (-40.027786 -2.804128)'))) / (select extract(epoch from '2026-06-27 07:48:36'::timestamp) - extract(epoch from '2026-06-27 07:48:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027784 -2.804233)'), GeomFromEWKT('SRID=4674;POINT (-40.027786 -2.804128)'))) / (select extract(epoch from '2026-06-27 07:48:36'::timestamp) - extract(epoch from '2026-06-27 07:48: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'), 46942, 'SRID=4674;POINT (-40.027769 -2.804102)', '2026-06-27 07:48:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027786 -2.804128)'), GeomFromEWKT('SRID=4674;POINT (-40.027769 -2.804102)'))) / (select extract(epoch from '2026-06-27 07:48:41'::timestamp) - extract(epoch from '2026-06-27 07:48:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027786 -2.804128)'), GeomFromEWKT('SRID=4674;POINT (-40.027769 -2.804102)'))) / (select extract(epoch from '2026-06-27 07:48:41'::timestamp) - extract(epoch from '2026-06-27 07:48:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.027747 -2.804059)', '2026-06-27 07:48:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027769 -2.804102)'), GeomFromEWKT('SRID=4674;POINT (-40.027747 -2.804059)'))) / (select extract(epoch from '2026-06-27 07:48:52'::timestamp) - extract(epoch from '2026-06-27 07:48:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027769 -2.804102)'), GeomFromEWKT('SRID=4674;POINT (-40.027747 -2.804059)'))) / (select extract(epoch from '2026-06-27 07:48:52'::timestamp) - extract(epoch from '2026-06-27 07:48:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.027728 -2.804031)', '2026-06-27 07:49:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027747 -2.804059)'), GeomFromEWKT('SRID=4674;POINT (-40.027728 -2.804031)'))) / (select extract(epoch from '2026-06-27 07:49:02'::timestamp) - extract(epoch from '2026-06-27 07:48:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027747 -2.804059)'), GeomFromEWKT('SRID=4674;POINT (-40.027728 -2.804031)'))) / (select extract(epoch from '2026-06-27 07:49:02'::timestamp) - extract(epoch from '2026-06-27 07:48:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.027708 -2.804059)', '2026-06-27 07:49:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027728 -2.804031)'), GeomFromEWKT('SRID=4674;POINT (-40.027708 -2.804059)'))) / (select extract(epoch from '2026-06-27 07:49:19'::timestamp) - extract(epoch from '2026-06-27 07:49:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027728 -2.804031)'), GeomFromEWKT('SRID=4674;POINT (-40.027708 -2.804059)'))) / (select extract(epoch from '2026-06-27 07:49:19'::timestamp) - extract(epoch from '2026-06-27 07:49: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'), 46942, 'SRID=4674;POINT (-40.02776 -2.804077)', '2026-06-27 07:49:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027708 -2.804059)'), GeomFromEWKT('SRID=4674;POINT (-40.02776 -2.804077)'))) / (select extract(epoch from '2026-06-27 07:49:27'::timestamp) - extract(epoch from '2026-06-27 07:49:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027708 -2.804059)'), GeomFromEWKT('SRID=4674;POINT (-40.02776 -2.804077)'))) / (select extract(epoch from '2026-06-27 07:49:27'::timestamp) - extract(epoch from '2026-06-27 07:49: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'), 46942, 'SRID=4674;POINT (-40.027841 -2.804046)', '2026-06-27 07:49:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02776 -2.804077)'), GeomFromEWKT('SRID=4674;POINT (-40.027841 -2.804046)'))) / (select extract(epoch from '2026-06-27 07:49:34'::timestamp) - extract(epoch from '2026-06-27 07:49:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02776 -2.804077)'), GeomFromEWKT('SRID=4674;POINT (-40.027841 -2.804046)'))) / (select extract(epoch from '2026-06-27 07:49:34'::timestamp) - extract(epoch from '2026-06-27 07:49:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.027867 -2.803959)', '2026-06-27 07:49:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027841 -2.804046)'), GeomFromEWKT('SRID=4674;POINT (-40.027867 -2.803959)'))) / (select extract(epoch from '2026-06-27 07:49:41'::timestamp) - extract(epoch from '2026-06-27 07:49:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027841 -2.804046)'), GeomFromEWKT('SRID=4674;POINT (-40.027867 -2.803959)'))) / (select extract(epoch from '2026-06-27 07:49:41'::timestamp) - extract(epoch from '2026-06-27 07:49: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'), 46942, 'SRID=4674;POINT (-40.02783 -2.803856)', '2026-06-27 07:49:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027867 -2.803959)'), GeomFromEWKT('SRID=4674;POINT (-40.02783 -2.803856)'))) / (select extract(epoch from '2026-06-27 07:49:50'::timestamp) - extract(epoch from '2026-06-27 07:49:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027867 -2.803959)'), GeomFromEWKT('SRID=4674;POINT (-40.02783 -2.803856)'))) / (select extract(epoch from '2026-06-27 07:49:50'::timestamp) - extract(epoch from '2026-06-27 07:49: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'), 46942, 'SRID=4674;POINT (-40.027768 -2.803757)', '2026-06-27 07:49:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02783 -2.803856)'), GeomFromEWKT('SRID=4674;POINT (-40.027768 -2.803757)'))) / (select extract(epoch from '2026-06-27 07:49:58'::timestamp) - extract(epoch from '2026-06-27 07:49:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02783 -2.803856)'), GeomFromEWKT('SRID=4674;POINT (-40.027768 -2.803757)'))) / (select extract(epoch from '2026-06-27 07:49:58'::timestamp) - extract(epoch from '2026-06-27 07:49: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'), 46942, 'SRID=4674;POINT (-40.027779 -2.803621)', '2026-06-27 07:50:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027768 -2.803757)'), GeomFromEWKT('SRID=4674;POINT (-40.027779 -2.803621)'))) / (select extract(epoch from '2026-06-27 07:50:06'::timestamp) - extract(epoch from '2026-06-27 07:49:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027768 -2.803757)'), GeomFromEWKT('SRID=4674;POINT (-40.027779 -2.803621)'))) / (select extract(epoch from '2026-06-27 07:50:06'::timestamp) - extract(epoch from '2026-06-27 07:49: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'), 46942, 'SRID=4674;POINT (-40.027835 -2.803514)', '2026-06-27 07:50:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027779 -2.803621)'), GeomFromEWKT('SRID=4674;POINT (-40.027835 -2.803514)'))) / (select extract(epoch from '2026-06-27 07:50:14'::timestamp) - extract(epoch from '2026-06-27 07:50:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027779 -2.803621)'), GeomFromEWKT('SRID=4674;POINT (-40.027835 -2.803514)'))) / (select extract(epoch from '2026-06-27 07:50:14'::timestamp) - extract(epoch from '2026-06-27 07:50:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.027907 -2.803436)', '2026-06-27 07:50:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027835 -2.803514)'), GeomFromEWKT('SRID=4674;POINT (-40.027907 -2.803436)'))) / (select extract(epoch from '2026-06-27 07:50:22'::timestamp) - extract(epoch from '2026-06-27 07:50:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027835 -2.803514)'), GeomFromEWKT('SRID=4674;POINT (-40.027907 -2.803436)'))) / (select extract(epoch from '2026-06-27 07:50:22'::timestamp) - extract(epoch from '2026-06-27 07:50:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.027993 -2.803292)', '2026-06-27 07:50:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027907 -2.803436)'), GeomFromEWKT('SRID=4674;POINT (-40.027993 -2.803292)'))) / (select extract(epoch from '2026-06-27 07:50:34'::timestamp) - extract(epoch from '2026-06-27 07:50:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027907 -2.803436)'), GeomFromEWKT('SRID=4674;POINT (-40.027993 -2.803292)'))) / (select extract(epoch from '2026-06-27 07:50:34'::timestamp) - extract(epoch from '2026-06-27 07:50: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'), 46942, 'SRID=4674;POINT (-40.027957 -2.803186)', '2026-06-27 07:50:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027993 -2.803292)'), GeomFromEWKT('SRID=4674;POINT (-40.027957 -2.803186)'))) / (select extract(epoch from '2026-06-27 07:50:43'::timestamp) - extract(epoch from '2026-06-27 07:50:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027993 -2.803292)'), GeomFromEWKT('SRID=4674;POINT (-40.027957 -2.803186)'))) / (select extract(epoch from '2026-06-27 07:50:43'::timestamp) - extract(epoch from '2026-06-27 07:50: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'), 46942, 'SRID=4674;POINT (-40.02791 -2.803089)', '2026-06-27 07:50:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027957 -2.803186)'), GeomFromEWKT('SRID=4674;POINT (-40.02791 -2.803089)'))) / (select extract(epoch from '2026-06-27 07:50:53'::timestamp) - extract(epoch from '2026-06-27 07:50:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027957 -2.803186)'), GeomFromEWKT('SRID=4674;POINT (-40.02791 -2.803089)'))) / (select extract(epoch from '2026-06-27 07:50:53'::timestamp) - extract(epoch from '2026-06-27 07:50: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'), 46942, 'SRID=4674;POINT (-40.027894 -2.803036)', '2026-06-27 07:50:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02791 -2.803089)'), GeomFromEWKT('SRID=4674;POINT (-40.027894 -2.803036)'))) / (select extract(epoch from '2026-06-27 07:50:59'::timestamp) - extract(epoch from '2026-06-27 07:50:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02791 -2.803089)'), GeomFromEWKT('SRID=4674;POINT (-40.027894 -2.803036)'))) / (select extract(epoch from '2026-06-27 07:50:59'::timestamp) - extract(epoch from '2026-06-27 07:50:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.027886 -2.803019)', '2026-06-27 07:51:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027894 -2.803036)'), GeomFromEWKT('SRID=4674;POINT (-40.027886 -2.803019)'))) / (select extract(epoch from '2026-06-27 07:51:01'::timestamp) - extract(epoch from '2026-06-27 07:50:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027894 -2.803036)'), GeomFromEWKT('SRID=4674;POINT (-40.027886 -2.803019)'))) / (select extract(epoch from '2026-06-27 07:51:01'::timestamp) - extract(epoch from '2026-06-27 07:50: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'), 46942, 'SRID=4674;POINT (-40.027871 -2.802925)', '2026-06-27 07:51:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027886 -2.803019)'), GeomFromEWKT('SRID=4674;POINT (-40.027871 -2.802925)'))) / (select extract(epoch from '2026-06-27 07:51:13'::timestamp) - extract(epoch from '2026-06-27 07:51:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027886 -2.803019)'), GeomFromEWKT('SRID=4674;POINT (-40.027871 -2.802925)'))) / (select extract(epoch from '2026-06-27 07:51:13'::timestamp) - extract(epoch from '2026-06-27 07:51:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.02784 -2.802848)', '2026-06-27 07:51:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027871 -2.802925)'), GeomFromEWKT('SRID=4674;POINT (-40.02784 -2.802848)'))) / (select extract(epoch from '2026-06-27 07:51:23'::timestamp) - extract(epoch from '2026-06-27 07:51:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027871 -2.802925)'), GeomFromEWKT('SRID=4674;POINT (-40.02784 -2.802848)'))) / (select extract(epoch from '2026-06-27 07:51:23'::timestamp) - extract(epoch from '2026-06-27 07:51: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'), 46942, 'SRID=4674;POINT (-40.027785 -2.802811)', '2026-06-27 07:51:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02784 -2.802848)'), GeomFromEWKT('SRID=4674;POINT (-40.027785 -2.802811)'))) / (select extract(epoch from '2026-06-27 07:51:32'::timestamp) - extract(epoch from '2026-06-27 07:51:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02784 -2.802848)'), GeomFromEWKT('SRID=4674;POINT (-40.027785 -2.802811)'))) / (select extract(epoch from '2026-06-27 07:51:32'::timestamp) - extract(epoch from '2026-06-27 07:51: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'), 46942, 'SRID=4674;POINT (-40.02774 -2.802854)', '2026-06-27 07:51:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027785 -2.802811)'), GeomFromEWKT('SRID=4674;POINT (-40.02774 -2.802854)'))) / (select extract(epoch from '2026-06-27 07:51:43'::timestamp) - extract(epoch from '2026-06-27 07:51:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027785 -2.802811)'), GeomFromEWKT('SRID=4674;POINT (-40.02774 -2.802854)'))) / (select extract(epoch from '2026-06-27 07:51:43'::timestamp) - extract(epoch from '2026-06-27 07:51: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'), 46942, 'SRID=4674;POINT (-40.027795 -2.802902)', '2026-06-27 07:51:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02774 -2.802854)'), GeomFromEWKT('SRID=4674;POINT (-40.027795 -2.802902)'))) / (select extract(epoch from '2026-06-27 07:51:53'::timestamp) - extract(epoch from '2026-06-27 07:51:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02774 -2.802854)'), GeomFromEWKT('SRID=4674;POINT (-40.027795 -2.802902)'))) / (select extract(epoch from '2026-06-27 07:51:53'::timestamp) - extract(epoch from '2026-06-27 07:51: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'), 46942, 'SRID=4674;POINT (-40.027877 -2.802905)', '2026-06-27 07:52:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027795 -2.802902)'), GeomFromEWKT('SRID=4674;POINT (-40.027877 -2.802905)'))) / (select extract(epoch from '2026-06-27 07:52:02'::timestamp) - extract(epoch from '2026-06-27 07:51:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027795 -2.802902)'), GeomFromEWKT('SRID=4674;POINT (-40.027877 -2.802905)'))) / (select extract(epoch from '2026-06-27 07:52:02'::timestamp) - extract(epoch from '2026-06-27 07:51: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'), 46942, 'SRID=4674;POINT (-40.027887 -2.802902)', '2026-06-27 07:52:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027877 -2.802905)'), GeomFromEWKT('SRID=4674;POINT (-40.027887 -2.802902)'))) / (select extract(epoch from '2026-06-27 07:52:03'::timestamp) - extract(epoch from '2026-06-27 07:52:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027877 -2.802905)'), GeomFromEWKT('SRID=4674;POINT (-40.027887 -2.802902)'))) / (select extract(epoch from '2026-06-27 07:52:03'::timestamp) - extract(epoch from '2026-06-27 07:52: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'), 46942, 'SRID=4674;POINT (-40.027942 -2.802871)', '2026-06-27 07:52:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027887 -2.802902)'), GeomFromEWKT('SRID=4674;POINT (-40.027942 -2.802871)'))) / (select extract(epoch from '2026-06-27 07:52:09'::timestamp) - extract(epoch from '2026-06-27 07:52:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027887 -2.802902)'), GeomFromEWKT('SRID=4674;POINT (-40.027942 -2.802871)'))) / (select extract(epoch from '2026-06-27 07:52:09'::timestamp) - extract(epoch from '2026-06-27 07:52: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'), 46942, 'SRID=4674;POINT (-40.028059 -2.802814)', '2026-06-27 07:52:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027942 -2.802871)'), GeomFromEWKT('SRID=4674;POINT (-40.028059 -2.802814)'))) / (select extract(epoch from '2026-06-27 07:52:20'::timestamp) - extract(epoch from '2026-06-27 07:52:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027942 -2.802871)'), GeomFromEWKT('SRID=4674;POINT (-40.028059 -2.802814)'))) / (select extract(epoch from '2026-06-27 07:52:20'::timestamp) - extract(epoch from '2026-06-27 07:52:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.028146 -2.802765)', '2026-06-27 07:52:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028059 -2.802814)'), GeomFromEWKT('SRID=4674;POINT (-40.028146 -2.802765)'))) / (select extract(epoch from '2026-06-27 07:52:29'::timestamp) - extract(epoch from '2026-06-27 07:52:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028059 -2.802814)'), GeomFromEWKT('SRID=4674;POINT (-40.028146 -2.802765)'))) / (select extract(epoch from '2026-06-27 07:52:29'::timestamp) - extract(epoch from '2026-06-27 07:52: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'), 46942, 'SRID=4674;POINT (-40.028239 -2.802755)', '2026-06-27 07:52:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028146 -2.802765)'), GeomFromEWKT('SRID=4674;POINT (-40.028239 -2.802755)'))) / (select extract(epoch from '2026-06-27 07:52:38'::timestamp) - extract(epoch from '2026-06-27 07:52:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028146 -2.802765)'), GeomFromEWKT('SRID=4674;POINT (-40.028239 -2.802755)'))) / (select extract(epoch from '2026-06-27 07:52:38'::timestamp) - extract(epoch from '2026-06-27 07:52: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'), 46942, 'SRID=4674;POINT (-40.0283 -2.802794)', '2026-06-27 07:52:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028239 -2.802755)'), GeomFromEWKT('SRID=4674;POINT (-40.0283 -2.802794)'))) / (select extract(epoch from '2026-06-27 07:52:45'::timestamp) - extract(epoch from '2026-06-27 07:52:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028239 -2.802755)'), GeomFromEWKT('SRID=4674;POINT (-40.0283 -2.802794)'))) / (select extract(epoch from '2026-06-27 07:52:45'::timestamp) - extract(epoch from '2026-06-27 07:52:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.028391 -2.802861)', '2026-06-27 07:52:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0283 -2.802794)'), GeomFromEWKT('SRID=4674;POINT (-40.028391 -2.802861)'))) / (select extract(epoch from '2026-06-27 07:52:55'::timestamp) - extract(epoch from '2026-06-27 07:52:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0283 -2.802794)'), GeomFromEWKT('SRID=4674;POINT (-40.028391 -2.802861)'))) / (select extract(epoch from '2026-06-27 07:52:55'::timestamp) - extract(epoch from '2026-06-27 07:52: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'), 46942, 'SRID=4674;POINT (-40.028497 -2.802892)', '2026-06-27 07:53:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028391 -2.802861)'), GeomFromEWKT('SRID=4674;POINT (-40.028497 -2.802892)'))) / (select extract(epoch from '2026-06-27 07:53:05'::timestamp) - extract(epoch from '2026-06-27 07:52:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028391 -2.802861)'), GeomFromEWKT('SRID=4674;POINT (-40.028497 -2.802892)'))) / (select extract(epoch from '2026-06-27 07:53:05'::timestamp) - extract(epoch from '2026-06-27 07:52:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.02858 -2.802877)', '2026-06-27 07:53:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028497 -2.802892)'), GeomFromEWKT('SRID=4674;POINT (-40.02858 -2.802877)'))) / (select extract(epoch from '2026-06-27 07:53:13'::timestamp) - extract(epoch from '2026-06-27 07:53:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028497 -2.802892)'), GeomFromEWKT('SRID=4674;POINT (-40.02858 -2.802877)'))) / (select extract(epoch from '2026-06-27 07:53:13'::timestamp) - extract(epoch from '2026-06-27 07:53:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.028666 -2.802896)', '2026-06-27 07:53:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02858 -2.802877)'), GeomFromEWKT('SRID=4674;POINT (-40.028666 -2.802896)'))) / (select extract(epoch from '2026-06-27 07:53:23'::timestamp) - extract(epoch from '2026-06-27 07:53:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02858 -2.802877)'), GeomFromEWKT('SRID=4674;POINT (-40.028666 -2.802896)'))) / (select extract(epoch from '2026-06-27 07:53:23'::timestamp) - extract(epoch from '2026-06-27 07:53:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.028725 -2.802942)', '2026-06-27 07:53:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028666 -2.802896)'), GeomFromEWKT('SRID=4674;POINT (-40.028725 -2.802942)'))) / (select extract(epoch from '2026-06-27 07:53:31'::timestamp) - extract(epoch from '2026-06-27 07:53:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028666 -2.802896)'), GeomFromEWKT('SRID=4674;POINT (-40.028725 -2.802942)'))) / (select extract(epoch from '2026-06-27 07:53:31'::timestamp) - extract(epoch from '2026-06-27 07:53: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'), 46942, 'SRID=4674;POINT (-40.028788 -2.803019)', '2026-06-27 07:53:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028725 -2.802942)'), GeomFromEWKT('SRID=4674;POINT (-40.028788 -2.803019)'))) / (select extract(epoch from '2026-06-27 07:53:41'::timestamp) - extract(epoch from '2026-06-27 07:53:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028725 -2.802942)'), GeomFromEWKT('SRID=4674;POINT (-40.028788 -2.803019)'))) / (select extract(epoch from '2026-06-27 07:53:41'::timestamp) - extract(epoch from '2026-06-27 07:53:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.028856 -2.803093)', '2026-06-27 07:53:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028788 -2.803019)'), GeomFromEWKT('SRID=4674;POINT (-40.028856 -2.803093)'))) / (select extract(epoch from '2026-06-27 07:53:50'::timestamp) - extract(epoch from '2026-06-27 07:53:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028788 -2.803019)'), GeomFromEWKT('SRID=4674;POINT (-40.028856 -2.803093)'))) / (select extract(epoch from '2026-06-27 07:53:50'::timestamp) - extract(epoch from '2026-06-27 07:53: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'), 46942, 'SRID=4674;POINT (-40.028928 -2.803173)', '2026-06-27 07:53:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028856 -2.803093)'), GeomFromEWKT('SRID=4674;POINT (-40.028928 -2.803173)'))) / (select extract(epoch from '2026-06-27 07:53:59'::timestamp) - extract(epoch from '2026-06-27 07:53:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028856 -2.803093)'), GeomFromEWKT('SRID=4674;POINT (-40.028928 -2.803173)'))) / (select extract(epoch from '2026-06-27 07:53:59'::timestamp) - extract(epoch from '2026-06-27 07:53: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'), 46942, 'SRID=4674;POINT (-40.028993 -2.803216)', '2026-06-27 07:54:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028928 -2.803173)'), GeomFromEWKT('SRID=4674;POINT (-40.028993 -2.803216)'))) / (select extract(epoch from '2026-06-27 07:54:07'::timestamp) - extract(epoch from '2026-06-27 07:53:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028928 -2.803173)'), GeomFromEWKT('SRID=4674;POINT (-40.028993 -2.803216)'))) / (select extract(epoch from '2026-06-27 07:54:07'::timestamp) - extract(epoch from '2026-06-27 07:53: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'), 46942, 'SRID=4674;POINT (-40.029086 -2.803254)', '2026-06-27 07:54:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028993 -2.803216)'), GeomFromEWKT('SRID=4674;POINT (-40.029086 -2.803254)'))) / (select extract(epoch from '2026-06-27 07:54:17'::timestamp) - extract(epoch from '2026-06-27 07:54:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028993 -2.803216)'), GeomFromEWKT('SRID=4674;POINT (-40.029086 -2.803254)'))) / (select extract(epoch from '2026-06-27 07:54:17'::timestamp) - extract(epoch from '2026-06-27 07:54: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'), 46942, 'SRID=4674;POINT (-40.029145 -2.803298)', '2026-06-27 07:54:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029086 -2.803254)'), GeomFromEWKT('SRID=4674;POINT (-40.029145 -2.803298)'))) / (select extract(epoch from '2026-06-27 07:54:25'::timestamp) - extract(epoch from '2026-06-27 07:54:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029086 -2.803254)'), GeomFromEWKT('SRID=4674;POINT (-40.029145 -2.803298)'))) / (select extract(epoch from '2026-06-27 07:54:25'::timestamp) - extract(epoch from '2026-06-27 07:54: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'), 46942, 'SRID=4674;POINT (-40.029197 -2.803332)', '2026-06-27 07:54:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029145 -2.803298)'), GeomFromEWKT('SRID=4674;POINT (-40.029197 -2.803332)'))) / (select extract(epoch from '2026-06-27 07:54:32'::timestamp) - extract(epoch from '2026-06-27 07:54:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029145 -2.803298)'), GeomFromEWKT('SRID=4674;POINT (-40.029197 -2.803332)'))) / (select extract(epoch from '2026-06-27 07:54:32'::timestamp) - extract(epoch from '2026-06-27 07:54: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'), 46942, 'SRID=4674;POINT (-40.029284 -2.803387)', '2026-06-27 07:54:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029197 -2.803332)'), GeomFromEWKT('SRID=4674;POINT (-40.029284 -2.803387)'))) / (select extract(epoch from '2026-06-27 07:54:43'::timestamp) - extract(epoch from '2026-06-27 07:54:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029197 -2.803332)'), GeomFromEWKT('SRID=4674;POINT (-40.029284 -2.803387)'))) / (select extract(epoch from '2026-06-27 07:54:43'::timestamp) - extract(epoch from '2026-06-27 07:54:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.029387 -2.80345)', '2026-06-27 07:54:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029284 -2.803387)'), GeomFromEWKT('SRID=4674;POINT (-40.029387 -2.80345)'))) / (select extract(epoch from '2026-06-27 07:54:55'::timestamp) - extract(epoch from '2026-06-27 07:54:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029284 -2.803387)'), GeomFromEWKT('SRID=4674;POINT (-40.029387 -2.80345)'))) / (select extract(epoch from '2026-06-27 07:54:55'::timestamp) - extract(epoch from '2026-06-27 07:54: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'), 46942, 'SRID=4674;POINT (-40.029465 -2.803486)', '2026-06-27 07:55:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029387 -2.80345)'), GeomFromEWKT('SRID=4674;POINT (-40.029465 -2.803486)'))) / (select extract(epoch from '2026-06-27 07:55:05'::timestamp) - extract(epoch from '2026-06-27 07:54:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029387 -2.80345)'), GeomFromEWKT('SRID=4674;POINT (-40.029465 -2.803486)'))) / (select extract(epoch from '2026-06-27 07:55:05'::timestamp) - extract(epoch from '2026-06-27 07:54: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'), 46942, 'SRID=4674;POINT (-40.029473 -2.803479)', '2026-06-27 07:55:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029465 -2.803486)'), GeomFromEWKT('SRID=4674;POINT (-40.029473 -2.803479)'))) / (select extract(epoch from '2026-06-27 07:55:06'::timestamp) - extract(epoch from '2026-06-27 07:55:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029465 -2.803486)'), GeomFromEWKT('SRID=4674;POINT (-40.029473 -2.803479)'))) / (select extract(epoch from '2026-06-27 07:55:06'::timestamp) - extract(epoch from '2026-06-27 07:55: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'), 46942, 'SRID=4674;POINT (-40.029494 -2.803465)', '2026-06-27 07:55:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029473 -2.803479)'), GeomFromEWKT('SRID=4674;POINT (-40.029494 -2.803465)'))) / (select extract(epoch from '2026-06-27 07:55:09'::timestamp) - extract(epoch from '2026-06-27 07:55:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029473 -2.803479)'), GeomFromEWKT('SRID=4674;POINT (-40.029494 -2.803465)'))) / (select extract(epoch from '2026-06-27 07:55:09'::timestamp) - extract(epoch from '2026-06-27 07:55: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'), 46942, 'SRID=4674;POINT (-40.029568 -2.803439)', '2026-06-27 07:55:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029494 -2.803465)'), GeomFromEWKT('SRID=4674;POINT (-40.029568 -2.803439)'))) / (select extract(epoch from '2026-06-27 07:55:18'::timestamp) - extract(epoch from '2026-06-27 07:55:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029494 -2.803465)'), GeomFromEWKT('SRID=4674;POINT (-40.029568 -2.803439)'))) / (select extract(epoch from '2026-06-27 07:55:18'::timestamp) - extract(epoch from '2026-06-27 07:55:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.029582 -2.803441)', '2026-06-27 07:55:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029568 -2.803439)'), GeomFromEWKT('SRID=4674;POINT (-40.029582 -2.803441)'))) / (select extract(epoch from '2026-06-27 07:55:20'::timestamp) - extract(epoch from '2026-06-27 07:55:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029568 -2.803439)'), GeomFromEWKT('SRID=4674;POINT (-40.029582 -2.803441)'))) / (select extract(epoch from '2026-06-27 07:55:20'::timestamp) - extract(epoch from '2026-06-27 07:55: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'), 46942, 'SRID=4674;POINT (-40.029612 -2.803436)', '2026-06-27 07:55:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029582 -2.803441)'), GeomFromEWKT('SRID=4674;POINT (-40.029612 -2.803436)'))) / (select extract(epoch from '2026-06-27 07:55:23'::timestamp) - extract(epoch from '2026-06-27 07:55:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029582 -2.803441)'), GeomFromEWKT('SRID=4674;POINT (-40.029612 -2.803436)'))) / (select extract(epoch from '2026-06-27 07:55:23'::timestamp) - extract(epoch from '2026-06-27 07:55: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'), 46942, 'SRID=4674;POINT (-40.02971 -2.803413)', '2026-06-27 07:55:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029612 -2.803436)'), GeomFromEWKT('SRID=4674;POINT (-40.02971 -2.803413)'))) / (select extract(epoch from '2026-06-27 07:55:31'::timestamp) - extract(epoch from '2026-06-27 07:55:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029612 -2.803436)'), GeomFromEWKT('SRID=4674;POINT (-40.02971 -2.803413)'))) / (select extract(epoch from '2026-06-27 07:55:31'::timestamp) - extract(epoch from '2026-06-27 07:55: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'), 46942, 'SRID=4674;POINT (-40.029776 -2.803317)', '2026-06-27 07:55:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02971 -2.803413)'), GeomFromEWKT('SRID=4674;POINT (-40.029776 -2.803317)'))) / (select extract(epoch from '2026-06-27 07:55:38'::timestamp) - extract(epoch from '2026-06-27 07:55:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02971 -2.803413)'), GeomFromEWKT('SRID=4674;POINT (-40.029776 -2.803317)'))) / (select extract(epoch from '2026-06-27 07:55:38'::timestamp) - extract(epoch from '2026-06-27 07:55:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.029745 -2.80323)', '2026-06-27 07:55:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029776 -2.803317)'), GeomFromEWKT('SRID=4674;POINT (-40.029745 -2.80323)'))) / (select extract(epoch from '2026-06-27 07:55:44'::timestamp) - extract(epoch from '2026-06-27 07:55:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029776 -2.803317)'), GeomFromEWKT('SRID=4674;POINT (-40.029745 -2.80323)'))) / (select extract(epoch from '2026-06-27 07:55:44'::timestamp) - extract(epoch from '2026-06-27 07:55: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'), 46942, 'SRID=4674;POINT (-40.029655 -2.803192)', '2026-06-27 07:55:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029745 -2.80323)'), GeomFromEWKT('SRID=4674;POINT (-40.029655 -2.803192)'))) / (select extract(epoch from '2026-06-27 07:55:51'::timestamp) - extract(epoch from '2026-06-27 07:55:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029745 -2.80323)'), GeomFromEWKT('SRID=4674;POINT (-40.029655 -2.803192)'))) / (select extract(epoch from '2026-06-27 07:55:51'::timestamp) - extract(epoch from '2026-06-27 07:55: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'), 46942, 'SRID=4674;POINT (-40.029555 -2.803205)', '2026-06-27 07:55:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029655 -2.803192)'), GeomFromEWKT('SRID=4674;POINT (-40.029555 -2.803205)'))) / (select extract(epoch from '2026-06-27 07:55:59'::timestamp) - extract(epoch from '2026-06-27 07:55:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029655 -2.803192)'), GeomFromEWKT('SRID=4674;POINT (-40.029555 -2.803205)'))) / (select extract(epoch from '2026-06-27 07:55:59'::timestamp) - extract(epoch from '2026-06-27 07:55:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.029519 -2.803254)', '2026-06-27 07:56:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029555 -2.803205)'), GeomFromEWKT('SRID=4674;POINT (-40.029519 -2.803254)'))) / (select extract(epoch from '2026-06-27 07:56:07'::timestamp) - extract(epoch from '2026-06-27 07:55:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029555 -2.803205)'), GeomFromEWKT('SRID=4674;POINT (-40.029519 -2.803254)'))) / (select extract(epoch from '2026-06-27 07:56:07'::timestamp) - extract(epoch from '2026-06-27 07:55: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'), 46942, 'SRID=4674;POINT (-40.02954 -2.803285)', '2026-06-27 07:56:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029519 -2.803254)'), GeomFromEWKT('SRID=4674;POINT (-40.02954 -2.803285)'))) / (select extract(epoch from '2026-06-27 07:56:16'::timestamp) - extract(epoch from '2026-06-27 07:56:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029519 -2.803254)'), GeomFromEWKT('SRID=4674;POINT (-40.02954 -2.803285)'))) / (select extract(epoch from '2026-06-27 07:56:16'::timestamp) - extract(epoch from '2026-06-27 07:56:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.029627 -2.803352)', '2026-06-27 07:56:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02954 -2.803285)'), GeomFromEWKT('SRID=4674;POINT (-40.029627 -2.803352)'))) / (select extract(epoch from '2026-06-27 07:56:31'::timestamp) - extract(epoch from '2026-06-27 07:56:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02954 -2.803285)'), GeomFromEWKT('SRID=4674;POINT (-40.029627 -2.803352)'))) / (select extract(epoch from '2026-06-27 07:56:31'::timestamp) - extract(epoch from '2026-06-27 07:56:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.029689 -2.803433)', '2026-06-27 07:56:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029627 -2.803352)'), GeomFromEWKT('SRID=4674;POINT (-40.029689 -2.803433)'))) / (select extract(epoch from '2026-06-27 07:56:39'::timestamp) - extract(epoch from '2026-06-27 07:56:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029627 -2.803352)'), GeomFromEWKT('SRID=4674;POINT (-40.029689 -2.803433)'))) / (select extract(epoch from '2026-06-27 07:56:39'::timestamp) - extract(epoch from '2026-06-27 07:56: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'), 46942, 'SRID=4674;POINT (-40.02972 -2.803557)', '2026-06-27 07:56:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029689 -2.803433)'), GeomFromEWKT('SRID=4674;POINT (-40.02972 -2.803557)'))) / (select extract(epoch from '2026-06-27 07:56:47'::timestamp) - extract(epoch from '2026-06-27 07:56:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029689 -2.803433)'), GeomFromEWKT('SRID=4674;POINT (-40.02972 -2.803557)'))) / (select extract(epoch from '2026-06-27 07:56:47'::timestamp) - extract(epoch from '2026-06-27 07:56: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'), 46942, 'SRID=4674;POINT (-40.02973 -2.803713)', '2026-06-27 07:56:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02972 -2.803557)'), GeomFromEWKT('SRID=4674;POINT (-40.02973 -2.803713)'))) / (select extract(epoch from '2026-06-27 07:56:56'::timestamp) - extract(epoch from '2026-06-27 07:56:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02972 -2.803557)'), GeomFromEWKT('SRID=4674;POINT (-40.02973 -2.803713)'))) / (select extract(epoch from '2026-06-27 07:56:56'::timestamp) - extract(epoch from '2026-06-27 07:56: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'), 46942, 'SRID=4674;POINT (-40.029739 -2.803877)', '2026-06-27 07:57:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02973 -2.803713)'), GeomFromEWKT('SRID=4674;POINT (-40.029739 -2.803877)'))) / (select extract(epoch from '2026-06-27 07:57:05'::timestamp) - extract(epoch from '2026-06-27 07:56:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02973 -2.803713)'), GeomFromEWKT('SRID=4674;POINT (-40.029739 -2.803877)'))) / (select extract(epoch from '2026-06-27 07:57:05'::timestamp) - extract(epoch from '2026-06-27 07:56:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.029791 -2.804038)', '2026-06-27 07:57:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029739 -2.803877)'), GeomFromEWKT('SRID=4674;POINT (-40.029791 -2.804038)'))) / (select extract(epoch from '2026-06-27 07:57:15'::timestamp) - extract(epoch from '2026-06-27 07:57:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029739 -2.803877)'), GeomFromEWKT('SRID=4674;POINT (-40.029791 -2.804038)'))) / (select extract(epoch from '2026-06-27 07:57:15'::timestamp) - extract(epoch from '2026-06-27 07:57: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'), 46942, 'SRID=4674;POINT (-40.0299 -2.804099)', '2026-06-27 07:57:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029791 -2.804038)'), GeomFromEWKT('SRID=4674;POINT (-40.0299 -2.804099)'))) / (select extract(epoch from '2026-06-27 07:57:23'::timestamp) - extract(epoch from '2026-06-27 07:57:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029791 -2.804038)'), GeomFromEWKT('SRID=4674;POINT (-40.0299 -2.804099)'))) / (select extract(epoch from '2026-06-27 07:57:23'::timestamp) - extract(epoch from '2026-06-27 07:57: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'), 46942, 'SRID=4674;POINT (-40.029931 -2.804187)', '2026-06-27 07:57:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0299 -2.804099)'), GeomFromEWKT('SRID=4674;POINT (-40.029931 -2.804187)'))) / (select extract(epoch from '2026-06-27 07:57:30'::timestamp) - extract(epoch from '2026-06-27 07:57:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0299 -2.804099)'), GeomFromEWKT('SRID=4674;POINT (-40.029931 -2.804187)'))) / (select extract(epoch from '2026-06-27 07:57:30'::timestamp) - extract(epoch from '2026-06-27 07:57: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'), 46942, 'SRID=4674;POINT (-40.02994 -2.804275)', '2026-06-27 07:57:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029931 -2.804187)'), GeomFromEWKT('SRID=4674;POINT (-40.02994 -2.804275)'))) / (select extract(epoch from '2026-06-27 07:57:38'::timestamp) - extract(epoch from '2026-06-27 07:57:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029931 -2.804187)'), GeomFromEWKT('SRID=4674;POINT (-40.02994 -2.804275)'))) / (select extract(epoch from '2026-06-27 07:57:38'::timestamp) - extract(epoch from '2026-06-27 07:57: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'), 46942, 'SRID=4674;POINT (-40.029983 -2.804332)', '2026-06-27 07:57:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02994 -2.804275)'), GeomFromEWKT('SRID=4674;POINT (-40.029983 -2.804332)'))) / (select extract(epoch from '2026-06-27 07:57:45'::timestamp) - extract(epoch from '2026-06-27 07:57:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02994 -2.804275)'), GeomFromEWKT('SRID=4674;POINT (-40.029983 -2.804332)'))) / (select extract(epoch from '2026-06-27 07:57:45'::timestamp) - extract(epoch from '2026-06-27 07:57:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.030055 -2.804355)', '2026-06-27 07:57:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029983 -2.804332)'), GeomFromEWKT('SRID=4674;POINT (-40.030055 -2.804355)'))) / (select extract(epoch from '2026-06-27 07:57:53'::timestamp) - extract(epoch from '2026-06-27 07:57:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029983 -2.804332)'), GeomFromEWKT('SRID=4674;POINT (-40.030055 -2.804355)'))) / (select extract(epoch from '2026-06-27 07:57:53'::timestamp) - extract(epoch from '2026-06-27 07:57: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'), 46942, 'SRID=4674;POINT (-40.030152 -2.804341)', '2026-06-27 07:58:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030055 -2.804355)'), GeomFromEWKT('SRID=4674;POINT (-40.030152 -2.804341)'))) / (select extract(epoch from '2026-06-27 07:58:03'::timestamp) - extract(epoch from '2026-06-27 07:57:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030055 -2.804355)'), GeomFromEWKT('SRID=4674;POINT (-40.030152 -2.804341)'))) / (select extract(epoch from '2026-06-27 07:58:03'::timestamp) - extract(epoch from '2026-06-27 07: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'), 46942, 'SRID=4674;POINT (-40.030208 -2.804247)', '2026-06-27 07:58:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030152 -2.804341)'), GeomFromEWKT('SRID=4674;POINT (-40.030208 -2.804247)'))) / (select extract(epoch from '2026-06-27 07:58:12'::timestamp) - extract(epoch from '2026-06-27 07:58:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030152 -2.804341)'), GeomFromEWKT('SRID=4674;POINT (-40.030208 -2.804247)'))) / (select extract(epoch from '2026-06-27 07:58:12'::timestamp) - extract(epoch from '2026-06-27 07:58: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'), 46942, 'SRID=4674;POINT (-40.030176 -2.804155)', '2026-06-27 07:58:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030208 -2.804247)'), GeomFromEWKT('SRID=4674;POINT (-40.030176 -2.804155)'))) / (select extract(epoch from '2026-06-27 07:58:20'::timestamp) - extract(epoch from '2026-06-27 07:58:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030208 -2.804247)'), GeomFromEWKT('SRID=4674;POINT (-40.030176 -2.804155)'))) / (select extract(epoch from '2026-06-27 07:58:20'::timestamp) - extract(epoch from '2026-06-27 07:58:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.03011 -2.804102)', '2026-06-27 07:58:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030176 -2.804155)'), GeomFromEWKT('SRID=4674;POINT (-40.03011 -2.804102)'))) / (select extract(epoch from '2026-06-27 07:58:30'::timestamp) - extract(epoch from '2026-06-27 07:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030176 -2.804155)'), GeomFromEWKT('SRID=4674;POINT (-40.03011 -2.804102)'))) / (select extract(epoch from '2026-06-27 07:58:30'::timestamp) - extract(epoch from '2026-06-27 07:58: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'), 46942, 'SRID=4674;POINT (-40.030036 -2.804082)', '2026-06-27 07:58:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03011 -2.804102)'), GeomFromEWKT('SRID=4674;POINT (-40.030036 -2.804082)'))) / (select extract(epoch from '2026-06-27 07:58:39'::timestamp) - extract(epoch from '2026-06-27 07:58:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03011 -2.804102)'), GeomFromEWKT('SRID=4674;POINT (-40.030036 -2.804082)'))) / (select extract(epoch from '2026-06-27 07:58:39'::timestamp) - extract(epoch from '2026-06-27 07: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'), 46942, 'SRID=4674;POINT (-40.029968 -2.804111)', '2026-06-27 07:58:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030036 -2.804082)'), GeomFromEWKT('SRID=4674;POINT (-40.029968 -2.804111)'))) / (select extract(epoch from '2026-06-27 07:58:48'::timestamp) - extract(epoch from '2026-06-27 07:58:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030036 -2.804082)'), GeomFromEWKT('SRID=4674;POINT (-40.029968 -2.804111)'))) / (select extract(epoch from '2026-06-27 07:58:48'::timestamp) - extract(epoch from '2026-06-27 07: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'), 46942, 'SRID=4674;POINT (-40.029929 -2.804187)', '2026-06-27 07:58:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029968 -2.804111)'), GeomFromEWKT('SRID=4674;POINT (-40.029929 -2.804187)'))) / (select extract(epoch from '2026-06-27 07:58:57'::timestamp) - extract(epoch from '2026-06-27 07:58:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029968 -2.804111)'), GeomFromEWKT('SRID=4674;POINT (-40.029929 -2.804187)'))) / (select extract(epoch from '2026-06-27 07:58:57'::timestamp) - extract(epoch from '2026-06-27 07:58: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'), 46942, 'SRID=4674;POINT (-40.029874 -2.804278)', '2026-06-27 07:59:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029929 -2.804187)'), GeomFromEWKT('SRID=4674;POINT (-40.029874 -2.804278)'))) / (select extract(epoch from '2026-06-27 07:59:05'::timestamp) - extract(epoch from '2026-06-27 07:58:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029929 -2.804187)'), GeomFromEWKT('SRID=4674;POINT (-40.029874 -2.804278)'))) / (select extract(epoch from '2026-06-27 07:59:05'::timestamp) - extract(epoch from '2026-06-27 07:58:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.029824 -2.804367)', '2026-06-27 07:59:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029874 -2.804278)'), GeomFromEWKT('SRID=4674;POINT (-40.029824 -2.804367)'))) / (select extract(epoch from '2026-06-27 07:59:15'::timestamp) - extract(epoch from '2026-06-27 07:59:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029874 -2.804278)'), GeomFromEWKT('SRID=4674;POINT (-40.029824 -2.804367)'))) / (select extract(epoch from '2026-06-27 07:59:15'::timestamp) - extract(epoch from '2026-06-27 07:59: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'), 46942, 'SRID=4674;POINT (-40.029826 -2.804412)', '2026-06-27 07:59:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029824 -2.804367)'), GeomFromEWKT('SRID=4674;POINT (-40.029826 -2.804412)'))) / (select extract(epoch from '2026-06-27 07:59:24'::timestamp) - extract(epoch from '2026-06-27 07:59:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029824 -2.804367)'), GeomFromEWKT('SRID=4674;POINT (-40.029826 -2.804412)'))) / (select extract(epoch from '2026-06-27 07:59:24'::timestamp) - extract(epoch from '2026-06-27 07:59:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.02984 -2.804431)', '2026-06-27 07:59:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029826 -2.804412)'), GeomFromEWKT('SRID=4674;POINT (-40.02984 -2.804431)'))) / (select extract(epoch from '2026-06-27 07:59:31'::timestamp) - extract(epoch from '2026-06-27 07:59:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029826 -2.804412)'), GeomFromEWKT('SRID=4674;POINT (-40.02984 -2.804431)'))) / (select extract(epoch from '2026-06-27 07:59:31'::timestamp) - extract(epoch from '2026-06-27 07:59: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'), 46942, 'SRID=4674;POINT (-40.029882 -2.80442)', '2026-06-27 07:59:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02984 -2.804431)'), GeomFromEWKT('SRID=4674;POINT (-40.029882 -2.80442)'))) / (select extract(epoch from '2026-06-27 07:59:53'::timestamp) - extract(epoch from '2026-06-27 07:59:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02984 -2.804431)'), GeomFromEWKT('SRID=4674;POINT (-40.029882 -2.80442)'))) / (select extract(epoch from '2026-06-27 07:59:53'::timestamp) - extract(epoch from '2026-06-27 07:59: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'), 46942, 'SRID=4674;POINT (-40.029981 -2.804331)', '2026-06-27 08:00:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029882 -2.80442)'), GeomFromEWKT('SRID=4674;POINT (-40.029981 -2.804331)'))) / (select extract(epoch from '2026-06-27 08:00:26'::timestamp) - extract(epoch from '2026-06-27 07:59:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029882 -2.80442)'), GeomFromEWKT('SRID=4674;POINT (-40.029981 -2.804331)'))) / (select extract(epoch from '2026-06-27 08:00:26'::timestamp) - extract(epoch from '2026-06-27 07:59: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'), 46942, 'SRID=4674;POINT (-40.030017 -2.804313)', '2026-06-27 08:00:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029981 -2.804331)'), GeomFromEWKT('SRID=4674;POINT (-40.030017 -2.804313)'))) / (select extract(epoch from '2026-06-27 08:00:46'::timestamp) - extract(epoch from '2026-06-27 08:00:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029981 -2.804331)'), GeomFromEWKT('SRID=4674;POINT (-40.030017 -2.804313)'))) / (select extract(epoch from '2026-06-27 08:00:46'::timestamp) - extract(epoch from '2026-06-27 08:00: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'), 46942, 'SRID=4674;POINT (-40.030017 -2.804271)', '2026-06-27 08:01:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030017 -2.804313)'), GeomFromEWKT('SRID=4674;POINT (-40.030017 -2.804271)'))) / (select extract(epoch from '2026-06-27 08:01:07'::timestamp) - extract(epoch from '2026-06-27 08:00:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030017 -2.804313)'), GeomFromEWKT('SRID=4674;POINT (-40.030017 -2.804271)'))) / (select extract(epoch from '2026-06-27 08:01:07'::timestamp) - extract(epoch from '2026-06-27 08: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'), 46942, 'SRID=4674;POINT (-40.030026 -2.804288)', '2026-06-27 08:01:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030017 -2.804271)'), GeomFromEWKT('SRID=4674;POINT (-40.030026 -2.804288)'))) / (select extract(epoch from '2026-06-27 08:01:27'::timestamp) - extract(epoch from '2026-06-27 08:01:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030017 -2.804271)'), GeomFromEWKT('SRID=4674;POINT (-40.030026 -2.804288)'))) / (select extract(epoch from '2026-06-27 08:01:27'::timestamp) - extract(epoch from '2026-06-27 08: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'), 46942, 'SRID=4674;POINT (-40.030038 -2.804292)', '2026-06-27 08:02:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030026 -2.804288)'), GeomFromEWKT('SRID=4674;POINT (-40.030038 -2.804292)'))) / (select extract(epoch from '2026-06-27 08:02:04'::timestamp) - extract(epoch from '2026-06-27 08:01:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030026 -2.804288)'), GeomFromEWKT('SRID=4674;POINT (-40.030038 -2.804292)'))) / (select extract(epoch from '2026-06-27 08:02:04'::timestamp) - extract(epoch from '2026-06-27 08:01:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.030035 -2.804324)', '2026-06-27 08:02:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030038 -2.804292)'), GeomFromEWKT('SRID=4674;POINT (-40.030035 -2.804324)'))) / (select extract(epoch from '2026-06-27 08:02:40'::timestamp) - extract(epoch from '2026-06-27 08:02:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030038 -2.804292)'), GeomFromEWKT('SRID=4674;POINT (-40.030035 -2.804324)'))) / (select extract(epoch from '2026-06-27 08:02:40'::timestamp) - extract(epoch from '2026-06-27 08:02: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'), 46942, 'SRID=4674;POINT (-40.030042 -2.804342)', '2026-06-27 08:03:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030035 -2.804324)'), GeomFromEWKT('SRID=4674;POINT (-40.030042 -2.804342)'))) / (select extract(epoch from '2026-06-27 08:03:07'::timestamp) - extract(epoch from '2026-06-27 08:02:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030035 -2.804324)'), GeomFromEWKT('SRID=4674;POINT (-40.030042 -2.804342)'))) / (select extract(epoch from '2026-06-27 08:03:07'::timestamp) - extract(epoch from '2026-06-27 08:02: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'), 46942, 'SRID=4674;POINT (-40.03004 -2.80435)', '2026-06-27 08:03:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030042 -2.804342)'), GeomFromEWKT('SRID=4674;POINT (-40.03004 -2.80435)'))) / (select extract(epoch from '2026-06-27 08:03:46'::timestamp) - extract(epoch from '2026-06-27 08:03:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030042 -2.804342)'), GeomFromEWKT('SRID=4674;POINT (-40.03004 -2.80435)'))) / (select extract(epoch from '2026-06-27 08:03:46'::timestamp) - extract(epoch from '2026-06-27 08: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'), 46942, 'SRID=4674;POINT (-40.030039 -2.804354)', '2026-06-27 08:04:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03004 -2.80435)'), GeomFromEWKT('SRID=4674;POINT (-40.030039 -2.804354)'))) / (select extract(epoch from '2026-06-27 08:04:46'::timestamp) - extract(epoch from '2026-06-27 08:03:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03004 -2.80435)'), GeomFromEWKT('SRID=4674;POINT (-40.030039 -2.804354)'))) / (select extract(epoch from '2026-06-27 08:04:46'::timestamp) - extract(epoch from '2026-06-27 08:03:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.030041 -2.804361)', '2026-06-27 08:05:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030039 -2.804354)'), GeomFromEWKT('SRID=4674;POINT (-40.030041 -2.804361)'))) / (select extract(epoch from '2026-06-27 08:05:17'::timestamp) - extract(epoch from '2026-06-27 08:04:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030039 -2.804354)'), GeomFromEWKT('SRID=4674;POINT (-40.030041 -2.804361)'))) / (select extract(epoch from '2026-06-27 08:05:17'::timestamp) - extract(epoch from '2026-06-27 08:04:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.030048 -2.804356)', '2026-06-27 08:06:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030041 -2.804361)'), GeomFromEWKT('SRID=4674;POINT (-40.030048 -2.804356)'))) / (select extract(epoch from '2026-06-27 08:06:04'::timestamp) - extract(epoch from '2026-06-27 08:05:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030041 -2.804361)'), GeomFromEWKT('SRID=4674;POINT (-40.030048 -2.804356)'))) / (select extract(epoch from '2026-06-27 08:06:04'::timestamp) - extract(epoch from '2026-06-27 08:05:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.030035 -2.804346)', '2026-06-27 08:07:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030048 -2.804356)'), GeomFromEWKT('SRID=4674;POINT (-40.030035 -2.804346)'))) / (select extract(epoch from '2026-06-27 08:07:00'::timestamp) - extract(epoch from '2026-06-27 08:06:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030048 -2.804356)'), GeomFromEWKT('SRID=4674;POINT (-40.030035 -2.804346)'))) / (select extract(epoch from '2026-06-27 08:07:00'::timestamp) - extract(epoch from '2026-06-27 08:06:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.029985 -2.804379)', '2026-06-27 08:07:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030035 -2.804346)'), GeomFromEWKT('SRID=4674;POINT (-40.029985 -2.804379)'))) / (select extract(epoch from '2026-06-27 08:07:22'::timestamp) - extract(epoch from '2026-06-27 08:07:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030035 -2.804346)'), GeomFromEWKT('SRID=4674;POINT (-40.029985 -2.804379)'))) / (select extract(epoch from '2026-06-27 08:07:22'::timestamp) - extract(epoch from '2026-06-27 08:07: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'), 46942, 'SRID=4674;POINT (-40.029867 -2.804393)', '2026-06-27 08:07:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029985 -2.804379)'), GeomFromEWKT('SRID=4674;POINT (-40.029867 -2.804393)'))) / (select extract(epoch from '2026-06-27 08:07:31'::timestamp) - extract(epoch from '2026-06-27 08:07:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029985 -2.804379)'), GeomFromEWKT('SRID=4674;POINT (-40.029867 -2.804393)'))) / (select extract(epoch from '2026-06-27 08:07:31'::timestamp) - extract(epoch from '2026-06-27 08:07:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.029755 -2.804431)', '2026-06-27 08:07:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029867 -2.804393)'), GeomFromEWKT('SRID=4674;POINT (-40.029755 -2.804431)'))) / (select extract(epoch from '2026-06-27 08:07:42'::timestamp) - extract(epoch from '2026-06-27 08:07:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029867 -2.804393)'), GeomFromEWKT('SRID=4674;POINT (-40.029755 -2.804431)'))) / (select extract(epoch from '2026-06-27 08:07:42'::timestamp) - extract(epoch from '2026-06-27 08:07:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.029719 -2.804494)', '2026-06-27 08:07:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029755 -2.804431)'), GeomFromEWKT('SRID=4674;POINT (-40.029719 -2.804494)'))) / (select extract(epoch from '2026-06-27 08:07:49'::timestamp) - extract(epoch from '2026-06-27 08:07:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029755 -2.804431)'), GeomFromEWKT('SRID=4674;POINT (-40.029719 -2.804494)'))) / (select extract(epoch from '2026-06-27 08:07:49'::timestamp) - extract(epoch from '2026-06-27 08:07:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.029721 -2.80452)', '2026-06-27 08:07:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029719 -2.804494)'), GeomFromEWKT('SRID=4674;POINT (-40.029721 -2.80452)'))) / (select extract(epoch from '2026-06-27 08:07:51'::timestamp) - extract(epoch from '2026-06-27 08:07:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029719 -2.804494)'), GeomFromEWKT('SRID=4674;POINT (-40.029721 -2.80452)'))) / (select extract(epoch from '2026-06-27 08:07:51'::timestamp) - extract(epoch from '2026-06-27 08:07: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'), 46942, 'SRID=4674;POINT (-40.029767 -2.804642)', '2026-06-27 08:07:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029721 -2.80452)'), GeomFromEWKT('SRID=4674;POINT (-40.029767 -2.804642)'))) / (select extract(epoch from '2026-06-27 08:07:59'::timestamp) - extract(epoch from '2026-06-27 08:07:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029721 -2.80452)'), GeomFromEWKT('SRID=4674;POINT (-40.029767 -2.804642)'))) / (select extract(epoch from '2026-06-27 08:07:59'::timestamp) - extract(epoch from '2026-06-27 08:07:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.029807 -2.80476)', '2026-06-27 08:08:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029767 -2.804642)'), GeomFromEWKT('SRID=4674;POINT (-40.029807 -2.80476)'))) / (select extract(epoch from '2026-06-27 08:08:06'::timestamp) - extract(epoch from '2026-06-27 08:07:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029767 -2.804642)'), GeomFromEWKT('SRID=4674;POINT (-40.029807 -2.80476)'))) / (select extract(epoch from '2026-06-27 08:08:06'::timestamp) - extract(epoch from '2026-06-27 08:07: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'), 46942, 'SRID=4674;POINT (-40.029835 -2.804914)', '2026-06-27 08:08:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029807 -2.80476)'), GeomFromEWKT('SRID=4674;POINT (-40.029835 -2.804914)'))) / (select extract(epoch from '2026-06-27 08:08:15'::timestamp) - extract(epoch from '2026-06-27 08:08:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029807 -2.80476)'), GeomFromEWKT('SRID=4674;POINT (-40.029835 -2.804914)'))) / (select extract(epoch from '2026-06-27 08:08:15'::timestamp) - extract(epoch from '2026-06-27 08:08:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.029863 -2.805001)', '2026-06-27 08:08:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029835 -2.804914)'), GeomFromEWKT('SRID=4674;POINT (-40.029863 -2.805001)'))) / (select extract(epoch from '2026-06-27 08:08:21'::timestamp) - extract(epoch from '2026-06-27 08:08:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029835 -2.804914)'), GeomFromEWKT('SRID=4674;POINT (-40.029863 -2.805001)'))) / (select extract(epoch from '2026-06-27 08:08:21'::timestamp) - extract(epoch from '2026-06-27 08:08: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'), 46942, 'SRID=4674;POINT (-40.029927 -2.805111)', '2026-06-27 08:08:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029863 -2.805001)'), GeomFromEWKT('SRID=4674;POINT (-40.029927 -2.805111)'))) / (select extract(epoch from '2026-06-27 08:08:30'::timestamp) - extract(epoch from '2026-06-27 08:08:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029863 -2.805001)'), GeomFromEWKT('SRID=4674;POINT (-40.029927 -2.805111)'))) / (select extract(epoch from '2026-06-27 08:08:30'::timestamp) - extract(epoch from '2026-06-27 08:08: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'), 46942, 'SRID=4674;POINT (-40.029968 -2.80521)', '2026-06-27 08:08:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029927 -2.805111)'), GeomFromEWKT('SRID=4674;POINT (-40.029968 -2.80521)'))) / (select extract(epoch from '2026-06-27 08:08:39'::timestamp) - extract(epoch from '2026-06-27 08:08:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029927 -2.805111)'), GeomFromEWKT('SRID=4674;POINT (-40.029968 -2.80521)'))) / (select extract(epoch from '2026-06-27 08:08:39'::timestamp) - extract(epoch from '2026-06-27 08:08:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.02995 -2.805283)', '2026-06-27 08:08:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029968 -2.80521)'), GeomFromEWKT('SRID=4674;POINT (-40.02995 -2.805283)'))) / (select extract(epoch from '2026-06-27 08:08:47'::timestamp) - extract(epoch from '2026-06-27 08:08:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029968 -2.80521)'), GeomFromEWKT('SRID=4674;POINT (-40.02995 -2.805283)'))) / (select extract(epoch from '2026-06-27 08:08:47'::timestamp) - extract(epoch from '2026-06-27 08:08: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'), 46942, 'SRID=4674;POINT (-40.029996 -2.805365)', '2026-06-27 08:08:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02995 -2.805283)'), GeomFromEWKT('SRID=4674;POINT (-40.029996 -2.805365)'))) / (select extract(epoch from '2026-06-27 08:08:56'::timestamp) - extract(epoch from '2026-06-27 08:08:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02995 -2.805283)'), GeomFromEWKT('SRID=4674;POINT (-40.029996 -2.805365)'))) / (select extract(epoch from '2026-06-27 08:08:56'::timestamp) - extract(epoch from '2026-06-27 08:08: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'), 46942, 'SRID=4674;POINT (-40.030081 -2.805377)', '2026-06-27 08:09:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029996 -2.805365)'), GeomFromEWKT('SRID=4674;POINT (-40.030081 -2.805377)'))) / (select extract(epoch from '2026-06-27 08:09:03'::timestamp) - extract(epoch from '2026-06-27 08:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029996 -2.805365)'), GeomFromEWKT('SRID=4674;POINT (-40.030081 -2.805377)'))) / (select extract(epoch from '2026-06-27 08:09:03'::timestamp) - extract(epoch from '2026-06-27 08:08: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'), 46942, 'SRID=4674;POINT (-40.030162 -2.805341)', '2026-06-27 08:09:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030081 -2.805377)'), GeomFromEWKT('SRID=4674;POINT (-40.030162 -2.805341)'))) / (select extract(epoch from '2026-06-27 08:09:10'::timestamp) - extract(epoch from '2026-06-27 08:09:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030081 -2.805377)'), GeomFromEWKT('SRID=4674;POINT (-40.030162 -2.805341)'))) / (select extract(epoch from '2026-06-27 08:09:10'::timestamp) - extract(epoch from '2026-06-27 08:09: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'), 46942, 'SRID=4674;POINT (-40.030169 -2.805332)', '2026-06-27 08:09:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030162 -2.805341)'), GeomFromEWKT('SRID=4674;POINT (-40.030169 -2.805332)'))) / (select extract(epoch from '2026-06-27 08:09:11'::timestamp) - extract(epoch from '2026-06-27 08:09:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030162 -2.805341)'), GeomFromEWKT('SRID=4674;POINT (-40.030169 -2.805332)'))) / (select extract(epoch from '2026-06-27 08:09:11'::timestamp) - extract(epoch from '2026-06-27 08:09:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.030198 -2.805298)', '2026-06-27 08:09:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030169 -2.805332)'), GeomFromEWKT('SRID=4674;POINT (-40.030198 -2.805298)'))) / (select extract(epoch from '2026-06-27 08:09:15'::timestamp) - extract(epoch from '2026-06-27 08:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030169 -2.805332)'), GeomFromEWKT('SRID=4674;POINT (-40.030198 -2.805298)'))) / (select extract(epoch from '2026-06-27 08:09:15'::timestamp) - extract(epoch from '2026-06-27 08:09: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'), 46942, 'SRID=4674;POINT (-40.030217 -2.805259)', '2026-06-27 08:09:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030198 -2.805298)'), GeomFromEWKT('SRID=4674;POINT (-40.030217 -2.805259)'))) / (select extract(epoch from '2026-06-27 08:09:19'::timestamp) - extract(epoch from '2026-06-27 08:09:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030198 -2.805298)'), GeomFromEWKT('SRID=4674;POINT (-40.030217 -2.805259)'))) / (select extract(epoch from '2026-06-27 08:09:19'::timestamp) - extract(epoch from '2026-06-27 08:09: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'), 46942, 'SRID=4674;POINT (-40.030222 -2.805241)', '2026-06-27 08:09:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030217 -2.805259)'), GeomFromEWKT('SRID=4674;POINT (-40.030222 -2.805241)'))) / (select extract(epoch from '2026-06-27 08:09:21'::timestamp) - extract(epoch from '2026-06-27 08:09:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030217 -2.805259)'), GeomFromEWKT('SRID=4674;POINT (-40.030222 -2.805241)'))) / (select extract(epoch from '2026-06-27 08:09:21'::timestamp) - extract(epoch from '2026-06-27 08: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'), 46942, 'SRID=4674;POINT (-40.030215 -2.805177)', '2026-06-27 08:09:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030222 -2.805241)'), GeomFromEWKT('SRID=4674;POINT (-40.030215 -2.805177)'))) / (select extract(epoch from '2026-06-27 08:09:30'::timestamp) - extract(epoch from '2026-06-27 08:09:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030222 -2.805241)'), GeomFromEWKT('SRID=4674;POINT (-40.030215 -2.805177)'))) / (select extract(epoch from '2026-06-27 08:09:30'::timestamp) - extract(epoch from '2026-06-27 08:09: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'), 46942, 'SRID=4674;POINT (-40.03015 -2.805131)', '2026-06-27 08:09:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030215 -2.805177)'), GeomFromEWKT('SRID=4674;POINT (-40.03015 -2.805131)'))) / (select extract(epoch from '2026-06-27 08:09:40'::timestamp) - extract(epoch from '2026-06-27 08:09:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030215 -2.805177)'), GeomFromEWKT('SRID=4674;POINT (-40.03015 -2.805131)'))) / (select extract(epoch from '2026-06-27 08:09:40'::timestamp) - extract(epoch from '2026-06-27 08:09:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.030109 -2.80517)', '2026-06-27 08:09:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03015 -2.805131)'), GeomFromEWKT('SRID=4674;POINT (-40.030109 -2.80517)'))) / (select extract(epoch from '2026-06-27 08:09:50'::timestamp) - extract(epoch from '2026-06-27 08:09:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03015 -2.805131)'), GeomFromEWKT('SRID=4674;POINT (-40.030109 -2.80517)'))) / (select extract(epoch from '2026-06-27 08:09:50'::timestamp) - extract(epoch from '2026-06-27 08:09: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'), 46942, 'SRID=4674;POINT (-40.03016 -2.805249)', '2026-06-27 08:10:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030109 -2.80517)'), GeomFromEWKT('SRID=4674;POINT (-40.03016 -2.805249)'))) / (select extract(epoch from '2026-06-27 08:10:01'::timestamp) - extract(epoch from '2026-06-27 08:09:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030109 -2.80517)'), GeomFromEWKT('SRID=4674;POINT (-40.03016 -2.805249)'))) / (select extract(epoch from '2026-06-27 08:10:01'::timestamp) - extract(epoch from '2026-06-27 08:09: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'), 46942, 'SRID=4674;POINT (-40.030217 -2.80534)', '2026-06-27 08:10:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03016 -2.805249)'), GeomFromEWKT('SRID=4674;POINT (-40.030217 -2.80534)'))) / (select extract(epoch from '2026-06-27 08:10:08'::timestamp) - extract(epoch from '2026-06-27 08:10:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03016 -2.805249)'), GeomFromEWKT('SRID=4674;POINT (-40.030217 -2.80534)'))) / (select extract(epoch from '2026-06-27 08:10:08'::timestamp) - extract(epoch from '2026-06-27 08:10:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.030284 -2.80549)', '2026-06-27 08:10:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030217 -2.80534)'), GeomFromEWKT('SRID=4674;POINT (-40.030284 -2.80549)'))) / (select extract(epoch from '2026-06-27 08:10:17'::timestamp) - extract(epoch from '2026-06-27 08:10:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030217 -2.80534)'), GeomFromEWKT('SRID=4674;POINT (-40.030284 -2.80549)'))) / (select extract(epoch from '2026-06-27 08:10:17'::timestamp) - extract(epoch from '2026-06-27 08:10:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.030327 -2.805666)', '2026-06-27 08:10:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030284 -2.80549)'), GeomFromEWKT('SRID=4674;POINT (-40.030327 -2.805666)'))) / (select extract(epoch from '2026-06-27 08:10:27'::timestamp) - extract(epoch from '2026-06-27 08:10:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030284 -2.80549)'), GeomFromEWKT('SRID=4674;POINT (-40.030327 -2.805666)'))) / (select extract(epoch from '2026-06-27 08:10:27'::timestamp) - extract(epoch from '2026-06-27 08:10: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'), 46942, 'SRID=4674;POINT (-40.030353 -2.805849)', '2026-06-27 08:10:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030327 -2.805666)'), GeomFromEWKT('SRID=4674;POINT (-40.030353 -2.805849)'))) / (select extract(epoch from '2026-06-27 08:10:37'::timestamp) - extract(epoch from '2026-06-27 08:10:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030327 -2.805666)'), GeomFromEWKT('SRID=4674;POINT (-40.030353 -2.805849)'))) / (select extract(epoch from '2026-06-27 08:10:37'::timestamp) - extract(epoch from '2026-06-27 08:10: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'), 46942, 'SRID=4674;POINT (-40.030378 -2.80603)', '2026-06-27 08:10:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030353 -2.805849)'), GeomFromEWKT('SRID=4674;POINT (-40.030378 -2.80603)'))) / (select extract(epoch from '2026-06-27 08:10:47'::timestamp) - extract(epoch from '2026-06-27 08:10:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030353 -2.805849)'), GeomFromEWKT('SRID=4674;POINT (-40.030378 -2.80603)'))) / (select extract(epoch from '2026-06-27 08:10:47'::timestamp) - extract(epoch from '2026-06-27 08:10:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.030432 -2.806168)', '2026-06-27 08:10:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030378 -2.80603)'), GeomFromEWKT('SRID=4674;POINT (-40.030432 -2.806168)'))) / (select extract(epoch from '2026-06-27 08:10:56'::timestamp) - extract(epoch from '2026-06-27 08:10:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030378 -2.80603)'), GeomFromEWKT('SRID=4674;POINT (-40.030432 -2.806168)'))) / (select extract(epoch from '2026-06-27 08:10:56'::timestamp) - extract(epoch from '2026-06-27 08:10:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.03051 -2.806232)', '2026-06-27 08:11:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030432 -2.806168)'), GeomFromEWKT('SRID=4674;POINT (-40.03051 -2.806232)'))) / (select extract(epoch from '2026-06-27 08:11:03'::timestamp) - extract(epoch from '2026-06-27 08:10:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030432 -2.806168)'), GeomFromEWKT('SRID=4674;POINT (-40.03051 -2.806232)'))) / (select extract(epoch from '2026-06-27 08:11:03'::timestamp) - extract(epoch from '2026-06-27 08:10: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'), 46942, 'SRID=4674;POINT (-40.030589 -2.806273)', '2026-06-27 08:11:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03051 -2.806232)'), GeomFromEWKT('SRID=4674;POINT (-40.030589 -2.806273)'))) / (select extract(epoch from '2026-06-27 08:11:10'::timestamp) - extract(epoch from '2026-06-27 08:11:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03051 -2.806232)'), GeomFromEWKT('SRID=4674;POINT (-40.030589 -2.806273)'))) / (select extract(epoch from '2026-06-27 08:11:10'::timestamp) - extract(epoch from '2026-06-27 08:11: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'), 46942, 'SRID=4674;POINT (-40.030653 -2.806315)', '2026-06-27 08:11:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030589 -2.806273)'), GeomFromEWKT('SRID=4674;POINT (-40.030653 -2.806315)'))) / (select extract(epoch from '2026-06-27 08:11:18'::timestamp) - extract(epoch from '2026-06-27 08:11:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030589 -2.806273)'), GeomFromEWKT('SRID=4674;POINT (-40.030653 -2.806315)'))) / (select extract(epoch from '2026-06-27 08:11:18'::timestamp) - extract(epoch from '2026-06-27 08:11: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'), 46942, 'SRID=4674;POINT (-40.030654 -2.806366)', '2026-06-27 08:11:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030653 -2.806315)'), GeomFromEWKT('SRID=4674;POINT (-40.030654 -2.806366)'))) / (select extract(epoch from '2026-06-27 08:11:24'::timestamp) - extract(epoch from '2026-06-27 08:11:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030653 -2.806315)'), GeomFromEWKT('SRID=4674;POINT (-40.030654 -2.806366)'))) / (select extract(epoch from '2026-06-27 08:11:24'::timestamp) - extract(epoch from '2026-06-27 08:11: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'), 46942, 'SRID=4674;POINT (-40.03064 -2.80638)', '2026-06-27 08:11:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030654 -2.806366)'), GeomFromEWKT('SRID=4674;POINT (-40.03064 -2.80638)'))) / (select extract(epoch from '2026-06-27 08:11:30'::timestamp) - extract(epoch from '2026-06-27 08:11:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030654 -2.806366)'), GeomFromEWKT('SRID=4674;POINT (-40.03064 -2.80638)'))) / (select extract(epoch from '2026-06-27 08:11:30'::timestamp) - extract(epoch from '2026-06-27 08:11: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'), 46942, 'SRID=4674;POINT (-40.030626 -2.806365)', '2026-06-27 08:11:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03064 -2.80638)'), GeomFromEWKT('SRID=4674;POINT (-40.030626 -2.806365)'))) / (select extract(epoch from '2026-06-27 08:11:36'::timestamp) - extract(epoch from '2026-06-27 08:11:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03064 -2.80638)'), GeomFromEWKT('SRID=4674;POINT (-40.030626 -2.806365)'))) / (select extract(epoch from '2026-06-27 08:11:36'::timestamp) - extract(epoch from '2026-06-27 08:11:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.030584 -2.806338)', '2026-06-27 08:11:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030626 -2.806365)'), GeomFromEWKT('SRID=4674;POINT (-40.030584 -2.806338)'))) / (select extract(epoch from '2026-06-27 08:11:47'::timestamp) - extract(epoch from '2026-06-27 08:11:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030626 -2.806365)'), GeomFromEWKT('SRID=4674;POINT (-40.030584 -2.806338)'))) / (select extract(epoch from '2026-06-27 08:11:47'::timestamp) - extract(epoch from '2026-06-27 08:11:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.030514 -2.806326)', '2026-06-27 08:11:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030584 -2.806338)'), GeomFromEWKT('SRID=4674;POINT (-40.030514 -2.806326)'))) / (select extract(epoch from '2026-06-27 08:11:58'::timestamp) - extract(epoch from '2026-06-27 08:11:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030584 -2.806338)'), GeomFromEWKT('SRID=4674;POINT (-40.030514 -2.806326)'))) / (select extract(epoch from '2026-06-27 08:11:58'::timestamp) - extract(epoch from '2026-06-27 08:11: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'), 46942, 'SRID=4674;POINT (-40.030437 -2.806301)', '2026-06-27 08:12:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030514 -2.806326)'), GeomFromEWKT('SRID=4674;POINT (-40.030437 -2.806301)'))) / (select extract(epoch from '2026-06-27 08:12:05'::timestamp) - extract(epoch from '2026-06-27 08:11:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030514 -2.806326)'), GeomFromEWKT('SRID=4674;POINT (-40.030437 -2.806301)'))) / (select extract(epoch from '2026-06-27 08:12:05'::timestamp) - extract(epoch from '2026-06-27 08:11: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'), 46942, 'SRID=4674;POINT (-40.030328 -2.806241)', '2026-06-27 08:12:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030437 -2.806301)'), GeomFromEWKT('SRID=4674;POINT (-40.030328 -2.806241)'))) / (select extract(epoch from '2026-06-27 08:12:15'::timestamp) - extract(epoch from '2026-06-27 08:12:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030437 -2.806301)'), GeomFromEWKT('SRID=4674;POINT (-40.030328 -2.806241)'))) / (select extract(epoch from '2026-06-27 08:12:15'::timestamp) - extract(epoch from '2026-06-27 08:12: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'), 46942, 'SRID=4674;POINT (-40.030259 -2.806184)', '2026-06-27 08:12:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030328 -2.806241)'), GeomFromEWKT('SRID=4674;POINT (-40.030259 -2.806184)'))) / (select extract(epoch from '2026-06-27 08:12:24'::timestamp) - extract(epoch from '2026-06-27 08:12:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030328 -2.806241)'), GeomFromEWKT('SRID=4674;POINT (-40.030259 -2.806184)'))) / (select extract(epoch from '2026-06-27 08:12:24'::timestamp) - extract(epoch from '2026-06-27 08:12: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'), 46942, 'SRID=4674;POINT (-40.030205 -2.806133)', '2026-06-27 08:12:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030259 -2.806184)'), GeomFromEWKT('SRID=4674;POINT (-40.030205 -2.806133)'))) / (select extract(epoch from '2026-06-27 08:12:32'::timestamp) - extract(epoch from '2026-06-27 08:12:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030259 -2.806184)'), GeomFromEWKT('SRID=4674;POINT (-40.030205 -2.806133)'))) / (select extract(epoch from '2026-06-27 08:12:32'::timestamp) - extract(epoch from '2026-06-27 08:12: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'), 46942, 'SRID=4674;POINT (-40.030083 -2.806025)', '2026-06-27 08:12:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030205 -2.806133)'), GeomFromEWKT('SRID=4674;POINT (-40.030083 -2.806025)'))) / (select extract(epoch from '2026-06-27 08:12:42'::timestamp) - extract(epoch from '2026-06-27 08:12:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030205 -2.806133)'), GeomFromEWKT('SRID=4674;POINT (-40.030083 -2.806025)'))) / (select extract(epoch from '2026-06-27 08:12:42'::timestamp) - extract(epoch from '2026-06-27 08:12: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'), 46942, 'SRID=4674;POINT (-40.029998 -2.805908)', '2026-06-27 08:12:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030083 -2.806025)'), GeomFromEWKT('SRID=4674;POINT (-40.029998 -2.805908)'))) / (select extract(epoch from '2026-06-27 08:12:50'::timestamp) - extract(epoch from '2026-06-27 08:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030083 -2.806025)'), GeomFromEWKT('SRID=4674;POINT (-40.029998 -2.805908)'))) / (select extract(epoch from '2026-06-27 08:12:50'::timestamp) - extract(epoch from '2026-06-27 08:12:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.029967 -2.805841)', '2026-06-27 08:12:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029998 -2.805908)'), GeomFromEWKT('SRID=4674;POINT (-40.029967 -2.805841)'))) / (select extract(epoch from '2026-06-27 08:12:54'::timestamp) - extract(epoch from '2026-06-27 08:12:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029998 -2.805908)'), GeomFromEWKT('SRID=4674;POINT (-40.029967 -2.805841)'))) / (select extract(epoch from '2026-06-27 08:12:54'::timestamp) - extract(epoch from '2026-06-27 08:12:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.029881 -2.805672)', '2026-06-27 08:13:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029967 -2.805841)'), GeomFromEWKT('SRID=4674;POINT (-40.029881 -2.805672)'))) / (select extract(epoch from '2026-06-27 08:13:04'::timestamp) - extract(epoch from '2026-06-27 08:12:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029967 -2.805841)'), GeomFromEWKT('SRID=4674;POINT (-40.029881 -2.805672)'))) / (select extract(epoch from '2026-06-27 08:13:04'::timestamp) - extract(epoch from '2026-06-27 08:12: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'), 46942, 'SRID=4674;POINT (-40.029791 -2.8055)', '2026-06-27 08:13:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029881 -2.805672)'), GeomFromEWKT('SRID=4674;POINT (-40.029791 -2.8055)'))) / (select extract(epoch from '2026-06-27 08:13:14'::timestamp) - extract(epoch from '2026-06-27 08:13:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029881 -2.805672)'), GeomFromEWKT('SRID=4674;POINT (-40.029791 -2.8055)'))) / (select extract(epoch from '2026-06-27 08:13:14'::timestamp) - extract(epoch from '2026-06-27 08:13: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'), 46942, 'SRID=4674;POINT (-40.029719 -2.805319)', '2026-06-27 08:13:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029791 -2.8055)'), GeomFromEWKT('SRID=4674;POINT (-40.029719 -2.805319)'))) / (select extract(epoch from '2026-06-27 08:13:24'::timestamp) - extract(epoch from '2026-06-27 08:13:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029791 -2.8055)'), GeomFromEWKT('SRID=4674;POINT (-40.029719 -2.805319)'))) / (select extract(epoch from '2026-06-27 08:13:24'::timestamp) - extract(epoch from '2026-06-27 08:13: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'), 46942, 'SRID=4674;POINT (-40.029645 -2.805134)', '2026-06-27 08:13:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029719 -2.805319)'), GeomFromEWKT('SRID=4674;POINT (-40.029645 -2.805134)'))) / (select extract(epoch from '2026-06-27 08:13:34'::timestamp) - extract(epoch from '2026-06-27 08:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029719 -2.805319)'), GeomFromEWKT('SRID=4674;POINT (-40.029645 -2.805134)'))) / (select extract(epoch from '2026-06-27 08:13:34'::timestamp) - extract(epoch from '2026-06-27 08:13: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'), 46942, 'SRID=4674;POINT (-40.029578 -2.804967)', '2026-06-27 08:13:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029645 -2.805134)'), GeomFromEWKT('SRID=4674;POINT (-40.029578 -2.804967)'))) / (select extract(epoch from '2026-06-27 08:13:43'::timestamp) - extract(epoch from '2026-06-27 08:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029645 -2.805134)'), GeomFromEWKT('SRID=4674;POINT (-40.029578 -2.804967)'))) / (select extract(epoch from '2026-06-27 08:13:43'::timestamp) - extract(epoch from '2026-06-27 08:13: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'), 46942, 'SRID=4674;POINT (-40.029527 -2.804843)', '2026-06-27 08:13:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029578 -2.804967)'), GeomFromEWKT('SRID=4674;POINT (-40.029527 -2.804843)'))) / (select extract(epoch from '2026-06-27 08:13:50'::timestamp) - extract(epoch from '2026-06-27 08:13:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029578 -2.804967)'), GeomFromEWKT('SRID=4674;POINT (-40.029527 -2.804843)'))) / (select extract(epoch from '2026-06-27 08:13:50'::timestamp) - extract(epoch from '2026-06-27 08:13: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'), 46942, 'SRID=4674;POINT (-40.029495 -2.804733)', '2026-06-27 08:13:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029527 -2.804843)'), GeomFromEWKT('SRID=4674;POINT (-40.029495 -2.804733)'))) / (select extract(epoch from '2026-06-27 08:13:56'::timestamp) - extract(epoch from '2026-06-27 08:13:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029527 -2.804843)'), GeomFromEWKT('SRID=4674;POINT (-40.029495 -2.804733)'))) / (select extract(epoch from '2026-06-27 08:13:56'::timestamp) - extract(epoch from '2026-06-27 08: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'), 46942, 'SRID=4674;POINT (-40.02945 -2.804601)', '2026-06-27 08:14:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029495 -2.804733)'), GeomFromEWKT('SRID=4674;POINT (-40.02945 -2.804601)'))) / (select extract(epoch from '2026-06-27 08:14:03'::timestamp) - extract(epoch from '2026-06-27 08:13:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029495 -2.804733)'), GeomFromEWKT('SRID=4674;POINT (-40.02945 -2.804601)'))) / (select extract(epoch from '2026-06-27 08:14:03'::timestamp) - extract(epoch from '2026-06-27 08:13: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'), 46942, 'SRID=4674;POINT (-40.029413 -2.804465)', '2026-06-27 08:14:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02945 -2.804601)'), GeomFromEWKT('SRID=4674;POINT (-40.029413 -2.804465)'))) / (select extract(epoch from '2026-06-27 08:14:10'::timestamp) - extract(epoch from '2026-06-27 08:14:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02945 -2.804601)'), GeomFromEWKT('SRID=4674;POINT (-40.029413 -2.804465)'))) / (select extract(epoch from '2026-06-27 08:14:10'::timestamp) - extract(epoch from '2026-06-27 08:14: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'), 46942, 'SRID=4674;POINT (-40.02938 -2.804344)', '2026-06-27 08:14:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029413 -2.804465)'), GeomFromEWKT('SRID=4674;POINT (-40.02938 -2.804344)'))) / (select extract(epoch from '2026-06-27 08:14:16'::timestamp) - extract(epoch from '2026-06-27 08:14:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029413 -2.804465)'), GeomFromEWKT('SRID=4674;POINT (-40.02938 -2.804344)'))) / (select extract(epoch from '2026-06-27 08:14:16'::timestamp) - extract(epoch from '2026-06-27 08:14:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.029349 -2.804203)', '2026-06-27 08:14:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02938 -2.804344)'), GeomFromEWKT('SRID=4674;POINT (-40.029349 -2.804203)'))) / (select extract(epoch from '2026-06-27 08:14:23'::timestamp) - extract(epoch from '2026-06-27 08:14:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02938 -2.804344)'), GeomFromEWKT('SRID=4674;POINT (-40.029349 -2.804203)'))) / (select extract(epoch from '2026-06-27 08:14:23'::timestamp) - extract(epoch from '2026-06-27 08:14:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.029311 -2.804068)', '2026-06-27 08:14:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029349 -2.804203)'), GeomFromEWKT('SRID=4674;POINT (-40.029311 -2.804068)'))) / (select extract(epoch from '2026-06-27 08:14:30'::timestamp) - extract(epoch from '2026-06-27 08:14:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029349 -2.804203)'), GeomFromEWKT('SRID=4674;POINT (-40.029311 -2.804068)'))) / (select extract(epoch from '2026-06-27 08:14:30'::timestamp) - extract(epoch from '2026-06-27 08:14:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.029275 -2.803933)', '2026-06-27 08:14:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029311 -2.804068)'), GeomFromEWKT('SRID=4674;POINT (-40.029275 -2.803933)'))) / (select extract(epoch from '2026-06-27 08:14:37'::timestamp) - extract(epoch from '2026-06-27 08:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029311 -2.804068)'), GeomFromEWKT('SRID=4674;POINT (-40.029275 -2.803933)'))) / (select extract(epoch from '2026-06-27 08:14:37'::timestamp) - extract(epoch from '2026-06-27 08:14:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.029229 -2.803803)', '2026-06-27 08:14:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029275 -2.803933)'), GeomFromEWKT('SRID=4674;POINT (-40.029229 -2.803803)'))) / (select extract(epoch from '2026-06-27 08:14:44'::timestamp) - extract(epoch from '2026-06-27 08:14:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029275 -2.803933)'), GeomFromEWKT('SRID=4674;POINT (-40.029229 -2.803803)'))) / (select extract(epoch from '2026-06-27 08:14:44'::timestamp) - extract(epoch from '2026-06-27 08:14:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.029176 -2.803679)', '2026-06-27 08:14:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029229 -2.803803)'), GeomFromEWKT('SRID=4674;POINT (-40.029176 -2.803679)'))) / (select extract(epoch from '2026-06-27 08:14:51'::timestamp) - extract(epoch from '2026-06-27 08:14:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029229 -2.803803)'), GeomFromEWKT('SRID=4674;POINT (-40.029176 -2.803679)'))) / (select extract(epoch from '2026-06-27 08:14:51'::timestamp) - extract(epoch from '2026-06-27 08:14:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.029142 -2.803592)', '2026-06-27 08:14:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029176 -2.803679)'), GeomFromEWKT('SRID=4674;POINT (-40.029142 -2.803592)'))) / (select extract(epoch from '2026-06-27 08:14:56'::timestamp) - extract(epoch from '2026-06-27 08:14:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029176 -2.803679)'), GeomFromEWKT('SRID=4674;POINT (-40.029142 -2.803592)'))) / (select extract(epoch from '2026-06-27 08:14:56'::timestamp) - extract(epoch from '2026-06-27 08:14: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'), 46942, 'SRID=4674;POINT (-40.029074 -2.803454)', '2026-06-27 08:15:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029142 -2.803592)'), GeomFromEWKT('SRID=4674;POINT (-40.029074 -2.803454)'))) / (select extract(epoch from '2026-06-27 08:15:04'::timestamp) - extract(epoch from '2026-06-27 08:14:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029142 -2.803592)'), GeomFromEWKT('SRID=4674;POINT (-40.029074 -2.803454)'))) / (select extract(epoch from '2026-06-27 08:15:04'::timestamp) - extract(epoch from '2026-06-27 08:14: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'), 46942, 'SRID=4674;POINT (-40.029014 -2.803326)', '2026-06-27 08:15:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029074 -2.803454)'), GeomFromEWKT('SRID=4674;POINT (-40.029014 -2.803326)'))) / (select extract(epoch from '2026-06-27 08:15:11'::timestamp) - extract(epoch from '2026-06-27 08:15:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029074 -2.803454)'), GeomFromEWKT('SRID=4674;POINT (-40.029014 -2.803326)'))) / (select extract(epoch from '2026-06-27 08:15:11'::timestamp) - extract(epoch from '2026-06-27 08:15: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'), 46942, 'SRID=4674;POINT (-40.028969 -2.803209)', '2026-06-27 08:15:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029014 -2.803326)'), GeomFromEWKT('SRID=4674;POINT (-40.028969 -2.803209)'))) / (select extract(epoch from '2026-06-27 08:15:17'::timestamp) - extract(epoch from '2026-06-27 08:15:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029014 -2.803326)'), GeomFromEWKT('SRID=4674;POINT (-40.028969 -2.803209)'))) / (select extract(epoch from '2026-06-27 08:15:17'::timestamp) - extract(epoch from '2026-06-27 08:15: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'), 46942, 'SRID=4674;POINT (-40.028933 -2.803047)', '2026-06-27 08:15:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028969 -2.803209)'), GeomFromEWKT('SRID=4674;POINT (-40.028933 -2.803047)'))) / (select extract(epoch from '2026-06-27 08:15:25'::timestamp) - extract(epoch from '2026-06-27 08:15:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028969 -2.803209)'), GeomFromEWKT('SRID=4674;POINT (-40.028933 -2.803047)'))) / (select extract(epoch from '2026-06-27 08:15:25'::timestamp) - extract(epoch from '2026-06-27 08:15: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'), 46942, 'SRID=4674;POINT (-40.028859 -2.802861)', '2026-06-27 08:15:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028933 -2.803047)'), GeomFromEWKT('SRID=4674;POINT (-40.028859 -2.802861)'))) / (select extract(epoch from '2026-06-27 08:15:35'::timestamp) - extract(epoch from '2026-06-27 08:15:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028933 -2.803047)'), GeomFromEWKT('SRID=4674;POINT (-40.028859 -2.802861)'))) / (select extract(epoch from '2026-06-27 08:15:35'::timestamp) - extract(epoch from '2026-06-27 08:15:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.028799 -2.802732)', '2026-06-27 08:15:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028859 -2.802861)'), GeomFromEWKT('SRID=4674;POINT (-40.028799 -2.802732)'))) / (select extract(epoch from '2026-06-27 08:15:42'::timestamp) - extract(epoch from '2026-06-27 08:15:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028859 -2.802861)'), GeomFromEWKT('SRID=4674;POINT (-40.028799 -2.802732)'))) / (select extract(epoch from '2026-06-27 08:15:42'::timestamp) - extract(epoch from '2026-06-27 08:15: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'), 46942, 'SRID=4674;POINT (-40.028751 -2.802643)', '2026-06-27 08:15:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028799 -2.802732)'), GeomFromEWKT('SRID=4674;POINT (-40.028751 -2.802643)'))) / (select extract(epoch from '2026-06-27 08:15:47'::timestamp) - extract(epoch from '2026-06-27 08:15:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028799 -2.802732)'), GeomFromEWKT('SRID=4674;POINT (-40.028751 -2.802643)'))) / (select extract(epoch from '2026-06-27 08:15:47'::timestamp) - extract(epoch from '2026-06-27 08:15: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'), 46942, 'SRID=4674;POINT (-40.02868 -2.802506)', '2026-06-27 08:15:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028751 -2.802643)'), GeomFromEWKT('SRID=4674;POINT (-40.02868 -2.802506)'))) / (select extract(epoch from '2026-06-27 08:15:55'::timestamp) - extract(epoch from '2026-06-27 08:15:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028751 -2.802643)'), GeomFromEWKT('SRID=4674;POINT (-40.02868 -2.802506)'))) / (select extract(epoch from '2026-06-27 08:15:55'::timestamp) - extract(epoch from '2026-06-27 08:15:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.028616 -2.802392)', '2026-06-27 08:16:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02868 -2.802506)'), GeomFromEWKT('SRID=4674;POINT (-40.028616 -2.802392)'))) / (select extract(epoch from '2026-06-27 08:16:02'::timestamp) - extract(epoch from '2026-06-27 08:15:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02868 -2.802506)'), GeomFromEWKT('SRID=4674;POINT (-40.028616 -2.802392)'))) / (select extract(epoch from '2026-06-27 08:16:02'::timestamp) - extract(epoch from '2026-06-27 08:15:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.028562 -2.802314)', '2026-06-27 08:16:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028616 -2.802392)'), GeomFromEWKT('SRID=4674;POINT (-40.028562 -2.802314)'))) / (select extract(epoch from '2026-06-27 08:16:07'::timestamp) - extract(epoch from '2026-06-27 08:16:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028616 -2.802392)'), GeomFromEWKT('SRID=4674;POINT (-40.028562 -2.802314)'))) / (select extract(epoch from '2026-06-27 08:16:07'::timestamp) - extract(epoch from '2026-06-27 08:16: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'), 46942, 'SRID=4674;POINT (-40.028458 -2.80217)', '2026-06-27 08:16:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028562 -2.802314)'), GeomFromEWKT('SRID=4674;POINT (-40.028458 -2.80217)'))) / (select extract(epoch from '2026-06-27 08:16:16'::timestamp) - extract(epoch from '2026-06-27 08:16:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028562 -2.802314)'), GeomFromEWKT('SRID=4674;POINT (-40.028458 -2.80217)'))) / (select extract(epoch from '2026-06-27 08:16:16'::timestamp) - extract(epoch from '2026-06-27 08:16: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'), 46942, 'SRID=4674;POINT (-40.028359 -2.802032)', '2026-06-27 08:16:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028458 -2.80217)'), GeomFromEWKT('SRID=4674;POINT (-40.028359 -2.802032)'))) / (select extract(epoch from '2026-06-27 08:16:25'::timestamp) - extract(epoch from '2026-06-27 08:16:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028458 -2.80217)'), GeomFromEWKT('SRID=4674;POINT (-40.028359 -2.802032)'))) / (select extract(epoch from '2026-06-27 08:16:25'::timestamp) - extract(epoch from '2026-06-27 08:16:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.028305 -2.801939)', '2026-06-27 08:16:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028359 -2.802032)'), GeomFromEWKT('SRID=4674;POINT (-40.028305 -2.801939)'))) / (select extract(epoch from '2026-06-27 08:16:31'::timestamp) - extract(epoch from '2026-06-27 08:16:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028359 -2.802032)'), GeomFromEWKT('SRID=4674;POINT (-40.028305 -2.801939)'))) / (select extract(epoch from '2026-06-27 08:16:31'::timestamp) - extract(epoch from '2026-06-27 08:16:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.028231 -2.801828)', '2026-06-27 08:16:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028305 -2.801939)'), GeomFromEWKT('SRID=4674;POINT (-40.028231 -2.801828)'))) / (select extract(epoch from '2026-06-27 08:16:38'::timestamp) - extract(epoch from '2026-06-27 08:16:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028305 -2.801939)'), GeomFromEWKT('SRID=4674;POINT (-40.028231 -2.801828)'))) / (select extract(epoch from '2026-06-27 08:16:38'::timestamp) - extract(epoch from '2026-06-27 08:16: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'), 46942, 'SRID=4674;POINT (-40.028164 -2.801712)', '2026-06-27 08:16:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028231 -2.801828)'), GeomFromEWKT('SRID=4674;POINT (-40.028164 -2.801712)'))) / (select extract(epoch from '2026-06-27 08:16:45'::timestamp) - extract(epoch from '2026-06-27 08:16:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028231 -2.801828)'), GeomFromEWKT('SRID=4674;POINT (-40.028164 -2.801712)'))) / (select extract(epoch from '2026-06-27 08:16:45'::timestamp) - extract(epoch from '2026-06-27 08:16: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'), 46942, 'SRID=4674;POINT (-40.02807 -2.801588)', '2026-06-27 08:16:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028164 -2.801712)'), GeomFromEWKT('SRID=4674;POINT (-40.02807 -2.801588)'))) / (select extract(epoch from '2026-06-27 08:16:53'::timestamp) - extract(epoch from '2026-06-27 08:16:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028164 -2.801712)'), GeomFromEWKT('SRID=4674;POINT (-40.02807 -2.801588)'))) / (select extract(epoch from '2026-06-27 08:16:53'::timestamp) - extract(epoch from '2026-06-27 08: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'), 46942, 'SRID=4674;POINT (-40.028 -2.80149)', '2026-06-27 08:16:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02807 -2.801588)'), GeomFromEWKT('SRID=4674;POINT (-40.028 -2.80149)'))) / (select extract(epoch from '2026-06-27 08:16:59'::timestamp) - extract(epoch from '2026-06-27 08:16:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02807 -2.801588)'), GeomFromEWKT('SRID=4674;POINT (-40.028 -2.80149)'))) / (select extract(epoch from '2026-06-27 08:16:59'::timestamp) - extract(epoch from '2026-06-27 08:16: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'), 46942, 'SRID=4674;POINT (-40.027903 -2.801386)', '2026-06-27 08:17:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028 -2.80149)'), GeomFromEWKT('SRID=4674;POINT (-40.027903 -2.801386)'))) / (select extract(epoch from '2026-06-27 08:17:07'::timestamp) - extract(epoch from '2026-06-27 08:16:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028 -2.80149)'), GeomFromEWKT('SRID=4674;POINT (-40.027903 -2.801386)'))) / (select extract(epoch from '2026-06-27 08:17:07'::timestamp) - extract(epoch from '2026-06-27 08:16: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'), 46942, 'SRID=4674;POINT (-40.027818 -2.801306)', '2026-06-27 08:17:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027903 -2.801386)'), GeomFromEWKT('SRID=4674;POINT (-40.027818 -2.801306)'))) / (select extract(epoch from '2026-06-27 08:17:14'::timestamp) - extract(epoch from '2026-06-27 08:17:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027903 -2.801386)'), GeomFromEWKT('SRID=4674;POINT (-40.027818 -2.801306)'))) / (select extract(epoch from '2026-06-27 08:17:14'::timestamp) - extract(epoch from '2026-06-27 08:17: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'), 46942, 'SRID=4674;POINT (-40.027704 -2.801224)', '2026-06-27 08:17:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027818 -2.801306)'), GeomFromEWKT('SRID=4674;POINT (-40.027704 -2.801224)'))) / (select extract(epoch from '2026-06-27 08:17:22'::timestamp) - extract(epoch from '2026-06-27 08:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027818 -2.801306)'), GeomFromEWKT('SRID=4674;POINT (-40.027704 -2.801224)'))) / (select extract(epoch from '2026-06-27 08:17:22'::timestamp) - extract(epoch from '2026-06-27 08:17:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.027615 -2.801164)', '2026-06-27 08:17:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027704 -2.801224)'), GeomFromEWKT('SRID=4674;POINT (-40.027615 -2.801164)'))) / (select extract(epoch from '2026-06-27 08:17:28'::timestamp) - extract(epoch from '2026-06-27 08:17:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027704 -2.801224)'), GeomFromEWKT('SRID=4674;POINT (-40.027615 -2.801164)'))) / (select extract(epoch from '2026-06-27 08:17:28'::timestamp) - extract(epoch from '2026-06-27 08:17:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.027498 -2.801068)', '2026-06-27 08:17:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027615 -2.801164)'), GeomFromEWKT('SRID=4674;POINT (-40.027498 -2.801068)'))) / (select extract(epoch from '2026-06-27 08:17:36'::timestamp) - extract(epoch from '2026-06-27 08:17:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027615 -2.801164)'), GeomFromEWKT('SRID=4674;POINT (-40.027498 -2.801068)'))) / (select extract(epoch from '2026-06-27 08:17:36'::timestamp) - extract(epoch from '2026-06-27 08:17:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.02743 -2.800977)', '2026-06-27 08:17:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027498 -2.801068)'), GeomFromEWKT('SRID=4674;POINT (-40.02743 -2.800977)'))) / (select extract(epoch from '2026-06-27 08:17:42'::timestamp) - extract(epoch from '2026-06-27 08:17:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027498 -2.801068)'), GeomFromEWKT('SRID=4674;POINT (-40.02743 -2.800977)'))) / (select extract(epoch from '2026-06-27 08:17:42'::timestamp) - extract(epoch from '2026-06-27 08:17: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'), 46942, 'SRID=4674;POINT (-40.027417 -2.800963)', '2026-06-27 08:17:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02743 -2.800977)'), GeomFromEWKT('SRID=4674;POINT (-40.027417 -2.800963)'))) / (select extract(epoch from '2026-06-27 08:17:43'::timestamp) - extract(epoch from '2026-06-27 08:17:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02743 -2.800977)'), GeomFromEWKT('SRID=4674;POINT (-40.027417 -2.800963)'))) / (select extract(epoch from '2026-06-27 08:17:43'::timestamp) - extract(epoch from '2026-06-27 08:17: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'), 46942, 'SRID=4674;POINT (-40.027318 -2.800849)', '2026-06-27 08:17:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027417 -2.800963)'), GeomFromEWKT('SRID=4674;POINT (-40.027318 -2.800849)'))) / (select extract(epoch from '2026-06-27 08:17:51'::timestamp) - extract(epoch from '2026-06-27 08:17:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027417 -2.800963)'), GeomFromEWKT('SRID=4674;POINT (-40.027318 -2.800849)'))) / (select extract(epoch from '2026-06-27 08:17:51'::timestamp) - extract(epoch from '2026-06-27 08:17:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.027245 -2.800738)', '2026-06-27 08:17:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027318 -2.800849)'), GeomFromEWKT('SRID=4674;POINT (-40.027245 -2.800738)'))) / (select extract(epoch from '2026-06-27 08:17:58'::timestamp) - extract(epoch from '2026-06-27 08:17:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027318 -2.800849)'), GeomFromEWKT('SRID=4674;POINT (-40.027245 -2.800738)'))) / (select extract(epoch from '2026-06-27 08:17:58'::timestamp) - extract(epoch from '2026-06-27 08:17:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.027193 -2.800635)', '2026-06-27 08:18:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027245 -2.800738)'), GeomFromEWKT('SRID=4674;POINT (-40.027193 -2.800635)'))) / (select extract(epoch from '2026-06-27 08:18:04'::timestamp) - extract(epoch from '2026-06-27 08:17:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027245 -2.800738)'), GeomFromEWKT('SRID=4674;POINT (-40.027193 -2.800635)'))) / (select extract(epoch from '2026-06-27 08:18:04'::timestamp) - extract(epoch from '2026-06-27 08:17:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.027126 -2.800553)', '2026-06-27 08:18:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027193 -2.800635)'), GeomFromEWKT('SRID=4674;POINT (-40.027126 -2.800553)'))) / (select extract(epoch from '2026-06-27 08:18:10'::timestamp) - extract(epoch from '2026-06-27 08:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027193 -2.800635)'), GeomFromEWKT('SRID=4674;POINT (-40.027126 -2.800553)'))) / (select extract(epoch from '2026-06-27 08:18:10'::timestamp) - extract(epoch from '2026-06-27 08:18: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'), 46942, 'SRID=4674;POINT (-40.027012 -2.800473)', '2026-06-27 08:18:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027126 -2.800553)'), GeomFromEWKT('SRID=4674;POINT (-40.027012 -2.800473)'))) / (select extract(epoch from '2026-06-27 08:18:18'::timestamp) - extract(epoch from '2026-06-27 08:18:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027126 -2.800553)'), GeomFromEWKT('SRID=4674;POINT (-40.027012 -2.800473)'))) / (select extract(epoch from '2026-06-27 08:18:18'::timestamp) - extract(epoch from '2026-06-27 08:18: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'), 46942, 'SRID=4674;POINT (-40.026895 -2.8004)', '2026-06-27 08:18:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027012 -2.800473)'), GeomFromEWKT('SRID=4674;POINT (-40.026895 -2.8004)'))) / (select extract(epoch from '2026-06-27 08:18:26'::timestamp) - extract(epoch from '2026-06-27 08:18:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027012 -2.800473)'), GeomFromEWKT('SRID=4674;POINT (-40.026895 -2.8004)'))) / (select extract(epoch from '2026-06-27 08:18:26'::timestamp) - extract(epoch from '2026-06-27 08:18:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.02679 -2.800351)', '2026-06-27 08:18:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026895 -2.8004)'), GeomFromEWKT('SRID=4674;POINT (-40.02679 -2.800351)'))) / (select extract(epoch from '2026-06-27 08:18:33'::timestamp) - extract(epoch from '2026-06-27 08:18:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026895 -2.8004)'), GeomFromEWKT('SRID=4674;POINT (-40.02679 -2.800351)'))) / (select extract(epoch from '2026-06-27 08:18:33'::timestamp) - extract(epoch from '2026-06-27 08:18: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'), 46942, 'SRID=4674;POINT (-40.026679 -2.800287)', '2026-06-27 08:18:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02679 -2.800351)'), GeomFromEWKT('SRID=4674;POINT (-40.026679 -2.800287)'))) / (select extract(epoch from '2026-06-27 08:18:41'::timestamp) - extract(epoch from '2026-06-27 08:18:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02679 -2.800351)'), GeomFromEWKT('SRID=4674;POINT (-40.026679 -2.800287)'))) / (select extract(epoch from '2026-06-27 08:18:41'::timestamp) - extract(epoch from '2026-06-27 08:18: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'), 46942, 'SRID=4674;POINT (-40.026535 -2.800229)', '2026-06-27 08:18:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026679 -2.800287)'), GeomFromEWKT('SRID=4674;POINT (-40.026535 -2.800229)'))) / (select extract(epoch from '2026-06-27 08:18:51'::timestamp) - extract(epoch from '2026-06-27 08:18:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026679 -2.800287)'), GeomFromEWKT('SRID=4674;POINT (-40.026535 -2.800229)'))) / (select extract(epoch from '2026-06-27 08:18:51'::timestamp) - extract(epoch from '2026-06-27 08:18: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'), 46942, 'SRID=4674;POINT (-40.026409 -2.800164)', '2026-06-27 08:19:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026535 -2.800229)'), GeomFromEWKT('SRID=4674;POINT (-40.026409 -2.800164)'))) / (select extract(epoch from '2026-06-27 08:19:00'::timestamp) - extract(epoch from '2026-06-27 08:18:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026535 -2.800229)'), GeomFromEWKT('SRID=4674;POINT (-40.026409 -2.800164)'))) / (select extract(epoch from '2026-06-27 08:19:00'::timestamp) - extract(epoch from '2026-06-27 08:18: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'), 46942, 'SRID=4674;POINT (-40.026298 -2.800071)', '2026-06-27 08:19:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026409 -2.800164)'), GeomFromEWKT('SRID=4674;POINT (-40.026298 -2.800071)'))) / (select extract(epoch from '2026-06-27 08:19:08'::timestamp) - extract(epoch from '2026-06-27 08:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026409 -2.800164)'), GeomFromEWKT('SRID=4674;POINT (-40.026298 -2.800071)'))) / (select extract(epoch from '2026-06-27 08:19:08'::timestamp) - extract(epoch from '2026-06-27 08:19:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.026166 -2.79998)', '2026-06-27 08:19:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026298 -2.800071)'), GeomFromEWKT('SRID=4674;POINT (-40.026166 -2.79998)'))) / (select extract(epoch from '2026-06-27 08:19:17'::timestamp) - extract(epoch from '2026-06-27 08:19:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026298 -2.800071)'), GeomFromEWKT('SRID=4674;POINT (-40.026166 -2.79998)'))) / (select extract(epoch from '2026-06-27 08:19:17'::timestamp) - extract(epoch from '2026-06-27 08:19: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'), 46942, 'SRID=4674;POINT (-40.02608 -2.799895)', '2026-06-27 08:19:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026166 -2.79998)'), GeomFromEWKT('SRID=4674;POINT (-40.02608 -2.799895)'))) / (select extract(epoch from '2026-06-27 08:19:24'::timestamp) - extract(epoch from '2026-06-27 08:19:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026166 -2.79998)'), GeomFromEWKT('SRID=4674;POINT (-40.02608 -2.799895)'))) / (select extract(epoch from '2026-06-27 08:19:24'::timestamp) - extract(epoch from '2026-06-27 08:19:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.025981 -2.799795)', '2026-06-27 08:19:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02608 -2.799895)'), GeomFromEWKT('SRID=4674;POINT (-40.025981 -2.799795)'))) / (select extract(epoch from '2026-06-27 08:19:32'::timestamp) - extract(epoch from '2026-06-27 08:19:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02608 -2.799895)'), GeomFromEWKT('SRID=4674;POINT (-40.025981 -2.799795)'))) / (select extract(epoch from '2026-06-27 08:19:32'::timestamp) - extract(epoch from '2026-06-27 08:19: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'), 46942, 'SRID=4674;POINT (-40.025868 -2.799716)', '2026-06-27 08:19:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025981 -2.799795)'), GeomFromEWKT('SRID=4674;POINT (-40.025868 -2.799716)'))) / (select extract(epoch from '2026-06-27 08:19:40'::timestamp) - extract(epoch from '2026-06-27 08:19:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025981 -2.799795)'), GeomFromEWKT('SRID=4674;POINT (-40.025868 -2.799716)'))) / (select extract(epoch from '2026-06-27 08:19:40'::timestamp) - extract(epoch from '2026-06-27 08:19: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'), 46942, 'SRID=4674;POINT (-40.025759 -2.799661)', '2026-06-27 08:19:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025868 -2.799716)'), GeomFromEWKT('SRID=4674;POINT (-40.025759 -2.799661)'))) / (select extract(epoch from '2026-06-27 08:19:47'::timestamp) - extract(epoch from '2026-06-27 08:19:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025868 -2.799716)'), GeomFromEWKT('SRID=4674;POINT (-40.025759 -2.799661)'))) / (select extract(epoch from '2026-06-27 08:19:47'::timestamp) - extract(epoch from '2026-06-27 08:19: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'), 46942, 'SRID=4674;POINT (-40.025611 -2.799616)', '2026-06-27 08:19:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025759 -2.799661)'), GeomFromEWKT('SRID=4674;POINT (-40.025611 -2.799616)'))) / (select extract(epoch from '2026-06-27 08:19:56'::timestamp) - extract(epoch from '2026-06-27 08:19:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025759 -2.799661)'), GeomFromEWKT('SRID=4674;POINT (-40.025611 -2.799616)'))) / (select extract(epoch from '2026-06-27 08:19:56'::timestamp) - extract(epoch from '2026-06-27 08:19: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'), 46942, 'SRID=4674;POINT (-40.025464 -2.799572)', '2026-06-27 08:20:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025611 -2.799616)'), GeomFromEWKT('SRID=4674;POINT (-40.025464 -2.799572)'))) / (select extract(epoch from '2026-06-27 08:20:05'::timestamp) - extract(epoch from '2026-06-27 08:19:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025611 -2.799616)'), GeomFromEWKT('SRID=4674;POINT (-40.025464 -2.799572)'))) / (select extract(epoch from '2026-06-27 08:20:05'::timestamp) - extract(epoch from '2026-06-27 08: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'), 46942, 'SRID=4674;POINT (-40.025302 -2.79951)', '2026-06-27 08:20:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025464 -2.799572)'), GeomFromEWKT('SRID=4674;POINT (-40.025302 -2.79951)'))) / (select extract(epoch from '2026-06-27 08:20:15'::timestamp) - extract(epoch from '2026-06-27 08:20:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025464 -2.799572)'), GeomFromEWKT('SRID=4674;POINT (-40.025302 -2.79951)'))) / (select extract(epoch from '2026-06-27 08:20:15'::timestamp) - extract(epoch from '2026-06-27 08:20:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.025202 -2.799439)', '2026-06-27 08:20:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025302 -2.79951)'), GeomFromEWKT('SRID=4674;POINT (-40.025202 -2.799439)'))) / (select extract(epoch from '2026-06-27 08:20:22'::timestamp) - extract(epoch from '2026-06-27 08:20:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025302 -2.79951)'), GeomFromEWKT('SRID=4674;POINT (-40.025202 -2.799439)'))) / (select extract(epoch from '2026-06-27 08:20:22'::timestamp) - extract(epoch from '2026-06-27 08:20: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'), 46942, 'SRID=4674;POINT (-40.025094 -2.799376)', '2026-06-27 08:20:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025202 -2.799439)'), GeomFromEWKT('SRID=4674;POINT (-40.025094 -2.799376)'))) / (select extract(epoch from '2026-06-27 08:20:29'::timestamp) - extract(epoch from '2026-06-27 08:20:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025202 -2.799439)'), GeomFromEWKT('SRID=4674;POINT (-40.025094 -2.799376)'))) / (select extract(epoch from '2026-06-27 08:20:29'::timestamp) - extract(epoch from '2026-06-27 08:20:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.024963 -2.799344)', '2026-06-27 08:20:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025094 -2.799376)'), GeomFromEWKT('SRID=4674;POINT (-40.024963 -2.799344)'))) / (select extract(epoch from '2026-06-27 08:20:37'::timestamp) - extract(epoch from '2026-06-27 08:20:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025094 -2.799376)'), GeomFromEWKT('SRID=4674;POINT (-40.024963 -2.799344)'))) / (select extract(epoch from '2026-06-27 08:20:37'::timestamp) - extract(epoch from '2026-06-27 08:20: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'), 46942, 'SRID=4674;POINT (-40.024845 -2.799332)', '2026-06-27 08:20:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024963 -2.799344)'), GeomFromEWKT('SRID=4674;POINT (-40.024845 -2.799332)'))) / (select extract(epoch from '2026-06-27 08:20:44'::timestamp) - extract(epoch from '2026-06-27 08:20:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024963 -2.799344)'), GeomFromEWKT('SRID=4674;POINT (-40.024845 -2.799332)'))) / (select extract(epoch from '2026-06-27 08:20:44'::timestamp) - extract(epoch from '2026-06-27 08:20: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'), 46942, 'SRID=4674;POINT (-40.024765 -2.799327)', '2026-06-27 08:20:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024845 -2.799332)'), GeomFromEWKT('SRID=4674;POINT (-40.024765 -2.799327)'))) / (select extract(epoch from '2026-06-27 08:20:49'::timestamp) - extract(epoch from '2026-06-27 08:20:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024845 -2.799332)'), GeomFromEWKT('SRID=4674;POINT (-40.024765 -2.799327)'))) / (select extract(epoch from '2026-06-27 08:20:49'::timestamp) - extract(epoch from '2026-06-27 08:20: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'), 46942, 'SRID=4674;POINT (-40.02474 -2.799329)', '2026-06-27 08:20:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024765 -2.799327)'), GeomFromEWKT('SRID=4674;POINT (-40.02474 -2.799329)'))) / (select extract(epoch from '2026-06-27 08:20:51'::timestamp) - extract(epoch from '2026-06-27 08:20:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024765 -2.799327)'), GeomFromEWKT('SRID=4674;POINT (-40.02474 -2.799329)'))) / (select extract(epoch from '2026-06-27 08:20:51'::timestamp) - extract(epoch from '2026-06-27 08:20: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'), 46942, 'SRID=4674;POINT (-40.02465 -2.799391)', '2026-06-27 08:20:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02474 -2.799329)'), GeomFromEWKT('SRID=4674;POINT (-40.02465 -2.799391)'))) / (select extract(epoch from '2026-06-27 08:20:59'::timestamp) - extract(epoch from '2026-06-27 08:20:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02474 -2.799329)'), GeomFromEWKT('SRID=4674;POINT (-40.02465 -2.799391)'))) / (select extract(epoch from '2026-06-27 08:20:59'::timestamp) - extract(epoch from '2026-06-27 08:20: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'), 46942, 'SRID=4674;POINT (-40.02462 -2.799485)', '2026-06-27 08:21:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02465 -2.799391)'), GeomFromEWKT('SRID=4674;POINT (-40.02462 -2.799485)'))) / (select extract(epoch from '2026-06-27 08:21:06'::timestamp) - extract(epoch from '2026-06-27 08:20:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02465 -2.799391)'), GeomFromEWKT('SRID=4674;POINT (-40.02462 -2.799485)'))) / (select extract(epoch from '2026-06-27 08:21:06'::timestamp) - extract(epoch from '2026-06-27 08:20: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'), 46942, 'SRID=4674;POINT (-40.024624 -2.799579)', '2026-06-27 08:21:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02462 -2.799485)'), GeomFromEWKT('SRID=4674;POINT (-40.024624 -2.799579)'))) / (select extract(epoch from '2026-06-27 08:21:14'::timestamp) - extract(epoch from '2026-06-27 08:21:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02462 -2.799485)'), GeomFromEWKT('SRID=4674;POINT (-40.024624 -2.799579)'))) / (select extract(epoch from '2026-06-27 08:21:14'::timestamp) - extract(epoch from '2026-06-27 08:21: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'), 46942, 'SRID=4674;POINT (-40.024597 -2.799602)', '2026-06-27 08:21:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024624 -2.799579)'), GeomFromEWKT('SRID=4674;POINT (-40.024597 -2.799602)'))) / (select extract(epoch from '2026-06-27 08:21:17'::timestamp) - extract(epoch from '2026-06-27 08:21:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024624 -2.799579)'), GeomFromEWKT('SRID=4674;POINT (-40.024597 -2.799602)'))) / (select extract(epoch from '2026-06-27 08:21:17'::timestamp) - extract(epoch from '2026-06-27 08:21: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'), 46942, 'SRID=4674;POINT (-40.024574 -2.799614)', '2026-06-27 08:21:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024597 -2.799602)'), GeomFromEWKT('SRID=4674;POINT (-40.024574 -2.799614)'))) / (select extract(epoch from '2026-06-27 08:21:19'::timestamp) - extract(epoch from '2026-06-27 08:21:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024597 -2.799602)'), GeomFromEWKT('SRID=4674;POINT (-40.024574 -2.799614)'))) / (select extract(epoch from '2026-06-27 08:21:19'::timestamp) - extract(epoch from '2026-06-27 08:21: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'), 46942, 'SRID=4674;POINT (-40.02448 -2.799646)', '2026-06-27 08:21:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024574 -2.799614)'), GeomFromEWKT('SRID=4674;POINT (-40.02448 -2.799646)'))) / (select extract(epoch from '2026-06-27 08:21:28'::timestamp) - extract(epoch from '2026-06-27 08:21:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024574 -2.799614)'), GeomFromEWKT('SRID=4674;POINT (-40.02448 -2.799646)'))) / (select extract(epoch from '2026-06-27 08:21:28'::timestamp) - extract(epoch from '2026-06-27 08:21: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'), 46942, 'SRID=4674;POINT (-40.024405 -2.799692)', '2026-06-27 08:21:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02448 -2.799646)'), GeomFromEWKT('SRID=4674;POINT (-40.024405 -2.799692)'))) / (select extract(epoch from '2026-06-27 08:21:38'::timestamp) - extract(epoch from '2026-06-27 08:21:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02448 -2.799646)'), GeomFromEWKT('SRID=4674;POINT (-40.024405 -2.799692)'))) / (select extract(epoch from '2026-06-27 08:21:38'::timestamp) - extract(epoch from '2026-06-27 08:21:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.024401 -2.799718)', '2026-06-27 08:21:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024405 -2.799692)'), GeomFromEWKT('SRID=4674;POINT (-40.024401 -2.799718)'))) / (select extract(epoch from '2026-06-27 08:21:41'::timestamp) - extract(epoch from '2026-06-27 08:21:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024405 -2.799692)'), GeomFromEWKT('SRID=4674;POINT (-40.024401 -2.799718)'))) / (select extract(epoch from '2026-06-27 08:21:41'::timestamp) - extract(epoch from '2026-06-27 08:21: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'), 46942, 'SRID=4674;POINT (-40.024421 -2.799764)', '2026-06-27 08:21:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024401 -2.799718)'), GeomFromEWKT('SRID=4674;POINT (-40.024421 -2.799764)'))) / (select extract(epoch from '2026-06-27 08:21:46'::timestamp) - extract(epoch from '2026-06-27 08:21:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024401 -2.799718)'), GeomFromEWKT('SRID=4674;POINT (-40.024421 -2.799764)'))) / (select extract(epoch from '2026-06-27 08:21:46'::timestamp) - extract(epoch from '2026-06-27 08: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'), 46942, 'SRID=4674;POINT (-40.024462 -2.799824)', '2026-06-27 08:21:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024421 -2.799764)'), GeomFromEWKT('SRID=4674;POINT (-40.024462 -2.799824)'))) / (select extract(epoch from '2026-06-27 08:21:53'::timestamp) - extract(epoch from '2026-06-27 08:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024421 -2.799764)'), GeomFromEWKT('SRID=4674;POINT (-40.024462 -2.799824)'))) / (select extract(epoch from '2026-06-27 08:21:53'::timestamp) - extract(epoch from '2026-06-27 08:21: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'), 46942, 'SRID=4674;POINT (-40.024503 -2.79987)', '2026-06-27 08:22:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024462 -2.799824)'), GeomFromEWKT('SRID=4674;POINT (-40.024503 -2.79987)'))) / (select extract(epoch from '2026-06-27 08:22:01'::timestamp) - extract(epoch from '2026-06-27 08:21:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024462 -2.799824)'), GeomFromEWKT('SRID=4674;POINT (-40.024503 -2.79987)'))) / (select extract(epoch from '2026-06-27 08:22:01'::timestamp) - extract(epoch from '2026-06-27 08:21: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'), 46942, 'SRID=4674;POINT (-40.024513 -2.799898)', '2026-06-27 08:22:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024503 -2.79987)'), GeomFromEWKT('SRID=4674;POINT (-40.024513 -2.799898)'))) / (select extract(epoch from '2026-06-27 08:22:10'::timestamp) - extract(epoch from '2026-06-27 08:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024503 -2.79987)'), GeomFromEWKT('SRID=4674;POINT (-40.024513 -2.799898)'))) / (select extract(epoch from '2026-06-27 08:22:10'::timestamp) - extract(epoch from '2026-06-27 08: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'), 46942, 'SRID=4674;POINT (-40.024507 -2.799904)', '2026-06-27 08:22:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024513 -2.799898)'), GeomFromEWKT('SRID=4674;POINT (-40.024507 -2.799904)'))) / (select extract(epoch from '2026-06-27 08:22:18'::timestamp) - extract(epoch from '2026-06-27 08:22:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024513 -2.799898)'), GeomFromEWKT('SRID=4674;POINT (-40.024507 -2.799904)'))) / (select extract(epoch from '2026-06-27 08:22:18'::timestamp) - extract(epoch from '2026-06-27 08:22: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'), 46942, 'SRID=4674;POINT (-40.024454 -2.79985)', '2026-06-27 08:22:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024507 -2.799904)'), GeomFromEWKT('SRID=4674;POINT (-40.024454 -2.79985)'))) / (select extract(epoch from '2026-06-27 08:22:34'::timestamp) - extract(epoch from '2026-06-27 08:22:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024507 -2.799904)'), GeomFromEWKT('SRID=4674;POINT (-40.024454 -2.79985)'))) / (select extract(epoch from '2026-06-27 08:22:34'::timestamp) - extract(epoch from '2026-06-27 08:22:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.024385 -2.799862)', '2026-06-27 08:22:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024454 -2.79985)'), GeomFromEWKT('SRID=4674;POINT (-40.024385 -2.799862)'))) / (select extract(epoch from '2026-06-27 08:22:44'::timestamp) - extract(epoch from '2026-06-27 08:22:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024454 -2.79985)'), GeomFromEWKT('SRID=4674;POINT (-40.024385 -2.799862)'))) / (select extract(epoch from '2026-06-27 08:22:44'::timestamp) - extract(epoch from '2026-06-27 08:22:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.024378 -2.799869)', '2026-06-27 08:22:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024385 -2.799862)'), GeomFromEWKT('SRID=4674;POINT (-40.024378 -2.799869)'))) / (select extract(epoch from '2026-06-27 08:22:45'::timestamp) - extract(epoch from '2026-06-27 08:22:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024385 -2.799862)'), GeomFromEWKT('SRID=4674;POINT (-40.024378 -2.799869)'))) / (select extract(epoch from '2026-06-27 08:22:45'::timestamp) - extract(epoch from '2026-06-27 08:22: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'), 46942, 'SRID=4674;POINT (-40.02436 -2.799907)', '2026-06-27 08:22:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024378 -2.799869)'), GeomFromEWKT('SRID=4674;POINT (-40.02436 -2.799907)'))) / (select extract(epoch from '2026-06-27 08:22:49'::timestamp) - extract(epoch from '2026-06-27 08:22:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024378 -2.799869)'), GeomFromEWKT('SRID=4674;POINT (-40.02436 -2.799907)'))) / (select extract(epoch from '2026-06-27 08:22:49'::timestamp) - extract(epoch from '2026-06-27 08:22: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'), 46942, 'SRID=4674;POINT (-40.02437 -2.799946)', '2026-06-27 08:22:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02436 -2.799907)'), GeomFromEWKT('SRID=4674;POINT (-40.02437 -2.799946)'))) / (select extract(epoch from '2026-06-27 08:22:52'::timestamp) - extract(epoch from '2026-06-27 08:22:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02436 -2.799907)'), GeomFromEWKT('SRID=4674;POINT (-40.02437 -2.799946)'))) / (select extract(epoch from '2026-06-27 08:22:52'::timestamp) - extract(epoch from '2026-06-27 08:22:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
