BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.43875 -3.145854)', '2026-07-02 16:12:29', -2.4, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.438745 -3.14584)', '2026-07-02 16:12:30', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43875 -3.145854)'), GeomFromEWKT('SRID=4674;POINT (-39.438745 -3.14584)'))) / (select extract(epoch from '2026-07-02 16:12:30'::timestamp) - extract(epoch from '2026-07-02 16:12:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43875 -3.145854)'), GeomFromEWKT('SRID=4674;POINT (-39.438745 -3.14584)'))) / (select extract(epoch from '2026-07-02 16:12:30'::timestamp) - extract(epoch from '2026-07-02 16:12:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.438693 -3.145759)', '2026-07-02 16:12:36', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438745 -3.14584)'), GeomFromEWKT('SRID=4674;POINT (-39.438693 -3.145759)'))) / (select extract(epoch from '2026-07-02 16:12:36'::timestamp) - extract(epoch from '2026-07-02 16:12:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438745 -3.14584)'), GeomFromEWKT('SRID=4674;POINT (-39.438693 -3.145759)'))) / (select extract(epoch from '2026-07-02 16:12:36'::timestamp) - extract(epoch from '2026-07-02 16:12: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'), 47980, 'SRID=4674;POINT (-39.438623 -3.145659)', '2026-07-02 16:12:43', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438693 -3.145759)'), GeomFromEWKT('SRID=4674;POINT (-39.438623 -3.145659)'))) / (select extract(epoch from '2026-07-02 16:12:43'::timestamp) - extract(epoch from '2026-07-02 16:12:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438693 -3.145759)'), GeomFromEWKT('SRID=4674;POINT (-39.438623 -3.145659)'))) / (select extract(epoch from '2026-07-02 16:12:43'::timestamp) - extract(epoch from '2026-07-02 16:12: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'), 47980, 'SRID=4674;POINT (-39.438553 -3.145539)', '2026-07-02 16:12:51', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438623 -3.145659)'), GeomFromEWKT('SRID=4674;POINT (-39.438553 -3.145539)'))) / (select extract(epoch from '2026-07-02 16:12:51'::timestamp) - extract(epoch from '2026-07-02 16:12:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438623 -3.145659)'), GeomFromEWKT('SRID=4674;POINT (-39.438553 -3.145539)'))) / (select extract(epoch from '2026-07-02 16:12:51'::timestamp) - extract(epoch from '2026-07-02 16:12:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.4385 -3.145458)', '2026-07-02 16:12:57', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438553 -3.145539)'), GeomFromEWKT('SRID=4674;POINT (-39.4385 -3.145458)'))) / (select extract(epoch from '2026-07-02 16:12:57'::timestamp) - extract(epoch from '2026-07-02 16:12:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438553 -3.145539)'), GeomFromEWKT('SRID=4674;POINT (-39.4385 -3.145458)'))) / (select extract(epoch from '2026-07-02 16:12:57'::timestamp) - extract(epoch from '2026-07-02 16:12: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'), 47980, 'SRID=4674;POINT (-39.438462 -3.145385)', '2026-07-02 16:13:02', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4385 -3.145458)'), GeomFromEWKT('SRID=4674;POINT (-39.438462 -3.145385)'))) / (select extract(epoch from '2026-07-02 16:13:02'::timestamp) - extract(epoch from '2026-07-02 16:12:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4385 -3.145458)'), GeomFromEWKT('SRID=4674;POINT (-39.438462 -3.145385)'))) / (select extract(epoch from '2026-07-02 16:13:02'::timestamp) - extract(epoch from '2026-07-02 16:12: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'), 47980, 'SRID=4674;POINT (-39.438408 -3.145294)', '2026-07-02 16:13:08', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438462 -3.145385)'), GeomFromEWKT('SRID=4674;POINT (-39.438408 -3.145294)'))) / (select extract(epoch from '2026-07-02 16:13:08'::timestamp) - extract(epoch from '2026-07-02 16:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438462 -3.145385)'), GeomFromEWKT('SRID=4674;POINT (-39.438408 -3.145294)'))) / (select extract(epoch from '2026-07-02 16:13:08'::timestamp) - extract(epoch from '2026-07-02 16:13:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.438347 -3.145173)', '2026-07-02 16:13:16', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438408 -3.145294)'), GeomFromEWKT('SRID=4674;POINT (-39.438347 -3.145173)'))) / (select extract(epoch from '2026-07-02 16:13:16'::timestamp) - extract(epoch from '2026-07-02 16:13:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438408 -3.145294)'), GeomFromEWKT('SRID=4674;POINT (-39.438347 -3.145173)'))) / (select extract(epoch from '2026-07-02 16:13:16'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.438311 -3.145045)', '2026-07-02 16:13:24', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438347 -3.145173)'), GeomFromEWKT('SRID=4674;POINT (-39.438311 -3.145045)'))) / (select extract(epoch from '2026-07-02 16:13:24'::timestamp) - extract(epoch from '2026-07-02 16:13:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438347 -3.145173)'), GeomFromEWKT('SRID=4674;POINT (-39.438311 -3.145045)'))) / (select extract(epoch from '2026-07-02 16:13:24'::timestamp) - extract(epoch from '2026-07-02 16:13:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.438271 -3.144945)', '2026-07-02 16:13:30', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438311 -3.145045)'), GeomFromEWKT('SRID=4674;POINT (-39.438271 -3.144945)'))) / (select extract(epoch from '2026-07-02 16:13:30'::timestamp) - extract(epoch from '2026-07-02 16:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438311 -3.145045)'), GeomFromEWKT('SRID=4674;POINT (-39.438271 -3.144945)'))) / (select extract(epoch from '2026-07-02 16:13:30'::timestamp) - extract(epoch from '2026-07-02 16:13:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.438231 -3.144853)', '2026-07-02 16:13:36', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438271 -3.144945)'), GeomFromEWKT('SRID=4674;POINT (-39.438231 -3.144853)'))) / (select extract(epoch from '2026-07-02 16:13:36'::timestamp) - extract(epoch from '2026-07-02 16:13:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438271 -3.144945)'), GeomFromEWKT('SRID=4674;POINT (-39.438231 -3.144853)'))) / (select extract(epoch from '2026-07-02 16:13:36'::timestamp) - extract(epoch from '2026-07-02 16:13:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.43821 -3.14479)', '2026-07-02 16:13:40', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438231 -3.144853)'), GeomFromEWKT('SRID=4674;POINT (-39.43821 -3.14479)'))) / (select extract(epoch from '2026-07-02 16:13:40'::timestamp) - extract(epoch from '2026-07-02 16:13:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438231 -3.144853)'), GeomFromEWKT('SRID=4674;POINT (-39.43821 -3.14479)'))) / (select extract(epoch from '2026-07-02 16:13:40'::timestamp) - extract(epoch from '2026-07-02 16:13:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.438202 -3.14476)', '2026-07-02 16:13:42', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43821 -3.14479)'), GeomFromEWKT('SRID=4674;POINT (-39.438202 -3.14476)'))) / (select extract(epoch from '2026-07-02 16:13:42'::timestamp) - extract(epoch from '2026-07-02 16:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43821 -3.14479)'), GeomFromEWKT('SRID=4674;POINT (-39.438202 -3.14476)'))) / (select extract(epoch from '2026-07-02 16:13:42'::timestamp) - extract(epoch from '2026-07-02 16:13: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'), 47980, 'SRID=4674;POINT (-39.438182 -3.144649)', '2026-07-02 16:13:49', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438202 -3.14476)'), GeomFromEWKT('SRID=4674;POINT (-39.438182 -3.144649)'))) / (select extract(epoch from '2026-07-02 16:13:49'::timestamp) - extract(epoch from '2026-07-02 16:13:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438202 -3.14476)'), GeomFromEWKT('SRID=4674;POINT (-39.438182 -3.144649)'))) / (select extract(epoch from '2026-07-02 16:13:49'::timestamp) - extract(epoch from '2026-07-02 16:13: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'), 47980, 'SRID=4674;POINT (-39.438139 -3.144533)', '2026-07-02 16:13:56', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438182 -3.144649)'), GeomFromEWKT('SRID=4674;POINT (-39.438139 -3.144533)'))) / (select extract(epoch from '2026-07-02 16:13:56'::timestamp) - extract(epoch from '2026-07-02 16:13:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438182 -3.144649)'), GeomFromEWKT('SRID=4674;POINT (-39.438139 -3.144533)'))) / (select extract(epoch from '2026-07-02 16:13:56'::timestamp) - extract(epoch from '2026-07-02 16:13: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'), 47980, 'SRID=4674;POINT (-39.438084 -3.144445)', '2026-07-02 16:14:03', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438139 -3.144533)'), GeomFromEWKT('SRID=4674;POINT (-39.438084 -3.144445)'))) / (select extract(epoch from '2026-07-02 16:14:03'::timestamp) - extract(epoch from '2026-07-02 16:13:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438139 -3.144533)'), GeomFromEWKT('SRID=4674;POINT (-39.438084 -3.144445)'))) / (select extract(epoch from '2026-07-02 16:14:03'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.438019 -3.144373)', '2026-07-02 16:14:09', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438084 -3.144445)'), GeomFromEWKT('SRID=4674;POINT (-39.438019 -3.144373)'))) / (select extract(epoch from '2026-07-02 16:14:09'::timestamp) - extract(epoch from '2026-07-02 16:14:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438084 -3.144445)'), GeomFromEWKT('SRID=4674;POINT (-39.438019 -3.144373)'))) / (select extract(epoch from '2026-07-02 16:14:09'::timestamp) - extract(epoch from '2026-07-02 16:14:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.437939 -3.144282)', '2026-07-02 16:14:16', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438019 -3.144373)'), GeomFromEWKT('SRID=4674;POINT (-39.437939 -3.144282)'))) / (select extract(epoch from '2026-07-02 16:14:16'::timestamp) - extract(epoch from '2026-07-02 16:14:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438019 -3.144373)'), GeomFromEWKT('SRID=4674;POINT (-39.437939 -3.144282)'))) / (select extract(epoch from '2026-07-02 16:14:16'::timestamp) - extract(epoch from '2026-07-02 16:14: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'), 47980, 'SRID=4674;POINT (-39.437892 -3.144209)', '2026-07-02 16:14:21', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437939 -3.144282)'), GeomFromEWKT('SRID=4674;POINT (-39.437892 -3.144209)'))) / (select extract(epoch from '2026-07-02 16:14:21'::timestamp) - extract(epoch from '2026-07-02 16:14:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437939 -3.144282)'), GeomFromEWKT('SRID=4674;POINT (-39.437892 -3.144209)'))) / (select extract(epoch from '2026-07-02 16:14:21'::timestamp) - extract(epoch from '2026-07-02 16:14:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.437843 -3.144142)', '2026-07-02 16:14:26', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437892 -3.144209)'), GeomFromEWKT('SRID=4674;POINT (-39.437843 -3.144142)'))) / (select extract(epoch from '2026-07-02 16:14:26'::timestamp) - extract(epoch from '2026-07-02 16:14:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437892 -3.144209)'), GeomFromEWKT('SRID=4674;POINT (-39.437843 -3.144142)'))) / (select extract(epoch from '2026-07-02 16:14:26'::timestamp) - extract(epoch from '2026-07-02 16:14: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'), 47980, 'SRID=4674;POINT (-39.437794 -3.144068)', '2026-07-02 16:14:32', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437843 -3.144142)'), GeomFromEWKT('SRID=4674;POINT (-39.437794 -3.144068)'))) / (select extract(epoch from '2026-07-02 16:14:32'::timestamp) - extract(epoch from '2026-07-02 16:14:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437843 -3.144142)'), GeomFromEWKT('SRID=4674;POINT (-39.437794 -3.144068)'))) / (select extract(epoch from '2026-07-02 16:14:32'::timestamp) - extract(epoch from '2026-07-02 16:14:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.437766 -3.143972)', '2026-07-02 16:14:39', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437794 -3.144068)'), GeomFromEWKT('SRID=4674;POINT (-39.437766 -3.143972)'))) / (select extract(epoch from '2026-07-02 16:14:39'::timestamp) - extract(epoch from '2026-07-02 16:14:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437794 -3.144068)'), GeomFromEWKT('SRID=4674;POINT (-39.437766 -3.143972)'))) / (select extract(epoch from '2026-07-02 16:14:39'::timestamp) - extract(epoch from '2026-07-02 16:14: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'), 47980, 'SRID=4674;POINT (-39.437707 -3.143892)', '2026-07-02 16:14:45', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437766 -3.143972)'), GeomFromEWKT('SRID=4674;POINT (-39.437707 -3.143892)'))) / (select extract(epoch from '2026-07-02 16:14:45'::timestamp) - extract(epoch from '2026-07-02 16:14:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437766 -3.143972)'), GeomFromEWKT('SRID=4674;POINT (-39.437707 -3.143892)'))) / (select extract(epoch from '2026-07-02 16:14:45'::timestamp) - extract(epoch from '2026-07-02 16:14: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'), 47980, 'SRID=4674;POINT (-39.437656 -3.143818)', '2026-07-02 16:14:51', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437707 -3.143892)'), GeomFromEWKT('SRID=4674;POINT (-39.437656 -3.143818)'))) / (select extract(epoch from '2026-07-02 16:14:51'::timestamp) - extract(epoch from '2026-07-02 16:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437707 -3.143892)'), GeomFromEWKT('SRID=4674;POINT (-39.437656 -3.143818)'))) / (select extract(epoch from '2026-07-02 16:14:51'::timestamp) - extract(epoch from '2026-07-02 16:14: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'), 47980, 'SRID=4674;POINT (-39.437575 -3.14374)', '2026-07-02 16:14:58', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437656 -3.143818)'), GeomFromEWKT('SRID=4674;POINT (-39.437575 -3.14374)'))) / (select extract(epoch from '2026-07-02 16:14:58'::timestamp) - extract(epoch from '2026-07-02 16:14:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437656 -3.143818)'), GeomFromEWKT('SRID=4674;POINT (-39.437575 -3.14374)'))) / (select extract(epoch from '2026-07-02 16:14:58'::timestamp) - extract(epoch from '2026-07-02 16:14:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.437514 -3.143661)', '2026-07-02 16:15:04', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437575 -3.14374)'), GeomFromEWKT('SRID=4674;POINT (-39.437514 -3.143661)'))) / (select extract(epoch from '2026-07-02 16:15:04'::timestamp) - extract(epoch from '2026-07-02 16:14:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437575 -3.14374)'), GeomFromEWKT('SRID=4674;POINT (-39.437514 -3.143661)'))) / (select extract(epoch from '2026-07-02 16:15:04'::timestamp) - extract(epoch from '2026-07-02 16:14:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.437432 -3.143574)', '2026-07-02 16:15:11', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437514 -3.143661)'), GeomFromEWKT('SRID=4674;POINT (-39.437432 -3.143574)'))) / (select extract(epoch from '2026-07-02 16:15:11'::timestamp) - extract(epoch from '2026-07-02 16:15:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437514 -3.143661)'), GeomFromEWKT('SRID=4674;POINT (-39.437432 -3.143574)'))) / (select extract(epoch from '2026-07-02 16:15:11'::timestamp) - extract(epoch from '2026-07-02 16:15:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.437354 -3.143512)', '2026-07-02 16:15:17', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437432 -3.143574)'), GeomFromEWKT('SRID=4674;POINT (-39.437354 -3.143512)'))) / (select extract(epoch from '2026-07-02 16:15:17'::timestamp) - extract(epoch from '2026-07-02 16:15:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437432 -3.143574)'), GeomFromEWKT('SRID=4674;POINT (-39.437354 -3.143512)'))) / (select extract(epoch from '2026-07-02 16:15:17'::timestamp) - extract(epoch from '2026-07-02 16:15:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.437286 -3.143447)', '2026-07-02 16:15:23', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437354 -3.143512)'), GeomFromEWKT('SRID=4674;POINT (-39.437286 -3.143447)'))) / (select extract(epoch from '2026-07-02 16:15:23'::timestamp) - extract(epoch from '2026-07-02 16:15:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437354 -3.143512)'), GeomFromEWKT('SRID=4674;POINT (-39.437286 -3.143447)'))) / (select extract(epoch from '2026-07-02 16:15:23'::timestamp) - extract(epoch from '2026-07-02 16:15:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.437212 -3.143382)', '2026-07-02 16:15:29', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437286 -3.143447)'), GeomFromEWKT('SRID=4674;POINT (-39.437212 -3.143382)'))) / (select extract(epoch from '2026-07-02 16:15:29'::timestamp) - extract(epoch from '2026-07-02 16:15:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437286 -3.143447)'), GeomFromEWKT('SRID=4674;POINT (-39.437212 -3.143382)'))) / (select extract(epoch from '2026-07-02 16:15:29'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.437117 -3.143279)', '2026-07-02 16:15:37', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437212 -3.143382)'), GeomFromEWKT('SRID=4674;POINT (-39.437117 -3.143279)'))) / (select extract(epoch from '2026-07-02 16:15:37'::timestamp) - extract(epoch from '2026-07-02 16:15:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437212 -3.143382)'), GeomFromEWKT('SRID=4674;POINT (-39.437117 -3.143279)'))) / (select extract(epoch from '2026-07-02 16:15:37'::timestamp) - extract(epoch from '2026-07-02 16:15: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'), 47980, 'SRID=4674;POINT (-39.437033 -3.143201)', '2026-07-02 16:15:44', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437117 -3.143279)'), GeomFromEWKT('SRID=4674;POINT (-39.437033 -3.143201)'))) / (select extract(epoch from '2026-07-02 16:15:44'::timestamp) - extract(epoch from '2026-07-02 16:15:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437117 -3.143279)'), GeomFromEWKT('SRID=4674;POINT (-39.437033 -3.143201)'))) / (select extract(epoch from '2026-07-02 16:15:44'::timestamp) - extract(epoch from '2026-07-02 16:15: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'), 47980, 'SRID=4674;POINT (-39.436962 -3.143124)', '2026-07-02 16:15:51', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437033 -3.143201)'), GeomFromEWKT('SRID=4674;POINT (-39.436962 -3.143124)'))) / (select extract(epoch from '2026-07-02 16:15:51'::timestamp) - extract(epoch from '2026-07-02 16:15:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437033 -3.143201)'), GeomFromEWKT('SRID=4674;POINT (-39.436962 -3.143124)'))) / (select extract(epoch from '2026-07-02 16:15:51'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.436881 -3.143047)', '2026-07-02 16:15:58', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436962 -3.143124)'), GeomFromEWKT('SRID=4674;POINT (-39.436881 -3.143047)'))) / (select extract(epoch from '2026-07-02 16:15:58'::timestamp) - extract(epoch from '2026-07-02 16:15:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436962 -3.143124)'), GeomFromEWKT('SRID=4674;POINT (-39.436881 -3.143047)'))) / (select extract(epoch from '2026-07-02 16:15:58'::timestamp) - extract(epoch from '2026-07-02 16:15:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.436808 -3.142978)', '2026-07-02 16:16:04', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436881 -3.143047)'), GeomFromEWKT('SRID=4674;POINT (-39.436808 -3.142978)'))) / (select extract(epoch from '2026-07-02 16:16:04'::timestamp) - extract(epoch from '2026-07-02 16:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436881 -3.143047)'), GeomFromEWKT('SRID=4674;POINT (-39.436808 -3.142978)'))) / (select extract(epoch from '2026-07-02 16:16:04'::timestamp) - extract(epoch from '2026-07-02 16:15: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'), 47980, 'SRID=4674;POINT (-39.436717 -3.142901)', '2026-07-02 16:16:11', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436808 -3.142978)'), GeomFromEWKT('SRID=4674;POINT (-39.436717 -3.142901)'))) / (select extract(epoch from '2026-07-02 16:16:11'::timestamp) - extract(epoch from '2026-07-02 16:16:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436808 -3.142978)'), GeomFromEWKT('SRID=4674;POINT (-39.436717 -3.142901)'))) / (select extract(epoch from '2026-07-02 16:16:11'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.436654 -3.14283)', '2026-07-02 16:16:17', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436717 -3.142901)'), GeomFromEWKT('SRID=4674;POINT (-39.436654 -3.14283)'))) / (select extract(epoch from '2026-07-02 16:16:17'::timestamp) - extract(epoch from '2026-07-02 16:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436717 -3.142901)'), GeomFromEWKT('SRID=4674;POINT (-39.436654 -3.14283)'))) / (select extract(epoch from '2026-07-02 16:16:17'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.436584 -3.142761)', '2026-07-02 16:16:23', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436654 -3.14283)'), GeomFromEWKT('SRID=4674;POINT (-39.436584 -3.142761)'))) / (select extract(epoch from '2026-07-02 16:16:23'::timestamp) - extract(epoch from '2026-07-02 16:16:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436654 -3.14283)'), GeomFromEWKT('SRID=4674;POINT (-39.436584 -3.142761)'))) / (select extract(epoch from '2026-07-02 16:16:23'::timestamp) - extract(epoch from '2026-07-02 16:16: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'), 47980, 'SRID=4674;POINT (-39.436518 -3.142679)', '2026-07-02 16:16:30', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436584 -3.142761)'), GeomFromEWKT('SRID=4674;POINT (-39.436518 -3.142679)'))) / (select extract(epoch from '2026-07-02 16:16:30'::timestamp) - extract(epoch from '2026-07-02 16:16:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436584 -3.142761)'), GeomFromEWKT('SRID=4674;POINT (-39.436518 -3.142679)'))) / (select extract(epoch from '2026-07-02 16:16:30'::timestamp) - extract(epoch from '2026-07-02 16:16: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'), 47980, 'SRID=4674;POINT (-39.43644 -3.142598)', '2026-07-02 16:16:37', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436518 -3.142679)'), GeomFromEWKT('SRID=4674;POINT (-39.43644 -3.142598)'))) / (select extract(epoch from '2026-07-02 16:16:37'::timestamp) - extract(epoch from '2026-07-02 16:16:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436518 -3.142679)'), GeomFromEWKT('SRID=4674;POINT (-39.43644 -3.142598)'))) / (select extract(epoch from '2026-07-02 16:16:37'::timestamp) - extract(epoch from '2026-07-02 16:16:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.436345 -3.142521)', '2026-07-02 16:16:45', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43644 -3.142598)'), GeomFromEWKT('SRID=4674;POINT (-39.436345 -3.142521)'))) / (select extract(epoch from '2026-07-02 16:16:45'::timestamp) - extract(epoch from '2026-07-02 16:16:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43644 -3.142598)'), GeomFromEWKT('SRID=4674;POINT (-39.436345 -3.142521)'))) / (select extract(epoch from '2026-07-02 16:16:45'::timestamp) - extract(epoch from '2026-07-02 16:16:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.436258 -3.142461)', '2026-07-02 16:16:52', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436345 -3.142521)'), GeomFromEWKT('SRID=4674;POINT (-39.436258 -3.142461)'))) / (select extract(epoch from '2026-07-02 16:16:52'::timestamp) - extract(epoch from '2026-07-02 16:16:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436345 -3.142521)'), GeomFromEWKT('SRID=4674;POINT (-39.436258 -3.142461)'))) / (select extract(epoch from '2026-07-02 16:16:52'::timestamp) - extract(epoch from '2026-07-02 16:16:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.436186 -3.142387)', '2026-07-02 16:16:59', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436258 -3.142461)'), GeomFromEWKT('SRID=4674;POINT (-39.436186 -3.142387)'))) / (select extract(epoch from '2026-07-02 16:16:59'::timestamp) - extract(epoch from '2026-07-02 16:16:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436258 -3.142461)'), GeomFromEWKT('SRID=4674;POINT (-39.436186 -3.142387)'))) / (select extract(epoch from '2026-07-02 16:16:59'::timestamp) - extract(epoch from '2026-07-02 16:16: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'), 47980, 'SRID=4674;POINT (-39.43612 -3.14229)', '2026-07-02 16:17:06', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436186 -3.142387)'), GeomFromEWKT('SRID=4674;POINT (-39.43612 -3.14229)'))) / (select extract(epoch from '2026-07-02 16:17:06'::timestamp) - extract(epoch from '2026-07-02 16:16:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436186 -3.142387)'), GeomFromEWKT('SRID=4674;POINT (-39.43612 -3.14229)'))) / (select extract(epoch from '2026-07-02 16:17:06'::timestamp) - extract(epoch from '2026-07-02 16:16:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.436072 -3.142228)', '2026-07-02 16:17:12', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43612 -3.14229)'), GeomFromEWKT('SRID=4674;POINT (-39.436072 -3.142228)'))) / (select extract(epoch from '2026-07-02 16:17:12'::timestamp) - extract(epoch from '2026-07-02 16:17:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43612 -3.14229)'), GeomFromEWKT('SRID=4674;POINT (-39.436072 -3.142228)'))) / (select extract(epoch from '2026-07-02 16:17:12'::timestamp) - extract(epoch from '2026-07-02 16:17: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'), 47980, 'SRID=4674;POINT (-39.436033 -3.142181)', '2026-07-02 16:17:16', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436072 -3.142228)'), GeomFromEWKT('SRID=4674;POINT (-39.436033 -3.142181)'))) / (select extract(epoch from '2026-07-02 16:17:16'::timestamp) - extract(epoch from '2026-07-02 16:17:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436072 -3.142228)'), GeomFromEWKT('SRID=4674;POINT (-39.436033 -3.142181)'))) / (select extract(epoch from '2026-07-02 16:17:16'::timestamp) - extract(epoch from '2026-07-02 16:17: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'), 47980, 'SRID=4674;POINT (-39.436024 -3.142171)', '2026-07-02 16:17:17', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436033 -3.142181)'), GeomFromEWKT('SRID=4674;POINT (-39.436024 -3.142171)'))) / (select extract(epoch from '2026-07-02 16:17:17'::timestamp) - extract(epoch from '2026-07-02 16:17:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436033 -3.142181)'), GeomFromEWKT('SRID=4674;POINT (-39.436024 -3.142171)'))) / (select extract(epoch from '2026-07-02 16:17:17'::timestamp) - extract(epoch from '2026-07-02 16:17: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'), 47980, 'SRID=4674;POINT (-39.435978 -3.142119)', '2026-07-02 16:17:22', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436024 -3.142171)'), GeomFromEWKT('SRID=4674;POINT (-39.435978 -3.142119)'))) / (select extract(epoch from '2026-07-02 16:17:22'::timestamp) - extract(epoch from '2026-07-02 16:17:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436024 -3.142171)'), GeomFromEWKT('SRID=4674;POINT (-39.435978 -3.142119)'))) / (select extract(epoch from '2026-07-02 16:17:22'::timestamp) - extract(epoch from '2026-07-02 16:17: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'), 47980, 'SRID=4674;POINT (-39.435913 -3.142062)', '2026-07-02 16:17:28', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435978 -3.142119)'), GeomFromEWKT('SRID=4674;POINT (-39.435913 -3.142062)'))) / (select extract(epoch from '2026-07-02 16:17:28'::timestamp) - extract(epoch from '2026-07-02 16:17:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435978 -3.142119)'), GeomFromEWKT('SRID=4674;POINT (-39.435913 -3.142062)'))) / (select extract(epoch from '2026-07-02 16:17:28'::timestamp) - extract(epoch from '2026-07-02 16:17:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.435864 -3.142003)', '2026-07-02 16:17:33', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435913 -3.142062)'), GeomFromEWKT('SRID=4674;POINT (-39.435864 -3.142003)'))) / (select extract(epoch from '2026-07-02 16:17:33'::timestamp) - extract(epoch from '2026-07-02 16:17:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435913 -3.142062)'), GeomFromEWKT('SRID=4674;POINT (-39.435864 -3.142003)'))) / (select extract(epoch from '2026-07-02 16:17:33'::timestamp) - extract(epoch from '2026-07-02 16:17:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.435812 -3.141937)', '2026-07-02 16:17:38', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435864 -3.142003)'), GeomFromEWKT('SRID=4674;POINT (-39.435812 -3.141937)'))) / (select extract(epoch from '2026-07-02 16:17:38'::timestamp) - extract(epoch from '2026-07-02 16:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435864 -3.142003)'), GeomFromEWKT('SRID=4674;POINT (-39.435812 -3.141937)'))) / (select extract(epoch from '2026-07-02 16:17:38'::timestamp) - extract(epoch from '2026-07-02 16:17:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.435754 -3.141875)', '2026-07-02 16:17:43', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435812 -3.141937)'), GeomFromEWKT('SRID=4674;POINT (-39.435754 -3.141875)'))) / (select extract(epoch from '2026-07-02 16:17:43'::timestamp) - extract(epoch from '2026-07-02 16:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435812 -3.141937)'), GeomFromEWKT('SRID=4674;POINT (-39.435754 -3.141875)'))) / (select extract(epoch from '2026-07-02 16:17:43'::timestamp) - extract(epoch from '2026-07-02 16:17: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'), 47980, 'SRID=4674;POINT (-39.435711 -3.14183)', '2026-07-02 16:17:47', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435754 -3.141875)'), GeomFromEWKT('SRID=4674;POINT (-39.435711 -3.14183)'))) / (select extract(epoch from '2026-07-02 16:17:47'::timestamp) - extract(epoch from '2026-07-02 16:17:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435754 -3.141875)'), GeomFromEWKT('SRID=4674;POINT (-39.435711 -3.14183)'))) / (select extract(epoch from '2026-07-02 16:17:47'::timestamp) - extract(epoch from '2026-07-02 16:17:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.435688 -3.141809)', '2026-07-02 16:17:49', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435711 -3.14183)'), GeomFromEWKT('SRID=4674;POINT (-39.435688 -3.141809)'))) / (select extract(epoch from '2026-07-02 16:17:49'::timestamp) - extract(epoch from '2026-07-02 16:17:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435711 -3.14183)'), GeomFromEWKT('SRID=4674;POINT (-39.435688 -3.141809)'))) / (select extract(epoch from '2026-07-02 16:17:49'::timestamp) - extract(epoch from '2026-07-02 16:17: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'), 47980, 'SRID=4674;POINT (-39.435619 -3.141743)', '2026-07-02 16:17:55', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435688 -3.141809)'), GeomFromEWKT('SRID=4674;POINT (-39.435619 -3.141743)'))) / (select extract(epoch from '2026-07-02 16:17:55'::timestamp) - extract(epoch from '2026-07-02 16:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435688 -3.141809)'), GeomFromEWKT('SRID=4674;POINT (-39.435619 -3.141743)'))) / (select extract(epoch from '2026-07-02 16:17:55'::timestamp) - extract(epoch from '2026-07-02 16:17: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'), 47980, 'SRID=4674;POINT (-39.435518 -3.141688)', '2026-07-02 16:18:02', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435619 -3.141743)'), GeomFromEWKT('SRID=4674;POINT (-39.435518 -3.141688)'))) / (select extract(epoch from '2026-07-02 16:18:02'::timestamp) - extract(epoch from '2026-07-02 16:17:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435619 -3.141743)'), GeomFromEWKT('SRID=4674;POINT (-39.435518 -3.141688)'))) / (select extract(epoch from '2026-07-02 16:18:02'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.435415 -3.14162)', '2026-07-02 16:18:09', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435518 -3.141688)'), GeomFromEWKT('SRID=4674;POINT (-39.435415 -3.14162)'))) / (select extract(epoch from '2026-07-02 16:18:09'::timestamp) - extract(epoch from '2026-07-02 16:18:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435518 -3.141688)'), GeomFromEWKT('SRID=4674;POINT (-39.435415 -3.14162)'))) / (select extract(epoch from '2026-07-02 16:18:09'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.435311 -3.141548)', '2026-07-02 16:18:18', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435415 -3.14162)'), GeomFromEWKT('SRID=4674;POINT (-39.435311 -3.141548)'))) / (select extract(epoch from '2026-07-02 16:18:18'::timestamp) - extract(epoch from '2026-07-02 16:18:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435415 -3.14162)'), GeomFromEWKT('SRID=4674;POINT (-39.435311 -3.141548)'))) / (select extract(epoch from '2026-07-02 16:18:18'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.435237 -3.141486)', '2026-07-02 16:18:24', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435311 -3.141548)'), GeomFromEWKT('SRID=4674;POINT (-39.435237 -3.141486)'))) / (select extract(epoch from '2026-07-02 16:18:24'::timestamp) - extract(epoch from '2026-07-02 16:18:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435311 -3.141548)'), GeomFromEWKT('SRID=4674;POINT (-39.435237 -3.141486)'))) / (select extract(epoch from '2026-07-02 16:18:24'::timestamp) - extract(epoch from '2026-07-02 16:18:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.435164 -3.141423)', '2026-07-02 16:18:31', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435237 -3.141486)'), GeomFromEWKT('SRID=4674;POINT (-39.435164 -3.141423)'))) / (select extract(epoch from '2026-07-02 16:18:31'::timestamp) - extract(epoch from '2026-07-02 16:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435237 -3.141486)'), GeomFromEWKT('SRID=4674;POINT (-39.435164 -3.141423)'))) / (select extract(epoch from '2026-07-02 16:18:31'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.435079 -3.141358)', '2026-07-02 16:18:37', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435164 -3.141423)'), GeomFromEWKT('SRID=4674;POINT (-39.435079 -3.141358)'))) / (select extract(epoch from '2026-07-02 16:18:37'::timestamp) - extract(epoch from '2026-07-02 16:18:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435164 -3.141423)'), GeomFromEWKT('SRID=4674;POINT (-39.435079 -3.141358)'))) / (select extract(epoch from '2026-07-02 16:18:37'::timestamp) - extract(epoch from '2026-07-02 16:18: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'), 47980, 'SRID=4674;POINT (-39.434965 -3.141276)', '2026-07-02 16:18:45', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435079 -3.141358)'), GeomFromEWKT('SRID=4674;POINT (-39.434965 -3.141276)'))) / (select extract(epoch from '2026-07-02 16:18:45'::timestamp) - extract(epoch from '2026-07-02 16:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435079 -3.141358)'), GeomFromEWKT('SRID=4674;POINT (-39.434965 -3.141276)'))) / (select extract(epoch from '2026-07-02 16:18:45'::timestamp) - extract(epoch from '2026-07-02 16:18:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.434888 -3.141211)', '2026-07-02 16:18:52', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434965 -3.141276)'), GeomFromEWKT('SRID=4674;POINT (-39.434888 -3.141211)'))) / (select extract(epoch from '2026-07-02 16:18:52'::timestamp) - extract(epoch from '2026-07-02 16:18:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434965 -3.141276)'), GeomFromEWKT('SRID=4674;POINT (-39.434888 -3.141211)'))) / (select extract(epoch from '2026-07-02 16:18:52'::timestamp) - extract(epoch from '2026-07-02 16:18:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.434876 -3.141202)', '2026-07-02 16:18:53', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434888 -3.141211)'), GeomFromEWKT('SRID=4674;POINT (-39.434876 -3.141202)'))) / (select extract(epoch from '2026-07-02 16:18:53'::timestamp) - extract(epoch from '2026-07-02 16:18:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434888 -3.141211)'), GeomFromEWKT('SRID=4674;POINT (-39.434876 -3.141202)'))) / (select extract(epoch from '2026-07-02 16:18:53'::timestamp) - extract(epoch from '2026-07-02 16:18: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'), 47980, 'SRID=4674;POINT (-39.434838 -3.141157)', '2026-07-02 16:18:57', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434876 -3.141202)'), GeomFromEWKT('SRID=4674;POINT (-39.434838 -3.141157)'))) / (select extract(epoch from '2026-07-02 16:18:57'::timestamp) - extract(epoch from '2026-07-02 16:18:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434876 -3.141202)'), GeomFromEWKT('SRID=4674;POINT (-39.434838 -3.141157)'))) / (select extract(epoch from '2026-07-02 16:18:57'::timestamp) - extract(epoch from '2026-07-02 16:18:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.434775 -3.141098)', '2026-07-02 16:19:03', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434838 -3.141157)'), GeomFromEWKT('SRID=4674;POINT (-39.434775 -3.141098)'))) / (select extract(epoch from '2026-07-02 16:19:03'::timestamp) - extract(epoch from '2026-07-02 16:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434838 -3.141157)'), GeomFromEWKT('SRID=4674;POINT (-39.434775 -3.141098)'))) / (select extract(epoch from '2026-07-02 16:19:03'::timestamp) - extract(epoch from '2026-07-02 16:18: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'), 47980, 'SRID=4674;POINT (-39.434692 -3.141026)', '2026-07-02 16:19:10', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434775 -3.141098)'), GeomFromEWKT('SRID=4674;POINT (-39.434692 -3.141026)'))) / (select extract(epoch from '2026-07-02 16:19:10'::timestamp) - extract(epoch from '2026-07-02 16:19:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434775 -3.141098)'), GeomFromEWKT('SRID=4674;POINT (-39.434692 -3.141026)'))) / (select extract(epoch from '2026-07-02 16:19:10'::timestamp) - extract(epoch from '2026-07-02 16:19: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'), 47980, 'SRID=4674;POINT (-39.434606 -3.14097)', '2026-07-02 16:19:16', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434692 -3.141026)'), GeomFromEWKT('SRID=4674;POINT (-39.434606 -3.14097)'))) / (select extract(epoch from '2026-07-02 16:19:16'::timestamp) - extract(epoch from '2026-07-02 16:19:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434692 -3.141026)'), GeomFromEWKT('SRID=4674;POINT (-39.434606 -3.14097)'))) / (select extract(epoch from '2026-07-02 16:19:16'::timestamp) - extract(epoch from '2026-07-02 16:19: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'), 47980, 'SRID=4674;POINT (-39.434521 -3.140917)', '2026-07-02 16:19:23', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434606 -3.14097)'), GeomFromEWKT('SRID=4674;POINT (-39.434521 -3.140917)'))) / (select extract(epoch from '2026-07-02 16:19:23'::timestamp) - extract(epoch from '2026-07-02 16:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434606 -3.14097)'), GeomFromEWKT('SRID=4674;POINT (-39.434521 -3.140917)'))) / (select extract(epoch from '2026-07-02 16:19:23'::timestamp) - extract(epoch from '2026-07-02 16:19: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'), 47980, 'SRID=4674;POINT (-39.434458 -3.140864)', '2026-07-02 16:19:29', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434521 -3.140917)'), GeomFromEWKT('SRID=4674;POINT (-39.434458 -3.140864)'))) / (select extract(epoch from '2026-07-02 16:19:29'::timestamp) - extract(epoch from '2026-07-02 16:19:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434521 -3.140917)'), GeomFromEWKT('SRID=4674;POINT (-39.434458 -3.140864)'))) / (select extract(epoch from '2026-07-02 16:19:29'::timestamp) - extract(epoch from '2026-07-02 16:19: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'), 47980, 'SRID=4674;POINT (-39.434366 -3.140785)', '2026-07-02 16:19:36', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434458 -3.140864)'), GeomFromEWKT('SRID=4674;POINT (-39.434366 -3.140785)'))) / (select extract(epoch from '2026-07-02 16:19:36'::timestamp) - extract(epoch from '2026-07-02 16:19:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434458 -3.140864)'), GeomFromEWKT('SRID=4674;POINT (-39.434366 -3.140785)'))) / (select extract(epoch from '2026-07-02 16:19:36'::timestamp) - extract(epoch from '2026-07-02 16:19: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'), 47980, 'SRID=4674;POINT (-39.434276 -3.140721)', '2026-07-02 16:19:43', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434366 -3.140785)'), GeomFromEWKT('SRID=4674;POINT (-39.434276 -3.140721)'))) / (select extract(epoch from '2026-07-02 16:19:43'::timestamp) - extract(epoch from '2026-07-02 16:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434366 -3.140785)'), GeomFromEWKT('SRID=4674;POINT (-39.434276 -3.140721)'))) / (select extract(epoch from '2026-07-02 16:19:43'::timestamp) - extract(epoch from '2026-07-02 16:19:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.4342 -3.140672)', '2026-07-02 16:19:49', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434276 -3.140721)'), GeomFromEWKT('SRID=4674;POINT (-39.4342 -3.140672)'))) / (select extract(epoch from '2026-07-02 16:19:49'::timestamp) - extract(epoch from '2026-07-02 16:19:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434276 -3.140721)'), GeomFromEWKT('SRID=4674;POINT (-39.4342 -3.140672)'))) / (select extract(epoch from '2026-07-02 16:19:49'::timestamp) - extract(epoch from '2026-07-02 16:19:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.434136 -3.140605)', '2026-07-02 16:19:56', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4342 -3.140672)'), GeomFromEWKT('SRID=4674;POINT (-39.434136 -3.140605)'))) / (select extract(epoch from '2026-07-02 16:19:56'::timestamp) - extract(epoch from '2026-07-02 16:19:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4342 -3.140672)'), GeomFromEWKT('SRID=4674;POINT (-39.434136 -3.140605)'))) / (select extract(epoch from '2026-07-02 16:19:56'::timestamp) - extract(epoch from '2026-07-02 16:19:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.434075 -3.140552)', '2026-07-02 16:20:02', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434136 -3.140605)'), GeomFromEWKT('SRID=4674;POINT (-39.434075 -3.140552)'))) / (select extract(epoch from '2026-07-02 16:20:02'::timestamp) - extract(epoch from '2026-07-02 16:19:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434136 -3.140605)'), GeomFromEWKT('SRID=4674;POINT (-39.434075 -3.140552)'))) / (select extract(epoch from '2026-07-02 16:20:02'::timestamp) - extract(epoch from '2026-07-02 16:19:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.434004 -3.140494)', '2026-07-02 16:20:08', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434075 -3.140552)'), GeomFromEWKT('SRID=4674;POINT (-39.434004 -3.140494)'))) / (select extract(epoch from '2026-07-02 16:20:08'::timestamp) - extract(epoch from '2026-07-02 16:20:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434075 -3.140552)'), GeomFromEWKT('SRID=4674;POINT (-39.434004 -3.140494)'))) / (select extract(epoch from '2026-07-02 16:20:08'::timestamp) - extract(epoch from '2026-07-02 16:20: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'), 47980, 'SRID=4674;POINT (-39.433927 -3.140416)', '2026-07-02 16:20:15', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434004 -3.140494)'), GeomFromEWKT('SRID=4674;POINT (-39.433927 -3.140416)'))) / (select extract(epoch from '2026-07-02 16:20:15'::timestamp) - extract(epoch from '2026-07-02 16:20:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434004 -3.140494)'), GeomFromEWKT('SRID=4674;POINT (-39.433927 -3.140416)'))) / (select extract(epoch from '2026-07-02 16:20:15'::timestamp) - extract(epoch from '2026-07-02 16:20:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.433859 -3.140357)', '2026-07-02 16:20:21', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433927 -3.140416)'), GeomFromEWKT('SRID=4674;POINT (-39.433859 -3.140357)'))) / (select extract(epoch from '2026-07-02 16:20:21'::timestamp) - extract(epoch from '2026-07-02 16:20:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433927 -3.140416)'), GeomFromEWKT('SRID=4674;POINT (-39.433859 -3.140357)'))) / (select extract(epoch from '2026-07-02 16:20:21'::timestamp) - extract(epoch from '2026-07-02 16:20:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.433851 -3.140347)', '2026-07-02 16:20:22', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433859 -3.140357)'), GeomFromEWKT('SRID=4674;POINT (-39.433851 -3.140347)'))) / (select extract(epoch from '2026-07-02 16:20:22'::timestamp) - extract(epoch from '2026-07-02 16:20:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433859 -3.140357)'), GeomFromEWKT('SRID=4674;POINT (-39.433851 -3.140347)'))) / (select extract(epoch from '2026-07-02 16:20:22'::timestamp) - extract(epoch from '2026-07-02 16:20: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'), 47980, 'SRID=4674;POINT (-39.433793 -3.140279)', '2026-07-02 16:20:28', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433851 -3.140347)'), GeomFromEWKT('SRID=4674;POINT (-39.433793 -3.140279)'))) / (select extract(epoch from '2026-07-02 16:20:28'::timestamp) - extract(epoch from '2026-07-02 16:20:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433851 -3.140347)'), GeomFromEWKT('SRID=4674;POINT (-39.433793 -3.140279)'))) / (select extract(epoch from '2026-07-02 16:20:28'::timestamp) - extract(epoch from '2026-07-02 16:20:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.433734 -3.140217)', '2026-07-02 16:20:35', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433793 -3.140279)'), GeomFromEWKT('SRID=4674;POINT (-39.433734 -3.140217)'))) / (select extract(epoch from '2026-07-02 16:20:35'::timestamp) - extract(epoch from '2026-07-02 16:20:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433793 -3.140279)'), GeomFromEWKT('SRID=4674;POINT (-39.433734 -3.140217)'))) / (select extract(epoch from '2026-07-02 16:20:35'::timestamp) - extract(epoch from '2026-07-02 16:20:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.433729 -3.140211)', '2026-07-02 16:20:36', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433734 -3.140217)'), GeomFromEWKT('SRID=4674;POINT (-39.433729 -3.140211)'))) / (select extract(epoch from '2026-07-02 16:20:36'::timestamp) - extract(epoch from '2026-07-02 16:20:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433734 -3.140217)'), GeomFromEWKT('SRID=4674;POINT (-39.433729 -3.140211)'))) / (select extract(epoch from '2026-07-02 16:20:36'::timestamp) - extract(epoch from '2026-07-02 16:20: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'), 47980, 'SRID=4674;POINT (-39.433688 -3.140174)', '2026-07-02 16:20:41', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433729 -3.140211)'), GeomFromEWKT('SRID=4674;POINT (-39.433688 -3.140174)'))) / (select extract(epoch from '2026-07-02 16:20:41'::timestamp) - extract(epoch from '2026-07-02 16:20:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433729 -3.140211)'), GeomFromEWKT('SRID=4674;POINT (-39.433688 -3.140174)'))) / (select extract(epoch from '2026-07-02 16:20:41'::timestamp) - extract(epoch from '2026-07-02 16:20: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'), 47980, 'SRID=4674;POINT (-39.43359 -3.140095)', '2026-07-02 16:20:50', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433688 -3.140174)'), GeomFromEWKT('SRID=4674;POINT (-39.43359 -3.140095)'))) / (select extract(epoch from '2026-07-02 16:20:50'::timestamp) - extract(epoch from '2026-07-02 16:20:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433688 -3.140174)'), GeomFromEWKT('SRID=4674;POINT (-39.43359 -3.140095)'))) / (select extract(epoch from '2026-07-02 16:20:50'::timestamp) - extract(epoch from '2026-07-02 16:20:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.433475 -3.139994)', '2026-07-02 16:20:59', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43359 -3.140095)'), GeomFromEWKT('SRID=4674;POINT (-39.433475 -3.139994)'))) / (select extract(epoch from '2026-07-02 16:20:59'::timestamp) - extract(epoch from '2026-07-02 16:20:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43359 -3.140095)'), GeomFromEWKT('SRID=4674;POINT (-39.433475 -3.139994)'))) / (select extract(epoch from '2026-07-02 16:20:59'::timestamp) - extract(epoch from '2026-07-02 16:20: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'), 47980, 'SRID=4674;POINT (-39.433438 -3.13997)', '2026-07-02 16:21:02', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433475 -3.139994)'), GeomFromEWKT('SRID=4674;POINT (-39.433438 -3.13997)'))) / (select extract(epoch from '2026-07-02 16:21:02'::timestamp) - extract(epoch from '2026-07-02 16:20:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433475 -3.139994)'), GeomFromEWKT('SRID=4674;POINT (-39.433438 -3.13997)'))) / (select extract(epoch from '2026-07-02 16:21:02'::timestamp) - extract(epoch from '2026-07-02 16:20:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.433428 -3.13996)', '2026-07-02 16:21:03', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433438 -3.13997)'), GeomFromEWKT('SRID=4674;POINT (-39.433428 -3.13996)'))) / (select extract(epoch from '2026-07-02 16:21:03'::timestamp) - extract(epoch from '2026-07-02 16:21:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433438 -3.13997)'), GeomFromEWKT('SRID=4674;POINT (-39.433428 -3.13996)'))) / (select extract(epoch from '2026-07-02 16:21:03'::timestamp) - extract(epoch from '2026-07-02 16:21:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.433369 -3.139913)', '2026-07-02 16:21:09', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433428 -3.13996)'), GeomFromEWKT('SRID=4674;POINT (-39.433369 -3.139913)'))) / (select extract(epoch from '2026-07-02 16:21:09'::timestamp) - extract(epoch from '2026-07-02 16:21:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433428 -3.13996)'), GeomFromEWKT('SRID=4674;POINT (-39.433369 -3.139913)'))) / (select extract(epoch from '2026-07-02 16:21:09'::timestamp) - extract(epoch from '2026-07-02 16:21: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'), 47980, 'SRID=4674;POINT (-39.433357 -3.139904)', '2026-07-02 16:21:10', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433369 -3.139913)'), GeomFromEWKT('SRID=4674;POINT (-39.433357 -3.139904)'))) / (select extract(epoch from '2026-07-02 16:21:10'::timestamp) - extract(epoch from '2026-07-02 16:21:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433369 -3.139913)'), GeomFromEWKT('SRID=4674;POINT (-39.433357 -3.139904)'))) / (select extract(epoch from '2026-07-02 16:21:10'::timestamp) - extract(epoch from '2026-07-02 16:21: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'), 47980, 'SRID=4674;POINT (-39.43334 -3.139876)', '2026-07-02 16:21:12', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433357 -3.139904)'), GeomFromEWKT('SRID=4674;POINT (-39.43334 -3.139876)'))) / (select extract(epoch from '2026-07-02 16:21:12'::timestamp) - extract(epoch from '2026-07-02 16:21:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433357 -3.139904)'), GeomFromEWKT('SRID=4674;POINT (-39.43334 -3.139876)'))) / (select extract(epoch from '2026-07-02 16:21:12'::timestamp) - extract(epoch from '2026-07-02 16:21:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.433304 -3.139842)', '2026-07-02 16:21:15', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43334 -3.139876)'), GeomFromEWKT('SRID=4674;POINT (-39.433304 -3.139842)'))) / (select extract(epoch from '2026-07-02 16:21:15'::timestamp) - extract(epoch from '2026-07-02 16:21:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43334 -3.139876)'), GeomFromEWKT('SRID=4674;POINT (-39.433304 -3.139842)'))) / (select extract(epoch from '2026-07-02 16:21:15'::timestamp) - extract(epoch from '2026-07-02 16:21: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'), 47980, 'SRID=4674;POINT (-39.433242 -3.13981)', '2026-07-02 16:21:20', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433304 -3.139842)'), GeomFromEWKT('SRID=4674;POINT (-39.433242 -3.13981)'))) / (select extract(epoch from '2026-07-02 16:21:20'::timestamp) - extract(epoch from '2026-07-02 16:21:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433304 -3.139842)'), GeomFromEWKT('SRID=4674;POINT (-39.433242 -3.13981)'))) / (select extract(epoch from '2026-07-02 16:21:20'::timestamp) - extract(epoch from '2026-07-02 16:21: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'), 47980, 'SRID=4674;POINT (-39.433187 -3.139786)', '2026-07-02 16:21:24', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433242 -3.13981)'), GeomFromEWKT('SRID=4674;POINT (-39.433187 -3.139786)'))) / (select extract(epoch from '2026-07-02 16:21:24'::timestamp) - extract(epoch from '2026-07-02 16:21:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433242 -3.13981)'), GeomFromEWKT('SRID=4674;POINT (-39.433187 -3.139786)'))) / (select extract(epoch from '2026-07-02 16:21:24'::timestamp) - extract(epoch from '2026-07-02 16:21: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'), 47980, 'SRID=4674;POINT (-39.433176 -3.139781)', '2026-07-02 16:21:25', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433187 -3.139786)'), GeomFromEWKT('SRID=4674;POINT (-39.433176 -3.139781)'))) / (select extract(epoch from '2026-07-02 16:21:25'::timestamp) - extract(epoch from '2026-07-02 16:21:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433187 -3.139786)'), GeomFromEWKT('SRID=4674;POINT (-39.433176 -3.139781)'))) / (select extract(epoch from '2026-07-02 16:21:25'::timestamp) - extract(epoch from '2026-07-02 16:21:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.433123 -3.13974)', '2026-07-02 16:21:29', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433176 -3.139781)'), GeomFromEWKT('SRID=4674;POINT (-39.433123 -3.13974)'))) / (select extract(epoch from '2026-07-02 16:21:29'::timestamp) - extract(epoch from '2026-07-02 16:21:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433176 -3.139781)'), GeomFromEWKT('SRID=4674;POINT (-39.433123 -3.13974)'))) / (select extract(epoch from '2026-07-02 16:21:29'::timestamp) - extract(epoch from '2026-07-02 16:21:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.433117 -3.139731)', '2026-07-02 16:21:30', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433123 -3.13974)'), GeomFromEWKT('SRID=4674;POINT (-39.433117 -3.139731)'))) / (select extract(epoch from '2026-07-02 16:21:30'::timestamp) - extract(epoch from '2026-07-02 16:21:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433123 -3.13974)'), GeomFromEWKT('SRID=4674;POINT (-39.433117 -3.139731)'))) / (select extract(epoch from '2026-07-02 16:21:30'::timestamp) - extract(epoch from '2026-07-02 16:21: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'), 47980, 'SRID=4674;POINT (-39.433098 -3.139711)', '2026-07-02 16:21:32', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433117 -3.139731)'), GeomFromEWKT('SRID=4674;POINT (-39.433098 -3.139711)'))) / (select extract(epoch from '2026-07-02 16:21:32'::timestamp) - extract(epoch from '2026-07-02 16:21:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433117 -3.139731)'), GeomFromEWKT('SRID=4674;POINT (-39.433098 -3.139711)'))) / (select extract(epoch from '2026-07-02 16:21:32'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.433065 -3.139681)', '2026-07-02 16:21:35', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433098 -3.139711)'), GeomFromEWKT('SRID=4674;POINT (-39.433065 -3.139681)'))) / (select extract(epoch from '2026-07-02 16:21:35'::timestamp) - extract(epoch from '2026-07-02 16:21:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433098 -3.139711)'), GeomFromEWKT('SRID=4674;POINT (-39.433065 -3.139681)'))) / (select extract(epoch from '2026-07-02 16:21:35'::timestamp) - extract(epoch from '2026-07-02 16:21: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'), 47980, 'SRID=4674;POINT (-39.433048 -3.139663)', '2026-07-02 16:21:37', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433065 -3.139681)'), GeomFromEWKT('SRID=4674;POINT (-39.433048 -3.139663)'))) / (select extract(epoch from '2026-07-02 16:21:37'::timestamp) - extract(epoch from '2026-07-02 16:21:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433065 -3.139681)'), GeomFromEWKT('SRID=4674;POINT (-39.433048 -3.139663)'))) / (select extract(epoch from '2026-07-02 16:21:37'::timestamp) - extract(epoch from '2026-07-02 16:21:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.433034 -3.139655)', '2026-07-02 16:21:39', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433048 -3.139663)'), GeomFromEWKT('SRID=4674;POINT (-39.433034 -3.139655)'))) / (select extract(epoch from '2026-07-02 16:21:39'::timestamp) - extract(epoch from '2026-07-02 16:21:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433048 -3.139663)'), GeomFromEWKT('SRID=4674;POINT (-39.433034 -3.139655)'))) / (select extract(epoch from '2026-07-02 16:21:39'::timestamp) - extract(epoch from '2026-07-02 16:21: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'), 47980, 'SRID=4674;POINT (-39.433004 -3.139634)', '2026-07-02 16:21:43', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433034 -3.139655)'), GeomFromEWKT('SRID=4674;POINT (-39.433004 -3.139634)'))) / (select extract(epoch from '2026-07-02 16:21:43'::timestamp) - extract(epoch from '2026-07-02 16:21:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433034 -3.139655)'), GeomFromEWKT('SRID=4674;POINT (-39.433004 -3.139634)'))) / (select extract(epoch from '2026-07-02 16:21:43'::timestamp) - extract(epoch from '2026-07-02 16:21: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'), 47980, 'SRID=4674;POINT (-39.432976 -3.139615)', '2026-07-02 16:21:45', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433004 -3.139634)'), GeomFromEWKT('SRID=4674;POINT (-39.432976 -3.139615)'))) / (select extract(epoch from '2026-07-02 16:21:45'::timestamp) - extract(epoch from '2026-07-02 16:21:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433004 -3.139634)'), GeomFromEWKT('SRID=4674;POINT (-39.432976 -3.139615)'))) / (select extract(epoch from '2026-07-02 16:21:45'::timestamp) - extract(epoch from '2026-07-02 16:21: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'), 47980, 'SRID=4674;POINT (-39.432933 -3.139575)', '2026-07-02 16:21:49', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432976 -3.139615)'), GeomFromEWKT('SRID=4674;POINT (-39.432933 -3.139575)'))) / (select extract(epoch from '2026-07-02 16:21:49'::timestamp) - extract(epoch from '2026-07-02 16:21:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432976 -3.139615)'), GeomFromEWKT('SRID=4674;POINT (-39.432933 -3.139575)'))) / (select extract(epoch from '2026-07-02 16:21:49'::timestamp) - extract(epoch from '2026-07-02 16:21: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'), 47980, 'SRID=4674;POINT (-39.432911 -3.13955)', '2026-07-02 16:21:51', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432933 -3.139575)'), GeomFromEWKT('SRID=4674;POINT (-39.432911 -3.13955)'))) / (select extract(epoch from '2026-07-02 16:21:51'::timestamp) - extract(epoch from '2026-07-02 16:21:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432933 -3.139575)'), GeomFromEWKT('SRID=4674;POINT (-39.432911 -3.13955)'))) / (select extract(epoch from '2026-07-02 16:21:51'::timestamp) - extract(epoch from '2026-07-02 16:21:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.4329 -3.139538)', '2026-07-02 16:21:52', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432911 -3.13955)'), GeomFromEWKT('SRID=4674;POINT (-39.4329 -3.139538)'))) / (select extract(epoch from '2026-07-02 16:21:52'::timestamp) - extract(epoch from '2026-07-02 16:21:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432911 -3.13955)'), GeomFromEWKT('SRID=4674;POINT (-39.4329 -3.139538)'))) / (select extract(epoch from '2026-07-02 16:21:52'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.432891 -3.13951)', '2026-07-02 16:21:55', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4329 -3.139538)'), GeomFromEWKT('SRID=4674;POINT (-39.432891 -3.13951)'))) / (select extract(epoch from '2026-07-02 16:21:55'::timestamp) - extract(epoch from '2026-07-02 16:21:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4329 -3.139538)'), GeomFromEWKT('SRID=4674;POINT (-39.432891 -3.13951)'))) / (select extract(epoch from '2026-07-02 16:21:55'::timestamp) - extract(epoch from '2026-07-02 16:21: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'), 47980, 'SRID=4674;POINT (-39.432838 -3.139456)', '2026-07-02 16:22:01', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432891 -3.13951)'), GeomFromEWKT('SRID=4674;POINT (-39.432838 -3.139456)'))) / (select extract(epoch from '2026-07-02 16:22:01'::timestamp) - extract(epoch from '2026-07-02 16:21:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432891 -3.13951)'), GeomFromEWKT('SRID=4674;POINT (-39.432838 -3.139456)'))) / (select extract(epoch from '2026-07-02 16:22:01'::timestamp) - extract(epoch from '2026-07-02 16:21:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.432749 -3.139383)', '2026-07-02 16:22:08', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432838 -3.139456)'), GeomFromEWKT('SRID=4674;POINT (-39.432749 -3.139383)'))) / (select extract(epoch from '2026-07-02 16:22:08'::timestamp) - extract(epoch from '2026-07-02 16:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432838 -3.139456)'), GeomFromEWKT('SRID=4674;POINT (-39.432749 -3.139383)'))) / (select extract(epoch from '2026-07-02 16:22:08'::timestamp) - extract(epoch from '2026-07-02 16:22:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.432669 -3.13932)', '2026-07-02 16:22:14', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432749 -3.139383)'), GeomFromEWKT('SRID=4674;POINT (-39.432669 -3.13932)'))) / (select extract(epoch from '2026-07-02 16:22:14'::timestamp) - extract(epoch from '2026-07-02 16:22:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432749 -3.139383)'), GeomFromEWKT('SRID=4674;POINT (-39.432669 -3.13932)'))) / (select extract(epoch from '2026-07-02 16:22:14'::timestamp) - extract(epoch from '2026-07-02 16:22:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.432607 -3.139264)', '2026-07-02 16:22:20', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432669 -3.13932)'), GeomFromEWKT('SRID=4674;POINT (-39.432607 -3.139264)'))) / (select extract(epoch from '2026-07-02 16:22:20'::timestamp) - extract(epoch from '2026-07-02 16:22:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432669 -3.13932)'), GeomFromEWKT('SRID=4674;POINT (-39.432607 -3.139264)'))) / (select extract(epoch from '2026-07-02 16:22:20'::timestamp) - extract(epoch from '2026-07-02 16:22: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'), 47980, 'SRID=4674;POINT (-39.432545 -3.139221)', '2026-07-02 16:22:25', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432607 -3.139264)'), GeomFromEWKT('SRID=4674;POINT (-39.432545 -3.139221)'))) / (select extract(epoch from '2026-07-02 16:22:25'::timestamp) - extract(epoch from '2026-07-02 16:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432607 -3.139264)'), GeomFromEWKT('SRID=4674;POINT (-39.432545 -3.139221)'))) / (select extract(epoch from '2026-07-02 16:22:25'::timestamp) - extract(epoch from '2026-07-02 16:22:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.432534 -3.139213)', '2026-07-02 16:22:26', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432545 -3.139221)'), GeomFromEWKT('SRID=4674;POINT (-39.432534 -3.139213)'))) / (select extract(epoch from '2026-07-02 16:22:26'::timestamp) - extract(epoch from '2026-07-02 16:22:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432545 -3.139221)'), GeomFromEWKT('SRID=4674;POINT (-39.432534 -3.139213)'))) / (select extract(epoch from '2026-07-02 16:22:26'::timestamp) - extract(epoch from '2026-07-02 16:22: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'), 47980, 'SRID=4674;POINT (-39.432481 -3.139167)', '2026-07-02 16:22:30', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432534 -3.139213)'), GeomFromEWKT('SRID=4674;POINT (-39.432481 -3.139167)'))) / (select extract(epoch from '2026-07-02 16:22:30'::timestamp) - extract(epoch from '2026-07-02 16:22:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432534 -3.139213)'), GeomFromEWKT('SRID=4674;POINT (-39.432481 -3.139167)'))) / (select extract(epoch from '2026-07-02 16:22:30'::timestamp) - extract(epoch from '2026-07-02 16:22:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.432431 -3.139094)', '2026-07-02 16:22:36', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432481 -3.139167)'), GeomFromEWKT('SRID=4674;POINT (-39.432431 -3.139094)'))) / (select extract(epoch from '2026-07-02 16:22:36'::timestamp) - extract(epoch from '2026-07-02 16:22:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432481 -3.139167)'), GeomFromEWKT('SRID=4674;POINT (-39.432431 -3.139094)'))) / (select extract(epoch from '2026-07-02 16:22:36'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.432399 -3.139063)', '2026-07-02 16:22:39', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432431 -3.139094)'), GeomFromEWKT('SRID=4674;POINT (-39.432399 -3.139063)'))) / (select extract(epoch from '2026-07-02 16:22:39'::timestamp) - extract(epoch from '2026-07-02 16:22:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432431 -3.139094)'), GeomFromEWKT('SRID=4674;POINT (-39.432399 -3.139063)'))) / (select extract(epoch from '2026-07-02 16:22:39'::timestamp) - extract(epoch from '2026-07-02 16:22:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.432374 -3.139032)', '2026-07-02 16:22:42', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432399 -3.139063)'), GeomFromEWKT('SRID=4674;POINT (-39.432374 -3.139032)'))) / (select extract(epoch from '2026-07-02 16:22:42'::timestamp) - extract(epoch from '2026-07-02 16:22:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432399 -3.139063)'), GeomFromEWKT('SRID=4674;POINT (-39.432374 -3.139032)'))) / (select extract(epoch from '2026-07-02 16:22:42'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.432273 -3.138939)', '2026-07-02 16:22:52', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432374 -3.139032)'), GeomFromEWKT('SRID=4674;POINT (-39.432273 -3.138939)'))) / (select extract(epoch from '2026-07-02 16:22:52'::timestamp) - extract(epoch from '2026-07-02 16:22:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432374 -3.139032)'), GeomFromEWKT('SRID=4674;POINT (-39.432273 -3.138939)'))) / (select extract(epoch from '2026-07-02 16:22:52'::timestamp) - extract(epoch from '2026-07-02 16:22: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'), 47980, 'SRID=4674;POINT (-39.432218 -3.138893)', '2026-07-02 16:22:57', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432273 -3.138939)'), GeomFromEWKT('SRID=4674;POINT (-39.432218 -3.138893)'))) / (select extract(epoch from '2026-07-02 16:22:57'::timestamp) - extract(epoch from '2026-07-02 16:22:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432273 -3.138939)'), GeomFromEWKT('SRID=4674;POINT (-39.432218 -3.138893)'))) / (select extract(epoch from '2026-07-02 16:22:57'::timestamp) - extract(epoch from '2026-07-02 16:22: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'), 47980, 'SRID=4674;POINT (-39.432164 -3.13882)', '2026-07-02 16:23:03', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432218 -3.138893)'), GeomFromEWKT('SRID=4674;POINT (-39.432164 -3.13882)'))) / (select extract(epoch from '2026-07-02 16:23:03'::timestamp) - extract(epoch from '2026-07-02 16:22:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432218 -3.138893)'), GeomFromEWKT('SRID=4674;POINT (-39.432164 -3.13882)'))) / (select extract(epoch from '2026-07-02 16:23:03'::timestamp) - extract(epoch from '2026-07-02 16:22: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'), 47980, 'SRID=4674;POINT (-39.432071 -3.138754)', '2026-07-02 16:23:10', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432164 -3.13882)'), GeomFromEWKT('SRID=4674;POINT (-39.432071 -3.138754)'))) / (select extract(epoch from '2026-07-02 16:23:10'::timestamp) - extract(epoch from '2026-07-02 16:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432164 -3.13882)'), GeomFromEWKT('SRID=4674;POINT (-39.432071 -3.138754)'))) / (select extract(epoch from '2026-07-02 16:23:10'::timestamp) - extract(epoch from '2026-07-02 16:23: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'), 47980, 'SRID=4674;POINT (-39.431989 -3.138696)', '2026-07-02 16:23:16', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432071 -3.138754)'), GeomFromEWKT('SRID=4674;POINT (-39.431989 -3.138696)'))) / (select extract(epoch from '2026-07-02 16:23:16'::timestamp) - extract(epoch from '2026-07-02 16:23:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432071 -3.138754)'), GeomFromEWKT('SRID=4674;POINT (-39.431989 -3.138696)'))) / (select extract(epoch from '2026-07-02 16:23:16'::timestamp) - extract(epoch from '2026-07-02 16:23: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'), 47980, 'SRID=4674;POINT (-39.43192 -3.138626)', '2026-07-02 16:23:23', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431989 -3.138696)'), GeomFromEWKT('SRID=4674;POINT (-39.43192 -3.138626)'))) / (select extract(epoch from '2026-07-02 16:23:23'::timestamp) - extract(epoch from '2026-07-02 16:23:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431989 -3.138696)'), GeomFromEWKT('SRID=4674;POINT (-39.43192 -3.138626)'))) / (select extract(epoch from '2026-07-02 16:23:23'::timestamp) - extract(epoch from '2026-07-02 16:23:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.431873 -3.138582)', '2026-07-02 16:23:28', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43192 -3.138626)'), GeomFromEWKT('SRID=4674;POINT (-39.431873 -3.138582)'))) / (select extract(epoch from '2026-07-02 16:23:28'::timestamp) - extract(epoch from '2026-07-02 16:23:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43192 -3.138626)'), GeomFromEWKT('SRID=4674;POINT (-39.431873 -3.138582)'))) / (select extract(epoch from '2026-07-02 16:23:28'::timestamp) - extract(epoch from '2026-07-02 16:23: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'), 47980, 'SRID=4674;POINT (-39.431815 -3.13852)', '2026-07-02 16:23:35', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431873 -3.138582)'), GeomFromEWKT('SRID=4674;POINT (-39.431815 -3.13852)'))) / (select extract(epoch from '2026-07-02 16:23:35'::timestamp) - extract(epoch from '2026-07-02 16:23:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431873 -3.138582)'), GeomFromEWKT('SRID=4674;POINT (-39.431815 -3.13852)'))) / (select extract(epoch from '2026-07-02 16:23:35'::timestamp) - extract(epoch from '2026-07-02 16:23: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'), 47980, 'SRID=4674;POINT (-39.431725 -3.138435)', '2026-07-02 16:23:43', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431815 -3.13852)'), GeomFromEWKT('SRID=4674;POINT (-39.431725 -3.138435)'))) / (select extract(epoch from '2026-07-02 16:23:43'::timestamp) - extract(epoch from '2026-07-02 16:23:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431815 -3.13852)'), GeomFromEWKT('SRID=4674;POINT (-39.431725 -3.138435)'))) / (select extract(epoch from '2026-07-02 16:23:43'::timestamp) - extract(epoch from '2026-07-02 16:23: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'), 47980, 'SRID=4674;POINT (-39.431666 -3.138382)', '2026-07-02 16:23:50', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431725 -3.138435)'), GeomFromEWKT('SRID=4674;POINT (-39.431666 -3.138382)'))) / (select extract(epoch from '2026-07-02 16:23:50'::timestamp) - extract(epoch from '2026-07-02 16:23:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431725 -3.138435)'), GeomFromEWKT('SRID=4674;POINT (-39.431666 -3.138382)'))) / (select extract(epoch from '2026-07-02 16:23:50'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.43161 -3.138347)', '2026-07-02 16:23:54', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431666 -3.138382)'), GeomFromEWKT('SRID=4674;POINT (-39.43161 -3.138347)'))) / (select extract(epoch from '2026-07-02 16:23:54'::timestamp) - extract(epoch from '2026-07-02 16:23:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431666 -3.138382)'), GeomFromEWKT('SRID=4674;POINT (-39.43161 -3.138347)'))) / (select extract(epoch from '2026-07-02 16:23:54'::timestamp) - extract(epoch from '2026-07-02 16:23: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'), 47980, 'SRID=4674;POINT (-39.431601 -3.13834)', '2026-07-02 16:23:55', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43161 -3.138347)'), GeomFromEWKT('SRID=4674;POINT (-39.431601 -3.13834)'))) / (select extract(epoch from '2026-07-02 16:23:55'::timestamp) - extract(epoch from '2026-07-02 16:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43161 -3.138347)'), GeomFromEWKT('SRID=4674;POINT (-39.431601 -3.13834)'))) / (select extract(epoch from '2026-07-02 16:23:55'::timestamp) - extract(epoch from '2026-07-02 16:23:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.431573 -3.13831)', '2026-07-02 16:23:58', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431601 -3.13834)'), GeomFromEWKT('SRID=4674;POINT (-39.431573 -3.13831)'))) / (select extract(epoch from '2026-07-02 16:23:58'::timestamp) - extract(epoch from '2026-07-02 16:23:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431601 -3.13834)'), GeomFromEWKT('SRID=4674;POINT (-39.431573 -3.13831)'))) / (select extract(epoch from '2026-07-02 16:23:58'::timestamp) - extract(epoch from '2026-07-02 16:23: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'), 47980, 'SRID=4674;POINT (-39.431519 -3.138258)', '2026-07-02 16:24:04', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431573 -3.13831)'), GeomFromEWKT('SRID=4674;POINT (-39.431519 -3.138258)'))) / (select extract(epoch from '2026-07-02 16:24:04'::timestamp) - extract(epoch from '2026-07-02 16:23:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431573 -3.13831)'), GeomFromEWKT('SRID=4674;POINT (-39.431519 -3.138258)'))) / (select extract(epoch from '2026-07-02 16:24:04'::timestamp) - extract(epoch from '2026-07-02 16:23: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'), 47980, 'SRID=4674;POINT (-39.431475 -3.138222)', '2026-07-02 16:24:08', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431519 -3.138258)'), GeomFromEWKT('SRID=4674;POINT (-39.431475 -3.138222)'))) / (select extract(epoch from '2026-07-02 16:24:08'::timestamp) - extract(epoch from '2026-07-02 16:24:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431519 -3.138258)'), GeomFromEWKT('SRID=4674;POINT (-39.431475 -3.138222)'))) / (select extract(epoch from '2026-07-02 16:24:08'::timestamp) - extract(epoch from '2026-07-02 16:24: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'), 47980, 'SRID=4674;POINT (-39.431462 -3.138214)', '2026-07-02 16:24:09', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431475 -3.138222)'), GeomFromEWKT('SRID=4674;POINT (-39.431462 -3.138214)'))) / (select extract(epoch from '2026-07-02 16:24:09'::timestamp) - extract(epoch from '2026-07-02 16:24:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431475 -3.138222)'), GeomFromEWKT('SRID=4674;POINT (-39.431462 -3.138214)'))) / (select extract(epoch from '2026-07-02 16:24:09'::timestamp) - extract(epoch from '2026-07-02 16:24: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'), 47980, 'SRID=4674;POINT (-39.431413 -3.13818)', '2026-07-02 16:24:13', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431462 -3.138214)'), GeomFromEWKT('SRID=4674;POINT (-39.431413 -3.13818)'))) / (select extract(epoch from '2026-07-02 16:24:13'::timestamp) - extract(epoch from '2026-07-02 16:24:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431462 -3.138214)'), GeomFromEWKT('SRID=4674;POINT (-39.431413 -3.13818)'))) / (select extract(epoch from '2026-07-02 16:24:13'::timestamp) - extract(epoch from '2026-07-02 16:24: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'), 47980, 'SRID=4674;POINT (-39.431308 -3.138126)', '2026-07-02 16:24:21', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431413 -3.13818)'), GeomFromEWKT('SRID=4674;POINT (-39.431308 -3.138126)'))) / (select extract(epoch from '2026-07-02 16:24:21'::timestamp) - extract(epoch from '2026-07-02 16:24:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431413 -3.13818)'), GeomFromEWKT('SRID=4674;POINT (-39.431308 -3.138126)'))) / (select extract(epoch from '2026-07-02 16:24:21'::timestamp) - extract(epoch from '2026-07-02 16:24: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'), 47980, 'SRID=4674;POINT (-39.431276 -3.138105)', '2026-07-02 16:24:24', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431308 -3.138126)'), GeomFromEWKT('SRID=4674;POINT (-39.431276 -3.138105)'))) / (select extract(epoch from '2026-07-02 16:24:24'::timestamp) - extract(epoch from '2026-07-02 16:24:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431308 -3.138126)'), GeomFromEWKT('SRID=4674;POINT (-39.431276 -3.138105)'))) / (select extract(epoch from '2026-07-02 16:24:24'::timestamp) - extract(epoch from '2026-07-02 16:24:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.431257 -3.13809)', '2026-07-02 16:24:26', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431276 -3.138105)'), GeomFromEWKT('SRID=4674;POINT (-39.431257 -3.13809)'))) / (select extract(epoch from '2026-07-02 16:24:26'::timestamp) - extract(epoch from '2026-07-02 16:24:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431276 -3.138105)'), GeomFromEWKT('SRID=4674;POINT (-39.431257 -3.13809)'))) / (select extract(epoch from '2026-07-02 16:24:26'::timestamp) - extract(epoch from '2026-07-02 16:24: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'), 47980, 'SRID=4674;POINT (-39.431193 -3.138032)', '2026-07-02 16:24:32', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431257 -3.13809)'), GeomFromEWKT('SRID=4674;POINT (-39.431193 -3.138032)'))) / (select extract(epoch from '2026-07-02 16:24:32'::timestamp) - extract(epoch from '2026-07-02 16:24:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431257 -3.13809)'), GeomFromEWKT('SRID=4674;POINT (-39.431193 -3.138032)'))) / (select extract(epoch from '2026-07-02 16:24:32'::timestamp) - extract(epoch from '2026-07-02 16:24: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'), 47980, 'SRID=4674;POINT (-39.431115 -3.137929)', '2026-07-02 16:24:40', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431193 -3.138032)'), GeomFromEWKT('SRID=4674;POINT (-39.431115 -3.137929)'))) / (select extract(epoch from '2026-07-02 16:24:40'::timestamp) - extract(epoch from '2026-07-02 16:24:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431193 -3.138032)'), GeomFromEWKT('SRID=4674;POINT (-39.431115 -3.137929)'))) / (select extract(epoch from '2026-07-02 16:24:40'::timestamp) - extract(epoch from '2026-07-02 16:24: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'), 47980, 'SRID=4674;POINT (-39.431042 -3.137857)', '2026-07-02 16:24:47', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431115 -3.137929)'), GeomFromEWKT('SRID=4674;POINT (-39.431042 -3.137857)'))) / (select extract(epoch from '2026-07-02 16:24:47'::timestamp) - extract(epoch from '2026-07-02 16:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431115 -3.137929)'), GeomFromEWKT('SRID=4674;POINT (-39.431042 -3.137857)'))) / (select extract(epoch from '2026-07-02 16:24:47'::timestamp) - extract(epoch from '2026-07-02 16:24: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'), 47980, 'SRID=4674;POINT (-39.431 -3.137807)', '2026-07-02 16:24:52', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431042 -3.137857)'), GeomFromEWKT('SRID=4674;POINT (-39.431 -3.137807)'))) / (select extract(epoch from '2026-07-02 16:24:52'::timestamp) - extract(epoch from '2026-07-02 16:24:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431042 -3.137857)'), GeomFromEWKT('SRID=4674;POINT (-39.431 -3.137807)'))) / (select extract(epoch from '2026-07-02 16:24:52'::timestamp) - extract(epoch from '2026-07-02 16:24: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'), 47980, 'SRID=4674;POINT (-39.430948 -3.13775)', '2026-07-02 16:24:58', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431 -3.137807)'), GeomFromEWKT('SRID=4674;POINT (-39.430948 -3.13775)'))) / (select extract(epoch from '2026-07-02 16:24:58'::timestamp) - extract(epoch from '2026-07-02 16:24:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431 -3.137807)'), GeomFromEWKT('SRID=4674;POINT (-39.430948 -3.13775)'))) / (select extract(epoch from '2026-07-02 16:24:58'::timestamp) - extract(epoch from '2026-07-02 16:24:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.430878 -3.137695)', '2026-07-02 16:25:05', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430948 -3.13775)'), GeomFromEWKT('SRID=4674;POINT (-39.430878 -3.137695)'))) / (select extract(epoch from '2026-07-02 16:25:05'::timestamp) - extract(epoch from '2026-07-02 16:24:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430948 -3.13775)'), GeomFromEWKT('SRID=4674;POINT (-39.430878 -3.137695)'))) / (select extract(epoch from '2026-07-02 16:25:05'::timestamp) - extract(epoch from '2026-07-02 16:24: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'), 47980, 'SRID=4674;POINT (-39.430819 -3.137631)', '2026-07-02 16:25:11', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430878 -3.137695)'), GeomFromEWKT('SRID=4674;POINT (-39.430819 -3.137631)'))) / (select extract(epoch from '2026-07-02 16:25:11'::timestamp) - extract(epoch from '2026-07-02 16:25:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430878 -3.137695)'), GeomFromEWKT('SRID=4674;POINT (-39.430819 -3.137631)'))) / (select extract(epoch from '2026-07-02 16:25:11'::timestamp) - extract(epoch from '2026-07-02 16:25: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'), 47980, 'SRID=4674;POINT (-39.430751 -3.13756)', '2026-07-02 16:25:18', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430819 -3.137631)'), GeomFromEWKT('SRID=4674;POINT (-39.430751 -3.13756)'))) / (select extract(epoch from '2026-07-02 16:25:18'::timestamp) - extract(epoch from '2026-07-02 16:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430819 -3.137631)'), GeomFromEWKT('SRID=4674;POINT (-39.430751 -3.13756)'))) / (select extract(epoch from '2026-07-02 16:25:18'::timestamp) - extract(epoch from '2026-07-02 16:25:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.430662 -3.137469)', '2026-07-02 16:25:26', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430751 -3.13756)'), GeomFromEWKT('SRID=4674;POINT (-39.430662 -3.137469)'))) / (select extract(epoch from '2026-07-02 16:25:26'::timestamp) - extract(epoch from '2026-07-02 16:25:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430751 -3.13756)'), GeomFromEWKT('SRID=4674;POINT (-39.430662 -3.137469)'))) / (select extract(epoch from '2026-07-02 16:25:26'::timestamp) - extract(epoch from '2026-07-02 16:25:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.430626 -3.137427)', '2026-07-02 16:25:30', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430662 -3.137469)'), GeomFromEWKT('SRID=4674;POINT (-39.430626 -3.137427)'))) / (select extract(epoch from '2026-07-02 16:25:30'::timestamp) - extract(epoch from '2026-07-02 16:25:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430662 -3.137469)'), GeomFromEWKT('SRID=4674;POINT (-39.430626 -3.137427)'))) / (select extract(epoch from '2026-07-02 16:25:30'::timestamp) - extract(epoch from '2026-07-02 16:25:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.430591 -3.137404)', '2026-07-02 16:25:33', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430626 -3.137427)'), GeomFromEWKT('SRID=4674;POINT (-39.430591 -3.137404)'))) / (select extract(epoch from '2026-07-02 16:25:33'::timestamp) - extract(epoch from '2026-07-02 16:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430626 -3.137427)'), GeomFromEWKT('SRID=4674;POINT (-39.430591 -3.137404)'))) / (select extract(epoch from '2026-07-02 16:25:33'::timestamp) - extract(epoch from '2026-07-02 16:25:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.430561 -3.137375)', '2026-07-02 16:25:36', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430591 -3.137404)'), GeomFromEWKT('SRID=4674;POINT (-39.430561 -3.137375)'))) / (select extract(epoch from '2026-07-02 16:25:36'::timestamp) - extract(epoch from '2026-07-02 16:25:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430591 -3.137404)'), GeomFromEWKT('SRID=4674;POINT (-39.430561 -3.137375)'))) / (select extract(epoch from '2026-07-02 16:25:36'::timestamp) - extract(epoch from '2026-07-02 16:25: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'), 47980, 'SRID=4674;POINT (-39.43051 -3.137317)', '2026-07-02 16:25:42', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430561 -3.137375)'), GeomFromEWKT('SRID=4674;POINT (-39.43051 -3.137317)'))) / (select extract(epoch from '2026-07-02 16:25:42'::timestamp) - extract(epoch from '2026-07-02 16:25:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430561 -3.137375)'), GeomFromEWKT('SRID=4674;POINT (-39.43051 -3.137317)'))) / (select extract(epoch from '2026-07-02 16:25:42'::timestamp) - extract(epoch from '2026-07-02 16:25: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'), 47980, 'SRID=4674;POINT (-39.430496 -3.137296)', '2026-07-02 16:25:44', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43051 -3.137317)'), GeomFromEWKT('SRID=4674;POINT (-39.430496 -3.137296)'))) / (select extract(epoch from '2026-07-02 16:25:44'::timestamp) - extract(epoch from '2026-07-02 16:25:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43051 -3.137317)'), GeomFromEWKT('SRID=4674;POINT (-39.430496 -3.137296)'))) / (select extract(epoch from '2026-07-02 16:25:44'::timestamp) - extract(epoch from '2026-07-02 16:25:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.430468 -3.137266)', '2026-07-02 16:25:47', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430496 -3.137296)'), GeomFromEWKT('SRID=4674;POINT (-39.430468 -3.137266)'))) / (select extract(epoch from '2026-07-02 16:25:47'::timestamp) - extract(epoch from '2026-07-02 16:25:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430496 -3.137296)'), GeomFromEWKT('SRID=4674;POINT (-39.430468 -3.137266)'))) / (select extract(epoch from '2026-07-02 16:25:47'::timestamp) - extract(epoch from '2026-07-02 16:25: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'), 47980, 'SRID=4674;POINT (-39.430431 -3.137222)', '2026-07-02 16:25:51', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430468 -3.137266)'), GeomFromEWKT('SRID=4674;POINT (-39.430431 -3.137222)'))) / (select extract(epoch from '2026-07-02 16:25:51'::timestamp) - extract(epoch from '2026-07-02 16:25:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430468 -3.137266)'), GeomFromEWKT('SRID=4674;POINT (-39.430431 -3.137222)'))) / (select extract(epoch from '2026-07-02 16:25:51'::timestamp) - extract(epoch from '2026-07-02 16:25: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'), 47980, 'SRID=4674;POINT (-39.430412 -3.137204)', '2026-07-02 16:25:53', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430431 -3.137222)'), GeomFromEWKT('SRID=4674;POINT (-39.430412 -3.137204)'))) / (select extract(epoch from '2026-07-02 16:25:53'::timestamp) - extract(epoch from '2026-07-02 16:25:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430431 -3.137222)'), GeomFromEWKT('SRID=4674;POINT (-39.430412 -3.137204)'))) / (select extract(epoch from '2026-07-02 16:25:53'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.430356 -3.13715)', '2026-07-02 16:25:58', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430412 -3.137204)'), GeomFromEWKT('SRID=4674;POINT (-39.430356 -3.13715)'))) / (select extract(epoch from '2026-07-02 16:25:58'::timestamp) - extract(epoch from '2026-07-02 16:25:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430412 -3.137204)'), GeomFromEWKT('SRID=4674;POINT (-39.430356 -3.13715)'))) / (select extract(epoch from '2026-07-02 16:25:58'::timestamp) - extract(epoch from '2026-07-02 16:25:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.430278 -3.137087)', '2026-07-02 16:26:06', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430356 -3.13715)'), GeomFromEWKT('SRID=4674;POINT (-39.430278 -3.137087)'))) / (select extract(epoch from '2026-07-02 16:26:06'::timestamp) - extract(epoch from '2026-07-02 16:25:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430356 -3.13715)'), GeomFromEWKT('SRID=4674;POINT (-39.430278 -3.137087)'))) / (select extract(epoch from '2026-07-02 16:26:06'::timestamp) - extract(epoch from '2026-07-02 16:25:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.430215 -3.137039)', '2026-07-02 16:26:12', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430278 -3.137087)'), GeomFromEWKT('SRID=4674;POINT (-39.430215 -3.137039)'))) / (select extract(epoch from '2026-07-02 16:26:12'::timestamp) - extract(epoch from '2026-07-02 16:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430278 -3.137087)'), GeomFromEWKT('SRID=4674;POINT (-39.430215 -3.137039)'))) / (select extract(epoch from '2026-07-02 16:26:12'::timestamp) - extract(epoch from '2026-07-02 16:26:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.430207 -3.137025)', '2026-07-02 16:26:13', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430215 -3.137039)'), GeomFromEWKT('SRID=4674;POINT (-39.430207 -3.137025)'))) / (select extract(epoch from '2026-07-02 16:26:13'::timestamp) - extract(epoch from '2026-07-02 16:26:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430215 -3.137039)'), GeomFromEWKT('SRID=4674;POINT (-39.430207 -3.137025)'))) / (select extract(epoch from '2026-07-02 16:26:13'::timestamp) - extract(epoch from '2026-07-02 16:26: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'), 47980, 'SRID=4674;POINT (-39.430171 -3.136991)', '2026-07-02 16:26:16', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430207 -3.137025)'), GeomFromEWKT('SRID=4674;POINT (-39.430171 -3.136991)'))) / (select extract(epoch from '2026-07-02 16:26:16'::timestamp) - extract(epoch from '2026-07-02 16:26:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430207 -3.137025)'), GeomFromEWKT('SRID=4674;POINT (-39.430171 -3.136991)'))) / (select extract(epoch from '2026-07-02 16:26:16'::timestamp) - extract(epoch from '2026-07-02 16:26:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.43013 -3.13696)', '2026-07-02 16:26:19', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430171 -3.136991)'), GeomFromEWKT('SRID=4674;POINT (-39.43013 -3.13696)'))) / (select extract(epoch from '2026-07-02 16:26:19'::timestamp) - extract(epoch from '2026-07-02 16:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430171 -3.136991)'), GeomFromEWKT('SRID=4674;POINT (-39.43013 -3.13696)'))) / (select extract(epoch from '2026-07-02 16:26:19'::timestamp) - extract(epoch from '2026-07-02 16:26: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'), 47980, 'SRID=4674;POINT (-39.430112 -3.13695)', '2026-07-02 16:26:21', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43013 -3.13696)'), GeomFromEWKT('SRID=4674;POINT (-39.430112 -3.13695)'))) / (select extract(epoch from '2026-07-02 16:26:21'::timestamp) - extract(epoch from '2026-07-02 16:26:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43013 -3.13696)'), GeomFromEWKT('SRID=4674;POINT (-39.430112 -3.13695)'))) / (select extract(epoch from '2026-07-02 16:26:21'::timestamp) - extract(epoch from '2026-07-02 16:26: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'), 47980, 'SRID=4674;POINT (-39.430054 -3.136929)', '2026-07-02 16:26:27', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430112 -3.13695)'), GeomFromEWKT('SRID=4674;POINT (-39.430054 -3.136929)'))) / (select extract(epoch from '2026-07-02 16:26:27'::timestamp) - extract(epoch from '2026-07-02 16:26:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430112 -3.13695)'), GeomFromEWKT('SRID=4674;POINT (-39.430054 -3.136929)'))) / (select extract(epoch from '2026-07-02 16:26:27'::timestamp) - extract(epoch from '2026-07-02 16:26:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.429993 -3.136901)', '2026-07-02 16:26:33', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430054 -3.136929)'), GeomFromEWKT('SRID=4674;POINT (-39.429993 -3.136901)'))) / (select extract(epoch from '2026-07-02 16:26:33'::timestamp) - extract(epoch from '2026-07-02 16:26:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430054 -3.136929)'), GeomFromEWKT('SRID=4674;POINT (-39.429993 -3.136901)'))) / (select extract(epoch from '2026-07-02 16:26:33'::timestamp) - extract(epoch from '2026-07-02 16:26: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'), 47980, 'SRID=4674;POINT (-39.429928 -3.136849)', '2026-07-02 16:26:40', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429993 -3.136901)'), GeomFromEWKT('SRID=4674;POINT (-39.429928 -3.136849)'))) / (select extract(epoch from '2026-07-02 16:26:40'::timestamp) - extract(epoch from '2026-07-02 16:26:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429993 -3.136901)'), GeomFromEWKT('SRID=4674;POINT (-39.429928 -3.136849)'))) / (select extract(epoch from '2026-07-02 16:26:40'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.429857 -3.136773)', '2026-07-02 16:26:48', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429928 -3.136849)'), GeomFromEWKT('SRID=4674;POINT (-39.429857 -3.136773)'))) / (select extract(epoch from '2026-07-02 16:26:48'::timestamp) - extract(epoch from '2026-07-02 16:26:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429928 -3.136849)'), GeomFromEWKT('SRID=4674;POINT (-39.429857 -3.136773)'))) / (select extract(epoch from '2026-07-02 16:26:48'::timestamp) - extract(epoch from '2026-07-02 16:26: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'), 47980, 'SRID=4674;POINT (-39.429803 -3.136709)', '2026-07-02 16:26:55', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429857 -3.136773)'), GeomFromEWKT('SRID=4674;POINT (-39.429803 -3.136709)'))) / (select extract(epoch from '2026-07-02 16:26:55'::timestamp) - extract(epoch from '2026-07-02 16:26:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429857 -3.136773)'), GeomFromEWKT('SRID=4674;POINT (-39.429803 -3.136709)'))) / (select extract(epoch from '2026-07-02 16:26:55'::timestamp) - extract(epoch from '2026-07-02 16:26: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'), 47980, 'SRID=4674;POINT (-39.429776 -3.136686)', '2026-07-02 16:26:58', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429803 -3.136709)'), GeomFromEWKT('SRID=4674;POINT (-39.429776 -3.136686)'))) / (select extract(epoch from '2026-07-02 16:26:58'::timestamp) - extract(epoch from '2026-07-02 16:26:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429803 -3.136709)'), GeomFromEWKT('SRID=4674;POINT (-39.429776 -3.136686)'))) / (select extract(epoch from '2026-07-02 16:26:58'::timestamp) - extract(epoch from '2026-07-02 16:26: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'), 47980, 'SRID=4674;POINT (-39.429743 -3.13666)', '2026-07-02 16:27:01', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429776 -3.136686)'), GeomFromEWKT('SRID=4674;POINT (-39.429743 -3.13666)'))) / (select extract(epoch from '2026-07-02 16:27:01'::timestamp) - extract(epoch from '2026-07-02 16:26:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429776 -3.136686)'), GeomFromEWKT('SRID=4674;POINT (-39.429743 -3.13666)'))) / (select extract(epoch from '2026-07-02 16:27:01'::timestamp) - extract(epoch from '2026-07-02 16:26: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'), 47980, 'SRID=4674;POINT (-39.429672 -3.136594)', '2026-07-02 16:27:09', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429743 -3.13666)'), GeomFromEWKT('SRID=4674;POINT (-39.429672 -3.136594)'))) / (select extract(epoch from '2026-07-02 16:27:09'::timestamp) - extract(epoch from '2026-07-02 16:27:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429743 -3.13666)'), GeomFromEWKT('SRID=4674;POINT (-39.429672 -3.136594)'))) / (select extract(epoch from '2026-07-02 16:27:09'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.429647 -3.136559)', '2026-07-02 16:27:12', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429672 -3.136594)'), GeomFromEWKT('SRID=4674;POINT (-39.429647 -3.136559)'))) / (select extract(epoch from '2026-07-02 16:27:12'::timestamp) - extract(epoch from '2026-07-02 16:27:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429672 -3.136594)'), GeomFromEWKT('SRID=4674;POINT (-39.429647 -3.136559)'))) / (select extract(epoch from '2026-07-02 16:27:12'::timestamp) - extract(epoch from '2026-07-02 16:27: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'), 47980, 'SRID=4674;POINT (-39.429627 -3.136539)', '2026-07-02 16:27:14', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429647 -3.136559)'), GeomFromEWKT('SRID=4674;POINT (-39.429627 -3.136539)'))) / (select extract(epoch from '2026-07-02 16:27:14'::timestamp) - extract(epoch from '2026-07-02 16:27:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429647 -3.136559)'), GeomFromEWKT('SRID=4674;POINT (-39.429627 -3.136539)'))) / (select extract(epoch from '2026-07-02 16:27:14'::timestamp) - extract(epoch from '2026-07-02 16:27:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.429576 -3.136493)', '2026-07-02 16:27:19', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429627 -3.136539)'), GeomFromEWKT('SRID=4674;POINT (-39.429576 -3.136493)'))) / (select extract(epoch from '2026-07-02 16:27:19'::timestamp) - extract(epoch from '2026-07-02 16:27:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429627 -3.136539)'), GeomFromEWKT('SRID=4674;POINT (-39.429576 -3.136493)'))) / (select extract(epoch from '2026-07-02 16:27:19'::timestamp) - extract(epoch from '2026-07-02 16:27: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'), 47980, 'SRID=4674;POINT (-39.42957 -3.136482)', '2026-07-02 16:27:20', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429576 -3.136493)'), GeomFromEWKT('SRID=4674;POINT (-39.42957 -3.136482)'))) / (select extract(epoch from '2026-07-02 16:27:20'::timestamp) - extract(epoch from '2026-07-02 16:27:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429576 -3.136493)'), GeomFromEWKT('SRID=4674;POINT (-39.42957 -3.136482)'))) / (select extract(epoch from '2026-07-02 16:27:20'::timestamp) - extract(epoch from '2026-07-02 16:27:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.42952 -3.136439)', '2026-07-02 16:27:24', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42957 -3.136482)'), GeomFromEWKT('SRID=4674;POINT (-39.42952 -3.136439)'))) / (select extract(epoch from '2026-07-02 16:27:24'::timestamp) - extract(epoch from '2026-07-02 16:27:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42957 -3.136482)'), GeomFromEWKT('SRID=4674;POINT (-39.42952 -3.136439)'))) / (select extract(epoch from '2026-07-02 16:27:24'::timestamp) - extract(epoch from '2026-07-02 16:27: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'), 47980, 'SRID=4674;POINT (-39.429445 -3.136371)', '2026-07-02 16:27:31', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42952 -3.136439)'), GeomFromEWKT('SRID=4674;POINT (-39.429445 -3.136371)'))) / (select extract(epoch from '2026-07-02 16:27:31'::timestamp) - extract(epoch from '2026-07-02 16:27:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42952 -3.136439)'), GeomFromEWKT('SRID=4674;POINT (-39.429445 -3.136371)'))) / (select extract(epoch from '2026-07-02 16:27:31'::timestamp) - extract(epoch from '2026-07-02 16:27: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'), 47980, 'SRID=4674;POINT (-39.429401 -3.136339)', '2026-07-02 16:27:36', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429445 -3.136371)'), GeomFromEWKT('SRID=4674;POINT (-39.429401 -3.136339)'))) / (select extract(epoch from '2026-07-02 16:27:36'::timestamp) - extract(epoch from '2026-07-02 16:27:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429445 -3.136371)'), GeomFromEWKT('SRID=4674;POINT (-39.429401 -3.136339)'))) / (select extract(epoch from '2026-07-02 16:27:36'::timestamp) - extract(epoch from '2026-07-02 16:27: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'), 47980, 'SRID=4674;POINT (-39.429384 -3.136331)', '2026-07-02 16:27:38', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429401 -3.136339)'), GeomFromEWKT('SRID=4674;POINT (-39.429384 -3.136331)'))) / (select extract(epoch from '2026-07-02 16:27:38'::timestamp) - extract(epoch from '2026-07-02 16:27:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429401 -3.136339)'), GeomFromEWKT('SRID=4674;POINT (-39.429384 -3.136331)'))) / (select extract(epoch from '2026-07-02 16:27:38'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.429371 -3.136329)', '2026-07-02 16:27:40', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429384 -3.136331)'), GeomFromEWKT('SRID=4674;POINT (-39.429371 -3.136329)'))) / (select extract(epoch from '2026-07-02 16:27:40'::timestamp) - extract(epoch from '2026-07-02 16:27:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429384 -3.136331)'), GeomFromEWKT('SRID=4674;POINT (-39.429371 -3.136329)'))) / (select extract(epoch from '2026-07-02 16:27:40'::timestamp) - extract(epoch from '2026-07-02 16:27: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'), 47980, 'SRID=4674;POINT (-39.429366 -3.13632)', '2026-07-02 16:27:41', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429371 -3.136329)'), GeomFromEWKT('SRID=4674;POINT (-39.429366 -3.13632)'))) / (select extract(epoch from '2026-07-02 16:27:41'::timestamp) - extract(epoch from '2026-07-02 16:27:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429371 -3.136329)'), GeomFromEWKT('SRID=4674;POINT (-39.429366 -3.13632)'))) / (select extract(epoch from '2026-07-02 16:27:41'::timestamp) - extract(epoch from '2026-07-02 16:27:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.429319 -3.136285)', '2026-07-02 16:27:45', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429366 -3.13632)'), GeomFromEWKT('SRID=4674;POINT (-39.429319 -3.136285)'))) / (select extract(epoch from '2026-07-02 16:27:45'::timestamp) - extract(epoch from '2026-07-02 16:27:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429366 -3.13632)'), GeomFromEWKT('SRID=4674;POINT (-39.429319 -3.136285)'))) / (select extract(epoch from '2026-07-02 16:27:45'::timestamp) - extract(epoch from '2026-07-02 16:27: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'), 47980, 'SRID=4674;POINT (-39.429312 -3.136284)', '2026-07-02 16:27:46', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429319 -3.136285)'), GeomFromEWKT('SRID=4674;POINT (-39.429312 -3.136284)'))) / (select extract(epoch from '2026-07-02 16:27:46'::timestamp) - extract(epoch from '2026-07-02 16:27:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429319 -3.136285)'), GeomFromEWKT('SRID=4674;POINT (-39.429312 -3.136284)'))) / (select extract(epoch from '2026-07-02 16:27:46'::timestamp) - extract(epoch from '2026-07-02 16:27:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.429265 -3.136251)', '2026-07-02 16:27:50', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429312 -3.136284)'), GeomFromEWKT('SRID=4674;POINT (-39.429265 -3.136251)'))) / (select extract(epoch from '2026-07-02 16:27:50'::timestamp) - extract(epoch from '2026-07-02 16:27:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429312 -3.136284)'), GeomFromEWKT('SRID=4674;POINT (-39.429265 -3.136251)'))) / (select extract(epoch from '2026-07-02 16:27:50'::timestamp) - extract(epoch from '2026-07-02 16:27: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'), 47980, 'SRID=4674;POINT (-39.429258 -3.136241)', '2026-07-02 16:27:51', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429265 -3.136251)'), GeomFromEWKT('SRID=4674;POINT (-39.429258 -3.136241)'))) / (select extract(epoch from '2026-07-02 16:27:51'::timestamp) - extract(epoch from '2026-07-02 16:27:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429265 -3.136251)'), GeomFromEWKT('SRID=4674;POINT (-39.429258 -3.136241)'))) / (select extract(epoch from '2026-07-02 16:27:51'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.429204 -3.136193)', '2026-07-02 16:27:56', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429258 -3.136241)'), GeomFromEWKT('SRID=4674;POINT (-39.429204 -3.136193)'))) / (select extract(epoch from '2026-07-02 16:27:56'::timestamp) - extract(epoch from '2026-07-02 16:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429258 -3.136241)'), GeomFromEWKT('SRID=4674;POINT (-39.429204 -3.136193)'))) / (select extract(epoch from '2026-07-02 16:27:56'::timestamp) - extract(epoch from '2026-07-02 16:27: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'), 47980, 'SRID=4674;POINT (-39.429152 -3.136136)', '2026-07-02 16:28:01', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429204 -3.136193)'), GeomFromEWKT('SRID=4674;POINT (-39.429152 -3.136136)'))) / (select extract(epoch from '2026-07-02 16:28:01'::timestamp) - extract(epoch from '2026-07-02 16:27:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429204 -3.136193)'), GeomFromEWKT('SRID=4674;POINT (-39.429152 -3.136136)'))) / (select extract(epoch from '2026-07-02 16:28:01'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.429083 -3.13608)', '2026-07-02 16:28:07', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429152 -3.136136)'), GeomFromEWKT('SRID=4674;POINT (-39.429083 -3.13608)'))) / (select extract(epoch from '2026-07-02 16:28:07'::timestamp) - extract(epoch from '2026-07-02 16:28:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429152 -3.136136)'), GeomFromEWKT('SRID=4674;POINT (-39.429083 -3.13608)'))) / (select extract(epoch from '2026-07-02 16:28:07'::timestamp) - extract(epoch from '2026-07-02 16:28:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.42902 -3.136038)', '2026-07-02 16:28:12', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429083 -3.13608)'), GeomFromEWKT('SRID=4674;POINT (-39.42902 -3.136038)'))) / (select extract(epoch from '2026-07-02 16:28:12'::timestamp) - extract(epoch from '2026-07-02 16:28:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429083 -3.13608)'), GeomFromEWKT('SRID=4674;POINT (-39.42902 -3.136038)'))) / (select extract(epoch from '2026-07-02 16:28:12'::timestamp) - extract(epoch from '2026-07-02 16:28:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.428943 -3.135983)', '2026-07-02 16:28:18', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42902 -3.136038)'), GeomFromEWKT('SRID=4674;POINT (-39.428943 -3.135983)'))) / (select extract(epoch from '2026-07-02 16:28:18'::timestamp) - extract(epoch from '2026-07-02 16:28:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42902 -3.136038)'), GeomFromEWKT('SRID=4674;POINT (-39.428943 -3.135983)'))) / (select extract(epoch from '2026-07-02 16:28:18'::timestamp) - extract(epoch from '2026-07-02 16:28: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'), 47980, 'SRID=4674;POINT (-39.42888 -3.135923)', '2026-07-02 16:28:24', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428943 -3.135983)'), GeomFromEWKT('SRID=4674;POINT (-39.42888 -3.135923)'))) / (select extract(epoch from '2026-07-02 16:28:24'::timestamp) - extract(epoch from '2026-07-02 16:28:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428943 -3.135983)'), GeomFromEWKT('SRID=4674;POINT (-39.42888 -3.135923)'))) / (select extract(epoch from '2026-07-02 16:28:24'::timestamp) - extract(epoch from '2026-07-02 16:28: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'), 47980, 'SRID=4674;POINT (-39.428822 -3.135872)', '2026-07-02 16:28:29', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42888 -3.135923)'), GeomFromEWKT('SRID=4674;POINT (-39.428822 -3.135872)'))) / (select extract(epoch from '2026-07-02 16:28:29'::timestamp) - extract(epoch from '2026-07-02 16:28:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42888 -3.135923)'), GeomFromEWKT('SRID=4674;POINT (-39.428822 -3.135872)'))) / (select extract(epoch from '2026-07-02 16:28:29'::timestamp) - extract(epoch from '2026-07-02 16:28:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.428748 -3.135817)', '2026-07-02 16:28:35', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428822 -3.135872)'), GeomFromEWKT('SRID=4674;POINT (-39.428748 -3.135817)'))) / (select extract(epoch from '2026-07-02 16:28:35'::timestamp) - extract(epoch from '2026-07-02 16:28:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428822 -3.135872)'), GeomFromEWKT('SRID=4674;POINT (-39.428748 -3.135817)'))) / (select extract(epoch from '2026-07-02 16:28:35'::timestamp) - extract(epoch from '2026-07-02 16:28:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.428666 -3.135757)', '2026-07-02 16:28:42', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428748 -3.135817)'), GeomFromEWKT('SRID=4674;POINT (-39.428666 -3.135757)'))) / (select extract(epoch from '2026-07-02 16:28:42'::timestamp) - extract(epoch from '2026-07-02 16:28:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428748 -3.135817)'), GeomFromEWKT('SRID=4674;POINT (-39.428666 -3.135757)'))) / (select extract(epoch from '2026-07-02 16:28:42'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.428598 -3.135696)', '2026-07-02 16:28:48', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428666 -3.135757)'), GeomFromEWKT('SRID=4674;POINT (-39.428598 -3.135696)'))) / (select extract(epoch from '2026-07-02 16:28:48'::timestamp) - extract(epoch from '2026-07-02 16:28:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428666 -3.135757)'), GeomFromEWKT('SRID=4674;POINT (-39.428598 -3.135696)'))) / (select extract(epoch from '2026-07-02 16:28:48'::timestamp) - extract(epoch from '2026-07-02 16:28: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'), 47980, 'SRID=4674;POINT (-39.428566 -3.135657)', '2026-07-02 16:28:52', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428598 -3.135696)'), GeomFromEWKT('SRID=4674;POINT (-39.428566 -3.135657)'))) / (select extract(epoch from '2026-07-02 16:28:52'::timestamp) - extract(epoch from '2026-07-02 16:28:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428598 -3.135696)'), GeomFromEWKT('SRID=4674;POINT (-39.428566 -3.135657)'))) / (select extract(epoch from '2026-07-02 16:28:52'::timestamp) - extract(epoch from '2026-07-02 16:28:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.428525 -3.135614)', '2026-07-02 16:28:56', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428566 -3.135657)'), GeomFromEWKT('SRID=4674;POINT (-39.428525 -3.135614)'))) / (select extract(epoch from '2026-07-02 16:28:56'::timestamp) - extract(epoch from '2026-07-02 16:28:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428566 -3.135657)'), GeomFromEWKT('SRID=4674;POINT (-39.428525 -3.135614)'))) / (select extract(epoch from '2026-07-02 16:28:56'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.428506 -3.135597)', '2026-07-02 16:28:58', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428525 -3.135614)'), GeomFromEWKT('SRID=4674;POINT (-39.428506 -3.135597)'))) / (select extract(epoch from '2026-07-02 16:28:58'::timestamp) - extract(epoch from '2026-07-02 16:28:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428525 -3.135614)'), GeomFromEWKT('SRID=4674;POINT (-39.428506 -3.135597)'))) / (select extract(epoch from '2026-07-02 16:28:58'::timestamp) - extract(epoch from '2026-07-02 16:28:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.428436 -3.135555)', '2026-07-02 16:29:04', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428506 -3.135597)'), GeomFromEWKT('SRID=4674;POINT (-39.428436 -3.135555)'))) / (select extract(epoch from '2026-07-02 16:29:04'::timestamp) - extract(epoch from '2026-07-02 16:28:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428506 -3.135597)'), GeomFromEWKT('SRID=4674;POINT (-39.428436 -3.135555)'))) / (select extract(epoch from '2026-07-02 16:29:04'::timestamp) - extract(epoch from '2026-07-02 16:28: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'), 47980, 'SRID=4674;POINT (-39.428366 -3.135486)', '2026-07-02 16:29:10', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428436 -3.135555)'), GeomFromEWKT('SRID=4674;POINT (-39.428366 -3.135486)'))) / (select extract(epoch from '2026-07-02 16:29:10'::timestamp) - extract(epoch from '2026-07-02 16:29:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428436 -3.135555)'), GeomFromEWKT('SRID=4674;POINT (-39.428366 -3.135486)'))) / (select extract(epoch from '2026-07-02 16:29:10'::timestamp) - extract(epoch from '2026-07-02 16:29: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'), 47980, 'SRID=4674;POINT (-39.428298 -3.13543)', '2026-07-02 16:29:17', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428366 -3.135486)'), GeomFromEWKT('SRID=4674;POINT (-39.428298 -3.13543)'))) / (select extract(epoch from '2026-07-02 16:29:17'::timestamp) - extract(epoch from '2026-07-02 16:29:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428366 -3.135486)'), GeomFromEWKT('SRID=4674;POINT (-39.428298 -3.13543)'))) / (select extract(epoch from '2026-07-02 16:29:17'::timestamp) - extract(epoch from '2026-07-02 16:29:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.42822 -3.135372)', '2026-07-02 16:29:24', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428298 -3.13543)'), GeomFromEWKT('SRID=4674;POINT (-39.42822 -3.135372)'))) / (select extract(epoch from '2026-07-02 16:29:24'::timestamp) - extract(epoch from '2026-07-02 16:29:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428298 -3.13543)'), GeomFromEWKT('SRID=4674;POINT (-39.42822 -3.135372)'))) / (select extract(epoch from '2026-07-02 16:29:24'::timestamp) - extract(epoch from '2026-07-02 16:29:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.42814 -3.135325)', '2026-07-02 16:29:30', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42822 -3.135372)'), GeomFromEWKT('SRID=4674;POINT (-39.42814 -3.135325)'))) / (select extract(epoch from '2026-07-02 16:29:30'::timestamp) - extract(epoch from '2026-07-02 16:29:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42822 -3.135372)'), GeomFromEWKT('SRID=4674;POINT (-39.42814 -3.135325)'))) / (select extract(epoch from '2026-07-02 16:29:30'::timestamp) - extract(epoch from '2026-07-02 16:29:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.428074 -3.135273)', '2026-07-02 16:29:36', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42814 -3.135325)'), GeomFromEWKT('SRID=4674;POINT (-39.428074 -3.135273)'))) / (select extract(epoch from '2026-07-02 16:29:36'::timestamp) - extract(epoch from '2026-07-02 16:29:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42814 -3.135325)'), GeomFromEWKT('SRID=4674;POINT (-39.428074 -3.135273)'))) / (select extract(epoch from '2026-07-02 16:29:36'::timestamp) - extract(epoch from '2026-07-02 16:29: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'), 47980, 'SRID=4674;POINT (-39.428003 -3.135202)', '2026-07-02 16:29:43', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428074 -3.135273)'), GeomFromEWKT('SRID=4674;POINT (-39.428003 -3.135202)'))) / (select extract(epoch from '2026-07-02 16:29:43'::timestamp) - extract(epoch from '2026-07-02 16:29:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428074 -3.135273)'), GeomFromEWKT('SRID=4674;POINT (-39.428003 -3.135202)'))) / (select extract(epoch from '2026-07-02 16:29:43'::timestamp) - extract(epoch from '2026-07-02 16:29:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.427934 -3.135151)', '2026-07-02 16:29:49', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428003 -3.135202)'), GeomFromEWKT('SRID=4674;POINT (-39.427934 -3.135151)'))) / (select extract(epoch from '2026-07-02 16:29:49'::timestamp) - extract(epoch from '2026-07-02 16:29:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428003 -3.135202)'), GeomFromEWKT('SRID=4674;POINT (-39.427934 -3.135151)'))) / (select extract(epoch from '2026-07-02 16:29:49'::timestamp) - extract(epoch from '2026-07-02 16:29:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.427884 -3.135109)', '2026-07-02 16:29:54', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427934 -3.135151)'), GeomFromEWKT('SRID=4674;POINT (-39.427884 -3.135109)'))) / (select extract(epoch from '2026-07-02 16:29:54'::timestamp) - extract(epoch from '2026-07-02 16:29:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427934 -3.135151)'), GeomFromEWKT('SRID=4674;POINT (-39.427884 -3.135109)'))) / (select extract(epoch from '2026-07-02 16:29:54'::timestamp) - extract(epoch from '2026-07-02 16:29: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'), 47980, 'SRID=4674;POINT (-39.427842 -3.135065)', '2026-07-02 16:29:59', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427884 -3.135109)'), GeomFromEWKT('SRID=4674;POINT (-39.427842 -3.135065)'))) / (select extract(epoch from '2026-07-02 16:29:59'::timestamp) - extract(epoch from '2026-07-02 16:29:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427884 -3.135109)'), GeomFromEWKT('SRID=4674;POINT (-39.427842 -3.135065)'))) / (select extract(epoch from '2026-07-02 16:29:59'::timestamp) - extract(epoch from '2026-07-02 16:29:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.427784 -3.135014)', '2026-07-02 16:30:05', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427842 -3.135065)'), GeomFromEWKT('SRID=4674;POINT (-39.427784 -3.135014)'))) / (select extract(epoch from '2026-07-02 16:30:05'::timestamp) - extract(epoch from '2026-07-02 16:29:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427842 -3.135065)'), GeomFromEWKT('SRID=4674;POINT (-39.427784 -3.135014)'))) / (select extract(epoch from '2026-07-02 16:30:05'::timestamp) - extract(epoch from '2026-07-02 16:29: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'), 47980, 'SRID=4674;POINT (-39.42771 -3.134957)', '2026-07-02 16:30:11', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427784 -3.135014)'), GeomFromEWKT('SRID=4674;POINT (-39.42771 -3.134957)'))) / (select extract(epoch from '2026-07-02 16:30:11'::timestamp) - extract(epoch from '2026-07-02 16:30:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427784 -3.135014)'), GeomFromEWKT('SRID=4674;POINT (-39.42771 -3.134957)'))) / (select extract(epoch from '2026-07-02 16:30:11'::timestamp) - extract(epoch from '2026-07-02 16:30: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'), 47980, 'SRID=4674;POINT (-39.427632 -3.13491)', '2026-07-02 16:30:17', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42771 -3.134957)'), GeomFromEWKT('SRID=4674;POINT (-39.427632 -3.13491)'))) / (select extract(epoch from '2026-07-02 16:30:17'::timestamp) - extract(epoch from '2026-07-02 16:30:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42771 -3.134957)'), GeomFromEWKT('SRID=4674;POINT (-39.427632 -3.13491)'))) / (select extract(epoch from '2026-07-02 16:30:17'::timestamp) - extract(epoch from '2026-07-02 16:30: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'), 47980, 'SRID=4674;POINT (-39.427552 -3.134859)', '2026-07-02 16:30:24', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427632 -3.13491)'), GeomFromEWKT('SRID=4674;POINT (-39.427552 -3.134859)'))) / (select extract(epoch from '2026-07-02 16:30:24'::timestamp) - extract(epoch from '2026-07-02 16:30:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427632 -3.13491)'), GeomFromEWKT('SRID=4674;POINT (-39.427552 -3.134859)'))) / (select extract(epoch from '2026-07-02 16:30:24'::timestamp) - extract(epoch from '2026-07-02 16:30:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.427471 -3.134786)', '2026-07-02 16:30:32', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427552 -3.134859)'), GeomFromEWKT('SRID=4674;POINT (-39.427471 -3.134786)'))) / (select extract(epoch from '2026-07-02 16:30:32'::timestamp) - extract(epoch from '2026-07-02 16:30:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427552 -3.134859)'), GeomFromEWKT('SRID=4674;POINT (-39.427471 -3.134786)'))) / (select extract(epoch from '2026-07-02 16:30:32'::timestamp) - extract(epoch from '2026-07-02 16:30: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'), 47980, 'SRID=4674;POINT (-39.427407 -3.134749)', '2026-07-02 16:30:37', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427471 -3.134786)'), GeomFromEWKT('SRID=4674;POINT (-39.427407 -3.134749)'))) / (select extract(epoch from '2026-07-02 16:30:37'::timestamp) - extract(epoch from '2026-07-02 16:30:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427471 -3.134786)'), GeomFromEWKT('SRID=4674;POINT (-39.427407 -3.134749)'))) / (select extract(epoch from '2026-07-02 16:30:37'::timestamp) - extract(epoch from '2026-07-02 16:30: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'), 47980, 'SRID=4674;POINT (-39.42733 -3.134694)', '2026-07-02 16:30:44', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427407 -3.134749)'), GeomFromEWKT('SRID=4674;POINT (-39.42733 -3.134694)'))) / (select extract(epoch from '2026-07-02 16:30:44'::timestamp) - extract(epoch from '2026-07-02 16:30:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427407 -3.134749)'), GeomFromEWKT('SRID=4674;POINT (-39.42733 -3.134694)'))) / (select extract(epoch from '2026-07-02 16:30:44'::timestamp) - extract(epoch from '2026-07-02 16:30: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'), 47980, 'SRID=4674;POINT (-39.427256 -3.134628)', '2026-07-02 16:30:51', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42733 -3.134694)'), GeomFromEWKT('SRID=4674;POINT (-39.427256 -3.134628)'))) / (select extract(epoch from '2026-07-02 16:30:51'::timestamp) - extract(epoch from '2026-07-02 16:30:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42733 -3.134694)'), GeomFromEWKT('SRID=4674;POINT (-39.427256 -3.134628)'))) / (select extract(epoch from '2026-07-02 16:30:51'::timestamp) - extract(epoch from '2026-07-02 16:30: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'), 47980, 'SRID=4674;POINT (-39.427197 -3.134577)', '2026-07-02 16:30:57', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427256 -3.134628)'), GeomFromEWKT('SRID=4674;POINT (-39.427197 -3.134577)'))) / (select extract(epoch from '2026-07-02 16:30:57'::timestamp) - extract(epoch from '2026-07-02 16:30:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427256 -3.134628)'), GeomFromEWKT('SRID=4674;POINT (-39.427197 -3.134577)'))) / (select extract(epoch from '2026-07-02 16:30:57'::timestamp) - extract(epoch from '2026-07-02 16:30:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.427115 -3.134515)', '2026-07-02 16:31:05', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427197 -3.134577)'), GeomFromEWKT('SRID=4674;POINT (-39.427115 -3.134515)'))) / (select extract(epoch from '2026-07-02 16:31:05'::timestamp) - extract(epoch from '2026-07-02 16:30:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427197 -3.134577)'), GeomFromEWKT('SRID=4674;POINT (-39.427115 -3.134515)'))) / (select extract(epoch from '2026-07-02 16:31:05'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.427048 -3.134475)', '2026-07-02 16:31:10', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427115 -3.134515)'), GeomFromEWKT('SRID=4674;POINT (-39.427048 -3.134475)'))) / (select extract(epoch from '2026-07-02 16:31:10'::timestamp) - extract(epoch from '2026-07-02 16:31:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427115 -3.134515)'), GeomFromEWKT('SRID=4674;POINT (-39.427048 -3.134475)'))) / (select extract(epoch from '2026-07-02 16:31:10'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.426996 -3.134431)', '2026-07-02 16:31:15', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427048 -3.134475)'), GeomFromEWKT('SRID=4674;POINT (-39.426996 -3.134431)'))) / (select extract(epoch from '2026-07-02 16:31:15'::timestamp) - extract(epoch from '2026-07-02 16:31:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427048 -3.134475)'), GeomFromEWKT('SRID=4674;POINT (-39.426996 -3.134431)'))) / (select extract(epoch from '2026-07-02 16:31:15'::timestamp) - extract(epoch from '2026-07-02 16:31: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'), 47980, 'SRID=4674;POINT (-39.426927 -3.134345)', '2026-07-02 16:31:23', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426996 -3.134431)'), GeomFromEWKT('SRID=4674;POINT (-39.426927 -3.134345)'))) / (select extract(epoch from '2026-07-02 16:31:23'::timestamp) - extract(epoch from '2026-07-02 16:31:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426996 -3.134431)'), GeomFromEWKT('SRID=4674;POINT (-39.426927 -3.134345)'))) / (select extract(epoch from '2026-07-02 16:31:23'::timestamp) - extract(epoch from '2026-07-02 16:31:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.426879 -3.134293)', '2026-07-02 16:31:29', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426927 -3.134345)'), GeomFromEWKT('SRID=4674;POINT (-39.426879 -3.134293)'))) / (select extract(epoch from '2026-07-02 16:31:29'::timestamp) - extract(epoch from '2026-07-02 16:31:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426927 -3.134345)'), GeomFromEWKT('SRID=4674;POINT (-39.426879 -3.134293)'))) / (select extract(epoch from '2026-07-02 16:31:29'::timestamp) - extract(epoch from '2026-07-02 16:31: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'), 47980, 'SRID=4674;POINT (-39.426807 -3.13424)', '2026-07-02 16:31:36', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426879 -3.134293)'), GeomFromEWKT('SRID=4674;POINT (-39.426807 -3.13424)'))) / (select extract(epoch from '2026-07-02 16:31:36'::timestamp) - extract(epoch from '2026-07-02 16:31:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426879 -3.134293)'), GeomFromEWKT('SRID=4674;POINT (-39.426807 -3.13424)'))) / (select extract(epoch from '2026-07-02 16:31:36'::timestamp) - extract(epoch from '2026-07-02 16:31: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'), 47980, 'SRID=4674;POINT (-39.426769 -3.134207)', '2026-07-02 16:31:39', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426807 -3.13424)'), GeomFromEWKT('SRID=4674;POINT (-39.426769 -3.134207)'))) / (select extract(epoch from '2026-07-02 16:31:39'::timestamp) - extract(epoch from '2026-07-02 16:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426807 -3.13424)'), GeomFromEWKT('SRID=4674;POINT (-39.426769 -3.134207)'))) / (select extract(epoch from '2026-07-02 16:31:39'::timestamp) - extract(epoch from '2026-07-02 16:31:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.426761 -3.134195)', '2026-07-02 16:31:40', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426769 -3.134207)'), GeomFromEWKT('SRID=4674;POINT (-39.426761 -3.134195)'))) / (select extract(epoch from '2026-07-02 16:31:40'::timestamp) - extract(epoch from '2026-07-02 16:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426769 -3.134207)'), GeomFromEWKT('SRID=4674;POINT (-39.426761 -3.134195)'))) / (select extract(epoch from '2026-07-02 16:31:40'::timestamp) - extract(epoch from '2026-07-02 16:31: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'), 47980, 'SRID=4674;POINT (-39.426698 -3.134124)', '2026-07-02 16:31:46', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426761 -3.134195)'), GeomFromEWKT('SRID=4674;POINT (-39.426698 -3.134124)'))) / (select extract(epoch from '2026-07-02 16:31:46'::timestamp) - extract(epoch from '2026-07-02 16:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426761 -3.134195)'), GeomFromEWKT('SRID=4674;POINT (-39.426698 -3.134124)'))) / (select extract(epoch from '2026-07-02 16:31:46'::timestamp) - extract(epoch from '2026-07-02 16:31: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'), 47980, 'SRID=4674;POINT (-39.426609 -3.134038)', '2026-07-02 16:31:54', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426698 -3.134124)'), GeomFromEWKT('SRID=4674;POINT (-39.426609 -3.134038)'))) / (select extract(epoch from '2026-07-02 16:31:54'::timestamp) - extract(epoch from '2026-07-02 16:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426698 -3.134124)'), GeomFromEWKT('SRID=4674;POINT (-39.426609 -3.134038)'))) / (select extract(epoch from '2026-07-02 16:31:54'::timestamp) - extract(epoch from '2026-07-02 16:31:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.426589 -3.134019)', '2026-07-02 16:31:56', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426609 -3.134038)'), GeomFromEWKT('SRID=4674;POINT (-39.426589 -3.134019)'))) / (select extract(epoch from '2026-07-02 16:31:56'::timestamp) - extract(epoch from '2026-07-02 16:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426609 -3.134038)'), GeomFromEWKT('SRID=4674;POINT (-39.426589 -3.134019)'))) / (select extract(epoch from '2026-07-02 16:31:56'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.426571 -3.134002)', '2026-07-02 16:31:58', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426589 -3.134019)'), GeomFromEWKT('SRID=4674;POINT (-39.426571 -3.134002)'))) / (select extract(epoch from '2026-07-02 16:31:58'::timestamp) - extract(epoch from '2026-07-02 16:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426589 -3.134019)'), GeomFromEWKT('SRID=4674;POINT (-39.426571 -3.134002)'))) / (select extract(epoch from '2026-07-02 16:31:58'::timestamp) - extract(epoch from '2026-07-02 16:31: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'), 47980, 'SRID=4674;POINT (-39.426507 -3.133939)', '2026-07-02 16:32:05', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426571 -3.134002)'), GeomFromEWKT('SRID=4674;POINT (-39.426507 -3.133939)'))) / (select extract(epoch from '2026-07-02 16:32:05'::timestamp) - extract(epoch from '2026-07-02 16:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426571 -3.134002)'), GeomFromEWKT('SRID=4674;POINT (-39.426507 -3.133939)'))) / (select extract(epoch from '2026-07-02 16:32:05'::timestamp) - extract(epoch from '2026-07-02 16:31:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.426469 -3.133907)', '2026-07-02 16:32:09', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426507 -3.133939)'), GeomFromEWKT('SRID=4674;POINT (-39.426469 -3.133907)'))) / (select extract(epoch from '2026-07-02 16:32:09'::timestamp) - extract(epoch from '2026-07-02 16:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426507 -3.133939)'), GeomFromEWKT('SRID=4674;POINT (-39.426469 -3.133907)'))) / (select extract(epoch from '2026-07-02 16:32:09'::timestamp) - extract(epoch from '2026-07-02 16:32:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.426413 -3.133863)', '2026-07-02 16:32:14', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426469 -3.133907)'), GeomFromEWKT('SRID=4674;POINT (-39.426413 -3.133863)'))) / (select extract(epoch from '2026-07-02 16:32:14'::timestamp) - extract(epoch from '2026-07-02 16:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426469 -3.133907)'), GeomFromEWKT('SRID=4674;POINT (-39.426413 -3.133863)'))) / (select extract(epoch from '2026-07-02 16:32:14'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.426374 -3.133836)', '2026-07-02 16:32:17', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426413 -3.133863)'), GeomFromEWKT('SRID=4674;POINT (-39.426374 -3.133836)'))) / (select extract(epoch from '2026-07-02 16:32:17'::timestamp) - extract(epoch from '2026-07-02 16:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426413 -3.133863)'), GeomFromEWKT('SRID=4674;POINT (-39.426374 -3.133836)'))) / (select extract(epoch from '2026-07-02 16:32:17'::timestamp) - extract(epoch from '2026-07-02 16:32:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.42635 -3.133827)', '2026-07-02 16:32:19', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426374 -3.133836)'), GeomFromEWKT('SRID=4674;POINT (-39.42635 -3.133827)'))) / (select extract(epoch from '2026-07-02 16:32:19'::timestamp) - extract(epoch from '2026-07-02 16:32:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426374 -3.133836)'), GeomFromEWKT('SRID=4674;POINT (-39.42635 -3.133827)'))) / (select extract(epoch from '2026-07-02 16:32:19'::timestamp) - extract(epoch from '2026-07-02 16:32: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'), 47980, 'SRID=4674;POINT (-39.42628 -3.133755)', '2026-07-02 16:32:26', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42635 -3.133827)'), GeomFromEWKT('SRID=4674;POINT (-39.42628 -3.133755)'))) / (select extract(epoch from '2026-07-02 16:32:26'::timestamp) - extract(epoch from '2026-07-02 16:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42635 -3.133827)'), GeomFromEWKT('SRID=4674;POINT (-39.42628 -3.133755)'))) / (select extract(epoch from '2026-07-02 16:32:26'::timestamp) - extract(epoch from '2026-07-02 16:32: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'), 47980, 'SRID=4674;POINT (-39.426201 -3.133698)', '2026-07-02 16:32:33', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42628 -3.133755)'), GeomFromEWKT('SRID=4674;POINT (-39.426201 -3.133698)'))) / (select extract(epoch from '2026-07-02 16:32:33'::timestamp) - extract(epoch from '2026-07-02 16:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42628 -3.133755)'), GeomFromEWKT('SRID=4674;POINT (-39.426201 -3.133698)'))) / (select extract(epoch from '2026-07-02 16:32:33'::timestamp) - extract(epoch from '2026-07-02 16:32:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.426123 -3.133622)', '2026-07-02 16:32:40', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426201 -3.133698)'), GeomFromEWKT('SRID=4674;POINT (-39.426123 -3.133622)'))) / (select extract(epoch from '2026-07-02 16:32:40'::timestamp) - extract(epoch from '2026-07-02 16:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426201 -3.133698)'), GeomFromEWKT('SRID=4674;POINT (-39.426123 -3.133622)'))) / (select extract(epoch from '2026-07-02 16:32:40'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.426033 -3.133543)', '2026-07-02 16:32:47', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426123 -3.133622)'), GeomFromEWKT('SRID=4674;POINT (-39.426033 -3.133543)'))) / (select extract(epoch from '2026-07-02 16:32:47'::timestamp) - extract(epoch from '2026-07-02 16:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426123 -3.133622)'), GeomFromEWKT('SRID=4674;POINT (-39.426033 -3.133543)'))) / (select extract(epoch from '2026-07-02 16:32:47'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.42596 -3.133485)', '2026-07-02 16:32:54', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426033 -3.133543)'), GeomFromEWKT('SRID=4674;POINT (-39.42596 -3.133485)'))) / (select extract(epoch from '2026-07-02 16:32:54'::timestamp) - extract(epoch from '2026-07-02 16:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426033 -3.133543)'), GeomFromEWKT('SRID=4674;POINT (-39.42596 -3.133485)'))) / (select extract(epoch from '2026-07-02 16:32:54'::timestamp) - extract(epoch from '2026-07-02 16:32: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'), 47980, 'SRID=4674;POINT (-39.425892 -3.133434)', '2026-07-02 16:33:01', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42596 -3.133485)'), GeomFromEWKT('SRID=4674;POINT (-39.425892 -3.133434)'))) / (select extract(epoch from '2026-07-02 16:33:01'::timestamp) - extract(epoch from '2026-07-02 16:32:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42596 -3.133485)'), GeomFromEWKT('SRID=4674;POINT (-39.425892 -3.133434)'))) / (select extract(epoch from '2026-07-02 16:33:01'::timestamp) - extract(epoch from '2026-07-02 16:32:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.425883 -3.133428)', '2026-07-02 16:33:02', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425892 -3.133434)'), GeomFromEWKT('SRID=4674;POINT (-39.425883 -3.133428)'))) / (select extract(epoch from '2026-07-02 16:33:02'::timestamp) - extract(epoch from '2026-07-02 16:33:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425892 -3.133434)'), GeomFromEWKT('SRID=4674;POINT (-39.425883 -3.133428)'))) / (select extract(epoch from '2026-07-02 16:33:02'::timestamp) - extract(epoch from '2026-07-02 16:33: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'), 47980, 'SRID=4674;POINT (-39.425855 -3.133407)', '2026-07-02 16:33:07', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425883 -3.133428)'), GeomFromEWKT('SRID=4674;POINT (-39.425855 -3.133407)'))) / (select extract(epoch from '2026-07-02 16:33:07'::timestamp) - extract(epoch from '2026-07-02 16:33:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425883 -3.133428)'), GeomFromEWKT('SRID=4674;POINT (-39.425855 -3.133407)'))) / (select extract(epoch from '2026-07-02 16:33:07'::timestamp) - extract(epoch from '2026-07-02 16:33:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.425793 -3.133362)', '2026-07-02 16:33:13', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425855 -3.133407)'), GeomFromEWKT('SRID=4674;POINT (-39.425793 -3.133362)'))) / (select extract(epoch from '2026-07-02 16:33:13'::timestamp) - extract(epoch from '2026-07-02 16:33:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425855 -3.133407)'), GeomFromEWKT('SRID=4674;POINT (-39.425793 -3.133362)'))) / (select extract(epoch from '2026-07-02 16:33:13'::timestamp) - extract(epoch from '2026-07-02 16:33: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'), 47980, 'SRID=4674;POINT (-39.425728 -3.133293)', '2026-07-02 16:33:20', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425793 -3.133362)'), GeomFromEWKT('SRID=4674;POINT (-39.425728 -3.133293)'))) / (select extract(epoch from '2026-07-02 16:33:20'::timestamp) - extract(epoch from '2026-07-02 16:33:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425793 -3.133362)'), GeomFromEWKT('SRID=4674;POINT (-39.425728 -3.133293)'))) / (select extract(epoch from '2026-07-02 16:33:20'::timestamp) - extract(epoch from '2026-07-02 16:33: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'), 47980, 'SRID=4674;POINT (-39.425672 -3.13323)', '2026-07-02 16:33:26', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425728 -3.133293)'), GeomFromEWKT('SRID=4674;POINT (-39.425672 -3.13323)'))) / (select extract(epoch from '2026-07-02 16:33:26'::timestamp) - extract(epoch from '2026-07-02 16:33:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425728 -3.133293)'), GeomFromEWKT('SRID=4674;POINT (-39.425672 -3.13323)'))) / (select extract(epoch from '2026-07-02 16:33:26'::timestamp) - extract(epoch from '2026-07-02 16:33:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.425666 -3.133219)', '2026-07-02 16:33:27', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425672 -3.13323)'), GeomFromEWKT('SRID=4674;POINT (-39.425666 -3.133219)'))) / (select extract(epoch from '2026-07-02 16:33:27'::timestamp) - extract(epoch from '2026-07-02 16:33:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425672 -3.13323)'), GeomFromEWKT('SRID=4674;POINT (-39.425666 -3.133219)'))) / (select extract(epoch from '2026-07-02 16:33:27'::timestamp) - extract(epoch from '2026-07-02 16:33: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'), 47980, 'SRID=4674;POINT (-39.425637 -3.133182)', '2026-07-02 16:33:30', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425666 -3.133219)'), GeomFromEWKT('SRID=4674;POINT (-39.425637 -3.133182)'))) / (select extract(epoch from '2026-07-02 16:33:30'::timestamp) - extract(epoch from '2026-07-02 16:33:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425666 -3.133219)'), GeomFromEWKT('SRID=4674;POINT (-39.425637 -3.133182)'))) / (select extract(epoch from '2026-07-02 16:33:30'::timestamp) - extract(epoch from '2026-07-02 16:33: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'), 47980, 'SRID=4674;POINT (-39.425585 -3.1331)', '2026-07-02 16:33:36', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425637 -3.133182)'), GeomFromEWKT('SRID=4674;POINT (-39.425585 -3.1331)'))) / (select extract(epoch from '2026-07-02 16:33:36'::timestamp) - extract(epoch from '2026-07-02 16:33:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425637 -3.133182)'), GeomFromEWKT('SRID=4674;POINT (-39.425585 -3.1331)'))) / (select extract(epoch from '2026-07-02 16:33:36'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.425506 -3.133032)', '2026-07-02 16:33:44', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425585 -3.1331)'), GeomFromEWKT('SRID=4674;POINT (-39.425506 -3.133032)'))) / (select extract(epoch from '2026-07-02 16:33:44'::timestamp) - extract(epoch from '2026-07-02 16:33:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425585 -3.1331)'), GeomFromEWKT('SRID=4674;POINT (-39.425506 -3.133032)'))) / (select extract(epoch from '2026-07-02 16:33:44'::timestamp) - extract(epoch from '2026-07-02 16:33: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'), 47980, 'SRID=4674;POINT (-39.425443 -3.132984)', '2026-07-02 16:33:50', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425506 -3.133032)'), GeomFromEWKT('SRID=4674;POINT (-39.425443 -3.132984)'))) / (select extract(epoch from '2026-07-02 16:33:50'::timestamp) - extract(epoch from '2026-07-02 16:33:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425506 -3.133032)'), GeomFromEWKT('SRID=4674;POINT (-39.425443 -3.132984)'))) / (select extract(epoch from '2026-07-02 16:33:50'::timestamp) - extract(epoch from '2026-07-02 16:33:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.425379 -3.132926)', '2026-07-02 16:33:57', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425443 -3.132984)'), GeomFromEWKT('SRID=4674;POINT (-39.425379 -3.132926)'))) / (select extract(epoch from '2026-07-02 16:33:57'::timestamp) - extract(epoch from '2026-07-02 16:33:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425443 -3.132984)'), GeomFromEWKT('SRID=4674;POINT (-39.425379 -3.132926)'))) / (select extract(epoch from '2026-07-02 16:33:57'::timestamp) - extract(epoch from '2026-07-02 16:33: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'), 47980, 'SRID=4674;POINT (-39.425321 -3.132854)', '2026-07-02 16:34:03', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425379 -3.132926)'), GeomFromEWKT('SRID=4674;POINT (-39.425321 -3.132854)'))) / (select extract(epoch from '2026-07-02 16:34:03'::timestamp) - extract(epoch from '2026-07-02 16:33:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425379 -3.132926)'), GeomFromEWKT('SRID=4674;POINT (-39.425321 -3.132854)'))) / (select extract(epoch from '2026-07-02 16:34:03'::timestamp) - extract(epoch from '2026-07-02 16:33: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'), 47980, 'SRID=4674;POINT (-39.42527 -3.132782)', '2026-07-02 16:34:09', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425321 -3.132854)'), GeomFromEWKT('SRID=4674;POINT (-39.42527 -3.132782)'))) / (select extract(epoch from '2026-07-02 16:34:09'::timestamp) - extract(epoch from '2026-07-02 16:34:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425321 -3.132854)'), GeomFromEWKT('SRID=4674;POINT (-39.42527 -3.132782)'))) / (select extract(epoch from '2026-07-02 16:34:09'::timestamp) - extract(epoch from '2026-07-02 16:34: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'), 47980, 'SRID=4674;POINT (-39.42522 -3.132714)', '2026-07-02 16:34:14', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42527 -3.132782)'), GeomFromEWKT('SRID=4674;POINT (-39.42522 -3.132714)'))) / (select extract(epoch from '2026-07-02 16:34:14'::timestamp) - extract(epoch from '2026-07-02 16:34:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42527 -3.132782)'), GeomFromEWKT('SRID=4674;POINT (-39.42522 -3.132714)'))) / (select extract(epoch from '2026-07-02 16:34:14'::timestamp) - extract(epoch from '2026-07-02 16:34: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'), 47980, 'SRID=4674;POINT (-39.425156 -3.132637)', '2026-07-02 16:34:20', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42522 -3.132714)'), GeomFromEWKT('SRID=4674;POINT (-39.425156 -3.132637)'))) / (select extract(epoch from '2026-07-02 16:34:20'::timestamp) - extract(epoch from '2026-07-02 16:34:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42522 -3.132714)'), GeomFromEWKT('SRID=4674;POINT (-39.425156 -3.132637)'))) / (select extract(epoch from '2026-07-02 16:34:20'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.425084 -3.132562)', '2026-07-02 16:34:27', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425156 -3.132637)'), GeomFromEWKT('SRID=4674;POINT (-39.425084 -3.132562)'))) / (select extract(epoch from '2026-07-02 16:34:27'::timestamp) - extract(epoch from '2026-07-02 16:34:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425156 -3.132637)'), GeomFromEWKT('SRID=4674;POINT (-39.425084 -3.132562)'))) / (select extract(epoch from '2026-07-02 16:34:27'::timestamp) - extract(epoch from '2026-07-02 16:34: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'), 47980, 'SRID=4674;POINT (-39.425017 -3.132495)', '2026-07-02 16:34:33', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425084 -3.132562)'), GeomFromEWKT('SRID=4674;POINT (-39.425017 -3.132495)'))) / (select extract(epoch from '2026-07-02 16:34:33'::timestamp) - extract(epoch from '2026-07-02 16:34:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425084 -3.132562)'), GeomFromEWKT('SRID=4674;POINT (-39.425017 -3.132495)'))) / (select extract(epoch from '2026-07-02 16:34:33'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.424937 -3.132407)', '2026-07-02 16:34:41', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425017 -3.132495)'), GeomFromEWKT('SRID=4674;POINT (-39.424937 -3.132407)'))) / (select extract(epoch from '2026-07-02 16:34:41'::timestamp) - extract(epoch from '2026-07-02 16:34:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425017 -3.132495)'), GeomFromEWKT('SRID=4674;POINT (-39.424937 -3.132407)'))) / (select extract(epoch from '2026-07-02 16:34:41'::timestamp) - extract(epoch from '2026-07-02 16:34: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'), 47980, 'SRID=4674;POINT (-39.424843 -3.132348)', '2026-07-02 16:34:48', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424937 -3.132407)'), GeomFromEWKT('SRID=4674;POINT (-39.424843 -3.132348)'))) / (select extract(epoch from '2026-07-02 16:34:48'::timestamp) - extract(epoch from '2026-07-02 16:34:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424937 -3.132407)'), GeomFromEWKT('SRID=4674;POINT (-39.424843 -3.132348)'))) / (select extract(epoch from '2026-07-02 16:34:48'::timestamp) - extract(epoch from '2026-07-02 16:34:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.424803 -3.132324)', '2026-07-02 16:34:52', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424843 -3.132348)'), GeomFromEWKT('SRID=4674;POINT (-39.424803 -3.132324)'))) / (select extract(epoch from '2026-07-02 16:34:52'::timestamp) - extract(epoch from '2026-07-02 16:34:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424843 -3.132348)'), GeomFromEWKT('SRID=4674;POINT (-39.424803 -3.132324)'))) / (select extract(epoch from '2026-07-02 16:34:52'::timestamp) - extract(epoch from '2026-07-02 16:34:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.424784 -3.132311)', '2026-07-02 16:34:54', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424803 -3.132324)'), GeomFromEWKT('SRID=4674;POINT (-39.424784 -3.132311)'))) / (select extract(epoch from '2026-07-02 16:34:54'::timestamp) - extract(epoch from '2026-07-02 16:34:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424803 -3.132324)'), GeomFromEWKT('SRID=4674;POINT (-39.424784 -3.132311)'))) / (select extract(epoch from '2026-07-02 16:34:54'::timestamp) - extract(epoch from '2026-07-02 16:34: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'), 47980, 'SRID=4674;POINT (-39.424701 -3.132276)', '2026-07-02 16:35:00', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424784 -3.132311)'), GeomFromEWKT('SRID=4674;POINT (-39.424701 -3.132276)'))) / (select extract(epoch from '2026-07-02 16:35:00'::timestamp) - extract(epoch from '2026-07-02 16:34:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424784 -3.132311)'), GeomFromEWKT('SRID=4674;POINT (-39.424701 -3.132276)'))) / (select extract(epoch from '2026-07-02 16:35:00'::timestamp) - extract(epoch from '2026-07-02 16:34:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.424651 -3.132231)', '2026-07-02 16:35:05', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424701 -3.132276)'), GeomFromEWKT('SRID=4674;POINT (-39.424651 -3.132231)'))) / (select extract(epoch from '2026-07-02 16:35:05'::timestamp) - extract(epoch from '2026-07-02 16:35:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424701 -3.132276)'), GeomFromEWKT('SRID=4674;POINT (-39.424651 -3.132231)'))) / (select extract(epoch from '2026-07-02 16:35:05'::timestamp) - extract(epoch from '2026-07-02 16:35: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'), 47980, 'SRID=4674;POINT (-39.424573 -3.132187)', '2026-07-02 16:35:11', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424651 -3.132231)'), GeomFromEWKT('SRID=4674;POINT (-39.424573 -3.132187)'))) / (select extract(epoch from '2026-07-02 16:35:11'::timestamp) - extract(epoch from '2026-07-02 16:35:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424651 -3.132231)'), GeomFromEWKT('SRID=4674;POINT (-39.424573 -3.132187)'))) / (select extract(epoch from '2026-07-02 16:35:11'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.424514 -3.132138)', '2026-07-02 16:35:17', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424573 -3.132187)'), GeomFromEWKT('SRID=4674;POINT (-39.424514 -3.132138)'))) / (select extract(epoch from '2026-07-02 16:35:17'::timestamp) - extract(epoch from '2026-07-02 16:35:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424573 -3.132187)'), GeomFromEWKT('SRID=4674;POINT (-39.424514 -3.132138)'))) / (select extract(epoch from '2026-07-02 16:35:17'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.424456 -3.132074)', '2026-07-02 16:35:24', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424514 -3.132138)'), GeomFromEWKT('SRID=4674;POINT (-39.424456 -3.132074)'))) / (select extract(epoch from '2026-07-02 16:35:24'::timestamp) - extract(epoch from '2026-07-02 16:35:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424514 -3.132138)'), GeomFromEWKT('SRID=4674;POINT (-39.424456 -3.132074)'))) / (select extract(epoch from '2026-07-02 16:35:24'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.424384 -3.132014)', '2026-07-02 16:35:31', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424456 -3.132074)'), GeomFromEWKT('SRID=4674;POINT (-39.424384 -3.132014)'))) / (select extract(epoch from '2026-07-02 16:35:31'::timestamp) - extract(epoch from '2026-07-02 16:35:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424456 -3.132074)'), GeomFromEWKT('SRID=4674;POINT (-39.424384 -3.132014)'))) / (select extract(epoch from '2026-07-02 16:35:31'::timestamp) - extract(epoch from '2026-07-02 16:35:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.424332 -3.13197)', '2026-07-02 16:35:37', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424384 -3.132014)'), GeomFromEWKT('SRID=4674;POINT (-39.424332 -3.13197)'))) / (select extract(epoch from '2026-07-02 16:35:37'::timestamp) - extract(epoch from '2026-07-02 16:35:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424384 -3.132014)'), GeomFromEWKT('SRID=4674;POINT (-39.424332 -3.13197)'))) / (select extract(epoch from '2026-07-02 16:35:37'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.42428 -3.131903)', '2026-07-02 16:35:44', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424332 -3.13197)'), GeomFromEWKT('SRID=4674;POINT (-39.42428 -3.131903)'))) / (select extract(epoch from '2026-07-02 16:35:44'::timestamp) - extract(epoch from '2026-07-02 16:35:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424332 -3.13197)'), GeomFromEWKT('SRID=4674;POINT (-39.42428 -3.131903)'))) / (select extract(epoch from '2026-07-02 16:35:44'::timestamp) - extract(epoch from '2026-07-02 16:35: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'), 47980, 'SRID=4674;POINT (-39.424202 -3.131847)', '2026-07-02 16:35:50', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42428 -3.131903)'), GeomFromEWKT('SRID=4674;POINT (-39.424202 -3.131847)'))) / (select extract(epoch from '2026-07-02 16:35:50'::timestamp) - extract(epoch from '2026-07-02 16:35:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42428 -3.131903)'), GeomFromEWKT('SRID=4674;POINT (-39.424202 -3.131847)'))) / (select extract(epoch from '2026-07-02 16:35:50'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.424134 -3.131788)', '2026-07-02 16:35:57', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424202 -3.131847)'), GeomFromEWKT('SRID=4674;POINT (-39.424134 -3.131788)'))) / (select extract(epoch from '2026-07-02 16:35:57'::timestamp) - extract(epoch from '2026-07-02 16:35:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424202 -3.131847)'), GeomFromEWKT('SRID=4674;POINT (-39.424134 -3.131788)'))) / (select extract(epoch from '2026-07-02 16:35:57'::timestamp) - extract(epoch from '2026-07-02 16:35:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.424092 -3.131721)', '2026-07-02 16:36:03', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424134 -3.131788)'), GeomFromEWKT('SRID=4674;POINT (-39.424092 -3.131721)'))) / (select extract(epoch from '2026-07-02 16:36:03'::timestamp) - extract(epoch from '2026-07-02 16:35:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424134 -3.131788)'), GeomFromEWKT('SRID=4674;POINT (-39.424092 -3.131721)'))) / (select extract(epoch from '2026-07-02 16:36:03'::timestamp) - extract(epoch from '2026-07-02 16:35: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'), 47980, 'SRID=4674;POINT (-39.424043 -3.131691)', '2026-07-02 16:36:08', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424092 -3.131721)'), GeomFromEWKT('SRID=4674;POINT (-39.424043 -3.131691)'))) / (select extract(epoch from '2026-07-02 16:36:08'::timestamp) - extract(epoch from '2026-07-02 16:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424092 -3.131721)'), GeomFromEWKT('SRID=4674;POINT (-39.424043 -3.131691)'))) / (select extract(epoch from '2026-07-02 16:36:08'::timestamp) - extract(epoch from '2026-07-02 16:36: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'), 47980, 'SRID=4674;POINT (-39.423983 -3.131646)', '2026-07-02 16:36:13', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424043 -3.131691)'), GeomFromEWKT('SRID=4674;POINT (-39.423983 -3.131646)'))) / (select extract(epoch from '2026-07-02 16:36:13'::timestamp) - extract(epoch from '2026-07-02 16:36:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424043 -3.131691)'), GeomFromEWKT('SRID=4674;POINT (-39.423983 -3.131646)'))) / (select extract(epoch from '2026-07-02 16:36:13'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.423933 -3.131582)', '2026-07-02 16:36:18', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423983 -3.131646)'), GeomFromEWKT('SRID=4674;POINT (-39.423933 -3.131582)'))) / (select extract(epoch from '2026-07-02 16:36:18'::timestamp) - extract(epoch from '2026-07-02 16:36:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423983 -3.131646)'), GeomFromEWKT('SRID=4674;POINT (-39.423933 -3.131582)'))) / (select extract(epoch from '2026-07-02 16:36:18'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.423846 -3.13154)', '2026-07-02 16:36:24', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423933 -3.131582)'), GeomFromEWKT('SRID=4674;POINT (-39.423846 -3.13154)'))) / (select extract(epoch from '2026-07-02 16:36:24'::timestamp) - extract(epoch from '2026-07-02 16:36:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423933 -3.131582)'), GeomFromEWKT('SRID=4674;POINT (-39.423846 -3.13154)'))) / (select extract(epoch from '2026-07-02 16:36:24'::timestamp) - extract(epoch from '2026-07-02 16:36: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'), 47980, 'SRID=4674;POINT (-39.423741 -3.131455)', '2026-07-02 16:36:33', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423846 -3.13154)'), GeomFromEWKT('SRID=4674;POINT (-39.423741 -3.131455)'))) / (select extract(epoch from '2026-07-02 16:36:33'::timestamp) - extract(epoch from '2026-07-02 16:36:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423846 -3.13154)'), GeomFromEWKT('SRID=4674;POINT (-39.423741 -3.131455)'))) / (select extract(epoch from '2026-07-02 16:36:33'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.423645 -3.131391)', '2026-07-02 16:36:40', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423741 -3.131455)'), GeomFromEWKT('SRID=4674;POINT (-39.423645 -3.131391)'))) / (select extract(epoch from '2026-07-02 16:36:40'::timestamp) - extract(epoch from '2026-07-02 16:36:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423741 -3.131455)'), GeomFromEWKT('SRID=4674;POINT (-39.423645 -3.131391)'))) / (select extract(epoch from '2026-07-02 16:36:40'::timestamp) - extract(epoch from '2026-07-02 16:36: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'), 47980, 'SRID=4674;POINT (-39.423579 -3.131334)', '2026-07-02 16:36:46', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423645 -3.131391)'), GeomFromEWKT('SRID=4674;POINT (-39.423579 -3.131334)'))) / (select extract(epoch from '2026-07-02 16:36:46'::timestamp) - extract(epoch from '2026-07-02 16:36:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423645 -3.131391)'), GeomFromEWKT('SRID=4674;POINT (-39.423579 -3.131334)'))) / (select extract(epoch from '2026-07-02 16:36:46'::timestamp) - extract(epoch from '2026-07-02 16:36:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.423483 -3.131272)', '2026-07-02 16:36:53', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423579 -3.131334)'), GeomFromEWKT('SRID=4674;POINT (-39.423483 -3.131272)'))) / (select extract(epoch from '2026-07-02 16:36:53'::timestamp) - extract(epoch from '2026-07-02 16:36:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423579 -3.131334)'), GeomFromEWKT('SRID=4674;POINT (-39.423483 -3.131272)'))) / (select extract(epoch from '2026-07-02 16:36:53'::timestamp) - extract(epoch from '2026-07-02 16:36:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.423414 -3.131216)', '2026-07-02 16:37:00', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423483 -3.131272)'), GeomFromEWKT('SRID=4674;POINT (-39.423414 -3.131216)'))) / (select extract(epoch from '2026-07-02 16:37:00'::timestamp) - extract(epoch from '2026-07-02 16:36:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423483 -3.131272)'), GeomFromEWKT('SRID=4674;POINT (-39.423414 -3.131216)'))) / (select extract(epoch from '2026-07-02 16:37:00'::timestamp) - extract(epoch from '2026-07-02 16:36:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.423335 -3.131152)', '2026-07-02 16:37:07', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423414 -3.131216)'), GeomFromEWKT('SRID=4674;POINT (-39.423335 -3.131152)'))) / (select extract(epoch from '2026-07-02 16:37:07'::timestamp) - extract(epoch from '2026-07-02 16:37:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423414 -3.131216)'), GeomFromEWKT('SRID=4674;POINT (-39.423335 -3.131152)'))) / (select extract(epoch from '2026-07-02 16:37:07'::timestamp) - extract(epoch from '2026-07-02 16:37:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.423265 -3.131074)', '2026-07-02 16:37:14', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423335 -3.131152)'), GeomFromEWKT('SRID=4674;POINT (-39.423265 -3.131074)'))) / (select extract(epoch from '2026-07-02 16:37:14'::timestamp) - extract(epoch from '2026-07-02 16:37:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423335 -3.131152)'), GeomFromEWKT('SRID=4674;POINT (-39.423265 -3.131074)'))) / (select extract(epoch from '2026-07-02 16:37:14'::timestamp) - extract(epoch from '2026-07-02 16:37:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.423185 -3.13101)', '2026-07-02 16:37:21', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423265 -3.131074)'), GeomFromEWKT('SRID=4674;POINT (-39.423185 -3.13101)'))) / (select extract(epoch from '2026-07-02 16:37:21'::timestamp) - extract(epoch from '2026-07-02 16:37:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423265 -3.131074)'), GeomFromEWKT('SRID=4674;POINT (-39.423185 -3.13101)'))) / (select extract(epoch from '2026-07-02 16:37:21'::timestamp) - extract(epoch from '2026-07-02 16:37: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'), 47980, 'SRID=4674;POINT (-39.423158 -3.130981)', '2026-07-02 16:37:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423185 -3.13101)'), GeomFromEWKT('SRID=4674;POINT (-39.423158 -3.130981)'))) / (select extract(epoch from '2026-07-02 16:37:25'::timestamp) - extract(epoch from '2026-07-02 16:37:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423185 -3.13101)'), GeomFromEWKT('SRID=4674;POINT (-39.423158 -3.130981)'))) / (select extract(epoch from '2026-07-02 16:37:25'::timestamp) - extract(epoch from '2026-07-02 16:37: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'), 47980, 'SRID=4674;POINT (-39.423146 -3.130953)', '2026-07-02 16:37:28', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423158 -3.130981)'), GeomFromEWKT('SRID=4674;POINT (-39.423146 -3.130953)'))) / (select extract(epoch from '2026-07-02 16:37:28'::timestamp) - extract(epoch from '2026-07-02 16:37:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423158 -3.130981)'), GeomFromEWKT('SRID=4674;POINT (-39.423146 -3.130953)'))) / (select extract(epoch from '2026-07-02 16:37:28'::timestamp) - extract(epoch from '2026-07-02 16:37:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.423135 -3.130938)', '2026-07-02 16:37:30', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423146 -3.130953)'), GeomFromEWKT('SRID=4674;POINT (-39.423135 -3.130938)'))) / (select extract(epoch from '2026-07-02 16:37:30'::timestamp) - extract(epoch from '2026-07-02 16:37:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423146 -3.130953)'), GeomFromEWKT('SRID=4674;POINT (-39.423135 -3.130938)'))) / (select extract(epoch from '2026-07-02 16:37:30'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.423111 -3.130913)', '2026-07-02 16:37:34', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423135 -3.130938)'), GeomFromEWKT('SRID=4674;POINT (-39.423111 -3.130913)'))) / (select extract(epoch from '2026-07-02 16:37:34'::timestamp) - extract(epoch from '2026-07-02 16:37:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423135 -3.130938)'), GeomFromEWKT('SRID=4674;POINT (-39.423111 -3.130913)'))) / (select extract(epoch from '2026-07-02 16:37:34'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.423043 -3.130857)', '2026-07-02 16:37:41', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423111 -3.130913)'), GeomFromEWKT('SRID=4674;POINT (-39.423043 -3.130857)'))) / (select extract(epoch from '2026-07-02 16:37:41'::timestamp) - extract(epoch from '2026-07-02 16:37:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423111 -3.130913)'), GeomFromEWKT('SRID=4674;POINT (-39.423043 -3.130857)'))) / (select extract(epoch from '2026-07-02 16:37:41'::timestamp) - extract(epoch from '2026-07-02 16:37: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'), 47980, 'SRID=4674;POINT (-39.42297 -3.130783)', '2026-07-02 16:37:49', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423043 -3.130857)'), GeomFromEWKT('SRID=4674;POINT (-39.42297 -3.130783)'))) / (select extract(epoch from '2026-07-02 16:37:49'::timestamp) - extract(epoch from '2026-07-02 16:37:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423043 -3.130857)'), GeomFromEWKT('SRID=4674;POINT (-39.42297 -3.130783)'))) / (select extract(epoch from '2026-07-02 16:37:49'::timestamp) - extract(epoch from '2026-07-02 16:37: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'), 47980, 'SRID=4674;POINT (-39.422914 -3.130726)', '2026-07-02 16:37:55', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42297 -3.130783)'), GeomFromEWKT('SRID=4674;POINT (-39.422914 -3.130726)'))) / (select extract(epoch from '2026-07-02 16:37:55'::timestamp) - extract(epoch from '2026-07-02 16:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42297 -3.130783)'), GeomFromEWKT('SRID=4674;POINT (-39.422914 -3.130726)'))) / (select extract(epoch from '2026-07-02 16:37:55'::timestamp) - extract(epoch from '2026-07-02 16:37:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.422857 -3.130669)', '2026-07-02 16:38:00', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422914 -3.130726)'), GeomFromEWKT('SRID=4674;POINT (-39.422857 -3.130669)'))) / (select extract(epoch from '2026-07-02 16:38:00'::timestamp) - extract(epoch from '2026-07-02 16:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422914 -3.130726)'), GeomFromEWKT('SRID=4674;POINT (-39.422857 -3.130669)'))) / (select extract(epoch from '2026-07-02 16:38:00'::timestamp) - extract(epoch from '2026-07-02 16:37: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'), 47980, 'SRID=4674;POINT (-39.422805 -3.130605)', '2026-07-02 16:38:07', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422857 -3.130669)'), GeomFromEWKT('SRID=4674;POINT (-39.422805 -3.130605)'))) / (select extract(epoch from '2026-07-02 16:38:07'::timestamp) - extract(epoch from '2026-07-02 16:38:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422857 -3.130669)'), GeomFromEWKT('SRID=4674;POINT (-39.422805 -3.130605)'))) / (select extract(epoch from '2026-07-02 16:38:07'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.42277 -3.13056)', '2026-07-02 16:38:12', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422805 -3.130605)'), GeomFromEWKT('SRID=4674;POINT (-39.42277 -3.13056)'))) / (select extract(epoch from '2026-07-02 16:38:12'::timestamp) - extract(epoch from '2026-07-02 16:38:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422805 -3.130605)'), GeomFromEWKT('SRID=4674;POINT (-39.42277 -3.13056)'))) / (select extract(epoch from '2026-07-02 16:38:12'::timestamp) - extract(epoch from '2026-07-02 16:38: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'), 47980, 'SRID=4674;POINT (-39.422709 -3.130524)', '2026-07-02 16:38:18', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42277 -3.13056)'), GeomFromEWKT('SRID=4674;POINT (-39.422709 -3.130524)'))) / (select extract(epoch from '2026-07-02 16:38:18'::timestamp) - extract(epoch from '2026-07-02 16:38:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42277 -3.13056)'), GeomFromEWKT('SRID=4674;POINT (-39.422709 -3.130524)'))) / (select extract(epoch from '2026-07-02 16:38:18'::timestamp) - extract(epoch from '2026-07-02 16:38: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'), 47980, 'SRID=4674;POINT (-39.422653 -3.130484)', '2026-07-02 16:38:23', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422709 -3.130524)'), GeomFromEWKT('SRID=4674;POINT (-39.422653 -3.130484)'))) / (select extract(epoch from '2026-07-02 16:38:23'::timestamp) - extract(epoch from '2026-07-02 16:38:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422709 -3.130524)'), GeomFromEWKT('SRID=4674;POINT (-39.422653 -3.130484)'))) / (select extract(epoch from '2026-07-02 16:38:23'::timestamp) - extract(epoch from '2026-07-02 16:38:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.422581 -3.130415)', '2026-07-02 16:38:30', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422653 -3.130484)'), GeomFromEWKT('SRID=4674;POINT (-39.422581 -3.130415)'))) / (select extract(epoch from '2026-07-02 16:38:30'::timestamp) - extract(epoch from '2026-07-02 16:38:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422653 -3.130484)'), GeomFromEWKT('SRID=4674;POINT (-39.422581 -3.130415)'))) / (select extract(epoch from '2026-07-02 16:38:30'::timestamp) - extract(epoch from '2026-07-02 16:38:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.422504 -3.130337)', '2026-07-02 16:38:38', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422581 -3.130415)'), GeomFromEWKT('SRID=4674;POINT (-39.422504 -3.130337)'))) / (select extract(epoch from '2026-07-02 16:38:38'::timestamp) - extract(epoch from '2026-07-02 16:38:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422581 -3.130415)'), GeomFromEWKT('SRID=4674;POINT (-39.422504 -3.130337)'))) / (select extract(epoch from '2026-07-02 16:38:38'::timestamp) - extract(epoch from '2026-07-02 16:38:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.422443 -3.130275)', '2026-07-02 16:38:44', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422504 -3.130337)'), GeomFromEWKT('SRID=4674;POINT (-39.422443 -3.130275)'))) / (select extract(epoch from '2026-07-02 16:38:44'::timestamp) - extract(epoch from '2026-07-02 16:38:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422504 -3.130337)'), GeomFromEWKT('SRID=4674;POINT (-39.422443 -3.130275)'))) / (select extract(epoch from '2026-07-02 16:38:44'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.42238 -3.130213)', '2026-07-02 16:38:51', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422443 -3.130275)'), GeomFromEWKT('SRID=4674;POINT (-39.42238 -3.130213)'))) / (select extract(epoch from '2026-07-02 16:38:51'::timestamp) - extract(epoch from '2026-07-02 16:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422443 -3.130275)'), GeomFromEWKT('SRID=4674;POINT (-39.42238 -3.130213)'))) / (select extract(epoch from '2026-07-02 16:38:51'::timestamp) - extract(epoch from '2026-07-02 16:38:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.422324 -3.130139)', '2026-07-02 16:38:57', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42238 -3.130213)'), GeomFromEWKT('SRID=4674;POINT (-39.422324 -3.130139)'))) / (select extract(epoch from '2026-07-02 16:38:57'::timestamp) - extract(epoch from '2026-07-02 16:38:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42238 -3.130213)'), GeomFromEWKT('SRID=4674;POINT (-39.422324 -3.130139)'))) / (select extract(epoch from '2026-07-02 16:38:57'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.422284 -3.130077)', '2026-07-02 16:39:03', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422324 -3.130139)'), GeomFromEWKT('SRID=4674;POINT (-39.422284 -3.130077)'))) / (select extract(epoch from '2026-07-02 16:39:03'::timestamp) - extract(epoch from '2026-07-02 16:38:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422324 -3.130139)'), GeomFromEWKT('SRID=4674;POINT (-39.422284 -3.130077)'))) / (select extract(epoch from '2026-07-02 16:39:03'::timestamp) - extract(epoch from '2026-07-02 16:38: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'), 47980, 'SRID=4674;POINT (-39.422196 -3.129996)', '2026-07-02 16:39:11', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422284 -3.130077)'), GeomFromEWKT('SRID=4674;POINT (-39.422196 -3.129996)'))) / (select extract(epoch from '2026-07-02 16:39:11'::timestamp) - extract(epoch from '2026-07-02 16:39:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422284 -3.130077)'), GeomFromEWKT('SRID=4674;POINT (-39.422196 -3.129996)'))) / (select extract(epoch from '2026-07-02 16:39:11'::timestamp) - extract(epoch from '2026-07-02 16:39:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.422149 -3.129948)', '2026-07-02 16:39:16', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422196 -3.129996)'), GeomFromEWKT('SRID=4674;POINT (-39.422149 -3.129948)'))) / (select extract(epoch from '2026-07-02 16:39:16'::timestamp) - extract(epoch from '2026-07-02 16:39:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422196 -3.129996)'), GeomFromEWKT('SRID=4674;POINT (-39.422149 -3.129948)'))) / (select extract(epoch from '2026-07-02 16:39:16'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.422084 -3.129896)', '2026-07-02 16:39:22', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422149 -3.129948)'), GeomFromEWKT('SRID=4674;POINT (-39.422084 -3.129896)'))) / (select extract(epoch from '2026-07-02 16:39:22'::timestamp) - extract(epoch from '2026-07-02 16:39:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422149 -3.129948)'), GeomFromEWKT('SRID=4674;POINT (-39.422084 -3.129896)'))) / (select extract(epoch from '2026-07-02 16:39:22'::timestamp) - extract(epoch from '2026-07-02 16:39: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'), 47980, 'SRID=4674;POINT (-39.422004 -3.12984)', '2026-07-02 16:39:29', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422084 -3.129896)'), GeomFromEWKT('SRID=4674;POINT (-39.422004 -3.12984)'))) / (select extract(epoch from '2026-07-02 16:39:29'::timestamp) - extract(epoch from '2026-07-02 16:39:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422084 -3.129896)'), GeomFromEWKT('SRID=4674;POINT (-39.422004 -3.12984)'))) / (select extract(epoch from '2026-07-02 16:39:29'::timestamp) - extract(epoch from '2026-07-02 16:39: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'), 47980, 'SRID=4674;POINT (-39.421915 -3.129769)', '2026-07-02 16:39:36', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422004 -3.12984)'), GeomFromEWKT('SRID=4674;POINT (-39.421915 -3.129769)'))) / (select extract(epoch from '2026-07-02 16:39:36'::timestamp) - extract(epoch from '2026-07-02 16:39:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422004 -3.12984)'), GeomFromEWKT('SRID=4674;POINT (-39.421915 -3.129769)'))) / (select extract(epoch from '2026-07-02 16:39:36'::timestamp) - extract(epoch from '2026-07-02 16:39: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'), 47980, 'SRID=4674;POINT (-39.421839 -3.129714)', '2026-07-02 16:39:43', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421915 -3.129769)'), GeomFromEWKT('SRID=4674;POINT (-39.421839 -3.129714)'))) / (select extract(epoch from '2026-07-02 16:39:43'::timestamp) - extract(epoch from '2026-07-02 16:39:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421915 -3.129769)'), GeomFromEWKT('SRID=4674;POINT (-39.421839 -3.129714)'))) / (select extract(epoch from '2026-07-02 16:39:43'::timestamp) - extract(epoch from '2026-07-02 16:39: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'), 47980, 'SRID=4674;POINT (-39.42175 -3.129601)', '2026-07-02 16:39:52', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421839 -3.129714)'), GeomFromEWKT('SRID=4674;POINT (-39.42175 -3.129601)'))) / (select extract(epoch from '2026-07-02 16:39:52'::timestamp) - extract(epoch from '2026-07-02 16:39:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421839 -3.129714)'), GeomFromEWKT('SRID=4674;POINT (-39.42175 -3.129601)'))) / (select extract(epoch from '2026-07-02 16:39:52'::timestamp) - extract(epoch from '2026-07-02 16:39: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'), 47980, 'SRID=4674;POINT (-39.421688 -3.129515)', '2026-07-02 16:39:58', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42175 -3.129601)'), GeomFromEWKT('SRID=4674;POINT (-39.421688 -3.129515)'))) / (select extract(epoch from '2026-07-02 16:39:58'::timestamp) - extract(epoch from '2026-07-02 16:39:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42175 -3.129601)'), GeomFromEWKT('SRID=4674;POINT (-39.421688 -3.129515)'))) / (select extract(epoch from '2026-07-02 16:39:58'::timestamp) - extract(epoch from '2026-07-02 16:39:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.421629 -3.129436)', '2026-07-02 16:40:04', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421688 -3.129515)'), GeomFromEWKT('SRID=4674;POINT (-39.421629 -3.129436)'))) / (select extract(epoch from '2026-07-02 16:40:04'::timestamp) - extract(epoch from '2026-07-02 16:39:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421688 -3.129515)'), GeomFromEWKT('SRID=4674;POINT (-39.421629 -3.129436)'))) / (select extract(epoch from '2026-07-02 16:40:04'::timestamp) - extract(epoch from '2026-07-02 16:39:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.421584 -3.129374)', '2026-07-02 16:40:12', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421629 -3.129436)'), GeomFromEWKT('SRID=4674;POINT (-39.421584 -3.129374)'))) / (select extract(epoch from '2026-07-02 16:40:12'::timestamp) - extract(epoch from '2026-07-02 16:40:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421629 -3.129436)'), GeomFromEWKT('SRID=4674;POINT (-39.421584 -3.129374)'))) / (select extract(epoch from '2026-07-02 16:40:12'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.421526 -3.129325)', '2026-07-02 16:40:19', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421584 -3.129374)'), GeomFromEWKT('SRID=4674;POINT (-39.421526 -3.129325)'))) / (select extract(epoch from '2026-07-02 16:40:19'::timestamp) - extract(epoch from '2026-07-02 16:40:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421584 -3.129374)'), GeomFromEWKT('SRID=4674;POINT (-39.421526 -3.129325)'))) / (select extract(epoch from '2026-07-02 16:40:19'::timestamp) - extract(epoch from '2026-07-02 16:40:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.421425 -3.129271)', '2026-07-02 16:40:26', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421526 -3.129325)'), GeomFromEWKT('SRID=4674;POINT (-39.421425 -3.129271)'))) / (select extract(epoch from '2026-07-02 16:40:26'::timestamp) - extract(epoch from '2026-07-02 16:40:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421526 -3.129325)'), GeomFromEWKT('SRID=4674;POINT (-39.421425 -3.129271)'))) / (select extract(epoch from '2026-07-02 16:40:26'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.421356 -3.129205)', '2026-07-02 16:40:32', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421425 -3.129271)'), GeomFromEWKT('SRID=4674;POINT (-39.421356 -3.129205)'))) / (select extract(epoch from '2026-07-02 16:40:32'::timestamp) - extract(epoch from '2026-07-02 16:40:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421425 -3.129271)'), GeomFromEWKT('SRID=4674;POINT (-39.421356 -3.129205)'))) / (select extract(epoch from '2026-07-02 16:40:32'::timestamp) - extract(epoch from '2026-07-02 16:40: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'), 47980, 'SRID=4674;POINT (-39.421276 -3.12914)', '2026-07-02 16:40:39', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421356 -3.129205)'), GeomFromEWKT('SRID=4674;POINT (-39.421276 -3.12914)'))) / (select extract(epoch from '2026-07-02 16:40:39'::timestamp) - extract(epoch from '2026-07-02 16:40:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421356 -3.129205)'), GeomFromEWKT('SRID=4674;POINT (-39.421276 -3.12914)'))) / (select extract(epoch from '2026-07-02 16:40:39'::timestamp) - extract(epoch from '2026-07-02 16:40: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'), 47980, 'SRID=4674;POINT (-39.42119 -3.129079)', '2026-07-02 16:40:46', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421276 -3.12914)'), GeomFromEWKT('SRID=4674;POINT (-39.42119 -3.129079)'))) / (select extract(epoch from '2026-07-02 16:40:46'::timestamp) - extract(epoch from '2026-07-02 16:40:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421276 -3.12914)'), GeomFromEWKT('SRID=4674;POINT (-39.42119 -3.129079)'))) / (select extract(epoch from '2026-07-02 16:40:46'::timestamp) - extract(epoch from '2026-07-02 16:40: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'), 47980, 'SRID=4674;POINT (-39.421126 -3.129016)', '2026-07-02 16:40:53', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42119 -3.129079)'), GeomFromEWKT('SRID=4674;POINT (-39.421126 -3.129016)'))) / (select extract(epoch from '2026-07-02 16:40:53'::timestamp) - extract(epoch from '2026-07-02 16:40:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42119 -3.129079)'), GeomFromEWKT('SRID=4674;POINT (-39.421126 -3.129016)'))) / (select extract(epoch from '2026-07-02 16:40:53'::timestamp) - extract(epoch from '2026-07-02 16:40: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'), 47980, 'SRID=4674;POINT (-39.421052 -3.128961)', '2026-07-02 16:41:00', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421126 -3.129016)'), GeomFromEWKT('SRID=4674;POINT (-39.421052 -3.128961)'))) / (select extract(epoch from '2026-07-02 16:41:00'::timestamp) - extract(epoch from '2026-07-02 16:40:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421126 -3.129016)'), GeomFromEWKT('SRID=4674;POINT (-39.421052 -3.128961)'))) / (select extract(epoch from '2026-07-02 16:41:00'::timestamp) - extract(epoch from '2026-07-02 16:40: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'), 47980, 'SRID=4674;POINT (-39.421016 -3.128898)', '2026-07-02 16:41:06', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421052 -3.128961)'), GeomFromEWKT('SRID=4674;POINT (-39.421016 -3.128898)'))) / (select extract(epoch from '2026-07-02 16:41:06'::timestamp) - extract(epoch from '2026-07-02 16:41:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421052 -3.128961)'), GeomFromEWKT('SRID=4674;POINT (-39.421016 -3.128898)'))) / (select extract(epoch from '2026-07-02 16:41:06'::timestamp) - extract(epoch from '2026-07-02 16:41: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'), 47980, 'SRID=4674;POINT (-39.421018 -3.128822)', '2026-07-02 16:41:12', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421016 -3.128898)'), GeomFromEWKT('SRID=4674;POINT (-39.421018 -3.128822)'))) / (select extract(epoch from '2026-07-02 16:41:12'::timestamp) - extract(epoch from '2026-07-02 16:41:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421016 -3.128898)'), GeomFromEWKT('SRID=4674;POINT (-39.421018 -3.128822)'))) / (select extract(epoch from '2026-07-02 16:41:12'::timestamp) - extract(epoch from '2026-07-02 16:41: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'), 47980, 'SRID=4674;POINT (-39.420967 -3.128719)', '2026-07-02 16:41:19', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421018 -3.128822)'), GeomFromEWKT('SRID=4674;POINT (-39.420967 -3.128719)'))) / (select extract(epoch from '2026-07-02 16:41:19'::timestamp) - extract(epoch from '2026-07-02 16:41:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421018 -3.128822)'), GeomFromEWKT('SRID=4674;POINT (-39.420967 -3.128719)'))) / (select extract(epoch from '2026-07-02 16:41:19'::timestamp) - extract(epoch from '2026-07-02 16:41:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.420929 -3.128654)', '2026-07-02 16:41:24', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420967 -3.128719)'), GeomFromEWKT('SRID=4674;POINT (-39.420929 -3.128654)'))) / (select extract(epoch from '2026-07-02 16:41:24'::timestamp) - extract(epoch from '2026-07-02 16:41:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420967 -3.128719)'), GeomFromEWKT('SRID=4674;POINT (-39.420929 -3.128654)'))) / (select extract(epoch from '2026-07-02 16:41:24'::timestamp) - extract(epoch from '2026-07-02 16:41: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'), 47980, 'SRID=4674;POINT (-39.420921 -3.128642)', '2026-07-02 16:41:25', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420929 -3.128654)'), GeomFromEWKT('SRID=4674;POINT (-39.420921 -3.128642)'))) / (select extract(epoch from '2026-07-02 16:41:25'::timestamp) - extract(epoch from '2026-07-02 16:41:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420929 -3.128654)'), GeomFromEWKT('SRID=4674;POINT (-39.420921 -3.128642)'))) / (select extract(epoch from '2026-07-02 16:41:25'::timestamp) - extract(epoch from '2026-07-02 16:41: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'), 47980, 'SRID=4674;POINT (-39.420892 -3.128608)', '2026-07-02 16:41:28', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420921 -3.128642)'), GeomFromEWKT('SRID=4674;POINT (-39.420892 -3.128608)'))) / (select extract(epoch from '2026-07-02 16:41:28'::timestamp) - extract(epoch from '2026-07-02 16:41:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420921 -3.128642)'), GeomFromEWKT('SRID=4674;POINT (-39.420892 -3.128608)'))) / (select extract(epoch from '2026-07-02 16:41:28'::timestamp) - extract(epoch from '2026-07-02 16:41: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'), 47980, 'SRID=4674;POINT (-39.420886 -3.128598)', '2026-07-02 16:41:29', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420892 -3.128608)'), GeomFromEWKT('SRID=4674;POINT (-39.420886 -3.128598)'))) / (select extract(epoch from '2026-07-02 16:41:29'::timestamp) - extract(epoch from '2026-07-02 16:41:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420892 -3.128608)'), GeomFromEWKT('SRID=4674;POINT (-39.420886 -3.128598)'))) / (select extract(epoch from '2026-07-02 16:41:29'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.420859 -3.12857)', '2026-07-02 16:41:32', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420886 -3.128598)'), GeomFromEWKT('SRID=4674;POINT (-39.420859 -3.12857)'))) / (select extract(epoch from '2026-07-02 16:41:32'::timestamp) - extract(epoch from '2026-07-02 16:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420886 -3.128598)'), GeomFromEWKT('SRID=4674;POINT (-39.420859 -3.12857)'))) / (select extract(epoch from '2026-07-02 16:41:32'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.420843 -3.12855)', '2026-07-02 16:41:34', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420859 -3.12857)'), GeomFromEWKT('SRID=4674;POINT (-39.420843 -3.12855)'))) / (select extract(epoch from '2026-07-02 16:41:34'::timestamp) - extract(epoch from '2026-07-02 16:41:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420859 -3.12857)'), GeomFromEWKT('SRID=4674;POINT (-39.420843 -3.12855)'))) / (select extract(epoch from '2026-07-02 16:41:34'::timestamp) - extract(epoch from '2026-07-02 16:41:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.420831 -3.12854)', '2026-07-02 16:41:35', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420843 -3.12855)'), GeomFromEWKT('SRID=4674;POINT (-39.420831 -3.12854)'))) / (select extract(epoch from '2026-07-02 16:41:35'::timestamp) - extract(epoch from '2026-07-02 16:41:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420843 -3.12855)'), GeomFromEWKT('SRID=4674;POINT (-39.420831 -3.12854)'))) / (select extract(epoch from '2026-07-02 16:41:35'::timestamp) - extract(epoch from '2026-07-02 16:41: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'), 47980, 'SRID=4674;POINT (-39.420797 -3.128504)', '2026-07-02 16:41:39', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420831 -3.12854)'), GeomFromEWKT('SRID=4674;POINT (-39.420797 -3.128504)'))) / (select extract(epoch from '2026-07-02 16:41:39'::timestamp) - extract(epoch from '2026-07-02 16:41:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420831 -3.12854)'), GeomFromEWKT('SRID=4674;POINT (-39.420797 -3.128504)'))) / (select extract(epoch from '2026-07-02 16:41:39'::timestamp) - extract(epoch from '2026-07-02 16:41: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'), 47980, 'SRID=4674;POINT (-39.420734 -3.128458)', '2026-07-02 16:41:45', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420797 -3.128504)'), GeomFromEWKT('SRID=4674;POINT (-39.420734 -3.128458)'))) / (select extract(epoch from '2026-07-02 16:41:45'::timestamp) - extract(epoch from '2026-07-02 16:41:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420797 -3.128504)'), GeomFromEWKT('SRID=4674;POINT (-39.420734 -3.128458)'))) / (select extract(epoch from '2026-07-02 16:41:45'::timestamp) - extract(epoch from '2026-07-02 16:41: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'), 47980, 'SRID=4674;POINT (-39.420676 -3.128421)', '2026-07-02 16:41:51', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420734 -3.128458)'), GeomFromEWKT('SRID=4674;POINT (-39.420676 -3.128421)'))) / (select extract(epoch from '2026-07-02 16:41:51'::timestamp) - extract(epoch from '2026-07-02 16:41:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420734 -3.128458)'), GeomFromEWKT('SRID=4674;POINT (-39.420676 -3.128421)'))) / (select extract(epoch from '2026-07-02 16:41:51'::timestamp) - extract(epoch from '2026-07-02 16:41: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'), 47980, 'SRID=4674;POINT (-39.420633 -3.128378)', '2026-07-02 16:41:56', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420676 -3.128421)'), GeomFromEWKT('SRID=4674;POINT (-39.420633 -3.128378)'))) / (select extract(epoch from '2026-07-02 16:41:56'::timestamp) - extract(epoch from '2026-07-02 16:41:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420676 -3.128421)'), GeomFromEWKT('SRID=4674;POINT (-39.420633 -3.128378)'))) / (select extract(epoch from '2026-07-02 16:41:56'::timestamp) - extract(epoch from '2026-07-02 16:41:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.420622 -3.128368)', '2026-07-02 16:41:57', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420633 -3.128378)'), GeomFromEWKT('SRID=4674;POINT (-39.420622 -3.128368)'))) / (select extract(epoch from '2026-07-02 16:41:57'::timestamp) - extract(epoch from '2026-07-02 16:41:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420633 -3.128378)'), GeomFromEWKT('SRID=4674;POINT (-39.420622 -3.128368)'))) / (select extract(epoch from '2026-07-02 16:41:57'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.420559 -3.128313)', '2026-07-02 16:42:03', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420622 -3.128368)'), GeomFromEWKT('SRID=4674;POINT (-39.420559 -3.128313)'))) / (select extract(epoch from '2026-07-02 16:42:03'::timestamp) - extract(epoch from '2026-07-02 16:41:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420622 -3.128368)'), GeomFromEWKT('SRID=4674;POINT (-39.420559 -3.128313)'))) / (select extract(epoch from '2026-07-02 16:42:03'::timestamp) - extract(epoch from '2026-07-02 16:41: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'), 47980, 'SRID=4674;POINT (-39.420492 -3.128252)', '2026-07-02 16:42:09', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420559 -3.128313)'), GeomFromEWKT('SRID=4674;POINT (-39.420492 -3.128252)'))) / (select extract(epoch from '2026-07-02 16:42:09'::timestamp) - extract(epoch from '2026-07-02 16:42:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420559 -3.128313)'), GeomFromEWKT('SRID=4674;POINT (-39.420492 -3.128252)'))) / (select extract(epoch from '2026-07-02 16:42:09'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.420484 -3.128244)', '2026-07-02 16:42:10', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420492 -3.128252)'), GeomFromEWKT('SRID=4674;POINT (-39.420484 -3.128244)'))) / (select extract(epoch from '2026-07-02 16:42:10'::timestamp) - extract(epoch from '2026-07-02 16:42:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420492 -3.128252)'), GeomFromEWKT('SRID=4674;POINT (-39.420484 -3.128244)'))) / (select extract(epoch from '2026-07-02 16:42:10'::timestamp) - extract(epoch from '2026-07-02 16:42:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.420426 -3.128193)', '2026-07-02 16:42:15', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420484 -3.128244)'), GeomFromEWKT('SRID=4674;POINT (-39.420426 -3.128193)'))) / (select extract(epoch from '2026-07-02 16:42:15'::timestamp) - extract(epoch from '2026-07-02 16:42:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420484 -3.128244)'), GeomFromEWKT('SRID=4674;POINT (-39.420426 -3.128193)'))) / (select extract(epoch from '2026-07-02 16:42:15'::timestamp) - extract(epoch from '2026-07-02 16:42: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'), 47980, 'SRID=4674;POINT (-39.420332 -3.128123)', '2026-07-02 16:42:23', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420426 -3.128193)'), GeomFromEWKT('SRID=4674;POINT (-39.420332 -3.128123)'))) / (select extract(epoch from '2026-07-02 16:42:23'::timestamp) - extract(epoch from '2026-07-02 16:42:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420426 -3.128193)'), GeomFromEWKT('SRID=4674;POINT (-39.420332 -3.128123)'))) / (select extract(epoch from '2026-07-02 16:42:23'::timestamp) - extract(epoch from '2026-07-02 16:42: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'), 47980, 'SRID=4674;POINT (-39.42028 -3.128071)', '2026-07-02 16:42:28', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420332 -3.128123)'), GeomFromEWKT('SRID=4674;POINT (-39.42028 -3.128071)'))) / (select extract(epoch from '2026-07-02 16:42:28'::timestamp) - extract(epoch from '2026-07-02 16:42:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420332 -3.128123)'), GeomFromEWKT('SRID=4674;POINT (-39.42028 -3.128071)'))) / (select extract(epoch from '2026-07-02 16:42:28'::timestamp) - extract(epoch from '2026-07-02 16:42: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'), 47980, 'SRID=4674;POINT (-39.420244 -3.128021)', '2026-07-02 16:42:32', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42028 -3.128071)'), GeomFromEWKT('SRID=4674;POINT (-39.420244 -3.128021)'))) / (select extract(epoch from '2026-07-02 16:42:32'::timestamp) - extract(epoch from '2026-07-02 16:42:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42028 -3.128071)'), GeomFromEWKT('SRID=4674;POINT (-39.420244 -3.128021)'))) / (select extract(epoch from '2026-07-02 16:42:32'::timestamp) - extract(epoch from '2026-07-02 16:42:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.420232 -3.127999)', '2026-07-02 16:42:34', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420244 -3.128021)'), GeomFromEWKT('SRID=4674;POINT (-39.420232 -3.127999)'))) / (select extract(epoch from '2026-07-02 16:42:34'::timestamp) - extract(epoch from '2026-07-02 16:42:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420244 -3.128021)'), GeomFromEWKT('SRID=4674;POINT (-39.420232 -3.127999)'))) / (select extract(epoch from '2026-07-02 16:42:34'::timestamp) - extract(epoch from '2026-07-02 16:42:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.420175 -3.127936)', '2026-07-02 16:42:40', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420232 -3.127999)'), GeomFromEWKT('SRID=4674;POINT (-39.420175 -3.127936)'))) / (select extract(epoch from '2026-07-02 16:42:40'::timestamp) - extract(epoch from '2026-07-02 16:42:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420232 -3.127999)'), GeomFromEWKT('SRID=4674;POINT (-39.420175 -3.127936)'))) / (select extract(epoch from '2026-07-02 16:42:40'::timestamp) - extract(epoch from '2026-07-02 16:42: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'), 47980, 'SRID=4674;POINT (-39.420121 -3.127882)', '2026-07-02 16:42:45', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420175 -3.127936)'), GeomFromEWKT('SRID=4674;POINT (-39.420121 -3.127882)'))) / (select extract(epoch from '2026-07-02 16:42:45'::timestamp) - extract(epoch from '2026-07-02 16:42:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420175 -3.127936)'), GeomFromEWKT('SRID=4674;POINT (-39.420121 -3.127882)'))) / (select extract(epoch from '2026-07-02 16:42:45'::timestamp) - extract(epoch from '2026-07-02 16:42: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'), 47980, 'SRID=4674;POINT (-39.420103 -3.12786)', '2026-07-02 16:42:47', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420121 -3.127882)'), GeomFromEWKT('SRID=4674;POINT (-39.420103 -3.12786)'))) / (select extract(epoch from '2026-07-02 16:42:47'::timestamp) - extract(epoch from '2026-07-02 16:42:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420121 -3.127882)'), GeomFromEWKT('SRID=4674;POINT (-39.420103 -3.12786)'))) / (select extract(epoch from '2026-07-02 16:42:47'::timestamp) - extract(epoch from '2026-07-02 16:42: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'), 47980, 'SRID=4674;POINT (-39.420073 -3.127825)', '2026-07-02 16:42:50', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420103 -3.12786)'), GeomFromEWKT('SRID=4674;POINT (-39.420073 -3.127825)'))) / (select extract(epoch from '2026-07-02 16:42:50'::timestamp) - extract(epoch from '2026-07-02 16:42:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420103 -3.12786)'), GeomFromEWKT('SRID=4674;POINT (-39.420073 -3.127825)'))) / (select extract(epoch from '2026-07-02 16:42:50'::timestamp) - extract(epoch from '2026-07-02 16:42: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'), 47980, 'SRID=4674;POINT (-39.42002 -3.127758)', '2026-07-02 16:42:56', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420073 -3.127825)'), GeomFromEWKT('SRID=4674;POINT (-39.42002 -3.127758)'))) / (select extract(epoch from '2026-07-02 16:42:56'::timestamp) - extract(epoch from '2026-07-02 16:42:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420073 -3.127825)'), GeomFromEWKT('SRID=4674;POINT (-39.42002 -3.127758)'))) / (select extract(epoch from '2026-07-02 16:42:56'::timestamp) - extract(epoch from '2026-07-02 16:42:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.419972 -3.127721)', '2026-07-02 16:43:01', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42002 -3.127758)'), GeomFromEWKT('SRID=4674;POINT (-39.419972 -3.127721)'))) / (select extract(epoch from '2026-07-02 16:43:01'::timestamp) - extract(epoch from '2026-07-02 16:42:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42002 -3.127758)'), GeomFromEWKT('SRID=4674;POINT (-39.419972 -3.127721)'))) / (select extract(epoch from '2026-07-02 16:43:01'::timestamp) - extract(epoch from '2026-07-02 16:42: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'), 47980, 'SRID=4674;POINT (-39.419946 -3.127687)', '2026-07-02 16:43:05', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419972 -3.127721)'), GeomFromEWKT('SRID=4674;POINT (-39.419946 -3.127687)'))) / (select extract(epoch from '2026-07-02 16:43:05'::timestamp) - extract(epoch from '2026-07-02 16:43:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419972 -3.127721)'), GeomFromEWKT('SRID=4674;POINT (-39.419946 -3.127687)'))) / (select extract(epoch from '2026-07-02 16:43:05'::timestamp) - extract(epoch from '2026-07-02 16:43:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.419935 -3.127678)', '2026-07-02 16:43:06', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419946 -3.127687)'), GeomFromEWKT('SRID=4674;POINT (-39.419935 -3.127678)'))) / (select extract(epoch from '2026-07-02 16:43:06'::timestamp) - extract(epoch from '2026-07-02 16:43:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419946 -3.127687)'), GeomFromEWKT('SRID=4674;POINT (-39.419935 -3.127678)'))) / (select extract(epoch from '2026-07-02 16:43:06'::timestamp) - extract(epoch from '2026-07-02 16:43: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'), 47980, 'SRID=4674;POINT (-39.419907 -3.12765)', '2026-07-02 16:43:09', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419935 -3.127678)'), GeomFromEWKT('SRID=4674;POINT (-39.419907 -3.12765)'))) / (select extract(epoch from '2026-07-02 16:43:09'::timestamp) - extract(epoch from '2026-07-02 16:43:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419935 -3.127678)'), GeomFromEWKT('SRID=4674;POINT (-39.419907 -3.12765)'))) / (select extract(epoch from '2026-07-02 16:43:09'::timestamp) - extract(epoch from '2026-07-02 16:43: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'), 47980, 'SRID=4674;POINT (-39.419896 -3.127629)', '2026-07-02 16:43:11', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419907 -3.12765)'), GeomFromEWKT('SRID=4674;POINT (-39.419896 -3.127629)'))) / (select extract(epoch from '2026-07-02 16:43:11'::timestamp) - extract(epoch from '2026-07-02 16:43:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419907 -3.12765)'), GeomFromEWKT('SRID=4674;POINT (-39.419896 -3.127629)'))) / (select extract(epoch from '2026-07-02 16:43:11'::timestamp) - extract(epoch from '2026-07-02 16:43:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.419846 -3.127567)', '2026-07-02 16:43:16', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419896 -3.127629)'), GeomFromEWKT('SRID=4674;POINT (-39.419846 -3.127567)'))) / (select extract(epoch from '2026-07-02 16:43:16'::timestamp) - extract(epoch from '2026-07-02 16:43:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419896 -3.127629)'), GeomFromEWKT('SRID=4674;POINT (-39.419846 -3.127567)'))) / (select extract(epoch from '2026-07-02 16:43:16'::timestamp) - extract(epoch from '2026-07-02 16:43:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.419821 -3.127535)', '2026-07-02 16:43:19', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419846 -3.127567)'), GeomFromEWKT('SRID=4674;POINT (-39.419821 -3.127535)'))) / (select extract(epoch from '2026-07-02 16:43:19'::timestamp) - extract(epoch from '2026-07-02 16:43:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419846 -3.127567)'), GeomFromEWKT('SRID=4674;POINT (-39.419821 -3.127535)'))) / (select extract(epoch from '2026-07-02 16:43:19'::timestamp) - extract(epoch from '2026-07-02 16:43: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'), 47980, 'SRID=4674;POINT (-39.4198 -3.127509)', '2026-07-02 16:43:22', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419821 -3.127535)'), GeomFromEWKT('SRID=4674;POINT (-39.4198 -3.127509)'))) / (select extract(epoch from '2026-07-02 16:43:22'::timestamp) - extract(epoch from '2026-07-02 16:43:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419821 -3.127535)'), GeomFromEWKT('SRID=4674;POINT (-39.4198 -3.127509)'))) / (select extract(epoch from '2026-07-02 16:43:22'::timestamp) - extract(epoch from '2026-07-02 16:43: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'), 47980, 'SRID=4674;POINT (-39.419739 -3.127453)', '2026-07-02 16:43:28', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4198 -3.127509)'), GeomFromEWKT('SRID=4674;POINT (-39.419739 -3.127453)'))) / (select extract(epoch from '2026-07-02 16:43:28'::timestamp) - extract(epoch from '2026-07-02 16:43:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4198 -3.127509)'), GeomFromEWKT('SRID=4674;POINT (-39.419739 -3.127453)'))) / (select extract(epoch from '2026-07-02 16:43:28'::timestamp) - extract(epoch from '2026-07-02 16:43:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.419679 -3.1274)', '2026-07-02 16:43:33', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419739 -3.127453)'), GeomFromEWKT('SRID=4674;POINT (-39.419679 -3.1274)'))) / (select extract(epoch from '2026-07-02 16:43:33'::timestamp) - extract(epoch from '2026-07-02 16:43:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419739 -3.127453)'), GeomFromEWKT('SRID=4674;POINT (-39.419679 -3.1274)'))) / (select extract(epoch from '2026-07-02 16:43:33'::timestamp) - extract(epoch from '2026-07-02 16:43: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'), 47980, 'SRID=4674;POINT (-39.41961 -3.127329)', '2026-07-02 16:43:40', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419679 -3.1274)'), GeomFromEWKT('SRID=4674;POINT (-39.41961 -3.127329)'))) / (select extract(epoch from '2026-07-02 16:43:40'::timestamp) - extract(epoch from '2026-07-02 16:43:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419679 -3.1274)'), GeomFromEWKT('SRID=4674;POINT (-39.41961 -3.127329)'))) / (select extract(epoch from '2026-07-02 16:43:40'::timestamp) - extract(epoch from '2026-07-02 16:43: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'), 47980, 'SRID=4674;POINT (-39.419576 -3.127297)', '2026-07-02 16:43:43', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41961 -3.127329)'), GeomFromEWKT('SRID=4674;POINT (-39.419576 -3.127297)'))) / (select extract(epoch from '2026-07-02 16:43:43'::timestamp) - extract(epoch from '2026-07-02 16:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41961 -3.127329)'), GeomFromEWKT('SRID=4674;POINT (-39.419576 -3.127297)'))) / (select extract(epoch from '2026-07-02 16:43:43'::timestamp) - extract(epoch from '2026-07-02 16:43: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'), 47980, 'SRID=4674;POINT (-39.419576 -3.127288)', '2026-07-02 16:43:44', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419576 -3.127297)'), GeomFromEWKT('SRID=4674;POINT (-39.419576 -3.127288)'))) / (select extract(epoch from '2026-07-02 16:43:44'::timestamp) - extract(epoch from '2026-07-02 16:43:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419576 -3.127297)'), GeomFromEWKT('SRID=4674;POINT (-39.419576 -3.127288)'))) / (select extract(epoch from '2026-07-02 16:43:44'::timestamp) - extract(epoch from '2026-07-02 16:43:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.419526 -3.127261)', '2026-07-02 16:43:47', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419576 -3.127288)'), GeomFromEWKT('SRID=4674;POINT (-39.419526 -3.127261)'))) / (select extract(epoch from '2026-07-02 16:43:47'::timestamp) - extract(epoch from '2026-07-02 16:43:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419576 -3.127288)'), GeomFromEWKT('SRID=4674;POINT (-39.419526 -3.127261)'))) / (select extract(epoch from '2026-07-02 16:43:47'::timestamp) - extract(epoch from '2026-07-02 16:43: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'), 47980, 'SRID=4674;POINT (-39.419479 -3.12722)', '2026-07-02 16:43:51', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419526 -3.127261)'), GeomFromEWKT('SRID=4674;POINT (-39.419479 -3.12722)'))) / (select extract(epoch from '2026-07-02 16:43:51'::timestamp) - extract(epoch from '2026-07-02 16:43:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419526 -3.127261)'), GeomFromEWKT('SRID=4674;POINT (-39.419479 -3.12722)'))) / (select extract(epoch from '2026-07-02 16:43:51'::timestamp) - extract(epoch from '2026-07-02 16:43: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'), 47980, 'SRID=4674;POINT (-39.419454 -3.1272)', '2026-07-02 16:43:53', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419479 -3.12722)'), GeomFromEWKT('SRID=4674;POINT (-39.419454 -3.1272)'))) / (select extract(epoch from '2026-07-02 16:43:53'::timestamp) - extract(epoch from '2026-07-02 16:43:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419479 -3.12722)'), GeomFromEWKT('SRID=4674;POINT (-39.419454 -3.1272)'))) / (select extract(epoch from '2026-07-02 16:43:53'::timestamp) - extract(epoch from '2026-07-02 16:43: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'), 47980, 'SRID=4674;POINT (-39.419451 -3.127194)', '2026-07-02 16:43:54', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419454 -3.1272)'), GeomFromEWKT('SRID=4674;POINT (-39.419451 -3.127194)'))) / (select extract(epoch from '2026-07-02 16:43:54'::timestamp) - extract(epoch from '2026-07-02 16:43:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419454 -3.1272)'), GeomFromEWKT('SRID=4674;POINT (-39.419451 -3.127194)'))) / (select extract(epoch from '2026-07-02 16:43:54'::timestamp) - extract(epoch from '2026-07-02 16:43:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.419404 -3.127145)', '2026-07-02 16:43:59', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419451 -3.127194)'), GeomFromEWKT('SRID=4674;POINT (-39.419404 -3.127145)'))) / (select extract(epoch from '2026-07-02 16:43:59'::timestamp) - extract(epoch from '2026-07-02 16:43:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419451 -3.127194)'), GeomFromEWKT('SRID=4674;POINT (-39.419404 -3.127145)'))) / (select extract(epoch from '2026-07-02 16:43:59'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.419354 -3.127095)', '2026-07-02 16:44:04', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419404 -3.127145)'), GeomFromEWKT('SRID=4674;POINT (-39.419354 -3.127095)'))) / (select extract(epoch from '2026-07-02 16:44:04'::timestamp) - extract(epoch from '2026-07-02 16:43:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419404 -3.127145)'), GeomFromEWKT('SRID=4674;POINT (-39.419354 -3.127095)'))) / (select extract(epoch from '2026-07-02 16:44:04'::timestamp) - extract(epoch from '2026-07-02 16:43: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'), 47980, 'SRID=4674;POINT (-39.419307 -3.127048)', '2026-07-02 16:44:09', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419354 -3.127095)'), GeomFromEWKT('SRID=4674;POINT (-39.419307 -3.127048)'))) / (select extract(epoch from '2026-07-02 16:44:09'::timestamp) - extract(epoch from '2026-07-02 16:44:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419354 -3.127095)'), GeomFromEWKT('SRID=4674;POINT (-39.419307 -3.127048)'))) / (select extract(epoch from '2026-07-02 16:44:09'::timestamp) - extract(epoch from '2026-07-02 16:44: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'), 47980, 'SRID=4674;POINT (-39.419236 -3.126985)', '2026-07-02 16:44:16', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419307 -3.127048)'), GeomFromEWKT('SRID=4674;POINT (-39.419236 -3.126985)'))) / (select extract(epoch from '2026-07-02 16:44:16'::timestamp) - extract(epoch from '2026-07-02 16:44:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419307 -3.127048)'), GeomFromEWKT('SRID=4674;POINT (-39.419236 -3.126985)'))) / (select extract(epoch from '2026-07-02 16:44:16'::timestamp) - extract(epoch from '2026-07-02 16:44:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.41917 -3.126921)', '2026-07-02 16:44:22', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419236 -3.126985)'), GeomFromEWKT('SRID=4674;POINT (-39.41917 -3.126921)'))) / (select extract(epoch from '2026-07-02 16:44:22'::timestamp) - extract(epoch from '2026-07-02 16:44:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419236 -3.126985)'), GeomFromEWKT('SRID=4674;POINT (-39.41917 -3.126921)'))) / (select extract(epoch from '2026-07-02 16:44:22'::timestamp) - extract(epoch from '2026-07-02 16:44:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.419156 -3.12691)', '2026-07-02 16:44:23', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41917 -3.126921)'), GeomFromEWKT('SRID=4674;POINT (-39.419156 -3.12691)'))) / (select extract(epoch from '2026-07-02 16:44:23'::timestamp) - extract(epoch from '2026-07-02 16:44:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41917 -3.126921)'), GeomFromEWKT('SRID=4674;POINT (-39.419156 -3.12691)'))) / (select extract(epoch from '2026-07-02 16:44:23'::timestamp) - extract(epoch from '2026-07-02 16:44: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'), 47980, 'SRID=4674;POINT (-39.419118 -3.12686)', '2026-07-02 16:44:28', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419156 -3.12691)'), GeomFromEWKT('SRID=4674;POINT (-39.419118 -3.12686)'))) / (select extract(epoch from '2026-07-02 16:44:28'::timestamp) - extract(epoch from '2026-07-02 16:44:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419156 -3.12691)'), GeomFromEWKT('SRID=4674;POINT (-39.419118 -3.12686)'))) / (select extract(epoch from '2026-07-02 16:44:28'::timestamp) - extract(epoch from '2026-07-02 16:44: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'), 47980, 'SRID=4674;POINT (-39.419073 -3.12682)', '2026-07-02 16:44:32', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419118 -3.12686)'), GeomFromEWKT('SRID=4674;POINT (-39.419073 -3.12682)'))) / (select extract(epoch from '2026-07-02 16:44:32'::timestamp) - extract(epoch from '2026-07-02 16:44:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419118 -3.12686)'), GeomFromEWKT('SRID=4674;POINT (-39.419073 -3.12682)'))) / (select extract(epoch from '2026-07-02 16:44:32'::timestamp) - extract(epoch from '2026-07-02 16:44:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.419006 -3.126768)', '2026-07-02 16:44:38', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419073 -3.12682)'), GeomFromEWKT('SRID=4674;POINT (-39.419006 -3.126768)'))) / (select extract(epoch from '2026-07-02 16:44:38'::timestamp) - extract(epoch from '2026-07-02 16:44:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419073 -3.12682)'), GeomFromEWKT('SRID=4674;POINT (-39.419006 -3.126768)'))) / (select extract(epoch from '2026-07-02 16:44:38'::timestamp) - extract(epoch from '2026-07-02 16:44:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.418925 -3.126725)', '2026-07-02 16:44:44', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419006 -3.126768)'), GeomFromEWKT('SRID=4674;POINT (-39.418925 -3.126725)'))) / (select extract(epoch from '2026-07-02 16:44:44'::timestamp) - extract(epoch from '2026-07-02 16:44:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419006 -3.126768)'), GeomFromEWKT('SRID=4674;POINT (-39.418925 -3.126725)'))) / (select extract(epoch from '2026-07-02 16:44:44'::timestamp) - extract(epoch from '2026-07-02 16:44: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'), 47980, 'SRID=4674;POINT (-39.418856 -3.126667)', '2026-07-02 16:44:50', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418925 -3.126725)'), GeomFromEWKT('SRID=4674;POINT (-39.418856 -3.126667)'))) / (select extract(epoch from '2026-07-02 16:44:50'::timestamp) - extract(epoch from '2026-07-02 16:44:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418925 -3.126725)'), GeomFromEWKT('SRID=4674;POINT (-39.418856 -3.126667)'))) / (select extract(epoch from '2026-07-02 16:44:50'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.418812 -3.126606)', '2026-07-02 16:44:56', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418856 -3.126667)'), GeomFromEWKT('SRID=4674;POINT (-39.418812 -3.126606)'))) / (select extract(epoch from '2026-07-02 16:44:56'::timestamp) - extract(epoch from '2026-07-02 16:44:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418856 -3.126667)'), GeomFromEWKT('SRID=4674;POINT (-39.418812 -3.126606)'))) / (select extract(epoch from '2026-07-02 16:44:56'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.418755 -3.126531)', '2026-07-02 16:45:02', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418812 -3.126606)'), GeomFromEWKT('SRID=4674;POINT (-39.418755 -3.126531)'))) / (select extract(epoch from '2026-07-02 16:45:02'::timestamp) - extract(epoch from '2026-07-02 16:44:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418812 -3.126606)'), GeomFromEWKT('SRID=4674;POINT (-39.418755 -3.126531)'))) / (select extract(epoch from '2026-07-02 16:45:02'::timestamp) - extract(epoch from '2026-07-02 16:44: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'), 47980, 'SRID=4674;POINT (-39.418705 -3.12648)', '2026-07-02 16:45:07', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418755 -3.126531)'), GeomFromEWKT('SRID=4674;POINT (-39.418705 -3.12648)'))) / (select extract(epoch from '2026-07-02 16:45:07'::timestamp) - extract(epoch from '2026-07-02 16:45:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418755 -3.126531)'), GeomFromEWKT('SRID=4674;POINT (-39.418705 -3.12648)'))) / (select extract(epoch from '2026-07-02 16:45:07'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.418629 -3.126422)', '2026-07-02 16:45:13', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418705 -3.12648)'), GeomFromEWKT('SRID=4674;POINT (-39.418629 -3.126422)'))) / (select extract(epoch from '2026-07-02 16:45:13'::timestamp) - extract(epoch from '2026-07-02 16:45:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418705 -3.12648)'), GeomFromEWKT('SRID=4674;POINT (-39.418629 -3.126422)'))) / (select extract(epoch from '2026-07-02 16:45:13'::timestamp) - extract(epoch from '2026-07-02 16:45: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'), 47980, 'SRID=4674;POINT (-39.418561 -3.12635)', '2026-07-02 16:45:19', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418629 -3.126422)'), GeomFromEWKT('SRID=4674;POINT (-39.418561 -3.12635)'))) / (select extract(epoch from '2026-07-02 16:45:19'::timestamp) - extract(epoch from '2026-07-02 16:45:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418629 -3.126422)'), GeomFromEWKT('SRID=4674;POINT (-39.418561 -3.12635)'))) / (select extract(epoch from '2026-07-02 16:45:19'::timestamp) - extract(epoch from '2026-07-02 16:45: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'), 47980, 'SRID=4674;POINT (-39.418556 -3.126336)', '2026-07-02 16:45:20', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418561 -3.12635)'), GeomFromEWKT('SRID=4674;POINT (-39.418556 -3.126336)'))) / (select extract(epoch from '2026-07-02 16:45:20'::timestamp) - extract(epoch from '2026-07-02 16:45:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418561 -3.12635)'), GeomFromEWKT('SRID=4674;POINT (-39.418556 -3.126336)'))) / (select extract(epoch from '2026-07-02 16:45:20'::timestamp) - extract(epoch from '2026-07-02 16:45: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'), 47980, 'SRID=4674;POINT (-39.418515 -3.126274)', '2026-07-02 16:45:25', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418556 -3.126336)'), GeomFromEWKT('SRID=4674;POINT (-39.418515 -3.126274)'))) / (select extract(epoch from '2026-07-02 16:45:25'::timestamp) - extract(epoch from '2026-07-02 16:45:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418556 -3.126336)'), GeomFromEWKT('SRID=4674;POINT (-39.418515 -3.126274)'))) / (select extract(epoch from '2026-07-02 16:45:25'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.418462 -3.1262)', '2026-07-02 16:45:31', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418515 -3.126274)'), GeomFromEWKT('SRID=4674;POINT (-39.418462 -3.1262)'))) / (select extract(epoch from '2026-07-02 16:45:31'::timestamp) - extract(epoch from '2026-07-02 16:45:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418515 -3.126274)'), GeomFromEWKT('SRID=4674;POINT (-39.418462 -3.1262)'))) / (select extract(epoch from '2026-07-02 16:45:31'::timestamp) - extract(epoch from '2026-07-02 16:45: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'), 47980, 'SRID=4674;POINT (-39.418403 -3.126134)', '2026-07-02 16:45:37', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418462 -3.1262)'), GeomFromEWKT('SRID=4674;POINT (-39.418403 -3.126134)'))) / (select extract(epoch from '2026-07-02 16:45:37'::timestamp) - extract(epoch from '2026-07-02 16:45:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418462 -3.1262)'), GeomFromEWKT('SRID=4674;POINT (-39.418403 -3.126134)'))) / (select extract(epoch from '2026-07-02 16:45:37'::timestamp) - extract(epoch from '2026-07-02 16:45: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'), 47980, 'SRID=4674;POINT (-39.418395 -3.12612)', '2026-07-02 16:45:38', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418403 -3.126134)'), GeomFromEWKT('SRID=4674;POINT (-39.418395 -3.12612)'))) / (select extract(epoch from '2026-07-02 16:45:38'::timestamp) - extract(epoch from '2026-07-02 16:45:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418403 -3.126134)'), GeomFromEWKT('SRID=4674;POINT (-39.418395 -3.12612)'))) / (select extract(epoch from '2026-07-02 16:45:38'::timestamp) - extract(epoch from '2026-07-02 16:45:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.418358 -3.126083)', '2026-07-02 16:45:41', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418395 -3.12612)'), GeomFromEWKT('SRID=4674;POINT (-39.418358 -3.126083)'))) / (select extract(epoch from '2026-07-02 16:45:41'::timestamp) - extract(epoch from '2026-07-02 16:45:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418395 -3.12612)'), GeomFromEWKT('SRID=4674;POINT (-39.418358 -3.126083)'))) / (select extract(epoch from '2026-07-02 16:45:41'::timestamp) - extract(epoch from '2026-07-02 16:45: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'), 47980, 'SRID=4674;POINT (-39.418313 -3.126022)', '2026-07-02 16:45:46', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418358 -3.126083)'), GeomFromEWKT('SRID=4674;POINT (-39.418313 -3.126022)'))) / (select extract(epoch from '2026-07-02 16:45:46'::timestamp) - extract(epoch from '2026-07-02 16:45:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418358 -3.126083)'), GeomFromEWKT('SRID=4674;POINT (-39.418313 -3.126022)'))) / (select extract(epoch from '2026-07-02 16:45:46'::timestamp) - extract(epoch from '2026-07-02 16:45: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'), 47980, 'SRID=4674;POINT (-39.418252 -3.125942)', '2026-07-02 16:45:53', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418313 -3.126022)'), GeomFromEWKT('SRID=4674;POINT (-39.418252 -3.125942)'))) / (select extract(epoch from '2026-07-02 16:45:53'::timestamp) - extract(epoch from '2026-07-02 16:45:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418313 -3.126022)'), GeomFromEWKT('SRID=4674;POINT (-39.418252 -3.125942)'))) / (select extract(epoch from '2026-07-02 16:45:53'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.41823 -3.125903)', '2026-07-02 16:45:56', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418252 -3.125942)'), GeomFromEWKT('SRID=4674;POINT (-39.41823 -3.125903)'))) / (select extract(epoch from '2026-07-02 16:45:56'::timestamp) - extract(epoch from '2026-07-02 16:45:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418252 -3.125942)'), GeomFromEWKT('SRID=4674;POINT (-39.41823 -3.125903)'))) / (select extract(epoch from '2026-07-02 16:45:56'::timestamp) - extract(epoch from '2026-07-02 16:45: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'), 47980, 'SRID=4674;POINT (-39.418202 -3.125873)', '2026-07-02 16:45:59', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41823 -3.125903)'), GeomFromEWKT('SRID=4674;POINT (-39.418202 -3.125873)'))) / (select extract(epoch from '2026-07-02 16:45:59'::timestamp) - extract(epoch from '2026-07-02 16:45:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41823 -3.125903)'), GeomFromEWKT('SRID=4674;POINT (-39.418202 -3.125873)'))) / (select extract(epoch from '2026-07-02 16:45:59'::timestamp) - extract(epoch from '2026-07-02 16:45:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.418141 -3.125805)', '2026-07-02 16:46:05', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418202 -3.125873)'), GeomFromEWKT('SRID=4674;POINT (-39.418141 -3.125805)'))) / (select extract(epoch from '2026-07-02 16:46:05'::timestamp) - extract(epoch from '2026-07-02 16:45:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418202 -3.125873)'), GeomFromEWKT('SRID=4674;POINT (-39.418141 -3.125805)'))) / (select extract(epoch from '2026-07-02 16:46:05'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.418082 -3.125738)', '2026-07-02 16:46:11', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418141 -3.125805)'), GeomFromEWKT('SRID=4674;POINT (-39.418082 -3.125738)'))) / (select extract(epoch from '2026-07-02 16:46:11'::timestamp) - extract(epoch from '2026-07-02 16:46:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418141 -3.125805)'), GeomFromEWKT('SRID=4674;POINT (-39.418082 -3.125738)'))) / (select extract(epoch from '2026-07-02 16:46:11'::timestamp) - extract(epoch from '2026-07-02 16:46: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'), 47980, 'SRID=4674;POINT (-39.418028 -3.125674)', '2026-07-02 16:46:17', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418082 -3.125738)'), GeomFromEWKT('SRID=4674;POINT (-39.418028 -3.125674)'))) / (select extract(epoch from '2026-07-02 16:46:17'::timestamp) - extract(epoch from '2026-07-02 16:46:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418082 -3.125738)'), GeomFromEWKT('SRID=4674;POINT (-39.418028 -3.125674)'))) / (select extract(epoch from '2026-07-02 16:46:17'::timestamp) - extract(epoch from '2026-07-02 16:46:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.418011 -3.125655)', '2026-07-02 16:46:19', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418028 -3.125674)'), GeomFromEWKT('SRID=4674;POINT (-39.418011 -3.125655)'))) / (select extract(epoch from '2026-07-02 16:46:19'::timestamp) - extract(epoch from '2026-07-02 16:46:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418028 -3.125674)'), GeomFromEWKT('SRID=4674;POINT (-39.418011 -3.125655)'))) / (select extract(epoch from '2026-07-02 16:46:19'::timestamp) - extract(epoch from '2026-07-02 16:46: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'), 47980, 'SRID=4674;POINT (-39.417983 -3.125615)', '2026-07-02 16:46:22', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418011 -3.125655)'), GeomFromEWKT('SRID=4674;POINT (-39.417983 -3.125615)'))) / (select extract(epoch from '2026-07-02 16:46:22'::timestamp) - extract(epoch from '2026-07-02 16:46:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418011 -3.125655)'), GeomFromEWKT('SRID=4674;POINT (-39.417983 -3.125615)'))) / (select extract(epoch from '2026-07-02 16:46:22'::timestamp) - extract(epoch from '2026-07-02 16:46:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.41794 -3.125563)', '2026-07-02 16:46:27', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417983 -3.125615)'), GeomFromEWKT('SRID=4674;POINT (-39.41794 -3.125563)'))) / (select extract(epoch from '2026-07-02 16:46:27'::timestamp) - extract(epoch from '2026-07-02 16:46:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417983 -3.125615)'), GeomFromEWKT('SRID=4674;POINT (-39.41794 -3.125563)'))) / (select extract(epoch from '2026-07-02 16:46:27'::timestamp) - extract(epoch from '2026-07-02 16:46: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'), 47980, 'SRID=4674;POINT (-39.4179 -3.125518)', '2026-07-02 16:46:31', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41794 -3.125563)'), GeomFromEWKT('SRID=4674;POINT (-39.4179 -3.125518)'))) / (select extract(epoch from '2026-07-02 16:46:31'::timestamp) - extract(epoch from '2026-07-02 16:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41794 -3.125563)'), GeomFromEWKT('SRID=4674;POINT (-39.4179 -3.125518)'))) / (select extract(epoch from '2026-07-02 16:46:31'::timestamp) - extract(epoch from '2026-07-02 16:46:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.417896 -3.125506)', '2026-07-02 16:46:32', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4179 -3.125518)'), GeomFromEWKT('SRID=4674;POINT (-39.417896 -3.125506)'))) / (select extract(epoch from '2026-07-02 16:46:32'::timestamp) - extract(epoch from '2026-07-02 16:46:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4179 -3.125518)'), GeomFromEWKT('SRID=4674;POINT (-39.417896 -3.125506)'))) / (select extract(epoch from '2026-07-02 16:46:32'::timestamp) - extract(epoch from '2026-07-02 16:46:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.417833 -3.125434)', '2026-07-02 16:46:38', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417896 -3.125506)'), GeomFromEWKT('SRID=4674;POINT (-39.417833 -3.125434)'))) / (select extract(epoch from '2026-07-02 16:46:38'::timestamp) - extract(epoch from '2026-07-02 16:46:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417896 -3.125506)'), GeomFromEWKT('SRID=4674;POINT (-39.417833 -3.125434)'))) / (select extract(epoch from '2026-07-02 16:46:38'::timestamp) - extract(epoch from '2026-07-02 16:46: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'), 47980, 'SRID=4674;POINT (-39.417758 -3.125376)', '2026-07-02 16:46:44', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417833 -3.125434)'), GeomFromEWKT('SRID=4674;POINT (-39.417758 -3.125376)'))) / (select extract(epoch from '2026-07-02 16:46:44'::timestamp) - extract(epoch from '2026-07-02 16:46:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417833 -3.125434)'), GeomFromEWKT('SRID=4674;POINT (-39.417758 -3.125376)'))) / (select extract(epoch from '2026-07-02 16:46:44'::timestamp) - extract(epoch from '2026-07-02 16:46: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'), 47980, 'SRID=4674;POINT (-39.417692 -3.125321)', '2026-07-02 16:46:50', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417758 -3.125376)'), GeomFromEWKT('SRID=4674;POINT (-39.417692 -3.125321)'))) / (select extract(epoch from '2026-07-02 16:46:50'::timestamp) - extract(epoch from '2026-07-02 16:46:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417758 -3.125376)'), GeomFromEWKT('SRID=4674;POINT (-39.417692 -3.125321)'))) / (select extract(epoch from '2026-07-02 16:46:50'::timestamp) - extract(epoch from '2026-07-02 16:46: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'), 47980, 'SRID=4674;POINT (-39.417635 -3.125243)', '2026-07-02 16:46:57', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417692 -3.125321)'), GeomFromEWKT('SRID=4674;POINT (-39.417635 -3.125243)'))) / (select extract(epoch from '2026-07-02 16:46:57'::timestamp) - extract(epoch from '2026-07-02 16:46:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417692 -3.125321)'), GeomFromEWKT('SRID=4674;POINT (-39.417635 -3.125243)'))) / (select extract(epoch from '2026-07-02 16:46:57'::timestamp) - extract(epoch from '2026-07-02 16:46: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'), 47980, 'SRID=4674;POINT (-39.41759 -3.125176)', '2026-07-02 16:47:03', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417635 -3.125243)'), GeomFromEWKT('SRID=4674;POINT (-39.41759 -3.125176)'))) / (select extract(epoch from '2026-07-02 16:47:03'::timestamp) - extract(epoch from '2026-07-02 16:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417635 -3.125243)'), GeomFromEWKT('SRID=4674;POINT (-39.41759 -3.125176)'))) / (select extract(epoch from '2026-07-02 16:47:03'::timestamp) - extract(epoch from '2026-07-02 16:46: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'), 47980, 'SRID=4674;POINT (-39.417539 -3.125119)', '2026-07-02 16:47:09', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41759 -3.125176)'), GeomFromEWKT('SRID=4674;POINT (-39.417539 -3.125119)'))) / (select extract(epoch from '2026-07-02 16:47:09'::timestamp) - extract(epoch from '2026-07-02 16:47:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41759 -3.125176)'), GeomFromEWKT('SRID=4674;POINT (-39.417539 -3.125119)'))) / (select extract(epoch from '2026-07-02 16:47:09'::timestamp) - extract(epoch from '2026-07-02 16:47:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.417499 -3.125087)', '2026-07-02 16:47:13', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417539 -3.125119)'), GeomFromEWKT('SRID=4674;POINT (-39.417499 -3.125087)'))) / (select extract(epoch from '2026-07-02 16:47:13'::timestamp) - extract(epoch from '2026-07-02 16:47:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417539 -3.125119)'), GeomFromEWKT('SRID=4674;POINT (-39.417499 -3.125087)'))) / (select extract(epoch from '2026-07-02 16:47:13'::timestamp) - extract(epoch from '2026-07-02 16:47:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.417479 -3.125075)', '2026-07-02 16:47:15', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417499 -3.125087)'), GeomFromEWKT('SRID=4674;POINT (-39.417479 -3.125075)'))) / (select extract(epoch from '2026-07-02 16:47:15'::timestamp) - extract(epoch from '2026-07-02 16:47:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417499 -3.125087)'), GeomFromEWKT('SRID=4674;POINT (-39.417479 -3.125075)'))) / (select extract(epoch from '2026-07-02 16:47:15'::timestamp) - extract(epoch from '2026-07-02 16:47: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'), 47980, 'SRID=4674;POINT (-39.417468 -3.125075)', '2026-07-02 16:47:16', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417479 -3.125075)'), GeomFromEWKT('SRID=4674;POINT (-39.417468 -3.125075)'))) / (select extract(epoch from '2026-07-02 16:47:16'::timestamp) - extract(epoch from '2026-07-02 16:47:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417479 -3.125075)'), GeomFromEWKT('SRID=4674;POINT (-39.417468 -3.125075)'))) / (select extract(epoch from '2026-07-02 16:47:16'::timestamp) - extract(epoch from '2026-07-02 16:47: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'), 47980, 'SRID=4674;POINT (-39.417407 -3.125056)', '2026-07-02 16:47:21', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417468 -3.125075)'), GeomFromEWKT('SRID=4674;POINT (-39.417407 -3.125056)'))) / (select extract(epoch from '2026-07-02 16:47:21'::timestamp) - extract(epoch from '2026-07-02 16:47:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417468 -3.125075)'), GeomFromEWKT('SRID=4674;POINT (-39.417407 -3.125056)'))) / (select extract(epoch from '2026-07-02 16:47:21'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.41736 -3.125017)', '2026-07-02 16:47:27', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417407 -3.125056)'), GeomFromEWKT('SRID=4674;POINT (-39.41736 -3.125017)'))) / (select extract(epoch from '2026-07-02 16:47:27'::timestamp) - extract(epoch from '2026-07-02 16:47:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417407 -3.125056)'), GeomFromEWKT('SRID=4674;POINT (-39.41736 -3.125017)'))) / (select extract(epoch from '2026-07-02 16:47:27'::timestamp) - extract(epoch from '2026-07-02 16:47: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'), 47980, 'SRID=4674;POINT (-39.417282 -3.124963)', '2026-07-02 16:47:34', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41736 -3.125017)'), GeomFromEWKT('SRID=4674;POINT (-39.417282 -3.124963)'))) / (select extract(epoch from '2026-07-02 16:47:34'::timestamp) - extract(epoch from '2026-07-02 16:47:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41736 -3.125017)'), GeomFromEWKT('SRID=4674;POINT (-39.417282 -3.124963)'))) / (select extract(epoch from '2026-07-02 16:47:34'::timestamp) - extract(epoch from '2026-07-02 16:47:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.417236 -3.124892)', '2026-07-02 16:47:40', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417282 -3.124963)'), GeomFromEWKT('SRID=4674;POINT (-39.417236 -3.124892)'))) / (select extract(epoch from '2026-07-02 16:47:40'::timestamp) - extract(epoch from '2026-07-02 16:47:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417282 -3.124963)'), GeomFromEWKT('SRID=4674;POINT (-39.417236 -3.124892)'))) / (select extract(epoch from '2026-07-02 16:47:40'::timestamp) - extract(epoch from '2026-07-02 16:47: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'), 47980, 'SRID=4674;POINT (-39.417226 -3.124877)', '2026-07-02 16:47:41', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417236 -3.124892)'), GeomFromEWKT('SRID=4674;POINT (-39.417226 -3.124877)'))) / (select extract(epoch from '2026-07-02 16:47:41'::timestamp) - extract(epoch from '2026-07-02 16:47:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417236 -3.124892)'), GeomFromEWKT('SRID=4674;POINT (-39.417226 -3.124877)'))) / (select extract(epoch from '2026-07-02 16:47:41'::timestamp) - extract(epoch from '2026-07-02 16:47: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'), 47980, 'SRID=4674;POINT (-39.417211 -3.124853)', '2026-07-02 16:47:43', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417226 -3.124877)'), GeomFromEWKT('SRID=4674;POINT (-39.417211 -3.124853)'))) / (select extract(epoch from '2026-07-02 16:47:43'::timestamp) - extract(epoch from '2026-07-02 16:47:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417226 -3.124877)'), GeomFromEWKT('SRID=4674;POINT (-39.417211 -3.124853)'))) / (select extract(epoch from '2026-07-02 16:47:43'::timestamp) - extract(epoch from '2026-07-02 16:47: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'), 47980, 'SRID=4674;POINT (-39.417197 -3.124828)', '2026-07-02 16:47:45', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417211 -3.124853)'), GeomFromEWKT('SRID=4674;POINT (-39.417197 -3.124828)'))) / (select extract(epoch from '2026-07-02 16:47:45'::timestamp) - extract(epoch from '2026-07-02 16:47:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417211 -3.124853)'), GeomFromEWKT('SRID=4674;POINT (-39.417197 -3.124828)'))) / (select extract(epoch from '2026-07-02 16:47:45'::timestamp) - extract(epoch from '2026-07-02 16:47: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'), 47980, 'SRID=4674;POINT (-39.417145 -3.124762)', '2026-07-02 16:47:51', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417197 -3.124828)'), GeomFromEWKT('SRID=4674;POINT (-39.417145 -3.124762)'))) / (select extract(epoch from '2026-07-02 16:47:51'::timestamp) - extract(epoch from '2026-07-02 16:47:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417197 -3.124828)'), GeomFromEWKT('SRID=4674;POINT (-39.417145 -3.124762)'))) / (select extract(epoch from '2026-07-02 16:47:51'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.417089 -3.124682)', '2026-07-02 16:47:57', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417145 -3.124762)'), GeomFromEWKT('SRID=4674;POINT (-39.417089 -3.124682)'))) / (select extract(epoch from '2026-07-02 16:47:57'::timestamp) - extract(epoch from '2026-07-02 16:47:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417145 -3.124762)'), GeomFromEWKT('SRID=4674;POINT (-39.417089 -3.124682)'))) / (select extract(epoch from '2026-07-02 16:47:57'::timestamp) - extract(epoch from '2026-07-02 16:47:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.417058 -3.124633)', '2026-07-02 16:48:01', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417089 -3.124682)'), GeomFromEWKT('SRID=4674;POINT (-39.417058 -3.124633)'))) / (select extract(epoch from '2026-07-02 16:48:01'::timestamp) - extract(epoch from '2026-07-02 16:47:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417089 -3.124682)'), GeomFromEWKT('SRID=4674;POINT (-39.417058 -3.124633)'))) / (select extract(epoch from '2026-07-02 16:48:01'::timestamp) - extract(epoch from '2026-07-02 16:47: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'), 47980, 'SRID=4674;POINT (-39.41705 -3.124623)', '2026-07-02 16:48:02', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417058 -3.124633)'), GeomFromEWKT('SRID=4674;POINT (-39.41705 -3.124623)'))) / (select extract(epoch from '2026-07-02 16:48:02'::timestamp) - extract(epoch from '2026-07-02 16:48:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417058 -3.124633)'), GeomFromEWKT('SRID=4674;POINT (-39.41705 -3.124623)'))) / (select extract(epoch from '2026-07-02 16:48:02'::timestamp) - extract(epoch from '2026-07-02 16:48: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'), 47980, 'SRID=4674;POINT (-39.416983 -3.124527)', '2026-07-02 16:48:10', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41705 -3.124623)'), GeomFromEWKT('SRID=4674;POINT (-39.416983 -3.124527)'))) / (select extract(epoch from '2026-07-02 16:48:10'::timestamp) - extract(epoch from '2026-07-02 16:48:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41705 -3.124623)'), GeomFromEWKT('SRID=4674;POINT (-39.416983 -3.124527)'))) / (select extract(epoch from '2026-07-02 16:48:10'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.416922 -3.124472)', '2026-07-02 16:48:16', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416983 -3.124527)'), GeomFromEWKT('SRID=4674;POINT (-39.416922 -3.124472)'))) / (select extract(epoch from '2026-07-02 16:48:16'::timestamp) - extract(epoch from '2026-07-02 16:48:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416983 -3.124527)'), GeomFromEWKT('SRID=4674;POINT (-39.416922 -3.124472)'))) / (select extract(epoch from '2026-07-02 16:48:16'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.416863 -3.124402)', '2026-07-02 16:48:22', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416922 -3.124472)'), GeomFromEWKT('SRID=4674;POINT (-39.416863 -3.124402)'))) / (select extract(epoch from '2026-07-02 16:48:22'::timestamp) - extract(epoch from '2026-07-02 16:48:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416922 -3.124472)'), GeomFromEWKT('SRID=4674;POINT (-39.416863 -3.124402)'))) / (select extract(epoch from '2026-07-02 16:48:22'::timestamp) - extract(epoch from '2026-07-02 16:48: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'), 47980, 'SRID=4674;POINT (-39.416849 -3.124393)', '2026-07-02 16:48:23', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416863 -3.124402)'), GeomFromEWKT('SRID=4674;POINT (-39.416849 -3.124393)'))) / (select extract(epoch from '2026-07-02 16:48:23'::timestamp) - extract(epoch from '2026-07-02 16:48:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416863 -3.124402)'), GeomFromEWKT('SRID=4674;POINT (-39.416849 -3.124393)'))) / (select extract(epoch from '2026-07-02 16:48:23'::timestamp) - extract(epoch from '2026-07-02 16:48: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'), 47980, 'SRID=4674;POINT (-39.416787 -3.124349)', '2026-07-02 16:48:28', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416849 -3.124393)'), GeomFromEWKT('SRID=4674;POINT (-39.416787 -3.124349)'))) / (select extract(epoch from '2026-07-02 16:48:28'::timestamp) - extract(epoch from '2026-07-02 16:48:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416849 -3.124393)'), GeomFromEWKT('SRID=4674;POINT (-39.416787 -3.124349)'))) / (select extract(epoch from '2026-07-02 16:48:28'::timestamp) - extract(epoch from '2026-07-02 16:48: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'), 47980, 'SRID=4674;POINT (-39.416775 -3.124337)', '2026-07-02 16:48:29', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416787 -3.124349)'), GeomFromEWKT('SRID=4674;POINT (-39.416775 -3.124337)'))) / (select extract(epoch from '2026-07-02 16:48:29'::timestamp) - extract(epoch from '2026-07-02 16:48:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416787 -3.124349)'), GeomFromEWKT('SRID=4674;POINT (-39.416775 -3.124337)'))) / (select extract(epoch from '2026-07-02 16:48:29'::timestamp) - extract(epoch from '2026-07-02 16:48:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.416702 -3.124256)', '2026-07-02 16:48:36', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416775 -3.124337)'), GeomFromEWKT('SRID=4674;POINT (-39.416702 -3.124256)'))) / (select extract(epoch from '2026-07-02 16:48:36'::timestamp) - extract(epoch from '2026-07-02 16:48:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416775 -3.124337)'), GeomFromEWKT('SRID=4674;POINT (-39.416702 -3.124256)'))) / (select extract(epoch from '2026-07-02 16:48:36'::timestamp) - extract(epoch from '2026-07-02 16:48: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'), 47980, 'SRID=4674;POINT (-39.416656 -3.124188)', '2026-07-02 16:48:42', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416702 -3.124256)'), GeomFromEWKT('SRID=4674;POINT (-39.416656 -3.124188)'))) / (select extract(epoch from '2026-07-02 16:48:42'::timestamp) - extract(epoch from '2026-07-02 16:48:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416702 -3.124256)'), GeomFromEWKT('SRID=4674;POINT (-39.416656 -3.124188)'))) / (select extract(epoch from '2026-07-02 16:48:42'::timestamp) - extract(epoch from '2026-07-02 16:48:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.416594 -3.124142)', '2026-07-02 16:48:48', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416656 -3.124188)'), GeomFromEWKT('SRID=4674;POINT (-39.416594 -3.124142)'))) / (select extract(epoch from '2026-07-02 16:48:48'::timestamp) - extract(epoch from '2026-07-02 16:48:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416656 -3.124188)'), GeomFromEWKT('SRID=4674;POINT (-39.416594 -3.124142)'))) / (select extract(epoch from '2026-07-02 16:48:48'::timestamp) - extract(epoch from '2026-07-02 16:48: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'), 47980, 'SRID=4674;POINT (-39.416518 -3.124091)', '2026-07-02 16:48:55', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416594 -3.124142)'), GeomFromEWKT('SRID=4674;POINT (-39.416518 -3.124091)'))) / (select extract(epoch from '2026-07-02 16:48:55'::timestamp) - extract(epoch from '2026-07-02 16:48:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416594 -3.124142)'), GeomFromEWKT('SRID=4674;POINT (-39.416518 -3.124091)'))) / (select extract(epoch from '2026-07-02 16:48:55'::timestamp) - extract(epoch from '2026-07-02 16:48: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'), 47980, 'SRID=4674;POINT (-39.416465 -3.124027)', '2026-07-02 16:49:01', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416518 -3.124091)'), GeomFromEWKT('SRID=4674;POINT (-39.416465 -3.124027)'))) / (select extract(epoch from '2026-07-02 16:49:01'::timestamp) - extract(epoch from '2026-07-02 16:48:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416518 -3.124091)'), GeomFromEWKT('SRID=4674;POINT (-39.416465 -3.124027)'))) / (select extract(epoch from '2026-07-02 16:49:01'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.416398 -3.123974)', '2026-07-02 16:49:06', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416465 -3.124027)'), GeomFromEWKT('SRID=4674;POINT (-39.416398 -3.123974)'))) / (select extract(epoch from '2026-07-02 16:49:06'::timestamp) - extract(epoch from '2026-07-02 16:49:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416465 -3.124027)'), GeomFromEWKT('SRID=4674;POINT (-39.416398 -3.123974)'))) / (select extract(epoch from '2026-07-02 16:49:06'::timestamp) - extract(epoch from '2026-07-02 16:49: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'), 47980, 'SRID=4674;POINT (-39.416323 -3.123928)', '2026-07-02 16:49:12', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416398 -3.123974)'), GeomFromEWKT('SRID=4674;POINT (-39.416323 -3.123928)'))) / (select extract(epoch from '2026-07-02 16:49:12'::timestamp) - extract(epoch from '2026-07-02 16:49:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416398 -3.123974)'), GeomFromEWKT('SRID=4674;POINT (-39.416323 -3.123928)'))) / (select extract(epoch from '2026-07-02 16:49:12'::timestamp) - extract(epoch from '2026-07-02 16:49:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.416277 -3.123887)', '2026-07-02 16:49:17', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416323 -3.123928)'), GeomFromEWKT('SRID=4674;POINT (-39.416277 -3.123887)'))) / (select extract(epoch from '2026-07-02 16:49:17'::timestamp) - extract(epoch from '2026-07-02 16:49:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416323 -3.123928)'), GeomFromEWKT('SRID=4674;POINT (-39.416277 -3.123887)'))) / (select extract(epoch from '2026-07-02 16:49:17'::timestamp) - extract(epoch from '2026-07-02 16:49: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'), 47980, 'SRID=4674;POINT (-39.416205 -3.12381)', '2026-07-02 16:49:24', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416277 -3.123887)'), GeomFromEWKT('SRID=4674;POINT (-39.416205 -3.12381)'))) / (select extract(epoch from '2026-07-02 16:49:24'::timestamp) - extract(epoch from '2026-07-02 16:49:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416277 -3.123887)'), GeomFromEWKT('SRID=4674;POINT (-39.416205 -3.12381)'))) / (select extract(epoch from '2026-07-02 16:49:24'::timestamp) - extract(epoch from '2026-07-02 16:49:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.41616 -3.123768)', '2026-07-02 16:49:29', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416205 -3.12381)'), GeomFromEWKT('SRID=4674;POINT (-39.41616 -3.123768)'))) / (select extract(epoch from '2026-07-02 16:49:29'::timestamp) - extract(epoch from '2026-07-02 16:49:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416205 -3.12381)'), GeomFromEWKT('SRID=4674;POINT (-39.41616 -3.123768)'))) / (select extract(epoch from '2026-07-02 16:49:29'::timestamp) - extract(epoch from '2026-07-02 16:49: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'), 47980, 'SRID=4674;POINT (-39.416127 -3.123739)', '2026-07-02 16:49:32', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41616 -3.123768)'), GeomFromEWKT('SRID=4674;POINT (-39.416127 -3.123739)'))) / (select extract(epoch from '2026-07-02 16:49:32'::timestamp) - extract(epoch from '2026-07-02 16:49:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41616 -3.123768)'), GeomFromEWKT('SRID=4674;POINT (-39.416127 -3.123739)'))) / (select extract(epoch from '2026-07-02 16:49:32'::timestamp) - extract(epoch from '2026-07-02 16:49: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'), 47980, 'SRID=4674;POINT (-39.416102 -3.123724)', '2026-07-02 16:49:34', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416127 -3.123739)'), GeomFromEWKT('SRID=4674;POINT (-39.416102 -3.123724)'))) / (select extract(epoch from '2026-07-02 16:49:34'::timestamp) - extract(epoch from '2026-07-02 16:49:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416127 -3.123739)'), GeomFromEWKT('SRID=4674;POINT (-39.416102 -3.123724)'))) / (select extract(epoch from '2026-07-02 16:49:34'::timestamp) - extract(epoch from '2026-07-02 16:49: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'), 47980, 'SRID=4674;POINT (-39.416094 -3.123715)', '2026-07-02 16:49:35', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416102 -3.123724)'), GeomFromEWKT('SRID=4674;POINT (-39.416094 -3.123715)'))) / (select extract(epoch from '2026-07-02 16:49:35'::timestamp) - extract(epoch from '2026-07-02 16:49:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416102 -3.123724)'), GeomFromEWKT('SRID=4674;POINT (-39.416094 -3.123715)'))) / (select extract(epoch from '2026-07-02 16:49:35'::timestamp) - extract(epoch from '2026-07-02 16:49:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.416036 -3.123664)', '2026-07-02 16:49:40', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416094 -3.123715)'), GeomFromEWKT('SRID=4674;POINT (-39.416036 -3.123664)'))) / (select extract(epoch from '2026-07-02 16:49:40'::timestamp) - extract(epoch from '2026-07-02 16:49:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416094 -3.123715)'), GeomFromEWKT('SRID=4674;POINT (-39.416036 -3.123664)'))) / (select extract(epoch from '2026-07-02 16:49:40'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.415969 -3.123598)', '2026-07-02 16:49:46', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416036 -3.123664)'), GeomFromEWKT('SRID=4674;POINT (-39.415969 -3.123598)'))) / (select extract(epoch from '2026-07-02 16:49:46'::timestamp) - extract(epoch from '2026-07-02 16:49:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416036 -3.123664)'), GeomFromEWKT('SRID=4674;POINT (-39.415969 -3.123598)'))) / (select extract(epoch from '2026-07-02 16:49:46'::timestamp) - extract(epoch from '2026-07-02 16:49: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'), 47980, 'SRID=4674;POINT (-39.415949 -3.123575)', '2026-07-02 16:49:48', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415969 -3.123598)'), GeomFromEWKT('SRID=4674;POINT (-39.415949 -3.123575)'))) / (select extract(epoch from '2026-07-02 16:49:48'::timestamp) - extract(epoch from '2026-07-02 16:49:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415969 -3.123598)'), GeomFromEWKT('SRID=4674;POINT (-39.415949 -3.123575)'))) / (select extract(epoch from '2026-07-02 16:49:48'::timestamp) - extract(epoch from '2026-07-02 16:49: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'), 47980, 'SRID=4674;POINT (-39.415926 -3.123554)', '2026-07-02 16:49:50', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415949 -3.123575)'), GeomFromEWKT('SRID=4674;POINT (-39.415926 -3.123554)'))) / (select extract(epoch from '2026-07-02 16:49:50'::timestamp) - extract(epoch from '2026-07-02 16:49:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415949 -3.123575)'), GeomFromEWKT('SRID=4674;POINT (-39.415926 -3.123554)'))) / (select extract(epoch from '2026-07-02 16:49:50'::timestamp) - extract(epoch from '2026-07-02 16:49: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'), 47980, 'SRID=4674;POINT (-39.415892 -3.123497)', '2026-07-02 16:49:55', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415926 -3.123554)'), GeomFromEWKT('SRID=4674;POINT (-39.415892 -3.123497)'))) / (select extract(epoch from '2026-07-02 16:49:55'::timestamp) - extract(epoch from '2026-07-02 16:49:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415926 -3.123554)'), GeomFromEWKT('SRID=4674;POINT (-39.415892 -3.123497)'))) / (select extract(epoch from '2026-07-02 16:49:55'::timestamp) - extract(epoch from '2026-07-02 16:49:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.415879 -3.123474)', '2026-07-02 16:49:57', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415892 -3.123497)'), GeomFromEWKT('SRID=4674;POINT (-39.415879 -3.123474)'))) / (select extract(epoch from '2026-07-02 16:49:57'::timestamp) - extract(epoch from '2026-07-02 16:49:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415892 -3.123497)'), GeomFromEWKT('SRID=4674;POINT (-39.415879 -3.123474)'))) / (select extract(epoch from '2026-07-02 16:49:57'::timestamp) - extract(epoch from '2026-07-02 16:49: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'), 47980, 'SRID=4674;POINT (-39.415853 -3.123441)', '2026-07-02 16:50:00', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415879 -3.123474)'), GeomFromEWKT('SRID=4674;POINT (-39.415853 -3.123441)'))) / (select extract(epoch from '2026-07-02 16:50:00'::timestamp) - extract(epoch from '2026-07-02 16:49:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415879 -3.123474)'), GeomFromEWKT('SRID=4674;POINT (-39.415853 -3.123441)'))) / (select extract(epoch from '2026-07-02 16:50:00'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.415819 -3.123398)', '2026-07-02 16:50:04', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415853 -3.123441)'), GeomFromEWKT('SRID=4674;POINT (-39.415819 -3.123398)'))) / (select extract(epoch from '2026-07-02 16:50:04'::timestamp) - extract(epoch from '2026-07-02 16:50:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415853 -3.123441)'), GeomFromEWKT('SRID=4674;POINT (-39.415819 -3.123398)'))) / (select extract(epoch from '2026-07-02 16:50:04'::timestamp) - extract(epoch from '2026-07-02 16:50: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'), 47980, 'SRID=4674;POINT (-39.415813 -3.123389)', '2026-07-02 16:50:05', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415819 -3.123398)'), GeomFromEWKT('SRID=4674;POINT (-39.415813 -3.123389)'))) / (select extract(epoch from '2026-07-02 16:50:05'::timestamp) - extract(epoch from '2026-07-02 16:50:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415819 -3.123398)'), GeomFromEWKT('SRID=4674;POINT (-39.415813 -3.123389)'))) / (select extract(epoch from '2026-07-02 16:50:05'::timestamp) - extract(epoch from '2026-07-02 16:50: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'), 47980, 'SRID=4674;POINT (-39.415808 -3.123378)', '2026-07-02 16:50:06', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415813 -3.123389)'), GeomFromEWKT('SRID=4674;POINT (-39.415808 -3.123378)'))) / (select extract(epoch from '2026-07-02 16:50:06'::timestamp) - extract(epoch from '2026-07-02 16:50:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415813 -3.123389)'), GeomFromEWKT('SRID=4674;POINT (-39.415808 -3.123378)'))) / (select extract(epoch from '2026-07-02 16:50:06'::timestamp) - extract(epoch from '2026-07-02 16:50:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.415781 -3.123349)', '2026-07-02 16:50:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415808 -3.123378)'), GeomFromEWKT('SRID=4674;POINT (-39.415781 -3.123349)'))) / (select extract(epoch from '2026-07-02 16:50:09'::timestamp) - extract(epoch from '2026-07-02 16:50:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415808 -3.123378)'), GeomFromEWKT('SRID=4674;POINT (-39.415781 -3.123349)'))) / (select extract(epoch from '2026-07-02 16:50:09'::timestamp) - extract(epoch from '2026-07-02 16:50:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.415778 -3.123341)', '2026-07-02 16:50:10', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415781 -3.123349)'), GeomFromEWKT('SRID=4674;POINT (-39.415778 -3.123341)'))) / (select extract(epoch from '2026-07-02 16:50:10'::timestamp) - extract(epoch from '2026-07-02 16:50:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415781 -3.123349)'), GeomFromEWKT('SRID=4674;POINT (-39.415778 -3.123341)'))) / (select extract(epoch from '2026-07-02 16:50:10'::timestamp) - extract(epoch from '2026-07-02 16:50: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'), 47980, 'SRID=4674;POINT (-39.415769 -3.123333)', '2026-07-02 16:50:11', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415778 -3.123341)'), GeomFromEWKT('SRID=4674;POINT (-39.415769 -3.123333)'))) / (select extract(epoch from '2026-07-02 16:50:11'::timestamp) - extract(epoch from '2026-07-02 16:50:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415778 -3.123341)'), GeomFromEWKT('SRID=4674;POINT (-39.415769 -3.123333)'))) / (select extract(epoch from '2026-07-02 16:50:11'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.415736 -3.123298)', '2026-07-02 16:50:14', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415769 -3.123333)'), GeomFromEWKT('SRID=4674;POINT (-39.415736 -3.123298)'))) / (select extract(epoch from '2026-07-02 16:50:14'::timestamp) - extract(epoch from '2026-07-02 16:50:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415769 -3.123333)'), GeomFromEWKT('SRID=4674;POINT (-39.415736 -3.123298)'))) / (select extract(epoch from '2026-07-02 16:50:14'::timestamp) - extract(epoch from '2026-07-02 16:50:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.415681 -3.12325)', '2026-07-02 16:50:20', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415736 -3.123298)'), GeomFromEWKT('SRID=4674;POINT (-39.415681 -3.12325)'))) / (select extract(epoch from '2026-07-02 16:50:20'::timestamp) - extract(epoch from '2026-07-02 16:50:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415736 -3.123298)'), GeomFromEWKT('SRID=4674;POINT (-39.415681 -3.12325)'))) / (select extract(epoch from '2026-07-02 16:50:20'::timestamp) - extract(epoch from '2026-07-02 16:50:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.415597 -3.123173)', '2026-07-02 16:50:28', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415681 -3.12325)'), GeomFromEWKT('SRID=4674;POINT (-39.415597 -3.123173)'))) / (select extract(epoch from '2026-07-02 16:50:28'::timestamp) - extract(epoch from '2026-07-02 16:50:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415681 -3.12325)'), GeomFromEWKT('SRID=4674;POINT (-39.415597 -3.123173)'))) / (select extract(epoch from '2026-07-02 16:50:28'::timestamp) - extract(epoch from '2026-07-02 16:50: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'), 47980, 'SRID=4674;POINT (-39.415541 -3.123109)', '2026-07-02 16:50:34', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415597 -3.123173)'), GeomFromEWKT('SRID=4674;POINT (-39.415541 -3.123109)'))) / (select extract(epoch from '2026-07-02 16:50:34'::timestamp) - extract(epoch from '2026-07-02 16:50:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415597 -3.123173)'), GeomFromEWKT('SRID=4674;POINT (-39.415541 -3.123109)'))) / (select extract(epoch from '2026-07-02 16:50:34'::timestamp) - extract(epoch from '2026-07-02 16:50: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'), 47980, 'SRID=4674;POINT (-39.41552 -3.123089)', '2026-07-02 16:50:36', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415541 -3.123109)'), GeomFromEWKT('SRID=4674;POINT (-39.41552 -3.123089)'))) / (select extract(epoch from '2026-07-02 16:50:36'::timestamp) - extract(epoch from '2026-07-02 16:50:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415541 -3.123109)'), GeomFromEWKT('SRID=4674;POINT (-39.41552 -3.123089)'))) / (select extract(epoch from '2026-07-02 16:50:36'::timestamp) - extract(epoch from '2026-07-02 16:50:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.415491 -3.123055)', '2026-07-02 16:50:39', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41552 -3.123089)'), GeomFromEWKT('SRID=4674;POINT (-39.415491 -3.123055)'))) / (select extract(epoch from '2026-07-02 16:50:39'::timestamp) - extract(epoch from '2026-07-02 16:50:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41552 -3.123089)'), GeomFromEWKT('SRID=4674;POINT (-39.415491 -3.123055)'))) / (select extract(epoch from '2026-07-02 16:50:39'::timestamp) - extract(epoch from '2026-07-02 16:50: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'), 47980, 'SRID=4674;POINT (-39.415484 -3.123046)', '2026-07-02 16:50:40', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415491 -3.123055)'), GeomFromEWKT('SRID=4674;POINT (-39.415484 -3.123046)'))) / (select extract(epoch from '2026-07-02 16:50:40'::timestamp) - extract(epoch from '2026-07-02 16:50:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415491 -3.123055)'), GeomFromEWKT('SRID=4674;POINT (-39.415484 -3.123046)'))) / (select extract(epoch from '2026-07-02 16:50:40'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.415434 -3.123008)', '2026-07-02 16:50:44', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415484 -3.123046)'), GeomFromEWKT('SRID=4674;POINT (-39.415434 -3.123008)'))) / (select extract(epoch from '2026-07-02 16:50:44'::timestamp) - extract(epoch from '2026-07-02 16:50:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415484 -3.123046)'), GeomFromEWKT('SRID=4674;POINT (-39.415434 -3.123008)'))) / (select extract(epoch from '2026-07-02 16:50:44'::timestamp) - extract(epoch from '2026-07-02 16:50: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'), 47980, 'SRID=4674;POINT (-39.415367 -3.122948)', '2026-07-02 16:50:51', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415434 -3.123008)'), GeomFromEWKT('SRID=4674;POINT (-39.415367 -3.122948)'))) / (select extract(epoch from '2026-07-02 16:50:51'::timestamp) - extract(epoch from '2026-07-02 16:50:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415434 -3.123008)'), GeomFromEWKT('SRID=4674;POINT (-39.415367 -3.122948)'))) / (select extract(epoch from '2026-07-02 16:50:51'::timestamp) - extract(epoch from '2026-07-02 16:50: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'), 47980, 'SRID=4674;POINT (-39.415329 -3.122884)', '2026-07-02 16:50:56', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415367 -3.122948)'), GeomFromEWKT('SRID=4674;POINT (-39.415329 -3.122884)'))) / (select extract(epoch from '2026-07-02 16:50:56'::timestamp) - extract(epoch from '2026-07-02 16:50:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415367 -3.122948)'), GeomFromEWKT('SRID=4674;POINT (-39.415329 -3.122884)'))) / (select extract(epoch from '2026-07-02 16:50:56'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.415288 -3.122842)', '2026-07-02 16:51:00', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415329 -3.122884)'), GeomFromEWKT('SRID=4674;POINT (-39.415288 -3.122842)'))) / (select extract(epoch from '2026-07-02 16:51:00'::timestamp) - extract(epoch from '2026-07-02 16:50:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415329 -3.122884)'), GeomFromEWKT('SRID=4674;POINT (-39.415288 -3.122842)'))) / (select extract(epoch from '2026-07-02 16:51:00'::timestamp) - extract(epoch from '2026-07-02 16:50: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'), 47980, 'SRID=4674;POINT (-39.415282 -3.122833)', '2026-07-02 16:51:01', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415288 -3.122842)'), GeomFromEWKT('SRID=4674;POINT (-39.415282 -3.122833)'))) / (select extract(epoch from '2026-07-02 16:51:01'::timestamp) - extract(epoch from '2026-07-02 16:51:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415288 -3.122842)'), GeomFromEWKT('SRID=4674;POINT (-39.415282 -3.122833)'))) / (select extract(epoch from '2026-07-02 16:51:01'::timestamp) - extract(epoch from '2026-07-02 16:51: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'), 47980, 'SRID=4674;POINT (-39.415225 -3.122779)', '2026-07-02 16:51:07', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415282 -3.122833)'), GeomFromEWKT('SRID=4674;POINT (-39.415225 -3.122779)'))) / (select extract(epoch from '2026-07-02 16:51:07'::timestamp) - extract(epoch from '2026-07-02 16:51:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415282 -3.122833)'), GeomFromEWKT('SRID=4674;POINT (-39.415225 -3.122779)'))) / (select extract(epoch from '2026-07-02 16:51:07'::timestamp) - extract(epoch from '2026-07-02 16:51:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.415193 -3.122752)', '2026-07-02 16:51:10', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415225 -3.122779)'), GeomFromEWKT('SRID=4674;POINT (-39.415193 -3.122752)'))) / (select extract(epoch from '2026-07-02 16:51:10'::timestamp) - extract(epoch from '2026-07-02 16:51:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415225 -3.122779)'), GeomFromEWKT('SRID=4674;POINT (-39.415193 -3.122752)'))) / (select extract(epoch from '2026-07-02 16:51:10'::timestamp) - extract(epoch from '2026-07-02 16:51:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.41517 -3.122728)', '2026-07-02 16:51:13', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415193 -3.122752)'), GeomFromEWKT('SRID=4674;POINT (-39.41517 -3.122728)'))) / (select extract(epoch from '2026-07-02 16:51:13'::timestamp) - extract(epoch from '2026-07-02 16:51:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415193 -3.122752)'), GeomFromEWKT('SRID=4674;POINT (-39.41517 -3.122728)'))) / (select extract(epoch from '2026-07-02 16:51:13'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.415116 -3.12268)', '2026-07-02 16:51:19', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41517 -3.122728)'), GeomFromEWKT('SRID=4674;POINT (-39.415116 -3.12268)'))) / (select extract(epoch from '2026-07-02 16:51:19'::timestamp) - extract(epoch from '2026-07-02 16:51:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41517 -3.122728)'), GeomFromEWKT('SRID=4674;POINT (-39.415116 -3.12268)'))) / (select extract(epoch from '2026-07-02 16:51:19'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.415097 -3.122659)', '2026-07-02 16:51:22', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415116 -3.12268)'), GeomFromEWKT('SRID=4674;POINT (-39.415097 -3.122659)'))) / (select extract(epoch from '2026-07-02 16:51:22'::timestamp) - extract(epoch from '2026-07-02 16:51:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415116 -3.12268)'), GeomFromEWKT('SRID=4674;POINT (-39.415097 -3.122659)'))) / (select extract(epoch from '2026-07-02 16:51:22'::timestamp) - extract(epoch from '2026-07-02 16:51: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'), 47980, 'SRID=4674;POINT (-39.415076 -3.122641)', '2026-07-02 16:51:24', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415097 -3.122659)'), GeomFromEWKT('SRID=4674;POINT (-39.415076 -3.122641)'))) / (select extract(epoch from '2026-07-02 16:51:24'::timestamp) - extract(epoch from '2026-07-02 16:51:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415097 -3.122659)'), GeomFromEWKT('SRID=4674;POINT (-39.415076 -3.122641)'))) / (select extract(epoch from '2026-07-02 16:51:24'::timestamp) - extract(epoch from '2026-07-02 16:51: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'), 47980, 'SRID=4674;POINT (-39.41506 -3.122628)', '2026-07-02 16:51:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415076 -3.122641)'), GeomFromEWKT('SRID=4674;POINT (-39.41506 -3.122628)'))) / (select extract(epoch from '2026-07-02 16:51:26'::timestamp) - extract(epoch from '2026-07-02 16:51:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415076 -3.122641)'), GeomFromEWKT('SRID=4674;POINT (-39.41506 -3.122628)'))) / (select extract(epoch from '2026-07-02 16:51:26'::timestamp) - extract(epoch from '2026-07-02 16:51: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'), 47980, 'SRID=4674;POINT (-39.415034 -3.122598)', '2026-07-02 16:51:29', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41506 -3.122628)'), GeomFromEWKT('SRID=4674;POINT (-39.415034 -3.122598)'))) / (select extract(epoch from '2026-07-02 16:51:29'::timestamp) - extract(epoch from '2026-07-02 16:51:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41506 -3.122628)'), GeomFromEWKT('SRID=4674;POINT (-39.415034 -3.122598)'))) / (select extract(epoch from '2026-07-02 16:51:29'::timestamp) - extract(epoch from '2026-07-02 16:51: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'), 47980, 'SRID=4674;POINT (-39.415017 -3.122577)', '2026-07-02 16:51:31', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415034 -3.122598)'), GeomFromEWKT('SRID=4674;POINT (-39.415017 -3.122577)'))) / (select extract(epoch from '2026-07-02 16:51:31'::timestamp) - extract(epoch from '2026-07-02 16:51:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415034 -3.122598)'), GeomFromEWKT('SRID=4674;POINT (-39.415017 -3.122577)'))) / (select extract(epoch from '2026-07-02 16:51:31'::timestamp) - extract(epoch from '2026-07-02 16:51:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47980, 'SRID=4674;POINT (-39.414971 -3.122535)', '2026-07-02 16:51:35', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415017 -3.122577)'), GeomFromEWKT('SRID=4674;POINT (-39.414971 -3.122535)'))) / (select extract(epoch from '2026-07-02 16:51:35'::timestamp) - extract(epoch from '2026-07-02 16:51:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415017 -3.122577)'), GeomFromEWKT('SRID=4674;POINT (-39.414971 -3.122535)'))) / (select extract(epoch from '2026-07-02 16:51:35'::timestamp) - extract(epoch from '2026-07-02 16:51: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'), 47980, 'SRID=4674;POINT (-39.414939 -3.122507)', '2026-07-02 16:51:38', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414971 -3.122535)'), GeomFromEWKT('SRID=4674;POINT (-39.414939 -3.122507)'))) / (select extract(epoch from '2026-07-02 16:51:38'::timestamp) - extract(epoch from '2026-07-02 16:51:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414971 -3.122535)'), GeomFromEWKT('SRID=4674;POINT (-39.414939 -3.122507)'))) / (select extract(epoch from '2026-07-02 16:51:38'::timestamp) - extract(epoch from '2026-07-02 16: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'), 47980, 'SRID=4674;POINT (-39.414928 -3.122487)', '2026-07-02 16:51:40', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414939 -3.122507)'), GeomFromEWKT('SRID=4674;POINT (-39.414928 -3.122487)'))) / (select extract(epoch from '2026-07-02 16:51:40'::timestamp) - extract(epoch from '2026-07-02 16:51:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414939 -3.122507)'), GeomFromEWKT('SRID=4674;POINT (-39.414928 -3.122487)'))) / (select extract(epoch from '2026-07-02 16:51:40'::timestamp) - extract(epoch from '2026-07-02 16:51: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'), 47980, 'SRID=4674;POINT (-39.41491 -3.122472)', '2026-07-02 16:51:42', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414928 -3.122487)'), GeomFromEWKT('SRID=4674;POINT (-39.41491 -3.122472)'))) / (select extract(epoch from '2026-07-02 16:51:42'::timestamp) - extract(epoch from '2026-07-02 16:51:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414928 -3.122487)'), GeomFromEWKT('SRID=4674;POINT (-39.41491 -3.122472)'))) / (select extract(epoch from '2026-07-02 16:51:42'::timestamp) - extract(epoch from '2026-07-02 16:51:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
