 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399746 -2.784729)', '2026-07-04 13:55:06', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399653 -2.784611)'), GeomFromEWKT('SRID=4674;POINT (-40.399746 -2.784729)'))) / (select extract(epoch from '2026-07-04 13:55:06'::timestamp) - extract(epoch from '2026-07-04 13:54:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399653 -2.784611)'), GeomFromEWKT('SRID=4674;POINT (-40.399746 -2.784729)'))) / (select extract(epoch from '2026-07-04 13:55:06'::timestamp) - extract(epoch from '2026-07-04 13:54: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'), 47817, 'SRID=4674;POINT (-40.399805 -2.784826)', '2026-07-04 13:55:11', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399746 -2.784729)'), GeomFromEWKT('SRID=4674;POINT (-40.399805 -2.784826)'))) / (select extract(epoch from '2026-07-04 13:55:11'::timestamp) - extract(epoch from '2026-07-04 13:55:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399746 -2.784729)'), GeomFromEWKT('SRID=4674;POINT (-40.399805 -2.784826)'))) / (select extract(epoch from '2026-07-04 13:55:11'::timestamp) - extract(epoch from '2026-07-04 13: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'), 47817, 'SRID=4674;POINT (-40.399811 -2.784918)', '2026-07-04 13:55:17', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399805 -2.784826)'), GeomFromEWKT('SRID=4674;POINT (-40.399811 -2.784918)'))) / (select extract(epoch from '2026-07-04 13:55:17'::timestamp) - extract(epoch from '2026-07-04 13:55:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399805 -2.784826)'), GeomFromEWKT('SRID=4674;POINT (-40.399811 -2.784918)'))) / (select extract(epoch from '2026-07-04 13:55:17'::timestamp) - extract(epoch from '2026-07-04 13:55: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'), 47817, 'SRID=4674;POINT (-40.399791 -2.785031)', '2026-07-04 13:55:24', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399811 -2.784918)'), GeomFromEWKT('SRID=4674;POINT (-40.399791 -2.785031)'))) / (select extract(epoch from '2026-07-04 13:55:24'::timestamp) - extract(epoch from '2026-07-04 13:55:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399811 -2.784918)'), GeomFromEWKT('SRID=4674;POINT (-40.399791 -2.785031)'))) / (select extract(epoch from '2026-07-04 13:55:24'::timestamp) - extract(epoch from '2026-07-04 13:55: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'), 47817, 'SRID=4674;POINT (-40.399775 -2.785141)', '2026-07-04 13:55:31', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399791 -2.785031)'), GeomFromEWKT('SRID=4674;POINT (-40.399775 -2.785141)'))) / (select extract(epoch from '2026-07-04 13:55:31'::timestamp) - extract(epoch from '2026-07-04 13:55:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399791 -2.785031)'), GeomFromEWKT('SRID=4674;POINT (-40.399775 -2.785141)'))) / (select extract(epoch from '2026-07-04 13:55:31'::timestamp) - extract(epoch from '2026-07-04 13:55: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'), 47817, 'SRID=4674;POINT (-40.399768 -2.785257)', '2026-07-04 13:55:38', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399775 -2.785141)'), GeomFromEWKT('SRID=4674;POINT (-40.399768 -2.785257)'))) / (select extract(epoch from '2026-07-04 13:55:38'::timestamp) - extract(epoch from '2026-07-04 13:55:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399775 -2.785141)'), GeomFromEWKT('SRID=4674;POINT (-40.399768 -2.785257)'))) / (select extract(epoch from '2026-07-04 13:55:38'::timestamp) - extract(epoch from '2026-07-04 13: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'), 47817, 'SRID=4674;POINT (-40.399763 -2.785368)', '2026-07-04 13:55:45', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399768 -2.785257)'), GeomFromEWKT('SRID=4674;POINT (-40.399763 -2.785368)'))) / (select extract(epoch from '2026-07-04 13:55:45'::timestamp) - extract(epoch from '2026-07-04 13:55:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399768 -2.785257)'), GeomFromEWKT('SRID=4674;POINT (-40.399763 -2.785368)'))) / (select extract(epoch from '2026-07-04 13:55:45'::timestamp) - extract(epoch from '2026-07-04 13: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'), 47817, 'SRID=4674;POINT (-40.399747 -2.78541)', '2026-07-04 13:55:49', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399763 -2.785368)'), GeomFromEWKT('SRID=4674;POINT (-40.399747 -2.78541)'))) / (select extract(epoch from '2026-07-04 13:55:49'::timestamp) - extract(epoch from '2026-07-04 13:55:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399763 -2.785368)'), GeomFromEWKT('SRID=4674;POINT (-40.399747 -2.78541)'))) / (select extract(epoch from '2026-07-04 13:55:49'::timestamp) - extract(epoch from '2026-07-04 13:55: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'), 47817, 'SRID=4674;POINT (-40.399722 -2.785434)', '2026-07-04 13:55:52', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399747 -2.78541)'), GeomFromEWKT('SRID=4674;POINT (-40.399722 -2.785434)'))) / (select extract(epoch from '2026-07-04 13:55:52'::timestamp) - extract(epoch from '2026-07-04 13:55:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399747 -2.78541)'), GeomFromEWKT('SRID=4674;POINT (-40.399722 -2.785434)'))) / (select extract(epoch from '2026-07-04 13:55:52'::timestamp) - extract(epoch from '2026-07-04 13:55: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'), 47817, 'SRID=4674;POINT (-40.399695 -2.785484)', '2026-07-04 13:55:59', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399722 -2.785434)'), GeomFromEWKT('SRID=4674;POINT (-40.399695 -2.785484)'))) / (select extract(epoch from '2026-07-04 13:55:59'::timestamp) - extract(epoch from '2026-07-04 13:55:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399722 -2.785434)'), GeomFromEWKT('SRID=4674;POINT (-40.399695 -2.785484)'))) / (select extract(epoch from '2026-07-04 13:55:59'::timestamp) - extract(epoch from '2026-07-04 13:55: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'), 47817, 'SRID=4674;POINT (-40.39974 -2.785523)', '2026-07-04 13:56:07', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399695 -2.785484)'), GeomFromEWKT('SRID=4674;POINT (-40.39974 -2.785523)'))) / (select extract(epoch from '2026-07-04 13:56:07'::timestamp) - extract(epoch from '2026-07-04 13:55:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399695 -2.785484)'), GeomFromEWKT('SRID=4674;POINT (-40.39974 -2.785523)'))) / (select extract(epoch from '2026-07-04 13:56:07'::timestamp) - extract(epoch from '2026-07-04 13: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'), 47817, 'SRID=4674;POINT (-40.3998 -2.785564)', '2026-07-04 13:56:13', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39974 -2.785523)'), GeomFromEWKT('SRID=4674;POINT (-40.3998 -2.785564)'))) / (select extract(epoch from '2026-07-04 13:56:13'::timestamp) - extract(epoch from '2026-07-04 13:56:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39974 -2.785523)'), GeomFromEWKT('SRID=4674;POINT (-40.3998 -2.785564)'))) / (select extract(epoch from '2026-07-04 13:56:13'::timestamp) - extract(epoch from '2026-07-04 13:56:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.3999 -2.785579)', '2026-07-04 13:56:21', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3998 -2.785564)'), GeomFromEWKT('SRID=4674;POINT (-40.3999 -2.785579)'))) / (select extract(epoch from '2026-07-04 13:56:21'::timestamp) - extract(epoch from '2026-07-04 13:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3998 -2.785564)'), GeomFromEWKT('SRID=4674;POINT (-40.3999 -2.785579)'))) / (select extract(epoch from '2026-07-04 13:56:21'::timestamp) - extract(epoch from '2026-07-04 13:56: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'), 47817, 'SRID=4674;POINT (-40.399992 -2.78555)', '2026-07-04 13:56:29', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3999 -2.785579)'), GeomFromEWKT('SRID=4674;POINT (-40.399992 -2.78555)'))) / (select extract(epoch from '2026-07-04 13:56:29'::timestamp) - extract(epoch from '2026-07-04 13:56:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3999 -2.785579)'), GeomFromEWKT('SRID=4674;POINT (-40.399992 -2.78555)'))) / (select extract(epoch from '2026-07-04 13:56:29'::timestamp) - extract(epoch from '2026-07-04 13:56: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'), 47817, 'SRID=4674;POINT (-40.400011 -2.785474)', '2026-07-04 13:56:37', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399992 -2.78555)'), GeomFromEWKT('SRID=4674;POINT (-40.400011 -2.785474)'))) / (select extract(epoch from '2026-07-04 13:56:37'::timestamp) - extract(epoch from '2026-07-04 13:56:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399992 -2.78555)'), GeomFromEWKT('SRID=4674;POINT (-40.400011 -2.785474)'))) / (select extract(epoch from '2026-07-04 13:56:37'::timestamp) - extract(epoch from '2026-07-04 13:56:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399985 -2.785413)', '2026-07-04 13:56:44', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400011 -2.785474)'), GeomFromEWKT('SRID=4674;POINT (-40.399985 -2.785413)'))) / (select extract(epoch from '2026-07-04 13:56:44'::timestamp) - extract(epoch from '2026-07-04 13:56:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400011 -2.785474)'), GeomFromEWKT('SRID=4674;POINT (-40.399985 -2.785413)'))) / (select extract(epoch from '2026-07-04 13:56:44'::timestamp) - extract(epoch from '2026-07-04 13:56: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'), 47817, 'SRID=4674;POINT (-40.399931 -2.785394)', '2026-07-04 13:56:53', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399985 -2.785413)'), GeomFromEWKT('SRID=4674;POINT (-40.399931 -2.785394)'))) / (select extract(epoch from '2026-07-04 13:56:53'::timestamp) - extract(epoch from '2026-07-04 13:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399985 -2.785413)'), GeomFromEWKT('SRID=4674;POINT (-40.399931 -2.785394)'))) / (select extract(epoch from '2026-07-04 13:56:53'::timestamp) - extract(epoch from '2026-07-04 13:56:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399882 -2.7854)', '2026-07-04 13:57:02', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399931 -2.785394)'), GeomFromEWKT('SRID=4674;POINT (-40.399882 -2.7854)'))) / (select extract(epoch from '2026-07-04 13:57:02'::timestamp) - extract(epoch from '2026-07-04 13:56:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399931 -2.785394)'), GeomFromEWKT('SRID=4674;POINT (-40.399882 -2.7854)'))) / (select extract(epoch from '2026-07-04 13:57:02'::timestamp) - extract(epoch from '2026-07-04 13:56: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'), 47817, 'SRID=4674;POINT (-40.399879 -2.785401)', '2026-07-04 13:57:15', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399882 -2.7854)'), GeomFromEWKT('SRID=4674;POINT (-40.399879 -2.785401)'))) / (select extract(epoch from '2026-07-04 13:57:15'::timestamp) - extract(epoch from '2026-07-04 13:57:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399882 -2.7854)'), GeomFromEWKT('SRID=4674;POINT (-40.399879 -2.785401)'))) / (select extract(epoch from '2026-07-04 13:57:15'::timestamp) - extract(epoch from '2026-07-04 13:57:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399886 -2.785451)', '2026-07-04 13:57:25', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399879 -2.785401)'), GeomFromEWKT('SRID=4674;POINT (-40.399886 -2.785451)'))) / (select extract(epoch from '2026-07-04 13:57:25'::timestamp) - extract(epoch from '2026-07-04 13:57:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399879 -2.785401)'), GeomFromEWKT('SRID=4674;POINT (-40.399886 -2.785451)'))) / (select extract(epoch from '2026-07-04 13:57:25'::timestamp) - extract(epoch from '2026-07-04 13: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'), 47817, 'SRID=4674;POINT (-40.39989 -2.785458)', '2026-07-04 13:57:26', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399886 -2.785451)'), GeomFromEWKT('SRID=4674;POINT (-40.39989 -2.785458)'))) / (select extract(epoch from '2026-07-04 13:57:26'::timestamp) - extract(epoch from '2026-07-04 13:57:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399886 -2.785451)'), GeomFromEWKT('SRID=4674;POINT (-40.39989 -2.785458)'))) / (select extract(epoch from '2026-07-04 13:57:26'::timestamp) - extract(epoch from '2026-07-04 13:57:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399903 -2.785483)', '2026-07-04 13:57:39', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39989 -2.785458)'), GeomFromEWKT('SRID=4674;POINT (-40.399903 -2.785483)'))) / (select extract(epoch from '2026-07-04 13:57:39'::timestamp) - extract(epoch from '2026-07-04 13:57:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39989 -2.785458)'), GeomFromEWKT('SRID=4674;POINT (-40.399903 -2.785483)'))) / (select extract(epoch from '2026-07-04 13:57:39'::timestamp) - extract(epoch from '2026-07-04 13:57: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'), 47817, 'SRID=4674;POINT (-40.39987 -2.785437)', '2026-07-04 13:57:56', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399903 -2.785483)'), GeomFromEWKT('SRID=4674;POINT (-40.39987 -2.785437)'))) / (select extract(epoch from '2026-07-04 13:57:56'::timestamp) - extract(epoch from '2026-07-04 13:57:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399903 -2.785483)'), GeomFromEWKT('SRID=4674;POINT (-40.39987 -2.785437)'))) / (select extract(epoch from '2026-07-04 13:57:56'::timestamp) - extract(epoch from '2026-07-04 13:57: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'), 47817, 'SRID=4674;POINT (-40.399878 -2.785384)', '2026-07-04 13:58:05', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39987 -2.785437)'), GeomFromEWKT('SRID=4674;POINT (-40.399878 -2.785384)'))) / (select extract(epoch from '2026-07-04 13:58:05'::timestamp) - extract(epoch from '2026-07-04 13:57:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39987 -2.785437)'), GeomFromEWKT('SRID=4674;POINT (-40.399878 -2.785384)'))) / (select extract(epoch from '2026-07-04 13:58:05'::timestamp) - extract(epoch from '2026-07-04 13:57: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'), 47817, 'SRID=4674;POINT (-40.39986 -2.785279)', '2026-07-04 13:58:13', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399878 -2.785384)'), GeomFromEWKT('SRID=4674;POINT (-40.39986 -2.785279)'))) / (select extract(epoch from '2026-07-04 13:58:13'::timestamp) - extract(epoch from '2026-07-04 13:58:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399878 -2.785384)'), GeomFromEWKT('SRID=4674;POINT (-40.39986 -2.785279)'))) / (select extract(epoch from '2026-07-04 13:58:13'::timestamp) - extract(epoch from '2026-07-04 13:58: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'), 47817, 'SRID=4674;POINT (-40.399804 -2.785229)', '2026-07-04 13:58:21', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39986 -2.785279)'), GeomFromEWKT('SRID=4674;POINT (-40.399804 -2.785229)'))) / (select extract(epoch from '2026-07-04 13:58:21'::timestamp) - extract(epoch from '2026-07-04 13:58:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39986 -2.785279)'), GeomFromEWKT('SRID=4674;POINT (-40.399804 -2.785229)'))) / (select extract(epoch from '2026-07-04 13:58:21'::timestamp) - extract(epoch from '2026-07-04 13:58:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399772 -2.785217)', '2026-07-04 13:58:24', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399804 -2.785229)'), GeomFromEWKT('SRID=4674;POINT (-40.399772 -2.785217)'))) / (select extract(epoch from '2026-07-04 13:58:24'::timestamp) - extract(epoch from '2026-07-04 13:58:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399804 -2.785229)'), GeomFromEWKT('SRID=4674;POINT (-40.399772 -2.785217)'))) / (select extract(epoch from '2026-07-04 13:58:24'::timestamp) - extract(epoch from '2026-07-04 13:58:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.39974 -2.785229)', '2026-07-04 13:58:28', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399772 -2.785217)'), GeomFromEWKT('SRID=4674;POINT (-40.39974 -2.785229)'))) / (select extract(epoch from '2026-07-04 13:58:28'::timestamp) - extract(epoch from '2026-07-04 13:58:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399772 -2.785217)'), GeomFromEWKT('SRID=4674;POINT (-40.39974 -2.785229)'))) / (select extract(epoch from '2026-07-04 13:58:28'::timestamp) - extract(epoch from '2026-07-04 13:58: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'), 47817, 'SRID=4674;POINT (-40.399711 -2.785256)', '2026-07-04 13:58:31', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39974 -2.785229)'), GeomFromEWKT('SRID=4674;POINT (-40.399711 -2.785256)'))) / (select extract(epoch from '2026-07-04 13:58:31'::timestamp) - extract(epoch from '2026-07-04 13:58:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39974 -2.785229)'), GeomFromEWKT('SRID=4674;POINT (-40.399711 -2.785256)'))) / (select extract(epoch from '2026-07-04 13:58:31'::timestamp) - extract(epoch from '2026-07-04 13:58:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399695 -2.785297)', '2026-07-04 13:58:34', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399711 -2.785256)'), GeomFromEWKT('SRID=4674;POINT (-40.399695 -2.785297)'))) / (select extract(epoch from '2026-07-04 13:58:34'::timestamp) - extract(epoch from '2026-07-04 13:58:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399711 -2.785256)'), GeomFromEWKT('SRID=4674;POINT (-40.399695 -2.785297)'))) / (select extract(epoch from '2026-07-04 13:58:34'::timestamp) - extract(epoch from '2026-07-04 13:58: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'), 47817, 'SRID=4674;POINT (-40.399733 -2.785405)', '2026-07-04 13:58:41', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399695 -2.785297)'), GeomFromEWKT('SRID=4674;POINT (-40.399733 -2.785405)'))) / (select extract(epoch from '2026-07-04 13:58:41'::timestamp) - extract(epoch from '2026-07-04 13:58:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399695 -2.785297)'), GeomFromEWKT('SRID=4674;POINT (-40.399733 -2.785405)'))) / (select extract(epoch from '2026-07-04 13:58:41'::timestamp) - extract(epoch from '2026-07-04 13:58: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'), 47817, 'SRID=4674;POINT (-40.399776 -2.785502)', '2026-07-04 13:58:47', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399733 -2.785405)'), GeomFromEWKT('SRID=4674;POINT (-40.399776 -2.785502)'))) / (select extract(epoch from '2026-07-04 13:58:47'::timestamp) - extract(epoch from '2026-07-04 13:58:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399733 -2.785405)'), GeomFromEWKT('SRID=4674;POINT (-40.399776 -2.785502)'))) / (select extract(epoch from '2026-07-04 13:58:47'::timestamp) - extract(epoch from '2026-07-04 13:58: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'), 47817, 'SRID=4674;POINT (-40.399833 -2.785669)', '2026-07-04 13:58:57', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399776 -2.785502)'), GeomFromEWKT('SRID=4674;POINT (-40.399833 -2.785669)'))) / (select extract(epoch from '2026-07-04 13:58:57'::timestamp) - extract(epoch from '2026-07-04 13:58:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399776 -2.785502)'), GeomFromEWKT('SRID=4674;POINT (-40.399833 -2.785669)'))) / (select extract(epoch from '2026-07-04 13:58:57'::timestamp) - extract(epoch from '2026-07-04 13:58:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399825 -2.785786)', '2026-07-04 13:59:04', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399833 -2.785669)'), GeomFromEWKT('SRID=4674;POINT (-40.399825 -2.785786)'))) / (select extract(epoch from '2026-07-04 13:59:04'::timestamp) - extract(epoch from '2026-07-04 13:58:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399833 -2.785669)'), GeomFromEWKT('SRID=4674;POINT (-40.399825 -2.785786)'))) / (select extract(epoch from '2026-07-04 13:59:04'::timestamp) - extract(epoch from '2026-07-04 13:58:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399782 -2.785873)', '2026-07-04 13:59:11', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399825 -2.785786)'), GeomFromEWKT('SRID=4674;POINT (-40.399782 -2.785873)'))) / (select extract(epoch from '2026-07-04 13:59:11'::timestamp) - extract(epoch from '2026-07-04 13:59:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399825 -2.785786)'), GeomFromEWKT('SRID=4674;POINT (-40.399782 -2.785873)'))) / (select extract(epoch from '2026-07-04 13:59:11'::timestamp) - extract(epoch from '2026-07-04 13:59:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399751 -2.785957)', '2026-07-04 13:59:17', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399782 -2.785873)'), GeomFromEWKT('SRID=4674;POINT (-40.399751 -2.785957)'))) / (select extract(epoch from '2026-07-04 13:59:17'::timestamp) - extract(epoch from '2026-07-04 13:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399782 -2.785873)'), GeomFromEWKT('SRID=4674;POINT (-40.399751 -2.785957)'))) / (select extract(epoch from '2026-07-04 13:59:17'::timestamp) - extract(epoch from '2026-07-04 13:59: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'), 47817, 'SRID=4674;POINT (-40.399807 -2.786025)', '2026-07-04 13:59:25', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399751 -2.785957)'), GeomFromEWKT('SRID=4674;POINT (-40.399807 -2.786025)'))) / (select extract(epoch from '2026-07-04 13:59:25'::timestamp) - extract(epoch from '2026-07-04 13:59:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399751 -2.785957)'), GeomFromEWKT('SRID=4674;POINT (-40.399807 -2.786025)'))) / (select extract(epoch from '2026-07-04 13:59:25'::timestamp) - extract(epoch from '2026-07-04 13:59:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.39989 -2.786068)', '2026-07-04 13:59:32', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399807 -2.786025)'), GeomFromEWKT('SRID=4674;POINT (-40.39989 -2.786068)'))) / (select extract(epoch from '2026-07-04 13:59:32'::timestamp) - extract(epoch from '2026-07-04 13:59:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399807 -2.786025)'), GeomFromEWKT('SRID=4674;POINT (-40.39989 -2.786068)'))) / (select extract(epoch from '2026-07-04 13:59:32'::timestamp) - extract(epoch from '2026-07-04 13:59:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399976 -2.786096)', '2026-07-04 13:59:39', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39989 -2.786068)'), GeomFromEWKT('SRID=4674;POINT (-40.399976 -2.786096)'))) / (select extract(epoch from '2026-07-04 13:59:39'::timestamp) - extract(epoch from '2026-07-04 13:59:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39989 -2.786068)'), GeomFromEWKT('SRID=4674;POINT (-40.399976 -2.786096)'))) / (select extract(epoch from '2026-07-04 13:59:39'::timestamp) - extract(epoch from '2026-07-04 13:59:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.400022 -2.786083)', '2026-07-04 13:59:46', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399976 -2.786096)'), GeomFromEWKT('SRID=4674;POINT (-40.400022 -2.786083)'))) / (select extract(epoch from '2026-07-04 13:59:46'::timestamp) - extract(epoch from '2026-07-04 13:59:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399976 -2.786096)'), GeomFromEWKT('SRID=4674;POINT (-40.400022 -2.786083)'))) / (select extract(epoch from '2026-07-04 13:59:46'::timestamp) - extract(epoch from '2026-07-04 13:59: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'), 47817, 'SRID=4674;POINT (-40.400028 -2.786077)', '2026-07-04 13:59:48', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400022 -2.786083)'), GeomFromEWKT('SRID=4674;POINT (-40.400028 -2.786077)'))) / (select extract(epoch from '2026-07-04 13:59:48'::timestamp) - extract(epoch from '2026-07-04 13:59:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400022 -2.786083)'), GeomFromEWKT('SRID=4674;POINT (-40.400028 -2.786077)'))) / (select extract(epoch from '2026-07-04 13:59:48'::timestamp) - extract(epoch from '2026-07-04 13:59: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'), 47817, 'SRID=4674;POINT (-40.400042 -2.78603)', '2026-07-04 13:59:57', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400028 -2.786077)'), GeomFromEWKT('SRID=4674;POINT (-40.400042 -2.78603)'))) / (select extract(epoch from '2026-07-04 13:59:57'::timestamp) - extract(epoch from '2026-07-04 13:59:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400028 -2.786077)'), GeomFromEWKT('SRID=4674;POINT (-40.400042 -2.78603)'))) / (select extract(epoch from '2026-07-04 13:59:57'::timestamp) - extract(epoch from '2026-07-04 13:59:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.400034 -2.78597)', '2026-07-04 14:00:05', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400042 -2.78603)'), GeomFromEWKT('SRID=4674;POINT (-40.400034 -2.78597)'))) / (select extract(epoch from '2026-07-04 14:00:05'::timestamp) - extract(epoch from '2026-07-04 13:59:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400042 -2.78603)'), GeomFromEWKT('SRID=4674;POINT (-40.400034 -2.78597)'))) / (select extract(epoch from '2026-07-04 14:00:05'::timestamp) - extract(epoch from '2026-07-04 13:59: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'), 47817, 'SRID=4674;POINT (-40.400019 -2.785957)', '2026-07-04 14:00:08', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400034 -2.78597)'), GeomFromEWKT('SRID=4674;POINT (-40.400019 -2.785957)'))) / (select extract(epoch from '2026-07-04 14:00:08'::timestamp) - extract(epoch from '2026-07-04 14:00:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400034 -2.78597)'), GeomFromEWKT('SRID=4674;POINT (-40.400019 -2.785957)'))) / (select extract(epoch from '2026-07-04 14:00:08'::timestamp) - extract(epoch from '2026-07-04 14:00: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'), 47817, 'SRID=4674;POINT (-40.399984 -2.785945)', '2026-07-04 14:00:12', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400019 -2.785957)'), GeomFromEWKT('SRID=4674;POINT (-40.399984 -2.785945)'))) / (select extract(epoch from '2026-07-04 14:00:12'::timestamp) - extract(epoch from '2026-07-04 14:00:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400019 -2.785957)'), GeomFromEWKT('SRID=4674;POINT (-40.399984 -2.785945)'))) / (select extract(epoch from '2026-07-04 14:00:12'::timestamp) - extract(epoch from '2026-07-04 14:00: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'), 47817, 'SRID=4674;POINT (-40.399945 -2.785955)', '2026-07-04 14:00:20', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399984 -2.785945)'), GeomFromEWKT('SRID=4674;POINT (-40.399945 -2.785955)'))) / (select extract(epoch from '2026-07-04 14:00:20'::timestamp) - extract(epoch from '2026-07-04 14:00:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399984 -2.785945)'), GeomFromEWKT('SRID=4674;POINT (-40.399945 -2.785955)'))) / (select extract(epoch from '2026-07-04 14:00:20'::timestamp) - extract(epoch from '2026-07-04 14:00:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399939 -2.785953)', '2026-07-04 14:00:29', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399945 -2.785955)'), GeomFromEWKT('SRID=4674;POINT (-40.399939 -2.785953)'))) / (select extract(epoch from '2026-07-04 14:00:29'::timestamp) - extract(epoch from '2026-07-04 14:00:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399945 -2.785955)'), GeomFromEWKT('SRID=4674;POINT (-40.399939 -2.785953)'))) / (select extract(epoch from '2026-07-04 14:00:29'::timestamp) - extract(epoch from '2026-07-04 14:00: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'), 47817, 'SRID=4674;POINT (-40.39995 -2.785965)', '2026-07-04 14:00:35', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399939 -2.785953)'), GeomFromEWKT('SRID=4674;POINT (-40.39995 -2.785965)'))) / (select extract(epoch from '2026-07-04 14:00:35'::timestamp) - extract(epoch from '2026-07-04 14:00:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399939 -2.785953)'), GeomFromEWKT('SRID=4674;POINT (-40.39995 -2.785965)'))) / (select extract(epoch from '2026-07-04 14:00:35'::timestamp) - extract(epoch from '2026-07-04 14:00:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399957 -2.785968)', '2026-07-04 14:00:41', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39995 -2.785965)'), GeomFromEWKT('SRID=4674;POINT (-40.399957 -2.785968)'))) / (select extract(epoch from '2026-07-04 14:00:41'::timestamp) - extract(epoch from '2026-07-04 14:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39995 -2.785965)'), GeomFromEWKT('SRID=4674;POINT (-40.399957 -2.785968)'))) / (select extract(epoch from '2026-07-04 14:00:41'::timestamp) - extract(epoch from '2026-07-04 14:00:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.400005 -2.785952)', '2026-07-04 14:00:52', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399957 -2.785968)'), GeomFromEWKT('SRID=4674;POINT (-40.400005 -2.785952)'))) / (select extract(epoch from '2026-07-04 14:00:52'::timestamp) - extract(epoch from '2026-07-04 14:00:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399957 -2.785968)'), GeomFromEWKT('SRID=4674;POINT (-40.400005 -2.785952)'))) / (select extract(epoch from '2026-07-04 14:00:52'::timestamp) - extract(epoch from '2026-07-04 14:00: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'), 47817, 'SRID=4674;POINT (-40.400035 -2.785885)', '2026-07-04 14:00:59', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400005 -2.785952)'), GeomFromEWKT('SRID=4674;POINT (-40.400035 -2.785885)'))) / (select extract(epoch from '2026-07-04 14:00:59'::timestamp) - extract(epoch from '2026-07-04 14:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400005 -2.785952)'), GeomFromEWKT('SRID=4674;POINT (-40.400035 -2.785885)'))) / (select extract(epoch from '2026-07-04 14:00:59'::timestamp) - extract(epoch from '2026-07-04 14:00: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'), 47817, 'SRID=4674;POINT (-40.400095 -2.785761)', '2026-07-04 14:01:07', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400035 -2.785885)'), GeomFromEWKT('SRID=4674;POINT (-40.400095 -2.785761)'))) / (select extract(epoch from '2026-07-04 14:01:07'::timestamp) - extract(epoch from '2026-07-04 14:00:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400035 -2.785885)'), GeomFromEWKT('SRID=4674;POINT (-40.400095 -2.785761)'))) / (select extract(epoch from '2026-07-04 14:01:07'::timestamp) - extract(epoch from '2026-07-04 14:00: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'), 47817, 'SRID=4674;POINT (-40.400187 -2.785735)', '2026-07-04 14:01:13', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400095 -2.785761)'), GeomFromEWKT('SRID=4674;POINT (-40.400187 -2.785735)'))) / (select extract(epoch from '2026-07-04 14:01:13'::timestamp) - extract(epoch from '2026-07-04 14:01:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400095 -2.785761)'), GeomFromEWKT('SRID=4674;POINT (-40.400187 -2.785735)'))) / (select extract(epoch from '2026-07-04 14:01:13'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.400223 -2.785748)', '2026-07-04 14:01:16', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400187 -2.785735)'), GeomFromEWKT('SRID=4674;POINT (-40.400223 -2.785748)'))) / (select extract(epoch from '2026-07-04 14:01:16'::timestamp) - extract(epoch from '2026-07-04 14:01:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400187 -2.785735)'), GeomFromEWKT('SRID=4674;POINT (-40.400223 -2.785748)'))) / (select extract(epoch from '2026-07-04 14:01:16'::timestamp) - extract(epoch from '2026-07-04 14:01: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'), 47817, 'SRID=4674;POINT (-40.400248 -2.785771)', '2026-07-04 14:01:19', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400223 -2.785748)'), GeomFromEWKT('SRID=4674;POINT (-40.400248 -2.785771)'))) / (select extract(epoch from '2026-07-04 14:01:19'::timestamp) - extract(epoch from '2026-07-04 14:01:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400223 -2.785748)'), GeomFromEWKT('SRID=4674;POINT (-40.400248 -2.785771)'))) / (select extract(epoch from '2026-07-04 14:01:19'::timestamp) - extract(epoch from '2026-07-04 14:01:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.400306 -2.785856)', '2026-07-04 14:01:25', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400248 -2.785771)'), GeomFromEWKT('SRID=4674;POINT (-40.400306 -2.785856)'))) / (select extract(epoch from '2026-07-04 14:01:25'::timestamp) - extract(epoch from '2026-07-04 14:01:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400248 -2.785771)'), GeomFromEWKT('SRID=4674;POINT (-40.400306 -2.785856)'))) / (select extract(epoch from '2026-07-04 14:01:25'::timestamp) - extract(epoch from '2026-07-04 14:01:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.400324 -2.785941)', '2026-07-04 14:01:31', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400306 -2.785856)'), GeomFromEWKT('SRID=4674;POINT (-40.400324 -2.785941)'))) / (select extract(epoch from '2026-07-04 14:01:31'::timestamp) - extract(epoch from '2026-07-04 14:01:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400306 -2.785856)'), GeomFromEWKT('SRID=4674;POINT (-40.400324 -2.785941)'))) / (select extract(epoch from '2026-07-04 14:01:31'::timestamp) - extract(epoch from '2026-07-04 14:01:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.400349 -2.786071)', '2026-07-04 14:01:38', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400324 -2.785941)'), GeomFromEWKT('SRID=4674;POINT (-40.400349 -2.786071)'))) / (select extract(epoch from '2026-07-04 14:01:38'::timestamp) - extract(epoch from '2026-07-04 14:01:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400324 -2.785941)'), GeomFromEWKT('SRID=4674;POINT (-40.400349 -2.786071)'))) / (select extract(epoch from '2026-07-04 14:01:38'::timestamp) - extract(epoch from '2026-07-04 14:01: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'), 47817, 'SRID=4674;POINT (-40.400478 -2.786213)', '2026-07-04 14:01:47', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400349 -2.786071)'), GeomFromEWKT('SRID=4674;POINT (-40.400478 -2.786213)'))) / (select extract(epoch from '2026-07-04 14:01:47'::timestamp) - extract(epoch from '2026-07-04 14:01:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400349 -2.786071)'), GeomFromEWKT('SRID=4674;POINT (-40.400478 -2.786213)'))) / (select extract(epoch from '2026-07-04 14:01:47'::timestamp) - extract(epoch from '2026-07-04 14:01: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'), 47817, 'SRID=4674;POINT (-40.400611 -2.786273)', '2026-07-04 14:01:55', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400478 -2.786213)'), GeomFromEWKT('SRID=4674;POINT (-40.400611 -2.786273)'))) / (select extract(epoch from '2026-07-04 14:01:55'::timestamp) - extract(epoch from '2026-07-04 14:01:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400478 -2.786213)'), GeomFromEWKT('SRID=4674;POINT (-40.400611 -2.786273)'))) / (select extract(epoch from '2026-07-04 14:01:55'::timestamp) - extract(epoch from '2026-07-04 14:01:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.400719 -2.78626)', '2026-07-04 14:02:03', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400611 -2.786273)'), GeomFromEWKT('SRID=4674;POINT (-40.400719 -2.78626)'))) / (select extract(epoch from '2026-07-04 14:02:03'::timestamp) - extract(epoch from '2026-07-04 14:01:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400611 -2.786273)'), GeomFromEWKT('SRID=4674;POINT (-40.400719 -2.78626)'))) / (select extract(epoch from '2026-07-04 14:02:03'::timestamp) - extract(epoch from '2026-07-04 14:01:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.400798 -2.786212)', '2026-07-04 14:02:10', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400719 -2.78626)'), GeomFromEWKT('SRID=4674;POINT (-40.400798 -2.786212)'))) / (select extract(epoch from '2026-07-04 14:02:10'::timestamp) - extract(epoch from '2026-07-04 14:02:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400719 -2.78626)'), GeomFromEWKT('SRID=4674;POINT (-40.400798 -2.786212)'))) / (select extract(epoch from '2026-07-04 14:02:10'::timestamp) - extract(epoch from '2026-07-04 14:02: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'), 47817, 'SRID=4674;POINT (-40.400854 -2.786167)', '2026-07-04 14:02:17', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400798 -2.786212)'), GeomFromEWKT('SRID=4674;POINT (-40.400854 -2.786167)'))) / (select extract(epoch from '2026-07-04 14:02:17'::timestamp) - extract(epoch from '2026-07-04 14:02:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400798 -2.786212)'), GeomFromEWKT('SRID=4674;POINT (-40.400854 -2.786167)'))) / (select extract(epoch from '2026-07-04 14:02:17'::timestamp) - extract(epoch from '2026-07-04 14:02: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'), 47817, 'SRID=4674;POINT (-40.400869 -2.786125)', '2026-07-04 14:02:24', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400854 -2.786167)'), GeomFromEWKT('SRID=4674;POINT (-40.400869 -2.786125)'))) / (select extract(epoch from '2026-07-04 14:02:24'::timestamp) - extract(epoch from '2026-07-04 14:02:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400854 -2.786167)'), GeomFromEWKT('SRID=4674;POINT (-40.400869 -2.786125)'))) / (select extract(epoch from '2026-07-04 14:02:24'::timestamp) - extract(epoch from '2026-07-04 14:02: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'), 47817, 'SRID=4674;POINT (-40.400865 -2.786111)', '2026-07-04 14:02:30', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400869 -2.786125)'), GeomFromEWKT('SRID=4674;POINT (-40.400865 -2.786111)'))) / (select extract(epoch from '2026-07-04 14:02:30'::timestamp) - extract(epoch from '2026-07-04 14:02:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400869 -2.786125)'), GeomFromEWKT('SRID=4674;POINT (-40.400865 -2.786111)'))) / (select extract(epoch from '2026-07-04 14:02:30'::timestamp) - extract(epoch from '2026-07-04 14:02:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.400827 -2.786109)', '2026-07-04 14:02:36', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400865 -2.786111)'), GeomFromEWKT('SRID=4674;POINT (-40.400827 -2.786109)'))) / (select extract(epoch from '2026-07-04 14:02:36'::timestamp) - extract(epoch from '2026-07-04 14:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400865 -2.786111)'), GeomFromEWKT('SRID=4674;POINT (-40.400827 -2.786109)'))) / (select extract(epoch from '2026-07-04 14:02:36'::timestamp) - extract(epoch from '2026-07-04 14:02: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'), 47817, 'SRID=4674;POINT (-40.400793 -2.786134)', '2026-07-04 14:02:42', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400827 -2.786109)'), GeomFromEWKT('SRID=4674;POINT (-40.400793 -2.786134)'))) / (select extract(epoch from '2026-07-04 14:02:42'::timestamp) - extract(epoch from '2026-07-04 14:02:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400827 -2.786109)'), GeomFromEWKT('SRID=4674;POINT (-40.400793 -2.786134)'))) / (select extract(epoch from '2026-07-04 14:02:42'::timestamp) - extract(epoch from '2026-07-04 14:02: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'), 47817, 'SRID=4674;POINT (-40.400781 -2.786197)', '2026-07-04 14:02:50', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400793 -2.786134)'), GeomFromEWKT('SRID=4674;POINT (-40.400781 -2.786197)'))) / (select extract(epoch from '2026-07-04 14:02:50'::timestamp) - extract(epoch from '2026-07-04 14:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400793 -2.786134)'), GeomFromEWKT('SRID=4674;POINT (-40.400781 -2.786197)'))) / (select extract(epoch from '2026-07-04 14:02:50'::timestamp) - extract(epoch from '2026-07-04 14:02: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'), 47817, 'SRID=4674;POINT (-40.400782 -2.786226)', '2026-07-04 14:02:58', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400781 -2.786197)'), GeomFromEWKT('SRID=4674;POINT (-40.400782 -2.786226)'))) / (select extract(epoch from '2026-07-04 14:02:58'::timestamp) - extract(epoch from '2026-07-04 14:02:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400781 -2.786197)'), GeomFromEWKT('SRID=4674;POINT (-40.400782 -2.786226)'))) / (select extract(epoch from '2026-07-04 14:02:58'::timestamp) - extract(epoch from '2026-07-04 14:02: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'), 47817, 'SRID=4674;POINT (-40.400806 -2.786227)', '2026-07-04 14:03:13', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400782 -2.786226)'), GeomFromEWKT('SRID=4674;POINT (-40.400806 -2.786227)'))) / (select extract(epoch from '2026-07-04 14:03:13'::timestamp) - extract(epoch from '2026-07-04 14:02:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400782 -2.786226)'), GeomFromEWKT('SRID=4674;POINT (-40.400806 -2.786227)'))) / (select extract(epoch from '2026-07-04 14:03:13'::timestamp) - extract(epoch from '2026-07-04 14:02:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.400826 -2.786221)', '2026-07-04 14:03:23', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400806 -2.786227)'), GeomFromEWKT('SRID=4674;POINT (-40.400826 -2.786221)'))) / (select extract(epoch from '2026-07-04 14:03:23'::timestamp) - extract(epoch from '2026-07-04 14:03:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400806 -2.786227)'), GeomFromEWKT('SRID=4674;POINT (-40.400826 -2.786221)'))) / (select extract(epoch from '2026-07-04 14:03:23'::timestamp) - extract(epoch from '2026-07-04 14:03:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.400854 -2.786231)', '2026-07-04 14:03:35', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400826 -2.786221)'), GeomFromEWKT('SRID=4674;POINT (-40.400854 -2.786231)'))) / (select extract(epoch from '2026-07-04 14:03:35'::timestamp) - extract(epoch from '2026-07-04 14:03:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400826 -2.786221)'), GeomFromEWKT('SRID=4674;POINT (-40.400854 -2.786231)'))) / (select extract(epoch from '2026-07-04 14:03:35'::timestamp) - extract(epoch from '2026-07-04 14:03: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'), 47817, 'SRID=4674;POINT (-40.400885 -2.786223)', '2026-07-04 14:03:46', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400854 -2.786231)'), GeomFromEWKT('SRID=4674;POINT (-40.400885 -2.786223)'))) / (select extract(epoch from '2026-07-04 14:03:46'::timestamp) - extract(epoch from '2026-07-04 14:03:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400854 -2.786231)'), GeomFromEWKT('SRID=4674;POINT (-40.400885 -2.786223)'))) / (select extract(epoch from '2026-07-04 14:03:46'::timestamp) - extract(epoch from '2026-07-04 14:03: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'), 47817, 'SRID=4674;POINT (-40.400926 -2.786208)', '2026-07-04 14:03:56', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400885 -2.786223)'), GeomFromEWKT('SRID=4674;POINT (-40.400926 -2.786208)'))) / (select extract(epoch from '2026-07-04 14:03:56'::timestamp) - extract(epoch from '2026-07-04 14:03:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400885 -2.786223)'), GeomFromEWKT('SRID=4674;POINT (-40.400926 -2.786208)'))) / (select extract(epoch from '2026-07-04 14:03:56'::timestamp) - extract(epoch from '2026-07-04 14:03:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.400971 -2.786198)', '2026-07-04 14:04:04', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400926 -2.786208)'), GeomFromEWKT('SRID=4674;POINT (-40.400971 -2.786198)'))) / (select extract(epoch from '2026-07-04 14:04:04'::timestamp) - extract(epoch from '2026-07-04 14:03:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400926 -2.786208)'), GeomFromEWKT('SRID=4674;POINT (-40.400971 -2.786198)'))) / (select extract(epoch from '2026-07-04 14:04:04'::timestamp) - extract(epoch from '2026-07-04 14:03: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'), 47817, 'SRID=4674;POINT (-40.401052 -2.78619)', '2026-07-04 14:04:14', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400971 -2.786198)'), GeomFromEWKT('SRID=4674;POINT (-40.401052 -2.78619)'))) / (select extract(epoch from '2026-07-04 14:04:14'::timestamp) - extract(epoch from '2026-07-04 14:04:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400971 -2.786198)'), GeomFromEWKT('SRID=4674;POINT (-40.401052 -2.78619)'))) / (select extract(epoch from '2026-07-04 14:04:14'::timestamp) - extract(epoch from '2026-07-04 14:04:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.401089 -2.786184)', '2026-07-04 14:04:20', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401052 -2.78619)'), GeomFromEWKT('SRID=4674;POINT (-40.401089 -2.786184)'))) / (select extract(epoch from '2026-07-04 14:04:20'::timestamp) - extract(epoch from '2026-07-04 14:04:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401052 -2.78619)'), GeomFromEWKT('SRID=4674;POINT (-40.401089 -2.786184)'))) / (select extract(epoch from '2026-07-04 14:04:20'::timestamp) - extract(epoch from '2026-07-04 14:04: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'), 47817, 'SRID=4674;POINT (-40.401113 -2.786135)', '2026-07-04 14:04:28', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401089 -2.786184)'), GeomFromEWKT('SRID=4674;POINT (-40.401113 -2.786135)'))) / (select extract(epoch from '2026-07-04 14:04:28'::timestamp) - extract(epoch from '2026-07-04 14:04:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401089 -2.786184)'), GeomFromEWKT('SRID=4674;POINT (-40.401113 -2.786135)'))) / (select extract(epoch from '2026-07-04 14:04:28'::timestamp) - extract(epoch from '2026-07-04 14:04: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'), 47817, 'SRID=4674;POINT (-40.401088 -2.78605)', '2026-07-04 14:04:34', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401113 -2.786135)'), GeomFromEWKT('SRID=4674;POINT (-40.401088 -2.78605)'))) / (select extract(epoch from '2026-07-04 14:04:34'::timestamp) - extract(epoch from '2026-07-04 14:04:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401113 -2.786135)'), GeomFromEWKT('SRID=4674;POINT (-40.401088 -2.78605)'))) / (select extract(epoch from '2026-07-04 14:04:34'::timestamp) - extract(epoch from '2026-07-04 14:04: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'), 47817, 'SRID=4674;POINT (-40.401035 -2.785924)', '2026-07-04 14:04:42', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401088 -2.78605)'), GeomFromEWKT('SRID=4674;POINT (-40.401035 -2.785924)'))) / (select extract(epoch from '2026-07-04 14:04:42'::timestamp) - extract(epoch from '2026-07-04 14:04:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401088 -2.78605)'), GeomFromEWKT('SRID=4674;POINT (-40.401035 -2.785924)'))) / (select extract(epoch from '2026-07-04 14:04:42'::timestamp) - extract(epoch from '2026-07-04 14:04: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'), 47817, 'SRID=4674;POINT (-40.401003 -2.785777)', '2026-07-04 14:04:51', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401035 -2.785924)'), GeomFromEWKT('SRID=4674;POINT (-40.401003 -2.785777)'))) / (select extract(epoch from '2026-07-04 14:04:51'::timestamp) - extract(epoch from '2026-07-04 14:04:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401035 -2.785924)'), GeomFromEWKT('SRID=4674;POINT (-40.401003 -2.785777)'))) / (select extract(epoch from '2026-07-04 14:04:51'::timestamp) - extract(epoch from '2026-07-04 14:04: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'), 47817, 'SRID=4674;POINT (-40.400988 -2.785632)', '2026-07-04 14:04:58', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401003 -2.785777)'), GeomFromEWKT('SRID=4674;POINT (-40.400988 -2.785632)'))) / (select extract(epoch from '2026-07-04 14:04:58'::timestamp) - extract(epoch from '2026-07-04 14:04:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401003 -2.785777)'), GeomFromEWKT('SRID=4674;POINT (-40.400988 -2.785632)'))) / (select extract(epoch from '2026-07-04 14:04:58'::timestamp) - extract(epoch from '2026-07-04 14:04:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.400983 -2.785456)', '2026-07-04 14:05:06', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400988 -2.785632)'), GeomFromEWKT('SRID=4674;POINT (-40.400983 -2.785456)'))) / (select extract(epoch from '2026-07-04 14:05:06'::timestamp) - extract(epoch from '2026-07-04 14:04:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400988 -2.785632)'), GeomFromEWKT('SRID=4674;POINT (-40.400983 -2.785456)'))) / (select extract(epoch from '2026-07-04 14:05:06'::timestamp) - extract(epoch from '2026-07-04 14:04: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'), 47817, 'SRID=4674;POINT (-40.401047 -2.785302)', '2026-07-04 14:05:15', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400983 -2.785456)'), GeomFromEWKT('SRID=4674;POINT (-40.401047 -2.785302)'))) / (select extract(epoch from '2026-07-04 14:05:15'::timestamp) - extract(epoch from '2026-07-04 14:05:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400983 -2.785456)'), GeomFromEWKT('SRID=4674;POINT (-40.401047 -2.785302)'))) / (select extract(epoch from '2026-07-04 14:05:15'::timestamp) - extract(epoch from '2026-07-04 14:05:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.401157 -2.785214)', '2026-07-04 14:05:22', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401047 -2.785302)'), GeomFromEWKT('SRID=4674;POINT (-40.401157 -2.785214)'))) / (select extract(epoch from '2026-07-04 14:05:22'::timestamp) - extract(epoch from '2026-07-04 14:05:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401047 -2.785302)'), GeomFromEWKT('SRID=4674;POINT (-40.401157 -2.785214)'))) / (select extract(epoch from '2026-07-04 14:05:22'::timestamp) - extract(epoch from '2026-07-04 14:05: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'), 47817, 'SRID=4674;POINT (-40.401253 -2.785197)', '2026-07-04 14:05:28', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401157 -2.785214)'), GeomFromEWKT('SRID=4674;POINT (-40.401253 -2.785197)'))) / (select extract(epoch from '2026-07-04 14:05:28'::timestamp) - extract(epoch from '2026-07-04 14:05:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401157 -2.785214)'), GeomFromEWKT('SRID=4674;POINT (-40.401253 -2.785197)'))) / (select extract(epoch from '2026-07-04 14:05:28'::timestamp) - extract(epoch from '2026-07-04 14:05: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'), 47817, 'SRID=4674;POINT (-40.401356 -2.785154)', '2026-07-04 14:05:35', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401253 -2.785197)'), GeomFromEWKT('SRID=4674;POINT (-40.401356 -2.785154)'))) / (select extract(epoch from '2026-07-04 14:05:35'::timestamp) - extract(epoch from '2026-07-04 14:05:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401253 -2.785197)'), GeomFromEWKT('SRID=4674;POINT (-40.401356 -2.785154)'))) / (select extract(epoch from '2026-07-04 14:05:35'::timestamp) - extract(epoch from '2026-07-04 14:05: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'), 47817, 'SRID=4674;POINT (-40.401394 -2.785087)', '2026-07-04 14:05:41', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401356 -2.785154)'), GeomFromEWKT('SRID=4674;POINT (-40.401394 -2.785087)'))) / (select extract(epoch from '2026-07-04 14:05:41'::timestamp) - extract(epoch from '2026-07-04 14:05:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401356 -2.785154)'), GeomFromEWKT('SRID=4674;POINT (-40.401394 -2.785087)'))) / (select extract(epoch from '2026-07-04 14:05:41'::timestamp) - extract(epoch from '2026-07-04 14:05: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'), 47817, 'SRID=4674;POINT (-40.401431 -2.785074)', '2026-07-04 14:05:48', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401394 -2.785087)'), GeomFromEWKT('SRID=4674;POINT (-40.401431 -2.785074)'))) / (select extract(epoch from '2026-07-04 14:05:48'::timestamp) - extract(epoch from '2026-07-04 14:05:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401394 -2.785087)'), GeomFromEWKT('SRID=4674;POINT (-40.401431 -2.785074)'))) / (select extract(epoch from '2026-07-04 14:05:48'::timestamp) - extract(epoch from '2026-07-04 14:05: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'), 47817, 'SRID=4674;POINT (-40.401437 -2.785042)', '2026-07-04 14:05:56', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401431 -2.785074)'), GeomFromEWKT('SRID=4674;POINT (-40.401437 -2.785042)'))) / (select extract(epoch from '2026-07-04 14:05:56'::timestamp) - extract(epoch from '2026-07-04 14:05:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401431 -2.785074)'), GeomFromEWKT('SRID=4674;POINT (-40.401437 -2.785042)'))) / (select extract(epoch from '2026-07-04 14:05:56'::timestamp) - extract(epoch from '2026-07-04 14:05:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.401405 -2.785048)', '2026-07-04 14:06:12', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401437 -2.785042)'), GeomFromEWKT('SRID=4674;POINT (-40.401405 -2.785048)'))) / (select extract(epoch from '2026-07-04 14:06:12'::timestamp) - extract(epoch from '2026-07-04 14:05:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401437 -2.785042)'), GeomFromEWKT('SRID=4674;POINT (-40.401405 -2.785048)'))) / (select extract(epoch from '2026-07-04 14:06:12'::timestamp) - extract(epoch from '2026-07-04 14:05: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'), 47817, 'SRID=4674;POINT (-40.401416 -2.785077)', '2026-07-04 14:06:26', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401405 -2.785048)'), GeomFromEWKT('SRID=4674;POINT (-40.401416 -2.785077)'))) / (select extract(epoch from '2026-07-04 14:06:26'::timestamp) - extract(epoch from '2026-07-04 14:06:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401405 -2.785048)'), GeomFromEWKT('SRID=4674;POINT (-40.401416 -2.785077)'))) / (select extract(epoch from '2026-07-04 14:06:26'::timestamp) - extract(epoch from '2026-07-04 14:06:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.401419 -2.78507)', '2026-07-04 14:06:36', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401416 -2.785077)'), GeomFromEWKT('SRID=4674;POINT (-40.401419 -2.78507)'))) / (select extract(epoch from '2026-07-04 14:06:36'::timestamp) - extract(epoch from '2026-07-04 14:06:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401416 -2.785077)'), GeomFromEWKT('SRID=4674;POINT (-40.401419 -2.78507)'))) / (select extract(epoch from '2026-07-04 14:06:36'::timestamp) - extract(epoch from '2026-07-04 14:06: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'), 47817, 'SRID=4674;POINT (-40.401449 -2.785057)', '2026-07-04 14:06:43', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401419 -2.78507)'), GeomFromEWKT('SRID=4674;POINT (-40.401449 -2.785057)'))) / (select extract(epoch from '2026-07-04 14:06:43'::timestamp) - extract(epoch from '2026-07-04 14:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401419 -2.78507)'), GeomFromEWKT('SRID=4674;POINT (-40.401449 -2.785057)'))) / (select extract(epoch from '2026-07-04 14:06:43'::timestamp) - extract(epoch from '2026-07-04 14:06: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'), 47817, 'SRID=4674;POINT (-40.401485 -2.785044)', '2026-07-04 14:06:58', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401449 -2.785057)'), GeomFromEWKT('SRID=4674;POINT (-40.401485 -2.785044)'))) / (select extract(epoch from '2026-07-04 14:06:58'::timestamp) - extract(epoch from '2026-07-04 14:06:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401449 -2.785057)'), GeomFromEWKT('SRID=4674;POINT (-40.401485 -2.785044)'))) / (select extract(epoch from '2026-07-04 14:06:58'::timestamp) - extract(epoch from '2026-07-04 14:06:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.401508 -2.784987)', '2026-07-04 14:07:04', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401485 -2.785044)'), GeomFromEWKT('SRID=4674;POINT (-40.401508 -2.784987)'))) / (select extract(epoch from '2026-07-04 14:07:04'::timestamp) - extract(epoch from '2026-07-04 14:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401485 -2.785044)'), GeomFromEWKT('SRID=4674;POINT (-40.401508 -2.784987)'))) / (select extract(epoch from '2026-07-04 14:07:04'::timestamp) - extract(epoch from '2026-07-04 14:06: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'), 47817, 'SRID=4674;POINT (-40.401509 -2.784906)', '2026-07-04 14:07:10', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401508 -2.784987)'), GeomFromEWKT('SRID=4674;POINT (-40.401509 -2.784906)'))) / (select extract(epoch from '2026-07-04 14:07:10'::timestamp) - extract(epoch from '2026-07-04 14:07:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401508 -2.784987)'), GeomFromEWKT('SRID=4674;POINT (-40.401509 -2.784906)'))) / (select extract(epoch from '2026-07-04 14:07:10'::timestamp) - extract(epoch from '2026-07-04 14:07: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'), 47817, 'SRID=4674;POINT (-40.401472 -2.784736)', '2026-07-04 14:07:16', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401509 -2.784906)'), GeomFromEWKT('SRID=4674;POINT (-40.401472 -2.784736)'))) / (select extract(epoch from '2026-07-04 14:07:16'::timestamp) - extract(epoch from '2026-07-04 14:07:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401509 -2.784906)'), GeomFromEWKT('SRID=4674;POINT (-40.401472 -2.784736)'))) / (select extract(epoch from '2026-07-04 14:07:16'::timestamp) - extract(epoch from '2026-07-04 14:07: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'), 47817, 'SRID=4674;POINT (-40.401477 -2.784579)', '2026-07-04 14:07:22', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401472 -2.784736)'), GeomFromEWKT('SRID=4674;POINT (-40.401477 -2.784579)'))) / (select extract(epoch from '2026-07-04 14:07:22'::timestamp) - extract(epoch from '2026-07-04 14:07:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401472 -2.784736)'), GeomFromEWKT('SRID=4674;POINT (-40.401477 -2.784579)'))) / (select extract(epoch from '2026-07-04 14:07:22'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.401538 -2.784426)', '2026-07-04 14:07:29', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401477 -2.784579)'), GeomFromEWKT('SRID=4674;POINT (-40.401538 -2.784426)'))) / (select extract(epoch from '2026-07-04 14:07:29'::timestamp) - extract(epoch from '2026-07-04 14:07:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401477 -2.784579)'), GeomFromEWKT('SRID=4674;POINT (-40.401538 -2.784426)'))) / (select extract(epoch from '2026-07-04 14:07:29'::timestamp) - extract(epoch from '2026-07-04 14:07:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.401628 -2.784346)', '2026-07-04 14:07:35', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401538 -2.784426)'), GeomFromEWKT('SRID=4674;POINT (-40.401628 -2.784346)'))) / (select extract(epoch from '2026-07-04 14:07:35'::timestamp) - extract(epoch from '2026-07-04 14:07:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401538 -2.784426)'), GeomFromEWKT('SRID=4674;POINT (-40.401628 -2.784346)'))) / (select extract(epoch from '2026-07-04 14:07:35'::timestamp) - extract(epoch from '2026-07-04 14:07:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.401661 -2.784319)', '2026-07-04 14:07:38', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401628 -2.784346)'), GeomFromEWKT('SRID=4674;POINT (-40.401661 -2.784319)'))) / (select extract(epoch from '2026-07-04 14:07:38'::timestamp) - extract(epoch from '2026-07-04 14:07:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401628 -2.784346)'), GeomFromEWKT('SRID=4674;POINT (-40.401661 -2.784319)'))) / (select extract(epoch from '2026-07-04 14:07:38'::timestamp) - extract(epoch from '2026-07-04 14:07: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'), 47817, 'SRID=4674;POINT (-40.4017 -2.784308)', '2026-07-04 14:07:41', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401661 -2.784319)'), GeomFromEWKT('SRID=4674;POINT (-40.4017 -2.784308)'))) / (select extract(epoch from '2026-07-04 14:07:41'::timestamp) - extract(epoch from '2026-07-04 14:07:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401661 -2.784319)'), GeomFromEWKT('SRID=4674;POINT (-40.4017 -2.784308)'))) / (select extract(epoch from '2026-07-04 14:07:41'::timestamp) - extract(epoch from '2026-07-04 14:07: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'), 47817, 'SRID=4674;POINT (-40.401715 -2.784312)', '2026-07-04 14:07:42', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4017 -2.784308)'), GeomFromEWKT('SRID=4674;POINT (-40.401715 -2.784312)'))) / (select extract(epoch from '2026-07-04 14:07:42'::timestamp) - extract(epoch from '2026-07-04 14:07:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4017 -2.784308)'), GeomFromEWKT('SRID=4674;POINT (-40.401715 -2.784312)'))) / (select extract(epoch from '2026-07-04 14:07:42'::timestamp) - extract(epoch from '2026-07-04 14:07: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'), 47817, 'SRID=4674;POINT (-40.401779 -2.784341)', '2026-07-04 14:07:47', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401715 -2.784312)'), GeomFromEWKT('SRID=4674;POINT (-40.401779 -2.784341)'))) / (select extract(epoch from '2026-07-04 14:07:47'::timestamp) - extract(epoch from '2026-07-04 14:07:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401715 -2.784312)'), GeomFromEWKT('SRID=4674;POINT (-40.401779 -2.784341)'))) / (select extract(epoch from '2026-07-04 14:07:47'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.401901 -2.784402)', '2026-07-04 14:07:54', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401779 -2.784341)'), GeomFromEWKT('SRID=4674;POINT (-40.401901 -2.784402)'))) / (select extract(epoch from '2026-07-04 14:07:54'::timestamp) - extract(epoch from '2026-07-04 14:07:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401779 -2.784341)'), GeomFromEWKT('SRID=4674;POINT (-40.401901 -2.784402)'))) / (select extract(epoch from '2026-07-04 14:07:54'::timestamp) - extract(epoch from '2026-07-04 14:07:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.401937 -2.784403)', '2026-07-04 14:07:57', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401901 -2.784402)'), GeomFromEWKT('SRID=4674;POINT (-40.401937 -2.784403)'))) / (select extract(epoch from '2026-07-04 14:07:57'::timestamp) - extract(epoch from '2026-07-04 14:07:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401901 -2.784402)'), GeomFromEWKT('SRID=4674;POINT (-40.401937 -2.784403)'))) / (select extract(epoch from '2026-07-04 14:07:57'::timestamp) - extract(epoch from '2026-07-04 14:07: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'), 47817, 'SRID=4674;POINT (-40.401964 -2.784398)', '2026-07-04 14:08:00', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401937 -2.784403)'), GeomFromEWKT('SRID=4674;POINT (-40.401964 -2.784398)'))) / (select extract(epoch from '2026-07-04 14:08:00'::timestamp) - extract(epoch from '2026-07-04 14:07:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401937 -2.784403)'), GeomFromEWKT('SRID=4674;POINT (-40.401964 -2.784398)'))) / (select extract(epoch from '2026-07-04 14:08:00'::timestamp) - extract(epoch from '2026-07-04 14:07: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'), 47817, 'SRID=4674;POINT (-40.401972 -2.784392)', '2026-07-04 14:08:01', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401964 -2.784398)'), GeomFromEWKT('SRID=4674;POINT (-40.401972 -2.784392)'))) / (select extract(epoch from '2026-07-04 14:08:01'::timestamp) - extract(epoch from '2026-07-04 14:08:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401964 -2.784398)'), GeomFromEWKT('SRID=4674;POINT (-40.401972 -2.784392)'))) / (select extract(epoch from '2026-07-04 14:08:01'::timestamp) - extract(epoch from '2026-07-04 14:08:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.402017 -2.784355)', '2026-07-04 14:08:06', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401972 -2.784392)'), GeomFromEWKT('SRID=4674;POINT (-40.402017 -2.784355)'))) / (select extract(epoch from '2026-07-04 14:08:06'::timestamp) - extract(epoch from '2026-07-04 14:08:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401972 -2.784392)'), GeomFromEWKT('SRID=4674;POINT (-40.402017 -2.784355)'))) / (select extract(epoch from '2026-07-04 14:08:06'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.402109 -2.784354)', '2026-07-04 14:08:13', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402017 -2.784355)'), GeomFromEWKT('SRID=4674;POINT (-40.402109 -2.784354)'))) / (select extract(epoch from '2026-07-04 14:08:13'::timestamp) - extract(epoch from '2026-07-04 14:08:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402017 -2.784355)'), GeomFromEWKT('SRID=4674;POINT (-40.402109 -2.784354)'))) / (select extract(epoch from '2026-07-04 14:08:13'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.402171 -2.784341)', '2026-07-04 14:08:19', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402109 -2.784354)'), GeomFromEWKT('SRID=4674;POINT (-40.402171 -2.784341)'))) / (select extract(epoch from '2026-07-04 14:08:19'::timestamp) - extract(epoch from '2026-07-04 14:08:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402109 -2.784354)'), GeomFromEWKT('SRID=4674;POINT (-40.402171 -2.784341)'))) / (select extract(epoch from '2026-07-04 14:08:19'::timestamp) - extract(epoch from '2026-07-04 14:08: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'), 47817, 'SRID=4674;POINT (-40.402227 -2.78432)', '2026-07-04 14:08:25', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402171 -2.784341)'), GeomFromEWKT('SRID=4674;POINT (-40.402227 -2.78432)'))) / (select extract(epoch from '2026-07-04 14:08:25'::timestamp) - extract(epoch from '2026-07-04 14:08:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402171 -2.784341)'), GeomFromEWKT('SRID=4674;POINT (-40.402227 -2.78432)'))) / (select extract(epoch from '2026-07-04 14:08:25'::timestamp) - extract(epoch from '2026-07-04 14:08: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'), 47817, 'SRID=4674;POINT (-40.402239 -2.784282)', '2026-07-04 14:08:30', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402227 -2.78432)'), GeomFromEWKT('SRID=4674;POINT (-40.402239 -2.784282)'))) / (select extract(epoch from '2026-07-04 14:08:30'::timestamp) - extract(epoch from '2026-07-04 14:08:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402227 -2.78432)'), GeomFromEWKT('SRID=4674;POINT (-40.402239 -2.784282)'))) / (select extract(epoch from '2026-07-04 14:08:30'::timestamp) - extract(epoch from '2026-07-04 14:08:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.402188 -2.784226)', '2026-07-04 14:08:39', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402239 -2.784282)'), GeomFromEWKT('SRID=4674;POINT (-40.402188 -2.784226)'))) / (select extract(epoch from '2026-07-04 14:08:39'::timestamp) - extract(epoch from '2026-07-04 14:08:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402239 -2.784282)'), GeomFromEWKT('SRID=4674;POINT (-40.402188 -2.784226)'))) / (select extract(epoch from '2026-07-04 14:08:39'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.402129 -2.784245)', '2026-07-04 14:08:47', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402188 -2.784226)'), GeomFromEWKT('SRID=4674;POINT (-40.402129 -2.784245)'))) / (select extract(epoch from '2026-07-04 14:08:47'::timestamp) - extract(epoch from '2026-07-04 14:08:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402188 -2.784226)'), GeomFromEWKT('SRID=4674;POINT (-40.402129 -2.784245)'))) / (select extract(epoch from '2026-07-04 14:08:47'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.402109 -2.784276)', '2026-07-04 14:08:53', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402129 -2.784245)'), GeomFromEWKT('SRID=4674;POINT (-40.402109 -2.784276)'))) / (select extract(epoch from '2026-07-04 14:08:53'::timestamp) - extract(epoch from '2026-07-04 14:08:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402129 -2.784245)'), GeomFromEWKT('SRID=4674;POINT (-40.402109 -2.784276)'))) / (select extract(epoch from '2026-07-04 14:08:53'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.402117 -2.784304)', '2026-07-04 14:09:00', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402109 -2.784276)'), GeomFromEWKT('SRID=4674;POINT (-40.402117 -2.784304)'))) / (select extract(epoch from '2026-07-04 14:09:00'::timestamp) - extract(epoch from '2026-07-04 14:08:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402109 -2.784276)'), GeomFromEWKT('SRID=4674;POINT (-40.402117 -2.784304)'))) / (select extract(epoch from '2026-07-04 14:09:00'::timestamp) - extract(epoch from '2026-07-04 14:08: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'), 47817, 'SRID=4674;POINT (-40.402166 -2.784334)', '2026-07-04 14:09:08', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402117 -2.784304)'), GeomFromEWKT('SRID=4674;POINT (-40.402166 -2.784334)'))) / (select extract(epoch from '2026-07-04 14:09:08'::timestamp) - extract(epoch from '2026-07-04 14:09:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402117 -2.784304)'), GeomFromEWKT('SRID=4674;POINT (-40.402166 -2.784334)'))) / (select extract(epoch from '2026-07-04 14:09:08'::timestamp) - extract(epoch from '2026-07-04 14:09: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'), 47817, 'SRID=4674;POINT (-40.402232 -2.784351)', '2026-07-04 14:09:17', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402166 -2.784334)'), GeomFromEWKT('SRID=4674;POINT (-40.402232 -2.784351)'))) / (select extract(epoch from '2026-07-04 14:09:17'::timestamp) - extract(epoch from '2026-07-04 14:09:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402166 -2.784334)'), GeomFromEWKT('SRID=4674;POINT (-40.402232 -2.784351)'))) / (select extract(epoch from '2026-07-04 14:09:17'::timestamp) - extract(epoch from '2026-07-04 14:09: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'), 47817, 'SRID=4674;POINT (-40.40226 -2.784355)', '2026-07-04 14:09:25', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402232 -2.784351)'), GeomFromEWKT('SRID=4674;POINT (-40.40226 -2.784355)'))) / (select extract(epoch from '2026-07-04 14:09:25'::timestamp) - extract(epoch from '2026-07-04 14:09:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402232 -2.784351)'), GeomFromEWKT('SRID=4674;POINT (-40.40226 -2.784355)'))) / (select extract(epoch from '2026-07-04 14:09:25'::timestamp) - extract(epoch from '2026-07-04 14:09: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'), 47817, 'SRID=4674;POINT (-40.402299 -2.7843)', '2026-07-04 14:09:36', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40226 -2.784355)'), GeomFromEWKT('SRID=4674;POINT (-40.402299 -2.7843)'))) / (select extract(epoch from '2026-07-04 14:09:36'::timestamp) - extract(epoch from '2026-07-04 14:09:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40226 -2.784355)'), GeomFromEWKT('SRID=4674;POINT (-40.402299 -2.7843)'))) / (select extract(epoch from '2026-07-04 14:09:36'::timestamp) - extract(epoch from '2026-07-04 14:09: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'), 47817, 'SRID=4674;POINT (-40.402267 -2.784239)', '2026-07-04 14:09:42', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402299 -2.7843)'), GeomFromEWKT('SRID=4674;POINT (-40.402267 -2.784239)'))) / (select extract(epoch from '2026-07-04 14:09:42'::timestamp) - extract(epoch from '2026-07-04 14:09:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402299 -2.7843)'), GeomFromEWKT('SRID=4674;POINT (-40.402267 -2.784239)'))) / (select extract(epoch from '2026-07-04 14:09:42'::timestamp) - extract(epoch from '2026-07-04 14:09: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'), 47817, 'SRID=4674;POINT (-40.402198 -2.784178)', '2026-07-04 14:09:48', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402267 -2.784239)'), GeomFromEWKT('SRID=4674;POINT (-40.402198 -2.784178)'))) / (select extract(epoch from '2026-07-04 14:09:48'::timestamp) - extract(epoch from '2026-07-04 14:09:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402267 -2.784239)'), GeomFromEWKT('SRID=4674;POINT (-40.402198 -2.784178)'))) / (select extract(epoch from '2026-07-04 14:09:48'::timestamp) - extract(epoch from '2026-07-04 14:09: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'), 47817, 'SRID=4674;POINT (-40.402135 -2.784102)', '2026-07-04 14:09:55', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402198 -2.784178)'), GeomFromEWKT('SRID=4674;POINT (-40.402135 -2.784102)'))) / (select extract(epoch from '2026-07-04 14:09:55'::timestamp) - extract(epoch from '2026-07-04 14:09:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402198 -2.784178)'), GeomFromEWKT('SRID=4674;POINT (-40.402135 -2.784102)'))) / (select extract(epoch from '2026-07-04 14:09:55'::timestamp) - extract(epoch from '2026-07-04 14:09:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.402116 -2.783982)', '2026-07-04 14:10:02', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402135 -2.784102)'), GeomFromEWKT('SRID=4674;POINT (-40.402116 -2.783982)'))) / (select extract(epoch from '2026-07-04 14:10:02'::timestamp) - extract(epoch from '2026-07-04 14:09:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402135 -2.784102)'), GeomFromEWKT('SRID=4674;POINT (-40.402116 -2.783982)'))) / (select extract(epoch from '2026-07-04 14:10:02'::timestamp) - extract(epoch from '2026-07-04 14:09:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.402155 -2.783872)', '2026-07-04 14:10:08', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402116 -2.783982)'), GeomFromEWKT('SRID=4674;POINT (-40.402155 -2.783872)'))) / (select extract(epoch from '2026-07-04 14:10:08'::timestamp) - extract(epoch from '2026-07-04 14:10:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402116 -2.783982)'), GeomFromEWKT('SRID=4674;POINT (-40.402155 -2.783872)'))) / (select extract(epoch from '2026-07-04 14:10:08'::timestamp) - extract(epoch from '2026-07-04 14:10: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'), 47817, 'SRID=4674;POINT (-40.40212 -2.783754)', '2026-07-04 14:10:15', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402155 -2.783872)'), GeomFromEWKT('SRID=4674;POINT (-40.40212 -2.783754)'))) / (select extract(epoch from '2026-07-04 14:10:15'::timestamp) - extract(epoch from '2026-07-04 14:10:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402155 -2.783872)'), GeomFromEWKT('SRID=4674;POINT (-40.40212 -2.783754)'))) / (select extract(epoch from '2026-07-04 14:10:15'::timestamp) - extract(epoch from '2026-07-04 14:10:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.402191 -2.783687)', '2026-07-04 14:10:23', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40212 -2.783754)'), GeomFromEWKT('SRID=4674;POINT (-40.402191 -2.783687)'))) / (select extract(epoch from '2026-07-04 14:10:23'::timestamp) - extract(epoch from '2026-07-04 14:10:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40212 -2.783754)'), GeomFromEWKT('SRID=4674;POINT (-40.402191 -2.783687)'))) / (select extract(epoch from '2026-07-04 14:10:23'::timestamp) - extract(epoch from '2026-07-04 14:10: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'), 47817, 'SRID=4674;POINT (-40.402202 -2.783682)', '2026-07-04 14:10:24', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402191 -2.783687)'), GeomFromEWKT('SRID=4674;POINT (-40.402202 -2.783682)'))) / (select extract(epoch from '2026-07-04 14:10:24'::timestamp) - extract(epoch from '2026-07-04 14:10:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402191 -2.783687)'), GeomFromEWKT('SRID=4674;POINT (-40.402202 -2.783682)'))) / (select extract(epoch from '2026-07-04 14:10:24'::timestamp) - extract(epoch from '2026-07-04 14:10: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'), 47817, 'SRID=4674;POINT (-40.402239 -2.783668)', '2026-07-04 14:10:28', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402202 -2.783682)'), GeomFromEWKT('SRID=4674;POINT (-40.402239 -2.783668)'))) / (select extract(epoch from '2026-07-04 14:10:28'::timestamp) - extract(epoch from '2026-07-04 14:10:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402202 -2.783682)'), GeomFromEWKT('SRID=4674;POINT (-40.402239 -2.783668)'))) / (select extract(epoch from '2026-07-04 14:10:28'::timestamp) - extract(epoch from '2026-07-04 14:10: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'), 47817, 'SRID=4674;POINT (-40.40225 -2.783667)', '2026-07-04 14:10:29', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402239 -2.783668)'), GeomFromEWKT('SRID=4674;POINT (-40.40225 -2.783667)'))) / (select extract(epoch from '2026-07-04 14:10:29'::timestamp) - extract(epoch from '2026-07-04 14:10:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402239 -2.783668)'), GeomFromEWKT('SRID=4674;POINT (-40.40225 -2.783667)'))) / (select extract(epoch from '2026-07-04 14:10:29'::timestamp) - extract(epoch from '2026-07-04 14:10:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.402338 -2.783662)', '2026-07-04 14:10:35', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40225 -2.783667)'), GeomFromEWKT('SRID=4674;POINT (-40.402338 -2.783662)'))) / (select extract(epoch from '2026-07-04 14:10:35'::timestamp) - extract(epoch from '2026-07-04 14:10:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40225 -2.783667)'), GeomFromEWKT('SRID=4674;POINT (-40.402338 -2.783662)'))) / (select extract(epoch from '2026-07-04 14:10:35'::timestamp) - extract(epoch from '2026-07-04 14:10: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'), 47817, 'SRID=4674;POINT (-40.402398 -2.783616)', '2026-07-04 14:10:41', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402338 -2.783662)'), GeomFromEWKT('SRID=4674;POINT (-40.402398 -2.783616)'))) / (select extract(epoch from '2026-07-04 14:10:41'::timestamp) - extract(epoch from '2026-07-04 14:10:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402338 -2.783662)'), GeomFromEWKT('SRID=4674;POINT (-40.402398 -2.783616)'))) / (select extract(epoch from '2026-07-04 14:10:41'::timestamp) - extract(epoch from '2026-07-04 14:10:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.402405 -2.783605)', '2026-07-04 14:10:42', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402398 -2.783616)'), GeomFromEWKT('SRID=4674;POINT (-40.402405 -2.783605)'))) / (select extract(epoch from '2026-07-04 14:10:42'::timestamp) - extract(epoch from '2026-07-04 14:10:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402398 -2.783616)'), GeomFromEWKT('SRID=4674;POINT (-40.402405 -2.783605)'))) / (select extract(epoch from '2026-07-04 14:10:42'::timestamp) - extract(epoch from '2026-07-04 14:10: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'), 47817, 'SRID=4674;POINT (-40.402419 -2.783543)', '2026-07-04 14:10:47', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402405 -2.783605)'), GeomFromEWKT('SRID=4674;POINT (-40.402419 -2.783543)'))) / (select extract(epoch from '2026-07-04 14:10:47'::timestamp) - extract(epoch from '2026-07-04 14:10:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402405 -2.783605)'), GeomFromEWKT('SRID=4674;POINT (-40.402419 -2.783543)'))) / (select extract(epoch from '2026-07-04 14:10:47'::timestamp) - extract(epoch from '2026-07-04 14:10: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'), 47817, 'SRID=4674;POINT (-40.402418 -2.783532)', '2026-07-04 14:10:48', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402419 -2.783543)'), GeomFromEWKT('SRID=4674;POINT (-40.402418 -2.783532)'))) / (select extract(epoch from '2026-07-04 14:10:48'::timestamp) - extract(epoch from '2026-07-04 14:10:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402419 -2.783543)'), GeomFromEWKT('SRID=4674;POINT (-40.402418 -2.783532)'))) / (select extract(epoch from '2026-07-04 14:10:48'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.402394 -2.783501)', '2026-07-04 14:10:53', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402418 -2.783532)'), GeomFromEWKT('SRID=4674;POINT (-40.402394 -2.783501)'))) / (select extract(epoch from '2026-07-04 14:10:53'::timestamp) - extract(epoch from '2026-07-04 14:10:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402418 -2.783532)'), GeomFromEWKT('SRID=4674;POINT (-40.402394 -2.783501)'))) / (select extract(epoch from '2026-07-04 14:10:53'::timestamp) - extract(epoch from '2026-07-04 14:10: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'), 47817, 'SRID=4674;POINT (-40.402318 -2.783501)', '2026-07-04 14:11:01', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402394 -2.783501)'), GeomFromEWKT('SRID=4674;POINT (-40.402318 -2.783501)'))) / (select extract(epoch from '2026-07-04 14:11:01'::timestamp) - extract(epoch from '2026-07-04 14:10:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402394 -2.783501)'), GeomFromEWKT('SRID=4674;POINT (-40.402318 -2.783501)'))) / (select extract(epoch from '2026-07-04 14:11:01'::timestamp) - extract(epoch from '2026-07-04 14:10: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'), 47817, 'SRID=4674;POINT (-40.402294 -2.783545)', '2026-07-04 14:11:08', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402318 -2.783501)'), GeomFromEWKT('SRID=4674;POINT (-40.402294 -2.783545)'))) / (select extract(epoch from '2026-07-04 14:11:08'::timestamp) - extract(epoch from '2026-07-04 14:11:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402318 -2.783501)'), GeomFromEWKT('SRID=4674;POINT (-40.402294 -2.783545)'))) / (select extract(epoch from '2026-07-04 14:11:08'::timestamp) - extract(epoch from '2026-07-04 14:11: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'), 47817, 'SRID=4674;POINT (-40.402284 -2.783592)', '2026-07-04 14:11:15', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402294 -2.783545)'), GeomFromEWKT('SRID=4674;POINT (-40.402284 -2.783592)'))) / (select extract(epoch from '2026-07-04 14:11:15'::timestamp) - extract(epoch from '2026-07-04 14:11:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402294 -2.783545)'), GeomFromEWKT('SRID=4674;POINT (-40.402284 -2.783592)'))) / (select extract(epoch from '2026-07-04 14:11:15'::timestamp) - extract(epoch from '2026-07-04 14:11: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'), 47817, 'SRID=4674;POINT (-40.402287 -2.783609)', '2026-07-04 14:11:18', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402284 -2.783592)'), GeomFromEWKT('SRID=4674;POINT (-40.402287 -2.783609)'))) / (select extract(epoch from '2026-07-04 14:11:18'::timestamp) - extract(epoch from '2026-07-04 14:11:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402284 -2.783592)'), GeomFromEWKT('SRID=4674;POINT (-40.402287 -2.783609)'))) / (select extract(epoch from '2026-07-04 14:11:18'::timestamp) - extract(epoch from '2026-07-04 14:11: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'), 47817, 'SRID=4674;POINT (-40.402288 -2.783617)', '2026-07-04 14:11:21', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402287 -2.783609)'), GeomFromEWKT('SRID=4674;POINT (-40.402288 -2.783617)'))) / (select extract(epoch from '2026-07-04 14:11:21'::timestamp) - extract(epoch from '2026-07-04 14:11:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402287 -2.783609)'), GeomFromEWKT('SRID=4674;POINT (-40.402288 -2.783617)'))) / (select extract(epoch from '2026-07-04 14:11:21'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.402303 -2.783643)', '2026-07-04 14:11:28', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402288 -2.783617)'), GeomFromEWKT('SRID=4674;POINT (-40.402303 -2.783643)'))) / (select extract(epoch from '2026-07-04 14:11:28'::timestamp) - extract(epoch from '2026-07-04 14:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402288 -2.783617)'), GeomFromEWKT('SRID=4674;POINT (-40.402303 -2.783643)'))) / (select extract(epoch from '2026-07-04 14:11:28'::timestamp) - extract(epoch from '2026-07-04 14:11:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.402337 -2.783696)', '2026-07-04 14:11:35', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402303 -2.783643)'), GeomFromEWKT('SRID=4674;POINT (-40.402337 -2.783696)'))) / (select extract(epoch from '2026-07-04 14:11:35'::timestamp) - extract(epoch from '2026-07-04 14:11:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402303 -2.783643)'), GeomFromEWKT('SRID=4674;POINT (-40.402337 -2.783696)'))) / (select extract(epoch from '2026-07-04 14:11:35'::timestamp) - extract(epoch from '2026-07-04 14:11:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.402387 -2.783718)', '2026-07-04 14:11:40', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402337 -2.783696)'), GeomFromEWKT('SRID=4674;POINT (-40.402387 -2.783718)'))) / (select extract(epoch from '2026-07-04 14:11:40'::timestamp) - extract(epoch from '2026-07-04 14:11:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402337 -2.783696)'), GeomFromEWKT('SRID=4674;POINT (-40.402387 -2.783718)'))) / (select extract(epoch from '2026-07-04 14:11:40'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.402416 -2.783717)', '2026-07-04 14:11:45', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402387 -2.783718)'), GeomFromEWKT('SRID=4674;POINT (-40.402416 -2.783717)'))) / (select extract(epoch from '2026-07-04 14:11:45'::timestamp) - extract(epoch from '2026-07-04 14:11:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402387 -2.783718)'), GeomFromEWKT('SRID=4674;POINT (-40.402416 -2.783717)'))) / (select extract(epoch from '2026-07-04 14:11:45'::timestamp) - extract(epoch from '2026-07-04 14:11: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'), 47817, 'SRID=4674;POINT (-40.40242 -2.78371)', '2026-07-04 14:11:48', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402416 -2.783717)'), GeomFromEWKT('SRID=4674;POINT (-40.40242 -2.78371)'))) / (select extract(epoch from '2026-07-04 14:11:48'::timestamp) - extract(epoch from '2026-07-04 14:11:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402416 -2.783717)'), GeomFromEWKT('SRID=4674;POINT (-40.40242 -2.78371)'))) / (select extract(epoch from '2026-07-04 14:11:48'::timestamp) - extract(epoch from '2026-07-04 14:11: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'), 47817, 'SRID=4674;POINT (-40.402431 -2.783712)', '2026-07-04 14:11:55', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40242 -2.78371)'), GeomFromEWKT('SRID=4674;POINT (-40.402431 -2.783712)'))) / (select extract(epoch from '2026-07-04 14:11:55'::timestamp) - extract(epoch from '2026-07-04 14:11:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40242 -2.78371)'), GeomFromEWKT('SRID=4674;POINT (-40.402431 -2.783712)'))) / (select extract(epoch from '2026-07-04 14:11:55'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.402467 -2.783728)', '2026-07-04 14:12:03', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402431 -2.783712)'), GeomFromEWKT('SRID=4674;POINT (-40.402467 -2.783728)'))) / (select extract(epoch from '2026-07-04 14:12:03'::timestamp) - extract(epoch from '2026-07-04 14:11:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402431 -2.783712)'), GeomFromEWKT('SRID=4674;POINT (-40.402467 -2.783728)'))) / (select extract(epoch from '2026-07-04 14:12:03'::timestamp) - extract(epoch from '2026-07-04 14:11: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'), 47817, 'SRID=4674;POINT (-40.402492 -2.783725)', '2026-07-04 14:12:10', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402467 -2.783728)'), GeomFromEWKT('SRID=4674;POINT (-40.402492 -2.783725)'))) / (select extract(epoch from '2026-07-04 14:12:10'::timestamp) - extract(epoch from '2026-07-04 14:12:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402467 -2.783728)'), GeomFromEWKT('SRID=4674;POINT (-40.402492 -2.783725)'))) / (select extract(epoch from '2026-07-04 14:12:10'::timestamp) - extract(epoch from '2026-07-04 14:12: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'), 47817, 'SRID=4674;POINT (-40.402504 -2.783722)', '2026-07-04 14:12:14', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402492 -2.783725)'), GeomFromEWKT('SRID=4674;POINT (-40.402504 -2.783722)'))) / (select extract(epoch from '2026-07-04 14:12:14'::timestamp) - extract(epoch from '2026-07-04 14:12:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402492 -2.783725)'), GeomFromEWKT('SRID=4674;POINT (-40.402504 -2.783722)'))) / (select extract(epoch from '2026-07-04 14:12:14'::timestamp) - extract(epoch from '2026-07-04 14:12: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'), 47817, 'SRID=4674;POINT (-40.402526 -2.78372)', '2026-07-04 14:12:19', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402504 -2.783722)'), GeomFromEWKT('SRID=4674;POINT (-40.402526 -2.78372)'))) / (select extract(epoch from '2026-07-04 14:12:19'::timestamp) - extract(epoch from '2026-07-04 14:12:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402504 -2.783722)'), GeomFromEWKT('SRID=4674;POINT (-40.402526 -2.78372)'))) / (select extract(epoch from '2026-07-04 14:12:19'::timestamp) - extract(epoch from '2026-07-04 14:12: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'), 47817, 'SRID=4674;POINT (-40.402552 -2.783704)', '2026-07-04 14:12:26', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402526 -2.78372)'), GeomFromEWKT('SRID=4674;POINT (-40.402552 -2.783704)'))) / (select extract(epoch from '2026-07-04 14:12:26'::timestamp) - extract(epoch from '2026-07-04 14:12:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402526 -2.78372)'), GeomFromEWKT('SRID=4674;POINT (-40.402552 -2.783704)'))) / (select extract(epoch from '2026-07-04 14:12:26'::timestamp) - extract(epoch from '2026-07-04 14:12: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'), 47817, 'SRID=4674;POINT (-40.402569 -2.783687)', '2026-07-04 14:12:29', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402552 -2.783704)'), GeomFromEWKT('SRID=4674;POINT (-40.402569 -2.783687)'))) / (select extract(epoch from '2026-07-04 14:12:29'::timestamp) - extract(epoch from '2026-07-04 14:12:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402552 -2.783704)'), GeomFromEWKT('SRID=4674;POINT (-40.402569 -2.783687)'))) / (select extract(epoch from '2026-07-04 14:12:29'::timestamp) - extract(epoch from '2026-07-04 14:12: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'), 47817, 'SRID=4674;POINT (-40.402597 -2.783653)', '2026-07-04 14:12:35', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402569 -2.783687)'), GeomFromEWKT('SRID=4674;POINT (-40.402597 -2.783653)'))) / (select extract(epoch from '2026-07-04 14:12:35'::timestamp) - extract(epoch from '2026-07-04 14:12:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402569 -2.783687)'), GeomFromEWKT('SRID=4674;POINT (-40.402597 -2.783653)'))) / (select extract(epoch from '2026-07-04 14:12:35'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.402605 -2.783612)', '2026-07-04 14:12:43', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402597 -2.783653)'), GeomFromEWKT('SRID=4674;POINT (-40.402605 -2.783612)'))) / (select extract(epoch from '2026-07-04 14:12:43'::timestamp) - extract(epoch from '2026-07-04 14:12:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402597 -2.783653)'), GeomFromEWKT('SRID=4674;POINT (-40.402605 -2.783612)'))) / (select extract(epoch from '2026-07-04 14:12:43'::timestamp) - extract(epoch from '2026-07-04 14:12: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'), 47817, 'SRID=4674;POINT (-40.402572 -2.783524)', '2026-07-04 14:12:49', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402605 -2.783612)'), GeomFromEWKT('SRID=4674;POINT (-40.402572 -2.783524)'))) / (select extract(epoch from '2026-07-04 14:12:49'::timestamp) - extract(epoch from '2026-07-04 14:12:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402605 -2.783612)'), GeomFromEWKT('SRID=4674;POINT (-40.402572 -2.783524)'))) / (select extract(epoch from '2026-07-04 14:12:49'::timestamp) - extract(epoch from '2026-07-04 14:12: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'), 47817, 'SRID=4674;POINT (-40.402601 -2.783403)', '2026-07-04 14:12:55', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402572 -2.783524)'), GeomFromEWKT('SRID=4674;POINT (-40.402601 -2.783403)'))) / (select extract(epoch from '2026-07-04 14:12:55'::timestamp) - extract(epoch from '2026-07-04 14:12:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402572 -2.783524)'), GeomFromEWKT('SRID=4674;POINT (-40.402601 -2.783403)'))) / (select extract(epoch from '2026-07-04 14:12:55'::timestamp) - extract(epoch from '2026-07-04 14:12: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'), 47817, 'SRID=4674;POINT (-40.40265 -2.783366)', '2026-07-04 14:12:59', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402601 -2.783403)'), GeomFromEWKT('SRID=4674;POINT (-40.40265 -2.783366)'))) / (select extract(epoch from '2026-07-04 14:12:59'::timestamp) - extract(epoch from '2026-07-04 14:12:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402601 -2.783403)'), GeomFromEWKT('SRID=4674;POINT (-40.40265 -2.783366)'))) / (select extract(epoch from '2026-07-04 14:12:59'::timestamp) - extract(epoch from '2026-07-04 14:12: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'), 47817, 'SRID=4674;POINT (-40.40268 -2.783359)', '2026-07-04 14:13:01', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40265 -2.783366)'), GeomFromEWKT('SRID=4674;POINT (-40.40268 -2.783359)'))) / (select extract(epoch from '2026-07-04 14:13:01'::timestamp) - extract(epoch from '2026-07-04 14:12:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40265 -2.783366)'), GeomFromEWKT('SRID=4674;POINT (-40.40268 -2.783359)'))) / (select extract(epoch from '2026-07-04 14:13:01'::timestamp) - extract(epoch from '2026-07-04 14:12:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.402774 -2.783391)', '2026-07-04 14:13:07', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40268 -2.783359)'), GeomFromEWKT('SRID=4674;POINT (-40.402774 -2.783391)'))) / (select extract(epoch from '2026-07-04 14:13:07'::timestamp) - extract(epoch from '2026-07-04 14:13:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40268 -2.783359)'), GeomFromEWKT('SRID=4674;POINT (-40.402774 -2.783391)'))) / (select extract(epoch from '2026-07-04 14:13:07'::timestamp) - extract(epoch from '2026-07-04 14:13:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.402846 -2.783464)', '2026-07-04 14:13:12', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402774 -2.783391)'), GeomFromEWKT('SRID=4674;POINT (-40.402846 -2.783464)'))) / (select extract(epoch from '2026-07-04 14:13:12'::timestamp) - extract(epoch from '2026-07-04 14:13:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402774 -2.783391)'), GeomFromEWKT('SRID=4674;POINT (-40.402846 -2.783464)'))) / (select extract(epoch from '2026-07-04 14:13:12'::timestamp) - extract(epoch from '2026-07-04 14:13:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.402908 -2.783565)', '2026-07-04 14:13:19', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402846 -2.783464)'), GeomFromEWKT('SRID=4674;POINT (-40.402908 -2.783565)'))) / (select extract(epoch from '2026-07-04 14:13:19'::timestamp) - extract(epoch from '2026-07-04 14:13:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402846 -2.783464)'), GeomFromEWKT('SRID=4674;POINT (-40.402908 -2.783565)'))) / (select extract(epoch from '2026-07-04 14:13:19'::timestamp) - extract(epoch from '2026-07-04 14:13: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'), 47817, 'SRID=4674;POINT (-40.402989 -2.783707)', '2026-07-04 14:13:27', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402908 -2.783565)'), GeomFromEWKT('SRID=4674;POINT (-40.402989 -2.783707)'))) / (select extract(epoch from '2026-07-04 14:13:27'::timestamp) - extract(epoch from '2026-07-04 14:13:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402908 -2.783565)'), GeomFromEWKT('SRID=4674;POINT (-40.402989 -2.783707)'))) / (select extract(epoch from '2026-07-04 14:13:27'::timestamp) - extract(epoch from '2026-07-04 14:13:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.403073 -2.783774)', '2026-07-04 14:13:33', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402989 -2.783707)'), GeomFromEWKT('SRID=4674;POINT (-40.403073 -2.783774)'))) / (select extract(epoch from '2026-07-04 14:13:33'::timestamp) - extract(epoch from '2026-07-04 14:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402989 -2.783707)'), GeomFromEWKT('SRID=4674;POINT (-40.403073 -2.783774)'))) / (select extract(epoch from '2026-07-04 14:13:33'::timestamp) - extract(epoch from '2026-07-04 14:13: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'), 47817, 'SRID=4674;POINT (-40.403169 -2.783734)', '2026-07-04 14:13:39', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403073 -2.783774)'), GeomFromEWKT('SRID=4674;POINT (-40.403169 -2.783734)'))) / (select extract(epoch from '2026-07-04 14:13:39'::timestamp) - extract(epoch from '2026-07-04 14:13:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403073 -2.783774)'), GeomFromEWKT('SRID=4674;POINT (-40.403169 -2.783734)'))) / (select extract(epoch from '2026-07-04 14:13:39'::timestamp) - extract(epoch from '2026-07-04 14:13:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.403248 -2.783719)', '2026-07-04 14:13:46', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403169 -2.783734)'), GeomFromEWKT('SRID=4674;POINT (-40.403248 -2.783719)'))) / (select extract(epoch from '2026-07-04 14:13:46'::timestamp) - extract(epoch from '2026-07-04 14:13:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403169 -2.783734)'), GeomFromEWKT('SRID=4674;POINT (-40.403248 -2.783719)'))) / (select extract(epoch from '2026-07-04 14:13:46'::timestamp) - extract(epoch from '2026-07-04 14:13: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'), 47817, 'SRID=4674;POINT (-40.40327 -2.783747)', '2026-07-04 14:13:51', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403248 -2.783719)'), GeomFromEWKT('SRID=4674;POINT (-40.40327 -2.783747)'))) / (select extract(epoch from '2026-07-04 14:13:51'::timestamp) - extract(epoch from '2026-07-04 14:13:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403248 -2.783719)'), GeomFromEWKT('SRID=4674;POINT (-40.40327 -2.783747)'))) / (select extract(epoch from '2026-07-04 14:13:51'::timestamp) - extract(epoch from '2026-07-04 14:13: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'), 47817, 'SRID=4674;POINT (-40.403271 -2.783771)', '2026-07-04 14:13:57', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40327 -2.783747)'), GeomFromEWKT('SRID=4674;POINT (-40.403271 -2.783771)'))) / (select extract(epoch from '2026-07-04 14:13:57'::timestamp) - extract(epoch from '2026-07-04 14:13:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40327 -2.783747)'), GeomFromEWKT('SRID=4674;POINT (-40.403271 -2.783771)'))) / (select extract(epoch from '2026-07-04 14:13:57'::timestamp) - extract(epoch from '2026-07-04 14:13:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.403263 -2.783776)', '2026-07-04 14:13:58', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403271 -2.783771)'), GeomFromEWKT('SRID=4674;POINT (-40.403263 -2.783776)'))) / (select extract(epoch from '2026-07-04 14:13:58'::timestamp) - extract(epoch from '2026-07-04 14:13:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403271 -2.783771)'), GeomFromEWKT('SRID=4674;POINT (-40.403263 -2.783776)'))) / (select extract(epoch from '2026-07-04 14:13:58'::timestamp) - extract(epoch from '2026-07-04 14:13: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'), 47817, 'SRID=4674;POINT (-40.40325 -2.783825)', '2026-07-04 14:14:04', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403263 -2.783776)'), GeomFromEWKT('SRID=4674;POINT (-40.40325 -2.783825)'))) / (select extract(epoch from '2026-07-04 14:14:04'::timestamp) - extract(epoch from '2026-07-04 14:13:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403263 -2.783776)'), GeomFromEWKT('SRID=4674;POINT (-40.40325 -2.783825)'))) / (select extract(epoch from '2026-07-04 14:14:04'::timestamp) - extract(epoch from '2026-07-04 14:13:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.403286 -2.783877)', '2026-07-04 14:14:11', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40325 -2.783825)'), GeomFromEWKT('SRID=4674;POINT (-40.403286 -2.783877)'))) / (select extract(epoch from '2026-07-04 14:14:11'::timestamp) - extract(epoch from '2026-07-04 14:14:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40325 -2.783825)'), GeomFromEWKT('SRID=4674;POINT (-40.403286 -2.783877)'))) / (select extract(epoch from '2026-07-04 14:14:11'::timestamp) - extract(epoch from '2026-07-04 14:14: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'), 47817, 'SRID=4674;POINT (-40.403354 -2.783916)', '2026-07-04 14:14:17', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403286 -2.783877)'), GeomFromEWKT('SRID=4674;POINT (-40.403354 -2.783916)'))) / (select extract(epoch from '2026-07-04 14:14:17'::timestamp) - extract(epoch from '2026-07-04 14:14:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403286 -2.783877)'), GeomFromEWKT('SRID=4674;POINT (-40.403354 -2.783916)'))) / (select extract(epoch from '2026-07-04 14:14:17'::timestamp) - extract(epoch from '2026-07-04 14:14: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'), 47817, 'SRID=4674;POINT (-40.403445 -2.783898)', '2026-07-04 14:14:23', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403354 -2.783916)'), GeomFromEWKT('SRID=4674;POINT (-40.403445 -2.783898)'))) / (select extract(epoch from '2026-07-04 14:14:23'::timestamp) - extract(epoch from '2026-07-04 14:14:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403354 -2.783916)'), GeomFromEWKT('SRID=4674;POINT (-40.403445 -2.783898)'))) / (select extract(epoch from '2026-07-04 14:14:23'::timestamp) - extract(epoch from '2026-07-04 14:14: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'), 47817, 'SRID=4674;POINT (-40.403485 -2.783856)', '2026-07-04 14:14:29', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403445 -2.783898)'), GeomFromEWKT('SRID=4674;POINT (-40.403485 -2.783856)'))) / (select extract(epoch from '2026-07-04 14:14:29'::timestamp) - extract(epoch from '2026-07-04 14:14:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403445 -2.783898)'), GeomFromEWKT('SRID=4674;POINT (-40.403485 -2.783856)'))) / (select extract(epoch from '2026-07-04 14:14:29'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.403477 -2.783839)', '2026-07-04 14:14:30', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403485 -2.783856)'), GeomFromEWKT('SRID=4674;POINT (-40.403477 -2.783839)'))) / (select extract(epoch from '2026-07-04 14:14:30'::timestamp) - extract(epoch from '2026-07-04 14:14:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403485 -2.783856)'), GeomFromEWKT('SRID=4674;POINT (-40.403477 -2.783839)'))) / (select extract(epoch from '2026-07-04 14:14:30'::timestamp) - extract(epoch from '2026-07-04 14:14: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'), 47817, 'SRID=4674;POINT (-40.403453 -2.783818)', '2026-07-04 14:14:33', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403477 -2.783839)'), GeomFromEWKT('SRID=4674;POINT (-40.403453 -2.783818)'))) / (select extract(epoch from '2026-07-04 14:14:33'::timestamp) - extract(epoch from '2026-07-04 14:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403477 -2.783839)'), GeomFromEWKT('SRID=4674;POINT (-40.403453 -2.783818)'))) / (select extract(epoch from '2026-07-04 14:14:33'::timestamp) - extract(epoch from '2026-07-04 14:14:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.403421 -2.783789)', '2026-07-04 14:14:41', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403453 -2.783818)'), GeomFromEWKT('SRID=4674;POINT (-40.403421 -2.783789)'))) / (select extract(epoch from '2026-07-04 14:14:41'::timestamp) - extract(epoch from '2026-07-04 14:14:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403453 -2.783818)'), GeomFromEWKT('SRID=4674;POINT (-40.403421 -2.783789)'))) / (select extract(epoch from '2026-07-04 14:14:41'::timestamp) - extract(epoch from '2026-07-04 14:14: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'), 47817, 'SRID=4674;POINT (-40.403415 -2.783794)', '2026-07-04 14:14:49', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403421 -2.783789)'), GeomFromEWKT('SRID=4674;POINT (-40.403415 -2.783794)'))) / (select extract(epoch from '2026-07-04 14:14:49'::timestamp) - extract(epoch from '2026-07-04 14:14:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403421 -2.783789)'), GeomFromEWKT('SRID=4674;POINT (-40.403415 -2.783794)'))) / (select extract(epoch from '2026-07-04 14:14:49'::timestamp) - extract(epoch from '2026-07-04 14:14:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.403426 -2.783823)', '2026-07-04 14:14:58', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403415 -2.783794)'), GeomFromEWKT('SRID=4674;POINT (-40.403426 -2.783823)'))) / (select extract(epoch from '2026-07-04 14:14:58'::timestamp) - extract(epoch from '2026-07-04 14:14:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403415 -2.783794)'), GeomFromEWKT('SRID=4674;POINT (-40.403426 -2.783823)'))) / (select extract(epoch from '2026-07-04 14:14:58'::timestamp) - extract(epoch from '2026-07-04 14:14: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'), 47817, 'SRID=4674;POINT (-40.403468 -2.783838)', '2026-07-04 14:15:08', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403426 -2.783823)'), GeomFromEWKT('SRID=4674;POINT (-40.403468 -2.783838)'))) / (select extract(epoch from '2026-07-04 14:15:08'::timestamp) - extract(epoch from '2026-07-04 14:14:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403426 -2.783823)'), GeomFromEWKT('SRID=4674;POINT (-40.403468 -2.783838)'))) / (select extract(epoch from '2026-07-04 14:15:08'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.403469 -2.783847)', '2026-07-04 14:15:16', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403468 -2.783838)'), GeomFromEWKT('SRID=4674;POINT (-40.403469 -2.783847)'))) / (select extract(epoch from '2026-07-04 14:15:16'::timestamp) - extract(epoch from '2026-07-04 14:15:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403468 -2.783838)'), GeomFromEWKT('SRID=4674;POINT (-40.403469 -2.783847)'))) / (select extract(epoch from '2026-07-04 14:15:16'::timestamp) - extract(epoch from '2026-07-04 14:15:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.403489 -2.783821)', '2026-07-04 14:15:25', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403469 -2.783847)'), GeomFromEWKT('SRID=4674;POINT (-40.403489 -2.783821)'))) / (select extract(epoch from '2026-07-04 14:15:25'::timestamp) - extract(epoch from '2026-07-04 14:15:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403469 -2.783847)'), GeomFromEWKT('SRID=4674;POINT (-40.403489 -2.783821)'))) / (select extract(epoch from '2026-07-04 14:15:25'::timestamp) - extract(epoch from '2026-07-04 14:15:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.403506 -2.783814)', '2026-07-04 14:15:31', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403489 -2.783821)'), GeomFromEWKT('SRID=4674;POINT (-40.403506 -2.783814)'))) / (select extract(epoch from '2026-07-04 14:15:31'::timestamp) - extract(epoch from '2026-07-04 14:15:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403489 -2.783821)'), GeomFromEWKT('SRID=4674;POINT (-40.403506 -2.783814)'))) / (select extract(epoch from '2026-07-04 14:15:31'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.403517 -2.783805)', '2026-07-04 14:15:40', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403506 -2.783814)'), GeomFromEWKT('SRID=4674;POINT (-40.403517 -2.783805)'))) / (select extract(epoch from '2026-07-04 14:15:40'::timestamp) - extract(epoch from '2026-07-04 14:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403506 -2.783814)'), GeomFromEWKT('SRID=4674;POINT (-40.403517 -2.783805)'))) / (select extract(epoch from '2026-07-04 14:15:40'::timestamp) - extract(epoch from '2026-07-04 14:15:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.403574 -2.783771)', '2026-07-04 14:15:49', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403517 -2.783805)'), GeomFromEWKT('SRID=4674;POINT (-40.403574 -2.783771)'))) / (select extract(epoch from '2026-07-04 14:15:49'::timestamp) - extract(epoch from '2026-07-04 14:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403517 -2.783805)'), GeomFromEWKT('SRID=4674;POINT (-40.403574 -2.783771)'))) / (select extract(epoch from '2026-07-04 14:15:49'::timestamp) - extract(epoch from '2026-07-04 14:15: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'), 47817, 'SRID=4674;POINT (-40.403605 -2.783749)', '2026-07-04 14:15:56', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403574 -2.783771)'), GeomFromEWKT('SRID=4674;POINT (-40.403605 -2.783749)'))) / (select extract(epoch from '2026-07-04 14:15:56'::timestamp) - extract(epoch from '2026-07-04 14:15:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403574 -2.783771)'), GeomFromEWKT('SRID=4674;POINT (-40.403605 -2.783749)'))) / (select extract(epoch from '2026-07-04 14:15:56'::timestamp) - extract(epoch from '2026-07-04 14:15: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'), 47817, 'SRID=4674;POINT (-40.403645 -2.783701)', '2026-07-04 14:16:05', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403605 -2.783749)'), GeomFromEWKT('SRID=4674;POINT (-40.403645 -2.783701)'))) / (select extract(epoch from '2026-07-04 14:16:05'::timestamp) - extract(epoch from '2026-07-04 14:15:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403605 -2.783749)'), GeomFromEWKT('SRID=4674;POINT (-40.403645 -2.783701)'))) / (select extract(epoch from '2026-07-04 14:16:05'::timestamp) - extract(epoch from '2026-07-04 14:15: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'), 47817, 'SRID=4674;POINT (-40.403648 -2.783683)', '2026-07-04 14:16:07', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403645 -2.783701)'), GeomFromEWKT('SRID=4674;POINT (-40.403648 -2.783683)'))) / (select extract(epoch from '2026-07-04 14:16:07'::timestamp) - extract(epoch from '2026-07-04 14:16:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403645 -2.783701)'), GeomFromEWKT('SRID=4674;POINT (-40.403648 -2.783683)'))) / (select extract(epoch from '2026-07-04 14:16:07'::timestamp) - extract(epoch from '2026-07-04 14:16: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'), 47817, 'SRID=4674;POINT (-40.40361 -2.783616)', '2026-07-04 14:16:13', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403648 -2.783683)'), GeomFromEWKT('SRID=4674;POINT (-40.40361 -2.783616)'))) / (select extract(epoch from '2026-07-04 14:16:13'::timestamp) - extract(epoch from '2026-07-04 14:16:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403648 -2.783683)'), GeomFromEWKT('SRID=4674;POINT (-40.40361 -2.783616)'))) / (select extract(epoch from '2026-07-04 14:16:13'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.403532 -2.783572)', '2026-07-04 14:16:21', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40361 -2.783616)'), GeomFromEWKT('SRID=4674;POINT (-40.403532 -2.783572)'))) / (select extract(epoch from '2026-07-04 14:16:21'::timestamp) - extract(epoch from '2026-07-04 14:16:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40361 -2.783616)'), GeomFromEWKT('SRID=4674;POINT (-40.403532 -2.783572)'))) / (select extract(epoch from '2026-07-04 14:16:21'::timestamp) - extract(epoch from '2026-07-04 14:16: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'), 47817, 'SRID=4674;POINT (-40.403453 -2.783563)', '2026-07-04 14:16:27', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403532 -2.783572)'), GeomFromEWKT('SRID=4674;POINT (-40.403453 -2.783563)'))) / (select extract(epoch from '2026-07-04 14:16:27'::timestamp) - extract(epoch from '2026-07-04 14:16:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403532 -2.783572)'), GeomFromEWKT('SRID=4674;POINT (-40.403453 -2.783563)'))) / (select extract(epoch from '2026-07-04 14:16:27'::timestamp) - extract(epoch from '2026-07-04 14:16: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'), 47817, 'SRID=4674;POINT (-40.403417 -2.783629)', '2026-07-04 14:16:32', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403453 -2.783563)'), GeomFromEWKT('SRID=4674;POINT (-40.403417 -2.783629)'))) / (select extract(epoch from '2026-07-04 14:16:32'::timestamp) - extract(epoch from '2026-07-04 14:16:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403453 -2.783563)'), GeomFromEWKT('SRID=4674;POINT (-40.403417 -2.783629)'))) / (select extract(epoch from '2026-07-04 14:16:32'::timestamp) - extract(epoch from '2026-07-04 14:16: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'), 47817, 'SRID=4674;POINT (-40.403331 -2.783762)', '2026-07-04 14:16:40', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403417 -2.783629)'), GeomFromEWKT('SRID=4674;POINT (-40.403331 -2.783762)'))) / (select extract(epoch from '2026-07-04 14:16:40'::timestamp) - extract(epoch from '2026-07-04 14:16:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403417 -2.783629)'), GeomFromEWKT('SRID=4674;POINT (-40.403331 -2.783762)'))) / (select extract(epoch from '2026-07-04 14:16:40'::timestamp) - extract(epoch from '2026-07-04 14:16: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'), 47817, 'SRID=4674;POINT (-40.403252 -2.783875)', '2026-07-04 14:16:47', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403331 -2.783762)'), GeomFromEWKT('SRID=4674;POINT (-40.403252 -2.783875)'))) / (select extract(epoch from '2026-07-04 14:16:47'::timestamp) - extract(epoch from '2026-07-04 14:16:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403331 -2.783762)'), GeomFromEWKT('SRID=4674;POINT (-40.403252 -2.783875)'))) / (select extract(epoch from '2026-07-04 14:16:47'::timestamp) - extract(epoch from '2026-07-04 14:16: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'), 47817, 'SRID=4674;POINT (-40.40319 -2.783926)', '2026-07-04 14:16:53', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403252 -2.783875)'), GeomFromEWKT('SRID=4674;POINT (-40.40319 -2.783926)'))) / (select extract(epoch from '2026-07-04 14:16:53'::timestamp) - extract(epoch from '2026-07-04 14:16:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403252 -2.783875)'), GeomFromEWKT('SRID=4674;POINT (-40.40319 -2.783926)'))) / (select extract(epoch from '2026-07-04 14:16:53'::timestamp) - extract(epoch from '2026-07-04 14:16: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'), 47817, 'SRID=4674;POINT (-40.403102 -2.783992)', '2026-07-04 14:17:01', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40319 -2.783926)'), GeomFromEWKT('SRID=4674;POINT (-40.403102 -2.783992)'))) / (select extract(epoch from '2026-07-04 14:17:01'::timestamp) - extract(epoch from '2026-07-04 14:16:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40319 -2.783926)'), GeomFromEWKT('SRID=4674;POINT (-40.403102 -2.783992)'))) / (select extract(epoch from '2026-07-04 14:17:01'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.403051 -2.784041)', '2026-07-04 14:17:07', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403102 -2.783992)'), GeomFromEWKT('SRID=4674;POINT (-40.403051 -2.784041)'))) / (select extract(epoch from '2026-07-04 14:17:07'::timestamp) - extract(epoch from '2026-07-04 14:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403102 -2.783992)'), GeomFromEWKT('SRID=4674;POINT (-40.403051 -2.784041)'))) / (select extract(epoch from '2026-07-04 14:17:07'::timestamp) - extract(epoch from '2026-07-04 14:17: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'), 47817, 'SRID=4674;POINT (-40.402978 -2.784128)', '2026-07-04 14:17:14', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403051 -2.784041)'), GeomFromEWKT('SRID=4674;POINT (-40.402978 -2.784128)'))) / (select extract(epoch from '2026-07-04 14:17:14'::timestamp) - extract(epoch from '2026-07-04 14:17:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403051 -2.784041)'), GeomFromEWKT('SRID=4674;POINT (-40.402978 -2.784128)'))) / (select extract(epoch from '2026-07-04 14:17:14'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.402909 -2.784225)', '2026-07-04 14:17:20', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402978 -2.784128)'), GeomFromEWKT('SRID=4674;POINT (-40.402909 -2.784225)'))) / (select extract(epoch from '2026-07-04 14:17:20'::timestamp) - extract(epoch from '2026-07-04 14:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402978 -2.784128)'), GeomFromEWKT('SRID=4674;POINT (-40.402909 -2.784225)'))) / (select extract(epoch from '2026-07-04 14:17:20'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.402814 -2.784305)', '2026-07-04 14:17:27', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402909 -2.784225)'), GeomFromEWKT('SRID=4674;POINT (-40.402814 -2.784305)'))) / (select extract(epoch from '2026-07-04 14:17:27'::timestamp) - extract(epoch from '2026-07-04 14:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402909 -2.784225)'), GeomFromEWKT('SRID=4674;POINT (-40.402814 -2.784305)'))) / (select extract(epoch from '2026-07-04 14:17:27'::timestamp) - extract(epoch from '2026-07-04 14:17: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'), 47817, 'SRID=4674;POINT (-40.402755 -2.784398)', '2026-07-04 14:17:33', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402814 -2.784305)'), GeomFromEWKT('SRID=4674;POINT (-40.402755 -2.784398)'))) / (select extract(epoch from '2026-07-04 14:17:33'::timestamp) - extract(epoch from '2026-07-04 14:17:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402814 -2.784305)'), GeomFromEWKT('SRID=4674;POINT (-40.402755 -2.784398)'))) / (select extract(epoch from '2026-07-04 14:17:33'::timestamp) - extract(epoch from '2026-07-04 14:17: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'), 47817, 'SRID=4674;POINT (-40.402695 -2.78447)', '2026-07-04 14:17:40', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402755 -2.784398)'), GeomFromEWKT('SRID=4674;POINT (-40.402695 -2.78447)'))) / (select extract(epoch from '2026-07-04 14:17:40'::timestamp) - extract(epoch from '2026-07-04 14:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402755 -2.784398)'), GeomFromEWKT('SRID=4674;POINT (-40.402695 -2.78447)'))) / (select extract(epoch from '2026-07-04 14:17:40'::timestamp) - extract(epoch from '2026-07-04 14:17:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.402642 -2.784538)', '2026-07-04 14:17:46', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402695 -2.78447)'), GeomFromEWKT('SRID=4674;POINT (-40.402642 -2.784538)'))) / (select extract(epoch from '2026-07-04 14:17:46'::timestamp) - extract(epoch from '2026-07-04 14:17:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402695 -2.78447)'), GeomFromEWKT('SRID=4674;POINT (-40.402642 -2.784538)'))) / (select extract(epoch from '2026-07-04 14:17:46'::timestamp) - extract(epoch from '2026-07-04 14:17: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'), 47817, 'SRID=4674;POINT (-40.40259 -2.784637)', '2026-07-04 14:17:53', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402642 -2.784538)'), GeomFromEWKT('SRID=4674;POINT (-40.40259 -2.784637)'))) / (select extract(epoch from '2026-07-04 14:17:53'::timestamp) - extract(epoch from '2026-07-04 14:17:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402642 -2.784538)'), GeomFromEWKT('SRID=4674;POINT (-40.40259 -2.784637)'))) / (select extract(epoch from '2026-07-04 14:17:53'::timestamp) - extract(epoch from '2026-07-04 14:17: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'), 47817, 'SRID=4674;POINT (-40.402531 -2.784756)', '2026-07-04 14:18:00', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40259 -2.784637)'), GeomFromEWKT('SRID=4674;POINT (-40.402531 -2.784756)'))) / (select extract(epoch from '2026-07-04 14:18:00'::timestamp) - extract(epoch from '2026-07-04 14:17:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40259 -2.784637)'), GeomFromEWKT('SRID=4674;POINT (-40.402531 -2.784756)'))) / (select extract(epoch from '2026-07-04 14:18:00'::timestamp) - extract(epoch from '2026-07-04 14:17: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'), 47817, 'SRID=4674;POINT (-40.402453 -2.784807)', '2026-07-04 14:18:06', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402531 -2.784756)'), GeomFromEWKT('SRID=4674;POINT (-40.402453 -2.784807)'))) / (select extract(epoch from '2026-07-04 14:18:06'::timestamp) - extract(epoch from '2026-07-04 14:18:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402531 -2.784756)'), GeomFromEWKT('SRID=4674;POINT (-40.402453 -2.784807)'))) / (select extract(epoch from '2026-07-04 14:18:06'::timestamp) - extract(epoch from '2026-07-04 14:18: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'), 47817, 'SRID=4674;POINT (-40.402397 -2.784853)', '2026-07-04 14:18:13', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402453 -2.784807)'), GeomFromEWKT('SRID=4674;POINT (-40.402397 -2.784853)'))) / (select extract(epoch from '2026-07-04 14:18:13'::timestamp) - extract(epoch from '2026-07-04 14:18:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402453 -2.784807)'), GeomFromEWKT('SRID=4674;POINT (-40.402397 -2.784853)'))) / (select extract(epoch from '2026-07-04 14:18:13'::timestamp) - extract(epoch from '2026-07-04 14:18:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.402318 -2.784801)', '2026-07-04 14:18:19', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402397 -2.784853)'), GeomFromEWKT('SRID=4674;POINT (-40.402318 -2.784801)'))) / (select extract(epoch from '2026-07-04 14:18:19'::timestamp) - extract(epoch from '2026-07-04 14:18:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402397 -2.784853)'), GeomFromEWKT('SRID=4674;POINT (-40.402318 -2.784801)'))) / (select extract(epoch from '2026-07-04 14:18:19'::timestamp) - extract(epoch from '2026-07-04 14:18: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'), 47817, 'SRID=4674;POINT (-40.402214 -2.784692)', '2026-07-04 14:18:26', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402318 -2.784801)'), GeomFromEWKT('SRID=4674;POINT (-40.402214 -2.784692)'))) / (select extract(epoch from '2026-07-04 14:18:26'::timestamp) - extract(epoch from '2026-07-04 14:18:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402318 -2.784801)'), GeomFromEWKT('SRID=4674;POINT (-40.402214 -2.784692)'))) / (select extract(epoch from '2026-07-04 14:18:26'::timestamp) - extract(epoch from '2026-07-04 14:18: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'), 47817, 'SRID=4674;POINT (-40.402129 -2.784645)', '2026-07-04 14:18:33', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402214 -2.784692)'), GeomFromEWKT('SRID=4674;POINT (-40.402129 -2.784645)'))) / (select extract(epoch from '2026-07-04 14:18:33'::timestamp) - extract(epoch from '2026-07-04 14:18:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402214 -2.784692)'), GeomFromEWKT('SRID=4674;POINT (-40.402129 -2.784645)'))) / (select extract(epoch from '2026-07-04 14:18:33'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.402018 -2.784628)', '2026-07-04 14:18:41', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402129 -2.784645)'), GeomFromEWKT('SRID=4674;POINT (-40.402018 -2.784628)'))) / (select extract(epoch from '2026-07-04 14:18:41'::timestamp) - extract(epoch from '2026-07-04 14:18:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402129 -2.784645)'), GeomFromEWKT('SRID=4674;POINT (-40.402018 -2.784628)'))) / (select extract(epoch from '2026-07-04 14:18:41'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.401998 -2.784648)', '2026-07-04 14:18:44', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402018 -2.784628)'), GeomFromEWKT('SRID=4674;POINT (-40.401998 -2.784648)'))) / (select extract(epoch from '2026-07-04 14:18:44'::timestamp) - extract(epoch from '2026-07-04 14:18:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402018 -2.784628)'), GeomFromEWKT('SRID=4674;POINT (-40.401998 -2.784648)'))) / (select extract(epoch from '2026-07-04 14:18:44'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.401942 -2.784683)', '2026-07-04 14:18:49', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401998 -2.784648)'), GeomFromEWKT('SRID=4674;POINT (-40.401942 -2.784683)'))) / (select extract(epoch from '2026-07-04 14:18:49'::timestamp) - extract(epoch from '2026-07-04 14:18:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401998 -2.784648)'), GeomFromEWKT('SRID=4674;POINT (-40.401942 -2.784683)'))) / (select extract(epoch from '2026-07-04 14:18:49'::timestamp) - extract(epoch from '2026-07-04 14:18:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.401829 -2.784762)', '2026-07-04 14:18:58', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401942 -2.784683)'), GeomFromEWKT('SRID=4674;POINT (-40.401829 -2.784762)'))) / (select extract(epoch from '2026-07-04 14:18:58'::timestamp) - extract(epoch from '2026-07-04 14:18:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401942 -2.784683)'), GeomFromEWKT('SRID=4674;POINT (-40.401829 -2.784762)'))) / (select extract(epoch from '2026-07-04 14:18:58'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.401716 -2.784841)', '2026-07-04 14:19:06', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401829 -2.784762)'), GeomFromEWKT('SRID=4674;POINT (-40.401716 -2.784841)'))) / (select extract(epoch from '2026-07-04 14:19:06'::timestamp) - extract(epoch from '2026-07-04 14:18:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401829 -2.784762)'), GeomFromEWKT('SRID=4674;POINT (-40.401716 -2.784841)'))) / (select extract(epoch from '2026-07-04 14:19:06'::timestamp) - extract(epoch from '2026-07-04 14:18: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'), 47817, 'SRID=4674;POINT (-40.401606 -2.784923)', '2026-07-04 14:19:14', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401716 -2.784841)'), GeomFromEWKT('SRID=4674;POINT (-40.401606 -2.784923)'))) / (select extract(epoch from '2026-07-04 14:19:14'::timestamp) - extract(epoch from '2026-07-04 14:19:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401716 -2.784841)'), GeomFromEWKT('SRID=4674;POINT (-40.401606 -2.784923)'))) / (select extract(epoch from '2026-07-04 14:19:14'::timestamp) - extract(epoch from '2026-07-04 14:19:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.401558 -2.785017)', '2026-07-04 14:19:22', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401606 -2.784923)'), GeomFromEWKT('SRID=4674;POINT (-40.401558 -2.785017)'))) / (select extract(epoch from '2026-07-04 14:19:22'::timestamp) - extract(epoch from '2026-07-04 14:19:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401606 -2.784923)'), GeomFromEWKT('SRID=4674;POINT (-40.401558 -2.785017)'))) / (select extract(epoch from '2026-07-04 14:19:22'::timestamp) - extract(epoch from '2026-07-04 14:19: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'), 47817, 'SRID=4674;POINT (-40.401493 -2.785113)', '2026-07-04 14:19:30', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401558 -2.785017)'), GeomFromEWKT('SRID=4674;POINT (-40.401493 -2.785113)'))) / (select extract(epoch from '2026-07-04 14:19:30'::timestamp) - extract(epoch from '2026-07-04 14:19:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401558 -2.785017)'), GeomFromEWKT('SRID=4674;POINT (-40.401493 -2.785113)'))) / (select extract(epoch from '2026-07-04 14:19:30'::timestamp) - extract(epoch from '2026-07-04 14:19: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'), 47817, 'SRID=4674;POINT (-40.401429 -2.78517)', '2026-07-04 14:19:36', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401493 -2.785113)'), GeomFromEWKT('SRID=4674;POINT (-40.401429 -2.78517)'))) / (select extract(epoch from '2026-07-04 14:19:36'::timestamp) - extract(epoch from '2026-07-04 14:19:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401493 -2.785113)'), GeomFromEWKT('SRID=4674;POINT (-40.401429 -2.78517)'))) / (select extract(epoch from '2026-07-04 14:19:36'::timestamp) - extract(epoch from '2026-07-04 14:19: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'), 47817, 'SRID=4674;POINT (-40.401314 -2.785222)', '2026-07-04 14:19:43', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401429 -2.78517)'), GeomFromEWKT('SRID=4674;POINT (-40.401314 -2.785222)'))) / (select extract(epoch from '2026-07-04 14:19:43'::timestamp) - extract(epoch from '2026-07-04 14:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401429 -2.78517)'), GeomFromEWKT('SRID=4674;POINT (-40.401314 -2.785222)'))) / (select extract(epoch from '2026-07-04 14:19:43'::timestamp) - extract(epoch from '2026-07-04 14:19: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'), 47817, 'SRID=4674;POINT (-40.40119 -2.785317)', '2026-07-04 14:19:53', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401314 -2.785222)'), GeomFromEWKT('SRID=4674;POINT (-40.40119 -2.785317)'))) / (select extract(epoch from '2026-07-04 14:19:53'::timestamp) - extract(epoch from '2026-07-04 14:19:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401314 -2.785222)'), GeomFromEWKT('SRID=4674;POINT (-40.40119 -2.785317)'))) / (select extract(epoch from '2026-07-04 14:19:53'::timestamp) - extract(epoch from '2026-07-04 14:19: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'), 47817, 'SRID=4674;POINT (-40.401114 -2.785369)', '2026-07-04 14:20:00', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40119 -2.785317)'), GeomFromEWKT('SRID=4674;POINT (-40.401114 -2.785369)'))) / (select extract(epoch from '2026-07-04 14:20:00'::timestamp) - extract(epoch from '2026-07-04 14:19:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40119 -2.785317)'), GeomFromEWKT('SRID=4674;POINT (-40.401114 -2.785369)'))) / (select extract(epoch from '2026-07-04 14:20:00'::timestamp) - extract(epoch from '2026-07-04 14:19: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'), 47817, 'SRID=4674;POINT (-40.401 -2.78545)', '2026-07-04 14:20:08', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401114 -2.785369)'), GeomFromEWKT('SRID=4674;POINT (-40.401 -2.78545)'))) / (select extract(epoch from '2026-07-04 14:20:08'::timestamp) - extract(epoch from '2026-07-04 14:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401114 -2.785369)'), GeomFromEWKT('SRID=4674;POINT (-40.401 -2.78545)'))) / (select extract(epoch from '2026-07-04 14:20:08'::timestamp) - extract(epoch from '2026-07-04 14:20: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'), 47817, 'SRID=4674;POINT (-40.400867 -2.785524)', '2026-07-04 14:20:17', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401 -2.78545)'), GeomFromEWKT('SRID=4674;POINT (-40.400867 -2.785524)'))) / (select extract(epoch from '2026-07-04 14:20:17'::timestamp) - extract(epoch from '2026-07-04 14:20:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401 -2.78545)'), GeomFromEWKT('SRID=4674;POINT (-40.400867 -2.785524)'))) / (select extract(epoch from '2026-07-04 14:20:17'::timestamp) - extract(epoch from '2026-07-04 14:20: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'), 47817, 'SRID=4674;POINT (-40.400775 -2.785589)', '2026-07-04 14:20:25', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400867 -2.785524)'), GeomFromEWKT('SRID=4674;POINT (-40.400775 -2.785589)'))) / (select extract(epoch from '2026-07-04 14:20:25'::timestamp) - extract(epoch from '2026-07-04 14:20:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400867 -2.785524)'), GeomFromEWKT('SRID=4674;POINT (-40.400775 -2.785589)'))) / (select extract(epoch from '2026-07-04 14:20:25'::timestamp) - extract(epoch from '2026-07-04 14:20: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'), 47817, 'SRID=4674;POINT (-40.400709 -2.785671)', '2026-07-04 14:20:34', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400775 -2.785589)'), GeomFromEWKT('SRID=4674;POINT (-40.400709 -2.785671)'))) / (select extract(epoch from '2026-07-04 14:20:34'::timestamp) - extract(epoch from '2026-07-04 14:20:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400775 -2.785589)'), GeomFromEWKT('SRID=4674;POINT (-40.400709 -2.785671)'))) / (select extract(epoch from '2026-07-04 14:20:34'::timestamp) - extract(epoch from '2026-07-04 14:20: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'), 47817, 'SRID=4674;POINT (-40.400645 -2.785745)', '2026-07-04 14:20:41', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400709 -2.785671)'), GeomFromEWKT('SRID=4674;POINT (-40.400645 -2.785745)'))) / (select extract(epoch from '2026-07-04 14:20:41'::timestamp) - extract(epoch from '2026-07-04 14:20:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400709 -2.785671)'), GeomFromEWKT('SRID=4674;POINT (-40.400645 -2.785745)'))) / (select extract(epoch from '2026-07-04 14:20:41'::timestamp) - extract(epoch from '2026-07-04 14:20: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'), 47817, 'SRID=4674;POINT (-40.400583 -2.785824)', '2026-07-04 14:20:48', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400645 -2.785745)'), GeomFromEWKT('SRID=4674;POINT (-40.400583 -2.785824)'))) / (select extract(epoch from '2026-07-04 14:20:48'::timestamp) - extract(epoch from '2026-07-04 14:20:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400645 -2.785745)'), GeomFromEWKT('SRID=4674;POINT (-40.400583 -2.785824)'))) / (select extract(epoch from '2026-07-04 14:20:48'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.400505 -2.785894)', '2026-07-04 14:20:54', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400583 -2.785824)'), GeomFromEWKT('SRID=4674;POINT (-40.400505 -2.785894)'))) / (select extract(epoch from '2026-07-04 14:20:54'::timestamp) - extract(epoch from '2026-07-04 14:20:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400583 -2.785824)'), GeomFromEWKT('SRID=4674;POINT (-40.400505 -2.785894)'))) / (select extract(epoch from '2026-07-04 14:20:54'::timestamp) - extract(epoch from '2026-07-04 14:20:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.400379 -2.785969)', '2026-07-04 14:21:02', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400505 -2.785894)'), GeomFromEWKT('SRID=4674;POINT (-40.400379 -2.785969)'))) / (select extract(epoch from '2026-07-04 14:21:02'::timestamp) - extract(epoch from '2026-07-04 14:20:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400505 -2.785894)'), GeomFromEWKT('SRID=4674;POINT (-40.400379 -2.785969)'))) / (select extract(epoch from '2026-07-04 14:21:02'::timestamp) - extract(epoch from '2026-07-04 14:20: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'), 47817, 'SRID=4674;POINT (-40.40026 -2.786077)', '2026-07-04 14:21:10', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400379 -2.785969)'), GeomFromEWKT('SRID=4674;POINT (-40.40026 -2.786077)'))) / (select extract(epoch from '2026-07-04 14:21:10'::timestamp) - extract(epoch from '2026-07-04 14:21:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400379 -2.785969)'), GeomFromEWKT('SRID=4674;POINT (-40.40026 -2.786077)'))) / (select extract(epoch from '2026-07-04 14:21:10'::timestamp) - extract(epoch from '2026-07-04 14:21: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'), 47817, 'SRID=4674;POINT (-40.400177 -2.786183)', '2026-07-04 14:21:18', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40026 -2.786077)'), GeomFromEWKT('SRID=4674;POINT (-40.400177 -2.786183)'))) / (select extract(epoch from '2026-07-04 14:21:18'::timestamp) - extract(epoch from '2026-07-04 14:21:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40026 -2.786077)'), GeomFromEWKT('SRID=4674;POINT (-40.400177 -2.786183)'))) / (select extract(epoch from '2026-07-04 14:21:18'::timestamp) - extract(epoch from '2026-07-04 14:21: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'), 47817, 'SRID=4674;POINT (-40.400141 -2.786274)', '2026-07-04 14:21:24', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400177 -2.786183)'), GeomFromEWKT('SRID=4674;POINT (-40.400141 -2.786274)'))) / (select extract(epoch from '2026-07-04 14:21:24'::timestamp) - extract(epoch from '2026-07-04 14:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400177 -2.786183)'), GeomFromEWKT('SRID=4674;POINT (-40.400141 -2.786274)'))) / (select extract(epoch from '2026-07-04 14:21:24'::timestamp) - extract(epoch from '2026-07-04 14:21:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.400066 -2.786399)', '2026-07-04 14:21:31', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400141 -2.786274)'), GeomFromEWKT('SRID=4674;POINT (-40.400066 -2.786399)'))) / (select extract(epoch from '2026-07-04 14:21:31'::timestamp) - extract(epoch from '2026-07-04 14:21:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400141 -2.786274)'), GeomFromEWKT('SRID=4674;POINT (-40.400066 -2.786399)'))) / (select extract(epoch from '2026-07-04 14:21:31'::timestamp) - extract(epoch from '2026-07-04 14:21: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'), 47817, 'SRID=4674;POINT (-40.399964 -2.786448)', '2026-07-04 14:21:38', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400066 -2.786399)'), GeomFromEWKT('SRID=4674;POINT (-40.399964 -2.786448)'))) / (select extract(epoch from '2026-07-04 14:21:38'::timestamp) - extract(epoch from '2026-07-04 14:21:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400066 -2.786399)'), GeomFromEWKT('SRID=4674;POINT (-40.399964 -2.786448)'))) / (select extract(epoch from '2026-07-04 14:21:38'::timestamp) - extract(epoch from '2026-07-04 14:21: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'), 47817, 'SRID=4674;POINT (-40.39986 -2.786481)', '2026-07-04 14:21:44', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399964 -2.786448)'), GeomFromEWKT('SRID=4674;POINT (-40.39986 -2.786481)'))) / (select extract(epoch from '2026-07-04 14:21:44'::timestamp) - extract(epoch from '2026-07-04 14:21:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399964 -2.786448)'), GeomFromEWKT('SRID=4674;POINT (-40.39986 -2.786481)'))) / (select extract(epoch from '2026-07-04 14:21:44'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.399793 -2.786547)', '2026-07-04 14:21:50', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39986 -2.786481)'), GeomFromEWKT('SRID=4674;POINT (-40.399793 -2.786547)'))) / (select extract(epoch from '2026-07-04 14:21:50'::timestamp) - extract(epoch from '2026-07-04 14:21:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39986 -2.786481)'), GeomFromEWKT('SRID=4674;POINT (-40.399793 -2.786547)'))) / (select extract(epoch from '2026-07-04 14:21:50'::timestamp) - extract(epoch from '2026-07-04 14:21: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'), 47817, 'SRID=4674;POINT (-40.399735 -2.786615)', '2026-07-04 14:21:58', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399793 -2.786547)'), GeomFromEWKT('SRID=4674;POINT (-40.399735 -2.786615)'))) / (select extract(epoch from '2026-07-04 14:21:58'::timestamp) - extract(epoch from '2026-07-04 14:21:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399793 -2.786547)'), GeomFromEWKT('SRID=4674;POINT (-40.399735 -2.786615)'))) / (select extract(epoch from '2026-07-04 14:21:58'::timestamp) - extract(epoch from '2026-07-04 14:21:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399692 -2.78667)', '2026-07-04 14:22:04', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399735 -2.786615)'), GeomFromEWKT('SRID=4674;POINT (-40.399692 -2.78667)'))) / (select extract(epoch from '2026-07-04 14:22:04'::timestamp) - extract(epoch from '2026-07-04 14:21:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399735 -2.786615)'), GeomFromEWKT('SRID=4674;POINT (-40.399692 -2.78667)'))) / (select extract(epoch from '2026-07-04 14:22:04'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.399694 -2.786685)', '2026-07-04 14:22:05', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399692 -2.78667)'), GeomFromEWKT('SRID=4674;POINT (-40.399694 -2.786685)'))) / (select extract(epoch from '2026-07-04 14:22:05'::timestamp) - extract(epoch from '2026-07-04 14:22:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399692 -2.78667)'), GeomFromEWKT('SRID=4674;POINT (-40.399694 -2.786685)'))) / (select extract(epoch from '2026-07-04 14:22:05'::timestamp) - extract(epoch from '2026-07-04 14:22:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399683 -2.786768)', '2026-07-04 14:22:12', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399694 -2.786685)'), GeomFromEWKT('SRID=4674;POINT (-40.399683 -2.786768)'))) / (select extract(epoch from '2026-07-04 14:22:12'::timestamp) - extract(epoch from '2026-07-04 14:22:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399694 -2.786685)'), GeomFromEWKT('SRID=4674;POINT (-40.399683 -2.786768)'))) / (select extract(epoch from '2026-07-04 14:22:12'::timestamp) - extract(epoch from '2026-07-04 14:22: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'), 47817, 'SRID=4674;POINT (-40.399645 -2.786796)', '2026-07-04 14:22:19', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399683 -2.786768)'), GeomFromEWKT('SRID=4674;POINT (-40.399645 -2.786796)'))) / (select extract(epoch from '2026-07-04 14:22:19'::timestamp) - extract(epoch from '2026-07-04 14:22:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399683 -2.786768)'), GeomFromEWKT('SRID=4674;POINT (-40.399645 -2.786796)'))) / (select extract(epoch from '2026-07-04 14:22:19'::timestamp) - extract(epoch from '2026-07-04 14:22: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'), 47817, 'SRID=4674;POINT (-40.39964 -2.786825)', '2026-07-04 14:22:26', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399645 -2.786796)'), GeomFromEWKT('SRID=4674;POINT (-40.39964 -2.786825)'))) / (select extract(epoch from '2026-07-04 14:22:26'::timestamp) - extract(epoch from '2026-07-04 14:22:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399645 -2.786796)'), GeomFromEWKT('SRID=4674;POINT (-40.39964 -2.786825)'))) / (select extract(epoch from '2026-07-04 14:22:26'::timestamp) - extract(epoch from '2026-07-04 14:22: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'), 47817, 'SRID=4674;POINT (-40.399648 -2.786873)', '2026-07-04 14:22:33', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39964 -2.786825)'), GeomFromEWKT('SRID=4674;POINT (-40.399648 -2.786873)'))) / (select extract(epoch from '2026-07-04 14:22:33'::timestamp) - extract(epoch from '2026-07-04 14:22:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39964 -2.786825)'), GeomFromEWKT('SRID=4674;POINT (-40.399648 -2.786873)'))) / (select extract(epoch from '2026-07-04 14:22:33'::timestamp) - extract(epoch from '2026-07-04 14:22:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399663 -2.786899)', '2026-07-04 14:22:36', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399648 -2.786873)'), GeomFromEWKT('SRID=4674;POINT (-40.399663 -2.786899)'))) / (select extract(epoch from '2026-07-04 14:22:36'::timestamp) - extract(epoch from '2026-07-04 14:22:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399648 -2.786873)'), GeomFromEWKT('SRID=4674;POINT (-40.399663 -2.786899)'))) / (select extract(epoch from '2026-07-04 14:22:36'::timestamp) - extract(epoch from '2026-07-04 14:22:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399688 -2.786917)', '2026-07-04 14:22:40', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399663 -2.786899)'), GeomFromEWKT('SRID=4674;POINT (-40.399688 -2.786917)'))) / (select extract(epoch from '2026-07-04 14:22:40'::timestamp) - extract(epoch from '2026-07-04 14:22:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399663 -2.786899)'), GeomFromEWKT('SRID=4674;POINT (-40.399688 -2.786917)'))) / (select extract(epoch from '2026-07-04 14:22:40'::timestamp) - extract(epoch from '2026-07-04 14:22:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399756 -2.786959)', '2026-07-04 14:22:47', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399688 -2.786917)'), GeomFromEWKT('SRID=4674;POINT (-40.399756 -2.786959)'))) / (select extract(epoch from '2026-07-04 14:22:47'::timestamp) - extract(epoch from '2026-07-04 14:22:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399688 -2.786917)'), GeomFromEWKT('SRID=4674;POINT (-40.399756 -2.786959)'))) / (select extract(epoch from '2026-07-04 14:22:47'::timestamp) - extract(epoch from '2026-07-04 14:22:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399843 -2.786964)', '2026-07-04 14:22:56', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399756 -2.786959)'), GeomFromEWKT('SRID=4674;POINT (-40.399843 -2.786964)'))) / (select extract(epoch from '2026-07-04 14:22:56'::timestamp) - extract(epoch from '2026-07-04 14:22:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399756 -2.786959)'), GeomFromEWKT('SRID=4674;POINT (-40.399843 -2.786964)'))) / (select extract(epoch from '2026-07-04 14:22:56'::timestamp) - extract(epoch from '2026-07-04 14:22: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'), 47817, 'SRID=4674;POINT (-40.399912 -2.786904)', '2026-07-04 14:23:04', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399843 -2.786964)'), GeomFromEWKT('SRID=4674;POINT (-40.399912 -2.786904)'))) / (select extract(epoch from '2026-07-04 14:23:04'::timestamp) - extract(epoch from '2026-07-04 14:22:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399843 -2.786964)'), GeomFromEWKT('SRID=4674;POINT (-40.399912 -2.786904)'))) / (select extract(epoch from '2026-07-04 14:23:04'::timestamp) - extract(epoch from '2026-07-04 14:22: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'), 47817, 'SRID=4674;POINT (-40.399919 -2.78688)', '2026-07-04 14:23:06', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399912 -2.786904)'), GeomFromEWKT('SRID=4674;POINT (-40.399919 -2.78688)'))) / (select extract(epoch from '2026-07-04 14:23:06'::timestamp) - extract(epoch from '2026-07-04 14:23:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399912 -2.786904)'), GeomFromEWKT('SRID=4674;POINT (-40.399919 -2.78688)'))) / (select extract(epoch from '2026-07-04 14:23:06'::timestamp) - extract(epoch from '2026-07-04 14:23:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399932 -2.786831)', '2026-07-04 14:23:12', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399919 -2.78688)'), GeomFromEWKT('SRID=4674;POINT (-40.399932 -2.786831)'))) / (select extract(epoch from '2026-07-04 14:23:12'::timestamp) - extract(epoch from '2026-07-04 14:23:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399919 -2.78688)'), GeomFromEWKT('SRID=4674;POINT (-40.399932 -2.786831)'))) / (select extract(epoch from '2026-07-04 14:23:12'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.399849 -2.786767)', '2026-07-04 14:23:20', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399932 -2.786831)'), GeomFromEWKT('SRID=4674;POINT (-40.399849 -2.786767)'))) / (select extract(epoch from '2026-07-04 14:23:20'::timestamp) - extract(epoch from '2026-07-04 14:23:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399932 -2.786831)'), GeomFromEWKT('SRID=4674;POINT (-40.399849 -2.786767)'))) / (select extract(epoch from '2026-07-04 14:23:20'::timestamp) - extract(epoch from '2026-07-04 14:23:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399818 -2.786782)', '2026-07-04 14:23:27', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399849 -2.786767)'), GeomFromEWKT('SRID=4674;POINT (-40.399818 -2.786782)'))) / (select extract(epoch from '2026-07-04 14:23:27'::timestamp) - extract(epoch from '2026-07-04 14:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399849 -2.786767)'), GeomFromEWKT('SRID=4674;POINT (-40.399818 -2.786782)'))) / (select extract(epoch from '2026-07-04 14:23:27'::timestamp) - extract(epoch from '2026-07-04 14:23:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399867 -2.786769)', '2026-07-04 14:24:00', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399818 -2.786782)'), GeomFromEWKT('SRID=4674;POINT (-40.399867 -2.786769)'))) / (select extract(epoch from '2026-07-04 14:24:00'::timestamp) - extract(epoch from '2026-07-04 14:23:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399818 -2.786782)'), GeomFromEWKT('SRID=4674;POINT (-40.399867 -2.786769)'))) / (select extract(epoch from '2026-07-04 14:24:00'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.399896 -2.786768)', '2026-07-04 14:24:07', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399867 -2.786769)'), GeomFromEWKT('SRID=4674;POINT (-40.399896 -2.786768)'))) / (select extract(epoch from '2026-07-04 14:24:07'::timestamp) - extract(epoch from '2026-07-04 14:24:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399867 -2.786769)'), GeomFromEWKT('SRID=4674;POINT (-40.399896 -2.786768)'))) / (select extract(epoch from '2026-07-04 14:24:07'::timestamp) - extract(epoch from '2026-07-04 14:24:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399922 -2.786747)', '2026-07-04 14:24:15', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399896 -2.786768)'), GeomFromEWKT('SRID=4674;POINT (-40.399922 -2.786747)'))) / (select extract(epoch from '2026-07-04 14:24:15'::timestamp) - extract(epoch from '2026-07-04 14:24:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399896 -2.786768)'), GeomFromEWKT('SRID=4674;POINT (-40.399922 -2.786747)'))) / (select extract(epoch from '2026-07-04 14:24:15'::timestamp) - extract(epoch from '2026-07-04 14:24:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399944 -2.786736)', '2026-07-04 14:24:21', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399922 -2.786747)'), GeomFromEWKT('SRID=4674;POINT (-40.399944 -2.786736)'))) / (select extract(epoch from '2026-07-04 14:24:21'::timestamp) - extract(epoch from '2026-07-04 14:24:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399922 -2.786747)'), GeomFromEWKT('SRID=4674;POINT (-40.399944 -2.786736)'))) / (select extract(epoch from '2026-07-04 14:24:21'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.399969 -2.786726)', '2026-07-04 14:24:27', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399944 -2.786736)'), GeomFromEWKT('SRID=4674;POINT (-40.399969 -2.786726)'))) / (select extract(epoch from '2026-07-04 14:24:27'::timestamp) - extract(epoch from '2026-07-04 14:24:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399944 -2.786736)'), GeomFromEWKT('SRID=4674;POINT (-40.399969 -2.786726)'))) / (select extract(epoch from '2026-07-04 14:24:27'::timestamp) - extract(epoch from '2026-07-04 14:24:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.400024 -2.786724)', '2026-07-04 14:24:36', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399969 -2.786726)'), GeomFromEWKT('SRID=4674;POINT (-40.400024 -2.786724)'))) / (select extract(epoch from '2026-07-04 14:24:36'::timestamp) - extract(epoch from '2026-07-04 14:24:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399969 -2.786726)'), GeomFromEWKT('SRID=4674;POINT (-40.400024 -2.786724)'))) / (select extract(epoch from '2026-07-04 14:24:36'::timestamp) - extract(epoch from '2026-07-04 14:24:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.400037 -2.786707)', '2026-07-04 14:24:44', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400024 -2.786724)'), GeomFromEWKT('SRID=4674;POINT (-40.400037 -2.786707)'))) / (select extract(epoch from '2026-07-04 14:24:44'::timestamp) - extract(epoch from '2026-07-04 14:24:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400024 -2.786724)'), GeomFromEWKT('SRID=4674;POINT (-40.400037 -2.786707)'))) / (select extract(epoch from '2026-07-04 14:24:44'::timestamp) - extract(epoch from '2026-07-04 14:24: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'), 47817, 'SRID=4674;POINT (-40.400023 -2.786638)', '2026-07-04 14:24:52', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400037 -2.786707)'), GeomFromEWKT('SRID=4674;POINT (-40.400023 -2.786638)'))) / (select extract(epoch from '2026-07-04 14:24:52'::timestamp) - extract(epoch from '2026-07-04 14:24:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400037 -2.786707)'), GeomFromEWKT('SRID=4674;POINT (-40.400023 -2.786638)'))) / (select extract(epoch from '2026-07-04 14:24:52'::timestamp) - extract(epoch from '2026-07-04 14:24: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'), 47817, 'SRID=4674;POINT (-40.39996 -2.786593)', '2026-07-04 14:25:00', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400023 -2.786638)'), GeomFromEWKT('SRID=4674;POINT (-40.39996 -2.786593)'))) / (select extract(epoch from '2026-07-04 14:25:00'::timestamp) - extract(epoch from '2026-07-04 14:24:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400023 -2.786638)'), GeomFromEWKT('SRID=4674;POINT (-40.39996 -2.786593)'))) / (select extract(epoch from '2026-07-04 14:25:00'::timestamp) - extract(epoch from '2026-07-04 14:24: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'), 47817, 'SRID=4674;POINT (-40.399855 -2.786619)', '2026-07-04 14:25:08', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39996 -2.786593)'), GeomFromEWKT('SRID=4674;POINT (-40.399855 -2.786619)'))) / (select extract(epoch from '2026-07-04 14:25:08'::timestamp) - extract(epoch from '2026-07-04 14:25:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39996 -2.786593)'), GeomFromEWKT('SRID=4674;POINT (-40.399855 -2.786619)'))) / (select extract(epoch from '2026-07-04 14:25:08'::timestamp) - extract(epoch from '2026-07-04 14:25:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399734 -2.786644)', '2026-07-04 14:25:17', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399855 -2.786619)'), GeomFromEWKT('SRID=4674;POINT (-40.399734 -2.786644)'))) / (select extract(epoch from '2026-07-04 14:25:17'::timestamp) - extract(epoch from '2026-07-04 14:25:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399855 -2.786619)'), GeomFromEWKT('SRID=4674;POINT (-40.399734 -2.786644)'))) / (select extract(epoch from '2026-07-04 14:25:17'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.399592 -2.786644)', '2026-07-04 14:25:26', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399734 -2.786644)'), GeomFromEWKT('SRID=4674;POINT (-40.399592 -2.786644)'))) / (select extract(epoch from '2026-07-04 14:25:26'::timestamp) - extract(epoch from '2026-07-04 14:25:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399734 -2.786644)'), GeomFromEWKT('SRID=4674;POINT (-40.399592 -2.786644)'))) / (select extract(epoch from '2026-07-04 14:25:26'::timestamp) - extract(epoch from '2026-07-04 14:25:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.399477 -2.786665)', '2026-07-04 14:25:34', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399592 -2.786644)'), GeomFromEWKT('SRID=4674;POINT (-40.399477 -2.786665)'))) / (select extract(epoch from '2026-07-04 14:25:34'::timestamp) - extract(epoch from '2026-07-04 14:25:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399592 -2.786644)'), GeomFromEWKT('SRID=4674;POINT (-40.399477 -2.786665)'))) / (select extract(epoch from '2026-07-04 14:25:34'::timestamp) - extract(epoch from '2026-07-04 14:25: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'), 47817, 'SRID=4674;POINT (-40.399339 -2.786679)', '2026-07-04 14:25:42', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399477 -2.786665)'), GeomFromEWKT('SRID=4674;POINT (-40.399339 -2.786679)'))) / (select extract(epoch from '2026-07-04 14:25:42'::timestamp) - extract(epoch from '2026-07-04 14:25:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399477 -2.786665)'), GeomFromEWKT('SRID=4674;POINT (-40.399339 -2.786679)'))) / (select extract(epoch from '2026-07-04 14:25:42'::timestamp) - extract(epoch from '2026-07-04 14:25: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'), 47817, 'SRID=4674;POINT (-40.399235 -2.7867)', '2026-07-04 14:25:51', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399339 -2.786679)'), GeomFromEWKT('SRID=4674;POINT (-40.399235 -2.7867)'))) / (select extract(epoch from '2026-07-04 14:25:51'::timestamp) - extract(epoch from '2026-07-04 14:25:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399339 -2.786679)'), GeomFromEWKT('SRID=4674;POINT (-40.399235 -2.7867)'))) / (select extract(epoch from '2026-07-04 14:25:51'::timestamp) - extract(epoch from '2026-07-04 14:25: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'), 47817, 'SRID=4674;POINT (-40.399159 -2.786735)', '2026-07-04 14:25:59', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399235 -2.7867)'), GeomFromEWKT('SRID=4674;POINT (-40.399159 -2.786735)'))) / (select extract(epoch from '2026-07-04 14:25:59'::timestamp) - extract(epoch from '2026-07-04 14:25:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399235 -2.7867)'), GeomFromEWKT('SRID=4674;POINT (-40.399159 -2.786735)'))) / (select extract(epoch from '2026-07-04 14:25:59'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.399066 -2.786742)', '2026-07-04 14:26:06', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399159 -2.786735)'), GeomFromEWKT('SRID=4674;POINT (-40.399066 -2.786742)'))) / (select extract(epoch from '2026-07-04 14:26:06'::timestamp) - extract(epoch from '2026-07-04 14:25:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399159 -2.786735)'), GeomFromEWKT('SRID=4674;POINT (-40.399066 -2.786742)'))) / (select extract(epoch from '2026-07-04 14:26:06'::timestamp) - extract(epoch from '2026-07-04 14:25: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'), 47817, 'SRID=4674;POINT (-40.398982 -2.786768)', '2026-07-04 14:26:13', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399066 -2.786742)'), GeomFromEWKT('SRID=4674;POINT (-40.398982 -2.786768)'))) / (select extract(epoch from '2026-07-04 14:26:13'::timestamp) - extract(epoch from '2026-07-04 14:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399066 -2.786742)'), GeomFromEWKT('SRID=4674;POINT (-40.398982 -2.786768)'))) / (select extract(epoch from '2026-07-04 14:26:13'::timestamp) - extract(epoch from '2026-07-04 14:26: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'), 47817, 'SRID=4674;POINT (-40.398873 -2.786779)', '2026-07-04 14:26:21', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398982 -2.786768)'), GeomFromEWKT('SRID=4674;POINT (-40.398873 -2.786779)'))) / (select extract(epoch from '2026-07-04 14:26:21'::timestamp) - extract(epoch from '2026-07-04 14:26:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398982 -2.786768)'), GeomFromEWKT('SRID=4674;POINT (-40.398873 -2.786779)'))) / (select extract(epoch from '2026-07-04 14:26:21'::timestamp) - extract(epoch from '2026-07-04 14:26: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'), 47817, 'SRID=4674;POINT (-40.398761 -2.786786)', '2026-07-04 14:26:28', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398873 -2.786779)'), GeomFromEWKT('SRID=4674;POINT (-40.398761 -2.786786)'))) / (select extract(epoch from '2026-07-04 14:26:28'::timestamp) - extract(epoch from '2026-07-04 14:26:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398873 -2.786779)'), GeomFromEWKT('SRID=4674;POINT (-40.398761 -2.786786)'))) / (select extract(epoch from '2026-07-04 14:26:28'::timestamp) - extract(epoch from '2026-07-04 14:26: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'), 47817, 'SRID=4674;POINT (-40.398634 -2.786819)', '2026-07-04 14:26:36', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398761 -2.786786)'), GeomFromEWKT('SRID=4674;POINT (-40.398634 -2.786819)'))) / (select extract(epoch from '2026-07-04 14:26:36'::timestamp) - extract(epoch from '2026-07-04 14:26:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398761 -2.786786)'), GeomFromEWKT('SRID=4674;POINT (-40.398634 -2.786819)'))) / (select extract(epoch from '2026-07-04 14:26:36'::timestamp) - extract(epoch from '2026-07-04 14:26: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'), 47817, 'SRID=4674;POINT (-40.398525 -2.786851)', '2026-07-04 14:26:44', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398634 -2.786819)'), GeomFromEWKT('SRID=4674;POINT (-40.398525 -2.786851)'))) / (select extract(epoch from '2026-07-04 14:26:44'::timestamp) - extract(epoch from '2026-07-04 14:26:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398634 -2.786819)'), GeomFromEWKT('SRID=4674;POINT (-40.398525 -2.786851)'))) / (select extract(epoch from '2026-07-04 14:26:44'::timestamp) - extract(epoch from '2026-07-04 14:26:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.398433 -2.786917)', '2026-07-04 14:26:53', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398525 -2.786851)'), GeomFromEWKT('SRID=4674;POINT (-40.398433 -2.786917)'))) / (select extract(epoch from '2026-07-04 14:26:53'::timestamp) - extract(epoch from '2026-07-04 14:26:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398525 -2.786851)'), GeomFromEWKT('SRID=4674;POINT (-40.398433 -2.786917)'))) / (select extract(epoch from '2026-07-04 14:26:53'::timestamp) - extract(epoch from '2026-07-04 14:26:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.39836 -2.786907)', '2026-07-04 14:26:59', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398433 -2.786917)'), GeomFromEWKT('SRID=4674;POINT (-40.39836 -2.786907)'))) / (select extract(epoch from '2026-07-04 14:26:59'::timestamp) - extract(epoch from '2026-07-04 14:26:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398433 -2.786917)'), GeomFromEWKT('SRID=4674;POINT (-40.39836 -2.786907)'))) / (select extract(epoch from '2026-07-04 14:26:59'::timestamp) - extract(epoch from '2026-07-04 14:26: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'), 47817, 'SRID=4674;POINT (-40.39825 -2.786916)', '2026-07-04 14:27:07', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39836 -2.786907)'), GeomFromEWKT('SRID=4674;POINT (-40.39825 -2.786916)'))) / (select extract(epoch from '2026-07-04 14:27:07'::timestamp) - extract(epoch from '2026-07-04 14:26:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39836 -2.786907)'), GeomFromEWKT('SRID=4674;POINT (-40.39825 -2.786916)'))) / (select extract(epoch from '2026-07-04 14:27:07'::timestamp) - extract(epoch from '2026-07-04 14:26:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.398174 -2.786938)', '2026-07-04 14:27:15', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39825 -2.786916)'), GeomFromEWKT('SRID=4674;POINT (-40.398174 -2.786938)'))) / (select extract(epoch from '2026-07-04 14:27:15'::timestamp) - extract(epoch from '2026-07-04 14:27:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39825 -2.786916)'), GeomFromEWKT('SRID=4674;POINT (-40.398174 -2.786938)'))) / (select extract(epoch from '2026-07-04 14:27:15'::timestamp) - extract(epoch from '2026-07-04 14:27:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.398071 -2.786974)', '2026-07-04 14:27:22', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398174 -2.786938)'), GeomFromEWKT('SRID=4674;POINT (-40.398071 -2.786974)'))) / (select extract(epoch from '2026-07-04 14:27:22'::timestamp) - extract(epoch from '2026-07-04 14:27:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398174 -2.786938)'), GeomFromEWKT('SRID=4674;POINT (-40.398071 -2.786974)'))) / (select extract(epoch from '2026-07-04 14:27:22'::timestamp) - extract(epoch from '2026-07-04 14:27:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.397904 -2.786999)', '2026-07-04 14:27:32', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398071 -2.786974)'), GeomFromEWKT('SRID=4674;POINT (-40.397904 -2.786999)'))) / (select extract(epoch from '2026-07-04 14:27:32'::timestamp) - extract(epoch from '2026-07-04 14:27:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398071 -2.786974)'), GeomFromEWKT('SRID=4674;POINT (-40.397904 -2.786999)'))) / (select extract(epoch from '2026-07-04 14:27:32'::timestamp) - extract(epoch from '2026-07-04 14:27:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.397798 -2.787037)', '2026-07-04 14:27:40', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397904 -2.786999)'), GeomFromEWKT('SRID=4674;POINT (-40.397798 -2.787037)'))) / (select extract(epoch from '2026-07-04 14:27:40'::timestamp) - extract(epoch from '2026-07-04 14:27:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397904 -2.786999)'), GeomFromEWKT('SRID=4674;POINT (-40.397798 -2.787037)'))) / (select extract(epoch from '2026-07-04 14:27:40'::timestamp) - extract(epoch from '2026-07-04 14:27:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.397667 -2.787038)', '2026-07-04 14:27:48', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397798 -2.787037)'), GeomFromEWKT('SRID=4674;POINT (-40.397667 -2.787038)'))) / (select extract(epoch from '2026-07-04 14:27:48'::timestamp) - extract(epoch from '2026-07-04 14:27:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397798 -2.787037)'), GeomFromEWKT('SRID=4674;POINT (-40.397667 -2.787038)'))) / (select extract(epoch from '2026-07-04 14:27:48'::timestamp) - extract(epoch from '2026-07-04 14:27: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'), 47817, 'SRID=4674;POINT (-40.397526 -2.787039)', '2026-07-04 14:27:56', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397667 -2.787038)'), GeomFromEWKT('SRID=4674;POINT (-40.397526 -2.787039)'))) / (select extract(epoch from '2026-07-04 14:27:56'::timestamp) - extract(epoch from '2026-07-04 14:27:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397667 -2.787038)'), GeomFromEWKT('SRID=4674;POINT (-40.397526 -2.787039)'))) / (select extract(epoch from '2026-07-04 14:27:56'::timestamp) - extract(epoch from '2026-07-04 14:27: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'), 47817, 'SRID=4674;POINT (-40.397414 -2.787072)', '2026-07-04 14:28:05', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397526 -2.787039)'), GeomFromEWKT('SRID=4674;POINT (-40.397414 -2.787072)'))) / (select extract(epoch from '2026-07-04 14:28:05'::timestamp) - extract(epoch from '2026-07-04 14:27:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397526 -2.787039)'), GeomFromEWKT('SRID=4674;POINT (-40.397414 -2.787072)'))) / (select extract(epoch from '2026-07-04 14:28:05'::timestamp) - extract(epoch from '2026-07-04 14:27: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'), 47817, 'SRID=4674;POINT (-40.397314 -2.78709)', '2026-07-04 14:28:13', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397414 -2.787072)'), GeomFromEWKT('SRID=4674;POINT (-40.397314 -2.78709)'))) / (select extract(epoch from '2026-07-04 14:28:13'::timestamp) - extract(epoch from '2026-07-04 14:28:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397414 -2.787072)'), GeomFromEWKT('SRID=4674;POINT (-40.397314 -2.78709)'))) / (select extract(epoch from '2026-07-04 14:28:13'::timestamp) - extract(epoch from '2026-07-04 14:28: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'), 47817, 'SRID=4674;POINT (-40.39717 -2.787103)', '2026-07-04 14:28:20', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397314 -2.78709)'), GeomFromEWKT('SRID=4674;POINT (-40.39717 -2.787103)'))) / (select extract(epoch from '2026-07-04 14:28:20'::timestamp) - extract(epoch from '2026-07-04 14:28:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397314 -2.78709)'), GeomFromEWKT('SRID=4674;POINT (-40.39717 -2.787103)'))) / (select extract(epoch from '2026-07-04 14:28:20'::timestamp) - extract(epoch from '2026-07-04 14:28:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.397079 -2.787104)', '2026-07-04 14:28:26', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39717 -2.787103)'), GeomFromEWKT('SRID=4674;POINT (-40.397079 -2.787104)'))) / (select extract(epoch from '2026-07-04 14:28:26'::timestamp) - extract(epoch from '2026-07-04 14:28:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39717 -2.787103)'), GeomFromEWKT('SRID=4674;POINT (-40.397079 -2.787104)'))) / (select extract(epoch from '2026-07-04 14:28:26'::timestamp) - extract(epoch from '2026-07-04 14:28: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'), 47817, 'SRID=4674;POINT (-40.397019 -2.787119)', '2026-07-04 14:28:33', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397079 -2.787104)'), GeomFromEWKT('SRID=4674;POINT (-40.397019 -2.787119)'))) / (select extract(epoch from '2026-07-04 14:28:33'::timestamp) - extract(epoch from '2026-07-04 14:28:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397079 -2.787104)'), GeomFromEWKT('SRID=4674;POINT (-40.397019 -2.787119)'))) / (select extract(epoch from '2026-07-04 14:28:33'::timestamp) - extract(epoch from '2026-07-04 14:28: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'), 47817, 'SRID=4674;POINT (-40.396922 -2.787128)', '2026-07-04 14:28:39', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397019 -2.787119)'), GeomFromEWKT('SRID=4674;POINT (-40.396922 -2.787128)'))) / (select extract(epoch from '2026-07-04 14:28:39'::timestamp) - extract(epoch from '2026-07-04 14:28:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397019 -2.787119)'), GeomFromEWKT('SRID=4674;POINT (-40.396922 -2.787128)'))) / (select extract(epoch from '2026-07-04 14:28:39'::timestamp) - extract(epoch from '2026-07-04 14:28: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'), 47817, 'SRID=4674;POINT (-40.396762 -2.787107)', '2026-07-04 14:28:48', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396922 -2.787128)'), GeomFromEWKT('SRID=4674;POINT (-40.396762 -2.787107)'))) / (select extract(epoch from '2026-07-04 14:28:48'::timestamp) - extract(epoch from '2026-07-04 14:28:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396922 -2.787128)'), GeomFromEWKT('SRID=4674;POINT (-40.396762 -2.787107)'))) / (select extract(epoch from '2026-07-04 14:28:48'::timestamp) - extract(epoch from '2026-07-04 14:28:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.396649 -2.787102)', '2026-07-04 14:28:57', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396762 -2.787107)'), GeomFromEWKT('SRID=4674;POINT (-40.396649 -2.787102)'))) / (select extract(epoch from '2026-07-04 14:28:57'::timestamp) - extract(epoch from '2026-07-04 14:28:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396762 -2.787107)'), GeomFromEWKT('SRID=4674;POINT (-40.396649 -2.787102)'))) / (select extract(epoch from '2026-07-04 14:28:57'::timestamp) - extract(epoch from '2026-07-04 14:28: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'), 47817, 'SRID=4674;POINT (-40.39658 -2.787107)', '2026-07-04 14:29:03', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396649 -2.787102)'), GeomFromEWKT('SRID=4674;POINT (-40.39658 -2.787107)'))) / (select extract(epoch from '2026-07-04 14:29:03'::timestamp) - extract(epoch from '2026-07-04 14:28:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396649 -2.787102)'), GeomFromEWKT('SRID=4674;POINT (-40.39658 -2.787107)'))) / (select extract(epoch from '2026-07-04 14:29:03'::timestamp) - extract(epoch from '2026-07-04 14:28:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.396499 -2.787099)', '2026-07-04 14:29:09', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39658 -2.787107)'), GeomFromEWKT('SRID=4674;POINT (-40.396499 -2.787099)'))) / (select extract(epoch from '2026-07-04 14:29:09'::timestamp) - extract(epoch from '2026-07-04 14:29:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39658 -2.787107)'), GeomFromEWKT('SRID=4674;POINT (-40.396499 -2.787099)'))) / (select extract(epoch from '2026-07-04 14:29:09'::timestamp) - extract(epoch from '2026-07-04 14:29: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'), 47817, 'SRID=4674;POINT (-40.396398 -2.78707)', '2026-07-04 14:29:16', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396499 -2.787099)'), GeomFromEWKT('SRID=4674;POINT (-40.396398 -2.78707)'))) / (select extract(epoch from '2026-07-04 14:29:16'::timestamp) - extract(epoch from '2026-07-04 14:29:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396499 -2.787099)'), GeomFromEWKT('SRID=4674;POINT (-40.396398 -2.78707)'))) / (select extract(epoch from '2026-07-04 14:29:16'::timestamp) - extract(epoch from '2026-07-04 14:29: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'), 47817, 'SRID=4674;POINT (-40.396281 -2.787085)', '2026-07-04 14:29:24', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396398 -2.78707)'), GeomFromEWKT('SRID=4674;POINT (-40.396281 -2.787085)'))) / (select extract(epoch from '2026-07-04 14:29:24'::timestamp) - extract(epoch from '2026-07-04 14:29:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396398 -2.78707)'), GeomFromEWKT('SRID=4674;POINT (-40.396281 -2.787085)'))) / (select extract(epoch from '2026-07-04 14:29:24'::timestamp) - extract(epoch from '2026-07-04 14:29: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'), 47817, 'SRID=4674;POINT (-40.39621 -2.787116)', '2026-07-04 14:29:31', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396281 -2.787085)'), GeomFromEWKT('SRID=4674;POINT (-40.39621 -2.787116)'))) / (select extract(epoch from '2026-07-04 14:29:31'::timestamp) - extract(epoch from '2026-07-04 14:29:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396281 -2.787085)'), GeomFromEWKT('SRID=4674;POINT (-40.39621 -2.787116)'))) / (select extract(epoch from '2026-07-04 14:29:31'::timestamp) - extract(epoch from '2026-07-04 14:29: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'), 47817, 'SRID=4674;POINT (-40.396077 -2.787138)', '2026-07-04 14:29:39', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39621 -2.787116)'), GeomFromEWKT('SRID=4674;POINT (-40.396077 -2.787138)'))) / (select extract(epoch from '2026-07-04 14:29:39'::timestamp) - extract(epoch from '2026-07-04 14:29:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39621 -2.787116)'), GeomFromEWKT('SRID=4674;POINT (-40.396077 -2.787138)'))) / (select extract(epoch from '2026-07-04 14:29:39'::timestamp) - extract(epoch from '2026-07-04 14:29: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'), 47817, 'SRID=4674;POINT (-40.39596 -2.787141)', '2026-07-04 14:29:47', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396077 -2.787138)'), GeomFromEWKT('SRID=4674;POINT (-40.39596 -2.787141)'))) / (select extract(epoch from '2026-07-04 14:29:47'::timestamp) - extract(epoch from '2026-07-04 14:29:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396077 -2.787138)'), GeomFromEWKT('SRID=4674;POINT (-40.39596 -2.787141)'))) / (select extract(epoch from '2026-07-04 14:29:47'::timestamp) - extract(epoch from '2026-07-04 14:29: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'), 47817, 'SRID=4674;POINT (-40.395851 -2.787139)', '2026-07-04 14:29:54', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39596 -2.787141)'), GeomFromEWKT('SRID=4674;POINT (-40.395851 -2.787139)'))) / (select extract(epoch from '2026-07-04 14:29:54'::timestamp) - extract(epoch from '2026-07-04 14:29:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39596 -2.787141)'), GeomFromEWKT('SRID=4674;POINT (-40.395851 -2.787139)'))) / (select extract(epoch from '2026-07-04 14:29:54'::timestamp) - extract(epoch from '2026-07-04 14:29: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'), 47817, 'SRID=4674;POINT (-40.395708 -2.787145)', '2026-07-04 14:30:02', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395851 -2.787139)'), GeomFromEWKT('SRID=4674;POINT (-40.395708 -2.787145)'))) / (select extract(epoch from '2026-07-04 14:30:02'::timestamp) - extract(epoch from '2026-07-04 14:29:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395851 -2.787139)'), GeomFromEWKT('SRID=4674;POINT (-40.395708 -2.787145)'))) / (select extract(epoch from '2026-07-04 14:30:02'::timestamp) - extract(epoch from '2026-07-04 14:29: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'), 47817, 'SRID=4674;POINT (-40.395601 -2.787166)', '2026-07-04 14:30:09', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395708 -2.787145)'), GeomFromEWKT('SRID=4674;POINT (-40.395601 -2.787166)'))) / (select extract(epoch from '2026-07-04 14:30:09'::timestamp) - extract(epoch from '2026-07-04 14:30:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395708 -2.787145)'), GeomFromEWKT('SRID=4674;POINT (-40.395601 -2.787166)'))) / (select extract(epoch from '2026-07-04 14:30:09'::timestamp) - extract(epoch from '2026-07-04 14:30: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'), 47817, 'SRID=4674;POINT (-40.3955 -2.787179)', '2026-07-04 14:30:17', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395601 -2.787166)'), GeomFromEWKT('SRID=4674;POINT (-40.3955 -2.787179)'))) / (select extract(epoch from '2026-07-04 14:30:17'::timestamp) - extract(epoch from '2026-07-04 14:30:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395601 -2.787166)'), GeomFromEWKT('SRID=4674;POINT (-40.3955 -2.787179)'))) / (select extract(epoch from '2026-07-04 14:30:17'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.395408 -2.787196)', '2026-07-04 14:30:25', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3955 -2.787179)'), GeomFromEWKT('SRID=4674;POINT (-40.395408 -2.787196)'))) / (select extract(epoch from '2026-07-04 14:30:25'::timestamp) - extract(epoch from '2026-07-04 14:30:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3955 -2.787179)'), GeomFromEWKT('SRID=4674;POINT (-40.395408 -2.787196)'))) / (select extract(epoch from '2026-07-04 14:30:25'::timestamp) - extract(epoch from '2026-07-04 14:30: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'), 47817, 'SRID=4674;POINT (-40.395312 -2.787252)', '2026-07-04 14:30:34', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395408 -2.787196)'), GeomFromEWKT('SRID=4674;POINT (-40.395312 -2.787252)'))) / (select extract(epoch from '2026-07-04 14:30:34'::timestamp) - extract(epoch from '2026-07-04 14:30:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395408 -2.787196)'), GeomFromEWKT('SRID=4674;POINT (-40.395312 -2.787252)'))) / (select extract(epoch from '2026-07-04 14:30:34'::timestamp) - extract(epoch from '2026-07-04 14:30: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'), 47817, 'SRID=4674;POINT (-40.395201 -2.787251)', '2026-07-04 14:30:41', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395312 -2.787252)'), GeomFromEWKT('SRID=4674;POINT (-40.395201 -2.787251)'))) / (select extract(epoch from '2026-07-04 14:30:41'::timestamp) - extract(epoch from '2026-07-04 14:30:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395312 -2.787252)'), GeomFromEWKT('SRID=4674;POINT (-40.395201 -2.787251)'))) / (select extract(epoch from '2026-07-04 14:30:41'::timestamp) - extract(epoch from '2026-07-04 14:30: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'), 47817, 'SRID=4674;POINT (-40.395126 -2.787229)', '2026-07-04 14:30:48', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395201 -2.787251)'), GeomFromEWKT('SRID=4674;POINT (-40.395126 -2.787229)'))) / (select extract(epoch from '2026-07-04 14:30:48'::timestamp) - extract(epoch from '2026-07-04 14:30:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395201 -2.787251)'), GeomFromEWKT('SRID=4674;POINT (-40.395126 -2.787229)'))) / (select extract(epoch from '2026-07-04 14:30:48'::timestamp) - extract(epoch from '2026-07-04 14:30: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'), 47817, 'SRID=4674;POINT (-40.395036 -2.787221)', '2026-07-04 14:30:55', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395126 -2.787229)'), GeomFromEWKT('SRID=4674;POINT (-40.395036 -2.787221)'))) / (select extract(epoch from '2026-07-04 14:30:55'::timestamp) - extract(epoch from '2026-07-04 14:30:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395126 -2.787229)'), GeomFromEWKT('SRID=4674;POINT (-40.395036 -2.787221)'))) / (select extract(epoch from '2026-07-04 14:30:55'::timestamp) - extract(epoch from '2026-07-04 14:30: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'), 47817, 'SRID=4674;POINT (-40.394954 -2.787226)', '2026-07-04 14:31:02', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395036 -2.787221)'), GeomFromEWKT('SRID=4674;POINT (-40.394954 -2.787226)'))) / (select extract(epoch from '2026-07-04 14:31:02'::timestamp) - extract(epoch from '2026-07-04 14:30:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395036 -2.787221)'), GeomFromEWKT('SRID=4674;POINT (-40.394954 -2.787226)'))) / (select extract(epoch from '2026-07-04 14:31:02'::timestamp) - extract(epoch from '2026-07-04 14:30: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'), 47817, 'SRID=4674;POINT (-40.394862 -2.787233)', '2026-07-04 14:31:11', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394954 -2.787226)'), GeomFromEWKT('SRID=4674;POINT (-40.394862 -2.787233)'))) / (select extract(epoch from '2026-07-04 14:31:11'::timestamp) - extract(epoch from '2026-07-04 14:31:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394954 -2.787226)'), GeomFromEWKT('SRID=4674;POINT (-40.394862 -2.787233)'))) / (select extract(epoch from '2026-07-04 14:31:11'::timestamp) - extract(epoch from '2026-07-04 14:31: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'), 47817, 'SRID=4674;POINT (-40.394783 -2.787271)', '2026-07-04 14:31:19', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394862 -2.787233)'), GeomFromEWKT('SRID=4674;POINT (-40.394783 -2.787271)'))) / (select extract(epoch from '2026-07-04 14:31:19'::timestamp) - extract(epoch from '2026-07-04 14:31:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394862 -2.787233)'), GeomFromEWKT('SRID=4674;POINT (-40.394783 -2.787271)'))) / (select extract(epoch from '2026-07-04 14:31:19'::timestamp) - extract(epoch from '2026-07-04 14:31: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'), 47817, 'SRID=4674;POINT (-40.394663 -2.787306)', '2026-07-04 14:31:27', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394783 -2.787271)'), GeomFromEWKT('SRID=4674;POINT (-40.394663 -2.787306)'))) / (select extract(epoch from '2026-07-04 14:31:27'::timestamp) - extract(epoch from '2026-07-04 14:31:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394783 -2.787271)'), GeomFromEWKT('SRID=4674;POINT (-40.394663 -2.787306)'))) / (select extract(epoch from '2026-07-04 14:31:27'::timestamp) - extract(epoch from '2026-07-04 14:31: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'), 47817, 'SRID=4674;POINT (-40.394523 -2.78734)', '2026-07-04 14:31:36', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394663 -2.787306)'), GeomFromEWKT('SRID=4674;POINT (-40.394523 -2.78734)'))) / (select extract(epoch from '2026-07-04 14:31:36'::timestamp) - extract(epoch from '2026-07-04 14:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394663 -2.787306)'), GeomFromEWKT('SRID=4674;POINT (-40.394523 -2.78734)'))) / (select extract(epoch from '2026-07-04 14:31:36'::timestamp) - extract(epoch from '2026-07-04 14:31: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'), 47817, 'SRID=4674;POINT (-40.394447 -2.78737)', '2026-07-04 14:31:44', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394523 -2.78734)'), GeomFromEWKT('SRID=4674;POINT (-40.394447 -2.78737)'))) / (select extract(epoch from '2026-07-04 14:31:44'::timestamp) - extract(epoch from '2026-07-04 14:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394523 -2.78734)'), GeomFromEWKT('SRID=4674;POINT (-40.394447 -2.78737)'))) / (select extract(epoch from '2026-07-04 14:31:44'::timestamp) - extract(epoch from '2026-07-04 14:31: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'), 47817, 'SRID=4674;POINT (-40.394361 -2.787388)', '2026-07-04 14:31:51', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394447 -2.78737)'), GeomFromEWKT('SRID=4674;POINT (-40.394361 -2.787388)'))) / (select extract(epoch from '2026-07-04 14:31:51'::timestamp) - extract(epoch from '2026-07-04 14:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394447 -2.78737)'), GeomFromEWKT('SRID=4674;POINT (-40.394361 -2.787388)'))) / (select extract(epoch from '2026-07-04 14:31:51'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.394279 -2.787358)', '2026-07-04 14:31:58', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394361 -2.787388)'), GeomFromEWKT('SRID=4674;POINT (-40.394279 -2.787358)'))) / (select extract(epoch from '2026-07-04 14:31:58'::timestamp) - extract(epoch from '2026-07-04 14:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394361 -2.787388)'), GeomFromEWKT('SRID=4674;POINT (-40.394279 -2.787358)'))) / (select extract(epoch from '2026-07-04 14:31:58'::timestamp) - extract(epoch from '2026-07-04 14:31: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'), 47817, 'SRID=4674;POINT (-40.394181 -2.787342)', '2026-07-04 14:32:05', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394279 -2.787358)'), GeomFromEWKT('SRID=4674;POINT (-40.394181 -2.787342)'))) / (select extract(epoch from '2026-07-04 14:32:05'::timestamp) - extract(epoch from '2026-07-04 14:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394279 -2.787358)'), GeomFromEWKT('SRID=4674;POINT (-40.394181 -2.787342)'))) / (select extract(epoch from '2026-07-04 14:32:05'::timestamp) - extract(epoch from '2026-07-04 14:31: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'), 47817, 'SRID=4674;POINT (-40.394116 -2.787378)', '2026-07-04 14:32:11', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394181 -2.787342)'), GeomFromEWKT('SRID=4674;POINT (-40.394116 -2.787378)'))) / (select extract(epoch from '2026-07-04 14:32:11'::timestamp) - extract(epoch from '2026-07-04 14:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394181 -2.787342)'), GeomFromEWKT('SRID=4674;POINT (-40.394116 -2.787378)'))) / (select extract(epoch from '2026-07-04 14:32:11'::timestamp) - extract(epoch from '2026-07-04 14:32:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.394068 -2.787404)', '2026-07-04 14:32:16', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394116 -2.787378)'), GeomFromEWKT('SRID=4674;POINT (-40.394068 -2.787404)'))) / (select extract(epoch from '2026-07-04 14:32:16'::timestamp) - extract(epoch from '2026-07-04 14:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394116 -2.787378)'), GeomFromEWKT('SRID=4674;POINT (-40.394068 -2.787404)'))) / (select extract(epoch from '2026-07-04 14:32:16'::timestamp) - extract(epoch from '2026-07-04 14:32: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'), 47817, 'SRID=4674;POINT (-40.394051 -2.78741)', '2026-07-04 14:32:18', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394068 -2.787404)'), GeomFromEWKT('SRID=4674;POINT (-40.394051 -2.78741)'))) / (select extract(epoch from '2026-07-04 14:32:18'::timestamp) - extract(epoch from '2026-07-04 14:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394068 -2.787404)'), GeomFromEWKT('SRID=4674;POINT (-40.394051 -2.78741)'))) / (select extract(epoch from '2026-07-04 14:32:18'::timestamp) - extract(epoch from '2026-07-04 14:32:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.393989 -2.787459)', '2026-07-04 14:32:26', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394051 -2.78741)'), GeomFromEWKT('SRID=4674;POINT (-40.393989 -2.787459)'))) / (select extract(epoch from '2026-07-04 14:32:26'::timestamp) - extract(epoch from '2026-07-04 14:32:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394051 -2.78741)'), GeomFromEWKT('SRID=4674;POINT (-40.393989 -2.787459)'))) / (select extract(epoch from '2026-07-04 14:32:26'::timestamp) - extract(epoch from '2026-07-04 14:32: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'), 47817, 'SRID=4674;POINT (-40.393988 -2.787496)', '2026-07-04 14:32:34', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393989 -2.787459)'), GeomFromEWKT('SRID=4674;POINT (-40.393988 -2.787496)'))) / (select extract(epoch from '2026-07-04 14:32:34'::timestamp) - extract(epoch from '2026-07-04 14:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393989 -2.787459)'), GeomFromEWKT('SRID=4674;POINT (-40.393988 -2.787496)'))) / (select extract(epoch from '2026-07-04 14:32:34'::timestamp) - extract(epoch from '2026-07-04 14:32: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'), 47817, 'SRID=4674;POINT (-40.393994 -2.787507)', '2026-07-04 14:32:44', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393988 -2.787496)'), GeomFromEWKT('SRID=4674;POINT (-40.393994 -2.787507)'))) / (select extract(epoch from '2026-07-04 14:32:44'::timestamp) - extract(epoch from '2026-07-04 14:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393988 -2.787496)'), GeomFromEWKT('SRID=4674;POINT (-40.393994 -2.787507)'))) / (select extract(epoch from '2026-07-04 14:32:44'::timestamp) - extract(epoch from '2026-07-04 14:32: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'), 47817, 'SRID=4674;POINT (-40.394014 -2.787463)', '2026-07-04 14:32:56', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393994 -2.787507)'), GeomFromEWKT('SRID=4674;POINT (-40.394014 -2.787463)'))) / (select extract(epoch from '2026-07-04 14:32:56'::timestamp) - extract(epoch from '2026-07-04 14:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393994 -2.787507)'), GeomFromEWKT('SRID=4674;POINT (-40.394014 -2.787463)'))) / (select extract(epoch from '2026-07-04 14:32:56'::timestamp) - extract(epoch from '2026-07-04 14:32: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'), 47817, 'SRID=4674;POINT (-40.394101 -2.787469)', '2026-07-04 14:33:06', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394014 -2.787463)'), GeomFromEWKT('SRID=4674;POINT (-40.394101 -2.787469)'))) / (select extract(epoch from '2026-07-04 14:33:06'::timestamp) - extract(epoch from '2026-07-04 14:32:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394014 -2.787463)'), GeomFromEWKT('SRID=4674;POINT (-40.394101 -2.787469)'))) / (select extract(epoch from '2026-07-04 14:33:06'::timestamp) - extract(epoch from '2026-07-04 14:32: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'), 47817, 'SRID=4674;POINT (-40.394133 -2.787464)', '2026-07-04 14:33:15', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394101 -2.787469)'), GeomFromEWKT('SRID=4674;POINT (-40.394133 -2.787464)'))) / (select extract(epoch from '2026-07-04 14:33:15'::timestamp) - extract(epoch from '2026-07-04 14:33:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394101 -2.787469)'), GeomFromEWKT('SRID=4674;POINT (-40.394133 -2.787464)'))) / (select extract(epoch from '2026-07-04 14:33:15'::timestamp) - extract(epoch from '2026-07-04 14:33: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'), 47817, 'SRID=4674;POINT (-40.394141 -2.787453)', '2026-07-04 14:33:22', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394133 -2.787464)'), GeomFromEWKT('SRID=4674;POINT (-40.394141 -2.787453)'))) / (select extract(epoch from '2026-07-04 14:33:22'::timestamp) - extract(epoch from '2026-07-04 14:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394133 -2.787464)'), GeomFromEWKT('SRID=4674;POINT (-40.394141 -2.787453)'))) / (select extract(epoch from '2026-07-04 14:33:22'::timestamp) - extract(epoch from '2026-07-04 14:33: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'), 47817, 'SRID=4674;POINT (-40.394172 -2.787417)', '2026-07-04 14:33:30', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394141 -2.787453)'), GeomFromEWKT('SRID=4674;POINT (-40.394172 -2.787417)'))) / (select extract(epoch from '2026-07-04 14:33:30'::timestamp) - extract(epoch from '2026-07-04 14:33:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394141 -2.787453)'), GeomFromEWKT('SRID=4674;POINT (-40.394172 -2.787417)'))) / (select extract(epoch from '2026-07-04 14:33:30'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.394164 -2.787354)', '2026-07-04 14:33:38', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394172 -2.787417)'), GeomFromEWKT('SRID=4674;POINT (-40.394164 -2.787354)'))) / (select extract(epoch from '2026-07-04 14:33:38'::timestamp) - extract(epoch from '2026-07-04 14:33:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394172 -2.787417)'), GeomFromEWKT('SRID=4674;POINT (-40.394164 -2.787354)'))) / (select extract(epoch from '2026-07-04 14:33:38'::timestamp) - extract(epoch from '2026-07-04 14:33:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.394108 -2.787337)', '2026-07-04 14:33:45', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394164 -2.787354)'), GeomFromEWKT('SRID=4674;POINT (-40.394108 -2.787337)'))) / (select extract(epoch from '2026-07-04 14:33:45'::timestamp) - extract(epoch from '2026-07-04 14:33:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394164 -2.787354)'), GeomFromEWKT('SRID=4674;POINT (-40.394108 -2.787337)'))) / (select extract(epoch from '2026-07-04 14:33:45'::timestamp) - extract(epoch from '2026-07-04 14:33: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'), 47817, 'SRID=4674;POINT (-40.394114 -2.787364)', '2026-07-04 14:33:52', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394108 -2.787337)'), GeomFromEWKT('SRID=4674;POINT (-40.394114 -2.787364)'))) / (select extract(epoch from '2026-07-04 14:33:52'::timestamp) - extract(epoch from '2026-07-04 14:33:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394108 -2.787337)'), GeomFromEWKT('SRID=4674;POINT (-40.394114 -2.787364)'))) / (select extract(epoch from '2026-07-04 14:33:52'::timestamp) - extract(epoch from '2026-07-04 14:33:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.394128 -2.787417)', '2026-07-04 14:34:00', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394114 -2.787364)'), GeomFromEWKT('SRID=4674;POINT (-40.394128 -2.787417)'))) / (select extract(epoch from '2026-07-04 14:34:00'::timestamp) - extract(epoch from '2026-07-04 14:33:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394114 -2.787364)'), GeomFromEWKT('SRID=4674;POINT (-40.394128 -2.787417)'))) / (select extract(epoch from '2026-07-04 14:34:00'::timestamp) - extract(epoch from '2026-07-04 14:33:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.394101 -2.787465)', '2026-07-04 14:34:08', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394128 -2.787417)'), GeomFromEWKT('SRID=4674;POINT (-40.394101 -2.787465)'))) / (select extract(epoch from '2026-07-04 14:34:08'::timestamp) - extract(epoch from '2026-07-04 14:34:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394128 -2.787417)'), GeomFromEWKT('SRID=4674;POINT (-40.394101 -2.787465)'))) / (select extract(epoch from '2026-07-04 14:34:08'::timestamp) - extract(epoch from '2026-07-04 14:34: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'), 47817, 'SRID=4674;POINT (-40.394092 -2.787469)', '2026-07-04 14:34:19', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394101 -2.787465)'), GeomFromEWKT('SRID=4674;POINT (-40.394092 -2.787469)'))) / (select extract(epoch from '2026-07-04 14:34:19'::timestamp) - extract(epoch from '2026-07-04 14:34:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394101 -2.787465)'), GeomFromEWKT('SRID=4674;POINT (-40.394092 -2.787469)'))) / (select extract(epoch from '2026-07-04 14:34:19'::timestamp) - extract(epoch from '2026-07-04 14:34: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'), 47817, 'SRID=4674;POINT (-40.394113 -2.787454)', '2026-07-04 14:34:30', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394092 -2.787469)'), GeomFromEWKT('SRID=4674;POINT (-40.394113 -2.787454)'))) / (select extract(epoch from '2026-07-04 14:34:30'::timestamp) - extract(epoch from '2026-07-04 14:34:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394092 -2.787469)'), GeomFromEWKT('SRID=4674;POINT (-40.394113 -2.787454)'))) / (select extract(epoch from '2026-07-04 14:34:30'::timestamp) - extract(epoch from '2026-07-04 14:34:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.394115 -2.787448)', '2026-07-04 14:34:41', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394113 -2.787454)'), GeomFromEWKT('SRID=4674;POINT (-40.394115 -2.787448)'))) / (select extract(epoch from '2026-07-04 14:34:41'::timestamp) - extract(epoch from '2026-07-04 14:34:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394113 -2.787454)'), GeomFromEWKT('SRID=4674;POINT (-40.394115 -2.787448)'))) / (select extract(epoch from '2026-07-04 14:34:41'::timestamp) - extract(epoch from '2026-07-04 14:34: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'), 47817, 'SRID=4674;POINT (-40.394168 -2.787447)', '2026-07-04 14:34:48', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394115 -2.787448)'), GeomFromEWKT('SRID=4674;POINT (-40.394168 -2.787447)'))) / (select extract(epoch from '2026-07-04 14:34:48'::timestamp) - extract(epoch from '2026-07-04 14:34:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394115 -2.787448)'), GeomFromEWKT('SRID=4674;POINT (-40.394168 -2.787447)'))) / (select extract(epoch from '2026-07-04 14:34:48'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.394202 -2.787441)', '2026-07-04 14:34:54', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394168 -2.787447)'), GeomFromEWKT('SRID=4674;POINT (-40.394202 -2.787441)'))) / (select extract(epoch from '2026-07-04 14:34:54'::timestamp) - extract(epoch from '2026-07-04 14:34:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394168 -2.787447)'), GeomFromEWKT('SRID=4674;POINT (-40.394202 -2.787441)'))) / (select extract(epoch from '2026-07-04 14:34:54'::timestamp) - extract(epoch from '2026-07-04 14:34:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.394251 -2.787436)', '2026-07-04 14:35:01', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394202 -2.787441)'), GeomFromEWKT('SRID=4674;POINT (-40.394251 -2.787436)'))) / (select extract(epoch from '2026-07-04 14:35:01'::timestamp) - extract(epoch from '2026-07-04 14:34:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394202 -2.787441)'), GeomFromEWKT('SRID=4674;POINT (-40.394251 -2.787436)'))) / (select extract(epoch from '2026-07-04 14:35:01'::timestamp) - extract(epoch from '2026-07-04 14:34: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'), 47817, 'SRID=4674;POINT (-40.394251 -2.787413)', '2026-07-04 14:35:07', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394251 -2.787436)'), GeomFromEWKT('SRID=4674;POINT (-40.394251 -2.787413)'))) / (select extract(epoch from '2026-07-04 14:35:07'::timestamp) - extract(epoch from '2026-07-04 14:35:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394251 -2.787436)'), GeomFromEWKT('SRID=4674;POINT (-40.394251 -2.787413)'))) / (select extract(epoch from '2026-07-04 14:35:07'::timestamp) - extract(epoch from '2026-07-04 14:35: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'), 47817, 'SRID=4674;POINT (-40.394289 -2.787394)', '2026-07-04 14:35:15', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394251 -2.787413)'), GeomFromEWKT('SRID=4674;POINT (-40.394289 -2.787394)'))) / (select extract(epoch from '2026-07-04 14:35:15'::timestamp) - extract(epoch from '2026-07-04 14:35:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394251 -2.787413)'), GeomFromEWKT('SRID=4674;POINT (-40.394289 -2.787394)'))) / (select extract(epoch from '2026-07-04 14:35:15'::timestamp) - extract(epoch from '2026-07-04 14:35:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.394292 -2.787371)', '2026-07-04 14:35:18', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394289 -2.787394)'), GeomFromEWKT('SRID=4674;POINT (-40.394292 -2.787371)'))) / (select extract(epoch from '2026-07-04 14:35:18'::timestamp) - extract(epoch from '2026-07-04 14:35:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394289 -2.787394)'), GeomFromEWKT('SRID=4674;POINT (-40.394292 -2.787371)'))) / (select extract(epoch from '2026-07-04 14:35:18'::timestamp) - extract(epoch from '2026-07-04 14:35: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'), 47817, 'SRID=4674;POINT (-40.394282 -2.78734)', '2026-07-04 14:35:20', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394292 -2.787371)'), GeomFromEWKT('SRID=4674;POINT (-40.394282 -2.78734)'))) / (select extract(epoch from '2026-07-04 14:35:20'::timestamp) - extract(epoch from '2026-07-04 14:35:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394292 -2.787371)'), GeomFromEWKT('SRID=4674;POINT (-40.394282 -2.78734)'))) / (select extract(epoch from '2026-07-04 14:35:20'::timestamp) - extract(epoch from '2026-07-04 14:35:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.394257 -2.787302)', '2026-07-04 14:35:23', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394282 -2.78734)'), GeomFromEWKT('SRID=4674;POINT (-40.394257 -2.787302)'))) / (select extract(epoch from '2026-07-04 14:35:23'::timestamp) - extract(epoch from '2026-07-04 14:35:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394282 -2.78734)'), GeomFromEWKT('SRID=4674;POINT (-40.394257 -2.787302)'))) / (select extract(epoch from '2026-07-04 14:35:23'::timestamp) - extract(epoch from '2026-07-04 14:35: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'), 47817, 'SRID=4674;POINT (-40.394246 -2.78729)', '2026-07-04 14:35:24', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394257 -2.787302)'), GeomFromEWKT('SRID=4674;POINT (-40.394246 -2.78729)'))) / (select extract(epoch from '2026-07-04 14:35:24'::timestamp) - extract(epoch from '2026-07-04 14:35:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394257 -2.787302)'), GeomFromEWKT('SRID=4674;POINT (-40.394246 -2.78729)'))) / (select extract(epoch from '2026-07-04 14:35:24'::timestamp) - extract(epoch from '2026-07-04 14:35: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'), 47817, 'SRID=4674;POINT (-40.39416 -2.787261)', '2026-07-04 14:35:31', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394246 -2.78729)'), GeomFromEWKT('SRID=4674;POINT (-40.39416 -2.787261)'))) / (select extract(epoch from '2026-07-04 14:35:31'::timestamp) - extract(epoch from '2026-07-04 14:35:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394246 -2.78729)'), GeomFromEWKT('SRID=4674;POINT (-40.39416 -2.787261)'))) / (select extract(epoch from '2026-07-04 14:35:31'::timestamp) - extract(epoch from '2026-07-04 14:35: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'), 47817, 'SRID=4674;POINT (-40.394059 -2.7873)', '2026-07-04 14:35:38', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39416 -2.787261)'), GeomFromEWKT('SRID=4674;POINT (-40.394059 -2.7873)'))) / (select extract(epoch from '2026-07-04 14:35:38'::timestamp) - extract(epoch from '2026-07-04 14:35:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39416 -2.787261)'), GeomFromEWKT('SRID=4674;POINT (-40.394059 -2.7873)'))) / (select extract(epoch from '2026-07-04 14:35:38'::timestamp) - extract(epoch from '2026-07-04 14:35: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'), 47817, 'SRID=4674;POINT (-40.393937 -2.78727)', '2026-07-04 14:35:46', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394059 -2.7873)'), GeomFromEWKT('SRID=4674;POINT (-40.393937 -2.78727)'))) / (select extract(epoch from '2026-07-04 14:35:46'::timestamp) - extract(epoch from '2026-07-04 14:35:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394059 -2.7873)'), GeomFromEWKT('SRID=4674;POINT (-40.393937 -2.78727)'))) / (select extract(epoch from '2026-07-04 14:35:46'::timestamp) - extract(epoch from '2026-07-04 14:35: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'), 47817, 'SRID=4674;POINT (-40.393872 -2.787196)', '2026-07-04 14:35:54', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393937 -2.78727)'), GeomFromEWKT('SRID=4674;POINT (-40.393872 -2.787196)'))) / (select extract(epoch from '2026-07-04 14:35:54'::timestamp) - extract(epoch from '2026-07-04 14:35:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393937 -2.78727)'), GeomFromEWKT('SRID=4674;POINT (-40.393872 -2.787196)'))) / (select extract(epoch from '2026-07-04 14:35:54'::timestamp) - extract(epoch from '2026-07-04 14:35: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'), 47817, 'SRID=4674;POINT (-40.393778 -2.787104)', '2026-07-04 14:36:04', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393872 -2.787196)'), GeomFromEWKT('SRID=4674;POINT (-40.393778 -2.787104)'))) / (select extract(epoch from '2026-07-04 14:36:04'::timestamp) - extract(epoch from '2026-07-04 14:35:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393872 -2.787196)'), GeomFromEWKT('SRID=4674;POINT (-40.393778 -2.787104)'))) / (select extract(epoch from '2026-07-04 14:36:04'::timestamp) - extract(epoch from '2026-07-04 14:35: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'), 47817, 'SRID=4674;POINT (-40.393596 -2.787072)', '2026-07-04 14:36:11', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393778 -2.787104)'), GeomFromEWKT('SRID=4674;POINT (-40.393596 -2.787072)'))) / (select extract(epoch from '2026-07-04 14:36:11'::timestamp) - extract(epoch from '2026-07-04 14:36:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393778 -2.787104)'), GeomFromEWKT('SRID=4674;POINT (-40.393596 -2.787072)'))) / (select extract(epoch from '2026-07-04 14:36:11'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.393546 -2.787022)', '2026-07-04 14:36:19', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393596 -2.787072)'), GeomFromEWKT('SRID=4674;POINT (-40.393546 -2.787022)'))) / (select extract(epoch from '2026-07-04 14:36:19'::timestamp) - extract(epoch from '2026-07-04 14:36:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393596 -2.787072)'), GeomFromEWKT('SRID=4674;POINT (-40.393546 -2.787022)'))) / (select extract(epoch from '2026-07-04 14:36:19'::timestamp) - extract(epoch from '2026-07-04 14:36: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'), 47817, 'SRID=4674;POINT (-40.393534 -2.786992)', '2026-07-04 14:36:25', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393546 -2.787022)'), GeomFromEWKT('SRID=4674;POINT (-40.393534 -2.786992)'))) / (select extract(epoch from '2026-07-04 14:36:25'::timestamp) - extract(epoch from '2026-07-04 14:36:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393546 -2.787022)'), GeomFromEWKT('SRID=4674;POINT (-40.393534 -2.786992)'))) / (select extract(epoch from '2026-07-04 14:36:25'::timestamp) - extract(epoch from '2026-07-04 14:36: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'), 47817, 'SRID=4674;POINT (-40.393501 -2.786969)', '2026-07-04 14:36:32', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393534 -2.786992)'), GeomFromEWKT('SRID=4674;POINT (-40.393501 -2.786969)'))) / (select extract(epoch from '2026-07-04 14:36:32'::timestamp) - extract(epoch from '2026-07-04 14:36:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393534 -2.786992)'), GeomFromEWKT('SRID=4674;POINT (-40.393501 -2.786969)'))) / (select extract(epoch from '2026-07-04 14:36:32'::timestamp) - extract(epoch from '2026-07-04 14:36: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'), 47817, 'SRID=4674;POINT (-40.3935 -2.786966)', '2026-07-04 14:36:40', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393501 -2.786969)'), GeomFromEWKT('SRID=4674;POINT (-40.3935 -2.786966)'))) / (select extract(epoch from '2026-07-04 14:36:40'::timestamp) - extract(epoch from '2026-07-04 14:36:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393501 -2.786969)'), GeomFromEWKT('SRID=4674;POINT (-40.3935 -2.786966)'))) / (select extract(epoch from '2026-07-04 14:36:40'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.393524 -2.786936)', '2026-07-04 14:36:46', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3935 -2.786966)'), GeomFromEWKT('SRID=4674;POINT (-40.393524 -2.786936)'))) / (select extract(epoch from '2026-07-04 14:36:46'::timestamp) - extract(epoch from '2026-07-04 14:36:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3935 -2.786966)'), GeomFromEWKT('SRID=4674;POINT (-40.393524 -2.786936)'))) / (select extract(epoch from '2026-07-04 14:36:46'::timestamp) - extract(epoch from '2026-07-04 14:36: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'), 47817, 'SRID=4674;POINT (-40.393544 -2.786885)', '2026-07-04 14:36:56', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393524 -2.786936)'), GeomFromEWKT('SRID=4674;POINT (-40.393544 -2.786885)'))) / (select extract(epoch from '2026-07-04 14:36:56'::timestamp) - extract(epoch from '2026-07-04 14:36:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393524 -2.786936)'), GeomFromEWKT('SRID=4674;POINT (-40.393544 -2.786885)'))) / (select extract(epoch from '2026-07-04 14:36:56'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.39355 -2.786848)', '2026-07-04 14:37:03', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393544 -2.786885)'), GeomFromEWKT('SRID=4674;POINT (-40.39355 -2.786848)'))) / (select extract(epoch from '2026-07-04 14:37:03'::timestamp) - extract(epoch from '2026-07-04 14:36:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393544 -2.786885)'), GeomFromEWKT('SRID=4674;POINT (-40.39355 -2.786848)'))) / (select extract(epoch from '2026-07-04 14:37:03'::timestamp) - extract(epoch from '2026-07-04 14:36: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'), 47817, 'SRID=4674;POINT (-40.393567 -2.786844)', '2026-07-04 14:37:07', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39355 -2.786848)'), GeomFromEWKT('SRID=4674;POINT (-40.393567 -2.786844)'))) / (select extract(epoch from '2026-07-04 14:37:07'::timestamp) - extract(epoch from '2026-07-04 14:37:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39355 -2.786848)'), GeomFromEWKT('SRID=4674;POINT (-40.393567 -2.786844)'))) / (select extract(epoch from '2026-07-04 14:37:07'::timestamp) - extract(epoch from '2026-07-04 14:37: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'), 47817, 'SRID=4674;POINT (-40.393572 -2.786836)', '2026-07-04 14:37:12', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393567 -2.786844)'), GeomFromEWKT('SRID=4674;POINT (-40.393572 -2.786836)'))) / (select extract(epoch from '2026-07-04 14:37:12'::timestamp) - extract(epoch from '2026-07-04 14:37:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393567 -2.786844)'), GeomFromEWKT('SRID=4674;POINT (-40.393572 -2.786836)'))) / (select extract(epoch from '2026-07-04 14:37:12'::timestamp) - extract(epoch from '2026-07-04 14:37: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'), 47817, 'SRID=4674;POINT (-40.393594 -2.786805)', '2026-07-04 14:37:18', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393572 -2.786836)'), GeomFromEWKT('SRID=4674;POINT (-40.393594 -2.786805)'))) / (select extract(epoch from '2026-07-04 14:37:18'::timestamp) - extract(epoch from '2026-07-04 14:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393572 -2.786836)'), GeomFromEWKT('SRID=4674;POINT (-40.393594 -2.786805)'))) / (select extract(epoch from '2026-07-04 14:37:18'::timestamp) - extract(epoch from '2026-07-04 14:37:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.393616 -2.78675)', '2026-07-04 14:37:27', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393594 -2.786805)'), GeomFromEWKT('SRID=4674;POINT (-40.393616 -2.78675)'))) / (select extract(epoch from '2026-07-04 14:37:27'::timestamp) - extract(epoch from '2026-07-04 14:37:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393594 -2.786805)'), GeomFromEWKT('SRID=4674;POINT (-40.393616 -2.78675)'))) / (select extract(epoch from '2026-07-04 14:37:27'::timestamp) - extract(epoch from '2026-07-04 14:37: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'), 47817, 'SRID=4674;POINT (-40.393617 -2.786744)', '2026-07-04 14:37:36', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393616 -2.78675)'), GeomFromEWKT('SRID=4674;POINT (-40.393617 -2.786744)'))) / (select extract(epoch from '2026-07-04 14:37:36'::timestamp) - extract(epoch from '2026-07-04 14:37:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393616 -2.78675)'), GeomFromEWKT('SRID=4674;POINT (-40.393617 -2.786744)'))) / (select extract(epoch from '2026-07-04 14:37:36'::timestamp) - extract(epoch from '2026-07-04 14:37: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'), 47817, 'SRID=4674;POINT (-40.393602 -2.786777)', '2026-07-04 14:37:38', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393617 -2.786744)'), GeomFromEWKT('SRID=4674;POINT (-40.393602 -2.786777)'))) / (select extract(epoch from '2026-07-04 14:37:38'::timestamp) - extract(epoch from '2026-07-04 14:37:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393617 -2.786744)'), GeomFromEWKT('SRID=4674;POINT (-40.393602 -2.786777)'))) / (select extract(epoch from '2026-07-04 14:37:38'::timestamp) - extract(epoch from '2026-07-04 14:37: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'), 47817, 'SRID=4674;POINT (-40.393613 -2.786825)', '2026-07-04 14:37:42', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393602 -2.786777)'), GeomFromEWKT('SRID=4674;POINT (-40.393613 -2.786825)'))) / (select extract(epoch from '2026-07-04 14:37:42'::timestamp) - extract(epoch from '2026-07-04 14:37:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393602 -2.786777)'), GeomFromEWKT('SRID=4674;POINT (-40.393613 -2.786825)'))) / (select extract(epoch from '2026-07-04 14:37:42'::timestamp) - extract(epoch from '2026-07-04 14:37:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.39359 -2.786925)', '2026-07-04 14:37:50', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393613 -2.786825)'), GeomFromEWKT('SRID=4674;POINT (-40.39359 -2.786925)'))) / (select extract(epoch from '2026-07-04 14:37:50'::timestamp) - extract(epoch from '2026-07-04 14:37:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393613 -2.786825)'), GeomFromEWKT('SRID=4674;POINT (-40.39359 -2.786925)'))) / (select extract(epoch from '2026-07-04 14:37:50'::timestamp) - extract(epoch from '2026-07-04 14:37: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'), 47817, 'SRID=4674;POINT (-40.393565 -2.786976)', '2026-07-04 14:37:58', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39359 -2.786925)'), GeomFromEWKT('SRID=4674;POINT (-40.393565 -2.786976)'))) / (select extract(epoch from '2026-07-04 14:37:58'::timestamp) - extract(epoch from '2026-07-04 14:37:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39359 -2.786925)'), GeomFromEWKT('SRID=4674;POINT (-40.393565 -2.786976)'))) / (select extract(epoch from '2026-07-04 14:37:58'::timestamp) - extract(epoch from '2026-07-04 14:37: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'), 47817, 'SRID=4674;POINT (-40.393559 -2.787027)', '2026-07-04 14:38:06', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393565 -2.786976)'), GeomFromEWKT('SRID=4674;POINT (-40.393559 -2.787027)'))) / (select extract(epoch from '2026-07-04 14:38:06'::timestamp) - extract(epoch from '2026-07-04 14:37:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393565 -2.786976)'), GeomFromEWKT('SRID=4674;POINT (-40.393559 -2.787027)'))) / (select extract(epoch from '2026-07-04 14:38:06'::timestamp) - extract(epoch from '2026-07-04 14:37:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.393559 -2.787028)', '2026-07-04 14:38:15', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393559 -2.787027)'), GeomFromEWKT('SRID=4674;POINT (-40.393559 -2.787028)'))) / (select extract(epoch from '2026-07-04 14:38:15'::timestamp) - extract(epoch from '2026-07-04 14:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393559 -2.787027)'), GeomFromEWKT('SRID=4674;POINT (-40.393559 -2.787028)'))) / (select extract(epoch from '2026-07-04 14:38:15'::timestamp) - extract(epoch from '2026-07-04 14:38: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'), 47817, 'SRID=4674;POINT (-40.393562 -2.787003)', '2026-07-04 14:38:31', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393559 -2.787028)'), GeomFromEWKT('SRID=4674;POINT (-40.393562 -2.787003)'))) / (select extract(epoch from '2026-07-04 14:38:31'::timestamp) - extract(epoch from '2026-07-04 14:38:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393559 -2.787028)'), GeomFromEWKT('SRID=4674;POINT (-40.393562 -2.787003)'))) / (select extract(epoch from '2026-07-04 14:38:31'::timestamp) - extract(epoch from '2026-07-04 14:38: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'), 47817, 'SRID=4674;POINT (-40.393595 -2.787002)', '2026-07-04 14:39:04', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393562 -2.787003)'), GeomFromEWKT('SRID=4674;POINT (-40.393595 -2.787002)'))) / (select extract(epoch from '2026-07-04 14:39:04'::timestamp) - extract(epoch from '2026-07-04 14:38:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393562 -2.787003)'), GeomFromEWKT('SRID=4674;POINT (-40.393595 -2.787002)'))) / (select extract(epoch from '2026-07-04 14:39:04'::timestamp) - extract(epoch from '2026-07-04 14:38:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.393609 -2.786998)', '2026-07-04 14:39:11', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393595 -2.787002)'), GeomFromEWKT('SRID=4674;POINT (-40.393609 -2.786998)'))) / (select extract(epoch from '2026-07-04 14:39:11'::timestamp) - extract(epoch from '2026-07-04 14:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393595 -2.787002)'), GeomFromEWKT('SRID=4674;POINT (-40.393609 -2.786998)'))) / (select extract(epoch from '2026-07-04 14:39:11'::timestamp) - extract(epoch from '2026-07-04 14:39:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.393634 -2.78697)', '2026-07-04 14:39:20', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393609 -2.786998)'), GeomFromEWKT('SRID=4674;POINT (-40.393634 -2.78697)'))) / (select extract(epoch from '2026-07-04 14:39:20'::timestamp) - extract(epoch from '2026-07-04 14:39:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393609 -2.786998)'), GeomFromEWKT('SRID=4674;POINT (-40.393634 -2.78697)'))) / (select extract(epoch from '2026-07-04 14:39:20'::timestamp) - extract(epoch from '2026-07-04 14:39: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'), 47817, 'SRID=4674;POINT (-40.393622 -2.786939)', '2026-07-04 14:39:26', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393634 -2.78697)'), GeomFromEWKT('SRID=4674;POINT (-40.393622 -2.786939)'))) / (select extract(epoch from '2026-07-04 14:39:26'::timestamp) - extract(epoch from '2026-07-04 14:39:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393634 -2.78697)'), GeomFromEWKT('SRID=4674;POINT (-40.393622 -2.786939)'))) / (select extract(epoch from '2026-07-04 14:39:26'::timestamp) - extract(epoch from '2026-07-04 14:39: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'), 47817, 'SRID=4674;POINT (-40.393575 -2.78691)', '2026-07-04 14:39:33', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393622 -2.786939)'), GeomFromEWKT('SRID=4674;POINT (-40.393575 -2.78691)'))) / (select extract(epoch from '2026-07-04 14:39:33'::timestamp) - extract(epoch from '2026-07-04 14:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393622 -2.786939)'), GeomFromEWKT('SRID=4674;POINT (-40.393575 -2.78691)'))) / (select extract(epoch from '2026-07-04 14:39:33'::timestamp) - extract(epoch from '2026-07-04 14:39: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'), 47817, 'SRID=4674;POINT (-40.393569 -2.786924)', '2026-07-04 14:39:41', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393575 -2.78691)'), GeomFromEWKT('SRID=4674;POINT (-40.393569 -2.786924)'))) / (select extract(epoch from '2026-07-04 14:39:41'::timestamp) - extract(epoch from '2026-07-04 14:39:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393575 -2.78691)'), GeomFromEWKT('SRID=4674;POINT (-40.393569 -2.786924)'))) / (select extract(epoch from '2026-07-04 14:39:41'::timestamp) - extract(epoch from '2026-07-04 14:39: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'), 47817, 'SRID=4674;POINT (-40.393602 -2.78696)', '2026-07-04 14:39:49', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393569 -2.786924)'), GeomFromEWKT('SRID=4674;POINT (-40.393602 -2.78696)'))) / (select extract(epoch from '2026-07-04 14:39:49'::timestamp) - extract(epoch from '2026-07-04 14:39:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393569 -2.786924)'), GeomFromEWKT('SRID=4674;POINT (-40.393602 -2.78696)'))) / (select extract(epoch from '2026-07-04 14:39:49'::timestamp) - extract(epoch from '2026-07-04 14:39: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'), 47817, 'SRID=4674;POINT (-40.39362 -2.787009)', '2026-07-04 14:39:58', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393602 -2.78696)'), GeomFromEWKT('SRID=4674;POINT (-40.39362 -2.787009)'))) / (select extract(epoch from '2026-07-04 14:39:58'::timestamp) - extract(epoch from '2026-07-04 14:39:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393602 -2.78696)'), GeomFromEWKT('SRID=4674;POINT (-40.39362 -2.787009)'))) / (select extract(epoch from '2026-07-04 14:39:58'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.393602 -2.787017)', '2026-07-04 14:40:13', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39362 -2.787009)'), GeomFromEWKT('SRID=4674;POINT (-40.393602 -2.787017)'))) / (select extract(epoch from '2026-07-04 14:40:13'::timestamp) - extract(epoch from '2026-07-04 14:39:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39362 -2.787009)'), GeomFromEWKT('SRID=4674;POINT (-40.393602 -2.787017)'))) / (select extract(epoch from '2026-07-04 14:40:13'::timestamp) - extract(epoch from '2026-07-04 14:39: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'), 47817, 'SRID=4674;POINT (-40.393585 -2.78703)', '2026-07-04 14:40:54', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393602 -2.787017)'), GeomFromEWKT('SRID=4674;POINT (-40.393585 -2.78703)'))) / (select extract(epoch from '2026-07-04 14:40:54'::timestamp) - extract(epoch from '2026-07-04 14:40:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393602 -2.787017)'), GeomFromEWKT('SRID=4674;POINT (-40.393585 -2.78703)'))) / (select extract(epoch from '2026-07-04 14:40:54'::timestamp) - extract(epoch from '2026-07-04 14:40: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'), 47817, 'SRID=4674;POINT (-40.393626 -2.786995)', '2026-07-04 14:41:46', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393585 -2.78703)'), GeomFromEWKT('SRID=4674;POINT (-40.393626 -2.786995)'))) / (select extract(epoch from '2026-07-04 14:41:46'::timestamp) - extract(epoch from '2026-07-04 14:40:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393585 -2.78703)'), GeomFromEWKT('SRID=4674;POINT (-40.393626 -2.786995)'))) / (select extract(epoch from '2026-07-04 14:41:46'::timestamp) - extract(epoch from '2026-07-04 14:40: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'), 47817, 'SRID=4674;POINT (-40.393651 -2.786961)', '2026-07-04 14:41:56', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393626 -2.786995)'), GeomFromEWKT('SRID=4674;POINT (-40.393651 -2.786961)'))) / (select extract(epoch from '2026-07-04 14:41:56'::timestamp) - extract(epoch from '2026-07-04 14:41:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393626 -2.786995)'), GeomFromEWKT('SRID=4674;POINT (-40.393651 -2.786961)'))) / (select extract(epoch from '2026-07-04 14:41:56'::timestamp) - extract(epoch from '2026-07-04 14:41:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.393716 -2.786916)', '2026-07-04 14:42:09', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393651 -2.786961)'), GeomFromEWKT('SRID=4674;POINT (-40.393716 -2.786916)'))) / (select extract(epoch from '2026-07-04 14:42:09'::timestamp) - extract(epoch from '2026-07-04 14:41:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393651 -2.786961)'), GeomFromEWKT('SRID=4674;POINT (-40.393716 -2.786916)'))) / (select extract(epoch from '2026-07-04 14:42:09'::timestamp) - extract(epoch from '2026-07-04 14:41: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'), 47817, 'SRID=4674;POINT (-40.393702 -2.786833)', '2026-07-04 14:42:22', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393716 -2.786916)'), GeomFromEWKT('SRID=4674;POINT (-40.393702 -2.786833)'))) / (select extract(epoch from '2026-07-04 14:42:22'::timestamp) - extract(epoch from '2026-07-04 14:42:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393716 -2.786916)'), GeomFromEWKT('SRID=4674;POINT (-40.393702 -2.786833)'))) / (select extract(epoch from '2026-07-04 14:42:22'::timestamp) - extract(epoch from '2026-07-04 14:42: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'), 47817, 'SRID=4674;POINT (-40.393652 -2.78688)', '2026-07-04 14:42:33', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393702 -2.786833)'), GeomFromEWKT('SRID=4674;POINT (-40.393652 -2.78688)'))) / (select extract(epoch from '2026-07-04 14:42:33'::timestamp) - extract(epoch from '2026-07-04 14:42:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393702 -2.786833)'), GeomFromEWKT('SRID=4674;POINT (-40.393652 -2.78688)'))) / (select extract(epoch from '2026-07-04 14:42:33'::timestamp) - extract(epoch from '2026-07-04 14:42: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'), 47817, 'SRID=4674;POINT (-40.393621 -2.786967)', '2026-07-04 14:42:42', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393652 -2.78688)'), GeomFromEWKT('SRID=4674;POINT (-40.393621 -2.786967)'))) / (select extract(epoch from '2026-07-04 14:42:42'::timestamp) - extract(epoch from '2026-07-04 14:42:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393652 -2.78688)'), GeomFromEWKT('SRID=4674;POINT (-40.393621 -2.786967)'))) / (select extract(epoch from '2026-07-04 14:42:42'::timestamp) - extract(epoch from '2026-07-04 14:42:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.393608 -2.787044)', '2026-07-04 14:42:51', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393621 -2.786967)'), GeomFromEWKT('SRID=4674;POINT (-40.393608 -2.787044)'))) / (select extract(epoch from '2026-07-04 14:42:51'::timestamp) - extract(epoch from '2026-07-04 14:42:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393621 -2.786967)'), GeomFromEWKT('SRID=4674;POINT (-40.393608 -2.787044)'))) / (select extract(epoch from '2026-07-04 14:42:51'::timestamp) - extract(epoch from '2026-07-04 14:42: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'), 47817, 'SRID=4674;POINT (-40.393596 -2.787074)', '2026-07-04 14:42:59', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393608 -2.787044)'), GeomFromEWKT('SRID=4674;POINT (-40.393596 -2.787074)'))) / (select extract(epoch from '2026-07-04 14:42:59'::timestamp) - extract(epoch from '2026-07-04 14:42:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393608 -2.787044)'), GeomFromEWKT('SRID=4674;POINT (-40.393596 -2.787074)'))) / (select extract(epoch from '2026-07-04 14:42:59'::timestamp) - extract(epoch from '2026-07-04 14:42:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.393595 -2.787065)', '2026-07-04 14:43:07', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393596 -2.787074)'), GeomFromEWKT('SRID=4674;POINT (-40.393595 -2.787065)'))) / (select extract(epoch from '2026-07-04 14:43:07'::timestamp) - extract(epoch from '2026-07-04 14:42:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393596 -2.787074)'), GeomFromEWKT('SRID=4674;POINT (-40.393595 -2.787065)'))) / (select extract(epoch from '2026-07-04 14:43:07'::timestamp) - extract(epoch from '2026-07-04 14:42: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'), 47817, 'SRID=4674;POINT (-40.393584 -2.787075)', '2026-07-04 14:43:14', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393595 -2.787065)'), GeomFromEWKT('SRID=4674;POINT (-40.393584 -2.787075)'))) / (select extract(epoch from '2026-07-04 14:43:14'::timestamp) - extract(epoch from '2026-07-04 14:43:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393595 -2.787065)'), GeomFromEWKT('SRID=4674;POINT (-40.393584 -2.787075)'))) / (select extract(epoch from '2026-07-04 14:43:14'::timestamp) - extract(epoch from '2026-07-04 14:43: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'), 47817, 'SRID=4674;POINT (-40.393592 -2.787078)', '2026-07-04 14:43:22', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393584 -2.787075)'), GeomFromEWKT('SRID=4674;POINT (-40.393592 -2.787078)'))) / (select extract(epoch from '2026-07-04 14:43:22'::timestamp) - extract(epoch from '2026-07-04 14:43:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393584 -2.787075)'), GeomFromEWKT('SRID=4674;POINT (-40.393592 -2.787078)'))) / (select extract(epoch from '2026-07-04 14:43:22'::timestamp) - extract(epoch from '2026-07-04 14:43: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'), 47817, 'SRID=4674;POINT (-40.393593 -2.787083)', '2026-07-04 14:43:30', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393592 -2.787078)'), GeomFromEWKT('SRID=4674;POINT (-40.393593 -2.787083)'))) / (select extract(epoch from '2026-07-04 14:43:30'::timestamp) - extract(epoch from '2026-07-04 14:43:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393592 -2.787078)'), GeomFromEWKT('SRID=4674;POINT (-40.393593 -2.787083)'))) / (select extract(epoch from '2026-07-04 14:43:30'::timestamp) - extract(epoch from '2026-07-04 14:43:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.393613 -2.787078)', '2026-07-04 14:43:36', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393593 -2.787083)'), GeomFromEWKT('SRID=4674;POINT (-40.393613 -2.787078)'))) / (select extract(epoch from '2026-07-04 14:43:36'::timestamp) - extract(epoch from '2026-07-04 14:43:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393593 -2.787083)'), GeomFromEWKT('SRID=4674;POINT (-40.393613 -2.787078)'))) / (select extract(epoch from '2026-07-04 14:43:36'::timestamp) - extract(epoch from '2026-07-04 14:43:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.393637 -2.787083)', '2026-07-04 14:43:43', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393613 -2.787078)'), GeomFromEWKT('SRID=4674;POINT (-40.393637 -2.787083)'))) / (select extract(epoch from '2026-07-04 14:43:43'::timestamp) - extract(epoch from '2026-07-04 14:43:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393613 -2.787078)'), GeomFromEWKT('SRID=4674;POINT (-40.393637 -2.787083)'))) / (select extract(epoch from '2026-07-04 14:43:43'::timestamp) - extract(epoch from '2026-07-04 14:43:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.393654 -2.787051)', '2026-07-04 14:43:52', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393637 -2.787083)'), GeomFromEWKT('SRID=4674;POINT (-40.393654 -2.787051)'))) / (select extract(epoch from '2026-07-04 14:43:52'::timestamp) - extract(epoch from '2026-07-04 14:43:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393637 -2.787083)'), GeomFromEWKT('SRID=4674;POINT (-40.393654 -2.787051)'))) / (select extract(epoch from '2026-07-04 14:43:52'::timestamp) - extract(epoch from '2026-07-04 14:43:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.393719 -2.787029)', '2026-07-04 14:44:03', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393654 -2.787051)'), GeomFromEWKT('SRID=4674;POINT (-40.393719 -2.787029)'))) / (select extract(epoch from '2026-07-04 14:44:03'::timestamp) - extract(epoch from '2026-07-04 14:43:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393654 -2.787051)'), GeomFromEWKT('SRID=4674;POINT (-40.393719 -2.787029)'))) / (select extract(epoch from '2026-07-04 14:44:03'::timestamp) - extract(epoch from '2026-07-04 14:43: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'), 47817, 'SRID=4674;POINT (-40.393728 -2.786949)', '2026-07-04 14:44:11', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393719 -2.787029)'), GeomFromEWKT('SRID=4674;POINT (-40.393728 -2.786949)'))) / (select extract(epoch from '2026-07-04 14:44:11'::timestamp) - extract(epoch from '2026-07-04 14:44:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393719 -2.787029)'), GeomFromEWKT('SRID=4674;POINT (-40.393728 -2.786949)'))) / (select extract(epoch from '2026-07-04 14:44:11'::timestamp) - extract(epoch from '2026-07-04 14:44: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'), 47817, 'SRID=4674;POINT (-40.393696 -2.786836)', '2026-07-04 14:44:19', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393728 -2.786949)'), GeomFromEWKT('SRID=4674;POINT (-40.393696 -2.786836)'))) / (select extract(epoch from '2026-07-04 14:44:19'::timestamp) - extract(epoch from '2026-07-04 14:44:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393728 -2.786949)'), GeomFromEWKT('SRID=4674;POINT (-40.393696 -2.786836)'))) / (select extract(epoch from '2026-07-04 14:44:19'::timestamp) - extract(epoch from '2026-07-04 14:44: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'), 47817, 'SRID=4674;POINT (-40.393615 -2.786757)', '2026-07-04 14:44:26', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393696 -2.786836)'), GeomFromEWKT('SRID=4674;POINT (-40.393615 -2.786757)'))) / (select extract(epoch from '2026-07-04 14:44:26'::timestamp) - extract(epoch from '2026-07-04 14:44:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393696 -2.786836)'), GeomFromEWKT('SRID=4674;POINT (-40.393615 -2.786757)'))) / (select extract(epoch from '2026-07-04 14:44:26'::timestamp) - extract(epoch from '2026-07-04 14:44: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'), 47817, 'SRID=4674;POINT (-40.393552 -2.786705)', '2026-07-04 14:44:32', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393615 -2.786757)'), GeomFromEWKT('SRID=4674;POINT (-40.393552 -2.786705)'))) / (select extract(epoch from '2026-07-04 14:44:32'::timestamp) - extract(epoch from '2026-07-04 14:44:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393615 -2.786757)'), GeomFromEWKT('SRID=4674;POINT (-40.393552 -2.786705)'))) / (select extract(epoch from '2026-07-04 14:44:32'::timestamp) - extract(epoch from '2026-07-04 14:44:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.393496 -2.786674)', '2026-07-04 14:44:40', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393552 -2.786705)'), GeomFromEWKT('SRID=4674;POINT (-40.393496 -2.786674)'))) / (select extract(epoch from '2026-07-04 14:44:40'::timestamp) - extract(epoch from '2026-07-04 14:44:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393552 -2.786705)'), GeomFromEWKT('SRID=4674;POINT (-40.393496 -2.786674)'))) / (select extract(epoch from '2026-07-04 14:44:40'::timestamp) - extract(epoch from '2026-07-04 14:44: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'), 47817, 'SRID=4674;POINT (-40.393454 -2.786638)', '2026-07-04 14:44:47', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393496 -2.786674)'), GeomFromEWKT('SRID=4674;POINT (-40.393454 -2.786638)'))) / (select extract(epoch from '2026-07-04 14:44:47'::timestamp) - extract(epoch from '2026-07-04 14:44:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393496 -2.786674)'), GeomFromEWKT('SRID=4674;POINT (-40.393454 -2.786638)'))) / (select extract(epoch from '2026-07-04 14:44:47'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.393386 -2.786623)', '2026-07-04 14:44:55', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393454 -2.786638)'), GeomFromEWKT('SRID=4674;POINT (-40.393386 -2.786623)'))) / (select extract(epoch from '2026-07-04 14:44:55'::timestamp) - extract(epoch from '2026-07-04 14:44:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393454 -2.786638)'), GeomFromEWKT('SRID=4674;POINT (-40.393386 -2.786623)'))) / (select extract(epoch from '2026-07-04 14:44:55'::timestamp) - extract(epoch from '2026-07-04 14:44: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'), 47817, 'SRID=4674;POINT (-40.393341 -2.786614)', '2026-07-04 14:45:04', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393386 -2.786623)'), GeomFromEWKT('SRID=4674;POINT (-40.393341 -2.786614)'))) / (select extract(epoch from '2026-07-04 14:45:04'::timestamp) - extract(epoch from '2026-07-04 14:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393386 -2.786623)'), GeomFromEWKT('SRID=4674;POINT (-40.393341 -2.786614)'))) / (select extract(epoch from '2026-07-04 14:45:04'::timestamp) - extract(epoch from '2026-07-04 14:44: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'), 47817, 'SRID=4674;POINT (-40.393372 -2.786581)', '2026-07-04 14:45:14', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393341 -2.786614)'), GeomFromEWKT('SRID=4674;POINT (-40.393372 -2.786581)'))) / (select extract(epoch from '2026-07-04 14:45:14'::timestamp) - extract(epoch from '2026-07-04 14:45:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393341 -2.786614)'), GeomFromEWKT('SRID=4674;POINT (-40.393372 -2.786581)'))) / (select extract(epoch from '2026-07-04 14:45:14'::timestamp) - extract(epoch from '2026-07-04 14:45: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'), 47817, 'SRID=4674;POINT (-40.39339 -2.786554)', '2026-07-04 14:45:21', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393372 -2.786581)'), GeomFromEWKT('SRID=4674;POINT (-40.39339 -2.786554)'))) / (select extract(epoch from '2026-07-04 14:45:21'::timestamp) - extract(epoch from '2026-07-04 14:45:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393372 -2.786581)'), GeomFromEWKT('SRID=4674;POINT (-40.39339 -2.786554)'))) / (select extract(epoch from '2026-07-04 14:45:21'::timestamp) - extract(epoch from '2026-07-04 14:45: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'), 47817, 'SRID=4674;POINT (-40.393433 -2.786538)', '2026-07-04 14:45:29', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39339 -2.786554)'), GeomFromEWKT('SRID=4674;POINT (-40.393433 -2.786538)'))) / (select extract(epoch from '2026-07-04 14:45:29'::timestamp) - extract(epoch from '2026-07-04 14:45:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39339 -2.786554)'), GeomFromEWKT('SRID=4674;POINT (-40.393433 -2.786538)'))) / (select extract(epoch from '2026-07-04 14:45:29'::timestamp) - extract(epoch from '2026-07-04 14:45: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'), 47817, 'SRID=4674;POINT (-40.393501 -2.786534)', '2026-07-04 14:45:37', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393433 -2.786538)'), GeomFromEWKT('SRID=4674;POINT (-40.393501 -2.786534)'))) / (select extract(epoch from '2026-07-04 14:45:37'::timestamp) - extract(epoch from '2026-07-04 14:45:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393433 -2.786538)'), GeomFromEWKT('SRID=4674;POINT (-40.393501 -2.786534)'))) / (select extract(epoch from '2026-07-04 14:45:37'::timestamp) - extract(epoch from '2026-07-04 14:45: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'), 47817, 'SRID=4674;POINT (-40.393516 -2.786503)', '2026-07-04 14:45:44', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393501 -2.786534)'), GeomFromEWKT('SRID=4674;POINT (-40.393516 -2.786503)'))) / (select extract(epoch from '2026-07-04 14:45:44'::timestamp) - extract(epoch from '2026-07-04 14:45:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393501 -2.786534)'), GeomFromEWKT('SRID=4674;POINT (-40.393516 -2.786503)'))) / (select extract(epoch from '2026-07-04 14:45:44'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.393534 -2.78645)', '2026-07-04 14:45:51', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393516 -2.786503)'), GeomFromEWKT('SRID=4674;POINT (-40.393534 -2.78645)'))) / (select extract(epoch from '2026-07-04 14:45:51'::timestamp) - extract(epoch from '2026-07-04 14:45:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393516 -2.786503)'), GeomFromEWKT('SRID=4674;POINT (-40.393534 -2.78645)'))) / (select extract(epoch from '2026-07-04 14:45:51'::timestamp) - extract(epoch from '2026-07-04 14:45: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'), 47817, 'SRID=4674;POINT (-40.393494 -2.786409)', '2026-07-04 14:45:57', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393534 -2.78645)'), GeomFromEWKT('SRID=4674;POINT (-40.393494 -2.786409)'))) / (select extract(epoch from '2026-07-04 14:45:57'::timestamp) - extract(epoch from '2026-07-04 14:45:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393534 -2.78645)'), GeomFromEWKT('SRID=4674;POINT (-40.393494 -2.786409)'))) / (select extract(epoch from '2026-07-04 14:45:57'::timestamp) - extract(epoch from '2026-07-04 14:45:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.393445 -2.786427)', '2026-07-04 14:46:04', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393494 -2.786409)'), GeomFromEWKT('SRID=4674;POINT (-40.393445 -2.786427)'))) / (select extract(epoch from '2026-07-04 14:46:04'::timestamp) - extract(epoch from '2026-07-04 14:45:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393494 -2.786409)'), GeomFromEWKT('SRID=4674;POINT (-40.393445 -2.786427)'))) / (select extract(epoch from '2026-07-04 14:46:04'::timestamp) - extract(epoch from '2026-07-04 14:45:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.393422 -2.786494)', '2026-07-04 14:46:11', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393445 -2.786427)'), GeomFromEWKT('SRID=4674;POINT (-40.393422 -2.786494)'))) / (select extract(epoch from '2026-07-04 14:46:11'::timestamp) - extract(epoch from '2026-07-04 14:46:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393445 -2.786427)'), GeomFromEWKT('SRID=4674;POINT (-40.393422 -2.786494)'))) / (select extract(epoch from '2026-07-04 14:46:11'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.393426 -2.786516)', '2026-07-04 14:46:15', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393422 -2.786494)'), GeomFromEWKT('SRID=4674;POINT (-40.393426 -2.786516)'))) / (select extract(epoch from '2026-07-04 14:46:15'::timestamp) - extract(epoch from '2026-07-04 14:46:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393422 -2.786494)'), GeomFromEWKT('SRID=4674;POINT (-40.393426 -2.786516)'))) / (select extract(epoch from '2026-07-04 14:46:15'::timestamp) - extract(epoch from '2026-07-04 14:46: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'), 47817, 'SRID=4674;POINT (-40.393444 -2.786537)', '2026-07-04 14:46:19', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393426 -2.786516)'), GeomFromEWKT('SRID=4674;POINT (-40.393444 -2.786537)'))) / (select extract(epoch from '2026-07-04 14:46:19'::timestamp) - extract(epoch from '2026-07-04 14:46:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393426 -2.786516)'), GeomFromEWKT('SRID=4674;POINT (-40.393444 -2.786537)'))) / (select extract(epoch from '2026-07-04 14:46:19'::timestamp) - extract(epoch from '2026-07-04 14:46: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'), 47817, 'SRID=4674;POINT (-40.393471 -2.786538)', '2026-07-04 14:46:27', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393444 -2.786537)'), GeomFromEWKT('SRID=4674;POINT (-40.393471 -2.786538)'))) / (select extract(epoch from '2026-07-04 14:46:27'::timestamp) - extract(epoch from '2026-07-04 14:46:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393444 -2.786537)'), GeomFromEWKT('SRID=4674;POINT (-40.393471 -2.786538)'))) / (select extract(epoch from '2026-07-04 14:46:27'::timestamp) - extract(epoch from '2026-07-04 14:46: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'), 47817, 'SRID=4674;POINT (-40.393484 -2.786552)', '2026-07-04 14:46:33', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393471 -2.786538)'), GeomFromEWKT('SRID=4674;POINT (-40.393484 -2.786552)'))) / (select extract(epoch from '2026-07-04 14:46:33'::timestamp) - extract(epoch from '2026-07-04 14:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393471 -2.786538)'), GeomFromEWKT('SRID=4674;POINT (-40.393484 -2.786552)'))) / (select extract(epoch from '2026-07-04 14:46:33'::timestamp) - extract(epoch from '2026-07-04 14:46: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'), 47817, 'SRID=4674;POINT (-40.393484 -2.786545)', '2026-07-04 14:46:45', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393484 -2.786552)'), GeomFromEWKT('SRID=4674;POINT (-40.393484 -2.786545)'))) / (select extract(epoch from '2026-07-04 14:46:45'::timestamp) - extract(epoch from '2026-07-04 14:46:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393484 -2.786552)'), GeomFromEWKT('SRID=4674;POINT (-40.393484 -2.786545)'))) / (select extract(epoch from '2026-07-04 14:46:45'::timestamp) - extract(epoch from '2026-07-04 14:46:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.393567 -2.786532)', '2026-07-04 14:47:09', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393484 -2.786545)'), GeomFromEWKT('SRID=4674;POINT (-40.393567 -2.786532)'))) / (select extract(epoch from '2026-07-04 14:47:09'::timestamp) - extract(epoch from '2026-07-04 14:46:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393484 -2.786545)'), GeomFromEWKT('SRID=4674;POINT (-40.393567 -2.786532)'))) / (select extract(epoch from '2026-07-04 14:47:09'::timestamp) - extract(epoch from '2026-07-04 14:46: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'), 47817, 'SRID=4674;POINT (-40.393575 -2.786536)', '2026-07-04 14:47:20', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393567 -2.786532)'), GeomFromEWKT('SRID=4674;POINT (-40.393575 -2.786536)'))) / (select extract(epoch from '2026-07-04 14:47:20'::timestamp) - extract(epoch from '2026-07-04 14:47:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393567 -2.786532)'), GeomFromEWKT('SRID=4674;POINT (-40.393575 -2.786536)'))) / (select extract(epoch from '2026-07-04 14:47:20'::timestamp) - extract(epoch from '2026-07-04 14:47: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'), 47817, 'SRID=4674;POINT (-40.393606 -2.78653)', '2026-07-04 14:47:27', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393575 -2.786536)'), GeomFromEWKT('SRID=4674;POINT (-40.393606 -2.78653)'))) / (select extract(epoch from '2026-07-04 14:47:27'::timestamp) - extract(epoch from '2026-07-04 14:47:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393575 -2.786536)'), GeomFromEWKT('SRID=4674;POINT (-40.393606 -2.78653)'))) / (select extract(epoch from '2026-07-04 14:47:27'::timestamp) - extract(epoch from '2026-07-04 14:47: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'), 47817, 'SRID=4674;POINT (-40.393644 -2.786526)', '2026-07-04 14:47:33', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393606 -2.78653)'), GeomFromEWKT('SRID=4674;POINT (-40.393644 -2.786526)'))) / (select extract(epoch from '2026-07-04 14:47:33'::timestamp) - extract(epoch from '2026-07-04 14:47:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393606 -2.78653)'), GeomFromEWKT('SRID=4674;POINT (-40.393644 -2.786526)'))) / (select extract(epoch from '2026-07-04 14:47:33'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.393671 -2.786522)', '2026-07-04 14:47:36', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393644 -2.786526)'), GeomFromEWKT('SRID=4674;POINT (-40.393671 -2.786522)'))) / (select extract(epoch from '2026-07-04 14:47:36'::timestamp) - extract(epoch from '2026-07-04 14:47:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393644 -2.786526)'), GeomFromEWKT('SRID=4674;POINT (-40.393671 -2.786522)'))) / (select extract(epoch from '2026-07-04 14:47:36'::timestamp) - extract(epoch from '2026-07-04 14:47:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.393686 -2.786503)', '2026-07-04 14:47:38', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393671 -2.786522)'), GeomFromEWKT('SRID=4674;POINT (-40.393686 -2.786503)'))) / (select extract(epoch from '2026-07-04 14:47:38'::timestamp) - extract(epoch from '2026-07-04 14:47:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393671 -2.786522)'), GeomFromEWKT('SRID=4674;POINT (-40.393686 -2.786503)'))) / (select extract(epoch from '2026-07-04 14:47:38'::timestamp) - extract(epoch from '2026-07-04 14:47: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'), 47817, 'SRID=4674;POINT (-40.393729 -2.786429)', '2026-07-04 14:47:44', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393686 -2.786503)'), GeomFromEWKT('SRID=4674;POINT (-40.393729 -2.786429)'))) / (select extract(epoch from '2026-07-04 14:47:44'::timestamp) - extract(epoch from '2026-07-04 14:47:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393686 -2.786503)'), GeomFromEWKT('SRID=4674;POINT (-40.393729 -2.786429)'))) / (select extract(epoch from '2026-07-04 14:47:44'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.39372 -2.786344)', '2026-07-04 14:47:50', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393729 -2.786429)'), GeomFromEWKT('SRID=4674;POINT (-40.39372 -2.786344)'))) / (select extract(epoch from '2026-07-04 14:47:50'::timestamp) - extract(epoch from '2026-07-04 14:47:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393729 -2.786429)'), GeomFromEWKT('SRID=4674;POINT (-40.39372 -2.786344)'))) / (select extract(epoch from '2026-07-04 14:47:50'::timestamp) - extract(epoch from '2026-07-04 14:47: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'), 47817, 'SRID=4674;POINT (-40.393716 -2.78634)', '2026-07-04 14:47:51', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39372 -2.786344)'), GeomFromEWKT('SRID=4674;POINT (-40.393716 -2.78634)'))) / (select extract(epoch from '2026-07-04 14:47:51'::timestamp) - extract(epoch from '2026-07-04 14:47:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39372 -2.786344)'), GeomFromEWKT('SRID=4674;POINT (-40.393716 -2.78634)'))) / (select extract(epoch from '2026-07-04 14:47:51'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.393699 -2.78633)', '2026-07-04 14:47:53', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393716 -2.78634)'), GeomFromEWKT('SRID=4674;POINT (-40.393699 -2.78633)'))) / (select extract(epoch from '2026-07-04 14:47:53'::timestamp) - extract(epoch from '2026-07-04 14:47:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393716 -2.78634)'), GeomFromEWKT('SRID=4674;POINT (-40.393699 -2.78633)'))) / (select extract(epoch from '2026-07-04 14:47:53'::timestamp) - extract(epoch from '2026-07-04 14:47: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'), 47817, 'SRID=4674;POINT (-40.393658 -2.786311)', '2026-07-04 14:47:56', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393699 -2.78633)'), GeomFromEWKT('SRID=4674;POINT (-40.393658 -2.786311)'))) / (select extract(epoch from '2026-07-04 14:47:56'::timestamp) - extract(epoch from '2026-07-04 14:47:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393699 -2.78633)'), GeomFromEWKT('SRID=4674;POINT (-40.393658 -2.786311)'))) / (select extract(epoch from '2026-07-04 14:47:56'::timestamp) - extract(epoch from '2026-07-04 14:47: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'), 47817, 'SRID=4674;POINT (-40.393508 -2.78629)', '2026-07-04 14:48:04', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393658 -2.786311)'), GeomFromEWKT('SRID=4674;POINT (-40.393508 -2.78629)'))) / (select extract(epoch from '2026-07-04 14:48:04'::timestamp) - extract(epoch from '2026-07-04 14:47:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393658 -2.786311)'), GeomFromEWKT('SRID=4674;POINT (-40.393508 -2.78629)'))) / (select extract(epoch from '2026-07-04 14:48:04'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.393381 -2.78633)', '2026-07-04 14:48:12', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393508 -2.78629)'), GeomFromEWKT('SRID=4674;POINT (-40.393381 -2.78633)'))) / (select extract(epoch from '2026-07-04 14:48:12'::timestamp) - extract(epoch from '2026-07-04 14:48:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393508 -2.78629)'), GeomFromEWKT('SRID=4674;POINT (-40.393381 -2.78633)'))) / (select extract(epoch from '2026-07-04 14:48:12'::timestamp) - extract(epoch from '2026-07-04 14:48: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'), 47817, 'SRID=4674;POINT (-40.393297 -2.786393)', '2026-07-04 14:48:19', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393381 -2.78633)'), GeomFromEWKT('SRID=4674;POINT (-40.393297 -2.786393)'))) / (select extract(epoch from '2026-07-04 14:48:19'::timestamp) - extract(epoch from '2026-07-04 14:48:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393381 -2.78633)'), GeomFromEWKT('SRID=4674;POINT (-40.393297 -2.786393)'))) / (select extract(epoch from '2026-07-04 14:48:19'::timestamp) - extract(epoch from '2026-07-04 14:48: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'), 47817, 'SRID=4674;POINT (-40.393227 -2.786438)', '2026-07-04 14:48:26', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393297 -2.786393)'), GeomFromEWKT('SRID=4674;POINT (-40.393227 -2.786438)'))) / (select extract(epoch from '2026-07-04 14:48:26'::timestamp) - extract(epoch from '2026-07-04 14:48:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393297 -2.786393)'), GeomFromEWKT('SRID=4674;POINT (-40.393227 -2.786438)'))) / (select extract(epoch from '2026-07-04 14:48:26'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.393211 -2.786455)', '2026-07-04 14:48:28', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393227 -2.786438)'), GeomFromEWKT('SRID=4674;POINT (-40.393211 -2.786455)'))) / (select extract(epoch from '2026-07-04 14:48:28'::timestamp) - extract(epoch from '2026-07-04 14:48:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393227 -2.786438)'), GeomFromEWKT('SRID=4674;POINT (-40.393211 -2.786455)'))) / (select extract(epoch from '2026-07-04 14:48:28'::timestamp) - extract(epoch from '2026-07-04 14:48:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.393179 -2.786489)', '2026-07-04 14:48:31', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393211 -2.786455)'), GeomFromEWKT('SRID=4674;POINT (-40.393179 -2.786489)'))) / (select extract(epoch from '2026-07-04 14:48:31'::timestamp) - extract(epoch from '2026-07-04 14:48:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393211 -2.786455)'), GeomFromEWKT('SRID=4674;POINT (-40.393179 -2.786489)'))) / (select extract(epoch from '2026-07-04 14:48:31'::timestamp) - extract(epoch from '2026-07-04 14:48:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.393132 -2.786581)', '2026-07-04 14:48:38', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393179 -2.786489)'), GeomFromEWKT('SRID=4674;POINT (-40.393132 -2.786581)'))) / (select extract(epoch from '2026-07-04 14:48:38'::timestamp) - extract(epoch from '2026-07-04 14:48:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393179 -2.786489)'), GeomFromEWKT('SRID=4674;POINT (-40.393132 -2.786581)'))) / (select extract(epoch from '2026-07-04 14:48:38'::timestamp) - extract(epoch from '2026-07-04 14:48: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'), 47817, 'SRID=4674;POINT (-40.393129 -2.7866)', '2026-07-04 14:48:39', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393132 -2.786581)'), GeomFromEWKT('SRID=4674;POINT (-40.393129 -2.7866)'))) / (select extract(epoch from '2026-07-04 14:48:39'::timestamp) - extract(epoch from '2026-07-04 14:48:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393132 -2.786581)'), GeomFromEWKT('SRID=4674;POINT (-40.393129 -2.7866)'))) / (select extract(epoch from '2026-07-04 14:48:39'::timestamp) - extract(epoch from '2026-07-04 14:48: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'), 47817, 'SRID=4674;POINT (-40.393078 -2.78669)', '2026-07-04 14:48:47', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393129 -2.7866)'), GeomFromEWKT('SRID=4674;POINT (-40.393078 -2.78669)'))) / (select extract(epoch from '2026-07-04 14:48:47'::timestamp) - extract(epoch from '2026-07-04 14:48:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393129 -2.7866)'), GeomFromEWKT('SRID=4674;POINT (-40.393078 -2.78669)'))) / (select extract(epoch from '2026-07-04 14:48:47'::timestamp) - extract(epoch from '2026-07-04 14:48: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'), 47817, 'SRID=4674;POINT (-40.392982 -2.786724)', '2026-07-04 14:48:55', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393078 -2.78669)'), GeomFromEWKT('SRID=4674;POINT (-40.392982 -2.786724)'))) / (select extract(epoch from '2026-07-04 14:48:55'::timestamp) - extract(epoch from '2026-07-04 14:48:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393078 -2.78669)'), GeomFromEWKT('SRID=4674;POINT (-40.392982 -2.786724)'))) / (select extract(epoch from '2026-07-04 14:48:55'::timestamp) - extract(epoch from '2026-07-04 14:48: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'), 47817, 'SRID=4674;POINT (-40.392867 -2.786711)', '2026-07-04 14:49:02', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392982 -2.786724)'), GeomFromEWKT('SRID=4674;POINT (-40.392867 -2.786711)'))) / (select extract(epoch from '2026-07-04 14:49:02'::timestamp) - extract(epoch from '2026-07-04 14:48:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392982 -2.786724)'), GeomFromEWKT('SRID=4674;POINT (-40.392867 -2.786711)'))) / (select extract(epoch from '2026-07-04 14:49:02'::timestamp) - extract(epoch from '2026-07-04 14:48: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'), 47817, 'SRID=4674;POINT (-40.392807 -2.786714)', '2026-07-04 14:49:06', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392867 -2.786711)'), GeomFromEWKT('SRID=4674;POINT (-40.392807 -2.786714)'))) / (select extract(epoch from '2026-07-04 14:49:06'::timestamp) - extract(epoch from '2026-07-04 14:49:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392867 -2.786711)'), GeomFromEWKT('SRID=4674;POINT (-40.392807 -2.786714)'))) / (select extract(epoch from '2026-07-04 14:49:06'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.392765 -2.786727)', '2026-07-04 14:49:09', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392807 -2.786714)'), GeomFromEWKT('SRID=4674;POINT (-40.392765 -2.786727)'))) / (select extract(epoch from '2026-07-04 14:49:09'::timestamp) - extract(epoch from '2026-07-04 14:49:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392807 -2.786714)'), GeomFromEWKT('SRID=4674;POINT (-40.392765 -2.786727)'))) / (select extract(epoch from '2026-07-04 14:49:09'::timestamp) - extract(epoch from '2026-07-04 14:49:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.392648 -2.786723)', '2026-07-04 14:49:17', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392765 -2.786727)'), GeomFromEWKT('SRID=4674;POINT (-40.392648 -2.786723)'))) / (select extract(epoch from '2026-07-04 14:49:17'::timestamp) - extract(epoch from '2026-07-04 14:49:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392765 -2.786727)'), GeomFromEWKT('SRID=4674;POINT (-40.392648 -2.786723)'))) / (select extract(epoch from '2026-07-04 14:49:17'::timestamp) - extract(epoch from '2026-07-04 14:49:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.392577 -2.786726)', '2026-07-04 14:49:26', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392648 -2.786723)'), GeomFromEWKT('SRID=4674;POINT (-40.392577 -2.786726)'))) / (select extract(epoch from '2026-07-04 14:49:26'::timestamp) - extract(epoch from '2026-07-04 14:49:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392648 -2.786723)'), GeomFromEWKT('SRID=4674;POINT (-40.392577 -2.786726)'))) / (select extract(epoch from '2026-07-04 14:49:26'::timestamp) - extract(epoch from '2026-07-04 14:49:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.392506 -2.786741)', '2026-07-04 14:49:33', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392577 -2.786726)'), GeomFromEWKT('SRID=4674;POINT (-40.392506 -2.786741)'))) / (select extract(epoch from '2026-07-04 14:49:33'::timestamp) - extract(epoch from '2026-07-04 14:49:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392577 -2.786726)'), GeomFromEWKT('SRID=4674;POINT (-40.392506 -2.786741)'))) / (select extract(epoch from '2026-07-04 14:49:33'::timestamp) - extract(epoch from '2026-07-04 14:49: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'), 47817, 'SRID=4674;POINT (-40.392453 -2.786756)', '2026-07-04 14:49:39', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392506 -2.786741)'), GeomFromEWKT('SRID=4674;POINT (-40.392453 -2.786756)'))) / (select extract(epoch from '2026-07-04 14:49:39'::timestamp) - extract(epoch from '2026-07-04 14:49:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392506 -2.786741)'), GeomFromEWKT('SRID=4674;POINT (-40.392453 -2.786756)'))) / (select extract(epoch from '2026-07-04 14:49:39'::timestamp) - extract(epoch from '2026-07-04 14:49:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.392437 -2.786766)', '2026-07-04 14:49:41', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392453 -2.786756)'), GeomFromEWKT('SRID=4674;POINT (-40.392437 -2.786766)'))) / (select extract(epoch from '2026-07-04 14:49:41'::timestamp) - extract(epoch from '2026-07-04 14:49:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392453 -2.786756)'), GeomFromEWKT('SRID=4674;POINT (-40.392437 -2.786766)'))) / (select extract(epoch from '2026-07-04 14:49:41'::timestamp) - extract(epoch from '2026-07-04 14:49: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'), 47817, 'SRID=4674;POINT (-40.392409 -2.786802)', '2026-07-04 14:49:45', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392437 -2.786766)'), GeomFromEWKT('SRID=4674;POINT (-40.392409 -2.786802)'))) / (select extract(epoch from '2026-07-04 14:49:45'::timestamp) - extract(epoch from '2026-07-04 14:49:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392437 -2.786766)'), GeomFromEWKT('SRID=4674;POINT (-40.392409 -2.786802)'))) / (select extract(epoch from '2026-07-04 14:49:45'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.392398 -2.786858)', '2026-07-04 14:49:51', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392409 -2.786802)'), GeomFromEWKT('SRID=4674;POINT (-40.392398 -2.786858)'))) / (select extract(epoch from '2026-07-04 14:49:51'::timestamp) - extract(epoch from '2026-07-04 14:49:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392409 -2.786802)'), GeomFromEWKT('SRID=4674;POINT (-40.392398 -2.786858)'))) / (select extract(epoch from '2026-07-04 14:49:51'::timestamp) - extract(epoch from '2026-07-04 14:49: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'), 47817, 'SRID=4674;POINT (-40.392457 -2.786915)', '2026-07-04 14:49:58', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392398 -2.786858)'), GeomFromEWKT('SRID=4674;POINT (-40.392457 -2.786915)'))) / (select extract(epoch from '2026-07-04 14:49:58'::timestamp) - extract(epoch from '2026-07-04 14:49:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392398 -2.786858)'), GeomFromEWKT('SRID=4674;POINT (-40.392457 -2.786915)'))) / (select extract(epoch from '2026-07-04 14:49:58'::timestamp) - extract(epoch from '2026-07-04 14:49: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'), 47817, 'SRID=4674;POINT (-40.392535 -2.786946)', '2026-07-04 14:50:05', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392457 -2.786915)'), GeomFromEWKT('SRID=4674;POINT (-40.392535 -2.786946)'))) / (select extract(epoch from '2026-07-04 14:50:05'::timestamp) - extract(epoch from '2026-07-04 14:49:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392457 -2.786915)'), GeomFromEWKT('SRID=4674;POINT (-40.392535 -2.786946)'))) / (select extract(epoch from '2026-07-04 14:50:05'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.392597 -2.786934)', '2026-07-04 14:50:11', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392535 -2.786946)'), GeomFromEWKT('SRID=4674;POINT (-40.392597 -2.786934)'))) / (select extract(epoch from '2026-07-04 14:50:11'::timestamp) - extract(epoch from '2026-07-04 14:50:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392535 -2.786946)'), GeomFromEWKT('SRID=4674;POINT (-40.392597 -2.786934)'))) / (select extract(epoch from '2026-07-04 14:50:11'::timestamp) - extract(epoch from '2026-07-04 14:50: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'), 47817, 'SRID=4674;POINT (-40.392634 -2.786883)', '2026-07-04 14:50:18', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392597 -2.786934)'), GeomFromEWKT('SRID=4674;POINT (-40.392634 -2.786883)'))) / (select extract(epoch from '2026-07-04 14:50:18'::timestamp) - extract(epoch from '2026-07-04 14:50:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392597 -2.786934)'), GeomFromEWKT('SRID=4674;POINT (-40.392634 -2.786883)'))) / (select extract(epoch from '2026-07-04 14:50:18'::timestamp) - extract(epoch from '2026-07-04 14:50: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'), 47817, 'SRID=4674;POINT (-40.392642 -2.786798)', '2026-07-04 14:50:26', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392634 -2.786883)'), GeomFromEWKT('SRID=4674;POINT (-40.392642 -2.786798)'))) / (select extract(epoch from '2026-07-04 14:50:26'::timestamp) - extract(epoch from '2026-07-04 14:50:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392634 -2.786883)'), GeomFromEWKT('SRID=4674;POINT (-40.392642 -2.786798)'))) / (select extract(epoch from '2026-07-04 14:50:26'::timestamp) - extract(epoch from '2026-07-04 14:50: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'), 47817, 'SRID=4674;POINT (-40.392607 -2.786805)', '2026-07-04 14:50:34', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392642 -2.786798)'), GeomFromEWKT('SRID=4674;POINT (-40.392607 -2.786805)'))) / (select extract(epoch from '2026-07-04 14:50:34'::timestamp) - extract(epoch from '2026-07-04 14:50:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392642 -2.786798)'), GeomFromEWKT('SRID=4674;POINT (-40.392607 -2.786805)'))) / (select extract(epoch from '2026-07-04 14:50:34'::timestamp) - extract(epoch from '2026-07-04 14:50: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'), 47817, 'SRID=4674;POINT (-40.392588 -2.78681)', '2026-07-04 14:50:41', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392607 -2.786805)'), GeomFromEWKT('SRID=4674;POINT (-40.392588 -2.78681)'))) / (select extract(epoch from '2026-07-04 14:50:41'::timestamp) - extract(epoch from '2026-07-04 14:50:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392607 -2.786805)'), GeomFromEWKT('SRID=4674;POINT (-40.392588 -2.78681)'))) / (select extract(epoch from '2026-07-04 14:50:41'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.392546 -2.786781)', '2026-07-04 14:50:50', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392588 -2.78681)'), GeomFromEWKT('SRID=4674;POINT (-40.392546 -2.786781)'))) / (select extract(epoch from '2026-07-04 14:50:50'::timestamp) - extract(epoch from '2026-07-04 14:50:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392588 -2.78681)'), GeomFromEWKT('SRID=4674;POINT (-40.392546 -2.786781)'))) / (select extract(epoch from '2026-07-04 14:50:50'::timestamp) - extract(epoch from '2026-07-04 14:50: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'), 47817, 'SRID=4674;POINT (-40.392525 -2.786769)', '2026-07-04 14:50:52', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392546 -2.786781)'), GeomFromEWKT('SRID=4674;POINT (-40.392525 -2.786769)'))) / (select extract(epoch from '2026-07-04 14:50:52'::timestamp) - extract(epoch from '2026-07-04 14:50:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392546 -2.786781)'), GeomFromEWKT('SRID=4674;POINT (-40.392525 -2.786769)'))) / (select extract(epoch from '2026-07-04 14:50:52'::timestamp) - extract(epoch from '2026-07-04 14:50:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.39247 -2.786763)', '2026-07-04 14:50:59', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392525 -2.786769)'), GeomFromEWKT('SRID=4674;POINT (-40.39247 -2.786763)'))) / (select extract(epoch from '2026-07-04 14:50:59'::timestamp) - extract(epoch from '2026-07-04 14:50:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392525 -2.786769)'), GeomFromEWKT('SRID=4674;POINT (-40.39247 -2.786763)'))) / (select extract(epoch from '2026-07-04 14:50:59'::timestamp) - extract(epoch from '2026-07-04 14:50: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'), 47817, 'SRID=4674;POINT (-40.392436 -2.786803)', '2026-07-04 14:51:07', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39247 -2.786763)'), GeomFromEWKT('SRID=4674;POINT (-40.392436 -2.786803)'))) / (select extract(epoch from '2026-07-04 14:51:07'::timestamp) - extract(epoch from '2026-07-04 14:50:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39247 -2.786763)'), GeomFromEWKT('SRID=4674;POINT (-40.392436 -2.786803)'))) / (select extract(epoch from '2026-07-04 14:51:07'::timestamp) - extract(epoch from '2026-07-04 14: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'), 47817, 'SRID=4674;POINT (-40.39248 -2.786803)', '2026-07-04 14:51:49', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392436 -2.786803)'), GeomFromEWKT('SRID=4674;POINT (-40.39248 -2.786803)'))) / (select extract(epoch from '2026-07-04 14:51:49'::timestamp) - extract(epoch from '2026-07-04 14:51:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392436 -2.786803)'), GeomFromEWKT('SRID=4674;POINT (-40.39248 -2.786803)'))) / (select extract(epoch from '2026-07-04 14:51:49'::timestamp) - extract(epoch from '2026-07-04 14:51: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'), 47817, 'SRID=4674;POINT (-40.392504 -2.786794)', '2026-07-04 14:51:55', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39248 -2.786803)'), GeomFromEWKT('SRID=4674;POINT (-40.392504 -2.786794)'))) / (select extract(epoch from '2026-07-04 14:51:55'::timestamp) - extract(epoch from '2026-07-04 14:51:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39248 -2.786803)'), GeomFromEWKT('SRID=4674;POINT (-40.392504 -2.786794)'))) / (select extract(epoch from '2026-07-04 14:51:55'::timestamp) - extract(epoch from '2026-07-04 14:51:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47817, 'SRID=4674;POINT (-40.392511 -2.786782)', '2026-07-04 14:52:01', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392504 -2.786794)'), GeomFromEWKT('SRID=4674;POINT (-40.392511 -2.786782)'))) / (select extract(epoch from '2026-07-04 14:52:01'::timestamp) - extract(epoch from '2026-07-04 14:51:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392504 -2.786794)'), GeomFromEWKT('SRID=4674;POINT (-40.392511 -2.786782)'))) / (select extract(epoch from '2026-07-04 14:52:01'::timestamp) - extract(epoch from '2026-07-04 14:51: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'), 47817, 'SRID=4674;POINT (-40.392536 -2.786765)', '2026-07-04 14:52:15', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392511 -2.786782)'), GeomFromEWKT('SRID=4674;POINT (-40.392536 -2.786765)'))) / (select extract(epoch from '2026-07-04 14:52:15'::timestamp) - extract(epoch from '2026-07-04 14:52:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392511 -2.786782)'), GeomFromEWKT('SRID=4674;POINT (-40.392536 -2.786765)'))) / (select extract(epoch from '2026-07-04 14:52:15'::timestamp) - extract(epoch from '2026-07-04 14:52: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'), 47817, 'SRID=4674;POINT (-40.392597 -2.786724)', '2026-07-04 14:52:35', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392536 -2.786765)'), GeomFromEWKT('SRID=4674;POINT (-40.392597 -2.786724)'))) / (select extract(epoch from '2026-07-04 14:52:35'::timestamp) - extract(epoch from '2026-07-04 14:52:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392536 -2.786765)'), GeomFromEWKT('SRID=4674;POINT (-40.392597 -2.786724)'))) / (select extract(epoch from '2026-07-04 14:52:35'::timestamp) - extract(epoch from '2026-07-04 14:52: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'), 47817, 'SRID=4674;POINT (-40.3926 -2.786662)', '2026-07-04 14:52:44', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392597 -2.786724)'), GeomFromEWKT('SRID=4674;POINT (-40.3926 -2.786662)'))) / (select extract(epoch from '2026-07-04 14:52:44'::timestamp) - extract(epoch from '2026-07-04 14:52:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392597 -2.786724)'), GeomFromEWKT('SRID=4674;POINT (-40.3926 -2.786662)'))) / (select extract(epoch from '2026-07-04 14:52:44'::timestamp) - extract(epoch from '2026-07-04 14:52: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'), 47817, 'SRID=4674;POINT (-40.392575 -2.786655)', '2026-07-04 14:52:50', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3926 -2.786662)'), GeomFromEWKT('SRID=4674;POINT (-40.392575 -2.786655)'))) / (select extract(epoch from '2026-07-04 14:52:50'::timestamp) - extract(epoch from '2026-07-04 14:52:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3926 -2.786662)'), GeomFromEWKT('SRID=4674;POINT (-40.392575 -2.786655)'))) / (select extract(epoch from '2026-07-04 14:52:50'::timestamp) - extract(epoch from '2026-07-04 14:52: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'), 47817, 'SRID=4674;POINT (-40.392525 -2.786669)', '2026-07-04 14:52:58', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392575 -2.786655)'), GeomFromEWKT('SRID=4674;POINT (-40.392525 -2.786669)'))) / (select extract(epoch from '2026-07-04 14:52:58'::timestamp) - extract(epoch from '2026-07-04 14:52:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392575 -2.786655)'), GeomFromEWKT('SRID=4674;POINT (-40.392525 -2.786669)'))) / (select extract(epoch from '2026-07-04 14:52:58'::timestamp) - extract(epoch from '2026-07-04 14:52: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'), 47817, 'SRID=4674;POINT (-40.392486 -2.786722)', '2026-07-04 14:53:07', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392525 -2.786669)'), GeomFromEWKT('SRID=4674;POINT (-40.392486 -2.786722)'))) / (select extract(epoch from '2026-07-04 14:53:07'::timestamp) - extract(epoch from '2026-07-04 14:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392525 -2.786669)'), GeomFromEWKT('SRID=4674;POINT (-40.392486 -2.786722)'))) / (select extract(epoch from '2026-07-04 14:53:07'::timestamp) - extract(epoch from '2026-07-04 14:52: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'), 47817, 'SRID=4674;POINT (-40.39248 -2.786736)', '2026-07-04 14:53:09', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392486 -2.786722)'), GeomFromEWKT('SRID=4674;POINT (-40.39248 -2.786736)'))) / (select extract(epoch from '2026-07-04 14:53:09'::timestamp) - extract(epoch from '2026-07-04 14:53:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392486 -2.786722)'), GeomFromEWKT('SRID=4674;POINT (-40.39248 -2.786736)'))) / (select extract(epoch from '2026-07-04 14:53:09'::timestamp) - extract(epoch from '2026-07-04 14:53:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
