 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018254 -2.823227)', '2026-06-09 18:32:33', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018257 -2.823202)'), GeomFromEWKT('SRID=4674;POINT (-40.018254 -2.823227)'))) / (select extract(epoch from '2026-06-09 18:32:33'::timestamp) - extract(epoch from '2026-06-09 18:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018257 -2.823202)'), GeomFromEWKT('SRID=4674;POINT (-40.018254 -2.823227)'))) / (select extract(epoch from '2026-06-09 18:32:33'::timestamp) - extract(epoch from '2026-06-09 18:32: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'), 46698, 'SRID=4674;POINT (-40.018253 -2.82321)', '2026-06-09 18:32:49', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018254 -2.823227)'), GeomFromEWKT('SRID=4674;POINT (-40.018253 -2.82321)'))) / (select extract(epoch from '2026-06-09 18:32:49'::timestamp) - extract(epoch from '2026-06-09 18:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018254 -2.823227)'), GeomFromEWKT('SRID=4674;POINT (-40.018253 -2.82321)'))) / (select extract(epoch from '2026-06-09 18:32:49'::timestamp) - extract(epoch from '2026-06-09 18:32: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'), 46698, 'SRID=4674;POINT (-40.018254 -2.823194)', '2026-06-09 18:33:24', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018253 -2.82321)'), GeomFromEWKT('SRID=4674;POINT (-40.018254 -2.823194)'))) / (select extract(epoch from '2026-06-09 18:33:24'::timestamp) - extract(epoch from '2026-06-09 18:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018253 -2.82321)'), GeomFromEWKT('SRID=4674;POINT (-40.018254 -2.823194)'))) / (select extract(epoch from '2026-06-09 18:33:24'::timestamp) - extract(epoch from '2026-06-09 18:32: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'), 46698, 'SRID=4674;POINT (-40.01825 -2.823225)', '2026-06-09 18:33:42', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018254 -2.823194)'), GeomFromEWKT('SRID=4674;POINT (-40.01825 -2.823225)'))) / (select extract(epoch from '2026-06-09 18:33:42'::timestamp) - extract(epoch from '2026-06-09 18:33:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018254 -2.823194)'), GeomFromEWKT('SRID=4674;POINT (-40.01825 -2.823225)'))) / (select extract(epoch from '2026-06-09 18:33:42'::timestamp) - extract(epoch from '2026-06-09 18:33:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018249 -2.823229)', '2026-06-09 18:34:12', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01825 -2.823225)'), GeomFromEWKT('SRID=4674;POINT (-40.018249 -2.823229)'))) / (select extract(epoch from '2026-06-09 18:34:12'::timestamp) - extract(epoch from '2026-06-09 18:33:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01825 -2.823225)'), GeomFromEWKT('SRID=4674;POINT (-40.018249 -2.823229)'))) / (select extract(epoch from '2026-06-09 18:34:12'::timestamp) - extract(epoch from '2026-06-09 18:33: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'), 46698, 'SRID=4674;POINT (-40.01825 -2.8232)', '2026-06-09 18:34:36', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018249 -2.823229)'), GeomFromEWKT('SRID=4674;POINT (-40.01825 -2.8232)'))) / (select extract(epoch from '2026-06-09 18:34:36'::timestamp) - extract(epoch from '2026-06-09 18:34:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018249 -2.823229)'), GeomFromEWKT('SRID=4674;POINT (-40.01825 -2.8232)'))) / (select extract(epoch from '2026-06-09 18:34:36'::timestamp) - extract(epoch from '2026-06-09 18:34: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'), 46698, 'SRID=4674;POINT (-40.018184 -2.82323)', '2026-06-09 18:34:49', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01825 -2.8232)'), GeomFromEWKT('SRID=4674;POINT (-40.018184 -2.82323)'))) / (select extract(epoch from '2026-06-09 18:34:49'::timestamp) - extract(epoch from '2026-06-09 18:34:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01825 -2.8232)'), GeomFromEWKT('SRID=4674;POINT (-40.018184 -2.82323)'))) / (select extract(epoch from '2026-06-09 18:34:49'::timestamp) - extract(epoch from '2026-06-09 18:34: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'), 46698, 'SRID=4674;POINT (-40.018104 -2.823217)', '2026-06-09 18:34:59', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018184 -2.82323)'), GeomFromEWKT('SRID=4674;POINT (-40.018104 -2.823217)'))) / (select extract(epoch from '2026-06-09 18:34:59'::timestamp) - extract(epoch from '2026-06-09 18:34:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018184 -2.82323)'), GeomFromEWKT('SRID=4674;POINT (-40.018104 -2.823217)'))) / (select extract(epoch from '2026-06-09 18:34:59'::timestamp) - extract(epoch from '2026-06-09 18:34: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'), 46698, 'SRID=4674;POINT (-40.018031 -2.823163)', '2026-06-09 18:35:11', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018104 -2.823217)'), GeomFromEWKT('SRID=4674;POINT (-40.018031 -2.823163)'))) / (select extract(epoch from '2026-06-09 18:35:11'::timestamp) - extract(epoch from '2026-06-09 18:34:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018104 -2.823217)'), GeomFromEWKT('SRID=4674;POINT (-40.018031 -2.823163)'))) / (select extract(epoch from '2026-06-09 18:35:11'::timestamp) - extract(epoch from '2026-06-09 18:34:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.01796 -2.823213)', '2026-06-09 18:35:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018031 -2.823163)'), GeomFromEWKT('SRID=4674;POINT (-40.01796 -2.823213)'))) / (select extract(epoch from '2026-06-09 18:35:19'::timestamp) - extract(epoch from '2026-06-09 18:35:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018031 -2.823163)'), GeomFromEWKT('SRID=4674;POINT (-40.01796 -2.823213)'))) / (select extract(epoch from '2026-06-09 18:35:19'::timestamp) - extract(epoch from '2026-06-09 18:35: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'), 46698, 'SRID=4674;POINT (-40.017923 -2.823345)', '2026-06-09 18:35:31', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01796 -2.823213)'), GeomFromEWKT('SRID=4674;POINT (-40.017923 -2.823345)'))) / (select extract(epoch from '2026-06-09 18:35:31'::timestamp) - extract(epoch from '2026-06-09 18:35:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01796 -2.823213)'), GeomFromEWKT('SRID=4674;POINT (-40.017923 -2.823345)'))) / (select extract(epoch from '2026-06-09 18:35:31'::timestamp) - extract(epoch from '2026-06-09 18:35: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'), 46698, 'SRID=4674;POINT (-40.017895 -2.823457)', '2026-06-09 18:35:43', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017923 -2.823345)'), GeomFromEWKT('SRID=4674;POINT (-40.017895 -2.823457)'))) / (select extract(epoch from '2026-06-09 18:35:43'::timestamp) - extract(epoch from '2026-06-09 18:35:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017923 -2.823345)'), GeomFromEWKT('SRID=4674;POINT (-40.017895 -2.823457)'))) / (select extract(epoch from '2026-06-09 18:35:43'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46698, 'SRID=4674;POINT (-40.017882 -2.823541)', '2026-06-09 18:35:52', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017895 -2.823457)'), GeomFromEWKT('SRID=4674;POINT (-40.017882 -2.823541)'))) / (select extract(epoch from '2026-06-09 18:35:52'::timestamp) - extract(epoch from '2026-06-09 18:35:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017895 -2.823457)'), GeomFromEWKT('SRID=4674;POINT (-40.017882 -2.823541)'))) / (select extract(epoch from '2026-06-09 18:35:52'::timestamp) - extract(epoch from '2026-06-09 18:35: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'), 46698, 'SRID=4674;POINT (-40.01788 -2.823628)', '2026-06-09 18:36:04', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017882 -2.823541)'), GeomFromEWKT('SRID=4674;POINT (-40.01788 -2.823628)'))) / (select extract(epoch from '2026-06-09 18:36:04'::timestamp) - extract(epoch from '2026-06-09 18:35:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017882 -2.823541)'), GeomFromEWKT('SRID=4674;POINT (-40.01788 -2.823628)'))) / (select extract(epoch from '2026-06-09 18:36:04'::timestamp) - extract(epoch from '2026-06-09 18:35: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'), 46698, 'SRID=4674;POINT (-40.017931 -2.823712)', '2026-06-09 18:36:13', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01788 -2.823628)'), GeomFromEWKT('SRID=4674;POINT (-40.017931 -2.823712)'))) / (select extract(epoch from '2026-06-09 18:36:13'::timestamp) - extract(epoch from '2026-06-09 18:36:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01788 -2.823628)'), GeomFromEWKT('SRID=4674;POINT (-40.017931 -2.823712)'))) / (select extract(epoch from '2026-06-09 18:36:13'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46698, 'SRID=4674;POINT (-40.01804 -2.823727)', '2026-06-09 18:36:21', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017931 -2.823712)'), GeomFromEWKT('SRID=4674;POINT (-40.01804 -2.823727)'))) / (select extract(epoch from '2026-06-09 18:36:21'::timestamp) - extract(epoch from '2026-06-09 18:36:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017931 -2.823712)'), GeomFromEWKT('SRID=4674;POINT (-40.01804 -2.823727)'))) / (select extract(epoch from '2026-06-09 18:36:21'::timestamp) - extract(epoch from '2026-06-09 18:36:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018107 -2.82366)', '2026-06-09 18:36:28', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01804 -2.823727)'), GeomFromEWKT('SRID=4674;POINT (-40.018107 -2.82366)'))) / (select extract(epoch from '2026-06-09 18:36:28'::timestamp) - extract(epoch from '2026-06-09 18:36:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01804 -2.823727)'), GeomFromEWKT('SRID=4674;POINT (-40.018107 -2.82366)'))) / (select extract(epoch from '2026-06-09 18:36:28'::timestamp) - extract(epoch from '2026-06-09 18:36:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018111 -2.823563)', '2026-06-09 18:36:36', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018107 -2.82366)'), GeomFromEWKT('SRID=4674;POINT (-40.018111 -2.823563)'))) / (select extract(epoch from '2026-06-09 18:36:36'::timestamp) - extract(epoch from '2026-06-09 18:36:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018107 -2.82366)'), GeomFromEWKT('SRID=4674;POINT (-40.018111 -2.823563)'))) / (select extract(epoch from '2026-06-09 18:36:36'::timestamp) - extract(epoch from '2026-06-09 18:36: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'), 46698, 'SRID=4674;POINT (-40.01804 -2.823473)', '2026-06-09 18:36:47', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018111 -2.823563)'), GeomFromEWKT('SRID=4674;POINT (-40.01804 -2.823473)'))) / (select extract(epoch from '2026-06-09 18:36:47'::timestamp) - extract(epoch from '2026-06-09 18:36:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018111 -2.823563)'), GeomFromEWKT('SRID=4674;POINT (-40.01804 -2.823473)'))) / (select extract(epoch from '2026-06-09 18:36:47'::timestamp) - extract(epoch from '2026-06-09 18:36: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'), 46698, 'SRID=4674;POINT (-40.017939 -2.823428)', '2026-06-09 18:36:58', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01804 -2.823473)'), GeomFromEWKT('SRID=4674;POINT (-40.017939 -2.823428)'))) / (select extract(epoch from '2026-06-09 18:36:58'::timestamp) - extract(epoch from '2026-06-09 18:36:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01804 -2.823473)'), GeomFromEWKT('SRID=4674;POINT (-40.017939 -2.823428)'))) / (select extract(epoch from '2026-06-09 18:36:58'::timestamp) - extract(epoch from '2026-06-09 18:36:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.017831 -2.823404)', '2026-06-09 18:37:09', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017939 -2.823428)'), GeomFromEWKT('SRID=4674;POINT (-40.017831 -2.823404)'))) / (select extract(epoch from '2026-06-09 18:37:09'::timestamp) - extract(epoch from '2026-06-09 18:36:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017939 -2.823428)'), GeomFromEWKT('SRID=4674;POINT (-40.017831 -2.823404)'))) / (select extract(epoch from '2026-06-09 18:37:09'::timestamp) - extract(epoch from '2026-06-09 18:36: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'), 46698, 'SRID=4674;POINT (-40.017749 -2.823375)', '2026-06-09 18:37:18', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017831 -2.823404)'), GeomFromEWKT('SRID=4674;POINT (-40.017749 -2.823375)'))) / (select extract(epoch from '2026-06-09 18:37:18'::timestamp) - extract(epoch from '2026-06-09 18:37:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017831 -2.823404)'), GeomFromEWKT('SRID=4674;POINT (-40.017749 -2.823375)'))) / (select extract(epoch from '2026-06-09 18:37:18'::timestamp) - extract(epoch from '2026-06-09 18:37:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.017667 -2.82334)', '2026-06-09 18:37:28', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017749 -2.823375)'), GeomFromEWKT('SRID=4674;POINT (-40.017667 -2.82334)'))) / (select extract(epoch from '2026-06-09 18:37:28'::timestamp) - extract(epoch from '2026-06-09 18:37:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017749 -2.823375)'), GeomFromEWKT('SRID=4674;POINT (-40.017667 -2.82334)'))) / (select extract(epoch from '2026-06-09 18:37:28'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46698, 'SRID=4674;POINT (-40.017596 -2.823251)', '2026-06-09 18:37:43', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017667 -2.82334)'), GeomFromEWKT('SRID=4674;POINT (-40.017596 -2.823251)'))) / (select extract(epoch from '2026-06-09 18:37:43'::timestamp) - extract(epoch from '2026-06-09 18:37:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017667 -2.82334)'), GeomFromEWKT('SRID=4674;POINT (-40.017596 -2.823251)'))) / (select extract(epoch from '2026-06-09 18:37:43'::timestamp) - extract(epoch from '2026-06-09 18:37: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'), 46698, 'SRID=4674;POINT (-40.017547 -2.823162)', '2026-06-09 18:38:00', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017596 -2.823251)'), GeomFromEWKT('SRID=4674;POINT (-40.017547 -2.823162)'))) / (select extract(epoch from '2026-06-09 18:38:00'::timestamp) - extract(epoch from '2026-06-09 18:37:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017596 -2.823251)'), GeomFromEWKT('SRID=4674;POINT (-40.017547 -2.823162)'))) / (select extract(epoch from '2026-06-09 18:38:00'::timestamp) - extract(epoch from '2026-06-09 18:37: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'), 46698, 'SRID=4674;POINT (-40.01752 -2.823075)', '2026-06-09 18:38:17', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017547 -2.823162)'), GeomFromEWKT('SRID=4674;POINT (-40.01752 -2.823075)'))) / (select extract(epoch from '2026-06-09 18:38:17'::timestamp) - extract(epoch from '2026-06-09 18:38:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017547 -2.823162)'), GeomFromEWKT('SRID=4674;POINT (-40.01752 -2.823075)'))) / (select extract(epoch from '2026-06-09 18:38:17'::timestamp) - extract(epoch from '2026-06-09 18:38:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.017547 -2.823008)', '2026-06-09 18:38:31', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01752 -2.823075)'), GeomFromEWKT('SRID=4674;POINT (-40.017547 -2.823008)'))) / (select extract(epoch from '2026-06-09 18:38:31'::timestamp) - extract(epoch from '2026-06-09 18:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01752 -2.823075)'), GeomFromEWKT('SRID=4674;POINT (-40.017547 -2.823008)'))) / (select extract(epoch from '2026-06-09 18:38:31'::timestamp) - extract(epoch from '2026-06-09 18:38:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.017615 -2.822943)', '2026-06-09 18:38:42', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017547 -2.823008)'), GeomFromEWKT('SRID=4674;POINT (-40.017615 -2.822943)'))) / (select extract(epoch from '2026-06-09 18:38:42'::timestamp) - extract(epoch from '2026-06-09 18:38:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017547 -2.823008)'), GeomFromEWKT('SRID=4674;POINT (-40.017615 -2.822943)'))) / (select extract(epoch from '2026-06-09 18:38:42'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46698, 'SRID=4674;POINT (-40.017704 -2.82297)', '2026-06-09 18:38:51', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017615 -2.822943)'), GeomFromEWKT('SRID=4674;POINT (-40.017704 -2.82297)'))) / (select extract(epoch from '2026-06-09 18:38:51'::timestamp) - extract(epoch from '2026-06-09 18:38:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017615 -2.822943)'), GeomFromEWKT('SRID=4674;POINT (-40.017704 -2.82297)'))) / (select extract(epoch from '2026-06-09 18:38:51'::timestamp) - extract(epoch from '2026-06-09 18:38: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'), 46698, 'SRID=4674;POINT (-40.017756 -2.823054)', '2026-06-09 18:39:02', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017704 -2.82297)'), GeomFromEWKT('SRID=4674;POINT (-40.017756 -2.823054)'))) / (select extract(epoch from '2026-06-09 18:39:02'::timestamp) - extract(epoch from '2026-06-09 18:38:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017704 -2.82297)'), GeomFromEWKT('SRID=4674;POINT (-40.017756 -2.823054)'))) / (select extract(epoch from '2026-06-09 18:39:02'::timestamp) - extract(epoch from '2026-06-09 18:38: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'), 46698, 'SRID=4674;POINT (-40.017747 -2.823111)', '2026-06-09 18:39:11', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017756 -2.823054)'), GeomFromEWKT('SRID=4674;POINT (-40.017747 -2.823111)'))) / (select extract(epoch from '2026-06-09 18:39:11'::timestamp) - extract(epoch from '2026-06-09 18:39:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017756 -2.823054)'), GeomFromEWKT('SRID=4674;POINT (-40.017747 -2.823111)'))) / (select extract(epoch from '2026-06-09 18:39:11'::timestamp) - extract(epoch from '2026-06-09 18:39: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'), 46698, 'SRID=4674;POINT (-40.017776 -2.823196)', '2026-06-09 18:39:26', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017747 -2.823111)'), GeomFromEWKT('SRID=4674;POINT (-40.017776 -2.823196)'))) / (select extract(epoch from '2026-06-09 18:39:26'::timestamp) - extract(epoch from '2026-06-09 18:39:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017747 -2.823111)'), GeomFromEWKT('SRID=4674;POINT (-40.017776 -2.823196)'))) / (select extract(epoch from '2026-06-09 18:39:26'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46698, 'SRID=4674;POINT (-40.017902 -2.823309)', '2026-06-09 18:39:45', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017776 -2.823196)'), GeomFromEWKT('SRID=4674;POINT (-40.017902 -2.823309)'))) / (select extract(epoch from '2026-06-09 18:39:45'::timestamp) - extract(epoch from '2026-06-09 18:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017776 -2.823196)'), GeomFromEWKT('SRID=4674;POINT (-40.017902 -2.823309)'))) / (select extract(epoch from '2026-06-09 18:39:45'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46698, 'SRID=4674;POINT (-40.018007 -2.823311)', '2026-06-09 18:39:54', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017902 -2.823309)'), GeomFromEWKT('SRID=4674;POINT (-40.018007 -2.823311)'))) / (select extract(epoch from '2026-06-09 18:39:54'::timestamp) - extract(epoch from '2026-06-09 18:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017902 -2.823309)'), GeomFromEWKT('SRID=4674;POINT (-40.018007 -2.823311)'))) / (select extract(epoch from '2026-06-09 18:39:54'::timestamp) - extract(epoch from '2026-06-09 18:39:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018053 -2.823217)', '2026-06-09 18:40:01', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018007 -2.823311)'), GeomFromEWKT('SRID=4674;POINT (-40.018053 -2.823217)'))) / (select extract(epoch from '2026-06-09 18:40:01'::timestamp) - extract(epoch from '2026-06-09 18:39:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018007 -2.823311)'), GeomFromEWKT('SRID=4674;POINT (-40.018053 -2.823217)'))) / (select extract(epoch from '2026-06-09 18:40:01'::timestamp) - extract(epoch from '2026-06-09 18:39: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'), 46698, 'SRID=4674;POINT (-40.018009 -2.823092)', '2026-06-09 18:40:10', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018053 -2.823217)'), GeomFromEWKT('SRID=4674;POINT (-40.018009 -2.823092)'))) / (select extract(epoch from '2026-06-09 18:40:10'::timestamp) - extract(epoch from '2026-06-09 18:40:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018053 -2.823217)'), GeomFromEWKT('SRID=4674;POINT (-40.018009 -2.823092)'))) / (select extract(epoch from '2026-06-09 18:40:10'::timestamp) - extract(epoch from '2026-06-09 18:40: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'), 46698, 'SRID=4674;POINT (-40.017919 -2.822992)', '2026-06-09 18:40:20', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018009 -2.823092)'), GeomFromEWKT('SRID=4674;POINT (-40.017919 -2.822992)'))) / (select extract(epoch from '2026-06-09 18:40:20'::timestamp) - extract(epoch from '2026-06-09 18:40:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018009 -2.823092)'), GeomFromEWKT('SRID=4674;POINT (-40.017919 -2.822992)'))) / (select extract(epoch from '2026-06-09 18:40:20'::timestamp) - extract(epoch from '2026-06-09 18:40: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'), 46698, 'SRID=4674;POINT (-40.017837 -2.822919)', '2026-06-09 18:40:30', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017919 -2.822992)'), GeomFromEWKT('SRID=4674;POINT (-40.017837 -2.822919)'))) / (select extract(epoch from '2026-06-09 18:40:30'::timestamp) - extract(epoch from '2026-06-09 18:40:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017919 -2.822992)'), GeomFromEWKT('SRID=4674;POINT (-40.017837 -2.822919)'))) / (select extract(epoch from '2026-06-09 18:40:30'::timestamp) - extract(epoch from '2026-06-09 18:40:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.017724 -2.822793)', '2026-06-09 18:40:42', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017837 -2.822919)'), GeomFromEWKT('SRID=4674;POINT (-40.017724 -2.822793)'))) / (select extract(epoch from '2026-06-09 18:40:42'::timestamp) - extract(epoch from '2026-06-09 18:40:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017837 -2.822919)'), GeomFromEWKT('SRID=4674;POINT (-40.017724 -2.822793)'))) / (select extract(epoch from '2026-06-09 18:40:42'::timestamp) - extract(epoch from '2026-06-09 18:40: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'), 46698, 'SRID=4674;POINT (-40.017589 -2.822646)', '2026-06-09 18:40:56', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017724 -2.822793)'), GeomFromEWKT('SRID=4674;POINT (-40.017589 -2.822646)'))) / (select extract(epoch from '2026-06-09 18:40:56'::timestamp) - extract(epoch from '2026-06-09 18:40:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017724 -2.822793)'), GeomFromEWKT('SRID=4674;POINT (-40.017589 -2.822646)'))) / (select extract(epoch from '2026-06-09 18:40:56'::timestamp) - extract(epoch from '2026-06-09 18:40:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.017506 -2.822539)', '2026-06-09 18:41:07', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017589 -2.822646)'), GeomFromEWKT('SRID=4674;POINT (-40.017506 -2.822539)'))) / (select extract(epoch from '2026-06-09 18:41:07'::timestamp) - extract(epoch from '2026-06-09 18:40:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017589 -2.822646)'), GeomFromEWKT('SRID=4674;POINT (-40.017506 -2.822539)'))) / (select extract(epoch from '2026-06-09 18:41:07'::timestamp) - extract(epoch from '2026-06-09 18:40:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.01738 -2.822449)', '2026-06-09 18:41:17', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017506 -2.822539)'), GeomFromEWKT('SRID=4674;POINT (-40.01738 -2.822449)'))) / (select extract(epoch from '2026-06-09 18:41:17'::timestamp) - extract(epoch from '2026-06-09 18:41:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017506 -2.822539)'), GeomFromEWKT('SRID=4674;POINT (-40.01738 -2.822449)'))) / (select extract(epoch from '2026-06-09 18:41:17'::timestamp) - extract(epoch from '2026-06-09 18:41: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'), 46698, 'SRID=4674;POINT (-40.017196 -2.822377)', '2026-06-09 18:41:29', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01738 -2.822449)'), GeomFromEWKT('SRID=4674;POINT (-40.017196 -2.822377)'))) / (select extract(epoch from '2026-06-09 18:41:29'::timestamp) - extract(epoch from '2026-06-09 18:41:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01738 -2.822449)'), GeomFromEWKT('SRID=4674;POINT (-40.017196 -2.822377)'))) / (select extract(epoch from '2026-06-09 18:41:29'::timestamp) - extract(epoch from '2026-06-09 18:41: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'), 46698, 'SRID=4674;POINT (-40.017015 -2.822339)', '2026-06-09 18:41:40', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017196 -2.822377)'), GeomFromEWKT('SRID=4674;POINT (-40.017015 -2.822339)'))) / (select extract(epoch from '2026-06-09 18:41:40'::timestamp) - extract(epoch from '2026-06-09 18:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017196 -2.822377)'), GeomFromEWKT('SRID=4674;POINT (-40.017015 -2.822339)'))) / (select extract(epoch from '2026-06-09 18:41:40'::timestamp) - extract(epoch from '2026-06-09 18:41: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'), 46698, 'SRID=4674;POINT (-40.016868 -2.822342)', '2026-06-09 18:41:49', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017015 -2.822339)'), GeomFromEWKT('SRID=4674;POINT (-40.016868 -2.822342)'))) / (select extract(epoch from '2026-06-09 18:41:49'::timestamp) - extract(epoch from '2026-06-09 18:41:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017015 -2.822339)'), GeomFromEWKT('SRID=4674;POINT (-40.016868 -2.822342)'))) / (select extract(epoch from '2026-06-09 18:41:49'::timestamp) - extract(epoch from '2026-06-09 18:41:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.016764 -2.822387)', '2026-06-09 18:41:56', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016868 -2.822342)'), GeomFromEWKT('SRID=4674;POINT (-40.016764 -2.822387)'))) / (select extract(epoch from '2026-06-09 18:41:56'::timestamp) - extract(epoch from '2026-06-09 18:41:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016868 -2.822342)'), GeomFromEWKT('SRID=4674;POINT (-40.016764 -2.822387)'))) / (select extract(epoch from '2026-06-09 18:41:56'::timestamp) - extract(epoch from '2026-06-09 18:41: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'), 46698, 'SRID=4674;POINT (-40.016637 -2.822453)', '2026-06-09 18:42:05', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016764 -2.822387)'), GeomFromEWKT('SRID=4674;POINT (-40.016637 -2.822453)'))) / (select extract(epoch from '2026-06-09 18:42:05'::timestamp) - extract(epoch from '2026-06-09 18:41:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016764 -2.822387)'), GeomFromEWKT('SRID=4674;POINT (-40.016637 -2.822453)'))) / (select extract(epoch from '2026-06-09 18:42:05'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46698, 'SRID=4674;POINT (-40.016509 -2.822501)', '2026-06-09 18:42:14', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016637 -2.822453)'), GeomFromEWKT('SRID=4674;POINT (-40.016509 -2.822501)'))) / (select extract(epoch from '2026-06-09 18:42:14'::timestamp) - extract(epoch from '2026-06-09 18:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016637 -2.822453)'), GeomFromEWKT('SRID=4674;POINT (-40.016509 -2.822501)'))) / (select extract(epoch from '2026-06-09 18:42:14'::timestamp) - extract(epoch from '2026-06-09 18:42: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'), 46698, 'SRID=4674;POINT (-40.016352 -2.822559)', '2026-06-09 18:42:24', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016509 -2.822501)'), GeomFromEWKT('SRID=4674;POINT (-40.016352 -2.822559)'))) / (select extract(epoch from '2026-06-09 18:42:24'::timestamp) - extract(epoch from '2026-06-09 18:42:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016509 -2.822501)'), GeomFromEWKT('SRID=4674;POINT (-40.016352 -2.822559)'))) / (select extract(epoch from '2026-06-09 18:42:24'::timestamp) - extract(epoch from '2026-06-09 18:42: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'), 46698, 'SRID=4674;POINT (-40.016218 -2.822584)', '2026-06-09 18:42:33', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016352 -2.822559)'), GeomFromEWKT('SRID=4674;POINT (-40.016218 -2.822584)'))) / (select extract(epoch from '2026-06-09 18:42:33'::timestamp) - extract(epoch from '2026-06-09 18:42:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016352 -2.822559)'), GeomFromEWKT('SRID=4674;POINT (-40.016218 -2.822584)'))) / (select extract(epoch from '2026-06-09 18:42:33'::timestamp) - extract(epoch from '2026-06-09 18:42: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'), 46698, 'SRID=4674;POINT (-40.016067 -2.822625)', '2026-06-09 18:42:42', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016218 -2.822584)'), GeomFromEWKT('SRID=4674;POINT (-40.016067 -2.822625)'))) / (select extract(epoch from '2026-06-09 18:42:42'::timestamp) - extract(epoch from '2026-06-09 18:42:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016218 -2.822584)'), GeomFromEWKT('SRID=4674;POINT (-40.016067 -2.822625)'))) / (select extract(epoch from '2026-06-09 18:42:42'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46698, 'SRID=4674;POINT (-40.015898 -2.822655)', '2026-06-09 18:42:51', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016067 -2.822625)'), GeomFromEWKT('SRID=4674;POINT (-40.015898 -2.822655)'))) / (select extract(epoch from '2026-06-09 18:42:51'::timestamp) - extract(epoch from '2026-06-09 18:42:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016067 -2.822625)'), GeomFromEWKT('SRID=4674;POINT (-40.015898 -2.822655)'))) / (select extract(epoch from '2026-06-09 18:42:51'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46698, 'SRID=4674;POINT (-40.015683 -2.822678)', '2026-06-09 18:43:02', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015898 -2.822655)'), GeomFromEWKT('SRID=4674;POINT (-40.015683 -2.822678)'))) / (select extract(epoch from '2026-06-09 18:43:02'::timestamp) - extract(epoch from '2026-06-09 18:42:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015898 -2.822655)'), GeomFromEWKT('SRID=4674;POINT (-40.015683 -2.822678)'))) / (select extract(epoch from '2026-06-09 18:43:02'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46698, 'SRID=4674;POINT (-40.015493 -2.822702)', '2026-06-09 18:43:12', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015683 -2.822678)'), GeomFromEWKT('SRID=4674;POINT (-40.015493 -2.822702)'))) / (select extract(epoch from '2026-06-09 18:43:12'::timestamp) - extract(epoch from '2026-06-09 18:43:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015683 -2.822678)'), GeomFromEWKT('SRID=4674;POINT (-40.015493 -2.822702)'))) / (select extract(epoch from '2026-06-09 18:43:12'::timestamp) - extract(epoch from '2026-06-09 18:43:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.015258 -2.82272)', '2026-06-09 18:43:24', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015493 -2.822702)'), GeomFromEWKT('SRID=4674;POINT (-40.015258 -2.82272)'))) / (select extract(epoch from '2026-06-09 18:43:24'::timestamp) - extract(epoch from '2026-06-09 18:43:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015493 -2.822702)'), GeomFromEWKT('SRID=4674;POINT (-40.015258 -2.82272)'))) / (select extract(epoch from '2026-06-09 18:43:24'::timestamp) - extract(epoch from '2026-06-09 18:43: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'), 46698, 'SRID=4674;POINT (-40.015012 -2.822742)', '2026-06-09 18:43:37', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015258 -2.82272)'), GeomFromEWKT('SRID=4674;POINT (-40.015012 -2.822742)'))) / (select extract(epoch from '2026-06-09 18:43:37'::timestamp) - extract(epoch from '2026-06-09 18:43:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015258 -2.82272)'), GeomFromEWKT('SRID=4674;POINT (-40.015012 -2.822742)'))) / (select extract(epoch from '2026-06-09 18:43:37'::timestamp) - extract(epoch from '2026-06-09 18:43: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'), 46698, 'SRID=4674;POINT (-40.014861 -2.822768)', '2026-06-09 18:43:45', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015012 -2.822742)'), GeomFromEWKT('SRID=4674;POINT (-40.014861 -2.822768)'))) / (select extract(epoch from '2026-06-09 18:43:45'::timestamp) - extract(epoch from '2026-06-09 18:43:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015012 -2.822742)'), GeomFromEWKT('SRID=4674;POINT (-40.014861 -2.822768)'))) / (select extract(epoch from '2026-06-09 18:43:45'::timestamp) - extract(epoch from '2026-06-09 18:43: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'), 46698, 'SRID=4674;POINT (-40.014686 -2.822784)', '2026-06-09 18:43:54', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014861 -2.822768)'), GeomFromEWKT('SRID=4674;POINT (-40.014686 -2.822784)'))) / (select extract(epoch from '2026-06-09 18:43:54'::timestamp) - extract(epoch from '2026-06-09 18:43:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014861 -2.822768)'), GeomFromEWKT('SRID=4674;POINT (-40.014686 -2.822784)'))) / (select extract(epoch from '2026-06-09 18:43:54'::timestamp) - extract(epoch from '2026-06-09 18:43:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.014514 -2.822803)', '2026-06-09 18:44:03', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014686 -2.822784)'), GeomFromEWKT('SRID=4674;POINT (-40.014514 -2.822803)'))) / (select extract(epoch from '2026-06-09 18:44:03'::timestamp) - extract(epoch from '2026-06-09 18:43:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014686 -2.822784)'), GeomFromEWKT('SRID=4674;POINT (-40.014514 -2.822803)'))) / (select extract(epoch from '2026-06-09 18:44:03'::timestamp) - extract(epoch from '2026-06-09 18:43:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.014298 -2.822834)', '2026-06-09 18:44:14', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014514 -2.822803)'), GeomFromEWKT('SRID=4674;POINT (-40.014298 -2.822834)'))) / (select extract(epoch from '2026-06-09 18:44:14'::timestamp) - extract(epoch from '2026-06-09 18:44:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014514 -2.822803)'), GeomFromEWKT('SRID=4674;POINT (-40.014298 -2.822834)'))) / (select extract(epoch from '2026-06-09 18:44:14'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46698, 'SRID=4674;POINT (-40.014117 -2.822861)', '2026-06-09 18:44:24', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014298 -2.822834)'), GeomFromEWKT('SRID=4674;POINT (-40.014117 -2.822861)'))) / (select extract(epoch from '2026-06-09 18:44:24'::timestamp) - extract(epoch from '2026-06-09 18:44:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014298 -2.822834)'), GeomFromEWKT('SRID=4674;POINT (-40.014117 -2.822861)'))) / (select extract(epoch from '2026-06-09 18:44:24'::timestamp) - extract(epoch from '2026-06-09 18:44:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.013932 -2.822891)', '2026-06-09 18:44:34', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014117 -2.822861)'), GeomFromEWKT('SRID=4674;POINT (-40.013932 -2.822891)'))) / (select extract(epoch from '2026-06-09 18:44:34'::timestamp) - extract(epoch from '2026-06-09 18:44:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014117 -2.822861)'), GeomFromEWKT('SRID=4674;POINT (-40.013932 -2.822891)'))) / (select extract(epoch from '2026-06-09 18:44:34'::timestamp) - extract(epoch from '2026-06-09 18:44: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'), 46698, 'SRID=4674;POINT (-40.013767 -2.822932)', '2026-06-09 18:44:44', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013932 -2.822891)'), GeomFromEWKT('SRID=4674;POINT (-40.013767 -2.822932)'))) / (select extract(epoch from '2026-06-09 18:44:44'::timestamp) - extract(epoch from '2026-06-09 18:44:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013932 -2.822891)'), GeomFromEWKT('SRID=4674;POINT (-40.013767 -2.822932)'))) / (select extract(epoch from '2026-06-09 18:44:44'::timestamp) - extract(epoch from '2026-06-09 18:44: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'), 46698, 'SRID=4674;POINT (-40.013599 -2.822983)', '2026-06-09 18:44:54', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013767 -2.822932)'), GeomFromEWKT('SRID=4674;POINT (-40.013599 -2.822983)'))) / (select extract(epoch from '2026-06-09 18:44:54'::timestamp) - extract(epoch from '2026-06-09 18:44:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013767 -2.822932)'), GeomFromEWKT('SRID=4674;POINT (-40.013599 -2.822983)'))) / (select extract(epoch from '2026-06-09 18:44:54'::timestamp) - extract(epoch from '2026-06-09 18:44: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'), 46698, 'SRID=4674;POINT (-40.013508 -2.823009)', '2026-06-09 18:45:02', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013599 -2.822983)'), GeomFromEWKT('SRID=4674;POINT (-40.013508 -2.823009)'))) / (select extract(epoch from '2026-06-09 18:45:02'::timestamp) - extract(epoch from '2026-06-09 18:44:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013599 -2.822983)'), GeomFromEWKT('SRID=4674;POINT (-40.013508 -2.823009)'))) / (select extract(epoch from '2026-06-09 18:45:02'::timestamp) - extract(epoch from '2026-06-09 18:44: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'), 46698, 'SRID=4674;POINT (-40.013432 -2.823044)', '2026-06-09 18:45:11', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013508 -2.823009)'), GeomFromEWKT('SRID=4674;POINT (-40.013432 -2.823044)'))) / (select extract(epoch from '2026-06-09 18:45:11'::timestamp) - extract(epoch from '2026-06-09 18:45:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013508 -2.823009)'), GeomFromEWKT('SRID=4674;POINT (-40.013432 -2.823044)'))) / (select extract(epoch from '2026-06-09 18:45:11'::timestamp) - extract(epoch from '2026-06-09 18:45: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'), 46698, 'SRID=4674;POINT (-40.013292 -2.823067)', '2026-06-09 18:45:20', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013432 -2.823044)'), GeomFromEWKT('SRID=4674;POINT (-40.013292 -2.823067)'))) / (select extract(epoch from '2026-06-09 18:45:20'::timestamp) - extract(epoch from '2026-06-09 18:45:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013432 -2.823044)'), GeomFromEWKT('SRID=4674;POINT (-40.013292 -2.823067)'))) / (select extract(epoch from '2026-06-09 18:45:20'::timestamp) - extract(epoch from '2026-06-09 18:45: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'), 46698, 'SRID=4674;POINT (-40.013107 -2.823065)', '2026-06-09 18:45:30', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013292 -2.823067)'), GeomFromEWKT('SRID=4674;POINT (-40.013107 -2.823065)'))) / (select extract(epoch from '2026-06-09 18:45:30'::timestamp) - extract(epoch from '2026-06-09 18:45:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013292 -2.823067)'), GeomFromEWKT('SRID=4674;POINT (-40.013107 -2.823065)'))) / (select extract(epoch from '2026-06-09 18:45:30'::timestamp) - extract(epoch from '2026-06-09 18:45: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'), 46698, 'SRID=4674;POINT (-40.012927 -2.823041)', '2026-06-09 18:45:40', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013107 -2.823065)'), GeomFromEWKT('SRID=4674;POINT (-40.012927 -2.823041)'))) / (select extract(epoch from '2026-06-09 18:45:40'::timestamp) - extract(epoch from '2026-06-09 18:45:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013107 -2.823065)'), GeomFromEWKT('SRID=4674;POINT (-40.012927 -2.823041)'))) / (select extract(epoch from '2026-06-09 18:45:40'::timestamp) - extract(epoch from '2026-06-09 18:45:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.012773 -2.822995)', '2026-06-09 18:45:49', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.012927 -2.823041)'), GeomFromEWKT('SRID=4674;POINT (-40.012773 -2.822995)'))) / (select extract(epoch from '2026-06-09 18:45:49'::timestamp) - extract(epoch from '2026-06-09 18:45:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.012927 -2.823041)'), GeomFromEWKT('SRID=4674;POINT (-40.012773 -2.822995)'))) / (select extract(epoch from '2026-06-09 18:45:49'::timestamp) - extract(epoch from '2026-06-09 18:45: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'), 46698, 'SRID=4674;POINT (-40.012628 -2.82295)', '2026-06-09 18:45:59', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.012773 -2.822995)'), GeomFromEWKT('SRID=4674;POINT (-40.012628 -2.82295)'))) / (select extract(epoch from '2026-06-09 18:45:59'::timestamp) - extract(epoch from '2026-06-09 18:45:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.012773 -2.822995)'), GeomFromEWKT('SRID=4674;POINT (-40.012628 -2.82295)'))) / (select extract(epoch from '2026-06-09 18:45:59'::timestamp) - extract(epoch from '2026-06-09 18:45:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.012475 -2.822935)', '2026-06-09 18:46:12', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.012628 -2.82295)'), GeomFromEWKT('SRID=4674;POINT (-40.012475 -2.822935)'))) / (select extract(epoch from '2026-06-09 18:46:12'::timestamp) - extract(epoch from '2026-06-09 18:45:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.012628 -2.82295)'), GeomFromEWKT('SRID=4674;POINT (-40.012475 -2.822935)'))) / (select extract(epoch from '2026-06-09 18:46:12'::timestamp) - extract(epoch from '2026-06-09 18:45: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'), 46698, 'SRID=4674;POINT (-40.012392 -2.822912)', '2026-06-09 18:46:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.012475 -2.822935)'), GeomFromEWKT('SRID=4674;POINT (-40.012392 -2.822912)'))) / (select extract(epoch from '2026-06-09 18:46:21'::timestamp) - extract(epoch from '2026-06-09 18:46:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.012475 -2.822935)'), GeomFromEWKT('SRID=4674;POINT (-40.012392 -2.822912)'))) / (select extract(epoch from '2026-06-09 18:46:21'::timestamp) - extract(epoch from '2026-06-09 18:46: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'), 46698, 'SRID=4674;POINT (-40.012308 -2.822905)', '2026-06-09 18:46:33', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.012392 -2.822912)'), GeomFromEWKT('SRID=4674;POINT (-40.012308 -2.822905)'))) / (select extract(epoch from '2026-06-09 18:46:33'::timestamp) - extract(epoch from '2026-06-09 18:46:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.012392 -2.822912)'), GeomFromEWKT('SRID=4674;POINT (-40.012308 -2.822905)'))) / (select extract(epoch from '2026-06-09 18:46:33'::timestamp) - extract(epoch from '2026-06-09 18:46: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'), 46698, 'SRID=4674;POINT (-40.012251 -2.82294)', '2026-06-09 18:46:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.012308 -2.822905)'), GeomFromEWKT('SRID=4674;POINT (-40.012251 -2.82294)'))) / (select extract(epoch from '2026-06-09 18:46:47'::timestamp) - extract(epoch from '2026-06-09 18:46:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.012308 -2.822905)'), GeomFromEWKT('SRID=4674;POINT (-40.012251 -2.82294)'))) / (select extract(epoch from '2026-06-09 18:46:47'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46698, 'SRID=4674;POINT (-40.01221 -2.823008)', '2026-06-09 18:47:04', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.012251 -2.82294)'), GeomFromEWKT('SRID=4674;POINT (-40.01221 -2.823008)'))) / (select extract(epoch from '2026-06-09 18:47:04'::timestamp) - extract(epoch from '2026-06-09 18:46:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.012251 -2.82294)'), GeomFromEWKT('SRID=4674;POINT (-40.01221 -2.823008)'))) / (select extract(epoch from '2026-06-09 18:47:04'::timestamp) - extract(epoch from '2026-06-09 18:46:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.012146 -2.823092)', '2026-06-09 18:47:19', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01221 -2.823008)'), GeomFromEWKT('SRID=4674;POINT (-40.012146 -2.823092)'))) / (select extract(epoch from '2026-06-09 18:47:19'::timestamp) - extract(epoch from '2026-06-09 18:47:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01221 -2.823008)'), GeomFromEWKT('SRID=4674;POINT (-40.012146 -2.823092)'))) / (select extract(epoch from '2026-06-09 18:47:19'::timestamp) - extract(epoch from '2026-06-09 18:47: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'), 46698, 'SRID=4674;POINT (-40.012043 -2.823135)', '2026-06-09 18:47:32', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.012146 -2.823092)'), GeomFromEWKT('SRID=4674;POINT (-40.012043 -2.823135)'))) / (select extract(epoch from '2026-06-09 18:47:32'::timestamp) - extract(epoch from '2026-06-09 18:47:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.012146 -2.823092)'), GeomFromEWKT('SRID=4674;POINT (-40.012043 -2.823135)'))) / (select extract(epoch from '2026-06-09 18:47:32'::timestamp) - extract(epoch from '2026-06-09 18:47: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'), 46698, 'SRID=4674;POINT (-40.011919 -2.823164)', '2026-06-09 18:47:45', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.012043 -2.823135)'), GeomFromEWKT('SRID=4674;POINT (-40.011919 -2.823164)'))) / (select extract(epoch from '2026-06-09 18:47:45'::timestamp) - extract(epoch from '2026-06-09 18:47:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.012043 -2.823135)'), GeomFromEWKT('SRID=4674;POINT (-40.011919 -2.823164)'))) / (select extract(epoch from '2026-06-09 18:47:45'::timestamp) - extract(epoch from '2026-06-09 18:47:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.011833 -2.82316)', '2026-06-09 18:47:53', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.011919 -2.823164)'), GeomFromEWKT('SRID=4674;POINT (-40.011833 -2.82316)'))) / (select extract(epoch from '2026-06-09 18:47:53'::timestamp) - extract(epoch from '2026-06-09 18:47:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.011919 -2.823164)'), GeomFromEWKT('SRID=4674;POINT (-40.011833 -2.82316)'))) / (select extract(epoch from '2026-06-09 18:47:53'::timestamp) - extract(epoch from '2026-06-09 18:47: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'), 46698, 'SRID=4674;POINT (-40.011759 -2.823082)', '2026-06-09 18:48:02', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.011833 -2.82316)'), GeomFromEWKT('SRID=4674;POINT (-40.011759 -2.823082)'))) / (select extract(epoch from '2026-06-09 18:48:02'::timestamp) - extract(epoch from '2026-06-09 18:47:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.011833 -2.82316)'), GeomFromEWKT('SRID=4674;POINT (-40.011759 -2.823082)'))) / (select extract(epoch from '2026-06-09 18:48:02'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46698, 'SRID=4674;POINT (-40.011717 -2.822979)', '2026-06-09 18:48:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.011759 -2.823082)'), GeomFromEWKT('SRID=4674;POINT (-40.011717 -2.822979)'))) / (select extract(epoch from '2026-06-09 18:48:11'::timestamp) - extract(epoch from '2026-06-09 18:48:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.011759 -2.823082)'), GeomFromEWKT('SRID=4674;POINT (-40.011717 -2.822979)'))) / (select extract(epoch from '2026-06-09 18:48:11'::timestamp) - extract(epoch from '2026-06-09 18:48:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.011683 -2.822848)', '2026-06-09 18:48:24', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.011717 -2.822979)'), GeomFromEWKT('SRID=4674;POINT (-40.011683 -2.822848)'))) / (select extract(epoch from '2026-06-09 18:48:24'::timestamp) - extract(epoch from '2026-06-09 18:48:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.011717 -2.822979)'), GeomFromEWKT('SRID=4674;POINT (-40.011683 -2.822848)'))) / (select extract(epoch from '2026-06-09 18:48:24'::timestamp) - extract(epoch from '2026-06-09 18:48: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'), 46698, 'SRID=4674;POINT (-40.011666 -2.822731)', '2026-06-09 18:48:35', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.011683 -2.822848)'), GeomFromEWKT('SRID=4674;POINT (-40.011666 -2.822731)'))) / (select extract(epoch from '2026-06-09 18:48:35'::timestamp) - extract(epoch from '2026-06-09 18:48:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.011683 -2.822848)'), GeomFromEWKT('SRID=4674;POINT (-40.011666 -2.822731)'))) / (select extract(epoch from '2026-06-09 18:48:35'::timestamp) - extract(epoch from '2026-06-09 18:48: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'), 46698, 'SRID=4674;POINT (-40.011649 -2.822614)', '2026-06-09 18:48:46', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.011666 -2.822731)'), GeomFromEWKT('SRID=4674;POINT (-40.011649 -2.822614)'))) / (select extract(epoch from '2026-06-09 18:48:46'::timestamp) - extract(epoch from '2026-06-09 18:48:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.011666 -2.822731)'), GeomFromEWKT('SRID=4674;POINT (-40.011649 -2.822614)'))) / (select extract(epoch from '2026-06-09 18:48:46'::timestamp) - extract(epoch from '2026-06-09 18:48: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'), 46698, 'SRID=4674;POINT (-40.01165 -2.822522)', '2026-06-09 18:48:55', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.011649 -2.822614)'), GeomFromEWKT('SRID=4674;POINT (-40.01165 -2.822522)'))) / (select extract(epoch from '2026-06-09 18:48:55'::timestamp) - extract(epoch from '2026-06-09 18:48:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.011649 -2.822614)'), GeomFromEWKT('SRID=4674;POINT (-40.01165 -2.822522)'))) / (select extract(epoch from '2026-06-09 18:48:55'::timestamp) - extract(epoch from '2026-06-09 18:48: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'), 46698, 'SRID=4674;POINT (-40.011717 -2.82244)', '2026-06-09 18:49:04', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01165 -2.822522)'), GeomFromEWKT('SRID=4674;POINT (-40.011717 -2.82244)'))) / (select extract(epoch from '2026-06-09 18:49:04'::timestamp) - extract(epoch from '2026-06-09 18:48:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01165 -2.822522)'), GeomFromEWKT('SRID=4674;POINT (-40.011717 -2.82244)'))) / (select extract(epoch from '2026-06-09 18:49:04'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46698, 'SRID=4674;POINT (-40.011813 -2.822374)', '2026-06-09 18:49:13', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.011717 -2.82244)'), GeomFromEWKT('SRID=4674;POINT (-40.011813 -2.822374)'))) / (select extract(epoch from '2026-06-09 18:49:13'::timestamp) - extract(epoch from '2026-06-09 18:49:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.011717 -2.82244)'), GeomFromEWKT('SRID=4674;POINT (-40.011813 -2.822374)'))) / (select extract(epoch from '2026-06-09 18:49:13'::timestamp) - extract(epoch from '2026-06-09 18:49: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'), 46698, 'SRID=4674;POINT (-40.011919 -2.822311)', '2026-06-09 18:49:23', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.011813 -2.822374)'), GeomFromEWKT('SRID=4674;POINT (-40.011919 -2.822311)'))) / (select extract(epoch from '2026-06-09 18:49:23'::timestamp) - extract(epoch from '2026-06-09 18:49:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.011813 -2.822374)'), GeomFromEWKT('SRID=4674;POINT (-40.011919 -2.822311)'))) / (select extract(epoch from '2026-06-09 18:49:23'::timestamp) - extract(epoch from '2026-06-09 18:49: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'), 46698, 'SRID=4674;POINT (-40.012051 -2.822243)', '2026-06-09 18:49:35', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.011919 -2.822311)'), GeomFromEWKT('SRID=4674;POINT (-40.012051 -2.822243)'))) / (select extract(epoch from '2026-06-09 18:49:35'::timestamp) - extract(epoch from '2026-06-09 18:49:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.011919 -2.822311)'), GeomFromEWKT('SRID=4674;POINT (-40.012051 -2.822243)'))) / (select extract(epoch from '2026-06-09 18:49:35'::timestamp) - extract(epoch from '2026-06-09 18:49:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.01215 -2.822205)', '2026-06-09 18:49:43', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.012051 -2.822243)'), GeomFromEWKT('SRID=4674;POINT (-40.01215 -2.822205)'))) / (select extract(epoch from '2026-06-09 18:49:43'::timestamp) - extract(epoch from '2026-06-09 18:49:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.012051 -2.822243)'), GeomFromEWKT('SRID=4674;POINT (-40.01215 -2.822205)'))) / (select extract(epoch from '2026-06-09 18:49:43'::timestamp) - extract(epoch from '2026-06-09 18:49:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.01233 -2.822146)', '2026-06-09 18:49:57', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01215 -2.822205)'), GeomFromEWKT('SRID=4674;POINT (-40.01233 -2.822146)'))) / (select extract(epoch from '2026-06-09 18:49:57'::timestamp) - extract(epoch from '2026-06-09 18:49:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01215 -2.822205)'), GeomFromEWKT('SRID=4674;POINT (-40.01233 -2.822146)'))) / (select extract(epoch from '2026-06-09 18:49:57'::timestamp) - extract(epoch from '2026-06-09 18:49: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'), 46698, 'SRID=4674;POINT (-40.012475 -2.8221)', '2026-06-09 18:50:08', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01233 -2.822146)'), GeomFromEWKT('SRID=4674;POINT (-40.012475 -2.8221)'))) / (select extract(epoch from '2026-06-09 18:50:08'::timestamp) - extract(epoch from '2026-06-09 18:49:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01233 -2.822146)'), GeomFromEWKT('SRID=4674;POINT (-40.012475 -2.8221)'))) / (select extract(epoch from '2026-06-09 18:50:08'::timestamp) - extract(epoch from '2026-06-09 18:49: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'), 46698, 'SRID=4674;POINT (-40.012605 -2.822061)', '2026-06-09 18:50:18', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.012475 -2.8221)'), GeomFromEWKT('SRID=4674;POINT (-40.012605 -2.822061)'))) / (select extract(epoch from '2026-06-09 18:50:18'::timestamp) - extract(epoch from '2026-06-09 18:50:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.012475 -2.8221)'), GeomFromEWKT('SRID=4674;POINT (-40.012605 -2.822061)'))) / (select extract(epoch from '2026-06-09 18:50:18'::timestamp) - extract(epoch from '2026-06-09 18:50:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.012751 -2.822024)', '2026-06-09 18:50:29', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.012605 -2.822061)'), GeomFromEWKT('SRID=4674;POINT (-40.012751 -2.822024)'))) / (select extract(epoch from '2026-06-09 18:50:29'::timestamp) - extract(epoch from '2026-06-09 18:50:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.012605 -2.822061)'), GeomFromEWKT('SRID=4674;POINT (-40.012751 -2.822024)'))) / (select extract(epoch from '2026-06-09 18:50:29'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46698, 'SRID=4674;POINT (-40.012883 -2.821991)', '2026-06-09 18:50:39', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.012751 -2.822024)'), GeomFromEWKT('SRID=4674;POINT (-40.012883 -2.821991)'))) / (select extract(epoch from '2026-06-09 18:50:39'::timestamp) - extract(epoch from '2026-06-09 18:50:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.012751 -2.822024)'), GeomFromEWKT('SRID=4674;POINT (-40.012883 -2.821991)'))) / (select extract(epoch from '2026-06-09 18:50:39'::timestamp) - extract(epoch from '2026-06-09 18:50: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'), 46698, 'SRID=4674;POINT (-40.013027 -2.821951)', '2026-06-09 18:50:51', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.012883 -2.821991)'), GeomFromEWKT('SRID=4674;POINT (-40.013027 -2.821951)'))) / (select extract(epoch from '2026-06-09 18:50:51'::timestamp) - extract(epoch from '2026-06-09 18:50:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.012883 -2.821991)'), GeomFromEWKT('SRID=4674;POINT (-40.013027 -2.821951)'))) / (select extract(epoch from '2026-06-09 18:50:51'::timestamp) - extract(epoch from '2026-06-09 18:50: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'), 46698, 'SRID=4674;POINT (-40.013196 -2.821904)', '2026-06-09 18:51:04', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013027 -2.821951)'), GeomFromEWKT('SRID=4674;POINT (-40.013196 -2.821904)'))) / (select extract(epoch from '2026-06-09 18:51:04'::timestamp) - extract(epoch from '2026-06-09 18:50:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013027 -2.821951)'), GeomFromEWKT('SRID=4674;POINT (-40.013196 -2.821904)'))) / (select extract(epoch from '2026-06-09 18:51:04'::timestamp) - extract(epoch from '2026-06-09 18:50: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'), 46698, 'SRID=4674;POINT (-40.013299 -2.821864)', '2026-06-09 18:51:13', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013196 -2.821904)'), GeomFromEWKT('SRID=4674;POINT (-40.013299 -2.821864)'))) / (select extract(epoch from '2026-06-09 18:51:13'::timestamp) - extract(epoch from '2026-06-09 18:51:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013196 -2.821904)'), GeomFromEWKT('SRID=4674;POINT (-40.013299 -2.821864)'))) / (select extract(epoch from '2026-06-09 18:51:13'::timestamp) - extract(epoch from '2026-06-09 18:51: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'), 46698, 'SRID=4674;POINT (-40.013441 -2.821826)', '2026-06-09 18:51:25', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013299 -2.821864)'), GeomFromEWKT('SRID=4674;POINT (-40.013441 -2.821826)'))) / (select extract(epoch from '2026-06-09 18:51:25'::timestamp) - extract(epoch from '2026-06-09 18:51:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013299 -2.821864)'), GeomFromEWKT('SRID=4674;POINT (-40.013441 -2.821826)'))) / (select extract(epoch from '2026-06-09 18:51:25'::timestamp) - extract(epoch from '2026-06-09 18:51:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.013573 -2.821799)', '2026-06-09 18:51:35', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013441 -2.821826)'), GeomFromEWKT('SRID=4674;POINT (-40.013573 -2.821799)'))) / (select extract(epoch from '2026-06-09 18:51:35'::timestamp) - extract(epoch from '2026-06-09 18:51:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013441 -2.821826)'), GeomFromEWKT('SRID=4674;POINT (-40.013573 -2.821799)'))) / (select extract(epoch from '2026-06-09 18:51:35'::timestamp) - extract(epoch from '2026-06-09 18:51: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'), 46698, 'SRID=4674;POINT (-40.013673 -2.821797)', '2026-06-09 18:51:43', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013573 -2.821799)'), GeomFromEWKT('SRID=4674;POINT (-40.013673 -2.821797)'))) / (select extract(epoch from '2026-06-09 18:51:43'::timestamp) - extract(epoch from '2026-06-09 18:51:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013573 -2.821799)'), GeomFromEWKT('SRID=4674;POINT (-40.013673 -2.821797)'))) / (select extract(epoch from '2026-06-09 18:51:43'::timestamp) - extract(epoch from '2026-06-09 18:51:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.013753 -2.821834)', '2026-06-09 18:51:51', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013673 -2.821797)'), GeomFromEWKT('SRID=4674;POINT (-40.013753 -2.821834)'))) / (select extract(epoch from '2026-06-09 18:51:51'::timestamp) - extract(epoch from '2026-06-09 18:51:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013673 -2.821797)'), GeomFromEWKT('SRID=4674;POINT (-40.013753 -2.821834)'))) / (select extract(epoch from '2026-06-09 18:51:51'::timestamp) - extract(epoch from '2026-06-09 18:51:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.013837 -2.82189)', '2026-06-09 18:51:59', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013753 -2.821834)'), GeomFromEWKT('SRID=4674;POINT (-40.013837 -2.82189)'))) / (select extract(epoch from '2026-06-09 18:51:59'::timestamp) - extract(epoch from '2026-06-09 18:51:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013753 -2.821834)'), GeomFromEWKT('SRID=4674;POINT (-40.013837 -2.82189)'))) / (select extract(epoch from '2026-06-09 18:51:59'::timestamp) - extract(epoch from '2026-06-09 18:51: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'), 46698, 'SRID=4674;POINT (-40.013914 -2.82196)', '2026-06-09 18:52:09', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013837 -2.82189)'), GeomFromEWKT('SRID=4674;POINT (-40.013914 -2.82196)'))) / (select extract(epoch from '2026-06-09 18:52:09'::timestamp) - extract(epoch from '2026-06-09 18:51:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013837 -2.82189)'), GeomFromEWKT('SRID=4674;POINT (-40.013914 -2.82196)'))) / (select extract(epoch from '2026-06-09 18:52:09'::timestamp) - extract(epoch from '2026-06-09 18:51:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.014007 -2.822047)', '2026-06-09 18:52:21', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013914 -2.82196)'), GeomFromEWKT('SRID=4674;POINT (-40.014007 -2.822047)'))) / (select extract(epoch from '2026-06-09 18:52:21'::timestamp) - extract(epoch from '2026-06-09 18:52:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.013914 -2.82196)'), GeomFromEWKT('SRID=4674;POINT (-40.014007 -2.822047)'))) / (select extract(epoch from '2026-06-09 18:52:21'::timestamp) - extract(epoch from '2026-06-09 18:52:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.014059 -2.82212)', '2026-06-09 18:52:31', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014007 -2.822047)'), GeomFromEWKT('SRID=4674;POINT (-40.014059 -2.82212)'))) / (select extract(epoch from '2026-06-09 18:52:31'::timestamp) - extract(epoch from '2026-06-09 18:52:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014007 -2.822047)'), GeomFromEWKT('SRID=4674;POINT (-40.014059 -2.82212)'))) / (select extract(epoch from '2026-06-09 18:52:31'::timestamp) - extract(epoch from '2026-06-09 18:52: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'), 46698, 'SRID=4674;POINT (-40.014081 -2.822181)', '2026-06-09 18:52:39', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014059 -2.82212)'), GeomFromEWKT('SRID=4674;POINT (-40.014081 -2.822181)'))) / (select extract(epoch from '2026-06-09 18:52:39'::timestamp) - extract(epoch from '2026-06-09 18:52:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014059 -2.82212)'), GeomFromEWKT('SRID=4674;POINT (-40.014081 -2.822181)'))) / (select extract(epoch from '2026-06-09 18:52:39'::timestamp) - extract(epoch from '2026-06-09 18:52:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.014102 -2.822252)', '2026-06-09 18:52:48', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014081 -2.822181)'), GeomFromEWKT('SRID=4674;POINT (-40.014102 -2.822252)'))) / (select extract(epoch from '2026-06-09 18:52:48'::timestamp) - extract(epoch from '2026-06-09 18:52:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014081 -2.822181)'), GeomFromEWKT('SRID=4674;POINT (-40.014102 -2.822252)'))) / (select extract(epoch from '2026-06-09 18:52:48'::timestamp) - extract(epoch from '2026-06-09 18:52: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'), 46698, 'SRID=4674;POINT (-40.014122 -2.822336)', '2026-06-09 18:52:58', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014102 -2.822252)'), GeomFromEWKT('SRID=4674;POINT (-40.014122 -2.822336)'))) / (select extract(epoch from '2026-06-09 18:52:58'::timestamp) - extract(epoch from '2026-06-09 18:52:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014102 -2.822252)'), GeomFromEWKT('SRID=4674;POINT (-40.014122 -2.822336)'))) / (select extract(epoch from '2026-06-09 18:52:58'::timestamp) - extract(epoch from '2026-06-09 18:52:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.014131 -2.822424)', '2026-06-09 18:53:08', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014122 -2.822336)'), GeomFromEWKT('SRID=4674;POINT (-40.014131 -2.822424)'))) / (select extract(epoch from '2026-06-09 18:53:08'::timestamp) - extract(epoch from '2026-06-09 18:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014122 -2.822336)'), GeomFromEWKT('SRID=4674;POINT (-40.014131 -2.822424)'))) / (select extract(epoch from '2026-06-09 18:53:08'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46698, 'SRID=4674;POINT (-40.014114 -2.8225)', '2026-06-09 18:53:17', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014131 -2.822424)'), GeomFromEWKT('SRID=4674;POINT (-40.014114 -2.8225)'))) / (select extract(epoch from '2026-06-09 18:53:17'::timestamp) - extract(epoch from '2026-06-09 18:53:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014131 -2.822424)'), GeomFromEWKT('SRID=4674;POINT (-40.014114 -2.8225)'))) / (select extract(epoch from '2026-06-09 18:53:17'::timestamp) - extract(epoch from '2026-06-09 18:53: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'), 46698, 'SRID=4674;POINT (-40.01409 -2.822568)', '2026-06-09 18:53:26', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014114 -2.8225)'), GeomFromEWKT('SRID=4674;POINT (-40.01409 -2.822568)'))) / (select extract(epoch from '2026-06-09 18:53:26'::timestamp) - extract(epoch from '2026-06-09 18:53:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014114 -2.8225)'), GeomFromEWKT('SRID=4674;POINT (-40.01409 -2.822568)'))) / (select extract(epoch from '2026-06-09 18:53:26'::timestamp) - extract(epoch from '2026-06-09 18:53: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'), 46698, 'SRID=4674;POINT (-40.014086 -2.822687)', '2026-06-09 18:53:42', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01409 -2.822568)'), GeomFromEWKT('SRID=4674;POINT (-40.014086 -2.822687)'))) / (select extract(epoch from '2026-06-09 18:53:42'::timestamp) - extract(epoch from '2026-06-09 18:53:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01409 -2.822568)'), GeomFromEWKT('SRID=4674;POINT (-40.014086 -2.822687)'))) / (select extract(epoch from '2026-06-09 18:53:42'::timestamp) - extract(epoch from '2026-06-09 18:53:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.014082 -2.822799)', '2026-06-09 18:54:00', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014086 -2.822687)'), GeomFromEWKT('SRID=4674;POINT (-40.014082 -2.822799)'))) / (select extract(epoch from '2026-06-09 18:54:00'::timestamp) - extract(epoch from '2026-06-09 18:53:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014086 -2.822687)'), GeomFromEWKT('SRID=4674;POINT (-40.014082 -2.822799)'))) / (select extract(epoch from '2026-06-09 18:54:00'::timestamp) - extract(epoch from '2026-06-09 18:53: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'), 46698, 'SRID=4674;POINT (-40.01405 -2.822896)', '2026-06-09 18:54:15', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014082 -2.822799)'), GeomFromEWKT('SRID=4674;POINT (-40.01405 -2.822896)'))) / (select extract(epoch from '2026-06-09 18:54:15'::timestamp) - extract(epoch from '2026-06-09 18:54:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014082 -2.822799)'), GeomFromEWKT('SRID=4674;POINT (-40.01405 -2.822896)'))) / (select extract(epoch from '2026-06-09 18:54:15'::timestamp) - extract(epoch from '2026-06-09 18:54: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'), 46698, 'SRID=4674;POINT (-40.014007 -2.823013)', '2026-06-09 18:54:29', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01405 -2.822896)'), GeomFromEWKT('SRID=4674;POINT (-40.014007 -2.823013)'))) / (select extract(epoch from '2026-06-09 18:54:29'::timestamp) - extract(epoch from '2026-06-09 18:54:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01405 -2.822896)'), GeomFromEWKT('SRID=4674;POINT (-40.014007 -2.823013)'))) / (select extract(epoch from '2026-06-09 18:54:29'::timestamp) - extract(epoch from '2026-06-09 18:54: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'), 46698, 'SRID=4674;POINT (-40.014 -2.823115)', '2026-06-09 18:54:42', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014007 -2.823013)'), GeomFromEWKT('SRID=4674;POINT (-40.014 -2.823115)'))) / (select extract(epoch from '2026-06-09 18:54:42'::timestamp) - extract(epoch from '2026-06-09 18:54:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014007 -2.823013)'), GeomFromEWKT('SRID=4674;POINT (-40.014 -2.823115)'))) / (select extract(epoch from '2026-06-09 18:54:42'::timestamp) - extract(epoch from '2026-06-09 18:54: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'), 46698, 'SRID=4674;POINT (-40.014003 -2.823244)', '2026-06-09 18:55:00', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014 -2.823115)'), GeomFromEWKT('SRID=4674;POINT (-40.014003 -2.823244)'))) / (select extract(epoch from '2026-06-09 18:55:00'::timestamp) - extract(epoch from '2026-06-09 18:54:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014 -2.823115)'), GeomFromEWKT('SRID=4674;POINT (-40.014003 -2.823244)'))) / (select extract(epoch from '2026-06-09 18:55:00'::timestamp) - extract(epoch from '2026-06-09 18:54: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'), 46698, 'SRID=4674;POINT (-40.014005 -2.823345)', '2026-06-09 18:55:17', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014003 -2.823244)'), GeomFromEWKT('SRID=4674;POINT (-40.014005 -2.823345)'))) / (select extract(epoch from '2026-06-09 18:55:17'::timestamp) - extract(epoch from '2026-06-09 18:55:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014003 -2.823244)'), GeomFromEWKT('SRID=4674;POINT (-40.014005 -2.823345)'))) / (select extract(epoch from '2026-06-09 18:55:17'::timestamp) - extract(epoch from '2026-06-09 18:55: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'), 46698, 'SRID=4674;POINT (-40.014004 -2.823434)', '2026-06-09 18:55:32', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014005 -2.823345)'), GeomFromEWKT('SRID=4674;POINT (-40.014004 -2.823434)'))) / (select extract(epoch from '2026-06-09 18:55:32'::timestamp) - extract(epoch from '2026-06-09 18:55:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014005 -2.823345)'), GeomFromEWKT('SRID=4674;POINT (-40.014004 -2.823434)'))) / (select extract(epoch from '2026-06-09 18:55:32'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46698, 'SRID=4674;POINT (-40.014007 -2.823512)', '2026-06-09 18:55:47', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014004 -2.823434)'), GeomFromEWKT('SRID=4674;POINT (-40.014007 -2.823512)'))) / (select extract(epoch from '2026-06-09 18:55:47'::timestamp) - extract(epoch from '2026-06-09 18:55:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014004 -2.823434)'), GeomFromEWKT('SRID=4674;POINT (-40.014007 -2.823512)'))) / (select extract(epoch from '2026-06-09 18:55:47'::timestamp) - extract(epoch from '2026-06-09 18:55: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'), 46698, 'SRID=4674;POINT (-40.014039 -2.823617)', '2026-06-09 18:56:00', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014007 -2.823512)'), GeomFromEWKT('SRID=4674;POINT (-40.014039 -2.823617)'))) / (select extract(epoch from '2026-06-09 18:56:00'::timestamp) - extract(epoch from '2026-06-09 18:55:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014007 -2.823512)'), GeomFromEWKT('SRID=4674;POINT (-40.014039 -2.823617)'))) / (select extract(epoch from '2026-06-09 18:56:00'::timestamp) - extract(epoch from '2026-06-09 18:55: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'), 46698, 'SRID=4674;POINT (-40.014135 -2.823719)', '2026-06-09 18:56:08', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014039 -2.823617)'), GeomFromEWKT('SRID=4674;POINT (-40.014135 -2.823719)'))) / (select extract(epoch from '2026-06-09 18:56:08'::timestamp) - extract(epoch from '2026-06-09 18:56:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014039 -2.823617)'), GeomFromEWKT('SRID=4674;POINT (-40.014135 -2.823719)'))) / (select extract(epoch from '2026-06-09 18:56:08'::timestamp) - extract(epoch from '2026-06-09 18:56: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'), 46698, 'SRID=4674;POINT (-40.014307 -2.823815)', '2026-06-09 18:56:18', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014135 -2.823719)'), GeomFromEWKT('SRID=4674;POINT (-40.014307 -2.823815)'))) / (select extract(epoch from '2026-06-09 18:56:18'::timestamp) - extract(epoch from '2026-06-09 18:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014135 -2.823719)'), GeomFromEWKT('SRID=4674;POINT (-40.014307 -2.823815)'))) / (select extract(epoch from '2026-06-09 18:56:18'::timestamp) - extract(epoch from '2026-06-09 18:56: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'), 46698, 'SRID=4674;POINT (-40.014504 -2.823918)', '2026-06-09 18:56:29', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014307 -2.823815)'), GeomFromEWKT('SRID=4674;POINT (-40.014504 -2.823918)'))) / (select extract(epoch from '2026-06-09 18:56:29'::timestamp) - extract(epoch from '2026-06-09 18:56:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014307 -2.823815)'), GeomFromEWKT('SRID=4674;POINT (-40.014504 -2.823918)'))) / (select extract(epoch from '2026-06-09 18:56:29'::timestamp) - extract(epoch from '2026-06-09 18:56: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'), 46698, 'SRID=4674;POINT (-40.014687 -2.823992)', '2026-06-09 18:56:39', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014504 -2.823918)'), GeomFromEWKT('SRID=4674;POINT (-40.014687 -2.823992)'))) / (select extract(epoch from '2026-06-09 18:56:39'::timestamp) - extract(epoch from '2026-06-09 18:56:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014504 -2.823918)'), GeomFromEWKT('SRID=4674;POINT (-40.014687 -2.823992)'))) / (select extract(epoch from '2026-06-09 18:56:39'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46698, 'SRID=4674;POINT (-40.014854 -2.824094)', '2026-06-09 18:56:50', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014687 -2.823992)'), GeomFromEWKT('SRID=4674;POINT (-40.014854 -2.824094)'))) / (select extract(epoch from '2026-06-09 18:56:50'::timestamp) - extract(epoch from '2026-06-09 18:56:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014687 -2.823992)'), GeomFromEWKT('SRID=4674;POINT (-40.014854 -2.824094)'))) / (select extract(epoch from '2026-06-09 18:56:50'::timestamp) - extract(epoch from '2026-06-09 18:56:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.014952 -2.824198)', '2026-06-09 18:56:59', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014854 -2.824094)'), GeomFromEWKT('SRID=4674;POINT (-40.014952 -2.824198)'))) / (select extract(epoch from '2026-06-09 18:56:59'::timestamp) - extract(epoch from '2026-06-09 18:56:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014854 -2.824094)'), GeomFromEWKT('SRID=4674;POINT (-40.014952 -2.824198)'))) / (select extract(epoch from '2026-06-09 18:56:59'::timestamp) - extract(epoch from '2026-06-09 18:56: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'), 46698, 'SRID=4674;POINT (-40.014964 -2.824299)', '2026-06-09 18:57:07', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014952 -2.824198)'), GeomFromEWKT('SRID=4674;POINT (-40.014964 -2.824299)'))) / (select extract(epoch from '2026-06-09 18:57:07'::timestamp) - extract(epoch from '2026-06-09 18:56:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014952 -2.824198)'), GeomFromEWKT('SRID=4674;POINT (-40.014964 -2.824299)'))) / (select extract(epoch from '2026-06-09 18:57:07'::timestamp) - extract(epoch from '2026-06-09 18:56: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'), 46698, 'SRID=4674;POINT (-40.014909 -2.824386)', '2026-06-09 18:57:17', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014964 -2.824299)'), GeomFromEWKT('SRID=4674;POINT (-40.014909 -2.824386)'))) / (select extract(epoch from '2026-06-09 18:57:17'::timestamp) - extract(epoch from '2026-06-09 18:57:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014964 -2.824299)'), GeomFromEWKT('SRID=4674;POINT (-40.014909 -2.824386)'))) / (select extract(epoch from '2026-06-09 18:57:17'::timestamp) - extract(epoch from '2026-06-09 18:57: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'), 46698, 'SRID=4674;POINT (-40.014826 -2.824416)', '2026-06-09 18:57:27', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014909 -2.824386)'), GeomFromEWKT('SRID=4674;POINT (-40.014826 -2.824416)'))) / (select extract(epoch from '2026-06-09 18:57:27'::timestamp) - extract(epoch from '2026-06-09 18:57:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014909 -2.824386)'), GeomFromEWKT('SRID=4674;POINT (-40.014826 -2.824416)'))) / (select extract(epoch from '2026-06-09 18:57:27'::timestamp) - extract(epoch from '2026-06-09 18:57: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'), 46698, 'SRID=4674;POINT (-40.014741 -2.824386)', '2026-06-09 18:57:36', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014826 -2.824416)'), GeomFromEWKT('SRID=4674;POINT (-40.014741 -2.824386)'))) / (select extract(epoch from '2026-06-09 18:57:36'::timestamp) - extract(epoch from '2026-06-09 18:57:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014826 -2.824416)'), GeomFromEWKT('SRID=4674;POINT (-40.014741 -2.824386)'))) / (select extract(epoch from '2026-06-09 18:57:36'::timestamp) - extract(epoch from '2026-06-09 18:57: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'), 46698, 'SRID=4674;POINT (-40.014648 -2.824313)', '2026-06-09 18:57:47', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014741 -2.824386)'), GeomFromEWKT('SRID=4674;POINT (-40.014648 -2.824313)'))) / (select extract(epoch from '2026-06-09 18:57:47'::timestamp) - extract(epoch from '2026-06-09 18:57:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014741 -2.824386)'), GeomFromEWKT('SRID=4674;POINT (-40.014648 -2.824313)'))) / (select extract(epoch from '2026-06-09 18:57:47'::timestamp) - extract(epoch from '2026-06-09 18:57: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'), 46698, 'SRID=4674;POINT (-40.014614 -2.824199)', '2026-06-09 18:57:57', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014648 -2.824313)'), GeomFromEWKT('SRID=4674;POINT (-40.014614 -2.824199)'))) / (select extract(epoch from '2026-06-09 18:57:57'::timestamp) - extract(epoch from '2026-06-09 18:57:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014648 -2.824313)'), GeomFromEWKT('SRID=4674;POINT (-40.014614 -2.824199)'))) / (select extract(epoch from '2026-06-09 18:57:57'::timestamp) - extract(epoch from '2026-06-09 18:57: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'), 46698, 'SRID=4674;POINT (-40.014598 -2.824106)', '2026-06-09 18:58:06', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014614 -2.824199)'), GeomFromEWKT('SRID=4674;POINT (-40.014598 -2.824106)'))) / (select extract(epoch from '2026-06-09 18:58:06'::timestamp) - extract(epoch from '2026-06-09 18:57:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014614 -2.824199)'), GeomFromEWKT('SRID=4674;POINT (-40.014598 -2.824106)'))) / (select extract(epoch from '2026-06-09 18:58:06'::timestamp) - extract(epoch from '2026-06-09 18:57: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'), 46698, 'SRID=4674;POINT (-40.014612 -2.823996)', '2026-06-09 18:58:16', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014598 -2.824106)'), GeomFromEWKT('SRID=4674;POINT (-40.014612 -2.823996)'))) / (select extract(epoch from '2026-06-09 18:58:16'::timestamp) - extract(epoch from '2026-06-09 18:58:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014598 -2.824106)'), GeomFromEWKT('SRID=4674;POINT (-40.014612 -2.823996)'))) / (select extract(epoch from '2026-06-09 18:58:16'::timestamp) - extract(epoch from '2026-06-09 18:58: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'), 46698, 'SRID=4674;POINT (-40.014658 -2.823852)', '2026-06-09 18:58:29', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014612 -2.823996)'), GeomFromEWKT('SRID=4674;POINT (-40.014658 -2.823852)'))) / (select extract(epoch from '2026-06-09 18:58:29'::timestamp) - extract(epoch from '2026-06-09 18:58:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014612 -2.823996)'), GeomFromEWKT('SRID=4674;POINT (-40.014658 -2.823852)'))) / (select extract(epoch from '2026-06-09 18:58:29'::timestamp) - extract(epoch from '2026-06-09 18:58:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.014774 -2.823756)', '2026-06-09 18:58:40', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014658 -2.823852)'), GeomFromEWKT('SRID=4674;POINT (-40.014774 -2.823756)'))) / (select extract(epoch from '2026-06-09 18:58:40'::timestamp) - extract(epoch from '2026-06-09 18:58:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014658 -2.823852)'), GeomFromEWKT('SRID=4674;POINT (-40.014774 -2.823756)'))) / (select extract(epoch from '2026-06-09 18:58:40'::timestamp) - extract(epoch from '2026-06-09 18:58: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'), 46698, 'SRID=4674;POINT (-40.014884 -2.823706)', '2026-06-09 18:58:49', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014774 -2.823756)'), GeomFromEWKT('SRID=4674;POINT (-40.014884 -2.823706)'))) / (select extract(epoch from '2026-06-09 18:58:49'::timestamp) - extract(epoch from '2026-06-09 18:58:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014774 -2.823756)'), GeomFromEWKT('SRID=4674;POINT (-40.014884 -2.823706)'))) / (select extract(epoch from '2026-06-09 18:58:49'::timestamp) - extract(epoch from '2026-06-09 18:58: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'), 46698, 'SRID=4674;POINT (-40.014994 -2.823674)', '2026-06-09 18:58:58', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014884 -2.823706)'), GeomFromEWKT('SRID=4674;POINT (-40.014994 -2.823674)'))) / (select extract(epoch from '2026-06-09 18:58:58'::timestamp) - extract(epoch from '2026-06-09 18:58:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014884 -2.823706)'), GeomFromEWKT('SRID=4674;POINT (-40.014994 -2.823674)'))) / (select extract(epoch from '2026-06-09 18:58:58'::timestamp) - extract(epoch from '2026-06-09 18:58: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'), 46698, 'SRID=4674;POINT (-40.015124 -2.823659)', '2026-06-09 18:59:08', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014994 -2.823674)'), GeomFromEWKT('SRID=4674;POINT (-40.015124 -2.823659)'))) / (select extract(epoch from '2026-06-09 18:59:08'::timestamp) - extract(epoch from '2026-06-09 18:58:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.014994 -2.823674)'), GeomFromEWKT('SRID=4674;POINT (-40.015124 -2.823659)'))) / (select extract(epoch from '2026-06-09 18:59:08'::timestamp) - extract(epoch from '2026-06-09 18:58: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'), 46698, 'SRID=4674;POINT (-40.015245 -2.823627)', '2026-06-09 18:59:18', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015124 -2.823659)'), GeomFromEWKT('SRID=4674;POINT (-40.015245 -2.823627)'))) / (select extract(epoch from '2026-06-09 18:59:18'::timestamp) - extract(epoch from '2026-06-09 18:59:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015124 -2.823659)'), GeomFromEWKT('SRID=4674;POINT (-40.015245 -2.823627)'))) / (select extract(epoch from '2026-06-09 18:59:18'::timestamp) - extract(epoch from '2026-06-09 18:59: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'), 46698, 'SRID=4674;POINT (-40.01535 -2.823602)', '2026-06-09 18:59:26', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015245 -2.823627)'), GeomFromEWKT('SRID=4674;POINT (-40.01535 -2.823602)'))) / (select extract(epoch from '2026-06-09 18:59:26'::timestamp) - extract(epoch from '2026-06-09 18:59:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015245 -2.823627)'), GeomFromEWKT('SRID=4674;POINT (-40.01535 -2.823602)'))) / (select extract(epoch from '2026-06-09 18:59:26'::timestamp) - extract(epoch from '2026-06-09 18:59: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'), 46698, 'SRID=4674;POINT (-40.01551 -2.823565)', '2026-06-09 18:59:38', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01535 -2.823602)'), GeomFromEWKT('SRID=4674;POINT (-40.01551 -2.823565)'))) / (select extract(epoch from '2026-06-09 18:59:38'::timestamp) - extract(epoch from '2026-06-09 18:59:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01535 -2.823602)'), GeomFromEWKT('SRID=4674;POINT (-40.01551 -2.823565)'))) / (select extract(epoch from '2026-06-09 18:59:38'::timestamp) - extract(epoch from '2026-06-09 18:59: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'), 46698, 'SRID=4674;POINT (-40.015695 -2.823526)', '2026-06-09 18:59:52', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01551 -2.823565)'), GeomFromEWKT('SRID=4674;POINT (-40.015695 -2.823526)'))) / (select extract(epoch from '2026-06-09 18:59:52'::timestamp) - extract(epoch from '2026-06-09 18:59:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01551 -2.823565)'), GeomFromEWKT('SRID=4674;POINT (-40.015695 -2.823526)'))) / (select extract(epoch from '2026-06-09 18:59:52'::timestamp) - extract(epoch from '2026-06-09 18:59: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'), 46698, 'SRID=4674;POINT (-40.015858 -2.823487)', '2026-06-09 19:00:04', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015695 -2.823526)'), GeomFromEWKT('SRID=4674;POINT (-40.015858 -2.823487)'))) / (select extract(epoch from '2026-06-09 19:00:04'::timestamp) - extract(epoch from '2026-06-09 18:59:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015695 -2.823526)'), GeomFromEWKT('SRID=4674;POINT (-40.015858 -2.823487)'))) / (select extract(epoch from '2026-06-09 19:00:04'::timestamp) - extract(epoch from '2026-06-09 18:59: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'), 46698, 'SRID=4674;POINT (-40.016027 -2.823446)', '2026-06-09 19:00:17', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015858 -2.823487)'), GeomFromEWKT('SRID=4674;POINT (-40.016027 -2.823446)'))) / (select extract(epoch from '2026-06-09 19:00:17'::timestamp) - extract(epoch from '2026-06-09 19:00:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.015858 -2.823487)'), GeomFromEWKT('SRID=4674;POINT (-40.016027 -2.823446)'))) / (select extract(epoch from '2026-06-09 19:00:17'::timestamp) - extract(epoch from '2026-06-09 19:00: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'), 46698, 'SRID=4674;POINT (-40.016226 -2.823394)', '2026-06-09 19:00:32', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016027 -2.823446)'), GeomFromEWKT('SRID=4674;POINT (-40.016226 -2.823394)'))) / (select extract(epoch from '2026-06-09 19:00:32'::timestamp) - extract(epoch from '2026-06-09 19:00:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016027 -2.823446)'), GeomFromEWKT('SRID=4674;POINT (-40.016226 -2.823394)'))) / (select extract(epoch from '2026-06-09 19:00:32'::timestamp) - extract(epoch from '2026-06-09 19:00: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'), 46698, 'SRID=4674;POINT (-40.016373 -2.823359)', '2026-06-09 19:00:43', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016226 -2.823394)'), GeomFromEWKT('SRID=4674;POINT (-40.016373 -2.823359)'))) / (select extract(epoch from '2026-06-09 19:00:43'::timestamp) - extract(epoch from '2026-06-09 19:00:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016226 -2.823394)'), GeomFromEWKT('SRID=4674;POINT (-40.016373 -2.823359)'))) / (select extract(epoch from '2026-06-09 19:00:43'::timestamp) - extract(epoch from '2026-06-09 19:00: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'), 46698, 'SRID=4674;POINT (-40.01655 -2.823318)', '2026-06-09 19:00:56', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016373 -2.823359)'), GeomFromEWKT('SRID=4674;POINT (-40.01655 -2.823318)'))) / (select extract(epoch from '2026-06-09 19:00:56'::timestamp) - extract(epoch from '2026-06-09 19:00:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016373 -2.823359)'), GeomFromEWKT('SRID=4674;POINT (-40.01655 -2.823318)'))) / (select extract(epoch from '2026-06-09 19:00:56'::timestamp) - extract(epoch from '2026-06-09 19:00:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.016715 -2.823284)', '2026-06-09 19:01:08', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01655 -2.823318)'), GeomFromEWKT('SRID=4674;POINT (-40.016715 -2.823284)'))) / (select extract(epoch from '2026-06-09 19:01:08'::timestamp) - extract(epoch from '2026-06-09 19:00:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01655 -2.823318)'), GeomFromEWKT('SRID=4674;POINT (-40.016715 -2.823284)'))) / (select extract(epoch from '2026-06-09 19:01:08'::timestamp) - extract(epoch from '2026-06-09 19:00:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.0169 -2.82325)', '2026-06-09 19:01:22', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016715 -2.823284)'), GeomFromEWKT('SRID=4674;POINT (-40.0169 -2.82325)'))) / (select extract(epoch from '2026-06-09 19:01:22'::timestamp) - extract(epoch from '2026-06-09 19:01:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016715 -2.823284)'), GeomFromEWKT('SRID=4674;POINT (-40.0169 -2.82325)'))) / (select extract(epoch from '2026-06-09 19:01:22'::timestamp) - extract(epoch from '2026-06-09 19:01:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.017111 -2.823211)', '2026-06-09 19:01:37', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0169 -2.82325)'), GeomFromEWKT('SRID=4674;POINT (-40.017111 -2.823211)'))) / (select extract(epoch from '2026-06-09 19:01:37'::timestamp) - extract(epoch from '2026-06-09 19:01:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0169 -2.82325)'), GeomFromEWKT('SRID=4674;POINT (-40.017111 -2.823211)'))) / (select extract(epoch from '2026-06-09 19:01:37'::timestamp) - extract(epoch from '2026-06-09 19:01:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.017286 -2.823177)', '2026-06-09 19:01:50', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017111 -2.823211)'), GeomFromEWKT('SRID=4674;POINT (-40.017286 -2.823177)'))) / (select extract(epoch from '2026-06-09 19:01:50'::timestamp) - extract(epoch from '2026-06-09 19:01:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017111 -2.823211)'), GeomFromEWKT('SRID=4674;POINT (-40.017286 -2.823177)'))) / (select extract(epoch from '2026-06-09 19:01:50'::timestamp) - extract(epoch from '2026-06-09 19:01: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'), 46698, 'SRID=4674;POINT (-40.017415 -2.823156)', '2026-06-09 19:02:00', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017286 -2.823177)'), GeomFromEWKT('SRID=4674;POINT (-40.017415 -2.823156)'))) / (select extract(epoch from '2026-06-09 19:02:00'::timestamp) - extract(epoch from '2026-06-09 19:01:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017286 -2.823177)'), GeomFromEWKT('SRID=4674;POINT (-40.017415 -2.823156)'))) / (select extract(epoch from '2026-06-09 19:02:00'::timestamp) - extract(epoch from '2026-06-09 19:01: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'), 46698, 'SRID=4674;POINT (-40.017548 -2.823131)', '2026-06-09 19:02:10', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017415 -2.823156)'), GeomFromEWKT('SRID=4674;POINT (-40.017548 -2.823131)'))) / (select extract(epoch from '2026-06-09 19:02:10'::timestamp) - extract(epoch from '2026-06-09 19:02:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017415 -2.823156)'), GeomFromEWKT('SRID=4674;POINT (-40.017548 -2.823131)'))) / (select extract(epoch from '2026-06-09 19:02:10'::timestamp) - extract(epoch from '2026-06-09 19:02:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.017639 -2.823185)', '2026-06-09 19:02:18', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017548 -2.823131)'), GeomFromEWKT('SRID=4674;POINT (-40.017639 -2.823185)'))) / (select extract(epoch from '2026-06-09 19:02:18'::timestamp) - extract(epoch from '2026-06-09 19:02:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017548 -2.823131)'), GeomFromEWKT('SRID=4674;POINT (-40.017639 -2.823185)'))) / (select extract(epoch from '2026-06-09 19:02:18'::timestamp) - extract(epoch from '2026-06-09 19: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'), 46698, 'SRID=4674;POINT (-40.017702 -2.823285)', '2026-06-09 19:02:26', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017639 -2.823185)'), GeomFromEWKT('SRID=4674;POINT (-40.017702 -2.823285)'))) / (select extract(epoch from '2026-06-09 19:02:26'::timestamp) - extract(epoch from '2026-06-09 19:02:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017639 -2.823185)'), GeomFromEWKT('SRID=4674;POINT (-40.017702 -2.823285)'))) / (select extract(epoch from '2026-06-09 19:02:26'::timestamp) - extract(epoch from '2026-06-09 19:02:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.017771 -2.823419)', '2026-06-09 19:02:36', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017702 -2.823285)'), GeomFromEWKT('SRID=4674;POINT (-40.017771 -2.823419)'))) / (select extract(epoch from '2026-06-09 19:02:36'::timestamp) - extract(epoch from '2026-06-09 19:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017702 -2.823285)'), GeomFromEWKT('SRID=4674;POINT (-40.017771 -2.823419)'))) / (select extract(epoch from '2026-06-09 19:02:36'::timestamp) - extract(epoch from '2026-06-09 19:02:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.017808 -2.823537)', '2026-06-09 19:02:45', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017771 -2.823419)'), GeomFromEWKT('SRID=4674;POINT (-40.017808 -2.823537)'))) / (select extract(epoch from '2026-06-09 19:02:45'::timestamp) - extract(epoch from '2026-06-09 19:02:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017771 -2.823419)'), GeomFromEWKT('SRID=4674;POINT (-40.017808 -2.823537)'))) / (select extract(epoch from '2026-06-09 19:02:45'::timestamp) - extract(epoch from '2026-06-09 19: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'), 46698, 'SRID=4674;POINT (-40.017792 -2.823662)', '2026-06-09 19:02:56', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017808 -2.823537)'), GeomFromEWKT('SRID=4674;POINT (-40.017792 -2.823662)'))) / (select extract(epoch from '2026-06-09 19:02:56'::timestamp) - extract(epoch from '2026-06-09 19:02:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017808 -2.823537)'), GeomFromEWKT('SRID=4674;POINT (-40.017792 -2.823662)'))) / (select extract(epoch from '2026-06-09 19:02:56'::timestamp) - extract(epoch from '2026-06-09 19:02:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.017745 -2.823757)', '2026-06-09 19:03:06', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017792 -2.823662)'), GeomFromEWKT('SRID=4674;POINT (-40.017745 -2.823757)'))) / (select extract(epoch from '2026-06-09 19:03:06'::timestamp) - extract(epoch from '2026-06-09 19:02:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017792 -2.823662)'), GeomFromEWKT('SRID=4674;POINT (-40.017745 -2.823757)'))) / (select extract(epoch from '2026-06-09 19:03:06'::timestamp) - extract(epoch from '2026-06-09 19:02:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.017659 -2.823861)', '2026-06-09 19:03:19', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017745 -2.823757)'), GeomFromEWKT('SRID=4674;POINT (-40.017659 -2.823861)'))) / (select extract(epoch from '2026-06-09 19:03:19'::timestamp) - extract(epoch from '2026-06-09 19:03:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017745 -2.823757)'), GeomFromEWKT('SRID=4674;POINT (-40.017659 -2.823861)'))) / (select extract(epoch from '2026-06-09 19:03:19'::timestamp) - extract(epoch from '2026-06-09 19:03: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'), 46698, 'SRID=4674;POINT (-40.017607 -2.823935)', '2026-06-09 19:03:30', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017659 -2.823861)'), GeomFromEWKT('SRID=4674;POINT (-40.017607 -2.823935)'))) / (select extract(epoch from '2026-06-09 19:03:30'::timestamp) - extract(epoch from '2026-06-09 19:03:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017659 -2.823861)'), GeomFromEWKT('SRID=4674;POINT (-40.017607 -2.823935)'))) / (select extract(epoch from '2026-06-09 19:03:30'::timestamp) - extract(epoch from '2026-06-09 19:03: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'), 46698, 'SRID=4674;POINT (-40.017557 -2.824036)', '2026-06-09 19:03:43', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017607 -2.823935)'), GeomFromEWKT('SRID=4674;POINT (-40.017557 -2.824036)'))) / (select extract(epoch from '2026-06-09 19:03:43'::timestamp) - extract(epoch from '2026-06-09 19:03:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017607 -2.823935)'), GeomFromEWKT('SRID=4674;POINT (-40.017557 -2.824036)'))) / (select extract(epoch from '2026-06-09 19:03:43'::timestamp) - extract(epoch from '2026-06-09 19:03: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'), 46698, 'SRID=4674;POINT (-40.017522 -2.824114)', '2026-06-09 19:03:52', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017557 -2.824036)'), GeomFromEWKT('SRID=4674;POINT (-40.017522 -2.824114)'))) / (select extract(epoch from '2026-06-09 19:03:52'::timestamp) - extract(epoch from '2026-06-09 19:03:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017557 -2.824036)'), GeomFromEWKT('SRID=4674;POINT (-40.017522 -2.824114)'))) / (select extract(epoch from '2026-06-09 19:03:52'::timestamp) - extract(epoch from '2026-06-09 19:03:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.017585 -2.824229)', '2026-06-09 19:04:01', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017522 -2.824114)'), GeomFromEWKT('SRID=4674;POINT (-40.017585 -2.824229)'))) / (select extract(epoch from '2026-06-09 19:04:01'::timestamp) - extract(epoch from '2026-06-09 19:03:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017522 -2.824114)'), GeomFromEWKT('SRID=4674;POINT (-40.017585 -2.824229)'))) / (select extract(epoch from '2026-06-09 19:04:01'::timestamp) - extract(epoch from '2026-06-09 19:03:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.017738 -2.824286)', '2026-06-09 19:04:12', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017585 -2.824229)'), GeomFromEWKT('SRID=4674;POINT (-40.017738 -2.824286)'))) / (select extract(epoch from '2026-06-09 19:04:12'::timestamp) - extract(epoch from '2026-06-09 19:04:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017585 -2.824229)'), GeomFromEWKT('SRID=4674;POINT (-40.017738 -2.824286)'))) / (select extract(epoch from '2026-06-09 19:04:12'::timestamp) - extract(epoch from '2026-06-09 19:04:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.01788 -2.824245)', '2026-06-09 19:04:23', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017738 -2.824286)'), GeomFromEWKT('SRID=4674;POINT (-40.01788 -2.824245)'))) / (select extract(epoch from '2026-06-09 19:04:23'::timestamp) - extract(epoch from '2026-06-09 19:04:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017738 -2.824286)'), GeomFromEWKT('SRID=4674;POINT (-40.01788 -2.824245)'))) / (select extract(epoch from '2026-06-09 19:04:23'::timestamp) - extract(epoch from '2026-06-09 19:04: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'), 46698, 'SRID=4674;POINT (-40.018013 -2.824206)', '2026-06-09 19:04:35', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01788 -2.824245)'), GeomFromEWKT('SRID=4674;POINT (-40.018013 -2.824206)'))) / (select extract(epoch from '2026-06-09 19:04:35'::timestamp) - extract(epoch from '2026-06-09 19:04:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01788 -2.824245)'), GeomFromEWKT('SRID=4674;POINT (-40.018013 -2.824206)'))) / (select extract(epoch from '2026-06-09 19:04:35'::timestamp) - extract(epoch from '2026-06-09 19:04: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'), 46698, 'SRID=4674;POINT (-40.018146 -2.824179)', '2026-06-09 19:04:47', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018013 -2.824206)'), GeomFromEWKT('SRID=4674;POINT (-40.018146 -2.824179)'))) / (select extract(epoch from '2026-06-09 19:04:47'::timestamp) - extract(epoch from '2026-06-09 19:04:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018013 -2.824206)'), GeomFromEWKT('SRID=4674;POINT (-40.018146 -2.824179)'))) / (select extract(epoch from '2026-06-09 19:04:47'::timestamp) - extract(epoch from '2026-06-09 19:04: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'), 46698, 'SRID=4674;POINT (-40.018282 -2.82417)', '2026-06-09 19:04:59', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018146 -2.824179)'), GeomFromEWKT('SRID=4674;POINT (-40.018282 -2.82417)'))) / (select extract(epoch from '2026-06-09 19:04:59'::timestamp) - extract(epoch from '2026-06-09 19:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018146 -2.824179)'), GeomFromEWKT('SRID=4674;POINT (-40.018282 -2.82417)'))) / (select extract(epoch from '2026-06-09 19:04:59'::timestamp) - extract(epoch from '2026-06-09 19:04: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'), 46698, 'SRID=4674;POINT (-40.018361 -2.824185)', '2026-06-09 19:05:07', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018282 -2.82417)'), GeomFromEWKT('SRID=4674;POINT (-40.018361 -2.824185)'))) / (select extract(epoch from '2026-06-09 19:05:07'::timestamp) - extract(epoch from '2026-06-09 19:04:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018282 -2.82417)'), GeomFromEWKT('SRID=4674;POINT (-40.018361 -2.824185)'))) / (select extract(epoch from '2026-06-09 19:05:07'::timestamp) - extract(epoch from '2026-06-09 19:04: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'), 46698, 'SRID=4674;POINT (-40.018482 -2.8242)', '2026-06-09 19:05:20', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018361 -2.824185)'), GeomFromEWKT('SRID=4674;POINT (-40.018482 -2.8242)'))) / (select extract(epoch from '2026-06-09 19:05:20'::timestamp) - extract(epoch from '2026-06-09 19:05:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018361 -2.824185)'), GeomFromEWKT('SRID=4674;POINT (-40.018482 -2.8242)'))) / (select extract(epoch from '2026-06-09 19:05:20'::timestamp) - extract(epoch from '2026-06-09 19:05: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'), 46698, 'SRID=4674;POINT (-40.018578 -2.824218)', '2026-06-09 19:05:32', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018482 -2.8242)'), GeomFromEWKT('SRID=4674;POINT (-40.018578 -2.824218)'))) / (select extract(epoch from '2026-06-09 19:05:32'::timestamp) - extract(epoch from '2026-06-09 19:05:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018482 -2.8242)'), GeomFromEWKT('SRID=4674;POINT (-40.018578 -2.824218)'))) / (select extract(epoch from '2026-06-09 19:05:32'::timestamp) - extract(epoch from '2026-06-09 19:05: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'), 46698, 'SRID=4674;POINT (-40.018682 -2.824246)', '2026-06-09 19:05:45', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018578 -2.824218)'), GeomFromEWKT('SRID=4674;POINT (-40.018682 -2.824246)'))) / (select extract(epoch from '2026-06-09 19:05:45'::timestamp) - extract(epoch from '2026-06-09 19:05:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018578 -2.824218)'), GeomFromEWKT('SRID=4674;POINT (-40.018682 -2.824246)'))) / (select extract(epoch from '2026-06-09 19:05:45'::timestamp) - extract(epoch from '2026-06-09 19:05:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018778 -2.824285)', '2026-06-09 19:05:57', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018682 -2.824246)'), GeomFromEWKT('SRID=4674;POINT (-40.018778 -2.824285)'))) / (select extract(epoch from '2026-06-09 19:05:57'::timestamp) - extract(epoch from '2026-06-09 19:05:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018682 -2.824246)'), GeomFromEWKT('SRID=4674;POINT (-40.018778 -2.824285)'))) / (select extract(epoch from '2026-06-09 19:05:57'::timestamp) - extract(epoch from '2026-06-09 19:05: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'), 46698, 'SRID=4674;POINT (-40.018869 -2.824311)', '2026-06-09 19:06:08', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018778 -2.824285)'), GeomFromEWKT('SRID=4674;POINT (-40.018869 -2.824311)'))) / (select extract(epoch from '2026-06-09 19:06:08'::timestamp) - extract(epoch from '2026-06-09 19:05:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018778 -2.824285)'), GeomFromEWKT('SRID=4674;POINT (-40.018869 -2.824311)'))) / (select extract(epoch from '2026-06-09 19:06:08'::timestamp) - extract(epoch from '2026-06-09 19:05: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'), 46698, 'SRID=4674;POINT (-40.018968 -2.824345)', '2026-06-09 19:06:20', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018869 -2.824311)'), GeomFromEWKT('SRID=4674;POINT (-40.018968 -2.824345)'))) / (select extract(epoch from '2026-06-09 19:06:20'::timestamp) - extract(epoch from '2026-06-09 19:06:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018869 -2.824311)'), GeomFromEWKT('SRID=4674;POINT (-40.018968 -2.824345)'))) / (select extract(epoch from '2026-06-09 19:06:20'::timestamp) - extract(epoch from '2026-06-09 19:06: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'), 46698, 'SRID=4674;POINT (-40.019077 -2.824385)', '2026-06-09 19:06:34', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018968 -2.824345)'), GeomFromEWKT('SRID=4674;POINT (-40.019077 -2.824385)'))) / (select extract(epoch from '2026-06-09 19:06:34'::timestamp) - extract(epoch from '2026-06-09 19:06:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018968 -2.824345)'), GeomFromEWKT('SRID=4674;POINT (-40.019077 -2.824385)'))) / (select extract(epoch from '2026-06-09 19:06:34'::timestamp) - extract(epoch from '2026-06-09 19:06: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'), 46698, 'SRID=4674;POINT (-40.019161 -2.824421)', '2026-06-09 19:06:46', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019077 -2.824385)'), GeomFromEWKT('SRID=4674;POINT (-40.019161 -2.824421)'))) / (select extract(epoch from '2026-06-09 19:06:46'::timestamp) - extract(epoch from '2026-06-09 19:06:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019077 -2.824385)'), GeomFromEWKT('SRID=4674;POINT (-40.019161 -2.824421)'))) / (select extract(epoch from '2026-06-09 19:06:46'::timestamp) - extract(epoch from '2026-06-09 19:06:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.019248 -2.824457)', '2026-06-09 19:06:59', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019161 -2.824421)'), GeomFromEWKT('SRID=4674;POINT (-40.019248 -2.824457)'))) / (select extract(epoch from '2026-06-09 19:06:59'::timestamp) - extract(epoch from '2026-06-09 19:06:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019161 -2.824421)'), GeomFromEWKT('SRID=4674;POINT (-40.019248 -2.824457)'))) / (select extract(epoch from '2026-06-09 19:06:59'::timestamp) - extract(epoch from '2026-06-09 19:06: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'), 46698, 'SRID=4674;POINT (-40.019357 -2.824497)', '2026-06-09 19:07:14', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019248 -2.824457)'), GeomFromEWKT('SRID=4674;POINT (-40.019357 -2.824497)'))) / (select extract(epoch from '2026-06-09 19:07:14'::timestamp) - extract(epoch from '2026-06-09 19:06:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019248 -2.824457)'), GeomFromEWKT('SRID=4674;POINT (-40.019357 -2.824497)'))) / (select extract(epoch from '2026-06-09 19:07:14'::timestamp) - extract(epoch from '2026-06-09 19:06: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'), 46698, 'SRID=4674;POINT (-40.019434 -2.824529)', '2026-06-09 19:07:25', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019357 -2.824497)'), GeomFromEWKT('SRID=4674;POINT (-40.019434 -2.824529)'))) / (select extract(epoch from '2026-06-09 19:07:25'::timestamp) - extract(epoch from '2026-06-09 19:07:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019357 -2.824497)'), GeomFromEWKT('SRID=4674;POINT (-40.019434 -2.824529)'))) / (select extract(epoch from '2026-06-09 19:07:25'::timestamp) - extract(epoch from '2026-06-09 19:07: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'), 46698, 'SRID=4674;POINT (-40.019526 -2.824569)', '2026-06-09 19:07:37', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019434 -2.824529)'), GeomFromEWKT('SRID=4674;POINT (-40.019526 -2.824569)'))) / (select extract(epoch from '2026-06-09 19:07:37'::timestamp) - extract(epoch from '2026-06-09 19:07:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019434 -2.824529)'), GeomFromEWKT('SRID=4674;POINT (-40.019526 -2.824569)'))) / (select extract(epoch from '2026-06-09 19:07:37'::timestamp) - extract(epoch from '2026-06-09 19:07: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'), 46698, 'SRID=4674;POINT (-40.019613 -2.824609)', '2026-06-09 19:07:49', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019526 -2.824569)'), GeomFromEWKT('SRID=4674;POINT (-40.019613 -2.824609)'))) / (select extract(epoch from '2026-06-09 19:07:49'::timestamp) - extract(epoch from '2026-06-09 19:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019526 -2.824569)'), GeomFromEWKT('SRID=4674;POINT (-40.019613 -2.824609)'))) / (select extract(epoch from '2026-06-09 19:07:49'::timestamp) - extract(epoch from '2026-06-09 19:07:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.019714 -2.824658)', '2026-06-09 19:08:02', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019613 -2.824609)'), GeomFromEWKT('SRID=4674;POINT (-40.019714 -2.824658)'))) / (select extract(epoch from '2026-06-09 19:08:02'::timestamp) - extract(epoch from '2026-06-09 19:07:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019613 -2.824609)'), GeomFromEWKT('SRID=4674;POINT (-40.019714 -2.824658)'))) / (select extract(epoch from '2026-06-09 19:08:02'::timestamp) - extract(epoch from '2026-06-09 19:07:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.019794 -2.8247)', '2026-06-09 19:08:13', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019714 -2.824658)'), GeomFromEWKT('SRID=4674;POINT (-40.019794 -2.8247)'))) / (select extract(epoch from '2026-06-09 19:08:13'::timestamp) - extract(epoch from '2026-06-09 19:08:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019714 -2.824658)'), GeomFromEWKT('SRID=4674;POINT (-40.019794 -2.8247)'))) / (select extract(epoch from '2026-06-09 19:08:13'::timestamp) - extract(epoch from '2026-06-09 19:08: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'), 46698, 'SRID=4674;POINT (-40.019876 -2.824738)', '2026-06-09 19:08:24', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019794 -2.8247)'), GeomFromEWKT('SRID=4674;POINT (-40.019876 -2.824738)'))) / (select extract(epoch from '2026-06-09 19:08:24'::timestamp) - extract(epoch from '2026-06-09 19:08:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019794 -2.8247)'), GeomFromEWKT('SRID=4674;POINT (-40.019876 -2.824738)'))) / (select extract(epoch from '2026-06-09 19:08:24'::timestamp) - extract(epoch from '2026-06-09 19: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'), 46698, 'SRID=4674;POINT (-40.01997 -2.824778)', '2026-06-09 19:08:36', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019876 -2.824738)'), GeomFromEWKT('SRID=4674;POINT (-40.01997 -2.824778)'))) / (select extract(epoch from '2026-06-09 19:08:36'::timestamp) - extract(epoch from '2026-06-09 19:08:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019876 -2.824738)'), GeomFromEWKT('SRID=4674;POINT (-40.01997 -2.824778)'))) / (select extract(epoch from '2026-06-09 19:08:36'::timestamp) - extract(epoch from '2026-06-09 19:08: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'), 46698, 'SRID=4674;POINT (-40.02004 -2.824807)', '2026-06-09 19:08:46', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01997 -2.824778)'), GeomFromEWKT('SRID=4674;POINT (-40.02004 -2.824807)'))) / (select extract(epoch from '2026-06-09 19:08:46'::timestamp) - extract(epoch from '2026-06-09 19:08:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01997 -2.824778)'), GeomFromEWKT('SRID=4674;POINT (-40.02004 -2.824807)'))) / (select extract(epoch from '2026-06-09 19:08:46'::timestamp) - extract(epoch from '2026-06-09 19:08: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'), 46698, 'SRID=4674;POINT (-40.020136 -2.824841)', '2026-06-09 19:09:01', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02004 -2.824807)'), GeomFromEWKT('SRID=4674;POINT (-40.020136 -2.824841)'))) / (select extract(epoch from '2026-06-09 19:09:01'::timestamp) - extract(epoch from '2026-06-09 19:08:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02004 -2.824807)'), GeomFromEWKT('SRID=4674;POINT (-40.020136 -2.824841)'))) / (select extract(epoch from '2026-06-09 19:09:01'::timestamp) - extract(epoch from '2026-06-09 19:08:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.020202 -2.824857)', '2026-06-09 19:09:17', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020136 -2.824841)'), GeomFromEWKT('SRID=4674;POINT (-40.020202 -2.824857)'))) / (select extract(epoch from '2026-06-09 19:09:17'::timestamp) - extract(epoch from '2026-06-09 19:09:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020136 -2.824841)'), GeomFromEWKT('SRID=4674;POINT (-40.020202 -2.824857)'))) / (select extract(epoch from '2026-06-09 19:09:17'::timestamp) - extract(epoch from '2026-06-09 19:09: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'), 46698, 'SRID=4674;POINT (-40.020282 -2.824878)', '2026-06-09 19:09:35', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020202 -2.824857)'), GeomFromEWKT('SRID=4674;POINT (-40.020282 -2.824878)'))) / (select extract(epoch from '2026-06-09 19:09:35'::timestamp) - extract(epoch from '2026-06-09 19:09:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020202 -2.824857)'), GeomFromEWKT('SRID=4674;POINT (-40.020282 -2.824878)'))) / (select extract(epoch from '2026-06-09 19:09:35'::timestamp) - extract(epoch from '2026-06-09 19: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'), 46698, 'SRID=4674;POINT (-40.020339 -2.824878)', '2026-06-09 19:09:58', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020282 -2.824878)'), GeomFromEWKT('SRID=4674;POINT (-40.020339 -2.824878)'))) / (select extract(epoch from '2026-06-09 19:09:58'::timestamp) - extract(epoch from '2026-06-09 19:09:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020282 -2.824878)'), GeomFromEWKT('SRID=4674;POINT (-40.020339 -2.824878)'))) / (select extract(epoch from '2026-06-09 19:09:58'::timestamp) - extract(epoch from '2026-06-09 19:09: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'), 46698, 'SRID=4674;POINT (-40.020334 -2.824868)', '2026-06-09 19:10:29', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020339 -2.824878)'), GeomFromEWKT('SRID=4674;POINT (-40.020334 -2.824868)'))) / (select extract(epoch from '2026-06-09 19:10:29'::timestamp) - extract(epoch from '2026-06-09 19:09:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020339 -2.824878)'), GeomFromEWKT('SRID=4674;POINT (-40.020334 -2.824868)'))) / (select extract(epoch from '2026-06-09 19:10:29'::timestamp) - extract(epoch from '2026-06-09 19:09: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'), 46698, 'SRID=4674;POINT (-40.020329 -2.824848)', '2026-06-09 19:11:00', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020334 -2.824868)'), GeomFromEWKT('SRID=4674;POINT (-40.020329 -2.824848)'))) / (select extract(epoch from '2026-06-09 19:11:00'::timestamp) - extract(epoch from '2026-06-09 19:10:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020334 -2.824868)'), GeomFromEWKT('SRID=4674;POINT (-40.020329 -2.824848)'))) / (select extract(epoch from '2026-06-09 19:11:00'::timestamp) - extract(epoch from '2026-06-09 19: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'), 46698, 'SRID=4674;POINT (-40.020329 -2.824852)', '2026-06-09 19:11:25', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020329 -2.824848)'), GeomFromEWKT('SRID=4674;POINT (-40.020329 -2.824852)'))) / (select extract(epoch from '2026-06-09 19:11:25'::timestamp) - extract(epoch from '2026-06-09 19:11:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020329 -2.824848)'), GeomFromEWKT('SRID=4674;POINT (-40.020329 -2.824852)'))) / (select extract(epoch from '2026-06-09 19:11:25'::timestamp) - extract(epoch from '2026-06-09 19:11:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.020334 -2.82487)', '2026-06-09 19:11:54', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020329 -2.824852)'), GeomFromEWKT('SRID=4674;POINT (-40.020334 -2.82487)'))) / (select extract(epoch from '2026-06-09 19:11:54'::timestamp) - extract(epoch from '2026-06-09 19:11:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020329 -2.824852)'), GeomFromEWKT('SRID=4674;POINT (-40.020334 -2.82487)'))) / (select extract(epoch from '2026-06-09 19:11:54'::timestamp) - extract(epoch from '2026-06-09 19:11:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.020327 -2.824881)', '2026-06-09 19:12:17', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020334 -2.82487)'), GeomFromEWKT('SRID=4674;POINT (-40.020327 -2.824881)'))) / (select extract(epoch from '2026-06-09 19:12:17'::timestamp) - extract(epoch from '2026-06-09 19:11:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020334 -2.82487)'), GeomFromEWKT('SRID=4674;POINT (-40.020327 -2.824881)'))) / (select extract(epoch from '2026-06-09 19:12:17'::timestamp) - extract(epoch from '2026-06-09 19:11:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.020321 -2.824867)', '2026-06-09 19:12:38', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020327 -2.824881)'), GeomFromEWKT('SRID=4674;POINT (-40.020321 -2.824867)'))) / (select extract(epoch from '2026-06-09 19:12:38'::timestamp) - extract(epoch from '2026-06-09 19:12:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020327 -2.824881)'), GeomFromEWKT('SRID=4674;POINT (-40.020321 -2.824867)'))) / (select extract(epoch from '2026-06-09 19:12:38'::timestamp) - extract(epoch from '2026-06-09 19:12: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'), 46698, 'SRID=4674;POINT (-40.020328 -2.824862)', '2026-06-09 19:12:52', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020321 -2.824867)'), GeomFromEWKT('SRID=4674;POINT (-40.020328 -2.824862)'))) / (select extract(epoch from '2026-06-09 19:12:52'::timestamp) - extract(epoch from '2026-06-09 19:12:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020321 -2.824867)'), GeomFromEWKT('SRID=4674;POINT (-40.020328 -2.824862)'))) / (select extract(epoch from '2026-06-09 19:12:52'::timestamp) - extract(epoch from '2026-06-09 19:12: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'), 46698, 'SRID=4674;POINT (-40.020335 -2.824887)', '2026-06-09 19:13:15', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020328 -2.824862)'), GeomFromEWKT('SRID=4674;POINT (-40.020335 -2.824887)'))) / (select extract(epoch from '2026-06-09 19:13:15'::timestamp) - extract(epoch from '2026-06-09 19:12:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020328 -2.824862)'), GeomFromEWKT('SRID=4674;POINT (-40.020335 -2.824887)'))) / (select extract(epoch from '2026-06-09 19:13:15'::timestamp) - extract(epoch from '2026-06-09 19:12: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'), 46698, 'SRID=4674;POINT (-40.020338 -2.824887)', '2026-06-09 19:13:44', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020335 -2.824887)'), GeomFromEWKT('SRID=4674;POINT (-40.020338 -2.824887)'))) / (select extract(epoch from '2026-06-09 19:13:44'::timestamp) - extract(epoch from '2026-06-09 19:13:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020335 -2.824887)'), GeomFromEWKT('SRID=4674;POINT (-40.020338 -2.824887)'))) / (select extract(epoch from '2026-06-09 19:13:44'::timestamp) - extract(epoch from '2026-06-09 19:13: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'), 46698, 'SRID=4674;POINT (-40.02033 -2.824854)', '2026-06-09 19:14:24', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020338 -2.824887)'), GeomFromEWKT('SRID=4674;POINT (-40.02033 -2.824854)'))) / (select extract(epoch from '2026-06-09 19:14:24'::timestamp) - extract(epoch from '2026-06-09 19:13:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020338 -2.824887)'), GeomFromEWKT('SRID=4674;POINT (-40.02033 -2.824854)'))) / (select extract(epoch from '2026-06-09 19:14:24'::timestamp) - extract(epoch from '2026-06-09 19:13:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.020329 -2.824871)', '2026-06-09 19:14:50', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02033 -2.824854)'), GeomFromEWKT('SRID=4674;POINT (-40.020329 -2.824871)'))) / (select extract(epoch from '2026-06-09 19:14:50'::timestamp) - extract(epoch from '2026-06-09 19:14:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02033 -2.824854)'), GeomFromEWKT('SRID=4674;POINT (-40.020329 -2.824871)'))) / (select extract(epoch from '2026-06-09 19:14:50'::timestamp) - extract(epoch from '2026-06-09 19:14: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'), 46698, 'SRID=4674;POINT (-40.020325 -2.824871)', '2026-06-09 19:15:10', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020329 -2.824871)'), GeomFromEWKT('SRID=4674;POINT (-40.020325 -2.824871)'))) / (select extract(epoch from '2026-06-09 19:15:10'::timestamp) - extract(epoch from '2026-06-09 19:14:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020329 -2.824871)'), GeomFromEWKT('SRID=4674;POINT (-40.020325 -2.824871)'))) / (select extract(epoch from '2026-06-09 19:15:10'::timestamp) - extract(epoch from '2026-06-09 19:14: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'), 46698, 'SRID=4674;POINT (-40.020315 -2.824856)', '2026-06-09 19:15:46', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020325 -2.824871)'), GeomFromEWKT('SRID=4674;POINT (-40.020315 -2.824856)'))) / (select extract(epoch from '2026-06-09 19:15:46'::timestamp) - extract(epoch from '2026-06-09 19:15:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020325 -2.824871)'), GeomFromEWKT('SRID=4674;POINT (-40.020315 -2.824856)'))) / (select extract(epoch from '2026-06-09 19:15:46'::timestamp) - extract(epoch from '2026-06-09 19:15:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.02032 -2.824875)', '2026-06-09 19:16:04', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020315 -2.824856)'), GeomFromEWKT('SRID=4674;POINT (-40.02032 -2.824875)'))) / (select extract(epoch from '2026-06-09 19:16:04'::timestamp) - extract(epoch from '2026-06-09 19:15:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020315 -2.824856)'), GeomFromEWKT('SRID=4674;POINT (-40.02032 -2.824875)'))) / (select extract(epoch from '2026-06-09 19:16:04'::timestamp) - extract(epoch from '2026-06-09 19:15: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'), 46698, 'SRID=4674;POINT (-40.020325 -2.824897)', '2026-06-09 19:16:16', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02032 -2.824875)'), GeomFromEWKT('SRID=4674;POINT (-40.020325 -2.824897)'))) / (select extract(epoch from '2026-06-09 19:16:16'::timestamp) - extract(epoch from '2026-06-09 19:16:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02032 -2.824875)'), GeomFromEWKT('SRID=4674;POINT (-40.020325 -2.824897)'))) / (select extract(epoch from '2026-06-09 19:16:16'::timestamp) - extract(epoch from '2026-06-09 19:16:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.020331 -2.824893)', '2026-06-09 19:16:43', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020325 -2.824897)'), GeomFromEWKT('SRID=4674;POINT (-40.020331 -2.824893)'))) / (select extract(epoch from '2026-06-09 19:16:43'::timestamp) - extract(epoch from '2026-06-09 19:16:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020325 -2.824897)'), GeomFromEWKT('SRID=4674;POINT (-40.020331 -2.824893)'))) / (select extract(epoch from '2026-06-09 19:16:43'::timestamp) - extract(epoch from '2026-06-09 19:16:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.020328 -2.824863)', '2026-06-09 19:17:19', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020331 -2.824893)'), GeomFromEWKT('SRID=4674;POINT (-40.020328 -2.824863)'))) / (select extract(epoch from '2026-06-09 19:17:19'::timestamp) - extract(epoch from '2026-06-09 19:16:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020331 -2.824893)'), GeomFromEWKT('SRID=4674;POINT (-40.020328 -2.824863)'))) / (select extract(epoch from '2026-06-09 19:17:19'::timestamp) - extract(epoch from '2026-06-09 19:16: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'), 46698, 'SRID=4674;POINT (-40.02033 -2.824891)', '2026-06-09 19:17:42', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020328 -2.824863)'), GeomFromEWKT('SRID=4674;POINT (-40.02033 -2.824891)'))) / (select extract(epoch from '2026-06-09 19:17:42'::timestamp) - extract(epoch from '2026-06-09 19:17:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020328 -2.824863)'), GeomFromEWKT('SRID=4674;POINT (-40.02033 -2.824891)'))) / (select extract(epoch from '2026-06-09 19:17:42'::timestamp) - extract(epoch from '2026-06-09 19:17: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'), 46698, 'SRID=4674;POINT (-40.02033 -2.824894)', '2026-06-09 19:18:03', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02033 -2.824891)'), GeomFromEWKT('SRID=4674;POINT (-40.02033 -2.824894)'))) / (select extract(epoch from '2026-06-09 19:18:03'::timestamp) - extract(epoch from '2026-06-09 19:17:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02033 -2.824891)'), GeomFromEWKT('SRID=4674;POINT (-40.02033 -2.824894)'))) / (select extract(epoch from '2026-06-09 19:18:03'::timestamp) - extract(epoch from '2026-06-09 19:17:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.020321 -2.824849)', '2026-06-09 19:18:30', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02033 -2.824894)'), GeomFromEWKT('SRID=4674;POINT (-40.020321 -2.824849)'))) / (select extract(epoch from '2026-06-09 19:18:30'::timestamp) - extract(epoch from '2026-06-09 19:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02033 -2.824894)'), GeomFromEWKT('SRID=4674;POINT (-40.020321 -2.824849)'))) / (select extract(epoch from '2026-06-09 19:18:30'::timestamp) - extract(epoch from '2026-06-09 19:18: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'), 46698, 'SRID=4674;POINT (-40.02032 -2.824873)', '2026-06-09 19:19:14', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020321 -2.824849)'), GeomFromEWKT('SRID=4674;POINT (-40.02032 -2.824873)'))) / (select extract(epoch from '2026-06-09 19:19:14'::timestamp) - extract(epoch from '2026-06-09 19:18:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020321 -2.824849)'), GeomFromEWKT('SRID=4674;POINT (-40.02032 -2.824873)'))) / (select extract(epoch from '2026-06-09 19:19:14'::timestamp) - extract(epoch from '2026-06-09 19:18: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'), 46698, 'SRID=4674;POINT (-40.020318 -2.824876)', '2026-06-09 19:19:48', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02032 -2.824873)'), GeomFromEWKT('SRID=4674;POINT (-40.020318 -2.824876)'))) / (select extract(epoch from '2026-06-09 19:19:48'::timestamp) - extract(epoch from '2026-06-09 19:19:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02032 -2.824873)'), GeomFromEWKT('SRID=4674;POINT (-40.020318 -2.824876)'))) / (select extract(epoch from '2026-06-09 19:19:48'::timestamp) - extract(epoch from '2026-06-09 19: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'), 46698, 'SRID=4674;POINT (-40.020314 -2.82485)', '2026-06-09 19:20:26', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020318 -2.824876)'), GeomFromEWKT('SRID=4674;POINT (-40.020314 -2.82485)'))) / (select extract(epoch from '2026-06-09 19:20:26'::timestamp) - extract(epoch from '2026-06-09 19:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020318 -2.824876)'), GeomFromEWKT('SRID=4674;POINT (-40.020314 -2.82485)'))) / (select extract(epoch from '2026-06-09 19:20:26'::timestamp) - extract(epoch from '2026-06-09 19:19: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'), 46698, 'SRID=4674;POINT (-40.020324 -2.824883)', '2026-06-09 19:21:19', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020314 -2.82485)'), GeomFromEWKT('SRID=4674;POINT (-40.020324 -2.824883)'))) / (select extract(epoch from '2026-06-09 19:21:19'::timestamp) - extract(epoch from '2026-06-09 19:20:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020314 -2.82485)'), GeomFromEWKT('SRID=4674;POINT (-40.020324 -2.824883)'))) / (select extract(epoch from '2026-06-09 19:21:19'::timestamp) - extract(epoch from '2026-06-09 19:20: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'), 46698, 'SRID=4674;POINT (-40.020319 -2.824852)', '2026-06-09 19:21:54', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020324 -2.824883)'), GeomFromEWKT('SRID=4674;POINT (-40.020319 -2.824852)'))) / (select extract(epoch from '2026-06-09 19:21:54'::timestamp) - extract(epoch from '2026-06-09 19:21:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020324 -2.824883)'), GeomFromEWKT('SRID=4674;POINT (-40.020319 -2.824852)'))) / (select extract(epoch from '2026-06-09 19:21:54'::timestamp) - extract(epoch from '2026-06-09 19:21:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.020318 -2.824898)', '2026-06-09 19:22:22', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020319 -2.824852)'), GeomFromEWKT('SRID=4674;POINT (-40.020318 -2.824898)'))) / (select extract(epoch from '2026-06-09 19:22:22'::timestamp) - extract(epoch from '2026-06-09 19:21:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020319 -2.824852)'), GeomFromEWKT('SRID=4674;POINT (-40.020318 -2.824898)'))) / (select extract(epoch from '2026-06-09 19:22:22'::timestamp) - extract(epoch from '2026-06-09 19:21: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'), 46698, 'SRID=4674;POINT (-40.020324 -2.824901)', '2026-06-09 19:22:49', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020318 -2.824898)'), GeomFromEWKT('SRID=4674;POINT (-40.020324 -2.824901)'))) / (select extract(epoch from '2026-06-09 19:22:49'::timestamp) - extract(epoch from '2026-06-09 19:22:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020318 -2.824898)'), GeomFromEWKT('SRID=4674;POINT (-40.020324 -2.824901)'))) / (select extract(epoch from '2026-06-09 19:22:49'::timestamp) - extract(epoch from '2026-06-09 19:22: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'), 46698, 'SRID=4674;POINT (-40.020326 -2.824859)', '2026-06-09 19:23:25', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020324 -2.824901)'), GeomFromEWKT('SRID=4674;POINT (-40.020326 -2.824859)'))) / (select extract(epoch from '2026-06-09 19:23:25'::timestamp) - extract(epoch from '2026-06-09 19:22:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020324 -2.824901)'), GeomFromEWKT('SRID=4674;POINT (-40.020326 -2.824859)'))) / (select extract(epoch from '2026-06-09 19:23:25'::timestamp) - extract(epoch from '2026-06-09 19:22: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'), 46698, 'SRID=4674;POINT (-40.020323 -2.824892)', '2026-06-09 19:24:16', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020326 -2.824859)'), GeomFromEWKT('SRID=4674;POINT (-40.020323 -2.824892)'))) / (select extract(epoch from '2026-06-09 19:24:16'::timestamp) - extract(epoch from '2026-06-09 19:23:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020326 -2.824859)'), GeomFromEWKT('SRID=4674;POINT (-40.020323 -2.824892)'))) / (select extract(epoch from '2026-06-09 19:24:16'::timestamp) - extract(epoch from '2026-06-09 19:23: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'), 46698, 'SRID=4674;POINT (-40.020323 -2.824877)', '2026-06-09 19:24:33', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020323 -2.824892)'), GeomFromEWKT('SRID=4674;POINT (-40.020323 -2.824877)'))) / (select extract(epoch from '2026-06-09 19:24:33'::timestamp) - extract(epoch from '2026-06-09 19:24:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020323 -2.824892)'), GeomFromEWKT('SRID=4674;POINT (-40.020323 -2.824877)'))) / (select extract(epoch from '2026-06-09 19:24:33'::timestamp) - extract(epoch from '2026-06-09 19:24: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'), 46698, 'SRID=4674;POINT (-40.020328 -2.824867)', '2026-06-09 19:25:09', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020323 -2.824877)'), GeomFromEWKT('SRID=4674;POINT (-40.020328 -2.824867)'))) / (select extract(epoch from '2026-06-09 19:25:09'::timestamp) - extract(epoch from '2026-06-09 19:24:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020323 -2.824877)'), GeomFromEWKT('SRID=4674;POINT (-40.020328 -2.824867)'))) / (select extract(epoch from '2026-06-09 19:25:09'::timestamp) - extract(epoch from '2026-06-09 19:24: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'), 46698, 'SRID=4674;POINT (-40.020324 -2.824874)', '2026-06-09 19:25:51', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020328 -2.824867)'), GeomFromEWKT('SRID=4674;POINT (-40.020324 -2.824874)'))) / (select extract(epoch from '2026-06-09 19:25:51'::timestamp) - extract(epoch from '2026-06-09 19:25:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020328 -2.824867)'), GeomFromEWKT('SRID=4674;POINT (-40.020324 -2.824874)'))) / (select extract(epoch from '2026-06-09 19:25:51'::timestamp) - extract(epoch from '2026-06-09 19:25: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'), 46698, 'SRID=4674;POINT (-40.020321 -2.824862)', '2026-06-09 19:26:38', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020324 -2.824874)'), GeomFromEWKT('SRID=4674;POINT (-40.020321 -2.824862)'))) / (select extract(epoch from '2026-06-09 19:26:38'::timestamp) - extract(epoch from '2026-06-09 19:25:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020324 -2.824874)'), GeomFromEWKT('SRID=4674;POINT (-40.020321 -2.824862)'))) / (select extract(epoch from '2026-06-09 19:26:38'::timestamp) - extract(epoch from '2026-06-09 19: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'), 46698, 'SRID=4674;POINT (-40.020333 -2.824883)', '2026-06-09 19:27:05', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020321 -2.824862)'), GeomFromEWKT('SRID=4674;POINT (-40.020333 -2.824883)'))) / (select extract(epoch from '2026-06-09 19:27:05'::timestamp) - extract(epoch from '2026-06-09 19:26:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020321 -2.824862)'), GeomFromEWKT('SRID=4674;POINT (-40.020333 -2.824883)'))) / (select extract(epoch from '2026-06-09 19:27:05'::timestamp) - extract(epoch from '2026-06-09 19:26: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'), 46698, 'SRID=4674;POINT (-40.020332 -2.824882)', '2026-06-09 19:27:25', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020333 -2.824883)'), GeomFromEWKT('SRID=4674;POINT (-40.020332 -2.824882)'))) / (select extract(epoch from '2026-06-09 19:27:25'::timestamp) - extract(epoch from '2026-06-09 19:27:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020333 -2.824883)'), GeomFromEWKT('SRID=4674;POINT (-40.020332 -2.824882)'))) / (select extract(epoch from '2026-06-09 19:27:25'::timestamp) - extract(epoch from '2026-06-09 19:27:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.020337 -2.824881)', '2026-06-09 19:27:56', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020332 -2.824882)'), GeomFromEWKT('SRID=4674;POINT (-40.020337 -2.824881)'))) / (select extract(epoch from '2026-06-09 19:27:56'::timestamp) - extract(epoch from '2026-06-09 19:27:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020332 -2.824882)'), GeomFromEWKT('SRID=4674;POINT (-40.020337 -2.824881)'))) / (select extract(epoch from '2026-06-09 19:27:56'::timestamp) - extract(epoch from '2026-06-09 19:27: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'), 46698, 'SRID=4674;POINT (-40.020338 -2.824906)', '2026-06-09 19:28:35', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020337 -2.824881)'), GeomFromEWKT('SRID=4674;POINT (-40.020338 -2.824906)'))) / (select extract(epoch from '2026-06-09 19:28:35'::timestamp) - extract(epoch from '2026-06-09 19:27:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020337 -2.824881)'), GeomFromEWKT('SRID=4674;POINT (-40.020338 -2.824906)'))) / (select extract(epoch from '2026-06-09 19:28:35'::timestamp) - extract(epoch from '2026-06-09 19: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'), 46698, 'SRID=4674;POINT (-40.02033 -2.824895)', '2026-06-09 19:29:00', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020338 -2.824906)'), GeomFromEWKT('SRID=4674;POINT (-40.02033 -2.824895)'))) / (select extract(epoch from '2026-06-09 19:29:00'::timestamp) - extract(epoch from '2026-06-09 19:28:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020338 -2.824906)'), GeomFromEWKT('SRID=4674;POINT (-40.02033 -2.824895)'))) / (select extract(epoch from '2026-06-09 19:29:00'::timestamp) - extract(epoch from '2026-06-09 19:28: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'), 46698, 'SRID=4674;POINT (-40.020334 -2.824866)', '2026-06-09 19:29:45', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02033 -2.824895)'), GeomFromEWKT('SRID=4674;POINT (-40.020334 -2.824866)'))) / (select extract(epoch from '2026-06-09 19:29:45'::timestamp) - extract(epoch from '2026-06-09 19:29:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02033 -2.824895)'), GeomFromEWKT('SRID=4674;POINT (-40.020334 -2.824866)'))) / (select extract(epoch from '2026-06-09 19:29:45'::timestamp) - extract(epoch from '2026-06-09 19:29:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.020338 -2.824892)', '2026-06-09 19:30:04', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020334 -2.824866)'), GeomFromEWKT('SRID=4674;POINT (-40.020338 -2.824892)'))) / (select extract(epoch from '2026-06-09 19:30:04'::timestamp) - extract(epoch from '2026-06-09 19:29:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020334 -2.824866)'), GeomFromEWKT('SRID=4674;POINT (-40.020338 -2.824892)'))) / (select extract(epoch from '2026-06-09 19:30:04'::timestamp) - extract(epoch from '2026-06-09 19:29: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'), 46698, 'SRID=4674;POINT (-40.020336 -2.824896)', '2026-06-09 19:30:30', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020338 -2.824892)'), GeomFromEWKT('SRID=4674;POINT (-40.020336 -2.824896)'))) / (select extract(epoch from '2026-06-09 19:30:30'::timestamp) - extract(epoch from '2026-06-09 19:30:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020338 -2.824892)'), GeomFromEWKT('SRID=4674;POINT (-40.020336 -2.824896)'))) / (select extract(epoch from '2026-06-09 19:30:30'::timestamp) - extract(epoch from '2026-06-09 19:30:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.02034 -2.824863)', '2026-06-09 19:31:08', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020336 -2.824896)'), GeomFromEWKT('SRID=4674;POINT (-40.02034 -2.824863)'))) / (select extract(epoch from '2026-06-09 19:31:08'::timestamp) - extract(epoch from '2026-06-09 19:30:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020336 -2.824896)'), GeomFromEWKT('SRID=4674;POINT (-40.02034 -2.824863)'))) / (select extract(epoch from '2026-06-09 19:31:08'::timestamp) - extract(epoch from '2026-06-09 19:30:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.020335 -2.824865)', '2026-06-09 19:31:37', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02034 -2.824863)'), GeomFromEWKT('SRID=4674;POINT (-40.020335 -2.824865)'))) / (select extract(epoch from '2026-06-09 19:31:37'::timestamp) - extract(epoch from '2026-06-09 19:31:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02034 -2.824863)'), GeomFromEWKT('SRID=4674;POINT (-40.020335 -2.824865)'))) / (select extract(epoch from '2026-06-09 19:31:37'::timestamp) - extract(epoch from '2026-06-09 19:31: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'), 46698, 'SRID=4674;POINT (-40.020335 -2.824879)', '2026-06-09 19:31:54', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020335 -2.824865)'), GeomFromEWKT('SRID=4674;POINT (-40.020335 -2.824879)'))) / (select extract(epoch from '2026-06-09 19:31:54'::timestamp) - extract(epoch from '2026-06-09 19:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020335 -2.824865)'), GeomFromEWKT('SRID=4674;POINT (-40.020335 -2.824879)'))) / (select extract(epoch from '2026-06-09 19:31:54'::timestamp) - extract(epoch from '2026-06-09 19:31: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'), 46698, 'SRID=4674;POINT (-40.020338 -2.824902)', '2026-06-09 19:32:22', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020335 -2.824879)'), GeomFromEWKT('SRID=4674;POINT (-40.020338 -2.824902)'))) / (select extract(epoch from '2026-06-09 19:32:22'::timestamp) - extract(epoch from '2026-06-09 19:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020335 -2.824879)'), GeomFromEWKT('SRID=4674;POINT (-40.020338 -2.824902)'))) / (select extract(epoch from '2026-06-09 19:32:22'::timestamp) - extract(epoch from '2026-06-09 19:31: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'), 46698, 'SRID=4674;POINT (-40.020346 -2.824903)', '2026-06-09 19:32:58', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020338 -2.824902)'), GeomFromEWKT('SRID=4674;POINT (-40.020346 -2.824903)'))) / (select extract(epoch from '2026-06-09 19:32:58'::timestamp) - extract(epoch from '2026-06-09 19:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020338 -2.824902)'), GeomFromEWKT('SRID=4674;POINT (-40.020346 -2.824903)'))) / (select extract(epoch from '2026-06-09 19:32:58'::timestamp) - extract(epoch from '2026-06-09 19:32:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.020343 -2.824902)', '2026-06-09 19:33:19', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020346 -2.824903)'), GeomFromEWKT('SRID=4674;POINT (-40.020343 -2.824902)'))) / (select extract(epoch from '2026-06-09 19:33:19'::timestamp) - extract(epoch from '2026-06-09 19:32:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020346 -2.824903)'), GeomFromEWKT('SRID=4674;POINT (-40.020343 -2.824902)'))) / (select extract(epoch from '2026-06-09 19:33:19'::timestamp) - extract(epoch from '2026-06-09 19:32: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'), 46698, 'SRID=4674;POINT (-40.020339 -2.824897)', '2026-06-09 19:33:51', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020343 -2.824902)'), GeomFromEWKT('SRID=4674;POINT (-40.020339 -2.824897)'))) / (select extract(epoch from '2026-06-09 19:33:51'::timestamp) - extract(epoch from '2026-06-09 19:33:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020343 -2.824902)'), GeomFromEWKT('SRID=4674;POINT (-40.020339 -2.824897)'))) / (select extract(epoch from '2026-06-09 19:33:51'::timestamp) - extract(epoch from '2026-06-09 19:33: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'), 46698, 'SRID=4674;POINT (-40.020337 -2.824895)', '2026-06-09 19:34:14', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020339 -2.824897)'), GeomFromEWKT('SRID=4674;POINT (-40.020337 -2.824895)'))) / (select extract(epoch from '2026-06-09 19:34:14'::timestamp) - extract(epoch from '2026-06-09 19:33:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020339 -2.824897)'), GeomFromEWKT('SRID=4674;POINT (-40.020337 -2.824895)'))) / (select extract(epoch from '2026-06-09 19:34:14'::timestamp) - extract(epoch from '2026-06-09 19:33: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'), 46698, 'SRID=4674;POINT (-40.020334 -2.8249)', '2026-06-09 19:34:29', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020337 -2.824895)'), GeomFromEWKT('SRID=4674;POINT (-40.020334 -2.8249)'))) / (select extract(epoch from '2026-06-09 19:34:29'::timestamp) - extract(epoch from '2026-06-09 19:34:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020337 -2.824895)'), GeomFromEWKT('SRID=4674;POINT (-40.020334 -2.8249)'))) / (select extract(epoch from '2026-06-09 19:34:29'::timestamp) - extract(epoch from '2026-06-09 19:34: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'), 46698, 'SRID=4674;POINT (-40.020325 -2.824913)', '2026-06-09 19:35:12', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020334 -2.8249)'), GeomFromEWKT('SRID=4674;POINT (-40.020325 -2.824913)'))) / (select extract(epoch from '2026-06-09 19:35:12'::timestamp) - extract(epoch from '2026-06-09 19:34:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020334 -2.8249)'), GeomFromEWKT('SRID=4674;POINT (-40.020325 -2.824913)'))) / (select extract(epoch from '2026-06-09 19:35:12'::timestamp) - extract(epoch from '2026-06-09 19:34: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'), 46698, 'SRID=4674;POINT (-40.020276 -2.824914)', '2026-06-09 19:35:44', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020325 -2.824913)'), GeomFromEWKT('SRID=4674;POINT (-40.020276 -2.824914)'))) / (select extract(epoch from '2026-06-09 19:35:44'::timestamp) - extract(epoch from '2026-06-09 19:35:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020325 -2.824913)'), GeomFromEWKT('SRID=4674;POINT (-40.020276 -2.824914)'))) / (select extract(epoch from '2026-06-09 19:35:44'::timestamp) - extract(epoch from '2026-06-09 19:35:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.020269 -2.824901)', '2026-06-09 19:35:59', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020276 -2.824914)'), GeomFromEWKT('SRID=4674;POINT (-40.020269 -2.824901)'))) / (select extract(epoch from '2026-06-09 19:35:59'::timestamp) - extract(epoch from '2026-06-09 19:35:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020276 -2.824914)'), GeomFromEWKT('SRID=4674;POINT (-40.020269 -2.824901)'))) / (select extract(epoch from '2026-06-09 19:35:59'::timestamp) - extract(epoch from '2026-06-09 19:35: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'), 46698, 'SRID=4674;POINT (-40.020282 -2.824856)', '2026-06-09 19:36:07', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020269 -2.824901)'), GeomFromEWKT('SRID=4674;POINT (-40.020282 -2.824856)'))) / (select extract(epoch from '2026-06-09 19:36:07'::timestamp) - extract(epoch from '2026-06-09 19:35:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020269 -2.824901)'), GeomFromEWKT('SRID=4674;POINT (-40.020282 -2.824856)'))) / (select extract(epoch from '2026-06-09 19:36:07'::timestamp) - extract(epoch from '2026-06-09 19:35:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.020281 -2.824846)', '2026-06-09 19:36:08', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020282 -2.824856)'), GeomFromEWKT('SRID=4674;POINT (-40.020281 -2.824846)'))) / (select extract(epoch from '2026-06-09 19:36:08'::timestamp) - extract(epoch from '2026-06-09 19:36:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020282 -2.824856)'), GeomFromEWKT('SRID=4674;POINT (-40.020281 -2.824846)'))) / (select extract(epoch from '2026-06-09 19:36:08'::timestamp) - extract(epoch from '2026-06-09 19:36:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.020258 -2.824749)', '2026-06-09 19:36:16', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020281 -2.824846)'), GeomFromEWKT('SRID=4674;POINT (-40.020258 -2.824749)'))) / (select extract(epoch from '2026-06-09 19:36:16'::timestamp) - extract(epoch from '2026-06-09 19:36:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020281 -2.824846)'), GeomFromEWKT('SRID=4674;POINT (-40.020258 -2.824749)'))) / (select extract(epoch from '2026-06-09 19:36:16'::timestamp) - extract(epoch from '2026-06-09 19:36: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'), 46698, 'SRID=4674;POINT (-40.020183 -2.824637)', '2026-06-09 19:36:25', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020258 -2.824749)'), GeomFromEWKT('SRID=4674;POINT (-40.020183 -2.824637)'))) / (select extract(epoch from '2026-06-09 19:36:25'::timestamp) - extract(epoch from '2026-06-09 19:36:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020258 -2.824749)'), GeomFromEWKT('SRID=4674;POINT (-40.020183 -2.824637)'))) / (select extract(epoch from '2026-06-09 19:36:25'::timestamp) - extract(epoch from '2026-06-09 19:36: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'), 46698, 'SRID=4674;POINT (-40.02007 -2.824529)', '2026-06-09 19:36:37', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020183 -2.824637)'), GeomFromEWKT('SRID=4674;POINT (-40.02007 -2.824529)'))) / (select extract(epoch from '2026-06-09 19:36:37'::timestamp) - extract(epoch from '2026-06-09 19:36:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020183 -2.824637)'), GeomFromEWKT('SRID=4674;POINT (-40.02007 -2.824529)'))) / (select extract(epoch from '2026-06-09 19:36:37'::timestamp) - extract(epoch from '2026-06-09 19: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'), 46698, 'SRID=4674;POINT (-40.019966 -2.824468)', '2026-06-09 19:36:50', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02007 -2.824529)'), GeomFromEWKT('SRID=4674;POINT (-40.019966 -2.824468)'))) / (select extract(epoch from '2026-06-09 19:36:50'::timestamp) - extract(epoch from '2026-06-09 19:36:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02007 -2.824529)'), GeomFromEWKT('SRID=4674;POINT (-40.019966 -2.824468)'))) / (select extract(epoch from '2026-06-09 19:36:50'::timestamp) - extract(epoch from '2026-06-09 19:36: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'), 46698, 'SRID=4674;POINT (-40.019905 -2.824466)', '2026-06-09 19:36:59', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019966 -2.824468)'), GeomFromEWKT('SRID=4674;POINT (-40.019905 -2.824466)'))) / (select extract(epoch from '2026-06-09 19:36:59'::timestamp) - extract(epoch from '2026-06-09 19:36:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019966 -2.824468)'), GeomFromEWKT('SRID=4674;POINT (-40.019905 -2.824466)'))) / (select extract(epoch from '2026-06-09 19:36:59'::timestamp) - extract(epoch from '2026-06-09 19:36: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'), 46698, 'SRID=4674;POINT (-40.019844 -2.824393)', '2026-06-09 19:37:12', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019905 -2.824466)'), GeomFromEWKT('SRID=4674;POINT (-40.019844 -2.824393)'))) / (select extract(epoch from '2026-06-09 19:37:12'::timestamp) - extract(epoch from '2026-06-09 19:36:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019905 -2.824466)'), GeomFromEWKT('SRID=4674;POINT (-40.019844 -2.824393)'))) / (select extract(epoch from '2026-06-09 19:37:12'::timestamp) - extract(epoch from '2026-06-09 19:36: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'), 46698, 'SRID=4674;POINT (-40.019815 -2.824299)', '2026-06-09 19:37:30', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019844 -2.824393)'), GeomFromEWKT('SRID=4674;POINT (-40.019815 -2.824299)'))) / (select extract(epoch from '2026-06-09 19:37:30'::timestamp) - extract(epoch from '2026-06-09 19:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019844 -2.824393)'), GeomFromEWKT('SRID=4674;POINT (-40.019815 -2.824299)'))) / (select extract(epoch from '2026-06-09 19:37:30'::timestamp) - extract(epoch from '2026-06-09 19: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'), 46698, 'SRID=4674;POINT (-40.01976 -2.824227)', '2026-06-09 19:37:47', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019815 -2.824299)'), GeomFromEWKT('SRID=4674;POINT (-40.01976 -2.824227)'))) / (select extract(epoch from '2026-06-09 19:37:47'::timestamp) - extract(epoch from '2026-06-09 19:37:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019815 -2.824299)'), GeomFromEWKT('SRID=4674;POINT (-40.01976 -2.824227)'))) / (select extract(epoch from '2026-06-09 19:37:47'::timestamp) - extract(epoch from '2026-06-09 19:37: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'), 46698, 'SRID=4674;POINT (-40.019716 -2.824175)', '2026-06-09 19:38:04', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01976 -2.824227)'), GeomFromEWKT('SRID=4674;POINT (-40.019716 -2.824175)'))) / (select extract(epoch from '2026-06-09 19:38:04'::timestamp) - extract(epoch from '2026-06-09 19:37:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01976 -2.824227)'), GeomFromEWKT('SRID=4674;POINT (-40.019716 -2.824175)'))) / (select extract(epoch from '2026-06-09 19:38:04'::timestamp) - extract(epoch from '2026-06-09 19:37: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'), 46698, 'SRID=4674;POINT (-40.01966 -2.824141)', '2026-06-09 19:38:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019716 -2.824175)'), GeomFromEWKT('SRID=4674;POINT (-40.01966 -2.824141)'))) / (select extract(epoch from '2026-06-09 19:38:19'::timestamp) - extract(epoch from '2026-06-09 19:38:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019716 -2.824175)'), GeomFromEWKT('SRID=4674;POINT (-40.01966 -2.824141)'))) / (select extract(epoch from '2026-06-09 19:38:19'::timestamp) - extract(epoch from '2026-06-09 19:38:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.019566 -2.824085)', '2026-06-09 19:38:38', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01966 -2.824141)'), GeomFromEWKT('SRID=4674;POINT (-40.019566 -2.824085)'))) / (select extract(epoch from '2026-06-09 19:38:38'::timestamp) - extract(epoch from '2026-06-09 19:38:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01966 -2.824141)'), GeomFromEWKT('SRID=4674;POINT (-40.019566 -2.824085)'))) / (select extract(epoch from '2026-06-09 19:38:38'::timestamp) - extract(epoch from '2026-06-09 19:38: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'), 46698, 'SRID=4674;POINT (-40.019459 -2.824044)', '2026-06-09 19:38:56', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019566 -2.824085)'), GeomFromEWKT('SRID=4674;POINT (-40.019459 -2.824044)'))) / (select extract(epoch from '2026-06-09 19:38:56'::timestamp) - extract(epoch from '2026-06-09 19:38:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019566 -2.824085)'), GeomFromEWKT('SRID=4674;POINT (-40.019459 -2.824044)'))) / (select extract(epoch from '2026-06-09 19:38:56'::timestamp) - extract(epoch from '2026-06-09 19:38: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'), 46698, 'SRID=4674;POINT (-40.019364 -2.824036)', '2026-06-09 19:39:14', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019459 -2.824044)'), GeomFromEWKT('SRID=4674;POINT (-40.019364 -2.824036)'))) / (select extract(epoch from '2026-06-09 19:39:14'::timestamp) - extract(epoch from '2026-06-09 19:38:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019459 -2.824044)'), GeomFromEWKT('SRID=4674;POINT (-40.019364 -2.824036)'))) / (select extract(epoch from '2026-06-09 19:39:14'::timestamp) - extract(epoch from '2026-06-09 19:38: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'), 46698, 'SRID=4674;POINT (-40.019311 -2.824046)', '2026-06-09 19:39:32', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019364 -2.824036)'), GeomFromEWKT('SRID=4674;POINT (-40.019311 -2.824046)'))) / (select extract(epoch from '2026-06-09 19:39:32'::timestamp) - extract(epoch from '2026-06-09 19:39:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019364 -2.824036)'), GeomFromEWKT('SRID=4674;POINT (-40.019311 -2.824046)'))) / (select extract(epoch from '2026-06-09 19:39:32'::timestamp) - extract(epoch from '2026-06-09 19:39: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'), 46698, 'SRID=4674;POINT (-40.019217 -2.824049)', '2026-06-09 19:39:49', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019311 -2.824046)'), GeomFromEWKT('SRID=4674;POINT (-40.019217 -2.824049)'))) / (select extract(epoch from '2026-06-09 19:39:49'::timestamp) - extract(epoch from '2026-06-09 19:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019311 -2.824046)'), GeomFromEWKT('SRID=4674;POINT (-40.019217 -2.824049)'))) / (select extract(epoch from '2026-06-09 19:39:49'::timestamp) - extract(epoch from '2026-06-09 19:39: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'), 46698, 'SRID=4674;POINT (-40.019135 -2.824066)', '2026-06-09 19:40:04', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019217 -2.824049)'), GeomFromEWKT('SRID=4674;POINT (-40.019135 -2.824066)'))) / (select extract(epoch from '2026-06-09 19:40:04'::timestamp) - extract(epoch from '2026-06-09 19:39:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019217 -2.824049)'), GeomFromEWKT('SRID=4674;POINT (-40.019135 -2.824066)'))) / (select extract(epoch from '2026-06-09 19:40:04'::timestamp) - extract(epoch from '2026-06-09 19: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'), 46698, 'SRID=4674;POINT (-40.019066 -2.824103)', '2026-06-09 19:40:19', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019135 -2.824066)'), GeomFromEWKT('SRID=4674;POINT (-40.019066 -2.824103)'))) / (select extract(epoch from '2026-06-09 19:40:19'::timestamp) - extract(epoch from '2026-06-09 19:40:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019135 -2.824066)'), GeomFromEWKT('SRID=4674;POINT (-40.019066 -2.824103)'))) / (select extract(epoch from '2026-06-09 19:40:19'::timestamp) - extract(epoch from '2026-06-09 19:40: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'), 46698, 'SRID=4674;POINT (-40.018978 -2.824138)', '2026-06-09 19:40:34', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019066 -2.824103)'), GeomFromEWKT('SRID=4674;POINT (-40.018978 -2.824138)'))) / (select extract(epoch from '2026-06-09 19:40:34'::timestamp) - extract(epoch from '2026-06-09 19:40:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019066 -2.824103)'), GeomFromEWKT('SRID=4674;POINT (-40.018978 -2.824138)'))) / (select extract(epoch from '2026-06-09 19:40:34'::timestamp) - extract(epoch from '2026-06-09 19:40: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'), 46698, 'SRID=4674;POINT (-40.018916 -2.824195)', '2026-06-09 19:40:49', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018978 -2.824138)'), GeomFromEWKT('SRID=4674;POINT (-40.018916 -2.824195)'))) / (select extract(epoch from '2026-06-09 19:40:49'::timestamp) - extract(epoch from '2026-06-09 19:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018978 -2.824138)'), GeomFromEWKT('SRID=4674;POINT (-40.018916 -2.824195)'))) / (select extract(epoch from '2026-06-09 19:40:49'::timestamp) - extract(epoch from '2026-06-09 19:40: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'), 46698, 'SRID=4674;POINT (-40.018863 -2.824262)', '2026-06-09 19:41:05', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018916 -2.824195)'), GeomFromEWKT('SRID=4674;POINT (-40.018863 -2.824262)'))) / (select extract(epoch from '2026-06-09 19:41:05'::timestamp) - extract(epoch from '2026-06-09 19:40:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018916 -2.824195)'), GeomFromEWKT('SRID=4674;POINT (-40.018863 -2.824262)'))) / (select extract(epoch from '2026-06-09 19:41:05'::timestamp) - extract(epoch from '2026-06-09 19:40: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'), 46698, 'SRID=4674;POINT (-40.018759 -2.824343)', '2026-06-09 19:41:28', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018863 -2.824262)'), GeomFromEWKT('SRID=4674;POINT (-40.018759 -2.824343)'))) / (select extract(epoch from '2026-06-09 19:41:28'::timestamp) - extract(epoch from '2026-06-09 19:41:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018863 -2.824262)'), GeomFromEWKT('SRID=4674;POINT (-40.018759 -2.824343)'))) / (select extract(epoch from '2026-06-09 19:41:28'::timestamp) - extract(epoch from '2026-06-09 19:41: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'), 46698, 'SRID=4674;POINT (-40.018682 -2.824408)', '2026-06-09 19:41:46', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018759 -2.824343)'), GeomFromEWKT('SRID=4674;POINT (-40.018682 -2.824408)'))) / (select extract(epoch from '2026-06-09 19:41:46'::timestamp) - extract(epoch from '2026-06-09 19:41:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018759 -2.824343)'), GeomFromEWKT('SRID=4674;POINT (-40.018682 -2.824408)'))) / (select extract(epoch from '2026-06-09 19:41:46'::timestamp) - extract(epoch from '2026-06-09 19:41: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'), 46698, 'SRID=4674;POINT (-40.01864 -2.824411)', '2026-06-09 19:42:03', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018682 -2.824408)'), GeomFromEWKT('SRID=4674;POINT (-40.01864 -2.824411)'))) / (select extract(epoch from '2026-06-09 19:42:03'::timestamp) - extract(epoch from '2026-06-09 19:41:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018682 -2.824408)'), GeomFromEWKT('SRID=4674;POINT (-40.01864 -2.824411)'))) / (select extract(epoch from '2026-06-09 19:42:03'::timestamp) - extract(epoch from '2026-06-09 19: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'), 46698, 'SRID=4674;POINT (-40.018585 -2.824423)', '2026-06-09 19:42:20', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01864 -2.824411)'), GeomFromEWKT('SRID=4674;POINT (-40.018585 -2.824423)'))) / (select extract(epoch from '2026-06-09 19:42:20'::timestamp) - extract(epoch from '2026-06-09 19:42:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01864 -2.824411)'), GeomFromEWKT('SRID=4674;POINT (-40.018585 -2.824423)'))) / (select extract(epoch from '2026-06-09 19:42:20'::timestamp) - extract(epoch from '2026-06-09 19:42: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'), 46698, 'SRID=4674;POINT (-40.018525 -2.824417)', '2026-06-09 19:42:36', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018585 -2.824423)'), GeomFromEWKT('SRID=4674;POINT (-40.018525 -2.824417)'))) / (select extract(epoch from '2026-06-09 19:42:36'::timestamp) - extract(epoch from '2026-06-09 19:42:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018585 -2.824423)'), GeomFromEWKT('SRID=4674;POINT (-40.018525 -2.824417)'))) / (select extract(epoch from '2026-06-09 19:42:36'::timestamp) - extract(epoch from '2026-06-09 19:42: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'), 46698, 'SRID=4674;POINT (-40.018453 -2.824437)', '2026-06-09 19:42:53', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018525 -2.824417)'), GeomFromEWKT('SRID=4674;POINT (-40.018453 -2.824437)'))) / (select extract(epoch from '2026-06-09 19:42:53'::timestamp) - extract(epoch from '2026-06-09 19:42:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018525 -2.824417)'), GeomFromEWKT('SRID=4674;POINT (-40.018453 -2.824437)'))) / (select extract(epoch from '2026-06-09 19:42:53'::timestamp) - extract(epoch from '2026-06-09 19:42: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'), 46698, 'SRID=4674;POINT (-40.018392 -2.824507)', '2026-06-09 19:43:12', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018453 -2.824437)'), GeomFromEWKT('SRID=4674;POINT (-40.018392 -2.824507)'))) / (select extract(epoch from '2026-06-09 19:43:12'::timestamp) - extract(epoch from '2026-06-09 19:42:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018453 -2.824437)'), GeomFromEWKT('SRID=4674;POINT (-40.018392 -2.824507)'))) / (select extract(epoch from '2026-06-09 19:43:12'::timestamp) - extract(epoch from '2026-06-09 19:42: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'), 46698, 'SRID=4674;POINT (-40.018334 -2.824545)', '2026-06-09 19:43:26', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018392 -2.824507)'), GeomFromEWKT('SRID=4674;POINT (-40.018334 -2.824545)'))) / (select extract(epoch from '2026-06-09 19:43:26'::timestamp) - extract(epoch from '2026-06-09 19:43:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018392 -2.824507)'), GeomFromEWKT('SRID=4674;POINT (-40.018334 -2.824545)'))) / (select extract(epoch from '2026-06-09 19:43:26'::timestamp) - extract(epoch from '2026-06-09 19:43: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'), 46698, 'SRID=4674;POINT (-40.018264 -2.824591)', '2026-06-09 19:43:50', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018334 -2.824545)'), GeomFromEWKT('SRID=4674;POINT (-40.018264 -2.824591)'))) / (select extract(epoch from '2026-06-09 19:43:50'::timestamp) - extract(epoch from '2026-06-09 19:43:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018334 -2.824545)'), GeomFromEWKT('SRID=4674;POINT (-40.018264 -2.824591)'))) / (select extract(epoch from '2026-06-09 19:43:50'::timestamp) - extract(epoch from '2026-06-09 19:43: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'), 46698, 'SRID=4674;POINT (-40.018209 -2.824664)', '2026-06-09 19:44:17', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018264 -2.824591)'), GeomFromEWKT('SRID=4674;POINT (-40.018209 -2.824664)'))) / (select extract(epoch from '2026-06-09 19:44:17'::timestamp) - extract(epoch from '2026-06-09 19:43:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018264 -2.824591)'), GeomFromEWKT('SRID=4674;POINT (-40.018209 -2.824664)'))) / (select extract(epoch from '2026-06-09 19:44:17'::timestamp) - extract(epoch from '2026-06-09 19:43: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'), 46698, 'SRID=4674;POINT (-40.018159 -2.824756)', '2026-06-09 19:44:35', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018209 -2.824664)'), GeomFromEWKT('SRID=4674;POINT (-40.018159 -2.824756)'))) / (select extract(epoch from '2026-06-09 19:44:35'::timestamp) - extract(epoch from '2026-06-09 19:44:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018209 -2.824664)'), GeomFromEWKT('SRID=4674;POINT (-40.018159 -2.824756)'))) / (select extract(epoch from '2026-06-09 19:44:35'::timestamp) - extract(epoch from '2026-06-09 19:44: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'), 46698, 'SRID=4674;POINT (-40.018094 -2.824783)', '2026-06-09 19:44:50', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018159 -2.824756)'), GeomFromEWKT('SRID=4674;POINT (-40.018094 -2.824783)'))) / (select extract(epoch from '2026-06-09 19:44:50'::timestamp) - extract(epoch from '2026-06-09 19:44:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018159 -2.824756)'), GeomFromEWKT('SRID=4674;POINT (-40.018094 -2.824783)'))) / (select extract(epoch from '2026-06-09 19:44:50'::timestamp) - extract(epoch from '2026-06-09 19:44:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018 -2.824869)', '2026-06-09 19:45:17', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018094 -2.824783)'), GeomFromEWKT('SRID=4674;POINT (-40.018 -2.824869)'))) / (select extract(epoch from '2026-06-09 19:45:17'::timestamp) - extract(epoch from '2026-06-09 19:44:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018094 -2.824783)'), GeomFromEWKT('SRID=4674;POINT (-40.018 -2.824869)'))) / (select extract(epoch from '2026-06-09 19:45:17'::timestamp) - extract(epoch from '2026-06-09 19:44:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.017894 -2.824923)', '2026-06-09 19:45:46', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018 -2.824869)'), GeomFromEWKT('SRID=4674;POINT (-40.017894 -2.824923)'))) / (select extract(epoch from '2026-06-09 19:45:46'::timestamp) - extract(epoch from '2026-06-09 19:45:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018 -2.824869)'), GeomFromEWKT('SRID=4674;POINT (-40.017894 -2.824923)'))) / (select extract(epoch from '2026-06-09 19:45:46'::timestamp) - extract(epoch from '2026-06-09 19:45: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'), 46698, 'SRID=4674;POINT (-40.017885 -2.824986)', '2026-06-09 19:46:08', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017894 -2.824923)'), GeomFromEWKT('SRID=4674;POINT (-40.017885 -2.824986)'))) / (select extract(epoch from '2026-06-09 19:46:08'::timestamp) - extract(epoch from '2026-06-09 19:45:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017894 -2.824923)'), GeomFromEWKT('SRID=4674;POINT (-40.017885 -2.824986)'))) / (select extract(epoch from '2026-06-09 19:46:08'::timestamp) - extract(epoch from '2026-06-09 19:45: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'), 46698, 'SRID=4674;POINT (-40.017957 -2.825113)', '2026-06-09 19:46:36', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017885 -2.824986)'), GeomFromEWKT('SRID=4674;POINT (-40.017957 -2.825113)'))) / (select extract(epoch from '2026-06-09 19:46:36'::timestamp) - extract(epoch from '2026-06-09 19:46:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017885 -2.824986)'), GeomFromEWKT('SRID=4674;POINT (-40.017957 -2.825113)'))) / (select extract(epoch from '2026-06-09 19:46:36'::timestamp) - extract(epoch from '2026-06-09 19:46: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'), 46698, 'SRID=4674;POINT (-40.017986 -2.82521)', '2026-06-09 19:46:49', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017957 -2.825113)'), GeomFromEWKT('SRID=4674;POINT (-40.017986 -2.82521)'))) / (select extract(epoch from '2026-06-09 19:46:49'::timestamp) - extract(epoch from '2026-06-09 19:46:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017957 -2.825113)'), GeomFromEWKT('SRID=4674;POINT (-40.017986 -2.82521)'))) / (select extract(epoch from '2026-06-09 19:46:49'::timestamp) - extract(epoch from '2026-06-09 19:46: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'), 46698, 'SRID=4674;POINT (-40.018017 -2.825296)', '2026-06-09 19:47:05', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017986 -2.82521)'), GeomFromEWKT('SRID=4674;POINT (-40.018017 -2.825296)'))) / (select extract(epoch from '2026-06-09 19:47:05'::timestamp) - extract(epoch from '2026-06-09 19:46:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017986 -2.82521)'), GeomFromEWKT('SRID=4674;POINT (-40.018017 -2.825296)'))) / (select extract(epoch from '2026-06-09 19:47:05'::timestamp) - extract(epoch from '2026-06-09 19:46: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'), 46698, 'SRID=4674;POINT (-40.018026 -2.825378)', '2026-06-09 19:47:16', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018017 -2.825296)'), GeomFromEWKT('SRID=4674;POINT (-40.018026 -2.825378)'))) / (select extract(epoch from '2026-06-09 19:47:16'::timestamp) - extract(epoch from '2026-06-09 19:47:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018017 -2.825296)'), GeomFromEWKT('SRID=4674;POINT (-40.018026 -2.825378)'))) / (select extract(epoch from '2026-06-09 19:47:16'::timestamp) - extract(epoch from '2026-06-09 19:47: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'), 46698, 'SRID=4674;POINT (-40.018005 -2.825449)', '2026-06-09 19:47:31', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018026 -2.825378)'), GeomFromEWKT('SRID=4674;POINT (-40.018005 -2.825449)'))) / (select extract(epoch from '2026-06-09 19:47:31'::timestamp) - extract(epoch from '2026-06-09 19:47:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018026 -2.825378)'), GeomFromEWKT('SRID=4674;POINT (-40.018005 -2.825449)'))) / (select extract(epoch from '2026-06-09 19:47:31'::timestamp) - extract(epoch from '2026-06-09 19:47: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'), 46698, 'SRID=4674;POINT (-40.018006 -2.825459)', '2026-06-09 19:47:47', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018005 -2.825449)'), GeomFromEWKT('SRID=4674;POINT (-40.018006 -2.825459)'))) / (select extract(epoch from '2026-06-09 19:47:47'::timestamp) - extract(epoch from '2026-06-09 19:47:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018005 -2.825449)'), GeomFromEWKT('SRID=4674;POINT (-40.018006 -2.825459)'))) / (select extract(epoch from '2026-06-09 19:47:47'::timestamp) - extract(epoch from '2026-06-09 19:47: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'), 46698, 'SRID=4674;POINT (-40.018038 -2.825468)', '2026-06-09 19:48:10', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018006 -2.825459)'), GeomFromEWKT('SRID=4674;POINT (-40.018038 -2.825468)'))) / (select extract(epoch from '2026-06-09 19:48:10'::timestamp) - extract(epoch from '2026-06-09 19:47:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018006 -2.825459)'), GeomFromEWKT('SRID=4674;POINT (-40.018038 -2.825468)'))) / (select extract(epoch from '2026-06-09 19:48:10'::timestamp) - extract(epoch from '2026-06-09 19:47: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'), 46698, 'SRID=4674;POINT (-40.018121 -2.825543)', '2026-06-09 19:48:33', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018038 -2.825468)'), GeomFromEWKT('SRID=4674;POINT (-40.018121 -2.825543)'))) / (select extract(epoch from '2026-06-09 19:48:33'::timestamp) - extract(epoch from '2026-06-09 19:48:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018038 -2.825468)'), GeomFromEWKT('SRID=4674;POINT (-40.018121 -2.825543)'))) / (select extract(epoch from '2026-06-09 19:48:33'::timestamp) - extract(epoch from '2026-06-09 19:48: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'), 46698, 'SRID=4674;POINT (-40.01821 -2.825608)', '2026-06-09 19:48:49', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018121 -2.825543)'), GeomFromEWKT('SRID=4674;POINT (-40.01821 -2.825608)'))) / (select extract(epoch from '2026-06-09 19:48:49'::timestamp) - extract(epoch from '2026-06-09 19:48:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018121 -2.825543)'), GeomFromEWKT('SRID=4674;POINT (-40.01821 -2.825608)'))) / (select extract(epoch from '2026-06-09 19:48:49'::timestamp) - extract(epoch from '2026-06-09 19:48: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'), 46698, 'SRID=4674;POINT (-40.01834 -2.825609)', '2026-06-09 19:48:59', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01821 -2.825608)'), GeomFromEWKT('SRID=4674;POINT (-40.01834 -2.825609)'))) / (select extract(epoch from '2026-06-09 19:48:59'::timestamp) - extract(epoch from '2026-06-09 19:48:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01821 -2.825608)'), GeomFromEWKT('SRID=4674;POINT (-40.01834 -2.825609)'))) / (select extract(epoch from '2026-06-09 19:48:59'::timestamp) - extract(epoch from '2026-06-09 19:48: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'), 46698, 'SRID=4674;POINT (-40.018442 -2.825554)', '2026-06-09 19:49:10', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01834 -2.825609)'), GeomFromEWKT('SRID=4674;POINT (-40.018442 -2.825554)'))) / (select extract(epoch from '2026-06-09 19:49:10'::timestamp) - extract(epoch from '2026-06-09 19:48:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01834 -2.825609)'), GeomFromEWKT('SRID=4674;POINT (-40.018442 -2.825554)'))) / (select extract(epoch from '2026-06-09 19:49:10'::timestamp) - extract(epoch from '2026-06-09 19:48: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'), 46698, 'SRID=4674;POINT (-40.018497 -2.825484)', '2026-06-09 19:49:21', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018442 -2.825554)'), GeomFromEWKT('SRID=4674;POINT (-40.018497 -2.825484)'))) / (select extract(epoch from '2026-06-09 19:49:21'::timestamp) - extract(epoch from '2026-06-09 19:49:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018442 -2.825554)'), GeomFromEWKT('SRID=4674;POINT (-40.018497 -2.825484)'))) / (select extract(epoch from '2026-06-09 19:49:21'::timestamp) - extract(epoch from '2026-06-09 19:49: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'), 46698, 'SRID=4674;POINT (-40.018561 -2.825373)', '2026-06-09 19:49:39', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018497 -2.825484)'), GeomFromEWKT('SRID=4674;POINT (-40.018561 -2.825373)'))) / (select extract(epoch from '2026-06-09 19:49:39'::timestamp) - extract(epoch from '2026-06-09 19:49:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018497 -2.825484)'), GeomFromEWKT('SRID=4674;POINT (-40.018561 -2.825373)'))) / (select extract(epoch from '2026-06-09 19:49:39'::timestamp) - extract(epoch from '2026-06-09 19:49: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'), 46698, 'SRID=4674;POINT (-40.018565 -2.825268)', '2026-06-09 19:49:53', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018561 -2.825373)'), GeomFromEWKT('SRID=4674;POINT (-40.018565 -2.825268)'))) / (select extract(epoch from '2026-06-09 19:49:53'::timestamp) - extract(epoch from '2026-06-09 19:49:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018561 -2.825373)'), GeomFromEWKT('SRID=4674;POINT (-40.018565 -2.825268)'))) / (select extract(epoch from '2026-06-09 19:49:53'::timestamp) - extract(epoch from '2026-06-09 19: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'), 46698, 'SRID=4674;POINT (-40.018555 -2.825128)', '2026-06-09 19:50:10', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018565 -2.825268)'), GeomFromEWKT('SRID=4674;POINT (-40.018555 -2.825128)'))) / (select extract(epoch from '2026-06-09 19:50:10'::timestamp) - extract(epoch from '2026-06-09 19:49:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018565 -2.825268)'), GeomFromEWKT('SRID=4674;POINT (-40.018555 -2.825128)'))) / (select extract(epoch from '2026-06-09 19:50:10'::timestamp) - extract(epoch from '2026-06-09 19:49:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018539 -2.825019)', '2026-06-09 19:50:24', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018555 -2.825128)'), GeomFromEWKT('SRID=4674;POINT (-40.018539 -2.825019)'))) / (select extract(epoch from '2026-06-09 19:50:24'::timestamp) - extract(epoch from '2026-06-09 19:50:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018555 -2.825128)'), GeomFromEWKT('SRID=4674;POINT (-40.018539 -2.825019)'))) / (select extract(epoch from '2026-06-09 19:50:24'::timestamp) - extract(epoch from '2026-06-09 19:50: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'), 46698, 'SRID=4674;POINT (-40.018486 -2.824904)', '2026-06-09 19:50:37', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018539 -2.825019)'), GeomFromEWKT('SRID=4674;POINT (-40.018486 -2.824904)'))) / (select extract(epoch from '2026-06-09 19:50:37'::timestamp) - extract(epoch from '2026-06-09 19:50:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018539 -2.825019)'), GeomFromEWKT('SRID=4674;POINT (-40.018486 -2.824904)'))) / (select extract(epoch from '2026-06-09 19:50:37'::timestamp) - extract(epoch from '2026-06-09 19:50: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'), 46698, 'SRID=4674;POINT (-40.018381 -2.824757)', '2026-06-09 19:50:50', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018486 -2.824904)'), GeomFromEWKT('SRID=4674;POINT (-40.018381 -2.824757)'))) / (select extract(epoch from '2026-06-09 19:50:50'::timestamp) - extract(epoch from '2026-06-09 19:50:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018486 -2.824904)'), GeomFromEWKT('SRID=4674;POINT (-40.018381 -2.824757)'))) / (select extract(epoch from '2026-06-09 19:50:50'::timestamp) - extract(epoch from '2026-06-09 19:50: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'), 46698, 'SRID=4674;POINT (-40.018289 -2.824665)', '2026-06-09 19:50:59', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018381 -2.824757)'), GeomFromEWKT('SRID=4674;POINT (-40.018289 -2.824665)'))) / (select extract(epoch from '2026-06-09 19:50:59'::timestamp) - extract(epoch from '2026-06-09 19:50:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018381 -2.824757)'), GeomFromEWKT('SRID=4674;POINT (-40.018289 -2.824665)'))) / (select extract(epoch from '2026-06-09 19:50:59'::timestamp) - extract(epoch from '2026-06-09 19: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'), 46698, 'SRID=4674;POINT (-40.018207 -2.824584)', '2026-06-09 19:51:10', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018289 -2.824665)'), GeomFromEWKT('SRID=4674;POINT (-40.018207 -2.824584)'))) / (select extract(epoch from '2026-06-09 19:51:10'::timestamp) - extract(epoch from '2026-06-09 19:50:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018289 -2.824665)'), GeomFromEWKT('SRID=4674;POINT (-40.018207 -2.824584)'))) / (select extract(epoch from '2026-06-09 19:51:10'::timestamp) - extract(epoch from '2026-06-09 19: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'), 46698, 'SRID=4674;POINT (-40.018136 -2.824561)', '2026-06-09 19:51:20', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018207 -2.824584)'), GeomFromEWKT('SRID=4674;POINT (-40.018136 -2.824561)'))) / (select extract(epoch from '2026-06-09 19:51:20'::timestamp) - extract(epoch from '2026-06-09 19:51:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018207 -2.824584)'), GeomFromEWKT('SRID=4674;POINT (-40.018136 -2.824561)'))) / (select extract(epoch from '2026-06-09 19:51:20'::timestamp) - extract(epoch from '2026-06-09 19:51: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'), 46698, 'SRID=4674;POINT (-40.01806 -2.824597)', '2026-06-09 19:51:36', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018136 -2.824561)'), GeomFromEWKT('SRID=4674;POINT (-40.01806 -2.824597)'))) / (select extract(epoch from '2026-06-09 19:51:36'::timestamp) - extract(epoch from '2026-06-09 19:51:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018136 -2.824561)'), GeomFromEWKT('SRID=4674;POINT (-40.01806 -2.824597)'))) / (select extract(epoch from '2026-06-09 19:51:36'::timestamp) - extract(epoch from '2026-06-09 19:51: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'), 46698, 'SRID=4674;POINT (-40.018039 -2.824588)', '2026-06-09 19:51:48', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01806 -2.824597)'), GeomFromEWKT('SRID=4674;POINT (-40.018039 -2.824588)'))) / (select extract(epoch from '2026-06-09 19:51:48'::timestamp) - extract(epoch from '2026-06-09 19:51:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01806 -2.824597)'), GeomFromEWKT('SRID=4674;POINT (-40.018039 -2.824588)'))) / (select extract(epoch from '2026-06-09 19:51:48'::timestamp) - extract(epoch from '2026-06-09 19:51: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'), 46698, 'SRID=4674;POINT (-40.018089 -2.824544)', '2026-06-09 19:51:59', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018039 -2.824588)'), GeomFromEWKT('SRID=4674;POINT (-40.018089 -2.824544)'))) / (select extract(epoch from '2026-06-09 19:51:59'::timestamp) - extract(epoch from '2026-06-09 19:51:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018039 -2.824588)'), GeomFromEWKT('SRID=4674;POINT (-40.018089 -2.824544)'))) / (select extract(epoch from '2026-06-09 19:51:59'::timestamp) - extract(epoch from '2026-06-09 19:51: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'), 46698, 'SRID=4674;POINT (-40.018201 -2.824482)', '2026-06-09 19:52:14', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018089 -2.824544)'), GeomFromEWKT('SRID=4674;POINT (-40.018201 -2.824482)'))) / (select extract(epoch from '2026-06-09 19:52:14'::timestamp) - extract(epoch from '2026-06-09 19:51:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018089 -2.824544)'), GeomFromEWKT('SRID=4674;POINT (-40.018201 -2.824482)'))) / (select extract(epoch from '2026-06-09 19:52:14'::timestamp) - extract(epoch from '2026-06-09 19:51:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018272 -2.824376)', '2026-06-09 19:52:30', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018201 -2.824482)'), GeomFromEWKT('SRID=4674;POINT (-40.018272 -2.824376)'))) / (select extract(epoch from '2026-06-09 19:52:30'::timestamp) - extract(epoch from '2026-06-09 19:52:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018201 -2.824482)'), GeomFromEWKT('SRID=4674;POINT (-40.018272 -2.824376)'))) / (select extract(epoch from '2026-06-09 19:52:30'::timestamp) - extract(epoch from '2026-06-09 19:52:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018317 -2.824294)', '2026-06-09 19:52:45', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018272 -2.824376)'), GeomFromEWKT('SRID=4674;POINT (-40.018317 -2.824294)'))) / (select extract(epoch from '2026-06-09 19:52:45'::timestamp) - extract(epoch from '2026-06-09 19:52:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018272 -2.824376)'), GeomFromEWKT('SRID=4674;POINT (-40.018317 -2.824294)'))) / (select extract(epoch from '2026-06-09 19:52:45'::timestamp) - extract(epoch from '2026-06-09 19:52: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'), 46698, 'SRID=4674;POINT (-40.018407 -2.824236)', '2026-06-09 19:52:59', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018317 -2.824294)'), GeomFromEWKT('SRID=4674;POINT (-40.018407 -2.824236)'))) / (select extract(epoch from '2026-06-09 19:52:59'::timestamp) - extract(epoch from '2026-06-09 19:52:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018317 -2.824294)'), GeomFromEWKT('SRID=4674;POINT (-40.018407 -2.824236)'))) / (select extract(epoch from '2026-06-09 19:52:59'::timestamp) - extract(epoch from '2026-06-09 19:52:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.01857 -2.824176)', '2026-06-09 19:53:17', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018407 -2.824236)'), GeomFromEWKT('SRID=4674;POINT (-40.01857 -2.824176)'))) / (select extract(epoch from '2026-06-09 19:53:17'::timestamp) - extract(epoch from '2026-06-09 19:52:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018407 -2.824236)'), GeomFromEWKT('SRID=4674;POINT (-40.01857 -2.824176)'))) / (select extract(epoch from '2026-06-09 19:53:17'::timestamp) - extract(epoch from '2026-06-09 19:52: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'), 46698, 'SRID=4674;POINT (-40.018702 -2.824115)', '2026-06-09 19:53:33', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01857 -2.824176)'), GeomFromEWKT('SRID=4674;POINT (-40.018702 -2.824115)'))) / (select extract(epoch from '2026-06-09 19:53:33'::timestamp) - extract(epoch from '2026-06-09 19:53:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01857 -2.824176)'), GeomFromEWKT('SRID=4674;POINT (-40.018702 -2.824115)'))) / (select extract(epoch from '2026-06-09 19:53:33'::timestamp) - extract(epoch from '2026-06-09 19:53: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'), 46698, 'SRID=4674;POINT (-40.018756 -2.824081)', '2026-06-09 19:53:43', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018702 -2.824115)'), GeomFromEWKT('SRID=4674;POINT (-40.018756 -2.824081)'))) / (select extract(epoch from '2026-06-09 19:53:43'::timestamp) - extract(epoch from '2026-06-09 19:53:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018702 -2.824115)'), GeomFromEWKT('SRID=4674;POINT (-40.018756 -2.824081)'))) / (select extract(epoch from '2026-06-09 19:53:43'::timestamp) - extract(epoch from '2026-06-09 19:53: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'), 46698, 'SRID=4674;POINT (-40.018804 -2.823994)', '2026-06-09 19:53:59', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018756 -2.824081)'), GeomFromEWKT('SRID=4674;POINT (-40.018804 -2.823994)'))) / (select extract(epoch from '2026-06-09 19:53:59'::timestamp) - extract(epoch from '2026-06-09 19:53:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018756 -2.824081)'), GeomFromEWKT('SRID=4674;POINT (-40.018804 -2.823994)'))) / (select extract(epoch from '2026-06-09 19:53:59'::timestamp) - extract(epoch from '2026-06-09 19:53: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'), 46698, 'SRID=4674;POINT (-40.01882 -2.823912)', '2026-06-09 19:54:13', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018804 -2.823994)'), GeomFromEWKT('SRID=4674;POINT (-40.01882 -2.823912)'))) / (select extract(epoch from '2026-06-09 19:54:13'::timestamp) - extract(epoch from '2026-06-09 19:53:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018804 -2.823994)'), GeomFromEWKT('SRID=4674;POINT (-40.01882 -2.823912)'))) / (select extract(epoch from '2026-06-09 19:54:13'::timestamp) - extract(epoch from '2026-06-09 19:53:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018808 -2.823846)', '2026-06-09 19:54:29', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01882 -2.823912)'), GeomFromEWKT('SRID=4674;POINT (-40.018808 -2.823846)'))) / (select extract(epoch from '2026-06-09 19:54:29'::timestamp) - extract(epoch from '2026-06-09 19:54:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01882 -2.823912)'), GeomFromEWKT('SRID=4674;POINT (-40.018808 -2.823846)'))) / (select extract(epoch from '2026-06-09 19:54:29'::timestamp) - extract(epoch from '2026-06-09 19:54: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'), 46698, 'SRID=4674;POINT (-40.018774 -2.823772)', '2026-06-09 19:54:49', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018808 -2.823846)'), GeomFromEWKT('SRID=4674;POINT (-40.018774 -2.823772)'))) / (select extract(epoch from '2026-06-09 19:54:49'::timestamp) - extract(epoch from '2026-06-09 19:54:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018808 -2.823846)'), GeomFromEWKT('SRID=4674;POINT (-40.018774 -2.823772)'))) / (select extract(epoch from '2026-06-09 19:54:49'::timestamp) - extract(epoch from '2026-06-09 19:54: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'), 46698, 'SRID=4674;POINT (-40.018736 -2.823735)', '2026-06-09 19:55:09', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018774 -2.823772)'), GeomFromEWKT('SRID=4674;POINT (-40.018736 -2.823735)'))) / (select extract(epoch from '2026-06-09 19:55:09'::timestamp) - extract(epoch from '2026-06-09 19:54:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018774 -2.823772)'), GeomFromEWKT('SRID=4674;POINT (-40.018736 -2.823735)'))) / (select extract(epoch from '2026-06-09 19:55:09'::timestamp) - extract(epoch from '2026-06-09 19:54: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'), 46698, 'SRID=4674;POINT (-40.018677 -2.823716)', '2026-06-09 19:55:25', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018736 -2.823735)'), GeomFromEWKT('SRID=4674;POINT (-40.018677 -2.823716)'))) / (select extract(epoch from '2026-06-09 19:55:25'::timestamp) - extract(epoch from '2026-06-09 19:55:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018736 -2.823735)'), GeomFromEWKT('SRID=4674;POINT (-40.018677 -2.823716)'))) / (select extract(epoch from '2026-06-09 19:55:25'::timestamp) - extract(epoch from '2026-06-09 19:55:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018635 -2.823702)', '2026-06-09 19:55:41', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018677 -2.823716)'), GeomFromEWKT('SRID=4674;POINT (-40.018635 -2.823702)'))) / (select extract(epoch from '2026-06-09 19:55:41'::timestamp) - extract(epoch from '2026-06-09 19:55:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018677 -2.823716)'), GeomFromEWKT('SRID=4674;POINT (-40.018635 -2.823702)'))) / (select extract(epoch from '2026-06-09 19:55:41'::timestamp) - extract(epoch from '2026-06-09 19:55: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'), 46698, 'SRID=4674;POINT (-40.018562 -2.823707)', '2026-06-09 19:55:55', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018635 -2.823702)'), GeomFromEWKT('SRID=4674;POINT (-40.018562 -2.823707)'))) / (select extract(epoch from '2026-06-09 19:55:55'::timestamp) - extract(epoch from '2026-06-09 19:55:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018635 -2.823702)'), GeomFromEWKT('SRID=4674;POINT (-40.018562 -2.823707)'))) / (select extract(epoch from '2026-06-09 19:55:55'::timestamp) - extract(epoch from '2026-06-09 19:55: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'), 46698, 'SRID=4674;POINT (-40.018478 -2.823768)', '2026-06-09 19:56:12', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018562 -2.823707)'), GeomFromEWKT('SRID=4674;POINT (-40.018478 -2.823768)'))) / (select extract(epoch from '2026-06-09 19:56:12'::timestamp) - extract(epoch from '2026-06-09 19:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018562 -2.823707)'), GeomFromEWKT('SRID=4674;POINT (-40.018478 -2.823768)'))) / (select extract(epoch from '2026-06-09 19:56:12'::timestamp) - extract(epoch from '2026-06-09 19:55: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'), 46698, 'SRID=4674;POINT (-40.018389 -2.823763)', '2026-06-09 19:56:25', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018478 -2.823768)'), GeomFromEWKT('SRID=4674;POINT (-40.018389 -2.823763)'))) / (select extract(epoch from '2026-06-09 19:56:25'::timestamp) - extract(epoch from '2026-06-09 19:56:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018478 -2.823768)'), GeomFromEWKT('SRID=4674;POINT (-40.018389 -2.823763)'))) / (select extract(epoch from '2026-06-09 19:56:25'::timestamp) - extract(epoch from '2026-06-09 19:56: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'), 46698, 'SRID=4674;POINT (-40.01829 -2.823799)', '2026-06-09 19:56:41', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018389 -2.823763)'), GeomFromEWKT('SRID=4674;POINT (-40.01829 -2.823799)'))) / (select extract(epoch from '2026-06-09 19:56:41'::timestamp) - extract(epoch from '2026-06-09 19:56:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018389 -2.823763)'), GeomFromEWKT('SRID=4674;POINT (-40.01829 -2.823799)'))) / (select extract(epoch from '2026-06-09 19:56:41'::timestamp) - extract(epoch from '2026-06-09 19:56: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'), 46698, 'SRID=4674;POINT (-40.018216 -2.823829)', '2026-06-09 19:56:53', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01829 -2.823799)'), GeomFromEWKT('SRID=4674;POINT (-40.018216 -2.823829)'))) / (select extract(epoch from '2026-06-09 19:56:53'::timestamp) - extract(epoch from '2026-06-09 19:56:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01829 -2.823799)'), GeomFromEWKT('SRID=4674;POINT (-40.018216 -2.823829)'))) / (select extract(epoch from '2026-06-09 19:56:53'::timestamp) - extract(epoch from '2026-06-09 19:56: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'), 46698, 'SRID=4674;POINT (-40.018148 -2.823895)', '2026-06-09 19:57:07', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018216 -2.823829)'), GeomFromEWKT('SRID=4674;POINT (-40.018148 -2.823895)'))) / (select extract(epoch from '2026-06-09 19:57:07'::timestamp) - extract(epoch from '2026-06-09 19:56:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018216 -2.823829)'), GeomFromEWKT('SRID=4674;POINT (-40.018148 -2.823895)'))) / (select extract(epoch from '2026-06-09 19:57:07'::timestamp) - extract(epoch from '2026-06-09 19: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'), 46698, 'SRID=4674;POINT (-40.018102 -2.823948)', '2026-06-09 19:57:25', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018148 -2.823895)'), GeomFromEWKT('SRID=4674;POINT (-40.018102 -2.823948)'))) / (select extract(epoch from '2026-06-09 19:57:25'::timestamp) - extract(epoch from '2026-06-09 19:57:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018148 -2.823895)'), GeomFromEWKT('SRID=4674;POINT (-40.018102 -2.823948)'))) / (select extract(epoch from '2026-06-09 19:57:25'::timestamp) - extract(epoch from '2026-06-09 19:57: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'), 46698, 'SRID=4674;POINT (-40.018001 -2.823963)', '2026-06-09 19:57:44', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018102 -2.823948)'), GeomFromEWKT('SRID=4674;POINT (-40.018001 -2.823963)'))) / (select extract(epoch from '2026-06-09 19:57:44'::timestamp) - extract(epoch from '2026-06-09 19:57:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018102 -2.823948)'), GeomFromEWKT('SRID=4674;POINT (-40.018001 -2.823963)'))) / (select extract(epoch from '2026-06-09 19:57:44'::timestamp) - extract(epoch from '2026-06-09 19: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'), 46698, 'SRID=4674;POINT (-40.017924 -2.824026)', '2026-06-09 19:58:00', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018001 -2.823963)'), GeomFromEWKT('SRID=4674;POINT (-40.017924 -2.824026)'))) / (select extract(epoch from '2026-06-09 19:58:00'::timestamp) - extract(epoch from '2026-06-09 19:57:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018001 -2.823963)'), GeomFromEWKT('SRID=4674;POINT (-40.017924 -2.824026)'))) / (select extract(epoch from '2026-06-09 19:58:00'::timestamp) - extract(epoch from '2026-06-09 19:57:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.017895 -2.824053)', '2026-06-09 19:58:14', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017924 -2.824026)'), GeomFromEWKT('SRID=4674;POINT (-40.017895 -2.824053)'))) / (select extract(epoch from '2026-06-09 19:58:14'::timestamp) - extract(epoch from '2026-06-09 19:58:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017924 -2.824026)'), GeomFromEWKT('SRID=4674;POINT (-40.017895 -2.824053)'))) / (select extract(epoch from '2026-06-09 19:58:14'::timestamp) - extract(epoch from '2026-06-09 19:58:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.017834 -2.82412)', '2026-06-09 19:58:30', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017895 -2.824053)'), GeomFromEWKT('SRID=4674;POINT (-40.017834 -2.82412)'))) / (select extract(epoch from '2026-06-09 19:58:30'::timestamp) - extract(epoch from '2026-06-09 19:58:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017895 -2.824053)'), GeomFromEWKT('SRID=4674;POINT (-40.017834 -2.82412)'))) / (select extract(epoch from '2026-06-09 19:58:30'::timestamp) - extract(epoch from '2026-06-09 19:58: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'), 46698, 'SRID=4674;POINT (-40.017778 -2.824186)', '2026-06-09 19:58:45', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017834 -2.82412)'), GeomFromEWKT('SRID=4674;POINT (-40.017778 -2.824186)'))) / (select extract(epoch from '2026-06-09 19:58:45'::timestamp) - extract(epoch from '2026-06-09 19:58:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017834 -2.82412)'), GeomFromEWKT('SRID=4674;POINT (-40.017778 -2.824186)'))) / (select extract(epoch from '2026-06-09 19:58:45'::timestamp) - extract(epoch from '2026-06-09 19:58:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.017733 -2.824225)', '2026-06-09 19:59:03', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017778 -2.824186)'), GeomFromEWKT('SRID=4674;POINT (-40.017733 -2.824225)'))) / (select extract(epoch from '2026-06-09 19:59:03'::timestamp) - extract(epoch from '2026-06-09 19:58:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017778 -2.824186)'), GeomFromEWKT('SRID=4674;POINT (-40.017733 -2.824225)'))) / (select extract(epoch from '2026-06-09 19:59:03'::timestamp) - extract(epoch from '2026-06-09 19:58: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'), 46698, 'SRID=4674;POINT (-40.017669 -2.824275)', '2026-06-09 19:59:17', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017733 -2.824225)'), GeomFromEWKT('SRID=4674;POINT (-40.017669 -2.824275)'))) / (select extract(epoch from '2026-06-09 19:59:17'::timestamp) - extract(epoch from '2026-06-09 19:59:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017733 -2.824225)'), GeomFromEWKT('SRID=4674;POINT (-40.017669 -2.824275)'))) / (select extract(epoch from '2026-06-09 19:59:17'::timestamp) - extract(epoch from '2026-06-09 19:59: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'), 46698, 'SRID=4674;POINT (-40.017616 -2.82437)', '2026-06-09 19:59:31', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017669 -2.824275)'), GeomFromEWKT('SRID=4674;POINT (-40.017616 -2.82437)'))) / (select extract(epoch from '2026-06-09 19:59:31'::timestamp) - extract(epoch from '2026-06-09 19:59:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017669 -2.824275)'), GeomFromEWKT('SRID=4674;POINT (-40.017616 -2.82437)'))) / (select extract(epoch from '2026-06-09 19:59:31'::timestamp) - extract(epoch from '2026-06-09 19: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'), 46698, 'SRID=4674;POINT (-40.017593 -2.824441)', '2026-06-09 19:59:40', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017616 -2.82437)'), GeomFromEWKT('SRID=4674;POINT (-40.017593 -2.824441)'))) / (select extract(epoch from '2026-06-09 19:59:40'::timestamp) - extract(epoch from '2026-06-09 19:59:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017616 -2.82437)'), GeomFromEWKT('SRID=4674;POINT (-40.017593 -2.824441)'))) / (select extract(epoch from '2026-06-09 19:59:40'::timestamp) - extract(epoch from '2026-06-09 19:59:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.017558 -2.824493)', '2026-06-09 19:59:49', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017593 -2.824441)'), GeomFromEWKT('SRID=4674;POINT (-40.017558 -2.824493)'))) / (select extract(epoch from '2026-06-09 19:59:49'::timestamp) - extract(epoch from '2026-06-09 19:59:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017593 -2.824441)'), GeomFromEWKT('SRID=4674;POINT (-40.017558 -2.824493)'))) / (select extract(epoch from '2026-06-09 19:59:49'::timestamp) - extract(epoch from '2026-06-09 19:59: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'), 46698, 'SRID=4674;POINT (-40.01753 -2.824547)', '2026-06-09 20:00:01', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017558 -2.824493)'), GeomFromEWKT('SRID=4674;POINT (-40.01753 -2.824547)'))) / (select extract(epoch from '2026-06-09 20:00:01'::timestamp) - extract(epoch from '2026-06-09 19:59:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017558 -2.824493)'), GeomFromEWKT('SRID=4674;POINT (-40.01753 -2.824547)'))) / (select extract(epoch from '2026-06-09 20:00:01'::timestamp) - extract(epoch from '2026-06-09 19:59: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'), 46698, 'SRID=4674;POINT (-40.017495 -2.824605)', '2026-06-09 20:00:17', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01753 -2.824547)'), GeomFromEWKT('SRID=4674;POINT (-40.017495 -2.824605)'))) / (select extract(epoch from '2026-06-09 20:00:17'::timestamp) - extract(epoch from '2026-06-09 20:00:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01753 -2.824547)'), GeomFromEWKT('SRID=4674;POINT (-40.017495 -2.824605)'))) / (select extract(epoch from '2026-06-09 20:00:17'::timestamp) - extract(epoch from '2026-06-09 20:00:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.017437 -2.824685)', '2026-06-09 20:00:35', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017495 -2.824605)'), GeomFromEWKT('SRID=4674;POINT (-40.017437 -2.824685)'))) / (select extract(epoch from '2026-06-09 20:00:35'::timestamp) - extract(epoch from '2026-06-09 20:00:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017495 -2.824605)'), GeomFromEWKT('SRID=4674;POINT (-40.017437 -2.824685)'))) / (select extract(epoch from '2026-06-09 20:00:35'::timestamp) - extract(epoch from '2026-06-09 20:00: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'), 46698, 'SRID=4674;POINT (-40.017435 -2.824745)', '2026-06-09 20:00:45', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017437 -2.824685)'), GeomFromEWKT('SRID=4674;POINT (-40.017435 -2.824745)'))) / (select extract(epoch from '2026-06-09 20:00:45'::timestamp) - extract(epoch from '2026-06-09 20:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017437 -2.824685)'), GeomFromEWKT('SRID=4674;POINT (-40.017435 -2.824745)'))) / (select extract(epoch from '2026-06-09 20:00:45'::timestamp) - extract(epoch from '2026-06-09 20: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'), 46698, 'SRID=4674;POINT (-40.017497 -2.824822)', '2026-06-09 20:01:01', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017435 -2.824745)'), GeomFromEWKT('SRID=4674;POINT (-40.017497 -2.824822)'))) / (select extract(epoch from '2026-06-09 20:01:01'::timestamp) - extract(epoch from '2026-06-09 20:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017435 -2.824745)'), GeomFromEWKT('SRID=4674;POINT (-40.017497 -2.824822)'))) / (select extract(epoch from '2026-06-09 20:01:01'::timestamp) - extract(epoch from '2026-06-09 20:00: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'), 46698, 'SRID=4674;POINT (-40.017603 -2.824887)', '2026-06-09 20:01:17', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017497 -2.824822)'), GeomFromEWKT('SRID=4674;POINT (-40.017603 -2.824887)'))) / (select extract(epoch from '2026-06-09 20:01:17'::timestamp) - extract(epoch from '2026-06-09 20:01:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017497 -2.824822)'), GeomFromEWKT('SRID=4674;POINT (-40.017603 -2.824887)'))) / (select extract(epoch from '2026-06-09 20:01:17'::timestamp) - extract(epoch from '2026-06-09 20:01:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.017687 -2.824978)', '2026-06-09 20:01:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017603 -2.824887)'), GeomFromEWKT('SRID=4674;POINT (-40.017687 -2.824978)'))) / (select extract(epoch from '2026-06-09 20:01:34'::timestamp) - extract(epoch from '2026-06-09 20:01:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017603 -2.824887)'), GeomFromEWKT('SRID=4674;POINT (-40.017687 -2.824978)'))) / (select extract(epoch from '2026-06-09 20:01:34'::timestamp) - extract(epoch from '2026-06-09 20:01: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'), 46698, 'SRID=4674;POINT (-40.017766 -2.825072)', '2026-06-09 20:01:53', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017687 -2.824978)'), GeomFromEWKT('SRID=4674;POINT (-40.017766 -2.825072)'))) / (select extract(epoch from '2026-06-09 20:01:53'::timestamp) - extract(epoch from '2026-06-09 20:01:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017687 -2.824978)'), GeomFromEWKT('SRID=4674;POINT (-40.017766 -2.825072)'))) / (select extract(epoch from '2026-06-09 20:01:53'::timestamp) - extract(epoch from '2026-06-09 20:01: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'), 46698, 'SRID=4674;POINT (-40.017882 -2.825101)', '2026-06-09 20:02:06', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017766 -2.825072)'), GeomFromEWKT('SRID=4674;POINT (-40.017882 -2.825101)'))) / (select extract(epoch from '2026-06-09 20:02:06'::timestamp) - extract(epoch from '2026-06-09 20:01:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017766 -2.825072)'), GeomFromEWKT('SRID=4674;POINT (-40.017882 -2.825101)'))) / (select extract(epoch from '2026-06-09 20:02:06'::timestamp) - extract(epoch from '2026-06-09 20:01:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018034 -2.825128)', '2026-06-09 20:02:19', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017882 -2.825101)'), GeomFromEWKT('SRID=4674;POINT (-40.018034 -2.825128)'))) / (select extract(epoch from '2026-06-09 20:02:19'::timestamp) - extract(epoch from '2026-06-09 20:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017882 -2.825101)'), GeomFromEWKT('SRID=4674;POINT (-40.018034 -2.825128)'))) / (select extract(epoch from '2026-06-09 20:02:19'::timestamp) - extract(epoch from '2026-06-09 20:02: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'), 46698, 'SRID=4674;POINT (-40.01818 -2.825153)', '2026-06-09 20:02:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018034 -2.825128)'), GeomFromEWKT('SRID=4674;POINT (-40.01818 -2.825153)'))) / (select extract(epoch from '2026-06-09 20:02:30'::timestamp) - extract(epoch from '2026-06-09 20:02:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018034 -2.825128)'), GeomFromEWKT('SRID=4674;POINT (-40.01818 -2.825153)'))) / (select extract(epoch from '2026-06-09 20:02:30'::timestamp) - extract(epoch from '2026-06-09 20:02: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'), 46698, 'SRID=4674;POINT (-40.018314 -2.825159)', '2026-06-09 20:02:39', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01818 -2.825153)'), GeomFromEWKT('SRID=4674;POINT (-40.018314 -2.825159)'))) / (select extract(epoch from '2026-06-09 20:02:39'::timestamp) - extract(epoch from '2026-06-09 20:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01818 -2.825153)'), GeomFromEWKT('SRID=4674;POINT (-40.018314 -2.825159)'))) / (select extract(epoch from '2026-06-09 20:02:39'::timestamp) - extract(epoch from '2026-06-09 20: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'), 46698, 'SRID=4674;POINT (-40.018533 -2.825145)', '2026-06-09 20:02:52', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018314 -2.825159)'), GeomFromEWKT('SRID=4674;POINT (-40.018533 -2.825145)'))) / (select extract(epoch from '2026-06-09 20:02:52'::timestamp) - extract(epoch from '2026-06-09 20:02:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018314 -2.825159)'), GeomFromEWKT('SRID=4674;POINT (-40.018533 -2.825145)'))) / (select extract(epoch from '2026-06-09 20:02:52'::timestamp) - extract(epoch from '2026-06-09 20:02: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'), 46698, 'SRID=4674;POINT (-40.018696 -2.825123)', '2026-06-09 20:03:01', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018533 -2.825145)'), GeomFromEWKT('SRID=4674;POINT (-40.018696 -2.825123)'))) / (select extract(epoch from '2026-06-09 20:03:01'::timestamp) - extract(epoch from '2026-06-09 20:02:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018533 -2.825145)'), GeomFromEWKT('SRID=4674;POINT (-40.018696 -2.825123)'))) / (select extract(epoch from '2026-06-09 20:03:01'::timestamp) - extract(epoch from '2026-06-09 20:02: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'), 46698, 'SRID=4674;POINT (-40.01891 -2.82509)', '2026-06-09 20:03:12', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018696 -2.825123)'), GeomFromEWKT('SRID=4674;POINT (-40.01891 -2.82509)'))) / (select extract(epoch from '2026-06-09 20:03:12'::timestamp) - extract(epoch from '2026-06-09 20:03:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018696 -2.825123)'), GeomFromEWKT('SRID=4674;POINT (-40.01891 -2.82509)'))) / (select extract(epoch from '2026-06-09 20:03:12'::timestamp) - extract(epoch from '2026-06-09 20:03: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'), 46698, 'SRID=4674;POINT (-40.019095 -2.825077)', '2026-06-09 20:03:21', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01891 -2.82509)'), GeomFromEWKT('SRID=4674;POINT (-40.019095 -2.825077)'))) / (select extract(epoch from '2026-06-09 20:03:21'::timestamp) - extract(epoch from '2026-06-09 20:03:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01891 -2.82509)'), GeomFromEWKT('SRID=4674;POINT (-40.019095 -2.825077)'))) / (select extract(epoch from '2026-06-09 20:03:21'::timestamp) - extract(epoch from '2026-06-09 20:03: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'), 46698, 'SRID=4674;POINT (-40.019296 -2.825068)', '2026-06-09 20:03:31', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019095 -2.825077)'), GeomFromEWKT('SRID=4674;POINT (-40.019296 -2.825068)'))) / (select extract(epoch from '2026-06-09 20:03:31'::timestamp) - extract(epoch from '2026-06-09 20:03:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019095 -2.825077)'), GeomFromEWKT('SRID=4674;POINT (-40.019296 -2.825068)'))) / (select extract(epoch from '2026-06-09 20:03:31'::timestamp) - extract(epoch from '2026-06-09 20:03:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.019477 -2.825066)', '2026-06-09 20:03:40', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019296 -2.825068)'), GeomFromEWKT('SRID=4674;POINT (-40.019477 -2.825066)'))) / (select extract(epoch from '2026-06-09 20:03:40'::timestamp) - extract(epoch from '2026-06-09 20:03:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019296 -2.825068)'), GeomFromEWKT('SRID=4674;POINT (-40.019477 -2.825066)'))) / (select extract(epoch from '2026-06-09 20:03:40'::timestamp) - extract(epoch from '2026-06-09 20:03: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'), 46698, 'SRID=4674;POINT (-40.019646 -2.825053)', '2026-06-09 20:03:49', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019477 -2.825066)'), GeomFromEWKT('SRID=4674;POINT (-40.019646 -2.825053)'))) / (select extract(epoch from '2026-06-09 20:03:49'::timestamp) - extract(epoch from '2026-06-09 20:03:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019477 -2.825066)'), GeomFromEWKT('SRID=4674;POINT (-40.019646 -2.825053)'))) / (select extract(epoch from '2026-06-09 20:03:49'::timestamp) - extract(epoch from '2026-06-09 20:03: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'), 46698, 'SRID=4674;POINT (-40.019834 -2.825036)', '2026-06-09 20:03:59', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019646 -2.825053)'), GeomFromEWKT('SRID=4674;POINT (-40.019834 -2.825036)'))) / (select extract(epoch from '2026-06-09 20:03:59'::timestamp) - extract(epoch from '2026-06-09 20:03:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019646 -2.825053)'), GeomFromEWKT('SRID=4674;POINT (-40.019834 -2.825036)'))) / (select extract(epoch from '2026-06-09 20:03:59'::timestamp) - extract(epoch from '2026-06-09 20:03:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.020051 -2.825026)', '2026-06-09 20:04:10', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019834 -2.825036)'), GeomFromEWKT('SRID=4674;POINT (-40.020051 -2.825026)'))) / (select extract(epoch from '2026-06-09 20:04:10'::timestamp) - extract(epoch from '2026-06-09 20:03:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019834 -2.825036)'), GeomFromEWKT('SRID=4674;POINT (-40.020051 -2.825026)'))) / (select extract(epoch from '2026-06-09 20:04:10'::timestamp) - extract(epoch from '2026-06-09 20:03: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'), 46698, 'SRID=4674;POINT (-40.020239 -2.824985)', '2026-06-09 20:04:19', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020051 -2.825026)'), GeomFromEWKT('SRID=4674;POINT (-40.020239 -2.824985)'))) / (select extract(epoch from '2026-06-09 20:04:19'::timestamp) - extract(epoch from '2026-06-09 20:04:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020051 -2.825026)'), GeomFromEWKT('SRID=4674;POINT (-40.020239 -2.824985)'))) / (select extract(epoch from '2026-06-09 20:04:19'::timestamp) - extract(epoch from '2026-06-09 20:04: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'), 46698, 'SRID=4674;POINT (-40.020432 -2.824955)', '2026-06-09 20:04:29', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020239 -2.824985)'), GeomFromEWKT('SRID=4674;POINT (-40.020432 -2.824955)'))) / (select extract(epoch from '2026-06-09 20:04:29'::timestamp) - extract(epoch from '2026-06-09 20:04:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020239 -2.824985)'), GeomFromEWKT('SRID=4674;POINT (-40.020432 -2.824955)'))) / (select extract(epoch from '2026-06-09 20:04:29'::timestamp) - extract(epoch from '2026-06-09 20:04:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.020643 -2.82493)', '2026-06-09 20:04:40', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020432 -2.824955)'), GeomFromEWKT('SRID=4674;POINT (-40.020643 -2.82493)'))) / (select extract(epoch from '2026-06-09 20:04:40'::timestamp) - extract(epoch from '2026-06-09 20:04:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020432 -2.824955)'), GeomFromEWKT('SRID=4674;POINT (-40.020643 -2.82493)'))) / (select extract(epoch from '2026-06-09 20:04:40'::timestamp) - extract(epoch from '2026-06-09 20:04: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'), 46698, 'SRID=4674;POINT (-40.020816 -2.824909)', '2026-06-09 20:04:49', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020643 -2.82493)'), GeomFromEWKT('SRID=4674;POINT (-40.020816 -2.824909)'))) / (select extract(epoch from '2026-06-09 20:04:49'::timestamp) - extract(epoch from '2026-06-09 20:04:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020643 -2.82493)'), GeomFromEWKT('SRID=4674;POINT (-40.020816 -2.824909)'))) / (select extract(epoch from '2026-06-09 20:04:49'::timestamp) - extract(epoch from '2026-06-09 20:04: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'), 46698, 'SRID=4674;POINT (-40.02099 -2.824887)', '2026-06-09 20:04:58', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020816 -2.824909)'), GeomFromEWKT('SRID=4674;POINT (-40.02099 -2.824887)'))) / (select extract(epoch from '2026-06-09 20:04:58'::timestamp) - extract(epoch from '2026-06-09 20:04:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020816 -2.824909)'), GeomFromEWKT('SRID=4674;POINT (-40.02099 -2.824887)'))) / (select extract(epoch from '2026-06-09 20:04:58'::timestamp) - extract(epoch from '2026-06-09 20:04: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'), 46698, 'SRID=4674;POINT (-40.021254 -2.824865)', '2026-06-09 20:05:11', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02099 -2.824887)'), GeomFromEWKT('SRID=4674;POINT (-40.021254 -2.824865)'))) / (select extract(epoch from '2026-06-09 20:05:11'::timestamp) - extract(epoch from '2026-06-09 20:04:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02099 -2.824887)'), GeomFromEWKT('SRID=4674;POINT (-40.021254 -2.824865)'))) / (select extract(epoch from '2026-06-09 20:05:11'::timestamp) - extract(epoch from '2026-06-09 20: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'), 46698, 'SRID=4674;POINT (-40.021441 -2.824847)', '2026-06-09 20:05:20', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021254 -2.824865)'), GeomFromEWKT('SRID=4674;POINT (-40.021441 -2.824847)'))) / (select extract(epoch from '2026-06-09 20:05:20'::timestamp) - extract(epoch from '2026-06-09 20:05:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021254 -2.824865)'), GeomFromEWKT('SRID=4674;POINT (-40.021441 -2.824847)'))) / (select extract(epoch from '2026-06-09 20:05:20'::timestamp) - extract(epoch from '2026-06-09 20:05:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.021655 -2.824833)', '2026-06-09 20:05:30', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021441 -2.824847)'), GeomFromEWKT('SRID=4674;POINT (-40.021655 -2.824833)'))) / (select extract(epoch from '2026-06-09 20:05:30'::timestamp) - extract(epoch from '2026-06-09 20:05:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021441 -2.824847)'), GeomFromEWKT('SRID=4674;POINT (-40.021655 -2.824833)'))) / (select extract(epoch from '2026-06-09 20:05:30'::timestamp) - extract(epoch from '2026-06-09 20:05: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'), 46698, 'SRID=4674;POINT (-40.02187 -2.824834)', '2026-06-09 20:05:40', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021655 -2.824833)'), GeomFromEWKT('SRID=4674;POINT (-40.02187 -2.824834)'))) / (select extract(epoch from '2026-06-09 20:05:40'::timestamp) - extract(epoch from '2026-06-09 20:05:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021655 -2.824833)'), GeomFromEWKT('SRID=4674;POINT (-40.02187 -2.824834)'))) / (select extract(epoch from '2026-06-09 20:05:40'::timestamp) - extract(epoch from '2026-06-09 20:05: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'), 46698, 'SRID=4674;POINT (-40.022102 -2.824844)', '2026-06-09 20:05:51', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02187 -2.824834)'), GeomFromEWKT('SRID=4674;POINT (-40.022102 -2.824844)'))) / (select extract(epoch from '2026-06-09 20:05:51'::timestamp) - extract(epoch from '2026-06-09 20:05:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02187 -2.824834)'), GeomFromEWKT('SRID=4674;POINT (-40.022102 -2.824844)'))) / (select extract(epoch from '2026-06-09 20:05:51'::timestamp) - extract(epoch from '2026-06-09 20:05: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'), 46698, 'SRID=4674;POINT (-40.022333 -2.82486)', '2026-06-09 20:06:02', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022102 -2.824844)'), GeomFromEWKT('SRID=4674;POINT (-40.022333 -2.82486)'))) / (select extract(epoch from '2026-06-09 20:06:02'::timestamp) - extract(epoch from '2026-06-09 20:05:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022102 -2.824844)'), GeomFromEWKT('SRID=4674;POINT (-40.022333 -2.82486)'))) / (select extract(epoch from '2026-06-09 20:06:02'::timestamp) - extract(epoch from '2026-06-09 20:05: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'), 46698, 'SRID=4674;POINT (-40.022569 -2.824875)', '2026-06-09 20:06:13', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022333 -2.82486)'), GeomFromEWKT('SRID=4674;POINT (-40.022569 -2.824875)'))) / (select extract(epoch from '2026-06-09 20:06:13'::timestamp) - extract(epoch from '2026-06-09 20:06:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022333 -2.82486)'), GeomFromEWKT('SRID=4674;POINT (-40.022569 -2.824875)'))) / (select extract(epoch from '2026-06-09 20:06:13'::timestamp) - extract(epoch from '2026-06-09 20:06:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.022788 -2.824884)', '2026-06-09 20:06:23', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022569 -2.824875)'), GeomFromEWKT('SRID=4674;POINT (-40.022788 -2.824884)'))) / (select extract(epoch from '2026-06-09 20:06:23'::timestamp) - extract(epoch from '2026-06-09 20:06:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022569 -2.824875)'), GeomFromEWKT('SRID=4674;POINT (-40.022788 -2.824884)'))) / (select extract(epoch from '2026-06-09 20:06:23'::timestamp) - extract(epoch from '2026-06-09 20:06:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.022984 -2.824892)', '2026-06-09 20:06:32', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022788 -2.824884)'), GeomFromEWKT('SRID=4674;POINT (-40.022984 -2.824892)'))) / (select extract(epoch from '2026-06-09 20:06:32'::timestamp) - extract(epoch from '2026-06-09 20:06:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022788 -2.824884)'), GeomFromEWKT('SRID=4674;POINT (-40.022984 -2.824892)'))) / (select extract(epoch from '2026-06-09 20:06:32'::timestamp) - extract(epoch from '2026-06-09 20:06: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'), 46698, 'SRID=4674;POINT (-40.023245 -2.824893)', '2026-06-09 20:06:44', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022984 -2.824892)'), GeomFromEWKT('SRID=4674;POINT (-40.023245 -2.824893)'))) / (select extract(epoch from '2026-06-09 20:06:44'::timestamp) - extract(epoch from '2026-06-09 20:06:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022984 -2.824892)'), GeomFromEWKT('SRID=4674;POINT (-40.023245 -2.824893)'))) / (select extract(epoch from '2026-06-09 20:06:44'::timestamp) - extract(epoch from '2026-06-09 20:06:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.023508 -2.824894)', '2026-06-09 20:06:56', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023245 -2.824893)'), GeomFromEWKT('SRID=4674;POINT (-40.023508 -2.824894)'))) / (select extract(epoch from '2026-06-09 20:06:56'::timestamp) - extract(epoch from '2026-06-09 20:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023245 -2.824893)'), GeomFromEWKT('SRID=4674;POINT (-40.023508 -2.824894)'))) / (select extract(epoch from '2026-06-09 20:06:56'::timestamp) - extract(epoch from '2026-06-09 20:06: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'), 46698, 'SRID=4674;POINT (-40.023731 -2.824898)', '2026-06-09 20:07:06', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023508 -2.824894)'), GeomFromEWKT('SRID=4674;POINT (-40.023731 -2.824898)'))) / (select extract(epoch from '2026-06-09 20:07:06'::timestamp) - extract(epoch from '2026-06-09 20:06:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023508 -2.824894)'), GeomFromEWKT('SRID=4674;POINT (-40.023731 -2.824898)'))) / (select extract(epoch from '2026-06-09 20:07:06'::timestamp) - extract(epoch from '2026-06-09 20:06: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'), 46698, 'SRID=4674;POINT (-40.023933 -2.824889)', '2026-06-09 20:07:15', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023731 -2.824898)'), GeomFromEWKT('SRID=4674;POINT (-40.023933 -2.824889)'))) / (select extract(epoch from '2026-06-09 20:07:15'::timestamp) - extract(epoch from '2026-06-09 20:07:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023731 -2.824898)'), GeomFromEWKT('SRID=4674;POINT (-40.023933 -2.824889)'))) / (select extract(epoch from '2026-06-09 20:07:15'::timestamp) - extract(epoch from '2026-06-09 20:07:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.024178 -2.824889)', '2026-06-09 20:07:26', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023933 -2.824889)'), GeomFromEWKT('SRID=4674;POINT (-40.024178 -2.824889)'))) / (select extract(epoch from '2026-06-09 20:07:26'::timestamp) - extract(epoch from '2026-06-09 20:07:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023933 -2.824889)'), GeomFromEWKT('SRID=4674;POINT (-40.024178 -2.824889)'))) / (select extract(epoch from '2026-06-09 20:07:26'::timestamp) - extract(epoch from '2026-06-09 20:07:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.024423 -2.824876)', '2026-06-09 20:07:37', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024178 -2.824889)'), GeomFromEWKT('SRID=4674;POINT (-40.024423 -2.824876)'))) / (select extract(epoch from '2026-06-09 20:07:37'::timestamp) - extract(epoch from '2026-06-09 20:07:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024178 -2.824889)'), GeomFromEWKT('SRID=4674;POINT (-40.024423 -2.824876)'))) / (select extract(epoch from '2026-06-09 20:07:37'::timestamp) - extract(epoch from '2026-06-09 20:07: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'), 46698, 'SRID=4674;POINT (-40.024681 -2.824858)', '2026-06-09 20:07:49', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024423 -2.824876)'), GeomFromEWKT('SRID=4674;POINT (-40.024681 -2.824858)'))) / (select extract(epoch from '2026-06-09 20:07:49'::timestamp) - extract(epoch from '2026-06-09 20:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024423 -2.824876)'), GeomFromEWKT('SRID=4674;POINT (-40.024681 -2.824858)'))) / (select extract(epoch from '2026-06-09 20:07:49'::timestamp) - extract(epoch from '2026-06-09 20:07:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.02493 -2.824849)', '2026-06-09 20:08:00', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024681 -2.824858)'), GeomFromEWKT('SRID=4674;POINT (-40.02493 -2.824849)'))) / (select extract(epoch from '2026-06-09 20:08:00'::timestamp) - extract(epoch from '2026-06-09 20:07:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024681 -2.824858)'), GeomFromEWKT('SRID=4674;POINT (-40.02493 -2.824849)'))) / (select extract(epoch from '2026-06-09 20:08:00'::timestamp) - extract(epoch from '2026-06-09 20:07:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.02525 -2.824848)', '2026-06-09 20:08:14', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02493 -2.824849)'), GeomFromEWKT('SRID=4674;POINT (-40.02525 -2.824848)'))) / (select extract(epoch from '2026-06-09 20:08:14'::timestamp) - extract(epoch from '2026-06-09 20:08:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02493 -2.824849)'), GeomFromEWKT('SRID=4674;POINT (-40.02525 -2.824848)'))) / (select extract(epoch from '2026-06-09 20:08:14'::timestamp) - extract(epoch from '2026-06-09 20: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'), 46698, 'SRID=4674;POINT (-40.025521 -2.824847)', '2026-06-09 20:08:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02525 -2.824848)'), GeomFromEWKT('SRID=4674;POINT (-40.025521 -2.824847)'))) / (select extract(epoch from '2026-06-09 20:08:26'::timestamp) - extract(epoch from '2026-06-09 20:08:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02525 -2.824848)'), GeomFromEWKT('SRID=4674;POINT (-40.025521 -2.824847)'))) / (select extract(epoch from '2026-06-09 20:08:26'::timestamp) - extract(epoch from '2026-06-09 20:08: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'), 46698, 'SRID=4674;POINT (-40.025746 -2.824828)', '2026-06-09 20:08:36', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025521 -2.824847)'), GeomFromEWKT('SRID=4674;POINT (-40.025746 -2.824828)'))) / (select extract(epoch from '2026-06-09 20:08:36'::timestamp) - extract(epoch from '2026-06-09 20:08:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025521 -2.824847)'), GeomFromEWKT('SRID=4674;POINT (-40.025746 -2.824828)'))) / (select extract(epoch from '2026-06-09 20:08:36'::timestamp) - extract(epoch from '2026-06-09 20:08: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'), 46698, 'SRID=4674;POINT (-40.025935 -2.824796)', '2026-06-09 20:08:45', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025746 -2.824828)'), GeomFromEWKT('SRID=4674;POINT (-40.025935 -2.824796)'))) / (select extract(epoch from '2026-06-09 20:08:45'::timestamp) - extract(epoch from '2026-06-09 20:08:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025746 -2.824828)'), GeomFromEWKT('SRID=4674;POINT (-40.025935 -2.824796)'))) / (select extract(epoch from '2026-06-09 20:08:45'::timestamp) - extract(epoch from '2026-06-09 20:08: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'), 46698, 'SRID=4674;POINT (-40.02617 -2.824772)', '2026-06-09 20:08:55', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025935 -2.824796)'), GeomFromEWKT('SRID=4674;POINT (-40.02617 -2.824772)'))) / (select extract(epoch from '2026-06-09 20:08:55'::timestamp) - extract(epoch from '2026-06-09 20:08:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025935 -2.824796)'), GeomFromEWKT('SRID=4674;POINT (-40.02617 -2.824772)'))) / (select extract(epoch from '2026-06-09 20:08:55'::timestamp) - extract(epoch from '2026-06-09 20:08: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'), 46698, 'SRID=4674;POINT (-40.026405 -2.824754)', '2026-06-09 20:09:05', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02617 -2.824772)'), GeomFromEWKT('SRID=4674;POINT (-40.026405 -2.824754)'))) / (select extract(epoch from '2026-06-09 20:09:05'::timestamp) - extract(epoch from '2026-06-09 20:08:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02617 -2.824772)'), GeomFromEWKT('SRID=4674;POINT (-40.026405 -2.824754)'))) / (select extract(epoch from '2026-06-09 20:09:05'::timestamp) - extract(epoch from '2026-06-09 20:08: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'), 46698, 'SRID=4674;POINT (-40.026605 -2.82473)', '2026-06-09 20:09:14', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026405 -2.824754)'), GeomFromEWKT('SRID=4674;POINT (-40.026605 -2.82473)'))) / (select extract(epoch from '2026-06-09 20:09:14'::timestamp) - extract(epoch from '2026-06-09 20:09:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026405 -2.824754)'), GeomFromEWKT('SRID=4674;POINT (-40.026605 -2.82473)'))) / (select extract(epoch from '2026-06-09 20:09:14'::timestamp) - extract(epoch from '2026-06-09 20:09: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'), 46698, 'SRID=4674;POINT (-40.026836 -2.824731)', '2026-06-09 20:09:24', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026605 -2.82473)'), GeomFromEWKT('SRID=4674;POINT (-40.026836 -2.824731)'))) / (select extract(epoch from '2026-06-09 20:09:24'::timestamp) - extract(epoch from '2026-06-09 20:09:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026605 -2.82473)'), GeomFromEWKT('SRID=4674;POINT (-40.026836 -2.824731)'))) / (select extract(epoch from '2026-06-09 20:09:24'::timestamp) - extract(epoch from '2026-06-09 20:09:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.027091 -2.824754)', '2026-06-09 20:09:35', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026836 -2.824731)'), GeomFromEWKT('SRID=4674;POINT (-40.027091 -2.824754)'))) / (select extract(epoch from '2026-06-09 20:09:35'::timestamp) - extract(epoch from '2026-06-09 20:09:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026836 -2.824731)'), GeomFromEWKT('SRID=4674;POINT (-40.027091 -2.824754)'))) / (select extract(epoch from '2026-06-09 20:09:35'::timestamp) - extract(epoch from '2026-06-09 20:09:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.027329 -2.82476)', '2026-06-09 20:09:45', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027091 -2.824754)'), GeomFromEWKT('SRID=4674;POINT (-40.027329 -2.82476)'))) / (select extract(epoch from '2026-06-09 20:09:45'::timestamp) - extract(epoch from '2026-06-09 20:09:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027091 -2.824754)'), GeomFromEWKT('SRID=4674;POINT (-40.027329 -2.82476)'))) / (select extract(epoch from '2026-06-09 20:09:45'::timestamp) - extract(epoch from '2026-06-09 20:09: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'), 46698, 'SRID=4674;POINT (-40.02753 -2.824766)', '2026-06-09 20:09:54', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027329 -2.82476)'), GeomFromEWKT('SRID=4674;POINT (-40.02753 -2.824766)'))) / (select extract(epoch from '2026-06-09 20:09:54'::timestamp) - extract(epoch from '2026-06-09 20:09:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027329 -2.82476)'), GeomFromEWKT('SRID=4674;POINT (-40.02753 -2.824766)'))) / (select extract(epoch from '2026-06-09 20:09:54'::timestamp) - extract(epoch from '2026-06-09 20:09: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'), 46698, 'SRID=4674;POINT (-40.02771 -2.824764)', '2026-06-09 20:10:02', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02753 -2.824766)'), GeomFromEWKT('SRID=4674;POINT (-40.02771 -2.824764)'))) / (select extract(epoch from '2026-06-09 20:10:02'::timestamp) - extract(epoch from '2026-06-09 20:09:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02753 -2.824766)'), GeomFromEWKT('SRID=4674;POINT (-40.02771 -2.824764)'))) / (select extract(epoch from '2026-06-09 20:10:02'::timestamp) - extract(epoch from '2026-06-09 20:09:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.027914 -2.824772)', '2026-06-09 20:10:11', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02771 -2.824764)'), GeomFromEWKT('SRID=4674;POINT (-40.027914 -2.824772)'))) / (select extract(epoch from '2026-06-09 20:10:11'::timestamp) - extract(epoch from '2026-06-09 20:10:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02771 -2.824764)'), GeomFromEWKT('SRID=4674;POINT (-40.027914 -2.824772)'))) / (select extract(epoch from '2026-06-09 20:10:11'::timestamp) - extract(epoch from '2026-06-09 20: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'), 46698, 'SRID=4674;POINT (-40.028167 -2.824782)', '2026-06-09 20:10:22', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027914 -2.824772)'), GeomFromEWKT('SRID=4674;POINT (-40.028167 -2.824782)'))) / (select extract(epoch from '2026-06-09 20:10:22'::timestamp) - extract(epoch from '2026-06-09 20:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027914 -2.824772)'), GeomFromEWKT('SRID=4674;POINT (-40.028167 -2.824782)'))) / (select extract(epoch from '2026-06-09 20:10:22'::timestamp) - extract(epoch from '2026-06-09 20:10:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.028433 -2.824804)', '2026-06-09 20:10:34', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028167 -2.824782)'), GeomFromEWKT('SRID=4674;POINT (-40.028433 -2.824804)'))) / (select extract(epoch from '2026-06-09 20:10:34'::timestamp) - extract(epoch from '2026-06-09 20:10:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028167 -2.824782)'), GeomFromEWKT('SRID=4674;POINT (-40.028433 -2.824804)'))) / (select extract(epoch from '2026-06-09 20:10:34'::timestamp) - extract(epoch from '2026-06-09 20:10: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'), 46698, 'SRID=4674;POINT (-40.028681 -2.824826)', '2026-06-09 20:10:45', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028433 -2.824804)'), GeomFromEWKT('SRID=4674;POINT (-40.028681 -2.824826)'))) / (select extract(epoch from '2026-06-09 20:10:45'::timestamp) - extract(epoch from '2026-06-09 20:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028433 -2.824804)'), GeomFromEWKT('SRID=4674;POINT (-40.028681 -2.824826)'))) / (select extract(epoch from '2026-06-09 20:10:45'::timestamp) - extract(epoch from '2026-06-09 20:10: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'), 46698, 'SRID=4674;POINT (-40.028967 -2.824868)', '2026-06-09 20:10:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028681 -2.824826)'), GeomFromEWKT('SRID=4674;POINT (-40.028967 -2.824868)'))) / (select extract(epoch from '2026-06-09 20:10:58'::timestamp) - extract(epoch from '2026-06-09 20:10:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028681 -2.824826)'), GeomFromEWKT('SRID=4674;POINT (-40.028967 -2.824868)'))) / (select extract(epoch from '2026-06-09 20:10:58'::timestamp) - extract(epoch from '2026-06-09 20:10: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'), 46698, 'SRID=4674;POINT (-40.029196 -2.824868)', '2026-06-09 20:11:08', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028967 -2.824868)'), GeomFromEWKT('SRID=4674;POINT (-40.029196 -2.824868)'))) / (select extract(epoch from '2026-06-09 20:11:08'::timestamp) - extract(epoch from '2026-06-09 20:10:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028967 -2.824868)'), GeomFromEWKT('SRID=4674;POINT (-40.029196 -2.824868)'))) / (select extract(epoch from '2026-06-09 20:11:08'::timestamp) - extract(epoch from '2026-06-09 20:10: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'), 46698, 'SRID=4674;POINT (-40.029417 -2.824863)', '2026-06-09 20:11:18', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029196 -2.824868)'), GeomFromEWKT('SRID=4674;POINT (-40.029417 -2.824863)'))) / (select extract(epoch from '2026-06-09 20:11:18'::timestamp) - extract(epoch from '2026-06-09 20:11:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029196 -2.824868)'), GeomFromEWKT('SRID=4674;POINT (-40.029417 -2.824863)'))) / (select extract(epoch from '2026-06-09 20:11:18'::timestamp) - extract(epoch from '2026-06-09 20: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'), 46698, 'SRID=4674;POINT (-40.029639 -2.824924)', '2026-06-09 20:11:29', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029417 -2.824863)'), GeomFromEWKT('SRID=4674;POINT (-40.029639 -2.824924)'))) / (select extract(epoch from '2026-06-09 20:11:29'::timestamp) - extract(epoch from '2026-06-09 20:11:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029417 -2.824863)'), GeomFromEWKT('SRID=4674;POINT (-40.029639 -2.824924)'))) / (select extract(epoch from '2026-06-09 20:11:29'::timestamp) - extract(epoch from '2026-06-09 20: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'), 46698, 'SRID=4674;POINT (-40.029876 -2.825002)', '2026-06-09 20:11:40', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029639 -2.824924)'), GeomFromEWKT('SRID=4674;POINT (-40.029876 -2.825002)'))) / (select extract(epoch from '2026-06-09 20:11:40'::timestamp) - extract(epoch from '2026-06-09 20:11:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029639 -2.824924)'), GeomFromEWKT('SRID=4674;POINT (-40.029876 -2.825002)'))) / (select extract(epoch from '2026-06-09 20:11:40'::timestamp) - extract(epoch from '2026-06-09 20:11: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'), 46698, 'SRID=4674;POINT (-40.030137 -2.825098)', '2026-06-09 20:11:52', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029876 -2.825002)'), GeomFromEWKT('SRID=4674;POINT (-40.030137 -2.825098)'))) / (select extract(epoch from '2026-06-09 20:11:52'::timestamp) - extract(epoch from '2026-06-09 20:11:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029876 -2.825002)'), GeomFromEWKT('SRID=4674;POINT (-40.030137 -2.825098)'))) / (select extract(epoch from '2026-06-09 20:11:52'::timestamp) - extract(epoch from '2026-06-09 20: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'), 46698, 'SRID=4674;POINT (-40.030372 -2.825174)', '2026-06-09 20:12:03', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030137 -2.825098)'), GeomFromEWKT('SRID=4674;POINT (-40.030372 -2.825174)'))) / (select extract(epoch from '2026-06-09 20:12:03'::timestamp) - extract(epoch from '2026-06-09 20:11:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030137 -2.825098)'), GeomFromEWKT('SRID=4674;POINT (-40.030372 -2.825174)'))) / (select extract(epoch from '2026-06-09 20:12:03'::timestamp) - extract(epoch from '2026-06-09 20:11:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.030619 -2.82525)', '2026-06-09 20:12:14', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030372 -2.825174)'), GeomFromEWKT('SRID=4674;POINT (-40.030619 -2.82525)'))) / (select extract(epoch from '2026-06-09 20:12:14'::timestamp) - extract(epoch from '2026-06-09 20:12:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030372 -2.825174)'), GeomFromEWKT('SRID=4674;POINT (-40.030619 -2.82525)'))) / (select extract(epoch from '2026-06-09 20:12:14'::timestamp) - extract(epoch from '2026-06-09 20: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'), 46698, 'SRID=4674;POINT (-40.030834 -2.82532)', '2026-06-09 20:12:24', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030619 -2.82525)'), GeomFromEWKT('SRID=4674;POINT (-40.030834 -2.82532)'))) / (select extract(epoch from '2026-06-09 20:12:24'::timestamp) - extract(epoch from '2026-06-09 20:12:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030619 -2.82525)'), GeomFromEWKT('SRID=4674;POINT (-40.030834 -2.82532)'))) / (select extract(epoch from '2026-06-09 20:12:24'::timestamp) - extract(epoch from '2026-06-09 20: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'), 46698, 'SRID=4674;POINT (-40.031071 -2.825415)', '2026-06-09 20:12:35', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030834 -2.82532)'), GeomFromEWKT('SRID=4674;POINT (-40.031071 -2.825415)'))) / (select extract(epoch from '2026-06-09 20:12:35'::timestamp) - extract(epoch from '2026-06-09 20:12:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030834 -2.82532)'), GeomFromEWKT('SRID=4674;POINT (-40.031071 -2.825415)'))) / (select extract(epoch from '2026-06-09 20:12:35'::timestamp) - extract(epoch from '2026-06-09 20:12:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.03128 -2.825494)', '2026-06-09 20:12:45', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031071 -2.825415)'), GeomFromEWKT('SRID=4674;POINT (-40.03128 -2.825494)'))) / (select extract(epoch from '2026-06-09 20:12:45'::timestamp) - extract(epoch from '2026-06-09 20:12:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031071 -2.825415)'), GeomFromEWKT('SRID=4674;POINT (-40.03128 -2.825494)'))) / (select extract(epoch from '2026-06-09 20:12:45'::timestamp) - extract(epoch from '2026-06-09 20: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'), 46698, 'SRID=4674;POINT (-40.031511 -2.825551)', '2026-06-09 20:12:56', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03128 -2.825494)'), GeomFromEWKT('SRID=4674;POINT (-40.031511 -2.825551)'))) / (select extract(epoch from '2026-06-09 20:12:56'::timestamp) - extract(epoch from '2026-06-09 20:12:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03128 -2.825494)'), GeomFromEWKT('SRID=4674;POINT (-40.031511 -2.825551)'))) / (select extract(epoch from '2026-06-09 20:12:56'::timestamp) - extract(epoch from '2026-06-09 20:12: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'), 46698, 'SRID=4674;POINT (-40.031767 -2.825603)', '2026-06-09 20:13:08', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031511 -2.825551)'), GeomFromEWKT('SRID=4674;POINT (-40.031767 -2.825603)'))) / (select extract(epoch from '2026-06-09 20:13:08'::timestamp) - extract(epoch from '2026-06-09 20:12:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031511 -2.825551)'), GeomFromEWKT('SRID=4674;POINT (-40.031767 -2.825603)'))) / (select extract(epoch from '2026-06-09 20:13:08'::timestamp) - extract(epoch from '2026-06-09 20:12: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'), 46698, 'SRID=4674;POINT (-40.032007 -2.825645)', '2026-06-09 20:13:20', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031767 -2.825603)'), GeomFromEWKT('SRID=4674;POINT (-40.032007 -2.825645)'))) / (select extract(epoch from '2026-06-09 20:13:20'::timestamp) - extract(epoch from '2026-06-09 20:13:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031767 -2.825603)'), GeomFromEWKT('SRID=4674;POINT (-40.032007 -2.825645)'))) / (select extract(epoch from '2026-06-09 20:13:20'::timestamp) - extract(epoch from '2026-06-09 20:13: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'), 46698, 'SRID=4674;POINT (-40.032174 -2.825643)', '2026-06-09 20:13:28', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032007 -2.825645)'), GeomFromEWKT('SRID=4674;POINT (-40.032174 -2.825643)'))) / (select extract(epoch from '2026-06-09 20:13:28'::timestamp) - extract(epoch from '2026-06-09 20:13:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032007 -2.825645)'), GeomFromEWKT('SRID=4674;POINT (-40.032174 -2.825643)'))) / (select extract(epoch from '2026-06-09 20:13:28'::timestamp) - extract(epoch from '2026-06-09 20:13: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'), 46698, 'SRID=4674;POINT (-40.032375 -2.825657)', '2026-06-09 20:13:38', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032174 -2.825643)'), GeomFromEWKT('SRID=4674;POINT (-40.032375 -2.825657)'))) / (select extract(epoch from '2026-06-09 20:13:38'::timestamp) - extract(epoch from '2026-06-09 20:13:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032174 -2.825643)'), GeomFromEWKT('SRID=4674;POINT (-40.032375 -2.825657)'))) / (select extract(epoch from '2026-06-09 20:13:38'::timestamp) - extract(epoch from '2026-06-09 20:13: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'), 46698, 'SRID=4674;POINT (-40.03258 -2.825667)', '2026-06-09 20:13:48', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032375 -2.825657)'), GeomFromEWKT('SRID=4674;POINT (-40.03258 -2.825667)'))) / (select extract(epoch from '2026-06-09 20:13:48'::timestamp) - extract(epoch from '2026-06-09 20:13:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032375 -2.825657)'), GeomFromEWKT('SRID=4674;POINT (-40.03258 -2.825667)'))) / (select extract(epoch from '2026-06-09 20:13:48'::timestamp) - extract(epoch from '2026-06-09 20:13: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'), 46698, 'SRID=4674;POINT (-40.032743 -2.825674)', '2026-06-09 20:13:56', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03258 -2.825667)'), GeomFromEWKT('SRID=4674;POINT (-40.032743 -2.825674)'))) / (select extract(epoch from '2026-06-09 20:13:56'::timestamp) - extract(epoch from '2026-06-09 20:13:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03258 -2.825667)'), GeomFromEWKT('SRID=4674;POINT (-40.032743 -2.825674)'))) / (select extract(epoch from '2026-06-09 20:13:56'::timestamp) - extract(epoch from '2026-06-09 20:13: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'), 46698, 'SRID=4674;POINT (-40.03293 -2.825696)', '2026-06-09 20:14:05', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032743 -2.825674)'), GeomFromEWKT('SRID=4674;POINT (-40.03293 -2.825696)'))) / (select extract(epoch from '2026-06-09 20:14:05'::timestamp) - extract(epoch from '2026-06-09 20:13:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032743 -2.825674)'), GeomFromEWKT('SRID=4674;POINT (-40.03293 -2.825696)'))) / (select extract(epoch from '2026-06-09 20:14:05'::timestamp) - extract(epoch from '2026-06-09 20:13:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.033118 -2.825727)', '2026-06-09 20:14:14', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03293 -2.825696)'), GeomFromEWKT('SRID=4674;POINT (-40.033118 -2.825727)'))) / (select extract(epoch from '2026-06-09 20:14:14'::timestamp) - extract(epoch from '2026-06-09 20:14:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03293 -2.825696)'), GeomFromEWKT('SRID=4674;POINT (-40.033118 -2.825727)'))) / (select extract(epoch from '2026-06-09 20:14:14'::timestamp) - extract(epoch from '2026-06-09 20:14: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'), 46698, 'SRID=4674;POINT (-40.033323 -2.82577)', '2026-06-09 20:14:24', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033118 -2.825727)'), GeomFromEWKT('SRID=4674;POINT (-40.033323 -2.82577)'))) / (select extract(epoch from '2026-06-09 20:14:24'::timestamp) - extract(epoch from '2026-06-09 20:14:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033118 -2.825727)'), GeomFromEWKT('SRID=4674;POINT (-40.033323 -2.82577)'))) / (select extract(epoch from '2026-06-09 20:14:24'::timestamp) - extract(epoch from '2026-06-09 20:14: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'), 46698, 'SRID=4674;POINT (-40.033542 -2.82579)', '2026-06-09 20:14:34', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033323 -2.82577)'), GeomFromEWKT('SRID=4674;POINT (-40.033542 -2.82579)'))) / (select extract(epoch from '2026-06-09 20:14:34'::timestamp) - extract(epoch from '2026-06-09 20:14:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033323 -2.82577)'), GeomFromEWKT('SRID=4674;POINT (-40.033542 -2.82579)'))) / (select extract(epoch from '2026-06-09 20:14:34'::timestamp) - extract(epoch from '2026-06-09 20:14: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'), 46698, 'SRID=4674;POINT (-40.033754 -2.825812)', '2026-06-09 20:14:44', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033542 -2.82579)'), GeomFromEWKT('SRID=4674;POINT (-40.033754 -2.825812)'))) / (select extract(epoch from '2026-06-09 20:14:44'::timestamp) - extract(epoch from '2026-06-09 20:14:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033542 -2.82579)'), GeomFromEWKT('SRID=4674;POINT (-40.033754 -2.825812)'))) / (select extract(epoch from '2026-06-09 20:14:44'::timestamp) - extract(epoch from '2026-06-09 20:14: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'), 46698, 'SRID=4674;POINT (-40.033962 -2.825846)', '2026-06-09 20:14:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033754 -2.825812)'), GeomFromEWKT('SRID=4674;POINT (-40.033962 -2.825846)'))) / (select extract(epoch from '2026-06-09 20:14:54'::timestamp) - extract(epoch from '2026-06-09 20:14:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033754 -2.825812)'), GeomFromEWKT('SRID=4674;POINT (-40.033962 -2.825846)'))) / (select extract(epoch from '2026-06-09 20:14:54'::timestamp) - extract(epoch from '2026-06-09 20:14:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.034191 -2.825887)', '2026-06-09 20:15:05', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033962 -2.825846)'), GeomFromEWKT('SRID=4674;POINT (-40.034191 -2.825887)'))) / (select extract(epoch from '2026-06-09 20:15:05'::timestamp) - extract(epoch from '2026-06-09 20:14:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033962 -2.825846)'), GeomFromEWKT('SRID=4674;POINT (-40.034191 -2.825887)'))) / (select extract(epoch from '2026-06-09 20:15:05'::timestamp) - extract(epoch from '2026-06-09 20:14: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'), 46698, 'SRID=4674;POINT (-40.034368 -2.825961)', '2026-06-09 20:15:14', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034191 -2.825887)'), GeomFromEWKT('SRID=4674;POINT (-40.034368 -2.825961)'))) / (select extract(epoch from '2026-06-09 20:15:14'::timestamp) - extract(epoch from '2026-06-09 20:15:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034191 -2.825887)'), GeomFromEWKT('SRID=4674;POINT (-40.034368 -2.825961)'))) / (select extract(epoch from '2026-06-09 20:15:14'::timestamp) - extract(epoch from '2026-06-09 20:15: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'), 46698, 'SRID=4674;POINT (-40.034539 -2.826032)', '2026-06-09 20:15:23', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034368 -2.825961)'), GeomFromEWKT('SRID=4674;POINT (-40.034539 -2.826032)'))) / (select extract(epoch from '2026-06-09 20:15:23'::timestamp) - extract(epoch from '2026-06-09 20:15:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034368 -2.825961)'), GeomFromEWKT('SRID=4674;POINT (-40.034539 -2.826032)'))) / (select extract(epoch from '2026-06-09 20:15:23'::timestamp) - extract(epoch from '2026-06-09 20:15: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'), 46698, 'SRID=4674;POINT (-40.034748 -2.826084)', '2026-06-09 20:15:33', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034539 -2.826032)'), GeomFromEWKT('SRID=4674;POINT (-40.034748 -2.826084)'))) / (select extract(epoch from '2026-06-09 20:15:33'::timestamp) - extract(epoch from '2026-06-09 20:15:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034539 -2.826032)'), GeomFromEWKT('SRID=4674;POINT (-40.034748 -2.826084)'))) / (select extract(epoch from '2026-06-09 20:15:33'::timestamp) - extract(epoch from '2026-06-09 20:15:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.034982 -2.826087)', '2026-06-09 20:15:44', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034748 -2.826084)'), GeomFromEWKT('SRID=4674;POINT (-40.034982 -2.826087)'))) / (select extract(epoch from '2026-06-09 20:15:44'::timestamp) - extract(epoch from '2026-06-09 20:15:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034748 -2.826084)'), GeomFromEWKT('SRID=4674;POINT (-40.034982 -2.826087)'))) / (select extract(epoch from '2026-06-09 20:15:44'::timestamp) - extract(epoch from '2026-06-09 20:15: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'), 46698, 'SRID=4674;POINT (-40.03517 -2.826075)', '2026-06-09 20:15:53', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034982 -2.826087)'), GeomFromEWKT('SRID=4674;POINT (-40.03517 -2.826075)'))) / (select extract(epoch from '2026-06-09 20:15:53'::timestamp) - extract(epoch from '2026-06-09 20:15:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034982 -2.826087)'), GeomFromEWKT('SRID=4674;POINT (-40.03517 -2.826075)'))) / (select extract(epoch from '2026-06-09 20:15:53'::timestamp) - extract(epoch from '2026-06-09 20:15:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.035385 -2.826058)', '2026-06-09 20:16:03', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03517 -2.826075)'), GeomFromEWKT('SRID=4674;POINT (-40.035385 -2.826058)'))) / (select extract(epoch from '2026-06-09 20:16:03'::timestamp) - extract(epoch from '2026-06-09 20:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03517 -2.826075)'), GeomFromEWKT('SRID=4674;POINT (-40.035385 -2.826058)'))) / (select extract(epoch from '2026-06-09 20:16:03'::timestamp) - extract(epoch from '2026-06-09 20:15: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'), 46698, 'SRID=4674;POINT (-40.035556 -2.826061)', '2026-06-09 20:16:11', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035385 -2.826058)'), GeomFromEWKT('SRID=4674;POINT (-40.035556 -2.826061)'))) / (select extract(epoch from '2026-06-09 20:16:11'::timestamp) - extract(epoch from '2026-06-09 20:16:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035385 -2.826058)'), GeomFromEWKT('SRID=4674;POINT (-40.035556 -2.826061)'))) / (select extract(epoch from '2026-06-09 20:16:11'::timestamp) - extract(epoch from '2026-06-09 20:16: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'), 46698, 'SRID=4674;POINT (-40.035763 -2.826064)', '2026-06-09 20:16:21', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035556 -2.826061)'), GeomFromEWKT('SRID=4674;POINT (-40.035763 -2.826064)'))) / (select extract(epoch from '2026-06-09 20:16:21'::timestamp) - extract(epoch from '2026-06-09 20:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035556 -2.826061)'), GeomFromEWKT('SRID=4674;POINT (-40.035763 -2.826064)'))) / (select extract(epoch from '2026-06-09 20:16:21'::timestamp) - extract(epoch from '2026-06-09 20:16: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'), 46698, 'SRID=4674;POINT (-40.03602 -2.826073)', '2026-06-09 20:16:33', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035763 -2.826064)'), GeomFromEWKT('SRID=4674;POINT (-40.03602 -2.826073)'))) / (select extract(epoch from '2026-06-09 20:16:33'::timestamp) - extract(epoch from '2026-06-09 20:16:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035763 -2.826064)'), GeomFromEWKT('SRID=4674;POINT (-40.03602 -2.826073)'))) / (select extract(epoch from '2026-06-09 20:16:33'::timestamp) - extract(epoch from '2026-06-09 20: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'), 46698, 'SRID=4674;POINT (-40.03624 -2.826097)', '2026-06-09 20:16:43', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03602 -2.826073)'), GeomFromEWKT('SRID=4674;POINT (-40.03624 -2.826097)'))) / (select extract(epoch from '2026-06-09 20:16:43'::timestamp) - extract(epoch from '2026-06-09 20:16:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03602 -2.826073)'), GeomFromEWKT('SRID=4674;POINT (-40.03624 -2.826097)'))) / (select extract(epoch from '2026-06-09 20:16:43'::timestamp) - extract(epoch from '2026-06-09 20:16: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'), 46698, 'SRID=4674;POINT (-40.036443 -2.826133)', '2026-06-09 20:16:53', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03624 -2.826097)'), GeomFromEWKT('SRID=4674;POINT (-40.036443 -2.826133)'))) / (select extract(epoch from '2026-06-09 20:16:53'::timestamp) - extract(epoch from '2026-06-09 20:16:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03624 -2.826097)'), GeomFromEWKT('SRID=4674;POINT (-40.036443 -2.826133)'))) / (select extract(epoch from '2026-06-09 20:16:53'::timestamp) - extract(epoch from '2026-06-09 20:16: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'), 46698, 'SRID=4674;POINT (-40.036671 -2.826204)', '2026-06-09 20:17:04', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036443 -2.826133)'), GeomFromEWKT('SRID=4674;POINT (-40.036671 -2.826204)'))) / (select extract(epoch from '2026-06-09 20:17:04'::timestamp) - extract(epoch from '2026-06-09 20:16:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036443 -2.826133)'), GeomFromEWKT('SRID=4674;POINT (-40.036671 -2.826204)'))) / (select extract(epoch from '2026-06-09 20:17:04'::timestamp) - extract(epoch from '2026-06-09 20: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'), 46698, 'SRID=4674;POINT (-40.036849 -2.826289)', '2026-06-09 20:17:13', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036671 -2.826204)'), GeomFromEWKT('SRID=4674;POINT (-40.036849 -2.826289)'))) / (select extract(epoch from '2026-06-09 20:17:13'::timestamp) - extract(epoch from '2026-06-09 20:17:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036671 -2.826204)'), GeomFromEWKT('SRID=4674;POINT (-40.036849 -2.826289)'))) / (select extract(epoch from '2026-06-09 20:17:13'::timestamp) - extract(epoch from '2026-06-09 20:17:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.037048 -2.826417)', '2026-06-09 20:17:24', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036849 -2.826289)'), GeomFromEWKT('SRID=4674;POINT (-40.037048 -2.826417)'))) / (select extract(epoch from '2026-06-09 20:17:24'::timestamp) - extract(epoch from '2026-06-09 20:17:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036849 -2.826289)'), GeomFromEWKT('SRID=4674;POINT (-40.037048 -2.826417)'))) / (select extract(epoch from '2026-06-09 20:17:24'::timestamp) - extract(epoch from '2026-06-09 20:17: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'), 46698, 'SRID=4674;POINT (-40.037224 -2.826527)', '2026-06-09 20:17:34', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037048 -2.826417)'), GeomFromEWKT('SRID=4674;POINT (-40.037224 -2.826527)'))) / (select extract(epoch from '2026-06-09 20:17:34'::timestamp) - extract(epoch from '2026-06-09 20:17:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037048 -2.826417)'), GeomFromEWKT('SRID=4674;POINT (-40.037224 -2.826527)'))) / (select extract(epoch from '2026-06-09 20:17:34'::timestamp) - extract(epoch from '2026-06-09 20:17: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'), 46698, 'SRID=4674;POINT (-40.037362 -2.826606)', '2026-06-09 20:17:42', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037224 -2.826527)'), GeomFromEWKT('SRID=4674;POINT (-40.037362 -2.826606)'))) / (select extract(epoch from '2026-06-09 20:17:42'::timestamp) - extract(epoch from '2026-06-09 20:17:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037224 -2.826527)'), GeomFromEWKT('SRID=4674;POINT (-40.037362 -2.826606)'))) / (select extract(epoch from '2026-06-09 20:17:42'::timestamp) - extract(epoch from '2026-06-09 20:17: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'), 46698, 'SRID=4674;POINT (-40.037479 -2.826627)', '2026-06-09 20:17:48', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037362 -2.826606)'), GeomFromEWKT('SRID=4674;POINT (-40.037479 -2.826627)'))) / (select extract(epoch from '2026-06-09 20:17:48'::timestamp) - extract(epoch from '2026-06-09 20:17:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037362 -2.826606)'), GeomFromEWKT('SRID=4674;POINT (-40.037479 -2.826627)'))) / (select extract(epoch from '2026-06-09 20:17:48'::timestamp) - extract(epoch from '2026-06-09 20:17:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.037567 -2.82656)', '2026-06-09 20:17:55', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037479 -2.826627)'), GeomFromEWKT('SRID=4674;POINT (-40.037567 -2.82656)'))) / (select extract(epoch from '2026-06-09 20:17:55'::timestamp) - extract(epoch from '2026-06-09 20:17:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037479 -2.826627)'), GeomFromEWKT('SRID=4674;POINT (-40.037567 -2.82656)'))) / (select extract(epoch from '2026-06-09 20:17:55'::timestamp) - extract(epoch from '2026-06-09 20:17: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'), 46698, 'SRID=4674;POINT (-40.037581 -2.826488)', '2026-06-09 20:18:01', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037567 -2.82656)'), GeomFromEWKT('SRID=4674;POINT (-40.037581 -2.826488)'))) / (select extract(epoch from '2026-06-09 20:18:01'::timestamp) - extract(epoch from '2026-06-09 20:17:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037567 -2.82656)'), GeomFromEWKT('SRID=4674;POINT (-40.037581 -2.826488)'))) / (select extract(epoch from '2026-06-09 20:18:01'::timestamp) - extract(epoch from '2026-06-09 20:17: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'), 46698, 'SRID=4674;POINT (-40.037577 -2.82648)', '2026-06-09 20:18:02', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037581 -2.826488)'), GeomFromEWKT('SRID=4674;POINT (-40.037577 -2.82648)'))) / (select extract(epoch from '2026-06-09 20:18:02'::timestamp) - extract(epoch from '2026-06-09 20:18:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037581 -2.826488)'), GeomFromEWKT('SRID=4674;POINT (-40.037577 -2.82648)'))) / (select extract(epoch from '2026-06-09 20:18:02'::timestamp) - extract(epoch from '2026-06-09 20:18:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.037561 -2.826444)', '2026-06-09 20:18:06', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037577 -2.82648)'), GeomFromEWKT('SRID=4674;POINT (-40.037561 -2.826444)'))) / (select extract(epoch from '2026-06-09 20:18:06'::timestamp) - extract(epoch from '2026-06-09 20:18:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037577 -2.82648)'), GeomFromEWKT('SRID=4674;POINT (-40.037561 -2.826444)'))) / (select extract(epoch from '2026-06-09 20:18:06'::timestamp) - extract(epoch from '2026-06-09 20:18: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'), 46698, 'SRID=4674;POINT (-40.037544 -2.826414)', '2026-06-09 20:18:09', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037561 -2.826444)'), GeomFromEWKT('SRID=4674;POINT (-40.037544 -2.826414)'))) / (select extract(epoch from '2026-06-09 20:18:09'::timestamp) - extract(epoch from '2026-06-09 20:18:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037561 -2.826444)'), GeomFromEWKT('SRID=4674;POINT (-40.037544 -2.826414)'))) / (select extract(epoch from '2026-06-09 20:18:09'::timestamp) - extract(epoch from '2026-06-09 20: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'), 46698, 'SRID=4674;POINT (-40.037497 -2.826346)', '2026-06-09 20:18:17', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037544 -2.826414)'), GeomFromEWKT('SRID=4674;POINT (-40.037497 -2.826346)'))) / (select extract(epoch from '2026-06-09 20:18:17'::timestamp) - extract(epoch from '2026-06-09 20:18:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037544 -2.826414)'), GeomFromEWKT('SRID=4674;POINT (-40.037497 -2.826346)'))) / (select extract(epoch from '2026-06-09 20:18:17'::timestamp) - extract(epoch from '2026-06-09 20:18: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'), 46698, 'SRID=4674;POINT (-40.037485 -2.826326)', '2026-06-09 20:18:19', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037497 -2.826346)'), GeomFromEWKT('SRID=4674;POINT (-40.037485 -2.826326)'))) / (select extract(epoch from '2026-06-09 20:18:19'::timestamp) - extract(epoch from '2026-06-09 20:18:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037497 -2.826346)'), GeomFromEWKT('SRID=4674;POINT (-40.037485 -2.826326)'))) / (select extract(epoch from '2026-06-09 20:18:19'::timestamp) - extract(epoch from '2026-06-09 20:18: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'), 46698, 'SRID=4674;POINT (-40.037447 -2.826288)', '2026-06-09 20:18:24', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037485 -2.826326)'), GeomFromEWKT('SRID=4674;POINT (-40.037447 -2.826288)'))) / (select extract(epoch from '2026-06-09 20:18:24'::timestamp) - extract(epoch from '2026-06-09 20:18:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037485 -2.826326)'), GeomFromEWKT('SRID=4674;POINT (-40.037447 -2.826288)'))) / (select extract(epoch from '2026-06-09 20:18:24'::timestamp) - extract(epoch from '2026-06-09 20: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'), 46698, 'SRID=4674;POINT (-40.037411 -2.82623)', '2026-06-09 20:18:34', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037447 -2.826288)'), GeomFromEWKT('SRID=4674;POINT (-40.037411 -2.82623)'))) / (select extract(epoch from '2026-06-09 20:18:34'::timestamp) - extract(epoch from '2026-06-09 20:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037447 -2.826288)'), GeomFromEWKT('SRID=4674;POINT (-40.037411 -2.82623)'))) / (select extract(epoch from '2026-06-09 20:18:34'::timestamp) - extract(epoch from '2026-06-09 20:18: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'), 46698, 'SRID=4674;POINT (-40.037414 -2.8262)', '2026-06-09 20:18:42', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037411 -2.82623)'), GeomFromEWKT('SRID=4674;POINT (-40.037414 -2.8262)'))) / (select extract(epoch from '2026-06-09 20:18:42'::timestamp) - extract(epoch from '2026-06-09 20:18:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037411 -2.82623)'), GeomFromEWKT('SRID=4674;POINT (-40.037414 -2.8262)'))) / (select extract(epoch from '2026-06-09 20:18:42'::timestamp) - extract(epoch from '2026-06-09 20:18: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'), 46698, 'SRID=4674;POINT (-40.037428 -2.826186)', '2026-06-09 20:18:51', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037414 -2.8262)'), GeomFromEWKT('SRID=4674;POINT (-40.037428 -2.826186)'))) / (select extract(epoch from '2026-06-09 20:18:51'::timestamp) - extract(epoch from '2026-06-09 20:18:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037414 -2.8262)'), GeomFromEWKT('SRID=4674;POINT (-40.037428 -2.826186)'))) / (select extract(epoch from '2026-06-09 20:18:51'::timestamp) - extract(epoch from '2026-06-09 20:18: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'), 46698, 'SRID=4674;POINT (-40.037459 -2.826173)', '2026-06-09 20:19:11', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037428 -2.826186)'), GeomFromEWKT('SRID=4674;POINT (-40.037459 -2.826173)'))) / (select extract(epoch from '2026-06-09 20:19:11'::timestamp) - extract(epoch from '2026-06-09 20:18:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037428 -2.826186)'), GeomFromEWKT('SRID=4674;POINT (-40.037459 -2.826173)'))) / (select extract(epoch from '2026-06-09 20:19:11'::timestamp) - extract(epoch from '2026-06-09 20:18:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.037473 -2.826099)', '2026-06-09 20:19:28', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037459 -2.826173)'), GeomFromEWKT('SRID=4674;POINT (-40.037473 -2.826099)'))) / (select extract(epoch from '2026-06-09 20:19:28'::timestamp) - extract(epoch from '2026-06-09 20:19:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037459 -2.826173)'), GeomFromEWKT('SRID=4674;POINT (-40.037473 -2.826099)'))) / (select extract(epoch from '2026-06-09 20:19:28'::timestamp) - extract(epoch from '2026-06-09 20:19: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'), 46698, 'SRID=4674;POINT (-40.037452 -2.826078)', '2026-06-09 20:19:37', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037473 -2.826099)'), GeomFromEWKT('SRID=4674;POINT (-40.037452 -2.826078)'))) / (select extract(epoch from '2026-06-09 20:19:37'::timestamp) - extract(epoch from '2026-06-09 20:19:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037473 -2.826099)'), GeomFromEWKT('SRID=4674;POINT (-40.037452 -2.826078)'))) / (select extract(epoch from '2026-06-09 20:19:37'::timestamp) - extract(epoch from '2026-06-09 20:19: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'), 46698, 'SRID=4674;POINT (-40.037406 -2.826096)', '2026-06-09 20:19:46', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037452 -2.826078)'), GeomFromEWKT('SRID=4674;POINT (-40.037406 -2.826096)'))) / (select extract(epoch from '2026-06-09 20:19:46'::timestamp) - extract(epoch from '2026-06-09 20:19:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037452 -2.826078)'), GeomFromEWKT('SRID=4674;POINT (-40.037406 -2.826096)'))) / (select extract(epoch from '2026-06-09 20:19:46'::timestamp) - extract(epoch from '2026-06-09 20:19: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'), 46698, 'SRID=4674;POINT (-40.037385 -2.826179)', '2026-06-09 20:19:53', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037406 -2.826096)'), GeomFromEWKT('SRID=4674;POINT (-40.037385 -2.826179)'))) / (select extract(epoch from '2026-06-09 20:19:53'::timestamp) - extract(epoch from '2026-06-09 20:19:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037406 -2.826096)'), GeomFromEWKT('SRID=4674;POINT (-40.037385 -2.826179)'))) / (select extract(epoch from '2026-06-09 20:19:53'::timestamp) - extract(epoch from '2026-06-09 20:19: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'), 46698, 'SRID=4674;POINT (-40.037387 -2.826261)', '2026-06-09 20:19:58', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037385 -2.826179)'), GeomFromEWKT('SRID=4674;POINT (-40.037387 -2.826261)'))) / (select extract(epoch from '2026-06-09 20:19:58'::timestamp) - extract(epoch from '2026-06-09 20:19:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037385 -2.826179)'), GeomFromEWKT('SRID=4674;POINT (-40.037387 -2.826261)'))) / (select extract(epoch from '2026-06-09 20:19:58'::timestamp) - extract(epoch from '2026-06-09 20: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'), 46698, 'SRID=4674;POINT (-40.037389 -2.826279)', '2026-06-09 20:19:59', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037387 -2.826261)'), GeomFromEWKT('SRID=4674;POINT (-40.037389 -2.826279)'))) / (select extract(epoch from '2026-06-09 20:19:59'::timestamp) - extract(epoch from '2026-06-09 20:19:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037387 -2.826261)'), GeomFromEWKT('SRID=4674;POINT (-40.037389 -2.826279)'))) / (select extract(epoch from '2026-06-09 20:19:59'::timestamp) - extract(epoch from '2026-06-09 20:19:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.037427 -2.826379)', '2026-06-09 20:20:05', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037389 -2.826279)'), GeomFromEWKT('SRID=4674;POINT (-40.037427 -2.826379)'))) / (select extract(epoch from '2026-06-09 20:20:05'::timestamp) - extract(epoch from '2026-06-09 20:19:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037389 -2.826279)'), GeomFromEWKT('SRID=4674;POINT (-40.037427 -2.826379)'))) / (select extract(epoch from '2026-06-09 20:20:05'::timestamp) - extract(epoch from '2026-06-09 20:19: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'), 46698, 'SRID=4674;POINT (-40.037514 -2.826487)', '2026-06-09 20:20:12', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037427 -2.826379)'), GeomFromEWKT('SRID=4674;POINT (-40.037514 -2.826487)'))) / (select extract(epoch from '2026-06-09 20:20:12'::timestamp) - extract(epoch from '2026-06-09 20:20:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037427 -2.826379)'), GeomFromEWKT('SRID=4674;POINT (-40.037514 -2.826487)'))) / (select extract(epoch from '2026-06-09 20:20:12'::timestamp) - extract(epoch from '2026-06-09 20:20:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.037612 -2.826592)', '2026-06-09 20:20:19', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037514 -2.826487)'), GeomFromEWKT('SRID=4674;POINT (-40.037612 -2.826592)'))) / (select extract(epoch from '2026-06-09 20:20:19'::timestamp) - extract(epoch from '2026-06-09 20:20:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037514 -2.826487)'), GeomFromEWKT('SRID=4674;POINT (-40.037612 -2.826592)'))) / (select extract(epoch from '2026-06-09 20:20:19'::timestamp) - extract(epoch from '2026-06-09 20:20:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.037724 -2.826689)', '2026-06-09 20:20:26', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037612 -2.826592)'), GeomFromEWKT('SRID=4674;POINT (-40.037724 -2.826689)'))) / (select extract(epoch from '2026-06-09 20:20:26'::timestamp) - extract(epoch from '2026-06-09 20:20:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037612 -2.826592)'), GeomFromEWKT('SRID=4674;POINT (-40.037724 -2.826689)'))) / (select extract(epoch from '2026-06-09 20:20:26'::timestamp) - extract(epoch from '2026-06-09 20:20: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'), 46698, 'SRID=4674;POINT (-40.03782 -2.82677)', '2026-06-09 20:20:32', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037724 -2.826689)'), GeomFromEWKT('SRID=4674;POINT (-40.03782 -2.82677)'))) / (select extract(epoch from '2026-06-09 20:20:32'::timestamp) - extract(epoch from '2026-06-09 20:20:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037724 -2.826689)'), GeomFromEWKT('SRID=4674;POINT (-40.03782 -2.82677)'))) / (select extract(epoch from '2026-06-09 20:20:32'::timestamp) - extract(epoch from '2026-06-09 20:20: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'), 46698, 'SRID=4674;POINT (-40.037946 -2.826876)', '2026-06-09 20:20:40', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03782 -2.82677)'), GeomFromEWKT('SRID=4674;POINT (-40.037946 -2.826876)'))) / (select extract(epoch from '2026-06-09 20:20:40'::timestamp) - extract(epoch from '2026-06-09 20:20:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03782 -2.82677)'), GeomFromEWKT('SRID=4674;POINT (-40.037946 -2.826876)'))) / (select extract(epoch from '2026-06-09 20:20:40'::timestamp) - extract(epoch from '2026-06-09 20:20: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'), 46698, 'SRID=4674;POINT (-40.038059 -2.826985)', '2026-06-09 20:20:48', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037946 -2.826876)'), GeomFromEWKT('SRID=4674;POINT (-40.038059 -2.826985)'))) / (select extract(epoch from '2026-06-09 20:20:48'::timestamp) - extract(epoch from '2026-06-09 20:20:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037946 -2.826876)'), GeomFromEWKT('SRID=4674;POINT (-40.038059 -2.826985)'))) / (select extract(epoch from '2026-06-09 20:20:48'::timestamp) - extract(epoch from '2026-06-09 20:20: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'), 46698, 'SRID=4674;POINT (-40.038166 -2.827092)', '2026-06-09 20:20:56', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038059 -2.826985)'), GeomFromEWKT('SRID=4674;POINT (-40.038166 -2.827092)'))) / (select extract(epoch from '2026-06-09 20:20:56'::timestamp) - extract(epoch from '2026-06-09 20:20:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038059 -2.826985)'), GeomFromEWKT('SRID=4674;POINT (-40.038166 -2.827092)'))) / (select extract(epoch from '2026-06-09 20:20:56'::timestamp) - extract(epoch from '2026-06-09 20: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'), 46698, 'SRID=4674;POINT (-40.038283 -2.827204)', '2026-06-09 20:21:04', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038166 -2.827092)'), GeomFromEWKT('SRID=4674;POINT (-40.038283 -2.827204)'))) / (select extract(epoch from '2026-06-09 20:21:04'::timestamp) - extract(epoch from '2026-06-09 20:20:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038166 -2.827092)'), GeomFromEWKT('SRID=4674;POINT (-40.038283 -2.827204)'))) / (select extract(epoch from '2026-06-09 20:21:04'::timestamp) - extract(epoch from '2026-06-09 20:20: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'), 46698, 'SRID=4674;POINT (-40.038445 -2.827346)', '2026-06-09 20:21:14', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038283 -2.827204)'), GeomFromEWKT('SRID=4674;POINT (-40.038445 -2.827346)'))) / (select extract(epoch from '2026-06-09 20:21:14'::timestamp) - extract(epoch from '2026-06-09 20:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038283 -2.827204)'), GeomFromEWKT('SRID=4674;POINT (-40.038445 -2.827346)'))) / (select extract(epoch from '2026-06-09 20:21:14'::timestamp) - extract(epoch from '2026-06-09 20:21:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.038581 -2.827479)', '2026-06-09 20:21:23', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038445 -2.827346)'), GeomFromEWKT('SRID=4674;POINT (-40.038581 -2.827479)'))) / (select extract(epoch from '2026-06-09 20:21:23'::timestamp) - extract(epoch from '2026-06-09 20:21:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038445 -2.827346)'), GeomFromEWKT('SRID=4674;POINT (-40.038581 -2.827479)'))) / (select extract(epoch from '2026-06-09 20:21:23'::timestamp) - extract(epoch from '2026-06-09 20:21:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.038678 -2.82758)', '2026-06-09 20:21:30', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038581 -2.827479)'), GeomFromEWKT('SRID=4674;POINT (-40.038678 -2.82758)'))) / (select extract(epoch from '2026-06-09 20:21:30'::timestamp) - extract(epoch from '2026-06-09 20:21:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038581 -2.827479)'), GeomFromEWKT('SRID=4674;POINT (-40.038678 -2.82758)'))) / (select extract(epoch from '2026-06-09 20:21:30'::timestamp) - extract(epoch from '2026-06-09 20:21: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'), 46698, 'SRID=4674;POINT (-40.038824 -2.827738)', '2026-06-09 20:21:40', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038678 -2.82758)'), GeomFromEWKT('SRID=4674;POINT (-40.038824 -2.827738)'))) / (select extract(epoch from '2026-06-09 20:21:40'::timestamp) - extract(epoch from '2026-06-09 20:21:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038678 -2.82758)'), GeomFromEWKT('SRID=4674;POINT (-40.038824 -2.827738)'))) / (select extract(epoch from '2026-06-09 20:21:40'::timestamp) - extract(epoch from '2026-06-09 20:21: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'), 46698, 'SRID=4674;POINT (-40.038985 -2.827897)', '2026-06-09 20:21:51', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038824 -2.827738)'), GeomFromEWKT('SRID=4674;POINT (-40.038985 -2.827897)'))) / (select extract(epoch from '2026-06-09 20:21:51'::timestamp) - extract(epoch from '2026-06-09 20:21:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038824 -2.827738)'), GeomFromEWKT('SRID=4674;POINT (-40.038985 -2.827897)'))) / (select extract(epoch from '2026-06-09 20:21:51'::timestamp) - extract(epoch from '2026-06-09 20:21: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'), 46698, 'SRID=4674;POINT (-40.03911 -2.828029)', '2026-06-09 20:22:00', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038985 -2.827897)'), GeomFromEWKT('SRID=4674;POINT (-40.03911 -2.828029)'))) / (select extract(epoch from '2026-06-09 20:22:00'::timestamp) - extract(epoch from '2026-06-09 20:21:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038985 -2.827897)'), GeomFromEWKT('SRID=4674;POINT (-40.03911 -2.828029)'))) / (select extract(epoch from '2026-06-09 20:22:00'::timestamp) - extract(epoch from '2026-06-09 20:21:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.039187 -2.828118)', '2026-06-09 20:22:06', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03911 -2.828029)'), GeomFromEWKT('SRID=4674;POINT (-40.039187 -2.828118)'))) / (select extract(epoch from '2026-06-09 20:22:06'::timestamp) - extract(epoch from '2026-06-09 20:22:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03911 -2.828029)'), GeomFromEWKT('SRID=4674;POINT (-40.039187 -2.828118)'))) / (select extract(epoch from '2026-06-09 20:22:06'::timestamp) - extract(epoch from '2026-06-09 20:22: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'), 46698, 'SRID=4674;POINT (-40.039251 -2.828216)', '2026-06-09 20:22:13', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039187 -2.828118)'), GeomFromEWKT('SRID=4674;POINT (-40.039251 -2.828216)'))) / (select extract(epoch from '2026-06-09 20:22:13'::timestamp) - extract(epoch from '2026-06-09 20:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039187 -2.828118)'), GeomFromEWKT('SRID=4674;POINT (-40.039251 -2.828216)'))) / (select extract(epoch from '2026-06-09 20:22:13'::timestamp) - extract(epoch from '2026-06-09 20:22: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'), 46698, 'SRID=4674;POINT (-40.039283 -2.828333)', '2026-06-09 20:22:21', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039251 -2.828216)'), GeomFromEWKT('SRID=4674;POINT (-40.039283 -2.828333)'))) / (select extract(epoch from '2026-06-09 20:22:21'::timestamp) - extract(epoch from '2026-06-09 20:22:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039251 -2.828216)'), GeomFromEWKT('SRID=4674;POINT (-40.039283 -2.828333)'))) / (select extract(epoch from '2026-06-09 20:22:21'::timestamp) - extract(epoch from '2026-06-09 20:22: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'), 46698, 'SRID=4674;POINT (-40.039244 -2.82847)', '2026-06-09 20:22:30', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039283 -2.828333)'), GeomFromEWKT('SRID=4674;POINT (-40.039244 -2.82847)'))) / (select extract(epoch from '2026-06-09 20:22:30'::timestamp) - extract(epoch from '2026-06-09 20:22:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039283 -2.828333)'), GeomFromEWKT('SRID=4674;POINT (-40.039244 -2.82847)'))) / (select extract(epoch from '2026-06-09 20:22:30'::timestamp) - extract(epoch from '2026-06-09 20:22: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'), 46698, 'SRID=4674;POINT (-40.039221 -2.828611)', '2026-06-09 20:22:39', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039244 -2.82847)'), GeomFromEWKT('SRID=4674;POINT (-40.039221 -2.828611)'))) / (select extract(epoch from '2026-06-09 20:22:39'::timestamp) - extract(epoch from '2026-06-09 20:22:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039244 -2.82847)'), GeomFromEWKT('SRID=4674;POINT (-40.039221 -2.828611)'))) / (select extract(epoch from '2026-06-09 20:22:39'::timestamp) - extract(epoch from '2026-06-09 20:22: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'), 46698, 'SRID=4674;POINT (-40.03921 -2.828684)', '2026-06-09 20:22:43', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039221 -2.828611)'), GeomFromEWKT('SRID=4674;POINT (-40.03921 -2.828684)'))) / (select extract(epoch from '2026-06-09 20:22:43'::timestamp) - extract(epoch from '2026-06-09 20:22:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039221 -2.828611)'), GeomFromEWKT('SRID=4674;POINT (-40.03921 -2.828684)'))) / (select extract(epoch from '2026-06-09 20:22:43'::timestamp) - extract(epoch from '2026-06-09 20:22:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.039177 -2.828819)', '2026-06-09 20:22:53', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03921 -2.828684)'), GeomFromEWKT('SRID=4674;POINT (-40.039177 -2.828819)'))) / (select extract(epoch from '2026-06-09 20:22:53'::timestamp) - extract(epoch from '2026-06-09 20:22:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03921 -2.828684)'), GeomFromEWKT('SRID=4674;POINT (-40.039177 -2.828819)'))) / (select extract(epoch from '2026-06-09 20:22:53'::timestamp) - extract(epoch from '2026-06-09 20:22:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.039156 -2.828874)', '2026-06-09 20:22:59', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039177 -2.828819)'), GeomFromEWKT('SRID=4674;POINT (-40.039156 -2.828874)'))) / (select extract(epoch from '2026-06-09 20:22:59'::timestamp) - extract(epoch from '2026-06-09 20:22:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039177 -2.828819)'), GeomFromEWKT('SRID=4674;POINT (-40.039156 -2.828874)'))) / (select extract(epoch from '2026-06-09 20:22:59'::timestamp) - extract(epoch from '2026-06-09 20:22:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.039106 -2.828916)', '2026-06-09 20:23:06', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039156 -2.828874)'), GeomFromEWKT('SRID=4674;POINT (-40.039106 -2.828916)'))) / (select extract(epoch from '2026-06-09 20:23:06'::timestamp) - extract(epoch from '2026-06-09 20:22:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039156 -2.828874)'), GeomFromEWKT('SRID=4674;POINT (-40.039106 -2.828916)'))) / (select extract(epoch from '2026-06-09 20:23:06'::timestamp) - extract(epoch from '2026-06-09 20:22: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'), 46698, 'SRID=4674;POINT (-40.039041 -2.828908)', '2026-06-09 20:23:13', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039106 -2.828916)'), GeomFromEWKT('SRID=4674;POINT (-40.039041 -2.828908)'))) / (select extract(epoch from '2026-06-09 20:23:13'::timestamp) - extract(epoch from '2026-06-09 20:23:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039106 -2.828916)'), GeomFromEWKT('SRID=4674;POINT (-40.039041 -2.828908)'))) / (select extract(epoch from '2026-06-09 20:23:13'::timestamp) - extract(epoch from '2026-06-09 20: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'), 46698, 'SRID=4674;POINT (-40.038968 -2.828876)', '2026-06-09 20:23:21', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039041 -2.828908)'), GeomFromEWKT('SRID=4674;POINT (-40.038968 -2.828876)'))) / (select extract(epoch from '2026-06-09 20:23:21'::timestamp) - extract(epoch from '2026-06-09 20:23:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039041 -2.828908)'), GeomFromEWKT('SRID=4674;POINT (-40.038968 -2.828876)'))) / (select extract(epoch from '2026-06-09 20:23:21'::timestamp) - extract(epoch from '2026-06-09 20:23:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.038864 -2.828838)', '2026-06-09 20:23:32', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038968 -2.828876)'), GeomFromEWKT('SRID=4674;POINT (-40.038864 -2.828838)'))) / (select extract(epoch from '2026-06-09 20:23:32'::timestamp) - extract(epoch from '2026-06-09 20:23:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038968 -2.828876)'), GeomFromEWKT('SRID=4674;POINT (-40.038864 -2.828838)'))) / (select extract(epoch from '2026-06-09 20:23:32'::timestamp) - extract(epoch from '2026-06-09 20:23: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'), 46698, 'SRID=4674;POINT (-40.038794 -2.828809)', '2026-06-09 20:23:43', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038864 -2.828838)'), GeomFromEWKT('SRID=4674;POINT (-40.038794 -2.828809)'))) / (select extract(epoch from '2026-06-09 20:23:43'::timestamp) - extract(epoch from '2026-06-09 20:23:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038864 -2.828838)'), GeomFromEWKT('SRID=4674;POINT (-40.038794 -2.828809)'))) / (select extract(epoch from '2026-06-09 20:23:43'::timestamp) - extract(epoch from '2026-06-09 20:23: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'), 46698, 'SRID=4674;POINT (-40.038759 -2.828787)', '2026-06-09 20:23:53', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038794 -2.828809)'), GeomFromEWKT('SRID=4674;POINT (-40.038759 -2.828787)'))) / (select extract(epoch from '2026-06-09 20:23:53'::timestamp) - extract(epoch from '2026-06-09 20:23:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038794 -2.828809)'), GeomFromEWKT('SRID=4674;POINT (-40.038759 -2.828787)'))) / (select extract(epoch from '2026-06-09 20:23:53'::timestamp) - extract(epoch from '2026-06-09 20:23: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'), 46698, 'SRID=4674;POINT (-40.038737 -2.828774)', '2026-06-09 20:24:15', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038759 -2.828787)'), GeomFromEWKT('SRID=4674;POINT (-40.038737 -2.828774)'))) / (select extract(epoch from '2026-06-09 20:24:15'::timestamp) - extract(epoch from '2026-06-09 20:23:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038759 -2.828787)'), GeomFromEWKT('SRID=4674;POINT (-40.038737 -2.828774)'))) / (select extract(epoch from '2026-06-09 20:24:15'::timestamp) - extract(epoch from '2026-06-09 20:23: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'), 46698, 'SRID=4674;POINT (-40.038743 -2.828818)', '2026-06-09 20:24:33', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038737 -2.828774)'), GeomFromEWKT('SRID=4674;POINT (-40.038743 -2.828818)'))) / (select extract(epoch from '2026-06-09 20:24:33'::timestamp) - extract(epoch from '2026-06-09 20:24:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038737 -2.828774)'), GeomFromEWKT('SRID=4674;POINT (-40.038743 -2.828818)'))) / (select extract(epoch from '2026-06-09 20:24:33'::timestamp) - extract(epoch from '2026-06-09 20: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'), 46698, 'SRID=4674;POINT (-40.038758 -2.828903)', '2026-06-09 20:24:43', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038743 -2.828818)'), GeomFromEWKT('SRID=4674;POINT (-40.038758 -2.828903)'))) / (select extract(epoch from '2026-06-09 20:24:43'::timestamp) - extract(epoch from '2026-06-09 20:24:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038743 -2.828818)'), GeomFromEWKT('SRID=4674;POINT (-40.038758 -2.828903)'))) / (select extract(epoch from '2026-06-09 20:24:43'::timestamp) - extract(epoch from '2026-06-09 20:24: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'), 46698, 'SRID=4674;POINT (-40.038817 -2.829018)', '2026-06-09 20:24:51', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038758 -2.828903)'), GeomFromEWKT('SRID=4674;POINT (-40.038817 -2.829018)'))) / (select extract(epoch from '2026-06-09 20:24:51'::timestamp) - extract(epoch from '2026-06-09 20:24:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038758 -2.828903)'), GeomFromEWKT('SRID=4674;POINT (-40.038817 -2.829018)'))) / (select extract(epoch from '2026-06-09 20:24:51'::timestamp) - extract(epoch from '2026-06-09 20:24: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'), 46698, 'SRID=4674;POINT (-40.038891 -2.829104)', '2026-06-09 20:24:57', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038817 -2.829018)'), GeomFromEWKT('SRID=4674;POINT (-40.038891 -2.829104)'))) / (select extract(epoch from '2026-06-09 20:24:57'::timestamp) - extract(epoch from '2026-06-09 20:24:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038817 -2.829018)'), GeomFromEWKT('SRID=4674;POINT (-40.038891 -2.829104)'))) / (select extract(epoch from '2026-06-09 20:24:57'::timestamp) - extract(epoch from '2026-06-09 20:24:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.039006 -2.829243)', '2026-06-09 20:25:06', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038891 -2.829104)'), GeomFromEWKT('SRID=4674;POINT (-40.039006 -2.829243)'))) / (select extract(epoch from '2026-06-09 20:25:06'::timestamp) - extract(epoch from '2026-06-09 20:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038891 -2.829104)'), GeomFromEWKT('SRID=4674;POINT (-40.039006 -2.829243)'))) / (select extract(epoch from '2026-06-09 20:25:06'::timestamp) - extract(epoch from '2026-06-09 20:24: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'), 46698, 'SRID=4674;POINT (-40.039088 -2.829355)', '2026-06-09 20:25:13', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039006 -2.829243)'), GeomFromEWKT('SRID=4674;POINT (-40.039088 -2.829355)'))) / (select extract(epoch from '2026-06-09 20:25:13'::timestamp) - extract(epoch from '2026-06-09 20:25:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039006 -2.829243)'), GeomFromEWKT('SRID=4674;POINT (-40.039088 -2.829355)'))) / (select extract(epoch from '2026-06-09 20:25:13'::timestamp) - extract(epoch from '2026-06-09 20:25:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.039166 -2.829462)', '2026-06-09 20:25:20', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039088 -2.829355)'), GeomFromEWKT('SRID=4674;POINT (-40.039166 -2.829462)'))) / (select extract(epoch from '2026-06-09 20:25:20'::timestamp) - extract(epoch from '2026-06-09 20:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039088 -2.829355)'), GeomFromEWKT('SRID=4674;POINT (-40.039166 -2.829462)'))) / (select extract(epoch from '2026-06-09 20:25:20'::timestamp) - extract(epoch from '2026-06-09 20:25: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'), 46698, 'SRID=4674;POINT (-40.039256 -2.829573)', '2026-06-09 20:25:27', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039166 -2.829462)'), GeomFromEWKT('SRID=4674;POINT (-40.039256 -2.829573)'))) / (select extract(epoch from '2026-06-09 20:25:27'::timestamp) - extract(epoch from '2026-06-09 20:25:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039166 -2.829462)'), GeomFromEWKT('SRID=4674;POINT (-40.039256 -2.829573)'))) / (select extract(epoch from '2026-06-09 20:25:27'::timestamp) - extract(epoch from '2026-06-09 20:25: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'), 46698, 'SRID=4674;POINT (-40.039355 -2.829735)', '2026-06-09 20:25:37', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039256 -2.829573)'), GeomFromEWKT('SRID=4674;POINT (-40.039355 -2.829735)'))) / (select extract(epoch from '2026-06-09 20:25:37'::timestamp) - extract(epoch from '2026-06-09 20:25:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039256 -2.829573)'), GeomFromEWKT('SRID=4674;POINT (-40.039355 -2.829735)'))) / (select extract(epoch from '2026-06-09 20:25:37'::timestamp) - extract(epoch from '2026-06-09 20:25: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'), 46698, 'SRID=4674;POINT (-40.039464 -2.82987)', '2026-06-09 20:25:46', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039355 -2.829735)'), GeomFromEWKT('SRID=4674;POINT (-40.039464 -2.82987)'))) / (select extract(epoch from '2026-06-09 20:25:46'::timestamp) - extract(epoch from '2026-06-09 20:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039355 -2.829735)'), GeomFromEWKT('SRID=4674;POINT (-40.039464 -2.82987)'))) / (select extract(epoch from '2026-06-09 20:25:46'::timestamp) - extract(epoch from '2026-06-09 20:25:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.039648 -2.830045)', '2026-06-09 20:25:59', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039464 -2.82987)'), GeomFromEWKT('SRID=4674;POINT (-40.039648 -2.830045)'))) / (select extract(epoch from '2026-06-09 20:25:59'::timestamp) - extract(epoch from '2026-06-09 20:25:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039464 -2.82987)'), GeomFromEWKT('SRID=4674;POINT (-40.039648 -2.830045)'))) / (select extract(epoch from '2026-06-09 20:25:59'::timestamp) - extract(epoch from '2026-06-09 20:25: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'), 46698, 'SRID=4674;POINT (-40.039767 -2.830135)', '2026-06-09 20:26:07', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039648 -2.830045)'), GeomFromEWKT('SRID=4674;POINT (-40.039767 -2.830135)'))) / (select extract(epoch from '2026-06-09 20:26:07'::timestamp) - extract(epoch from '2026-06-09 20:25:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039648 -2.830045)'), GeomFromEWKT('SRID=4674;POINT (-40.039767 -2.830135)'))) / (select extract(epoch from '2026-06-09 20:26:07'::timestamp) - extract(epoch from '2026-06-09 20: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'), 46698, 'SRID=4674;POINT (-40.03993 -2.830231)', '2026-06-09 20:26:17', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039767 -2.830135)'), GeomFromEWKT('SRID=4674;POINT (-40.03993 -2.830231)'))) / (select extract(epoch from '2026-06-09 20:26:17'::timestamp) - extract(epoch from '2026-06-09 20:26:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039767 -2.830135)'), GeomFromEWKT('SRID=4674;POINT (-40.03993 -2.830231)'))) / (select extract(epoch from '2026-06-09 20:26:17'::timestamp) - extract(epoch from '2026-06-09 20:26: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'), 46698, 'SRID=4674;POINT (-40.04005 -2.830292)', '2026-06-09 20:26:24', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03993 -2.830231)'), GeomFromEWKT('SRID=4674;POINT (-40.04005 -2.830292)'))) / (select extract(epoch from '2026-06-09 20:26:24'::timestamp) - extract(epoch from '2026-06-09 20:26:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03993 -2.830231)'), GeomFromEWKT('SRID=4674;POINT (-40.04005 -2.830292)'))) / (select extract(epoch from '2026-06-09 20:26:24'::timestamp) - extract(epoch from '2026-06-09 20:26:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.040189 -2.830391)', '2026-06-09 20:26:33', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04005 -2.830292)'), GeomFromEWKT('SRID=4674;POINT (-40.040189 -2.830391)'))) / (select extract(epoch from '2026-06-09 20:26:33'::timestamp) - extract(epoch from '2026-06-09 20:26:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04005 -2.830292)'), GeomFromEWKT('SRID=4674;POINT (-40.040189 -2.830391)'))) / (select extract(epoch from '2026-06-09 20:26:33'::timestamp) - extract(epoch from '2026-06-09 20:26:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.040317 -2.830468)', '2026-06-09 20:26:41', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040189 -2.830391)'), GeomFromEWKT('SRID=4674;POINT (-40.040317 -2.830468)'))) / (select extract(epoch from '2026-06-09 20:26:41'::timestamp) - extract(epoch from '2026-06-09 20:26:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040189 -2.830391)'), GeomFromEWKT('SRID=4674;POINT (-40.040317 -2.830468)'))) / (select extract(epoch from '2026-06-09 20:26:41'::timestamp) - extract(epoch from '2026-06-09 20:26: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'), 46698, 'SRID=4674;POINT (-40.040442 -2.830545)', '2026-06-09 20:26:49', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040317 -2.830468)'), GeomFromEWKT('SRID=4674;POINT (-40.040442 -2.830545)'))) / (select extract(epoch from '2026-06-09 20:26:49'::timestamp) - extract(epoch from '2026-06-09 20:26:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040317 -2.830468)'), GeomFromEWKT('SRID=4674;POINT (-40.040442 -2.830545)'))) / (select extract(epoch from '2026-06-09 20:26:49'::timestamp) - extract(epoch from '2026-06-09 20:26:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.040605 -2.830692)', '2026-06-09 20:27:01', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040442 -2.830545)'), GeomFromEWKT('SRID=4674;POINT (-40.040605 -2.830692)'))) / (select extract(epoch from '2026-06-09 20:27:01'::timestamp) - extract(epoch from '2026-06-09 20:26:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040442 -2.830545)'), GeomFromEWKT('SRID=4674;POINT (-40.040605 -2.830692)'))) / (select extract(epoch from '2026-06-09 20:27:01'::timestamp) - extract(epoch from '2026-06-09 20:26:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.040763 -2.83085)', '2026-06-09 20:27:13', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040605 -2.830692)'), GeomFromEWKT('SRID=4674;POINT (-40.040763 -2.83085)'))) / (select extract(epoch from '2026-06-09 20:27:13'::timestamp) - extract(epoch from '2026-06-09 20:27:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040605 -2.830692)'), GeomFromEWKT('SRID=4674;POINT (-40.040763 -2.83085)'))) / (select extract(epoch from '2026-06-09 20:27:13'::timestamp) - extract(epoch from '2026-06-09 20:27: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'), 46698, 'SRID=4674;POINT (-40.040915 -2.831009)', '2026-06-09 20:27:25', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040763 -2.83085)'), GeomFromEWKT('SRID=4674;POINT (-40.040915 -2.831009)'))) / (select extract(epoch from '2026-06-09 20:27:25'::timestamp) - extract(epoch from '2026-06-09 20:27:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040763 -2.83085)'), GeomFromEWKT('SRID=4674;POINT (-40.040915 -2.831009)'))) / (select extract(epoch from '2026-06-09 20:27:25'::timestamp) - extract(epoch from '2026-06-09 20:27: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'), 46698, 'SRID=4674;POINT (-40.041054 -2.83116)', '2026-06-09 20:27:36', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040915 -2.831009)'), GeomFromEWKT('SRID=4674;POINT (-40.041054 -2.83116)'))) / (select extract(epoch from '2026-06-09 20:27:36'::timestamp) - extract(epoch from '2026-06-09 20:27:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040915 -2.831009)'), GeomFromEWKT('SRID=4674;POINT (-40.041054 -2.83116)'))) / (select extract(epoch from '2026-06-09 20:27:36'::timestamp) - extract(epoch from '2026-06-09 20:27: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'), 46698, 'SRID=4674;POINT (-40.041114 -2.831258)', '2026-06-09 20:27:42', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041054 -2.83116)'), GeomFromEWKT('SRID=4674;POINT (-40.041114 -2.831258)'))) / (select extract(epoch from '2026-06-09 20:27:42'::timestamp) - extract(epoch from '2026-06-09 20:27:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041054 -2.83116)'), GeomFromEWKT('SRID=4674;POINT (-40.041114 -2.831258)'))) / (select extract(epoch from '2026-06-09 20:27:42'::timestamp) - extract(epoch from '2026-06-09 20:27:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.041109 -2.831416)', '2026-06-09 20:27:50', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041114 -2.831258)'), GeomFromEWKT('SRID=4674;POINT (-40.041109 -2.831416)'))) / (select extract(epoch from '2026-06-09 20:27:50'::timestamp) - extract(epoch from '2026-06-09 20:27:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041114 -2.831258)'), GeomFromEWKT('SRID=4674;POINT (-40.041109 -2.831416)'))) / (select extract(epoch from '2026-06-09 20:27:50'::timestamp) - extract(epoch from '2026-06-09 20:27: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'), 46698, 'SRID=4674;POINT (-40.041048 -2.831529)', '2026-06-09 20:27:56', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041109 -2.831416)'), GeomFromEWKT('SRID=4674;POINT (-40.041048 -2.831529)'))) / (select extract(epoch from '2026-06-09 20:27:56'::timestamp) - extract(epoch from '2026-06-09 20:27:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041109 -2.831416)'), GeomFromEWKT('SRID=4674;POINT (-40.041048 -2.831529)'))) / (select extract(epoch from '2026-06-09 20:27:56'::timestamp) - extract(epoch from '2026-06-09 20:27: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'), 46698, 'SRID=4674;POINT (-40.0409 -2.831762)', '2026-06-09 20:28:08', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041048 -2.831529)'), GeomFromEWKT('SRID=4674;POINT (-40.0409 -2.831762)'))) / (select extract(epoch from '2026-06-09 20:28:08'::timestamp) - extract(epoch from '2026-06-09 20:27:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041048 -2.831529)'), GeomFromEWKT('SRID=4674;POINT (-40.0409 -2.831762)'))) / (select extract(epoch from '2026-06-09 20:28:08'::timestamp) - extract(epoch from '2026-06-09 20: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'), 46698, 'SRID=4674;POINT (-40.040807 -2.831893)', '2026-06-09 20:28:15', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0409 -2.831762)'), GeomFromEWKT('SRID=4674;POINT (-40.040807 -2.831893)'))) / (select extract(epoch from '2026-06-09 20:28:15'::timestamp) - extract(epoch from '2026-06-09 20:28:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0409 -2.831762)'), GeomFromEWKT('SRID=4674;POINT (-40.040807 -2.831893)'))) / (select extract(epoch from '2026-06-09 20:28:15'::timestamp) - extract(epoch from '2026-06-09 20:28: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'), 46698, 'SRID=4674;POINT (-40.040708 -2.832024)', '2026-06-09 20:28:22', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040807 -2.831893)'), GeomFromEWKT('SRID=4674;POINT (-40.040708 -2.832024)'))) / (select extract(epoch from '2026-06-09 20:28:22'::timestamp) - extract(epoch from '2026-06-09 20:28:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040807 -2.831893)'), GeomFromEWKT('SRID=4674;POINT (-40.040708 -2.832024)'))) / (select extract(epoch from '2026-06-09 20:28:22'::timestamp) - extract(epoch from '2026-06-09 20:28: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'), 46698, 'SRID=4674;POINT (-40.040573 -2.832202)', '2026-06-09 20:28:32', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040708 -2.832024)'), GeomFromEWKT('SRID=4674;POINT (-40.040573 -2.832202)'))) / (select extract(epoch from '2026-06-09 20:28:32'::timestamp) - extract(epoch from '2026-06-09 20:28:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040708 -2.832024)'), GeomFromEWKT('SRID=4674;POINT (-40.040573 -2.832202)'))) / (select extract(epoch from '2026-06-09 20:28:32'::timestamp) - extract(epoch from '2026-06-09 20:28: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'), 46698, 'SRID=4674;POINT (-40.040407 -2.832417)', '2026-06-09 20:28:44', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040573 -2.832202)'), GeomFromEWKT('SRID=4674;POINT (-40.040407 -2.832417)'))) / (select extract(epoch from '2026-06-09 20:28:44'::timestamp) - extract(epoch from '2026-06-09 20:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040573 -2.832202)'), GeomFromEWKT('SRID=4674;POINT (-40.040407 -2.832417)'))) / (select extract(epoch from '2026-06-09 20:28:44'::timestamp) - extract(epoch from '2026-06-09 20:28:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.040285 -2.832567)', '2026-06-09 20:28:52', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040407 -2.832417)'), GeomFromEWKT('SRID=4674;POINT (-40.040285 -2.832567)'))) / (select extract(epoch from '2026-06-09 20:28:52'::timestamp) - extract(epoch from '2026-06-09 20:28:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040407 -2.832417)'), GeomFromEWKT('SRID=4674;POINT (-40.040285 -2.832567)'))) / (select extract(epoch from '2026-06-09 20:28:52'::timestamp) - extract(epoch from '2026-06-09 20:28: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'), 46698, 'SRID=4674;POINT (-40.040151 -2.832734)', '2026-06-09 20:29:00', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040285 -2.832567)'), GeomFromEWKT('SRID=4674;POINT (-40.040151 -2.832734)'))) / (select extract(epoch from '2026-06-09 20:29:00'::timestamp) - extract(epoch from '2026-06-09 20:28:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040285 -2.832567)'), GeomFromEWKT('SRID=4674;POINT (-40.040151 -2.832734)'))) / (select extract(epoch from '2026-06-09 20:29:00'::timestamp) - extract(epoch from '2026-06-09 20:28: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'), 46698, 'SRID=4674;POINT (-40.04008 -2.832933)', '2026-06-09 20:29:08', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040151 -2.832734)'), GeomFromEWKT('SRID=4674;POINT (-40.04008 -2.832933)'))) / (select extract(epoch from '2026-06-09 20:29:08'::timestamp) - extract(epoch from '2026-06-09 20:29:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040151 -2.832734)'), GeomFromEWKT('SRID=4674;POINT (-40.04008 -2.832933)'))) / (select extract(epoch from '2026-06-09 20:29:08'::timestamp) - extract(epoch from '2026-06-09 20:29:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.040015 -2.833136)', '2026-06-09 20:29:16', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04008 -2.832933)'), GeomFromEWKT('SRID=4674;POINT (-40.040015 -2.833136)'))) / (select extract(epoch from '2026-06-09 20:29:16'::timestamp) - extract(epoch from '2026-06-09 20:29:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04008 -2.832933)'), GeomFromEWKT('SRID=4674;POINT (-40.040015 -2.833136)'))) / (select extract(epoch from '2026-06-09 20:29:16'::timestamp) - extract(epoch from '2026-06-09 20:29: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'), 46698, 'SRID=4674;POINT (-40.039946 -2.833392)', '2026-06-09 20:29:26', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040015 -2.833136)'), GeomFromEWKT('SRID=4674;POINT (-40.039946 -2.833392)'))) / (select extract(epoch from '2026-06-09 20:29:26'::timestamp) - extract(epoch from '2026-06-09 20:29:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040015 -2.833136)'), GeomFromEWKT('SRID=4674;POINT (-40.039946 -2.833392)'))) / (select extract(epoch from '2026-06-09 20:29:26'::timestamp) - extract(epoch from '2026-06-09 20: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'), 46698, 'SRID=4674;POINT (-40.039851 -2.833711)', '2026-06-09 20:29:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039946 -2.833392)'), GeomFromEWKT('SRID=4674;POINT (-40.039851 -2.833711)'))) / (select extract(epoch from '2026-06-09 20:29:39'::timestamp) - extract(epoch from '2026-06-09 20:29:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039946 -2.833392)'), GeomFromEWKT('SRID=4674;POINT (-40.039851 -2.833711)'))) / (select extract(epoch from '2026-06-09 20:29:39'::timestamp) - extract(epoch from '2026-06-09 20:29: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'), 46698, 'SRID=4674;POINT (-40.039814 -2.833857)', '2026-06-09 20:29:45', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039851 -2.833711)'), GeomFromEWKT('SRID=4674;POINT (-40.039814 -2.833857)'))) / (select extract(epoch from '2026-06-09 20:29:45'::timestamp) - extract(epoch from '2026-06-09 20:29:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039851 -2.833711)'), GeomFromEWKT('SRID=4674;POINT (-40.039814 -2.833857)'))) / (select extract(epoch from '2026-06-09 20:29:45'::timestamp) - extract(epoch from '2026-06-09 20: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'), 46698, 'SRID=4674;POINT (-40.039755 -2.834093)', '2026-06-09 20:29:55', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039814 -2.833857)'), GeomFromEWKT('SRID=4674;POINT (-40.039755 -2.834093)'))) / (select extract(epoch from '2026-06-09 20:29:55'::timestamp) - extract(epoch from '2026-06-09 20:29:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039814 -2.833857)'), GeomFromEWKT('SRID=4674;POINT (-40.039755 -2.834093)'))) / (select extract(epoch from '2026-06-09 20:29:55'::timestamp) - extract(epoch from '2026-06-09 20:29: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'), 46698, 'SRID=4674;POINT (-40.039693 -2.834299)', '2026-06-09 20:30:04', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039755 -2.834093)'), GeomFromEWKT('SRID=4674;POINT (-40.039693 -2.834299)'))) / (select extract(epoch from '2026-06-09 20:30:04'::timestamp) - extract(epoch from '2026-06-09 20:29:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039755 -2.834093)'), GeomFromEWKT('SRID=4674;POINT (-40.039693 -2.834299)'))) / (select extract(epoch from '2026-06-09 20:30:04'::timestamp) - extract(epoch from '2026-06-09 20:29: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'), 46698, 'SRID=4674;POINT (-40.039681 -2.834487)', '2026-06-09 20:30:12', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039693 -2.834299)'), GeomFromEWKT('SRID=4674;POINT (-40.039681 -2.834487)'))) / (select extract(epoch from '2026-06-09 20:30:12'::timestamp) - extract(epoch from '2026-06-09 20:30:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039693 -2.834299)'), GeomFromEWKT('SRID=4674;POINT (-40.039681 -2.834487)'))) / (select extract(epoch from '2026-06-09 20:30:12'::timestamp) - extract(epoch from '2026-06-09 20:30:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.03969 -2.834685)', '2026-06-09 20:30:21', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039681 -2.834487)'), GeomFromEWKT('SRID=4674;POINT (-40.03969 -2.834685)'))) / (select extract(epoch from '2026-06-09 20:30:21'::timestamp) - extract(epoch from '2026-06-09 20:30:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039681 -2.834487)'), GeomFromEWKT('SRID=4674;POINT (-40.03969 -2.834685)'))) / (select extract(epoch from '2026-06-09 20:30:21'::timestamp) - extract(epoch from '2026-06-09 20:30:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.039685 -2.834887)', '2026-06-09 20:30:31', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03969 -2.834685)'), GeomFromEWKT('SRID=4674;POINT (-40.039685 -2.834887)'))) / (select extract(epoch from '2026-06-09 20:30:31'::timestamp) - extract(epoch from '2026-06-09 20:30:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03969 -2.834685)'), GeomFromEWKT('SRID=4674;POINT (-40.039685 -2.834887)'))) / (select extract(epoch from '2026-06-09 20:30:31'::timestamp) - extract(epoch from '2026-06-09 20:30: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'), 46698, 'SRID=4674;POINT (-40.039649 -2.835112)', '2026-06-09 20:30:43', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039685 -2.834887)'), GeomFromEWKT('SRID=4674;POINT (-40.039649 -2.835112)'))) / (select extract(epoch from '2026-06-09 20:30:43'::timestamp) - extract(epoch from '2026-06-09 20:30:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039685 -2.834887)'), GeomFromEWKT('SRID=4674;POINT (-40.039649 -2.835112)'))) / (select extract(epoch from '2026-06-09 20:30:43'::timestamp) - extract(epoch from '2026-06-09 20:30: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'), 46698, 'SRID=4674;POINT (-40.039626 -2.835231)', '2026-06-09 20:30:52', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039649 -2.835112)'), GeomFromEWKT('SRID=4674;POINT (-40.039626 -2.835231)'))) / (select extract(epoch from '2026-06-09 20:30:52'::timestamp) - extract(epoch from '2026-06-09 20:30:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039649 -2.835112)'), GeomFromEWKT('SRID=4674;POINT (-40.039626 -2.835231)'))) / (select extract(epoch from '2026-06-09 20:30:52'::timestamp) - extract(epoch from '2026-06-09 20:30: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'), 46698, 'SRID=4674;POINT (-40.039622 -2.835241)', '2026-06-09 20:30:53', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039626 -2.835231)'), GeomFromEWKT('SRID=4674;POINT (-40.039622 -2.835241)'))) / (select extract(epoch from '2026-06-09 20:30:53'::timestamp) - extract(epoch from '2026-06-09 20:30:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039626 -2.835231)'), GeomFromEWKT('SRID=4674;POINT (-40.039622 -2.835241)'))) / (select extract(epoch from '2026-06-09 20:30:53'::timestamp) - extract(epoch from '2026-06-09 20:30: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'), 46698, 'SRID=4674;POINT (-40.03961 -2.835285)', '2026-06-09 20:30:57', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039622 -2.835241)'), GeomFromEWKT('SRID=4674;POINT (-40.03961 -2.835285)'))) / (select extract(epoch from '2026-06-09 20:30:57'::timestamp) - extract(epoch from '2026-06-09 20:30:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039622 -2.835241)'), GeomFromEWKT('SRID=4674;POINT (-40.03961 -2.835285)'))) / (select extract(epoch from '2026-06-09 20:30:57'::timestamp) - extract(epoch from '2026-06-09 20:30: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'), 46698, 'SRID=4674;POINT (-40.039599 -2.83533)', '2026-06-09 20:31:05', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03961 -2.835285)'), GeomFromEWKT('SRID=4674;POINT (-40.039599 -2.83533)'))) / (select extract(epoch from '2026-06-09 20:31:05'::timestamp) - extract(epoch from '2026-06-09 20:30:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03961 -2.835285)'), GeomFromEWKT('SRID=4674;POINT (-40.039599 -2.83533)'))) / (select extract(epoch from '2026-06-09 20:31:05'::timestamp) - extract(epoch from '2026-06-09 20:30:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.039596 -2.835326)', '2026-06-09 20:31:20', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039599 -2.83533)'), GeomFromEWKT('SRID=4674;POINT (-40.039596 -2.835326)'))) / (select extract(epoch from '2026-06-09 20:31:20'::timestamp) - extract(epoch from '2026-06-09 20:31:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039599 -2.83533)'), GeomFromEWKT('SRID=4674;POINT (-40.039596 -2.835326)'))) / (select extract(epoch from '2026-06-09 20:31:20'::timestamp) - extract(epoch from '2026-06-09 20:31:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.039599 -2.835344)', '2026-06-09 20:31:41', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039596 -2.835326)'), GeomFromEWKT('SRID=4674;POINT (-40.039599 -2.835344)'))) / (select extract(epoch from '2026-06-09 20:31:41'::timestamp) - extract(epoch from '2026-06-09 20:31:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039596 -2.835326)'), GeomFromEWKT('SRID=4674;POINT (-40.039599 -2.835344)'))) / (select extract(epoch from '2026-06-09 20:31:41'::timestamp) - extract(epoch from '2026-06-09 20:31:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.039641 -2.835402)', '2026-06-09 20:31:53', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039599 -2.835344)'), GeomFromEWKT('SRID=4674;POINT (-40.039641 -2.835402)'))) / (select extract(epoch from '2026-06-09 20:31:53'::timestamp) - extract(epoch from '2026-06-09 20:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039599 -2.835344)'), GeomFromEWKT('SRID=4674;POINT (-40.039641 -2.835402)'))) / (select extract(epoch from '2026-06-09 20:31:53'::timestamp) - extract(epoch from '2026-06-09 20:31: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'), 46698, 'SRID=4674;POINT (-40.039715 -2.835451)', '2026-06-09 20:32:02', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039641 -2.835402)'), GeomFromEWKT('SRID=4674;POINT (-40.039715 -2.835451)'))) / (select extract(epoch from '2026-06-09 20:32:02'::timestamp) - extract(epoch from '2026-06-09 20:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039641 -2.835402)'), GeomFromEWKT('SRID=4674;POINT (-40.039715 -2.835451)'))) / (select extract(epoch from '2026-06-09 20:32:02'::timestamp) - extract(epoch from '2026-06-09 20:31: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'), 46698, 'SRID=4674;POINT (-40.039813 -2.835476)', '2026-06-09 20:32:09', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039715 -2.835451)'), GeomFromEWKT('SRID=4674;POINT (-40.039813 -2.835476)'))) / (select extract(epoch from '2026-06-09 20:32:09'::timestamp) - extract(epoch from '2026-06-09 20:32:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039715 -2.835451)'), GeomFromEWKT('SRID=4674;POINT (-40.039813 -2.835476)'))) / (select extract(epoch from '2026-06-09 20:32:09'::timestamp) - extract(epoch from '2026-06-09 20:32: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'), 46698, 'SRID=4674;POINT (-40.040035 -2.835538)', '2026-06-09 20:32:22', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039813 -2.835476)'), GeomFromEWKT('SRID=4674;POINT (-40.040035 -2.835538)'))) / (select extract(epoch from '2026-06-09 20:32:22'::timestamp) - extract(epoch from '2026-06-09 20:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039813 -2.835476)'), GeomFromEWKT('SRID=4674;POINT (-40.040035 -2.835538)'))) / (select extract(epoch from '2026-06-09 20:32:22'::timestamp) - extract(epoch from '2026-06-09 20:32: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'), 46698, 'SRID=4674;POINT (-40.040158 -2.83565)', '2026-06-09 20:32:30', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040035 -2.835538)'), GeomFromEWKT('SRID=4674;POINT (-40.040158 -2.83565)'))) / (select extract(epoch from '2026-06-09 20:32:30'::timestamp) - extract(epoch from '2026-06-09 20:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040035 -2.835538)'), GeomFromEWKT('SRID=4674;POINT (-40.040158 -2.83565)'))) / (select extract(epoch from '2026-06-09 20:32:30'::timestamp) - extract(epoch from '2026-06-09 20:32:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.040302 -2.835825)', '2026-06-09 20:32:40', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040158 -2.83565)'), GeomFromEWKT('SRID=4674;POINT (-40.040302 -2.835825)'))) / (select extract(epoch from '2026-06-09 20:32:40'::timestamp) - extract(epoch from '2026-06-09 20:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040158 -2.83565)'), GeomFromEWKT('SRID=4674;POINT (-40.040302 -2.835825)'))) / (select extract(epoch from '2026-06-09 20:32:40'::timestamp) - extract(epoch from '2026-06-09 20:32:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.040381 -2.835956)', '2026-06-09 20:32:46', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040302 -2.835825)'), GeomFromEWKT('SRID=4674;POINT (-40.040381 -2.835956)'))) / (select extract(epoch from '2026-06-09 20:32:46'::timestamp) - extract(epoch from '2026-06-09 20:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040302 -2.835825)'), GeomFromEWKT('SRID=4674;POINT (-40.040381 -2.835956)'))) / (select extract(epoch from '2026-06-09 20:32:46'::timestamp) - extract(epoch from '2026-06-09 20:32: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'), 46698, 'SRID=4674;POINT (-40.040457 -2.836063)', '2026-06-09 20:32:52', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040381 -2.835956)'), GeomFromEWKT('SRID=4674;POINT (-40.040457 -2.836063)'))) / (select extract(epoch from '2026-06-09 20:32:52'::timestamp) - extract(epoch from '2026-06-09 20:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040381 -2.835956)'), GeomFromEWKT('SRID=4674;POINT (-40.040457 -2.836063)'))) / (select extract(epoch from '2026-06-09 20:32:52'::timestamp) - extract(epoch from '2026-06-09 20:32:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.04054 -2.836176)', '2026-06-09 20:32:58', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040457 -2.836063)'), GeomFromEWKT('SRID=4674;POINT (-40.04054 -2.836176)'))) / (select extract(epoch from '2026-06-09 20:32:58'::timestamp) - extract(epoch from '2026-06-09 20:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040457 -2.836063)'), GeomFromEWKT('SRID=4674;POINT (-40.04054 -2.836176)'))) / (select extract(epoch from '2026-06-09 20:32:58'::timestamp) - extract(epoch from '2026-06-09 20:32: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'), 46698, 'SRID=4674;POINT (-40.04056 -2.836216)', '2026-06-09 20:33:00', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04054 -2.836176)'), GeomFromEWKT('SRID=4674;POINT (-40.04056 -2.836216)'))) / (select extract(epoch from '2026-06-09 20:33:00'::timestamp) - extract(epoch from '2026-06-09 20:32:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04054 -2.836176)'), GeomFromEWKT('SRID=4674;POINT (-40.04056 -2.836216)'))) / (select extract(epoch from '2026-06-09 20:33:00'::timestamp) - extract(epoch from '2026-06-09 20:32: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'), 46698, 'SRID=4674;POINT (-40.040653 -2.83632)', '2026-06-09 20:33:06', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04056 -2.836216)'), GeomFromEWKT('SRID=4674;POINT (-40.040653 -2.83632)'))) / (select extract(epoch from '2026-06-09 20:33:06'::timestamp) - extract(epoch from '2026-06-09 20:33:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04056 -2.836216)'), GeomFromEWKT('SRID=4674;POINT (-40.040653 -2.83632)'))) / (select extract(epoch from '2026-06-09 20:33:06'::timestamp) - extract(epoch from '2026-06-09 20:33: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'), 46698, 'SRID=4674;POINT (-40.04076 -2.836413)', '2026-06-09 20:33:12', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040653 -2.83632)'), GeomFromEWKT('SRID=4674;POINT (-40.04076 -2.836413)'))) / (select extract(epoch from '2026-06-09 20:33:12'::timestamp) - extract(epoch from '2026-06-09 20:33:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040653 -2.83632)'), GeomFromEWKT('SRID=4674;POINT (-40.04076 -2.836413)'))) / (select extract(epoch from '2026-06-09 20:33:12'::timestamp) - extract(epoch from '2026-06-09 20: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'), 46698, 'SRID=4674;POINT (-40.040901 -2.836565)', '2026-06-09 20:33:21', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04076 -2.836413)'), GeomFromEWKT('SRID=4674;POINT (-40.040901 -2.836565)'))) / (select extract(epoch from '2026-06-09 20:33:21'::timestamp) - extract(epoch from '2026-06-09 20:33:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04076 -2.836413)'), GeomFromEWKT('SRID=4674;POINT (-40.040901 -2.836565)'))) / (select extract(epoch from '2026-06-09 20:33:21'::timestamp) - extract(epoch from '2026-06-09 20:33: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'), 46698, 'SRID=4674;POINT (-40.041032 -2.836748)', '2026-06-09 20:33:30', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040901 -2.836565)'), GeomFromEWKT('SRID=4674;POINT (-40.041032 -2.836748)'))) / (select extract(epoch from '2026-06-09 20:33:30'::timestamp) - extract(epoch from '2026-06-09 20:33:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040901 -2.836565)'), GeomFromEWKT('SRID=4674;POINT (-40.041032 -2.836748)'))) / (select extract(epoch from '2026-06-09 20:33:30'::timestamp) - extract(epoch from '2026-06-09 20:33: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'), 46698, 'SRID=4674;POINT (-40.04121 -2.837023)', '2026-06-09 20:33:42', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041032 -2.836748)'), GeomFromEWKT('SRID=4674;POINT (-40.04121 -2.837023)'))) / (select extract(epoch from '2026-06-09 20:33:42'::timestamp) - extract(epoch from '2026-06-09 20:33:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041032 -2.836748)'), GeomFromEWKT('SRID=4674;POINT (-40.04121 -2.837023)'))) / (select extract(epoch from '2026-06-09 20:33:42'::timestamp) - extract(epoch from '2026-06-09 20: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'), 46698, 'SRID=4674;POINT (-40.041399 -2.83729)', '2026-06-09 20:33:54', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04121 -2.837023)'), GeomFromEWKT('SRID=4674;POINT (-40.041399 -2.83729)'))) / (select extract(epoch from '2026-06-09 20:33:54'::timestamp) - extract(epoch from '2026-06-09 20:33:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04121 -2.837023)'), GeomFromEWKT('SRID=4674;POINT (-40.041399 -2.83729)'))) / (select extract(epoch from '2026-06-09 20:33:54'::timestamp) - extract(epoch from '2026-06-09 20:33: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'), 46698, 'SRID=4674;POINT (-40.041633 -2.837577)', '2026-06-09 20:34:08', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041399 -2.83729)'), GeomFromEWKT('SRID=4674;POINT (-40.041633 -2.837577)'))) / (select extract(epoch from '2026-06-09 20:34:08'::timestamp) - extract(epoch from '2026-06-09 20:33:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041399 -2.83729)'), GeomFromEWKT('SRID=4674;POINT (-40.041633 -2.837577)'))) / (select extract(epoch from '2026-06-09 20:34:08'::timestamp) - extract(epoch from '2026-06-09 20:33: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'), 46698, 'SRID=4674;POINT (-40.041779 -2.837756)', '2026-06-09 20:34:17', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041633 -2.837577)'), GeomFromEWKT('SRID=4674;POINT (-40.041779 -2.837756)'))) / (select extract(epoch from '2026-06-09 20:34:17'::timestamp) - extract(epoch from '2026-06-09 20:34:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041633 -2.837577)'), GeomFromEWKT('SRID=4674;POINT (-40.041779 -2.837756)'))) / (select extract(epoch from '2026-06-09 20:34:17'::timestamp) - extract(epoch from '2026-06-09 20: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'), 46698, 'SRID=4674;POINT (-40.041949 -2.837931)', '2026-06-09 20:34:27', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041779 -2.837756)'), GeomFromEWKT('SRID=4674;POINT (-40.041949 -2.837931)'))) / (select extract(epoch from '2026-06-09 20:34:27'::timestamp) - extract(epoch from '2026-06-09 20:34:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041779 -2.837756)'), GeomFromEWKT('SRID=4674;POINT (-40.041949 -2.837931)'))) / (select extract(epoch from '2026-06-09 20:34:27'::timestamp) - extract(epoch from '2026-06-09 20:34: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'), 46698, 'SRID=4674;POINT (-40.042074 -2.838045)', '2026-06-09 20:34:34', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041949 -2.837931)'), GeomFromEWKT('SRID=4674;POINT (-40.042074 -2.838045)'))) / (select extract(epoch from '2026-06-09 20:34:34'::timestamp) - extract(epoch from '2026-06-09 20:34:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041949 -2.837931)'), GeomFromEWKT('SRID=4674;POINT (-40.042074 -2.838045)'))) / (select extract(epoch from '2026-06-09 20:34:34'::timestamp) - extract(epoch from '2026-06-09 20:34: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'), 46698, 'SRID=4674;POINT (-40.042291 -2.838197)', '2026-06-09 20:34:44', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042074 -2.838045)'), GeomFromEWKT('SRID=4674;POINT (-40.042291 -2.838197)'))) / (select extract(epoch from '2026-06-09 20:34:44'::timestamp) - extract(epoch from '2026-06-09 20:34:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042074 -2.838045)'), GeomFromEWKT('SRID=4674;POINT (-40.042291 -2.838197)'))) / (select extract(epoch from '2026-06-09 20:34:44'::timestamp) - extract(epoch from '2026-06-09 20:34: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'), 46698, 'SRID=4674;POINT (-40.042418 -2.838309)', '2026-06-09 20:34:50', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042291 -2.838197)'), GeomFromEWKT('SRID=4674;POINT (-40.042418 -2.838309)'))) / (select extract(epoch from '2026-06-09 20:34:50'::timestamp) - extract(epoch from '2026-06-09 20:34:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042291 -2.838197)'), GeomFromEWKT('SRID=4674;POINT (-40.042418 -2.838309)'))) / (select extract(epoch from '2026-06-09 20:34:50'::timestamp) - extract(epoch from '2026-06-09 20:34: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'), 46698, 'SRID=4674;POINT (-40.042737 -2.838602)', '2026-06-09 20:35:05', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042418 -2.838309)'), GeomFromEWKT('SRID=4674;POINT (-40.042737 -2.838602)'))) / (select extract(epoch from '2026-06-09 20:35:05'::timestamp) - extract(epoch from '2026-06-09 20:34:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042418 -2.838309)'), GeomFromEWKT('SRID=4674;POINT (-40.042737 -2.838602)'))) / (select extract(epoch from '2026-06-09 20:35:05'::timestamp) - extract(epoch from '2026-06-09 20:34: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'), 46698, 'SRID=4674;POINT (-40.042979 -2.83883)', '2026-06-09 20:35:17', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042737 -2.838602)'), GeomFromEWKT('SRID=4674;POINT (-40.042979 -2.83883)'))) / (select extract(epoch from '2026-06-09 20:35:17'::timestamp) - extract(epoch from '2026-06-09 20:35:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042737 -2.838602)'), GeomFromEWKT('SRID=4674;POINT (-40.042979 -2.83883)'))) / (select extract(epoch from '2026-06-09 20:35:17'::timestamp) - extract(epoch from '2026-06-09 20:35: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'), 46698, 'SRID=4674;POINT (-40.043173 -2.839055)', '2026-06-09 20:35:29', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042979 -2.83883)'), GeomFromEWKT('SRID=4674;POINT (-40.043173 -2.839055)'))) / (select extract(epoch from '2026-06-09 20:35:29'::timestamp) - extract(epoch from '2026-06-09 20:35:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042979 -2.83883)'), GeomFromEWKT('SRID=4674;POINT (-40.043173 -2.839055)'))) / (select extract(epoch from '2026-06-09 20:35:29'::timestamp) - extract(epoch from '2026-06-09 20:35: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'), 46698, 'SRID=4674;POINT (-40.043361 -2.839369)', '2026-06-09 20:35:43', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043173 -2.839055)'), GeomFromEWKT('SRID=4674;POINT (-40.043361 -2.839369)'))) / (select extract(epoch from '2026-06-09 20:35:43'::timestamp) - extract(epoch from '2026-06-09 20:35:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043173 -2.839055)'), GeomFromEWKT('SRID=4674;POINT (-40.043361 -2.839369)'))) / (select extract(epoch from '2026-06-09 20:35:43'::timestamp) - extract(epoch from '2026-06-09 20:35:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.043486 -2.839685)', '2026-06-09 20:35:56', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043361 -2.839369)'), GeomFromEWKT('SRID=4674;POINT (-40.043486 -2.839685)'))) / (select extract(epoch from '2026-06-09 20:35:56'::timestamp) - extract(epoch from '2026-06-09 20:35:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043361 -2.839369)'), GeomFromEWKT('SRID=4674;POINT (-40.043486 -2.839685)'))) / (select extract(epoch from '2026-06-09 20:35:56'::timestamp) - extract(epoch from '2026-06-09 20:35: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'), 46698, 'SRID=4674;POINT (-40.043546 -2.839972)', '2026-06-09 20:36:07', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043486 -2.839685)'), GeomFromEWKT('SRID=4674;POINT (-40.043546 -2.839972)'))) / (select extract(epoch from '2026-06-09 20:36:07'::timestamp) - extract(epoch from '2026-06-09 20:35:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043486 -2.839685)'), GeomFromEWKT('SRID=4674;POINT (-40.043546 -2.839972)'))) / (select extract(epoch from '2026-06-09 20:36:07'::timestamp) - extract(epoch from '2026-06-09 20:35: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'), 46698, 'SRID=4674;POINT (-40.043548 -2.84022)', '2026-06-09 20:36:16', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043546 -2.839972)'), GeomFromEWKT('SRID=4674;POINT (-40.043548 -2.84022)'))) / (select extract(epoch from '2026-06-09 20:36:16'::timestamp) - extract(epoch from '2026-06-09 20:36:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043546 -2.839972)'), GeomFromEWKT('SRID=4674;POINT (-40.043548 -2.84022)'))) / (select extract(epoch from '2026-06-09 20:36:16'::timestamp) - extract(epoch from '2026-06-09 20:36:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.043514 -2.840424)', '2026-06-09 20:36:24', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043548 -2.84022)'), GeomFromEWKT('SRID=4674;POINT (-40.043514 -2.840424)'))) / (select extract(epoch from '2026-06-09 20:36:24'::timestamp) - extract(epoch from '2026-06-09 20:36:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043548 -2.84022)'), GeomFromEWKT('SRID=4674;POINT (-40.043514 -2.840424)'))) / (select extract(epoch from '2026-06-09 20:36:24'::timestamp) - extract(epoch from '2026-06-09 20:36: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'), 46698, 'SRID=4674;POINT (-40.043456 -2.840662)', '2026-06-09 20:36:34', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043514 -2.840424)'), GeomFromEWKT('SRID=4674;POINT (-40.043456 -2.840662)'))) / (select extract(epoch from '2026-06-09 20:36:34'::timestamp) - extract(epoch from '2026-06-09 20:36:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043514 -2.840424)'), GeomFromEWKT('SRID=4674;POINT (-40.043456 -2.840662)'))) / (select extract(epoch from '2026-06-09 20:36:34'::timestamp) - extract(epoch from '2026-06-09 20:36: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'), 46698, 'SRID=4674;POINT (-40.043346 -2.840972)', '2026-06-09 20:36:47', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043456 -2.840662)'), GeomFromEWKT('SRID=4674;POINT (-40.043346 -2.840972)'))) / (select extract(epoch from '2026-06-09 20:36:47'::timestamp) - extract(epoch from '2026-06-09 20:36:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043456 -2.840662)'), GeomFromEWKT('SRID=4674;POINT (-40.043346 -2.840972)'))) / (select extract(epoch from '2026-06-09 20:36:47'::timestamp) - extract(epoch from '2026-06-09 20:36:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.043231 -2.841208)', '2026-06-09 20:36:58', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043346 -2.840972)'), GeomFromEWKT('SRID=4674;POINT (-40.043231 -2.841208)'))) / (select extract(epoch from '2026-06-09 20:36:58'::timestamp) - extract(epoch from '2026-06-09 20:36:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043346 -2.840972)'), GeomFromEWKT('SRID=4674;POINT (-40.043231 -2.841208)'))) / (select extract(epoch from '2026-06-09 20:36:58'::timestamp) - extract(epoch from '2026-06-09 20:36:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.043085 -2.841451)', '2026-06-09 20:37:10', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043231 -2.841208)'), GeomFromEWKT('SRID=4674;POINT (-40.043085 -2.841451)'))) / (select extract(epoch from '2026-06-09 20:37:10'::timestamp) - extract(epoch from '2026-06-09 20:36:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043231 -2.841208)'), GeomFromEWKT('SRID=4674;POINT (-40.043085 -2.841451)'))) / (select extract(epoch from '2026-06-09 20:37:10'::timestamp) - extract(epoch from '2026-06-09 20:36: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'), 46698, 'SRID=4674;POINT (-40.042933 -2.841699)', '2026-06-09 20:37:22', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043085 -2.841451)'), GeomFromEWKT('SRID=4674;POINT (-40.042933 -2.841699)'))) / (select extract(epoch from '2026-06-09 20:37:22'::timestamp) - extract(epoch from '2026-06-09 20:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043085 -2.841451)'), GeomFromEWKT('SRID=4674;POINT (-40.042933 -2.841699)'))) / (select extract(epoch from '2026-06-09 20:37:22'::timestamp) - extract(epoch from '2026-06-09 20:37: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'), 46698, 'SRID=4674;POINT (-40.042797 -2.841926)', '2026-06-09 20:37:33', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042933 -2.841699)'), GeomFromEWKT('SRID=4674;POINT (-40.042797 -2.841926)'))) / (select extract(epoch from '2026-06-09 20:37:33'::timestamp) - extract(epoch from '2026-06-09 20:37:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042933 -2.841699)'), GeomFromEWKT('SRID=4674;POINT (-40.042797 -2.841926)'))) / (select extract(epoch from '2026-06-09 20:37:33'::timestamp) - extract(epoch from '2026-06-09 20:37: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'), 46698, 'SRID=4674;POINT (-40.042621 -2.842233)', '2026-06-09 20:37:48', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042797 -2.841926)'), GeomFromEWKT('SRID=4674;POINT (-40.042621 -2.842233)'))) / (select extract(epoch from '2026-06-09 20:37:48'::timestamp) - extract(epoch from '2026-06-09 20:37:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042797 -2.841926)'), GeomFromEWKT('SRID=4674;POINT (-40.042621 -2.842233)'))) / (select extract(epoch from '2026-06-09 20:37:48'::timestamp) - extract(epoch from '2026-06-09 20:37:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
