 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.449545 -3.395832)', '2026-07-18 14:09:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.449492 -3.395781)'), GeomFromEWKT('SRID=4674;POINT (-38.449545 -3.395832)'))) / (select extract(epoch from '2026-07-18 14:09:41'::timestamp) - extract(epoch from '2026-07-18 14:09:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.449492 -3.395781)'), GeomFromEWKT('SRID=4674;POINT (-38.449545 -3.395832)'))) / (select extract(epoch from '2026-07-18 14:09:41'::timestamp) - extract(epoch from '2026-07-18 14:09: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'), 47391, 'SRID=4674;POINT (-38.449594 -3.3959)', '2026-07-18 14:09:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.449545 -3.395832)'), GeomFromEWKT('SRID=4674;POINT (-38.449594 -3.3959)'))) / (select extract(epoch from '2026-07-18 14:09:46'::timestamp) - extract(epoch from '2026-07-18 14:09:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.449545 -3.395832)'), GeomFromEWKT('SRID=4674;POINT (-38.449594 -3.3959)'))) / (select extract(epoch from '2026-07-18 14:09:46'::timestamp) - extract(epoch from '2026-07-18 14:09: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'), 47391, 'SRID=4674;POINT (-38.449657 -3.396009)', '2026-07-18 14:09:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.449594 -3.3959)'), GeomFromEWKT('SRID=4674;POINT (-38.449657 -3.396009)'))) / (select extract(epoch from '2026-07-18 14:09:53'::timestamp) - extract(epoch from '2026-07-18 14:09:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.449594 -3.3959)'), GeomFromEWKT('SRID=4674;POINT (-38.449657 -3.396009)'))) / (select extract(epoch from '2026-07-18 14:09:53'::timestamp) - extract(epoch from '2026-07-18 14:09: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'), 47391, 'SRID=4674;POINT (-38.449707 -3.396093)', '2026-07-18 14:09:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.449657 -3.396009)'), GeomFromEWKT('SRID=4674;POINT (-38.449707 -3.396093)'))) / (select extract(epoch from '2026-07-18 14:09:59'::timestamp) - extract(epoch from '2026-07-18 14:09:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.449657 -3.396009)'), GeomFromEWKT('SRID=4674;POINT (-38.449707 -3.396093)'))) / (select extract(epoch from '2026-07-18 14:09:59'::timestamp) - extract(epoch from '2026-07-18 14:09: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'), 47391, 'SRID=4674;POINT (-38.449776 -3.39619)', '2026-07-18 14:10:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.449707 -3.396093)'), GeomFromEWKT('SRID=4674;POINT (-38.449776 -3.39619)'))) / (select extract(epoch from '2026-07-18 14:10:05'::timestamp) - extract(epoch from '2026-07-18 14:09:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.449707 -3.396093)'), GeomFromEWKT('SRID=4674;POINT (-38.449776 -3.39619)'))) / (select extract(epoch from '2026-07-18 14:10:05'::timestamp) - extract(epoch from '2026-07-18 14:09:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.449822 -3.396288)', '2026-07-18 14:10:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.449776 -3.39619)'), GeomFromEWKT('SRID=4674;POINT (-38.449822 -3.396288)'))) / (select extract(epoch from '2026-07-18 14:10:11'::timestamp) - extract(epoch from '2026-07-18 14:10:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.449776 -3.39619)'), GeomFromEWKT('SRID=4674;POINT (-38.449822 -3.396288)'))) / (select extract(epoch from '2026-07-18 14:10:11'::timestamp) - extract(epoch from '2026-07-18 14:10: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'), 47391, 'SRID=4674;POINT (-38.449879 -3.396371)', '2026-07-18 14:10:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.449822 -3.396288)'), GeomFromEWKT('SRID=4674;POINT (-38.449879 -3.396371)'))) / (select extract(epoch from '2026-07-18 14:10:17'::timestamp) - extract(epoch from '2026-07-18 14:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.449822 -3.396288)'), GeomFromEWKT('SRID=4674;POINT (-38.449879 -3.396371)'))) / (select extract(epoch from '2026-07-18 14:10:17'::timestamp) - extract(epoch from '2026-07-18 14:10:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.449896 -3.396392)', '2026-07-18 14:10:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.449879 -3.396371)'), GeomFromEWKT('SRID=4674;POINT (-38.449896 -3.396392)'))) / (select extract(epoch from '2026-07-18 14:10:19'::timestamp) - extract(epoch from '2026-07-18 14:10:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.449879 -3.396371)'), GeomFromEWKT('SRID=4674;POINT (-38.449896 -3.396392)'))) / (select extract(epoch from '2026-07-18 14:10:19'::timestamp) - extract(epoch from '2026-07-18 14:10:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.449929 -3.396431)', '2026-07-18 14:10:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.449896 -3.396392)'), GeomFromEWKT('SRID=4674;POINT (-38.449929 -3.396431)'))) / (select extract(epoch from '2026-07-18 14:10:22'::timestamp) - extract(epoch from '2026-07-18 14:10:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.449896 -3.396392)'), GeomFromEWKT('SRID=4674;POINT (-38.449929 -3.396431)'))) / (select extract(epoch from '2026-07-18 14:10:22'::timestamp) - extract(epoch from '2026-07-18 14:10: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'), 47391, 'SRID=4674;POINT (-38.449974 -3.396504)', '2026-07-18 14:10:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.449929 -3.396431)'), GeomFromEWKT('SRID=4674;POINT (-38.449974 -3.396504)'))) / (select extract(epoch from '2026-07-18 14:10:27'::timestamp) - extract(epoch from '2026-07-18 14:10:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.449929 -3.396431)'), GeomFromEWKT('SRID=4674;POINT (-38.449974 -3.396504)'))) / (select extract(epoch from '2026-07-18 14:10:27'::timestamp) - extract(epoch from '2026-07-18 14:10:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.450041 -3.396601)', '2026-07-18 14:10:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.449974 -3.396504)'), GeomFromEWKT('SRID=4674;POINT (-38.450041 -3.396601)'))) / (select extract(epoch from '2026-07-18 14:10:33'::timestamp) - extract(epoch from '2026-07-18 14:10:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.449974 -3.396504)'), GeomFromEWKT('SRID=4674;POINT (-38.450041 -3.396601)'))) / (select extract(epoch from '2026-07-18 14:10:33'::timestamp) - extract(epoch from '2026-07-18 14:10:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.450053 -3.396615)', '2026-07-18 14:10:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.450041 -3.396601)'), GeomFromEWKT('SRID=4674;POINT (-38.450053 -3.396615)'))) / (select extract(epoch from '2026-07-18 14:10:34'::timestamp) - extract(epoch from '2026-07-18 14:10:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.450041 -3.396601)'), GeomFromEWKT('SRID=4674;POINT (-38.450053 -3.396615)'))) / (select extract(epoch from '2026-07-18 14:10:34'::timestamp) - extract(epoch from '2026-07-18 14:10: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'), 47391, 'SRID=4674;POINT (-38.450079 -3.39664)', '2026-07-18 14:10:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.450053 -3.396615)'), GeomFromEWKT('SRID=4674;POINT (-38.450079 -3.39664)'))) / (select extract(epoch from '2026-07-18 14:10:36'::timestamp) - extract(epoch from '2026-07-18 14:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.450053 -3.396615)'), GeomFromEWKT('SRID=4674;POINT (-38.450079 -3.39664)'))) / (select extract(epoch from '2026-07-18 14:10:36'::timestamp) - extract(epoch from '2026-07-18 14:10:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.450087 -3.396657)', '2026-07-18 14:10:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.450079 -3.39664)'), GeomFromEWKT('SRID=4674;POINT (-38.450087 -3.396657)'))) / (select extract(epoch from '2026-07-18 14:10:37'::timestamp) - extract(epoch from '2026-07-18 14:10:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.450079 -3.39664)'), GeomFromEWKT('SRID=4674;POINT (-38.450087 -3.396657)'))) / (select extract(epoch from '2026-07-18 14:10:37'::timestamp) - extract(epoch from '2026-07-18 14:10: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'), 47391, 'SRID=4674;POINT (-38.45014 -3.396739)', '2026-07-18 14:10:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.450087 -3.396657)'), GeomFromEWKT('SRID=4674;POINT (-38.45014 -3.396739)'))) / (select extract(epoch from '2026-07-18 14:10:42'::timestamp) - extract(epoch from '2026-07-18 14:10:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.450087 -3.396657)'), GeomFromEWKT('SRID=4674;POINT (-38.45014 -3.396739)'))) / (select extract(epoch from '2026-07-18 14:10:42'::timestamp) - extract(epoch from '2026-07-18 14:10:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.450216 -3.396824)', '2026-07-18 14:10:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.45014 -3.396739)'), GeomFromEWKT('SRID=4674;POINT (-38.450216 -3.396824)'))) / (select extract(epoch from '2026-07-18 14:10:48'::timestamp) - extract(epoch from '2026-07-18 14:10:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.45014 -3.396739)'), GeomFromEWKT('SRID=4674;POINT (-38.450216 -3.396824)'))) / (select extract(epoch from '2026-07-18 14:10:48'::timestamp) - extract(epoch from '2026-07-18 14:10:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.450264 -3.396879)', '2026-07-18 14:10:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.450216 -3.396824)'), GeomFromEWKT('SRID=4674;POINT (-38.450264 -3.396879)'))) / (select extract(epoch from '2026-07-18 14:10:52'::timestamp) - extract(epoch from '2026-07-18 14:10:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.450216 -3.396824)'), GeomFromEWKT('SRID=4674;POINT (-38.450264 -3.396879)'))) / (select extract(epoch from '2026-07-18 14:10:52'::timestamp) - extract(epoch from '2026-07-18 14:10:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.450326 -3.396971)', '2026-07-18 14:10:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.450264 -3.396879)'), GeomFromEWKT('SRID=4674;POINT (-38.450326 -3.396971)'))) / (select extract(epoch from '2026-07-18 14:10:58'::timestamp) - extract(epoch from '2026-07-18 14:10:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.450264 -3.396879)'), GeomFromEWKT('SRID=4674;POINT (-38.450326 -3.396971)'))) / (select extract(epoch from '2026-07-18 14:10:58'::timestamp) - extract(epoch from '2026-07-18 14:10: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'), 47391, 'SRID=4674;POINT (-38.450372 -3.397045)', '2026-07-18 14:11:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.450326 -3.396971)'), GeomFromEWKT('SRID=4674;POINT (-38.450372 -3.397045)'))) / (select extract(epoch from '2026-07-18 14:11:03'::timestamp) - extract(epoch from '2026-07-18 14:10:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.450326 -3.396971)'), GeomFromEWKT('SRID=4674;POINT (-38.450372 -3.397045)'))) / (select extract(epoch from '2026-07-18 14:11:03'::timestamp) - extract(epoch from '2026-07-18 14:10:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.450429 -3.397127)', '2026-07-18 14:11:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.450372 -3.397045)'), GeomFromEWKT('SRID=4674;POINT (-38.450429 -3.397127)'))) / (select extract(epoch from '2026-07-18 14:11:08'::timestamp) - extract(epoch from '2026-07-18 14:11:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.450372 -3.397045)'), GeomFromEWKT('SRID=4674;POINT (-38.450429 -3.397127)'))) / (select extract(epoch from '2026-07-18 14:11:08'::timestamp) - extract(epoch from '2026-07-18 14:11:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.450486 -3.397223)', '2026-07-18 14:11:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.450429 -3.397127)'), GeomFromEWKT('SRID=4674;POINT (-38.450486 -3.397223)'))) / (select extract(epoch from '2026-07-18 14:11:14'::timestamp) - extract(epoch from '2026-07-18 14:11:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.450429 -3.397127)'), GeomFromEWKT('SRID=4674;POINT (-38.450486 -3.397223)'))) / (select extract(epoch from '2026-07-18 14:11:14'::timestamp) - extract(epoch from '2026-07-18 14:11:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.450492 -3.397232)', '2026-07-18 14:11:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.450486 -3.397223)'), GeomFromEWKT('SRID=4674;POINT (-38.450492 -3.397232)'))) / (select extract(epoch from '2026-07-18 14:11:15'::timestamp) - extract(epoch from '2026-07-18 14:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.450486 -3.397223)'), GeomFromEWKT('SRID=4674;POINT (-38.450492 -3.397232)'))) / (select extract(epoch from '2026-07-18 14:11:15'::timestamp) - extract(epoch from '2026-07-18 14:11: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'), 47391, 'SRID=4674;POINT (-38.450527 -3.397261)', '2026-07-18 14:11:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.450492 -3.397232)'), GeomFromEWKT('SRID=4674;POINT (-38.450527 -3.397261)'))) / (select extract(epoch from '2026-07-18 14:11:18'::timestamp) - extract(epoch from '2026-07-18 14:11:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.450492 -3.397232)'), GeomFromEWKT('SRID=4674;POINT (-38.450527 -3.397261)'))) / (select extract(epoch from '2026-07-18 14:11:18'::timestamp) - extract(epoch from '2026-07-18 14:11:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.450585 -3.397357)', '2026-07-18 14:11:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.450527 -3.397261)'), GeomFromEWKT('SRID=4674;POINT (-38.450585 -3.397357)'))) / (select extract(epoch from '2026-07-18 14:11:24'::timestamp) - extract(epoch from '2026-07-18 14:11:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.450527 -3.397261)'), GeomFromEWKT('SRID=4674;POINT (-38.450585 -3.397357)'))) / (select extract(epoch from '2026-07-18 14:11:24'::timestamp) - extract(epoch from '2026-07-18 14:11:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.450627 -3.397428)', '2026-07-18 14:11:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.450585 -3.397357)'), GeomFromEWKT('SRID=4674;POINT (-38.450627 -3.397428)'))) / (select extract(epoch from '2026-07-18 14:11:29'::timestamp) - extract(epoch from '2026-07-18 14:11:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.450585 -3.397357)'), GeomFromEWKT('SRID=4674;POINT (-38.450627 -3.397428)'))) / (select extract(epoch from '2026-07-18 14:11:29'::timestamp) - extract(epoch from '2026-07-18 14:11:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.450696 -3.397516)', '2026-07-18 14:11:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.450627 -3.397428)'), GeomFromEWKT('SRID=4674;POINT (-38.450696 -3.397516)'))) / (select extract(epoch from '2026-07-18 14:11:35'::timestamp) - extract(epoch from '2026-07-18 14:11:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.450627 -3.397428)'), GeomFromEWKT('SRID=4674;POINT (-38.450696 -3.397516)'))) / (select extract(epoch from '2026-07-18 14:11:35'::timestamp) - extract(epoch from '2026-07-18 14:11:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.450703 -3.397529)', '2026-07-18 14:11:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.450696 -3.397516)'), GeomFromEWKT('SRID=4674;POINT (-38.450703 -3.397529)'))) / (select extract(epoch from '2026-07-18 14:11:36'::timestamp) - extract(epoch from '2026-07-18 14:11:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.450696 -3.397516)'), GeomFromEWKT('SRID=4674;POINT (-38.450703 -3.397529)'))) / (select extract(epoch from '2026-07-18 14:11:36'::timestamp) - extract(epoch from '2026-07-18 14:11:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.450741 -3.39757)', '2026-07-18 14:11:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.450703 -3.397529)'), GeomFromEWKT('SRID=4674;POINT (-38.450741 -3.39757)'))) / (select extract(epoch from '2026-07-18 14:11:39'::timestamp) - extract(epoch from '2026-07-18 14:11:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.450703 -3.397529)'), GeomFromEWKT('SRID=4674;POINT (-38.450741 -3.39757)'))) / (select extract(epoch from '2026-07-18 14:11:39'::timestamp) - extract(epoch from '2026-07-18 14:11:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.450759 -3.397614)', '2026-07-18 14:11:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.450741 -3.39757)'), GeomFromEWKT('SRID=4674;POINT (-38.450759 -3.397614)'))) / (select extract(epoch from '2026-07-18 14:11:42'::timestamp) - extract(epoch from '2026-07-18 14:11:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.450741 -3.39757)'), GeomFromEWKT('SRID=4674;POINT (-38.450759 -3.397614)'))) / (select extract(epoch from '2026-07-18 14:11:42'::timestamp) - extract(epoch from '2026-07-18 14:11:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.450785 -3.397643)', '2026-07-18 14:11:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.450759 -3.397614)'), GeomFromEWKT('SRID=4674;POINT (-38.450785 -3.397643)'))) / (select extract(epoch from '2026-07-18 14:11:44'::timestamp) - extract(epoch from '2026-07-18 14:11:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.450759 -3.397614)'), GeomFromEWKT('SRID=4674;POINT (-38.450785 -3.397643)'))) / (select extract(epoch from '2026-07-18 14:11:44'::timestamp) - extract(epoch from '2026-07-18 14:11: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'), 47391, 'SRID=4674;POINT (-38.450852 -3.397725)', '2026-07-18 14:11:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.450785 -3.397643)'), GeomFromEWKT('SRID=4674;POINT (-38.450852 -3.397725)'))) / (select extract(epoch from '2026-07-18 14:11:50'::timestamp) - extract(epoch from '2026-07-18 14:11:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.450785 -3.397643)'), GeomFromEWKT('SRID=4674;POINT (-38.450852 -3.397725)'))) / (select extract(epoch from '2026-07-18 14:11:50'::timestamp) - extract(epoch from '2026-07-18 14:11:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.450921 -3.397833)', '2026-07-18 14:11:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.450852 -3.397725)'), GeomFromEWKT('SRID=4674;POINT (-38.450921 -3.397833)'))) / (select extract(epoch from '2026-07-18 14:11:56'::timestamp) - extract(epoch from '2026-07-18 14:11:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.450852 -3.397725)'), GeomFromEWKT('SRID=4674;POINT (-38.450921 -3.397833)'))) / (select extract(epoch from '2026-07-18 14:11:56'::timestamp) - extract(epoch from '2026-07-18 14:11: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'), 47391, 'SRID=4674;POINT (-38.45096 -3.397915)', '2026-07-18 14:12:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.450921 -3.397833)'), GeomFromEWKT('SRID=4674;POINT (-38.45096 -3.397915)'))) / (select extract(epoch from '2026-07-18 14:12:02'::timestamp) - extract(epoch from '2026-07-18 14:11:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.450921 -3.397833)'), GeomFromEWKT('SRID=4674;POINT (-38.45096 -3.397915)'))) / (select extract(epoch from '2026-07-18 14:12:02'::timestamp) - extract(epoch from '2026-07-18 14:11: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'), 47391, 'SRID=4674;POINT (-38.451016 -3.397988)', '2026-07-18 14:12:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.45096 -3.397915)'), GeomFromEWKT('SRID=4674;POINT (-38.451016 -3.397988)'))) / (select extract(epoch from '2026-07-18 14:12:07'::timestamp) - extract(epoch from '2026-07-18 14:12:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.45096 -3.397915)'), GeomFromEWKT('SRID=4674;POINT (-38.451016 -3.397988)'))) / (select extract(epoch from '2026-07-18 14:12:07'::timestamp) - extract(epoch from '2026-07-18 14:12: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'), 47391, 'SRID=4674;POINT (-38.451084 -3.398074)', '2026-07-18 14:12:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451016 -3.397988)'), GeomFromEWKT('SRID=4674;POINT (-38.451084 -3.398074)'))) / (select extract(epoch from '2026-07-18 14:12:13'::timestamp) - extract(epoch from '2026-07-18 14:12:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451016 -3.397988)'), GeomFromEWKT('SRID=4674;POINT (-38.451084 -3.398074)'))) / (select extract(epoch from '2026-07-18 14:12:13'::timestamp) - extract(epoch from '2026-07-18 14:12: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'), 47391, 'SRID=4674;POINT (-38.451118 -3.398129)', '2026-07-18 14:12:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451084 -3.398074)'), GeomFromEWKT('SRID=4674;POINT (-38.451118 -3.398129)'))) / (select extract(epoch from '2026-07-18 14:12:17'::timestamp) - extract(epoch from '2026-07-18 14:12:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451084 -3.398074)'), GeomFromEWKT('SRID=4674;POINT (-38.451118 -3.398129)'))) / (select extract(epoch from '2026-07-18 14:12:17'::timestamp) - extract(epoch from '2026-07-18 14:12: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'), 47391, 'SRID=4674;POINT (-38.451132 -3.398142)', '2026-07-18 14:12:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451118 -3.398129)'), GeomFromEWKT('SRID=4674;POINT (-38.451132 -3.398142)'))) / (select extract(epoch from '2026-07-18 14:12:18'::timestamp) - extract(epoch from '2026-07-18 14:12:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451118 -3.398129)'), GeomFromEWKT('SRID=4674;POINT (-38.451132 -3.398142)'))) / (select extract(epoch from '2026-07-18 14:12:18'::timestamp) - extract(epoch from '2026-07-18 14:12:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.451157 -3.398172)', '2026-07-18 14:12:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451132 -3.398142)'), GeomFromEWKT('SRID=4674;POINT (-38.451157 -3.398172)'))) / (select extract(epoch from '2026-07-18 14:12:20'::timestamp) - extract(epoch from '2026-07-18 14:12:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451132 -3.398142)'), GeomFromEWKT('SRID=4674;POINT (-38.451157 -3.398172)'))) / (select extract(epoch from '2026-07-18 14:12:20'::timestamp) - extract(epoch from '2026-07-18 14:12: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'), 47391, 'SRID=4674;POINT (-38.45119 -3.398219)', '2026-07-18 14:12:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451157 -3.398172)'), GeomFromEWKT('SRID=4674;POINT (-38.45119 -3.398219)'))) / (select extract(epoch from '2026-07-18 14:12:23'::timestamp) - extract(epoch from '2026-07-18 14:12:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451157 -3.398172)'), GeomFromEWKT('SRID=4674;POINT (-38.45119 -3.398219)'))) / (select extract(epoch from '2026-07-18 14:12:23'::timestamp) - extract(epoch from '2026-07-18 14:12:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.451231 -3.398248)', '2026-07-18 14:12:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.45119 -3.398219)'), GeomFromEWKT('SRID=4674;POINT (-38.451231 -3.398248)'))) / (select extract(epoch from '2026-07-18 14:12:25'::timestamp) - extract(epoch from '2026-07-18 14:12:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.45119 -3.398219)'), GeomFromEWKT('SRID=4674;POINT (-38.451231 -3.398248)'))) / (select extract(epoch from '2026-07-18 14:12:25'::timestamp) - extract(epoch from '2026-07-18 14:12: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'), 47391, 'SRID=4674;POINT (-38.451254 -3.398275)', '2026-07-18 14:12:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451231 -3.398248)'), GeomFromEWKT('SRID=4674;POINT (-38.451254 -3.398275)'))) / (select extract(epoch from '2026-07-18 14:12:27'::timestamp) - extract(epoch from '2026-07-18 14:12:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451231 -3.398248)'), GeomFromEWKT('SRID=4674;POINT (-38.451254 -3.398275)'))) / (select extract(epoch from '2026-07-18 14:12:27'::timestamp) - extract(epoch from '2026-07-18 14:12: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'), 47391, 'SRID=4674;POINT (-38.451294 -3.398335)', '2026-07-18 14:12:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451254 -3.398275)'), GeomFromEWKT('SRID=4674;POINT (-38.451294 -3.398335)'))) / (select extract(epoch from '2026-07-18 14:12:32'::timestamp) - extract(epoch from '2026-07-18 14:12:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451254 -3.398275)'), GeomFromEWKT('SRID=4674;POINT (-38.451294 -3.398335)'))) / (select extract(epoch from '2026-07-18 14:12:32'::timestamp) - extract(epoch from '2026-07-18 14:12: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'), 47391, 'SRID=4674;POINT (-38.451362 -3.398437)', '2026-07-18 14:12:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451294 -3.398335)'), GeomFromEWKT('SRID=4674;POINT (-38.451362 -3.398437)'))) / (select extract(epoch from '2026-07-18 14:12:39'::timestamp) - extract(epoch from '2026-07-18 14:12:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451294 -3.398335)'), GeomFromEWKT('SRID=4674;POINT (-38.451362 -3.398437)'))) / (select extract(epoch from '2026-07-18 14:12:39'::timestamp) - extract(epoch from '2026-07-18 14:12:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.451406 -3.398528)', '2026-07-18 14:12:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451362 -3.398437)'), GeomFromEWKT('SRID=4674;POINT (-38.451406 -3.398528)'))) / (select extract(epoch from '2026-07-18 14:12:45'::timestamp) - extract(epoch from '2026-07-18 14:12:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451362 -3.398437)'), GeomFromEWKT('SRID=4674;POINT (-38.451406 -3.398528)'))) / (select extract(epoch from '2026-07-18 14:12:45'::timestamp) - extract(epoch from '2026-07-18 14:12: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'), 47391, 'SRID=4674;POINT (-38.451446 -3.398614)', '2026-07-18 14:12:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451406 -3.398528)'), GeomFromEWKT('SRID=4674;POINT (-38.451446 -3.398614)'))) / (select extract(epoch from '2026-07-18 14:12:51'::timestamp) - extract(epoch from '2026-07-18 14:12:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451406 -3.398528)'), GeomFromEWKT('SRID=4674;POINT (-38.451446 -3.398614)'))) / (select extract(epoch from '2026-07-18 14:12:51'::timestamp) - extract(epoch from '2026-07-18 14:12:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.4515 -3.398691)', '2026-07-18 14:12:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451446 -3.398614)'), GeomFromEWKT('SRID=4674;POINT (-38.4515 -3.398691)'))) / (select extract(epoch from '2026-07-18 14:12:56'::timestamp) - extract(epoch from '2026-07-18 14:12:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451446 -3.398614)'), GeomFromEWKT('SRID=4674;POINT (-38.4515 -3.398691)'))) / (select extract(epoch from '2026-07-18 14:12:56'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.451519 -3.398712)', '2026-07-18 14:12:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4515 -3.398691)'), GeomFromEWKT('SRID=4674;POINT (-38.451519 -3.398712)'))) / (select extract(epoch from '2026-07-18 14:12:58'::timestamp) - extract(epoch from '2026-07-18 14:12:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4515 -3.398691)'), GeomFromEWKT('SRID=4674;POINT (-38.451519 -3.398712)'))) / (select extract(epoch from '2026-07-18 14:12:58'::timestamp) - extract(epoch from '2026-07-18 14:12:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.451558 -3.398735)', '2026-07-18 14:13:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451519 -3.398712)'), GeomFromEWKT('SRID=4674;POINT (-38.451558 -3.398735)'))) / (select extract(epoch from '2026-07-18 14:13:00'::timestamp) - extract(epoch from '2026-07-18 14:12:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451519 -3.398712)'), GeomFromEWKT('SRID=4674;POINT (-38.451558 -3.398735)'))) / (select extract(epoch from '2026-07-18 14:13:00'::timestamp) - extract(epoch from '2026-07-18 14:12:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.451587 -3.398782)', '2026-07-18 14:13:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451558 -3.398735)'), GeomFromEWKT('SRID=4674;POINT (-38.451587 -3.398782)'))) / (select extract(epoch from '2026-07-18 14:13:04'::timestamp) - extract(epoch from '2026-07-18 14:13:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451558 -3.398735)'), GeomFromEWKT('SRID=4674;POINT (-38.451587 -3.398782)'))) / (select extract(epoch from '2026-07-18 14:13:04'::timestamp) - extract(epoch from '2026-07-18 14:13: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'), 47391, 'SRID=4674;POINT (-38.451649 -3.398857)', '2026-07-18 14:13:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451587 -3.398782)'), GeomFromEWKT('SRID=4674;POINT (-38.451649 -3.398857)'))) / (select extract(epoch from '2026-07-18 14:13:09'::timestamp) - extract(epoch from '2026-07-18 14:13:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451587 -3.398782)'), GeomFromEWKT('SRID=4674;POINT (-38.451649 -3.398857)'))) / (select extract(epoch from '2026-07-18 14:13:09'::timestamp) - extract(epoch from '2026-07-18 14:13:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.451667 -3.398885)', '2026-07-18 14:13:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451649 -3.398857)'), GeomFromEWKT('SRID=4674;POINT (-38.451667 -3.398885)'))) / (select extract(epoch from '2026-07-18 14:13:11'::timestamp) - extract(epoch from '2026-07-18 14:13:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451649 -3.398857)'), GeomFromEWKT('SRID=4674;POINT (-38.451667 -3.398885)'))) / (select extract(epoch from '2026-07-18 14:13:11'::timestamp) - extract(epoch from '2026-07-18 14:13: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'), 47391, 'SRID=4674;POINT (-38.451684 -3.398911)', '2026-07-18 14:13:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451667 -3.398885)'), GeomFromEWKT('SRID=4674;POINT (-38.451684 -3.398911)'))) / (select extract(epoch from '2026-07-18 14:13:13'::timestamp) - extract(epoch from '2026-07-18 14:13:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451667 -3.398885)'), GeomFromEWKT('SRID=4674;POINT (-38.451684 -3.398911)'))) / (select extract(epoch from '2026-07-18 14:13:13'::timestamp) - extract(epoch from '2026-07-18 14:13: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'), 47391, 'SRID=4674;POINT (-38.451733 -3.398977)', '2026-07-18 14:13:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451684 -3.398911)'), GeomFromEWKT('SRID=4674;POINT (-38.451733 -3.398977)'))) / (select extract(epoch from '2026-07-18 14:13:18'::timestamp) - extract(epoch from '2026-07-18 14:13:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451684 -3.398911)'), GeomFromEWKT('SRID=4674;POINT (-38.451733 -3.398977)'))) / (select extract(epoch from '2026-07-18 14:13:18'::timestamp) - extract(epoch from '2026-07-18 14:13: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'), 47391, 'SRID=4674;POINT (-38.451755 -3.399001)', '2026-07-18 14:13:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451733 -3.398977)'), GeomFromEWKT('SRID=4674;POINT (-38.451755 -3.399001)'))) / (select extract(epoch from '2026-07-18 14:13:20'::timestamp) - extract(epoch from '2026-07-18 14:13:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451733 -3.398977)'), GeomFromEWKT('SRID=4674;POINT (-38.451755 -3.399001)'))) / (select extract(epoch from '2026-07-18 14:13:20'::timestamp) - extract(epoch from '2026-07-18 14:13: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'), 47391, 'SRID=4674;POINT (-38.451775 -3.399027)', '2026-07-18 14:13:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451755 -3.399001)'), GeomFromEWKT('SRID=4674;POINT (-38.451775 -3.399027)'))) / (select extract(epoch from '2026-07-18 14:13:22'::timestamp) - extract(epoch from '2026-07-18 14:13:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451755 -3.399001)'), GeomFromEWKT('SRID=4674;POINT (-38.451775 -3.399027)'))) / (select extract(epoch from '2026-07-18 14:13:22'::timestamp) - extract(epoch from '2026-07-18 14:13:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.451784 -3.39904)', '2026-07-18 14:13:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451775 -3.399027)'), GeomFromEWKT('SRID=4674;POINT (-38.451784 -3.39904)'))) / (select extract(epoch from '2026-07-18 14:13:23'::timestamp) - extract(epoch from '2026-07-18 14:13:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451775 -3.399027)'), GeomFromEWKT('SRID=4674;POINT (-38.451784 -3.39904)'))) / (select extract(epoch from '2026-07-18 14:13:23'::timestamp) - extract(epoch from '2026-07-18 14:13:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.451838 -3.39912)', '2026-07-18 14:13:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451784 -3.39904)'), GeomFromEWKT('SRID=4674;POINT (-38.451838 -3.39912)'))) / (select extract(epoch from '2026-07-18 14:13:28'::timestamp) - extract(epoch from '2026-07-18 14:13:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451784 -3.39904)'), GeomFromEWKT('SRID=4674;POINT (-38.451838 -3.39912)'))) / (select extract(epoch from '2026-07-18 14:13:28'::timestamp) - extract(epoch from '2026-07-18 14:13: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'), 47391, 'SRID=4674;POINT (-38.451878 -3.399173)', '2026-07-18 14:13:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451838 -3.39912)'), GeomFromEWKT('SRID=4674;POINT (-38.451878 -3.399173)'))) / (select extract(epoch from '2026-07-18 14:13:32'::timestamp) - extract(epoch from '2026-07-18 14:13:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451838 -3.39912)'), GeomFromEWKT('SRID=4674;POINT (-38.451878 -3.399173)'))) / (select extract(epoch from '2026-07-18 14:13:32'::timestamp) - extract(epoch from '2026-07-18 14:13:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.451901 -3.39922)', '2026-07-18 14:13:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451878 -3.399173)'), GeomFromEWKT('SRID=4674;POINT (-38.451901 -3.39922)'))) / (select extract(epoch from '2026-07-18 14:13:35'::timestamp) - extract(epoch from '2026-07-18 14:13:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451878 -3.399173)'), GeomFromEWKT('SRID=4674;POINT (-38.451901 -3.39922)'))) / (select extract(epoch from '2026-07-18 14:13:35'::timestamp) - extract(epoch from '2026-07-18 14:13:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.451925 -3.399239)', '2026-07-18 14:13:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451901 -3.39922)'), GeomFromEWKT('SRID=4674;POINT (-38.451925 -3.399239)'))) / (select extract(epoch from '2026-07-18 14:13:37'::timestamp) - extract(epoch from '2026-07-18 14:13:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451901 -3.39922)'), GeomFromEWKT('SRID=4674;POINT (-38.451925 -3.399239)'))) / (select extract(epoch from '2026-07-18 14:13:37'::timestamp) - extract(epoch from '2026-07-18 14:13: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'), 47391, 'SRID=4674;POINT (-38.451934 -3.399256)', '2026-07-18 14:13:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451925 -3.399239)'), GeomFromEWKT('SRID=4674;POINT (-38.451934 -3.399256)'))) / (select extract(epoch from '2026-07-18 14:13:38'::timestamp) - extract(epoch from '2026-07-18 14:13:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451925 -3.399239)'), GeomFromEWKT('SRID=4674;POINT (-38.451934 -3.399256)'))) / (select extract(epoch from '2026-07-18 14:13:38'::timestamp) - extract(epoch from '2026-07-18 14:13: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'), 47391, 'SRID=4674;POINT (-38.451984 -3.399342)', '2026-07-18 14:13:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451934 -3.399256)'), GeomFromEWKT('SRID=4674;POINT (-38.451984 -3.399342)'))) / (select extract(epoch from '2026-07-18 14:13:43'::timestamp) - extract(epoch from '2026-07-18 14:13:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451934 -3.399256)'), GeomFromEWKT('SRID=4674;POINT (-38.451984 -3.399342)'))) / (select extract(epoch from '2026-07-18 14:13:43'::timestamp) - extract(epoch from '2026-07-18 14:13:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.452026 -3.399412)', '2026-07-18 14:13:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451984 -3.399342)'), GeomFromEWKT('SRID=4674;POINT (-38.452026 -3.399412)'))) / (select extract(epoch from '2026-07-18 14:13:50'::timestamp) - extract(epoch from '2026-07-18 14:13:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.451984 -3.399342)'), GeomFromEWKT('SRID=4674;POINT (-38.452026 -3.399412)'))) / (select extract(epoch from '2026-07-18 14:13:50'::timestamp) - extract(epoch from '2026-07-18 14:13:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.452036 -3.399424)', '2026-07-18 14:13:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452026 -3.399412)'), GeomFromEWKT('SRID=4674;POINT (-38.452036 -3.399424)'))) / (select extract(epoch from '2026-07-18 14:13:51'::timestamp) - extract(epoch from '2026-07-18 14:13:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452026 -3.399412)'), GeomFromEWKT('SRID=4674;POINT (-38.452036 -3.399424)'))) / (select extract(epoch from '2026-07-18 14:13:51'::timestamp) - extract(epoch from '2026-07-18 14:13:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.452073 -3.399473)', '2026-07-18 14:13:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452036 -3.399424)'), GeomFromEWKT('SRID=4674;POINT (-38.452073 -3.399473)'))) / (select extract(epoch from '2026-07-18 14:13:55'::timestamp) - extract(epoch from '2026-07-18 14:13:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452036 -3.399424)'), GeomFromEWKT('SRID=4674;POINT (-38.452073 -3.399473)'))) / (select extract(epoch from '2026-07-18 14:13:55'::timestamp) - extract(epoch from '2026-07-18 14:13:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.452132 -3.399547)', '2026-07-18 14:14:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452073 -3.399473)'), GeomFromEWKT('SRID=4674;POINT (-38.452132 -3.399547)'))) / (select extract(epoch from '2026-07-18 14:14:00'::timestamp) - extract(epoch from '2026-07-18 14:13:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452073 -3.399473)'), GeomFromEWKT('SRID=4674;POINT (-38.452132 -3.399547)'))) / (select extract(epoch from '2026-07-18 14:14:00'::timestamp) - extract(epoch from '2026-07-18 14:13: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'), 47391, 'SRID=4674;POINT (-38.452175 -3.399627)', '2026-07-18 14:14:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452132 -3.399547)'), GeomFromEWKT('SRID=4674;POINT (-38.452175 -3.399627)'))) / (select extract(epoch from '2026-07-18 14:14:05'::timestamp) - extract(epoch from '2026-07-18 14:14:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452132 -3.399547)'), GeomFromEWKT('SRID=4674;POINT (-38.452175 -3.399627)'))) / (select extract(epoch from '2026-07-18 14:14:05'::timestamp) - extract(epoch from '2026-07-18 14:14: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'), 47391, 'SRID=4674;POINT (-38.452206 -3.399721)', '2026-07-18 14:14:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452175 -3.399627)'), GeomFromEWKT('SRID=4674;POINT (-38.452206 -3.399721)'))) / (select extract(epoch from '2026-07-18 14:14:11'::timestamp) - extract(epoch from '2026-07-18 14:14:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452175 -3.399627)'), GeomFromEWKT('SRID=4674;POINT (-38.452206 -3.399721)'))) / (select extract(epoch from '2026-07-18 14:14:11'::timestamp) - extract(epoch from '2026-07-18 14:14:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.452241 -3.399778)', '2026-07-18 14:14:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452206 -3.399721)'), GeomFromEWKT('SRID=4674;POINT (-38.452241 -3.399778)'))) / (select extract(epoch from '2026-07-18 14:14:16'::timestamp) - extract(epoch from '2026-07-18 14:14:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452206 -3.399721)'), GeomFromEWKT('SRID=4674;POINT (-38.452241 -3.399778)'))) / (select extract(epoch from '2026-07-18 14:14:16'::timestamp) - extract(epoch from '2026-07-18 14:14:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.452286 -3.399858)', '2026-07-18 14:14:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452241 -3.399778)'), GeomFromEWKT('SRID=4674;POINT (-38.452286 -3.399858)'))) / (select extract(epoch from '2026-07-18 14:14:22'::timestamp) - extract(epoch from '2026-07-18 14:14:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452241 -3.399778)'), GeomFromEWKT('SRID=4674;POINT (-38.452286 -3.399858)'))) / (select extract(epoch from '2026-07-18 14:14:22'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.452333 -3.399946)', '2026-07-18 14:14:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452286 -3.399858)'), GeomFromEWKT('SRID=4674;POINT (-38.452333 -3.399946)'))) / (select extract(epoch from '2026-07-18 14:14:28'::timestamp) - extract(epoch from '2026-07-18 14:14:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452286 -3.399858)'), GeomFromEWKT('SRID=4674;POINT (-38.452333 -3.399946)'))) / (select extract(epoch from '2026-07-18 14:14:28'::timestamp) - extract(epoch from '2026-07-18 14:14: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'), 47391, 'SRID=4674;POINT (-38.452386 -3.400037)', '2026-07-18 14:14:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452333 -3.399946)'), GeomFromEWKT('SRID=4674;POINT (-38.452386 -3.400037)'))) / (select extract(epoch from '2026-07-18 14:14:34'::timestamp) - extract(epoch from '2026-07-18 14:14:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452333 -3.399946)'), GeomFromEWKT('SRID=4674;POINT (-38.452386 -3.400037)'))) / (select extract(epoch from '2026-07-18 14:14:34'::timestamp) - extract(epoch from '2026-07-18 14:14: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'), 47391, 'SRID=4674;POINT (-38.452435 -3.400115)', '2026-07-18 14:14:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452386 -3.400037)'), GeomFromEWKT('SRID=4674;POINT (-38.452435 -3.400115)'))) / (select extract(epoch from '2026-07-18 14:14:39'::timestamp) - extract(epoch from '2026-07-18 14:14:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452386 -3.400037)'), GeomFromEWKT('SRID=4674;POINT (-38.452435 -3.400115)'))) / (select extract(epoch from '2026-07-18 14:14:39'::timestamp) - extract(epoch from '2026-07-18 14:14:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.452494 -3.400223)', '2026-07-18 14:14:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452435 -3.400115)'), GeomFromEWKT('SRID=4674;POINT (-38.452494 -3.400223)'))) / (select extract(epoch from '2026-07-18 14:14:45'::timestamp) - extract(epoch from '2026-07-18 14:14:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452435 -3.400115)'), GeomFromEWKT('SRID=4674;POINT (-38.452494 -3.400223)'))) / (select extract(epoch from '2026-07-18 14:14:45'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.452535 -3.400311)', '2026-07-18 14:14:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452494 -3.400223)'), GeomFromEWKT('SRID=4674;POINT (-38.452535 -3.400311)'))) / (select extract(epoch from '2026-07-18 14:14:50'::timestamp) - extract(epoch from '2026-07-18 14:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452494 -3.400223)'), GeomFromEWKT('SRID=4674;POINT (-38.452535 -3.400311)'))) / (select extract(epoch from '2026-07-18 14:14:50'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.452552 -3.40035)', '2026-07-18 14:14:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452535 -3.400311)'), GeomFromEWKT('SRID=4674;POINT (-38.452552 -3.40035)'))) / (select extract(epoch from '2026-07-18 14:14:53'::timestamp) - extract(epoch from '2026-07-18 14:14:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452535 -3.400311)'), GeomFromEWKT('SRID=4674;POINT (-38.452552 -3.40035)'))) / (select extract(epoch from '2026-07-18 14:14:53'::timestamp) - extract(epoch from '2026-07-18 14:14:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.452576 -3.400379)', '2026-07-18 14:14:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452552 -3.40035)'), GeomFromEWKT('SRID=4674;POINT (-38.452576 -3.400379)'))) / (select extract(epoch from '2026-07-18 14:14:55'::timestamp) - extract(epoch from '2026-07-18 14:14:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452552 -3.40035)'), GeomFromEWKT('SRID=4674;POINT (-38.452576 -3.400379)'))) / (select extract(epoch from '2026-07-18 14:14:55'::timestamp) - extract(epoch from '2026-07-18 14:14: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'), 47391, 'SRID=4674;POINT (-38.452629 -3.400483)', '2026-07-18 14:15:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452576 -3.400379)'), GeomFromEWKT('SRID=4674;POINT (-38.452629 -3.400483)'))) / (select extract(epoch from '2026-07-18 14:15:01'::timestamp) - extract(epoch from '2026-07-18 14:14:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452576 -3.400379)'), GeomFromEWKT('SRID=4674;POINT (-38.452629 -3.400483)'))) / (select extract(epoch from '2026-07-18 14:15:01'::timestamp) - extract(epoch from '2026-07-18 14:14: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'), 47391, 'SRID=4674;POINT (-38.452665 -3.400566)', '2026-07-18 14:15:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452629 -3.400483)'), GeomFromEWKT('SRID=4674;POINT (-38.452665 -3.400566)'))) / (select extract(epoch from '2026-07-18 14:15:06'::timestamp) - extract(epoch from '2026-07-18 14:15:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452629 -3.400483)'), GeomFromEWKT('SRID=4674;POINT (-38.452665 -3.400566)'))) / (select extract(epoch from '2026-07-18 14:15:06'::timestamp) - extract(epoch from '2026-07-18 14:15: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'), 47391, 'SRID=4674;POINT (-38.452712 -3.400654)', '2026-07-18 14:15:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452665 -3.400566)'), GeomFromEWKT('SRID=4674;POINT (-38.452712 -3.400654)'))) / (select extract(epoch from '2026-07-18 14:15:12'::timestamp) - extract(epoch from '2026-07-18 14:15:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452665 -3.400566)'), GeomFromEWKT('SRID=4674;POINT (-38.452712 -3.400654)'))) / (select extract(epoch from '2026-07-18 14:15:12'::timestamp) - extract(epoch from '2026-07-18 14:15: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'), 47391, 'SRID=4674;POINT (-38.452719 -3.400684)', '2026-07-18 14:15:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452712 -3.400654)'), GeomFromEWKT('SRID=4674;POINT (-38.452719 -3.400684)'))) / (select extract(epoch from '2026-07-18 14:15:14'::timestamp) - extract(epoch from '2026-07-18 14:15:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452712 -3.400654)'), GeomFromEWKT('SRID=4674;POINT (-38.452719 -3.400684)'))) / (select extract(epoch from '2026-07-18 14:15:14'::timestamp) - extract(epoch from '2026-07-18 14:15: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'), 47391, 'SRID=4674;POINT (-38.452758 -3.400731)', '2026-07-18 14:15:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452719 -3.400684)'), GeomFromEWKT('SRID=4674;POINT (-38.452758 -3.400731)'))) / (select extract(epoch from '2026-07-18 14:15:17'::timestamp) - extract(epoch from '2026-07-18 14:15:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452719 -3.400684)'), GeomFromEWKT('SRID=4674;POINT (-38.452758 -3.400731)'))) / (select extract(epoch from '2026-07-18 14:15:17'::timestamp) - extract(epoch from '2026-07-18 14:15:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.452773 -3.400757)', '2026-07-18 14:15:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452758 -3.400731)'), GeomFromEWKT('SRID=4674;POINT (-38.452773 -3.400757)'))) / (select extract(epoch from '2026-07-18 14:15:19'::timestamp) - extract(epoch from '2026-07-18 14:15:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452758 -3.400731)'), GeomFromEWKT('SRID=4674;POINT (-38.452773 -3.400757)'))) / (select extract(epoch from '2026-07-18 14:15:19'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.452795 -3.400799)', '2026-07-18 14:15:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452773 -3.400757)'), GeomFromEWKT('SRID=4674;POINT (-38.452795 -3.400799)'))) / (select extract(epoch from '2026-07-18 14:15:22'::timestamp) - extract(epoch from '2026-07-18 14:15:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452773 -3.400757)'), GeomFromEWKT('SRID=4674;POINT (-38.452795 -3.400799)'))) / (select extract(epoch from '2026-07-18 14:15:22'::timestamp) - extract(epoch from '2026-07-18 14:15: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'), 47391, 'SRID=4674;POINT (-38.45284 -3.400871)', '2026-07-18 14:15:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452795 -3.400799)'), GeomFromEWKT('SRID=4674;POINT (-38.45284 -3.400871)'))) / (select extract(epoch from '2026-07-18 14:15:27'::timestamp) - extract(epoch from '2026-07-18 14:15:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452795 -3.400799)'), GeomFromEWKT('SRID=4674;POINT (-38.45284 -3.400871)'))) / (select extract(epoch from '2026-07-18 14:15:27'::timestamp) - extract(epoch from '2026-07-18 14:15: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'), 47391, 'SRID=4674;POINT (-38.452895 -3.400932)', '2026-07-18 14:15:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.45284 -3.400871)'), GeomFromEWKT('SRID=4674;POINT (-38.452895 -3.400932)'))) / (select extract(epoch from '2026-07-18 14:15:32'::timestamp) - extract(epoch from '2026-07-18 14:15:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.45284 -3.400871)'), GeomFromEWKT('SRID=4674;POINT (-38.452895 -3.400932)'))) / (select extract(epoch from '2026-07-18 14:15:32'::timestamp) - extract(epoch from '2026-07-18 14:15: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'), 47391, 'SRID=4674;POINT (-38.452949 -3.401022)', '2026-07-18 14:15:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452895 -3.400932)'), GeomFromEWKT('SRID=4674;POINT (-38.452949 -3.401022)'))) / (select extract(epoch from '2026-07-18 14:15:38'::timestamp) - extract(epoch from '2026-07-18 14:15:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452895 -3.400932)'), GeomFromEWKT('SRID=4674;POINT (-38.452949 -3.401022)'))) / (select extract(epoch from '2026-07-18 14:15:38'::timestamp) - extract(epoch from '2026-07-18 14:15: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'), 47391, 'SRID=4674;POINT (-38.453001 -3.401097)', '2026-07-18 14:15:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452949 -3.401022)'), GeomFromEWKT('SRID=4674;POINT (-38.453001 -3.401097)'))) / (select extract(epoch from '2026-07-18 14:15:43'::timestamp) - extract(epoch from '2026-07-18 14:15:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.452949 -3.401022)'), GeomFromEWKT('SRID=4674;POINT (-38.453001 -3.401097)'))) / (select extract(epoch from '2026-07-18 14:15:43'::timestamp) - extract(epoch from '2026-07-18 14:15:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.453024 -3.401136)', '2026-07-18 14:15:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.453001 -3.401097)'), GeomFromEWKT('SRID=4674;POINT (-38.453024 -3.401136)'))) / (select extract(epoch from '2026-07-18 14:15:46'::timestamp) - extract(epoch from '2026-07-18 14:15:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.453001 -3.401097)'), GeomFromEWKT('SRID=4674;POINT (-38.453024 -3.401136)'))) / (select extract(epoch from '2026-07-18 14:15:46'::timestamp) - extract(epoch from '2026-07-18 14:15: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'), 47391, 'SRID=4674;POINT (-38.453068 -3.401176)', '2026-07-18 14:15:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.453024 -3.401136)'), GeomFromEWKT('SRID=4674;POINT (-38.453068 -3.401176)'))) / (select extract(epoch from '2026-07-18 14:15:49'::timestamp) - extract(epoch from '2026-07-18 14:15:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.453024 -3.401136)'), GeomFromEWKT('SRID=4674;POINT (-38.453068 -3.401176)'))) / (select extract(epoch from '2026-07-18 14:15:49'::timestamp) - extract(epoch from '2026-07-18 14:15:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.453074 -3.40119)', '2026-07-18 14:15:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.453068 -3.401176)'), GeomFromEWKT('SRID=4674;POINT (-38.453074 -3.40119)'))) / (select extract(epoch from '2026-07-18 14:15:50'::timestamp) - extract(epoch from '2026-07-18 14:15:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.453068 -3.401176)'), GeomFromEWKT('SRID=4674;POINT (-38.453074 -3.40119)'))) / (select extract(epoch from '2026-07-18 14:15:50'::timestamp) - extract(epoch from '2026-07-18 14:15:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.453087 -3.401218)', '2026-07-18 14:15:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.453074 -3.40119)'), GeomFromEWKT('SRID=4674;POINT (-38.453087 -3.401218)'))) / (select extract(epoch from '2026-07-18 14:15:52'::timestamp) - extract(epoch from '2026-07-18 14:15:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.453074 -3.40119)'), GeomFromEWKT('SRID=4674;POINT (-38.453087 -3.401218)'))) / (select extract(epoch from '2026-07-18 14:15:52'::timestamp) - extract(epoch from '2026-07-18 14:15: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'), 47391, 'SRID=4674;POINT (-38.4531 -3.401233)', '2026-07-18 14:15:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.453087 -3.401218)'), GeomFromEWKT('SRID=4674;POINT (-38.4531 -3.401233)'))) / (select extract(epoch from '2026-07-18 14:15:53'::timestamp) - extract(epoch from '2026-07-18 14:15:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.453087 -3.401218)'), GeomFromEWKT('SRID=4674;POINT (-38.4531 -3.401233)'))) / (select extract(epoch from '2026-07-18 14:15:53'::timestamp) - extract(epoch from '2026-07-18 14:15: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'), 47391, 'SRID=4674;POINT (-38.453151 -3.401305)', '2026-07-18 14:15:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4531 -3.401233)'), GeomFromEWKT('SRID=4674;POINT (-38.453151 -3.401305)'))) / (select extract(epoch from '2026-07-18 14:15:58'::timestamp) - extract(epoch from '2026-07-18 14:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4531 -3.401233)'), GeomFromEWKT('SRID=4674;POINT (-38.453151 -3.401305)'))) / (select extract(epoch from '2026-07-18 14:15:58'::timestamp) - extract(epoch from '2026-07-18 14:15:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.453164 -3.401318)', '2026-07-18 14:15:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.453151 -3.401305)'), GeomFromEWKT('SRID=4674;POINT (-38.453164 -3.401318)'))) / (select extract(epoch from '2026-07-18 14:15:59'::timestamp) - extract(epoch from '2026-07-18 14:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.453151 -3.401305)'), GeomFromEWKT('SRID=4674;POINT (-38.453164 -3.401318)'))) / (select extract(epoch from '2026-07-18 14:15:59'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.453224 -3.401441)', '2026-07-18 14:16:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.453164 -3.401318)'), GeomFromEWKT('SRID=4674;POINT (-38.453224 -3.401441)'))) / (select extract(epoch from '2026-07-18 14:16:06'::timestamp) - extract(epoch from '2026-07-18 14:15:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.453164 -3.401318)'), GeomFromEWKT('SRID=4674;POINT (-38.453224 -3.401441)'))) / (select extract(epoch from '2026-07-18 14:16:06'::timestamp) - extract(epoch from '2026-07-18 14:15: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'), 47391, 'SRID=4674;POINT (-38.453271 -3.401558)', '2026-07-18 14:16:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.453224 -3.401441)'), GeomFromEWKT('SRID=4674;POINT (-38.453271 -3.401558)'))) / (select extract(epoch from '2026-07-18 14:16:13'::timestamp) - extract(epoch from '2026-07-18 14:16:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.453224 -3.401441)'), GeomFromEWKT('SRID=4674;POINT (-38.453271 -3.401558)'))) / (select extract(epoch from '2026-07-18 14:16:13'::timestamp) - extract(epoch from '2026-07-18 14:16: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'), 47391, 'SRID=4674;POINT (-38.45332 -3.401652)', '2026-07-18 14:16:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.453271 -3.401558)'), GeomFromEWKT('SRID=4674;POINT (-38.45332 -3.401652)'))) / (select extract(epoch from '2026-07-18 14:16:19'::timestamp) - extract(epoch from '2026-07-18 14:16:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.453271 -3.401558)'), GeomFromEWKT('SRID=4674;POINT (-38.45332 -3.401652)'))) / (select extract(epoch from '2026-07-18 14:16:19'::timestamp) - extract(epoch from '2026-07-18 14:16:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.453362 -3.401732)', '2026-07-18 14:16:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.45332 -3.401652)'), GeomFromEWKT('SRID=4674;POINT (-38.453362 -3.401732)'))) / (select extract(epoch from '2026-07-18 14:16:24'::timestamp) - extract(epoch from '2026-07-18 14:16:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.45332 -3.401652)'), GeomFromEWKT('SRID=4674;POINT (-38.453362 -3.401732)'))) / (select extract(epoch from '2026-07-18 14:16:24'::timestamp) - extract(epoch from '2026-07-18 14:16: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'), 47391, 'SRID=4674;POINT (-38.453417 -3.401833)', '2026-07-18 14:16:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.453362 -3.401732)'), GeomFromEWKT('SRID=4674;POINT (-38.453417 -3.401833)'))) / (select extract(epoch from '2026-07-18 14:16:31'::timestamp) - extract(epoch from '2026-07-18 14:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.453362 -3.401732)'), GeomFromEWKT('SRID=4674;POINT (-38.453417 -3.401833)'))) / (select extract(epoch from '2026-07-18 14:16:31'::timestamp) - extract(epoch from '2026-07-18 14:16: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'), 47391, 'SRID=4674;POINT (-38.453472 -3.401939)', '2026-07-18 14:16:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.453417 -3.401833)'), GeomFromEWKT('SRID=4674;POINT (-38.453472 -3.401939)'))) / (select extract(epoch from '2026-07-18 14:16:38'::timestamp) - extract(epoch from '2026-07-18 14:16:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.453417 -3.401833)'), GeomFromEWKT('SRID=4674;POINT (-38.453472 -3.401939)'))) / (select extract(epoch from '2026-07-18 14:16:38'::timestamp) - extract(epoch from '2026-07-18 14:16:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.453526 -3.402054)', '2026-07-18 14:16:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.453472 -3.401939)'), GeomFromEWKT('SRID=4674;POINT (-38.453526 -3.402054)'))) / (select extract(epoch from '2026-07-18 14:16:44'::timestamp) - extract(epoch from '2026-07-18 14:16:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.453472 -3.401939)'), GeomFromEWKT('SRID=4674;POINT (-38.453526 -3.402054)'))) / (select extract(epoch from '2026-07-18 14:16:44'::timestamp) - extract(epoch from '2026-07-18 14:16:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.453559 -3.402164)', '2026-07-18 14:16:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.453526 -3.402054)'), GeomFromEWKT('SRID=4674;POINT (-38.453559 -3.402164)'))) / (select extract(epoch from '2026-07-18 14:16:50'::timestamp) - extract(epoch from '2026-07-18 14:16:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.453526 -3.402054)'), GeomFromEWKT('SRID=4674;POINT (-38.453559 -3.402164)'))) / (select extract(epoch from '2026-07-18 14:16:50'::timestamp) - extract(epoch from '2026-07-18 14:16: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'), 47391, 'SRID=4674;POINT (-38.4536 -3.402287)', '2026-07-18 14:16:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.453559 -3.402164)'), GeomFromEWKT('SRID=4674;POINT (-38.4536 -3.402287)'))) / (select extract(epoch from '2026-07-18 14:16:57'::timestamp) - extract(epoch from '2026-07-18 14:16:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.453559 -3.402164)'), GeomFromEWKT('SRID=4674;POINT (-38.4536 -3.402287)'))) / (select extract(epoch from '2026-07-18 14:16:57'::timestamp) - extract(epoch from '2026-07-18 14:16: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'), 47391, 'SRID=4674;POINT (-38.453611 -3.402324)', '2026-07-18 14:16:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4536 -3.402287)'), GeomFromEWKT('SRID=4674;POINT (-38.453611 -3.402324)'))) / (select extract(epoch from '2026-07-18 14:16:59'::timestamp) - extract(epoch from '2026-07-18 14:16:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4536 -3.402287)'), GeomFromEWKT('SRID=4674;POINT (-38.453611 -3.402324)'))) / (select extract(epoch from '2026-07-18 14:16:59'::timestamp) - extract(epoch from '2026-07-18 14:16: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'), 47391, 'SRID=4674;POINT (-38.45363 -3.40236)', '2026-07-18 14:17:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.453611 -3.402324)'), GeomFromEWKT('SRID=4674;POINT (-38.45363 -3.40236)'))) / (select extract(epoch from '2026-07-18 14:17:01'::timestamp) - extract(epoch from '2026-07-18 14:16:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.453611 -3.402324)'), GeomFromEWKT('SRID=4674;POINT (-38.45363 -3.40236)'))) / (select extract(epoch from '2026-07-18 14:17:01'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.453639 -3.402405)', '2026-07-18 14:17:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.45363 -3.40236)'), GeomFromEWKT('SRID=4674;POINT (-38.453639 -3.402405)'))) / (select extract(epoch from '2026-07-18 14:17:04'::timestamp) - extract(epoch from '2026-07-18 14:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.45363 -3.40236)'), GeomFromEWKT('SRID=4674;POINT (-38.453639 -3.402405)'))) / (select extract(epoch from '2026-07-18 14:17:04'::timestamp) - extract(epoch from '2026-07-18 14:17:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.453663 -3.402433)', '2026-07-18 14:17:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.453639 -3.402405)'), GeomFromEWKT('SRID=4674;POINT (-38.453663 -3.402433)'))) / (select extract(epoch from '2026-07-18 14:17:06'::timestamp) - extract(epoch from '2026-07-18 14:17:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.453639 -3.402405)'), GeomFromEWKT('SRID=4674;POINT (-38.453663 -3.402433)'))) / (select extract(epoch from '2026-07-18 14:17:06'::timestamp) - extract(epoch from '2026-07-18 14:17:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.453703 -3.402512)', '2026-07-18 14:17:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.453663 -3.402433)'), GeomFromEWKT('SRID=4674;POINT (-38.453703 -3.402512)'))) / (select extract(epoch from '2026-07-18 14:17:11'::timestamp) - extract(epoch from '2026-07-18 14:17:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.453663 -3.402433)'), GeomFromEWKT('SRID=4674;POINT (-38.453703 -3.402512)'))) / (select extract(epoch from '2026-07-18 14:17:11'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.453769 -3.402628)', '2026-07-18 14:17:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.453703 -3.402512)'), GeomFromEWKT('SRID=4674;POINT (-38.453769 -3.402628)'))) / (select extract(epoch from '2026-07-18 14:17:18'::timestamp) - extract(epoch from '2026-07-18 14:17:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.453703 -3.402512)'), GeomFromEWKT('SRID=4674;POINT (-38.453769 -3.402628)'))) / (select extract(epoch from '2026-07-18 14:17:18'::timestamp) - extract(epoch from '2026-07-18 14:17: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'), 47391, 'SRID=4674;POINT (-38.453843 -3.402741)', '2026-07-18 14:17:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.453769 -3.402628)'), GeomFromEWKT('SRID=4674;POINT (-38.453843 -3.402741)'))) / (select extract(epoch from '2026-07-18 14:17:26'::timestamp) - extract(epoch from '2026-07-18 14:17:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.453769 -3.402628)'), GeomFromEWKT('SRID=4674;POINT (-38.453843 -3.402741)'))) / (select extract(epoch from '2026-07-18 14:17:26'::timestamp) - extract(epoch from '2026-07-18 14:17: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'), 47391, 'SRID=4674;POINT (-38.453912 -3.402836)', '2026-07-18 14:17:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.453843 -3.402741)'), GeomFromEWKT('SRID=4674;POINT (-38.453912 -3.402836)'))) / (select extract(epoch from '2026-07-18 14:17:32'::timestamp) - extract(epoch from '2026-07-18 14:17:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.453843 -3.402741)'), GeomFromEWKT('SRID=4674;POINT (-38.453912 -3.402836)'))) / (select extract(epoch from '2026-07-18 14:17:32'::timestamp) - extract(epoch from '2026-07-18 14:17:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.453966 -3.402913)', '2026-07-18 14:17:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.453912 -3.402836)'), GeomFromEWKT('SRID=4674;POINT (-38.453966 -3.402913)'))) / (select extract(epoch from '2026-07-18 14:17:37'::timestamp) - extract(epoch from '2026-07-18 14:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.453912 -3.402836)'), GeomFromEWKT('SRID=4674;POINT (-38.453966 -3.402913)'))) / (select extract(epoch from '2026-07-18 14:17:37'::timestamp) - extract(epoch from '2026-07-18 14:17: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'), 47391, 'SRID=4674;POINT (-38.454018 -3.40301)', '2026-07-18 14:17:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.453966 -3.402913)'), GeomFromEWKT('SRID=4674;POINT (-38.454018 -3.40301)'))) / (select extract(epoch from '2026-07-18 14:17:43'::timestamp) - extract(epoch from '2026-07-18 14:17:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.453966 -3.402913)'), GeomFromEWKT('SRID=4674;POINT (-38.454018 -3.40301)'))) / (select extract(epoch from '2026-07-18 14:17:43'::timestamp) - extract(epoch from '2026-07-18 14:17: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'), 47391, 'SRID=4674;POINT (-38.454074 -3.40312)', '2026-07-18 14:17:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.454018 -3.40301)'), GeomFromEWKT('SRID=4674;POINT (-38.454074 -3.40312)'))) / (select extract(epoch from '2026-07-18 14:17:49'::timestamp) - extract(epoch from '2026-07-18 14:17:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.454018 -3.40301)'), GeomFromEWKT('SRID=4674;POINT (-38.454074 -3.40312)'))) / (select extract(epoch from '2026-07-18 14:17:49'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.454116 -3.403204)', '2026-07-18 14:17:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.454074 -3.40312)'), GeomFromEWKT('SRID=4674;POINT (-38.454116 -3.403204)'))) / (select extract(epoch from '2026-07-18 14:17:54'::timestamp) - extract(epoch from '2026-07-18 14:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.454074 -3.40312)'), GeomFromEWKT('SRID=4674;POINT (-38.454116 -3.403204)'))) / (select extract(epoch from '2026-07-18 14:17:54'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.454163 -3.403289)', '2026-07-18 14:17:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.454116 -3.403204)'), GeomFromEWKT('SRID=4674;POINT (-38.454163 -3.403289)'))) / (select extract(epoch from '2026-07-18 14:17:59'::timestamp) - extract(epoch from '2026-07-18 14:17:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.454116 -3.403204)'), GeomFromEWKT('SRID=4674;POINT (-38.454163 -3.403289)'))) / (select extract(epoch from '2026-07-18 14:17:59'::timestamp) - extract(epoch from '2026-07-18 14:17: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'), 47391, 'SRID=4674;POINT (-38.454211 -3.403368)', '2026-07-18 14:18:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.454163 -3.403289)'), GeomFromEWKT('SRID=4674;POINT (-38.454211 -3.403368)'))) / (select extract(epoch from '2026-07-18 14:18:04'::timestamp) - extract(epoch from '2026-07-18 14:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.454163 -3.403289)'), GeomFromEWKT('SRID=4674;POINT (-38.454211 -3.403368)'))) / (select extract(epoch from '2026-07-18 14:18:04'::timestamp) - extract(epoch from '2026-07-18 14:17: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'), 47391, 'SRID=4674;POINT (-38.454262 -3.40348)', '2026-07-18 14:18:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.454211 -3.403368)'), GeomFromEWKT('SRID=4674;POINT (-38.454262 -3.40348)'))) / (select extract(epoch from '2026-07-18 14:18:11'::timestamp) - extract(epoch from '2026-07-18 14:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.454211 -3.403368)'), GeomFromEWKT('SRID=4674;POINT (-38.454262 -3.40348)'))) / (select extract(epoch from '2026-07-18 14:18:11'::timestamp) - extract(epoch from '2026-07-18 14:18:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.4543 -3.40356)', '2026-07-18 14:18:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.454262 -3.40348)'), GeomFromEWKT('SRID=4674;POINT (-38.4543 -3.40356)'))) / (select extract(epoch from '2026-07-18 14:18:17'::timestamp) - extract(epoch from '2026-07-18 14:18:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.454262 -3.40348)'), GeomFromEWKT('SRID=4674;POINT (-38.4543 -3.40356)'))) / (select extract(epoch from '2026-07-18 14:18:17'::timestamp) - extract(epoch from '2026-07-18 14:18: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'), 47391, 'SRID=4674;POINT (-38.45432 -3.403609)', '2026-07-18 14:18:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4543 -3.40356)'), GeomFromEWKT('SRID=4674;POINT (-38.45432 -3.403609)'))) / (select extract(epoch from '2026-07-18 14:18:20'::timestamp) - extract(epoch from '2026-07-18 14:18:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4543 -3.40356)'), GeomFromEWKT('SRID=4674;POINT (-38.45432 -3.403609)'))) / (select extract(epoch from '2026-07-18 14:18:20'::timestamp) - extract(epoch from '2026-07-18 14:18:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.454349 -3.403652)', '2026-07-18 14:18:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.45432 -3.403609)'), GeomFromEWKT('SRID=4674;POINT (-38.454349 -3.403652)'))) / (select extract(epoch from '2026-07-18 14:18:23'::timestamp) - extract(epoch from '2026-07-18 14:18:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.45432 -3.403609)'), GeomFromEWKT('SRID=4674;POINT (-38.454349 -3.403652)'))) / (select extract(epoch from '2026-07-18 14:18:23'::timestamp) - extract(epoch from '2026-07-18 14:18: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'), 47391, 'SRID=4674;POINT (-38.454395 -3.40374)', '2026-07-18 14:18:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.454349 -3.403652)'), GeomFromEWKT('SRID=4674;POINT (-38.454395 -3.40374)'))) / (select extract(epoch from '2026-07-18 14:18:29'::timestamp) - extract(epoch from '2026-07-18 14:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.454349 -3.403652)'), GeomFromEWKT('SRID=4674;POINT (-38.454395 -3.40374)'))) / (select extract(epoch from '2026-07-18 14:18:29'::timestamp) - extract(epoch from '2026-07-18 14:18: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'), 47391, 'SRID=4674;POINT (-38.454446 -3.403841)', '2026-07-18 14:18:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.454395 -3.40374)'), GeomFromEWKT('SRID=4674;POINT (-38.454446 -3.403841)'))) / (select extract(epoch from '2026-07-18 14:18:35'::timestamp) - extract(epoch from '2026-07-18 14:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.454395 -3.40374)'), GeomFromEWKT('SRID=4674;POINT (-38.454446 -3.403841)'))) / (select extract(epoch from '2026-07-18 14:18:35'::timestamp) - extract(epoch from '2026-07-18 14:18:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.454501 -3.403934)', '2026-07-18 14:18:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.454446 -3.403841)'), GeomFromEWKT('SRID=4674;POINT (-38.454501 -3.403934)'))) / (select extract(epoch from '2026-07-18 14:18:41'::timestamp) - extract(epoch from '2026-07-18 14:18:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.454446 -3.403841)'), GeomFromEWKT('SRID=4674;POINT (-38.454501 -3.403934)'))) / (select extract(epoch from '2026-07-18 14:18:41'::timestamp) - extract(epoch from '2026-07-18 14:18: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'), 47391, 'SRID=4674;POINT (-38.454523 -3.403979)', '2026-07-18 14:18:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.454501 -3.403934)'), GeomFromEWKT('SRID=4674;POINT (-38.454523 -3.403979)'))) / (select extract(epoch from '2026-07-18 14:18:45'::timestamp) - extract(epoch from '2026-07-18 14:18:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.454501 -3.403934)'), GeomFromEWKT('SRID=4674;POINT (-38.454523 -3.403979)'))) / (select extract(epoch from '2026-07-18 14:18:45'::timestamp) - extract(epoch from '2026-07-18 14:18:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.45456 -3.404041)', '2026-07-18 14:18:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.454523 -3.403979)'), GeomFromEWKT('SRID=4674;POINT (-38.45456 -3.404041)'))) / (select extract(epoch from '2026-07-18 14:18:50'::timestamp) - extract(epoch from '2026-07-18 14:18:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.454523 -3.403979)'), GeomFromEWKT('SRID=4674;POINT (-38.45456 -3.404041)'))) / (select extract(epoch from '2026-07-18 14:18:50'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.45459 -3.404102)', '2026-07-18 14:18:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.45456 -3.404041)'), GeomFromEWKT('SRID=4674;POINT (-38.45459 -3.404102)'))) / (select extract(epoch from '2026-07-18 14:18:54'::timestamp) - extract(epoch from '2026-07-18 14:18:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.45456 -3.404041)'), GeomFromEWKT('SRID=4674;POINT (-38.45459 -3.404102)'))) / (select extract(epoch from '2026-07-18 14:18:54'::timestamp) - extract(epoch from '2026-07-18 14:18: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'), 47391, 'SRID=4674;POINT (-38.45464 -3.404216)', '2026-07-18 14:19:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.45459 -3.404102)'), GeomFromEWKT('SRID=4674;POINT (-38.45464 -3.404216)'))) / (select extract(epoch from '2026-07-18 14:19:02'::timestamp) - extract(epoch from '2026-07-18 14:18:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.45459 -3.404102)'), GeomFromEWKT('SRID=4674;POINT (-38.45464 -3.404216)'))) / (select extract(epoch from '2026-07-18 14:19:02'::timestamp) - extract(epoch from '2026-07-18 14:18: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'), 47391, 'SRID=4674;POINT (-38.454694 -3.404305)', '2026-07-18 14:19:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.45464 -3.404216)'), GeomFromEWKT('SRID=4674;POINT (-38.454694 -3.404305)'))) / (select extract(epoch from '2026-07-18 14:19:08'::timestamp) - extract(epoch from '2026-07-18 14:19:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.45464 -3.404216)'), GeomFromEWKT('SRID=4674;POINT (-38.454694 -3.404305)'))) / (select extract(epoch from '2026-07-18 14:19:08'::timestamp) - extract(epoch from '2026-07-18 14:19:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.454733 -3.404384)', '2026-07-18 14:19:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.454694 -3.404305)'), GeomFromEWKT('SRID=4674;POINT (-38.454733 -3.404384)'))) / (select extract(epoch from '2026-07-18 14:19:13'::timestamp) - extract(epoch from '2026-07-18 14:19:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.454694 -3.404305)'), GeomFromEWKT('SRID=4674;POINT (-38.454733 -3.404384)'))) / (select extract(epoch from '2026-07-18 14:19:13'::timestamp) - extract(epoch from '2026-07-18 14:19:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.454774 -3.404452)', '2026-07-18 14:19:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.454733 -3.404384)'), GeomFromEWKT('SRID=4674;POINT (-38.454774 -3.404452)'))) / (select extract(epoch from '2026-07-18 14:19:17'::timestamp) - extract(epoch from '2026-07-18 14:19:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.454733 -3.404384)'), GeomFromEWKT('SRID=4674;POINT (-38.454774 -3.404452)'))) / (select extract(epoch from '2026-07-18 14:19:17'::timestamp) - extract(epoch from '2026-07-18 14:19: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'), 47391, 'SRID=4674;POINT (-38.454778 -3.404467)', '2026-07-18 14:19:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.454774 -3.404452)'), GeomFromEWKT('SRID=4674;POINT (-38.454778 -3.404467)'))) / (select extract(epoch from '2026-07-18 14:19:18'::timestamp) - extract(epoch from '2026-07-18 14:19:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.454774 -3.404452)'), GeomFromEWKT('SRID=4674;POINT (-38.454778 -3.404467)'))) / (select extract(epoch from '2026-07-18 14:19:18'::timestamp) - extract(epoch from '2026-07-18 14:19:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.454826 -3.404533)', '2026-07-18 14:19:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.454778 -3.404467)'), GeomFromEWKT('SRID=4674;POINT (-38.454826 -3.404533)'))) / (select extract(epoch from '2026-07-18 14:19:23'::timestamp) - extract(epoch from '2026-07-18 14:19:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.454778 -3.404467)'), GeomFromEWKT('SRID=4674;POINT (-38.454826 -3.404533)'))) / (select extract(epoch from '2026-07-18 14:19:23'::timestamp) - extract(epoch from '2026-07-18 14:19: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'), 47391, 'SRID=4674;POINT (-38.454839 -3.404561)', '2026-07-18 14:19:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.454826 -3.404533)'), GeomFromEWKT('SRID=4674;POINT (-38.454839 -3.404561)'))) / (select extract(epoch from '2026-07-18 14:19:25'::timestamp) - extract(epoch from '2026-07-18 14:19:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.454826 -3.404533)'), GeomFromEWKT('SRID=4674;POINT (-38.454839 -3.404561)'))) / (select extract(epoch from '2026-07-18 14:19:25'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.454845 -3.404609)', '2026-07-18 14:19:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.454839 -3.404561)'), GeomFromEWKT('SRID=4674;POINT (-38.454845 -3.404609)'))) / (select extract(epoch from '2026-07-18 14:19:28'::timestamp) - extract(epoch from '2026-07-18 14:19:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.454839 -3.404561)'), GeomFromEWKT('SRID=4674;POINT (-38.454845 -3.404609)'))) / (select extract(epoch from '2026-07-18 14:19:28'::timestamp) - extract(epoch from '2026-07-18 14:19: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'), 47391, 'SRID=4674;POINT (-38.454855 -3.404631)', '2026-07-18 14:19:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.454845 -3.404609)'), GeomFromEWKT('SRID=4674;POINT (-38.454855 -3.404631)'))) / (select extract(epoch from '2026-07-18 14:19:30'::timestamp) - extract(epoch from '2026-07-18 14:19:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.454845 -3.404609)'), GeomFromEWKT('SRID=4674;POINT (-38.454855 -3.404631)'))) / (select extract(epoch from '2026-07-18 14:19:30'::timestamp) - extract(epoch from '2026-07-18 14:19:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.454871 -3.404653)', '2026-07-18 14:19:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.454855 -3.404631)'), GeomFromEWKT('SRID=4674;POINT (-38.454871 -3.404653)'))) / (select extract(epoch from '2026-07-18 14:19:32'::timestamp) - extract(epoch from '2026-07-18 14:19:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.454855 -3.404631)'), GeomFromEWKT('SRID=4674;POINT (-38.454871 -3.404653)'))) / (select extract(epoch from '2026-07-18 14:19:32'::timestamp) - extract(epoch from '2026-07-18 14:19:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.454891 -3.404671)', '2026-07-18 14:19:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.454871 -3.404653)'), GeomFromEWKT('SRID=4674;POINT (-38.454891 -3.404671)'))) / (select extract(epoch from '2026-07-18 14:19:34'::timestamp) - extract(epoch from '2026-07-18 14:19:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.454871 -3.404653)'), GeomFromEWKT('SRID=4674;POINT (-38.454891 -3.404671)'))) / (select extract(epoch from '2026-07-18 14:19:34'::timestamp) - extract(epoch from '2026-07-18 14:19:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.454923 -3.4047)', '2026-07-18 14:19:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.454891 -3.404671)'), GeomFromEWKT('SRID=4674;POINT (-38.454923 -3.4047)'))) / (select extract(epoch from '2026-07-18 14:19:37'::timestamp) - extract(epoch from '2026-07-18 14:19:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.454891 -3.404671)'), GeomFromEWKT('SRID=4674;POINT (-38.454923 -3.4047)'))) / (select extract(epoch from '2026-07-18 14:19:37'::timestamp) - extract(epoch from '2026-07-18 14:19: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'), 47391, 'SRID=4674;POINT (-38.454994 -3.40478)', '2026-07-18 14:19:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.454923 -3.4047)'), GeomFromEWKT('SRID=4674;POINT (-38.454994 -3.40478)'))) / (select extract(epoch from '2026-07-18 14:19:42'::timestamp) - extract(epoch from '2026-07-18 14:19:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.454923 -3.4047)'), GeomFromEWKT('SRID=4674;POINT (-38.454994 -3.40478)'))) / (select extract(epoch from '2026-07-18 14:19:42'::timestamp) - extract(epoch from '2026-07-18 14:19:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.455046 -3.404849)', '2026-07-18 14:19:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.454994 -3.40478)'), GeomFromEWKT('SRID=4674;POINT (-38.455046 -3.404849)'))) / (select extract(epoch from '2026-07-18 14:19:47'::timestamp) - extract(epoch from '2026-07-18 14:19:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.454994 -3.40478)'), GeomFromEWKT('SRID=4674;POINT (-38.455046 -3.404849)'))) / (select extract(epoch from '2026-07-18 14:19:47'::timestamp) - extract(epoch from '2026-07-18 14:19: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'), 47391, 'SRID=4674;POINT (-38.455098 -3.404967)', '2026-07-18 14:19:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.455046 -3.404849)'), GeomFromEWKT('SRID=4674;POINT (-38.455098 -3.404967)'))) / (select extract(epoch from '2026-07-18 14:19:54'::timestamp) - extract(epoch from '2026-07-18 14:19:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.455046 -3.404849)'), GeomFromEWKT('SRID=4674;POINT (-38.455098 -3.404967)'))) / (select extract(epoch from '2026-07-18 14:19:54'::timestamp) - extract(epoch from '2026-07-18 14:19:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.455136 -3.405056)', '2026-07-18 14:20:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.455098 -3.404967)'), GeomFromEWKT('SRID=4674;POINT (-38.455136 -3.405056)'))) / (select extract(epoch from '2026-07-18 14:20:00'::timestamp) - extract(epoch from '2026-07-18 14:19:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.455098 -3.404967)'), GeomFromEWKT('SRID=4674;POINT (-38.455136 -3.405056)'))) / (select extract(epoch from '2026-07-18 14:20:00'::timestamp) - extract(epoch from '2026-07-18 14:19: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'), 47391, 'SRID=4674;POINT (-38.455184 -3.40517)', '2026-07-18 14:20:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.455136 -3.405056)'), GeomFromEWKT('SRID=4674;POINT (-38.455184 -3.40517)'))) / (select extract(epoch from '2026-07-18 14:20:07'::timestamp) - extract(epoch from '2026-07-18 14:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.455136 -3.405056)'), GeomFromEWKT('SRID=4674;POINT (-38.455184 -3.40517)'))) / (select extract(epoch from '2026-07-18 14:20:07'::timestamp) - extract(epoch from '2026-07-18 14:20:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.455227 -3.405254)', '2026-07-18 14:20:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.455184 -3.40517)'), GeomFromEWKT('SRID=4674;POINT (-38.455227 -3.405254)'))) / (select extract(epoch from '2026-07-18 14:20:13'::timestamp) - extract(epoch from '2026-07-18 14:20:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.455184 -3.40517)'), GeomFromEWKT('SRID=4674;POINT (-38.455227 -3.405254)'))) / (select extract(epoch from '2026-07-18 14:20:13'::timestamp) - extract(epoch from '2026-07-18 14:20: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'), 47391, 'SRID=4674;POINT (-38.455301 -3.405348)', '2026-07-18 14:20:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.455227 -3.405254)'), GeomFromEWKT('SRID=4674;POINT (-38.455301 -3.405348)'))) / (select extract(epoch from '2026-07-18 14:20:20'::timestamp) - extract(epoch from '2026-07-18 14:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.455227 -3.405254)'), GeomFromEWKT('SRID=4674;POINT (-38.455301 -3.405348)'))) / (select extract(epoch from '2026-07-18 14:20:20'::timestamp) - extract(epoch from '2026-07-18 14:20:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.455311 -3.405363)', '2026-07-18 14:20:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.455301 -3.405348)'), GeomFromEWKT('SRID=4674;POINT (-38.455311 -3.405363)'))) / (select extract(epoch from '2026-07-18 14:20:21'::timestamp) - extract(epoch from '2026-07-18 14:20:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.455301 -3.405348)'), GeomFromEWKT('SRID=4674;POINT (-38.455311 -3.405363)'))) / (select extract(epoch from '2026-07-18 14:20:21'::timestamp) - extract(epoch from '2026-07-18 14:20: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'), 47391, 'SRID=4674;POINT (-38.455356 -3.405426)', '2026-07-18 14:20:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.455311 -3.405363)'), GeomFromEWKT('SRID=4674;POINT (-38.455356 -3.405426)'))) / (select extract(epoch from '2026-07-18 14:20:25'::timestamp) - extract(epoch from '2026-07-18 14:20:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.455311 -3.405363)'), GeomFromEWKT('SRID=4674;POINT (-38.455356 -3.405426)'))) / (select extract(epoch from '2026-07-18 14:20:25'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.455423 -3.405526)', '2026-07-18 14:20:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.455356 -3.405426)'), GeomFromEWKT('SRID=4674;POINT (-38.455423 -3.405526)'))) / (select extract(epoch from '2026-07-18 14:20:31'::timestamp) - extract(epoch from '2026-07-18 14:20:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.455356 -3.405426)'), GeomFromEWKT('SRID=4674;POINT (-38.455423 -3.405526)'))) / (select extract(epoch from '2026-07-18 14:20:31'::timestamp) - extract(epoch from '2026-07-18 14:20:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.45547 -3.405609)', '2026-07-18 14:20:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.455423 -3.405526)'), GeomFromEWKT('SRID=4674;POINT (-38.45547 -3.405609)'))) / (select extract(epoch from '2026-07-18 14:20:36'::timestamp) - extract(epoch from '2026-07-18 14:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.455423 -3.405526)'), GeomFromEWKT('SRID=4674;POINT (-38.45547 -3.405609)'))) / (select extract(epoch from '2026-07-18 14:20:36'::timestamp) - extract(epoch from '2026-07-18 14:20: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'), 47391, 'SRID=4674;POINT (-38.45548 -3.405637)', '2026-07-18 14:20:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.45547 -3.405609)'), GeomFromEWKT('SRID=4674;POINT (-38.45548 -3.405637)'))) / (select extract(epoch from '2026-07-18 14:20:38'::timestamp) - extract(epoch from '2026-07-18 14:20:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.45547 -3.405609)'), GeomFromEWKT('SRID=4674;POINT (-38.45548 -3.405637)'))) / (select extract(epoch from '2026-07-18 14:20:38'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.455494 -3.405669)', '2026-07-18 14:20:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.45548 -3.405637)'), GeomFromEWKT('SRID=4674;POINT (-38.455494 -3.405669)'))) / (select extract(epoch from '2026-07-18 14:20:40'::timestamp) - extract(epoch from '2026-07-18 14:20:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.45548 -3.405637)'), GeomFromEWKT('SRID=4674;POINT (-38.455494 -3.405669)'))) / (select extract(epoch from '2026-07-18 14:20:40'::timestamp) - extract(epoch from '2026-07-18 14:20: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'), 47391, 'SRID=4674;POINT (-38.455539 -3.405746)', '2026-07-18 14:20:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.455494 -3.405669)'), GeomFromEWKT('SRID=4674;POINT (-38.455539 -3.405746)'))) / (select extract(epoch from '2026-07-18 14:20:45'::timestamp) - extract(epoch from '2026-07-18 14:20:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.455494 -3.405669)'), GeomFromEWKT('SRID=4674;POINT (-38.455539 -3.405746)'))) / (select extract(epoch from '2026-07-18 14:20:45'::timestamp) - extract(epoch from '2026-07-18 14:20:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.455576 -3.405826)', '2026-07-18 14:20:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.455539 -3.405746)'), GeomFromEWKT('SRID=4674;POINT (-38.455576 -3.405826)'))) / (select extract(epoch from '2026-07-18 14:20:49'::timestamp) - extract(epoch from '2026-07-18 14:20:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.455539 -3.405746)'), GeomFromEWKT('SRID=4674;POINT (-38.455576 -3.405826)'))) / (select extract(epoch from '2026-07-18 14:20:49'::timestamp) - extract(epoch from '2026-07-18 14:20:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.455609 -3.405901)', '2026-07-18 14:20:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.455576 -3.405826)'), GeomFromEWKT('SRID=4674;POINT (-38.455609 -3.405901)'))) / (select extract(epoch from '2026-07-18 14:20:54'::timestamp) - extract(epoch from '2026-07-18 14:20:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.455576 -3.405826)'), GeomFromEWKT('SRID=4674;POINT (-38.455609 -3.405901)'))) / (select extract(epoch from '2026-07-18 14:20:54'::timestamp) - extract(epoch from '2026-07-18 14:20:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.455658 -3.406014)', '2026-07-18 14:21:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.455609 -3.405901)'), GeomFromEWKT('SRID=4674;POINT (-38.455658 -3.406014)'))) / (select extract(epoch from '2026-07-18 14:21:00'::timestamp) - extract(epoch from '2026-07-18 14:20:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.455609 -3.405901)'), GeomFromEWKT('SRID=4674;POINT (-38.455658 -3.406014)'))) / (select extract(epoch from '2026-07-18 14:21:00'::timestamp) - extract(epoch from '2026-07-18 14:20:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.45571 -3.406121)', '2026-07-18 14:21:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.455658 -3.406014)'), GeomFromEWKT('SRID=4674;POINT (-38.45571 -3.406121)'))) / (select extract(epoch from '2026-07-18 14:21:06'::timestamp) - extract(epoch from '2026-07-18 14:21:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.455658 -3.406014)'), GeomFromEWKT('SRID=4674;POINT (-38.45571 -3.406121)'))) / (select extract(epoch from '2026-07-18 14:21:06'::timestamp) - extract(epoch from '2026-07-18 14:21: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'), 47391, 'SRID=4674;POINT (-38.455756 -3.406209)', '2026-07-18 14:21:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.45571 -3.406121)'), GeomFromEWKT('SRID=4674;POINT (-38.455756 -3.406209)'))) / (select extract(epoch from '2026-07-18 14:21:11'::timestamp) - extract(epoch from '2026-07-18 14:21:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.45571 -3.406121)'), GeomFromEWKT('SRID=4674;POINT (-38.455756 -3.406209)'))) / (select extract(epoch from '2026-07-18 14:21:11'::timestamp) - extract(epoch from '2026-07-18 14:21:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.455815 -3.406303)', '2026-07-18 14:21:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.455756 -3.406209)'), GeomFromEWKT('SRID=4674;POINT (-38.455815 -3.406303)'))) / (select extract(epoch from '2026-07-18 14:21:17'::timestamp) - extract(epoch from '2026-07-18 14:21:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.455756 -3.406209)'), GeomFromEWKT('SRID=4674;POINT (-38.455815 -3.406303)'))) / (select extract(epoch from '2026-07-18 14:21:17'::timestamp) - extract(epoch from '2026-07-18 14:21: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'), 47391, 'SRID=4674;POINT (-38.455853 -3.406386)', '2026-07-18 14:21:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.455815 -3.406303)'), GeomFromEWKT('SRID=4674;POINT (-38.455853 -3.406386)'))) / (select extract(epoch from '2026-07-18 14:21:22'::timestamp) - extract(epoch from '2026-07-18 14:21:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.455815 -3.406303)'), GeomFromEWKT('SRID=4674;POINT (-38.455853 -3.406386)'))) / (select extract(epoch from '2026-07-18 14:21:22'::timestamp) - extract(epoch from '2026-07-18 14:21:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.455896 -3.406481)', '2026-07-18 14:21:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.455853 -3.406386)'), GeomFromEWKT('SRID=4674;POINT (-38.455896 -3.406481)'))) / (select extract(epoch from '2026-07-18 14:21:27'::timestamp) - extract(epoch from '2026-07-18 14:21:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.455853 -3.406386)'), GeomFromEWKT('SRID=4674;POINT (-38.455896 -3.406481)'))) / (select extract(epoch from '2026-07-18 14:21:27'::timestamp) - extract(epoch from '2026-07-18 14:21:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.455949 -3.406561)', '2026-07-18 14:21:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.455896 -3.406481)'), GeomFromEWKT('SRID=4674;POINT (-38.455949 -3.406561)'))) / (select extract(epoch from '2026-07-18 14:21:32'::timestamp) - extract(epoch from '2026-07-18 14:21:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.455896 -3.406481)'), GeomFromEWKT('SRID=4674;POINT (-38.455949 -3.406561)'))) / (select extract(epoch from '2026-07-18 14:21:32'::timestamp) - extract(epoch from '2026-07-18 14:21: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'), 47391, 'SRID=4674;POINT (-38.456002 -3.406656)', '2026-07-18 14:21:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.455949 -3.406561)'), GeomFromEWKT('SRID=4674;POINT (-38.456002 -3.406656)'))) / (select extract(epoch from '2026-07-18 14:21:38'::timestamp) - extract(epoch from '2026-07-18 14:21:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.455949 -3.406561)'), GeomFromEWKT('SRID=4674;POINT (-38.456002 -3.406656)'))) / (select extract(epoch from '2026-07-18 14:21:38'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.456032 -3.406762)', '2026-07-18 14:21:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456002 -3.406656)'), GeomFromEWKT('SRID=4674;POINT (-38.456032 -3.406762)'))) / (select extract(epoch from '2026-07-18 14:21:43'::timestamp) - extract(epoch from '2026-07-18 14:21:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456002 -3.406656)'), GeomFromEWKT('SRID=4674;POINT (-38.456032 -3.406762)'))) / (select extract(epoch from '2026-07-18 14:21:43'::timestamp) - extract(epoch from '2026-07-18 14:21:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.456066 -3.406849)', '2026-07-18 14:21:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456032 -3.406762)'), GeomFromEWKT('SRID=4674;POINT (-38.456066 -3.406849)'))) / (select extract(epoch from '2026-07-18 14:21:48'::timestamp) - extract(epoch from '2026-07-18 14:21:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456032 -3.406762)'), GeomFromEWKT('SRID=4674;POINT (-38.456066 -3.406849)'))) / (select extract(epoch from '2026-07-18 14:21:48'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.456078 -3.406865)', '2026-07-18 14:21:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456066 -3.406849)'), GeomFromEWKT('SRID=4674;POINT (-38.456078 -3.406865)'))) / (select extract(epoch from '2026-07-18 14:21:49'::timestamp) - extract(epoch from '2026-07-18 14:21:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456066 -3.406849)'), GeomFromEWKT('SRID=4674;POINT (-38.456078 -3.406865)'))) / (select extract(epoch from '2026-07-18 14:21:49'::timestamp) - extract(epoch from '2026-07-18 14:21: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'), 47391, 'SRID=4674;POINT (-38.456134 -3.406975)', '2026-07-18 14:21:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456078 -3.406865)'), GeomFromEWKT('SRID=4674;POINT (-38.456134 -3.406975)'))) / (select extract(epoch from '2026-07-18 14:21:55'::timestamp) - extract(epoch from '2026-07-18 14:21:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456078 -3.406865)'), GeomFromEWKT('SRID=4674;POINT (-38.456134 -3.406975)'))) / (select extract(epoch from '2026-07-18 14:21:55'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.456147 -3.407003)', '2026-07-18 14:21:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456134 -3.406975)'), GeomFromEWKT('SRID=4674;POINT (-38.456147 -3.407003)'))) / (select extract(epoch from '2026-07-18 14:21:57'::timestamp) - extract(epoch from '2026-07-18 14:21:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456134 -3.406975)'), GeomFromEWKT('SRID=4674;POINT (-38.456147 -3.407003)'))) / (select extract(epoch from '2026-07-18 14:21:57'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.456165 -3.40703)', '2026-07-18 14:21:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456147 -3.407003)'), GeomFromEWKT('SRID=4674;POINT (-38.456165 -3.40703)'))) / (select extract(epoch from '2026-07-18 14:21:59'::timestamp) - extract(epoch from '2026-07-18 14:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456147 -3.407003)'), GeomFromEWKT('SRID=4674;POINT (-38.456165 -3.40703)'))) / (select extract(epoch from '2026-07-18 14:21:59'::timestamp) - extract(epoch from '2026-07-18 14:21: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'), 47391, 'SRID=4674;POINT (-38.456233 -3.407148)', '2026-07-18 14:22:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456165 -3.40703)'), GeomFromEWKT('SRID=4674;POINT (-38.456233 -3.407148)'))) / (select extract(epoch from '2026-07-18 14:22:06'::timestamp) - extract(epoch from '2026-07-18 14:21:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456165 -3.40703)'), GeomFromEWKT('SRID=4674;POINT (-38.456233 -3.407148)'))) / (select extract(epoch from '2026-07-18 14:22:06'::timestamp) - extract(epoch from '2026-07-18 14:21: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'), 47391, 'SRID=4674;POINT (-38.456286 -3.407236)', '2026-07-18 14:22:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456233 -3.407148)'), GeomFromEWKT('SRID=4674;POINT (-38.456286 -3.407236)'))) / (select extract(epoch from '2026-07-18 14:22:11'::timestamp) - extract(epoch from '2026-07-18 14:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456233 -3.407148)'), GeomFromEWKT('SRID=4674;POINT (-38.456286 -3.407236)'))) / (select extract(epoch from '2026-07-18 14:22:11'::timestamp) - extract(epoch from '2026-07-18 14:22:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.456323 -3.407321)', '2026-07-18 14:22:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456286 -3.407236)'), GeomFromEWKT('SRID=4674;POINT (-38.456323 -3.407321)'))) / (select extract(epoch from '2026-07-18 14:22:16'::timestamp) - extract(epoch from '2026-07-18 14:22:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456286 -3.407236)'), GeomFromEWKT('SRID=4674;POINT (-38.456323 -3.407321)'))) / (select extract(epoch from '2026-07-18 14:22:16'::timestamp) - extract(epoch from '2026-07-18 14:22:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.456369 -3.407415)', '2026-07-18 14:22:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456323 -3.407321)'), GeomFromEWKT('SRID=4674;POINT (-38.456369 -3.407415)'))) / (select extract(epoch from '2026-07-18 14:22:23'::timestamp) - extract(epoch from '2026-07-18 14:22:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456323 -3.407321)'), GeomFromEWKT('SRID=4674;POINT (-38.456369 -3.407415)'))) / (select extract(epoch from '2026-07-18 14:22:23'::timestamp) - extract(epoch from '2026-07-18 14:22: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'), 47391, 'SRID=4674;POINT (-38.456422 -3.40751)', '2026-07-18 14:22:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456369 -3.407415)'), GeomFromEWKT('SRID=4674;POINT (-38.456422 -3.40751)'))) / (select extract(epoch from '2026-07-18 14:22:29'::timestamp) - extract(epoch from '2026-07-18 14:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456369 -3.407415)'), GeomFromEWKT('SRID=4674;POINT (-38.456422 -3.40751)'))) / (select extract(epoch from '2026-07-18 14:22:29'::timestamp) - extract(epoch from '2026-07-18 14:22:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.45648 -3.407602)', '2026-07-18 14:22:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456422 -3.40751)'), GeomFromEWKT('SRID=4674;POINT (-38.45648 -3.407602)'))) / (select extract(epoch from '2026-07-18 14:22:35'::timestamp) - extract(epoch from '2026-07-18 14:22:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456422 -3.40751)'), GeomFromEWKT('SRID=4674;POINT (-38.45648 -3.407602)'))) / (select extract(epoch from '2026-07-18 14:22:35'::timestamp) - extract(epoch from '2026-07-18 14:22: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'), 47391, 'SRID=4674;POINT (-38.4565 -3.407648)', '2026-07-18 14:22:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.45648 -3.407602)'), GeomFromEWKT('SRID=4674;POINT (-38.4565 -3.407648)'))) / (select extract(epoch from '2026-07-18 14:22:38'::timestamp) - extract(epoch from '2026-07-18 14:22:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.45648 -3.407602)'), GeomFromEWKT('SRID=4674;POINT (-38.4565 -3.407648)'))) / (select extract(epoch from '2026-07-18 14:22:38'::timestamp) - extract(epoch from '2026-07-18 14:22: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'), 47391, 'SRID=4674;POINT (-38.456511 -3.407682)', '2026-07-18 14:22:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4565 -3.407648)'), GeomFromEWKT('SRID=4674;POINT (-38.456511 -3.407682)'))) / (select extract(epoch from '2026-07-18 14:22:40'::timestamp) - extract(epoch from '2026-07-18 14:22:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4565 -3.407648)'), GeomFromEWKT('SRID=4674;POINT (-38.456511 -3.407682)'))) / (select extract(epoch from '2026-07-18 14:22:40'::timestamp) - extract(epoch from '2026-07-18 14:22: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'), 47391, 'SRID=4674;POINT (-38.456564 -3.40775)', '2026-07-18 14:22:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456511 -3.407682)'), GeomFromEWKT('SRID=4674;POINT (-38.456564 -3.40775)'))) / (select extract(epoch from '2026-07-18 14:22:45'::timestamp) - extract(epoch from '2026-07-18 14:22:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456511 -3.407682)'), GeomFromEWKT('SRID=4674;POINT (-38.456564 -3.40775)'))) / (select extract(epoch from '2026-07-18 14:22:45'::timestamp) - extract(epoch from '2026-07-18 14:22:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.456574 -3.407757)', '2026-07-18 14:22:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456564 -3.40775)'), GeomFromEWKT('SRID=4674;POINT (-38.456574 -3.407757)'))) / (select extract(epoch from '2026-07-18 14:22:46'::timestamp) - extract(epoch from '2026-07-18 14:22:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456564 -3.40775)'), GeomFromEWKT('SRID=4674;POINT (-38.456574 -3.407757)'))) / (select extract(epoch from '2026-07-18 14:22:46'::timestamp) - extract(epoch from '2026-07-18 14:22:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.456603 -3.407788)', '2026-07-18 14:22:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456574 -3.407757)'), GeomFromEWKT('SRID=4674;POINT (-38.456603 -3.407788)'))) / (select extract(epoch from '2026-07-18 14:22:49'::timestamp) - extract(epoch from '2026-07-18 14:22:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456574 -3.407757)'), GeomFromEWKT('SRID=4674;POINT (-38.456603 -3.407788)'))) / (select extract(epoch from '2026-07-18 14:22:49'::timestamp) - extract(epoch from '2026-07-18 14:22:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.456613 -3.407801)', '2026-07-18 14:22:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456603 -3.407788)'), GeomFromEWKT('SRID=4674;POINT (-38.456613 -3.407801)'))) / (select extract(epoch from '2026-07-18 14:22:50'::timestamp) - extract(epoch from '2026-07-18 14:22:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456603 -3.407788)'), GeomFromEWKT('SRID=4674;POINT (-38.456613 -3.407801)'))) / (select extract(epoch from '2026-07-18 14:22:50'::timestamp) - extract(epoch from '2026-07-18 14:22:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.456638 -3.407843)', '2026-07-18 14:22:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456613 -3.407801)'), GeomFromEWKT('SRID=4674;POINT (-38.456638 -3.407843)'))) / (select extract(epoch from '2026-07-18 14:22:53'::timestamp) - extract(epoch from '2026-07-18 14:22:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456613 -3.407801)'), GeomFromEWKT('SRID=4674;POINT (-38.456638 -3.407843)'))) / (select extract(epoch from '2026-07-18 14:22:53'::timestamp) - extract(epoch from '2026-07-18 14:22: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'), 47391, 'SRID=4674;POINT (-38.456686 -3.407944)', '2026-07-18 14:22:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456638 -3.407843)'), GeomFromEWKT('SRID=4674;POINT (-38.456686 -3.407944)'))) / (select extract(epoch from '2026-07-18 14:22:59'::timestamp) - extract(epoch from '2026-07-18 14:22:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456638 -3.407843)'), GeomFromEWKT('SRID=4674;POINT (-38.456686 -3.407944)'))) / (select extract(epoch from '2026-07-18 14:22:59'::timestamp) - extract(epoch from '2026-07-18 14:22:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.456741 -3.408062)', '2026-07-18 14:23:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456686 -3.407944)'), GeomFromEWKT('SRID=4674;POINT (-38.456741 -3.408062)'))) / (select extract(epoch from '2026-07-18 14:23:06'::timestamp) - extract(epoch from '2026-07-18 14:22:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456686 -3.407944)'), GeomFromEWKT('SRID=4674;POINT (-38.456741 -3.408062)'))) / (select extract(epoch from '2026-07-18 14:23:06'::timestamp) - extract(epoch from '2026-07-18 14:22:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.45679 -3.40814)', '2026-07-18 14:23:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456741 -3.408062)'), GeomFromEWKT('SRID=4674;POINT (-38.45679 -3.40814)'))) / (select extract(epoch from '2026-07-18 14:23:11'::timestamp) - extract(epoch from '2026-07-18 14:23:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456741 -3.408062)'), GeomFromEWKT('SRID=4674;POINT (-38.45679 -3.40814)'))) / (select extract(epoch from '2026-07-18 14:23:11'::timestamp) - extract(epoch from '2026-07-18 14:23:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.456819 -3.408223)', '2026-07-18 14:23:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.45679 -3.40814)'), GeomFromEWKT('SRID=4674;POINT (-38.456819 -3.408223)'))) / (select extract(epoch from '2026-07-18 14:23:16'::timestamp) - extract(epoch from '2026-07-18 14:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.45679 -3.40814)'), GeomFromEWKT('SRID=4674;POINT (-38.456819 -3.408223)'))) / (select extract(epoch from '2026-07-18 14:23:16'::timestamp) - extract(epoch from '2026-07-18 14:23: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'), 47391, 'SRID=4674;POINT (-38.45685 -3.40828)', '2026-07-18 14:23:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456819 -3.408223)'), GeomFromEWKT('SRID=4674;POINT (-38.45685 -3.40828)'))) / (select extract(epoch from '2026-07-18 14:23:20'::timestamp) - extract(epoch from '2026-07-18 14:23:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456819 -3.408223)'), GeomFromEWKT('SRID=4674;POINT (-38.45685 -3.40828)'))) / (select extract(epoch from '2026-07-18 14:23:20'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.456858 -3.408314)', '2026-07-18 14:23:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.45685 -3.40828)'), GeomFromEWKT('SRID=4674;POINT (-38.456858 -3.408314)'))) / (select extract(epoch from '2026-07-18 14:23:22'::timestamp) - extract(epoch from '2026-07-18 14:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.45685 -3.40828)'), GeomFromEWKT('SRID=4674;POINT (-38.456858 -3.408314)'))) / (select extract(epoch from '2026-07-18 14:23:22'::timestamp) - extract(epoch from '2026-07-18 14:23:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.456893 -3.408381)', '2026-07-18 14:23:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456858 -3.408314)'), GeomFromEWKT('SRID=4674;POINT (-38.456893 -3.408381)'))) / (select extract(epoch from '2026-07-18 14:23:26'::timestamp) - extract(epoch from '2026-07-18 14:23:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456858 -3.408314)'), GeomFromEWKT('SRID=4674;POINT (-38.456893 -3.408381)'))) / (select extract(epoch from '2026-07-18 14:23:26'::timestamp) - extract(epoch from '2026-07-18 14:23: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'), 47391, 'SRID=4674;POINT (-38.456899 -3.408397)', '2026-07-18 14:23:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456893 -3.408381)'), GeomFromEWKT('SRID=4674;POINT (-38.456899 -3.408397)'))) / (select extract(epoch from '2026-07-18 14:23:27'::timestamp) - extract(epoch from '2026-07-18 14:23:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456893 -3.408381)'), GeomFromEWKT('SRID=4674;POINT (-38.456899 -3.408397)'))) / (select extract(epoch from '2026-07-18 14:23:27'::timestamp) - extract(epoch from '2026-07-18 14:23: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'), 47391, 'SRID=4674;POINT (-38.45694 -3.408498)', '2026-07-18 14:23:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456899 -3.408397)'), GeomFromEWKT('SRID=4674;POINT (-38.45694 -3.408498)'))) / (select extract(epoch from '2026-07-18 14:23:33'::timestamp) - extract(epoch from '2026-07-18 14:23:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456899 -3.408397)'), GeomFromEWKT('SRID=4674;POINT (-38.45694 -3.408498)'))) / (select extract(epoch from '2026-07-18 14:23:33'::timestamp) - extract(epoch from '2026-07-18 14:23:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.456977 -3.40857)', '2026-07-18 14:23:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.45694 -3.408498)'), GeomFromEWKT('SRID=4674;POINT (-38.456977 -3.40857)'))) / (select extract(epoch from '2026-07-18 14:23:37'::timestamp) - extract(epoch from '2026-07-18 14:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.45694 -3.408498)'), GeomFromEWKT('SRID=4674;POINT (-38.456977 -3.40857)'))) / (select extract(epoch from '2026-07-18 14:23:37'::timestamp) - extract(epoch from '2026-07-18 14:23: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'), 47391, 'SRID=4674;POINT (-38.456991 -3.408602)', '2026-07-18 14:23:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456977 -3.40857)'), GeomFromEWKT('SRID=4674;POINT (-38.456991 -3.408602)'))) / (select extract(epoch from '2026-07-18 14:23:39'::timestamp) - extract(epoch from '2026-07-18 14:23:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456977 -3.40857)'), GeomFromEWKT('SRID=4674;POINT (-38.456991 -3.408602)'))) / (select extract(epoch from '2026-07-18 14:23:39'::timestamp) - extract(epoch from '2026-07-18 14:23:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.457009 -3.408659)', '2026-07-18 14:23:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456991 -3.408602)'), GeomFromEWKT('SRID=4674;POINT (-38.457009 -3.408659)'))) / (select extract(epoch from '2026-07-18 14:23:42'::timestamp) - extract(epoch from '2026-07-18 14:23:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.456991 -3.408602)'), GeomFromEWKT('SRID=4674;POINT (-38.457009 -3.408659)'))) / (select extract(epoch from '2026-07-18 14:23:42'::timestamp) - extract(epoch from '2026-07-18 14:23: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'), 47391, 'SRID=4674;POINT (-38.457062 -3.408818)', '2026-07-18 14:23:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457009 -3.408659)'), GeomFromEWKT('SRID=4674;POINT (-38.457062 -3.408818)'))) / (select extract(epoch from '2026-07-18 14:23:50'::timestamp) - extract(epoch from '2026-07-18 14:23:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457009 -3.408659)'), GeomFromEWKT('SRID=4674;POINT (-38.457062 -3.408818)'))) / (select extract(epoch from '2026-07-18 14:23:50'::timestamp) - extract(epoch from '2026-07-18 14:23: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'), 47391, 'SRID=4674;POINT (-38.457111 -3.408938)', '2026-07-18 14:23:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457062 -3.408818)'), GeomFromEWKT('SRID=4674;POINT (-38.457111 -3.408938)'))) / (select extract(epoch from '2026-07-18 14:23:56'::timestamp) - extract(epoch from '2026-07-18 14:23:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457062 -3.408818)'), GeomFromEWKT('SRID=4674;POINT (-38.457111 -3.408938)'))) / (select extract(epoch from '2026-07-18 14:23:56'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.457117 -3.408958)', '2026-07-18 14:23:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457111 -3.408938)'), GeomFromEWKT('SRID=4674;POINT (-38.457117 -3.408958)'))) / (select extract(epoch from '2026-07-18 14:23:57'::timestamp) - extract(epoch from '2026-07-18 14:23:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457111 -3.408938)'), GeomFromEWKT('SRID=4674;POINT (-38.457117 -3.408958)'))) / (select extract(epoch from '2026-07-18 14:23:57'::timestamp) - extract(epoch from '2026-07-18 14:23: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'), 47391, 'SRID=4674;POINT (-38.457134 -3.409011)', '2026-07-18 14:24:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457117 -3.408958)'), GeomFromEWKT('SRID=4674;POINT (-38.457134 -3.409011)'))) / (select extract(epoch from '2026-07-18 14:24:00'::timestamp) - extract(epoch from '2026-07-18 14:23:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457117 -3.408958)'), GeomFromEWKT('SRID=4674;POINT (-38.457134 -3.409011)'))) / (select extract(epoch from '2026-07-18 14:24:00'::timestamp) - extract(epoch from '2026-07-18 14:23: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'), 47391, 'SRID=4674;POINT (-38.457167 -3.40912)', '2026-07-18 14:24:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457134 -3.409011)'), GeomFromEWKT('SRID=4674;POINT (-38.457167 -3.40912)'))) / (select extract(epoch from '2026-07-18 14:24:06'::timestamp) - extract(epoch from '2026-07-18 14:24:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457134 -3.409011)'), GeomFromEWKT('SRID=4674;POINT (-38.457167 -3.40912)'))) / (select extract(epoch from '2026-07-18 14:24:06'::timestamp) - extract(epoch from '2026-07-18 14:24:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.457215 -3.409233)', '2026-07-18 14:24:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457167 -3.40912)'), GeomFromEWKT('SRID=4674;POINT (-38.457215 -3.409233)'))) / (select extract(epoch from '2026-07-18 14:24:12'::timestamp) - extract(epoch from '2026-07-18 14:24:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457167 -3.40912)'), GeomFromEWKT('SRID=4674;POINT (-38.457215 -3.409233)'))) / (select extract(epoch from '2026-07-18 14:24:12'::timestamp) - extract(epoch from '2026-07-18 14:24: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'), 47391, 'SRID=4674;POINT (-38.457254 -3.409345)', '2026-07-18 14:24:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457215 -3.409233)'), GeomFromEWKT('SRID=4674;POINT (-38.457254 -3.409345)'))) / (select extract(epoch from '2026-07-18 14:24:18'::timestamp) - extract(epoch from '2026-07-18 14:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457215 -3.409233)'), GeomFromEWKT('SRID=4674;POINT (-38.457254 -3.409345)'))) / (select extract(epoch from '2026-07-18 14:24:18'::timestamp) - extract(epoch from '2026-07-18 14:24: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'), 47391, 'SRID=4674;POINT (-38.457279 -3.409408)', '2026-07-18 14:24:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457254 -3.409345)'), GeomFromEWKT('SRID=4674;POINT (-38.457279 -3.409408)'))) / (select extract(epoch from '2026-07-18 14:24:22'::timestamp) - extract(epoch from '2026-07-18 14:24:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457254 -3.409345)'), GeomFromEWKT('SRID=4674;POINT (-38.457279 -3.409408)'))) / (select extract(epoch from '2026-07-18 14:24:22'::timestamp) - extract(epoch from '2026-07-18 14:24: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'), 47391, 'SRID=4674;POINT (-38.457292 -3.409442)', '2026-07-18 14:24:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457279 -3.409408)'), GeomFromEWKT('SRID=4674;POINT (-38.457292 -3.409442)'))) / (select extract(epoch from '2026-07-18 14:24:24'::timestamp) - extract(epoch from '2026-07-18 14:24:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457279 -3.409408)'), GeomFromEWKT('SRID=4674;POINT (-38.457292 -3.409442)'))) / (select extract(epoch from '2026-07-18 14:24:24'::timestamp) - extract(epoch from '2026-07-18 14:24:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.457327 -3.409524)', '2026-07-18 14:24:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457292 -3.409442)'), GeomFromEWKT('SRID=4674;POINT (-38.457327 -3.409524)'))) / (select extract(epoch from '2026-07-18 14:24:29'::timestamp) - extract(epoch from '2026-07-18 14:24:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457292 -3.409442)'), GeomFromEWKT('SRID=4674;POINT (-38.457327 -3.409524)'))) / (select extract(epoch from '2026-07-18 14:24:29'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.457373 -3.409619)', '2026-07-18 14:24:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457327 -3.409524)'), GeomFromEWKT('SRID=4674;POINT (-38.457373 -3.409619)'))) / (select extract(epoch from '2026-07-18 14:24:35'::timestamp) - extract(epoch from '2026-07-18 14:24:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457327 -3.409524)'), GeomFromEWKT('SRID=4674;POINT (-38.457373 -3.409619)'))) / (select extract(epoch from '2026-07-18 14:24:35'::timestamp) - extract(epoch from '2026-07-18 14:24: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'), 47391, 'SRID=4674;POINT (-38.457384 -3.409638)', '2026-07-18 14:24:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457373 -3.409619)'), GeomFromEWKT('SRID=4674;POINT (-38.457384 -3.409638)'))) / (select extract(epoch from '2026-07-18 14:24:36'::timestamp) - extract(epoch from '2026-07-18 14:24:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457373 -3.409619)'), GeomFromEWKT('SRID=4674;POINT (-38.457384 -3.409638)'))) / (select extract(epoch from '2026-07-18 14:24:36'::timestamp) - extract(epoch from '2026-07-18 14:24:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.457411 -3.409656)', '2026-07-18 14:24:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457384 -3.409638)'), GeomFromEWKT('SRID=4674;POINT (-38.457411 -3.409656)'))) / (select extract(epoch from '2026-07-18 14:24:38'::timestamp) - extract(epoch from '2026-07-18 14:24:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457384 -3.409638)'), GeomFromEWKT('SRID=4674;POINT (-38.457411 -3.409656)'))) / (select extract(epoch from '2026-07-18 14:24:38'::timestamp) - extract(epoch from '2026-07-18 14:24:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.457423 -3.409667)', '2026-07-18 14:24:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457411 -3.409656)'), GeomFromEWKT('SRID=4674;POINT (-38.457423 -3.409667)'))) / (select extract(epoch from '2026-07-18 14:24:39'::timestamp) - extract(epoch from '2026-07-18 14:24:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457411 -3.409656)'), GeomFromEWKT('SRID=4674;POINT (-38.457423 -3.409667)'))) / (select extract(epoch from '2026-07-18 14:24:39'::timestamp) - extract(epoch from '2026-07-18 14:24: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'), 47391, 'SRID=4674;POINT (-38.457433 -3.409684)', '2026-07-18 14:24:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457423 -3.409667)'), GeomFromEWKT('SRID=4674;POINT (-38.457433 -3.409684)'))) / (select extract(epoch from '2026-07-18 14:24:40'::timestamp) - extract(epoch from '2026-07-18 14:24:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457423 -3.409667)'), GeomFromEWKT('SRID=4674;POINT (-38.457433 -3.409684)'))) / (select extract(epoch from '2026-07-18 14:24:40'::timestamp) - extract(epoch from '2026-07-18 14:24: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'), 47391, 'SRID=4674;POINT (-38.457458 -3.409764)', '2026-07-18 14:24:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457433 -3.409684)'), GeomFromEWKT('SRID=4674;POINT (-38.457458 -3.409764)'))) / (select extract(epoch from '2026-07-18 14:24:44'::timestamp) - extract(epoch from '2026-07-18 14:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457433 -3.409684)'), GeomFromEWKT('SRID=4674;POINT (-38.457458 -3.409764)'))) / (select extract(epoch from '2026-07-18 14:24:44'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.457471 -3.409807)', '2026-07-18 14:24:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457458 -3.409764)'), GeomFromEWKT('SRID=4674;POINT (-38.457471 -3.409807)'))) / (select extract(epoch from '2026-07-18 14:24:46'::timestamp) - extract(epoch from '2026-07-18 14:24:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457458 -3.409764)'), GeomFromEWKT('SRID=4674;POINT (-38.457471 -3.409807)'))) / (select extract(epoch from '2026-07-18 14:24:46'::timestamp) - extract(epoch from '2026-07-18 14:24:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.4575 -3.40986)', '2026-07-18 14:24:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457471 -3.409807)'), GeomFromEWKT('SRID=4674;POINT (-38.4575 -3.40986)'))) / (select extract(epoch from '2026-07-18 14:24:49'::timestamp) - extract(epoch from '2026-07-18 14:24:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457471 -3.409807)'), GeomFromEWKT('SRID=4674;POINT (-38.4575 -3.40986)'))) / (select extract(epoch from '2026-07-18 14:24:49'::timestamp) - extract(epoch from '2026-07-18 14:24: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'), 47391, 'SRID=4674;POINT (-38.457547 -3.409969)', '2026-07-18 14:24:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4575 -3.40986)'), GeomFromEWKT('SRID=4674;POINT (-38.457547 -3.409969)'))) / (select extract(epoch from '2026-07-18 14:24:56'::timestamp) - extract(epoch from '2026-07-18 14:24:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4575 -3.40986)'), GeomFromEWKT('SRID=4674;POINT (-38.457547 -3.409969)'))) / (select extract(epoch from '2026-07-18 14:24:56'::timestamp) - extract(epoch from '2026-07-18 14:24: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'), 47391, 'SRID=4674;POINT (-38.457579 -3.410054)', '2026-07-18 14:25:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457547 -3.409969)'), GeomFromEWKT('SRID=4674;POINT (-38.457579 -3.410054)'))) / (select extract(epoch from '2026-07-18 14:25:01'::timestamp) - extract(epoch from '2026-07-18 14:24:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457547 -3.409969)'), GeomFromEWKT('SRID=4674;POINT (-38.457579 -3.410054)'))) / (select extract(epoch from '2026-07-18 14:25:01'::timestamp) - extract(epoch from '2026-07-18 14:24: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'), 47391, 'SRID=4674;POINT (-38.457624 -3.410161)', '2026-07-18 14:25:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457579 -3.410054)'), GeomFromEWKT('SRID=4674;POINT (-38.457624 -3.410161)'))) / (select extract(epoch from '2026-07-18 14:25:07'::timestamp) - extract(epoch from '2026-07-18 14:25:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457579 -3.410054)'), GeomFromEWKT('SRID=4674;POINT (-38.457624 -3.410161)'))) / (select extract(epoch from '2026-07-18 14:25:07'::timestamp) - extract(epoch from '2026-07-18 14:25: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'), 47391, 'SRID=4674;POINT (-38.457664 -3.410275)', '2026-07-18 14:25:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457624 -3.410161)'), GeomFromEWKT('SRID=4674;POINT (-38.457664 -3.410275)'))) / (select extract(epoch from '2026-07-18 14:25:13'::timestamp) - extract(epoch from '2026-07-18 14:25:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457624 -3.410161)'), GeomFromEWKT('SRID=4674;POINT (-38.457664 -3.410275)'))) / (select extract(epoch from '2026-07-18 14:25:13'::timestamp) - extract(epoch from '2026-07-18 14:25: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'), 47391, 'SRID=4674;POINT (-38.457702 -3.410383)', '2026-07-18 14:25:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457664 -3.410275)'), GeomFromEWKT('SRID=4674;POINT (-38.457702 -3.410383)'))) / (select extract(epoch from '2026-07-18 14:25:18'::timestamp) - extract(epoch from '2026-07-18 14:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457664 -3.410275)'), GeomFromEWKT('SRID=4674;POINT (-38.457702 -3.410383)'))) / (select extract(epoch from '2026-07-18 14:25:18'::timestamp) - extract(epoch from '2026-07-18 14:25:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.457735 -3.410502)', '2026-07-18 14:25:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457702 -3.410383)'), GeomFromEWKT('SRID=4674;POINT (-38.457735 -3.410502)'))) / (select extract(epoch from '2026-07-18 14:25:24'::timestamp) - extract(epoch from '2026-07-18 14:25:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457702 -3.410383)'), GeomFromEWKT('SRID=4674;POINT (-38.457735 -3.410502)'))) / (select extract(epoch from '2026-07-18 14:25:24'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.457763 -3.410595)', '2026-07-18 14:25:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457735 -3.410502)'), GeomFromEWKT('SRID=4674;POINT (-38.457763 -3.410595)'))) / (select extract(epoch from '2026-07-18 14:25:29'::timestamp) - extract(epoch from '2026-07-18 14:25:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457735 -3.410502)'), GeomFromEWKT('SRID=4674;POINT (-38.457763 -3.410595)'))) / (select extract(epoch from '2026-07-18 14:25:29'::timestamp) - extract(epoch from '2026-07-18 14:25:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.457773 -3.410631)', '2026-07-18 14:25:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457763 -3.410595)'), GeomFromEWKT('SRID=4674;POINT (-38.457773 -3.410631)'))) / (select extract(epoch from '2026-07-18 14:25:31'::timestamp) - extract(epoch from '2026-07-18 14:25:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457763 -3.410595)'), GeomFromEWKT('SRID=4674;POINT (-38.457773 -3.410631)'))) / (select extract(epoch from '2026-07-18 14:25:31'::timestamp) - extract(epoch from '2026-07-18 14:25: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'), 47391, 'SRID=4674;POINT (-38.457787 -3.410685)', '2026-07-18 14:25:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457773 -3.410631)'), GeomFromEWKT('SRID=4674;POINT (-38.457787 -3.410685)'))) / (select extract(epoch from '2026-07-18 14:25:34'::timestamp) - extract(epoch from '2026-07-18 14:25:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457773 -3.410631)'), GeomFromEWKT('SRID=4674;POINT (-38.457787 -3.410685)'))) / (select extract(epoch from '2026-07-18 14:25:34'::timestamp) - extract(epoch from '2026-07-18 14:25: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'), 47391, 'SRID=4674;POINT (-38.457815 -3.410734)', '2026-07-18 14:25:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457787 -3.410685)'), GeomFromEWKT('SRID=4674;POINT (-38.457815 -3.410734)'))) / (select extract(epoch from '2026-07-18 14:25:37'::timestamp) - extract(epoch from '2026-07-18 14:25:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457787 -3.410685)'), GeomFromEWKT('SRID=4674;POINT (-38.457815 -3.410734)'))) / (select extract(epoch from '2026-07-18 14:25:37'::timestamp) - extract(epoch from '2026-07-18 14:25:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.457818 -3.41075)', '2026-07-18 14:25:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457815 -3.410734)'), GeomFromEWKT('SRID=4674;POINT (-38.457818 -3.41075)'))) / (select extract(epoch from '2026-07-18 14:25:38'::timestamp) - extract(epoch from '2026-07-18 14:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457815 -3.410734)'), GeomFromEWKT('SRID=4674;POINT (-38.457818 -3.41075)'))) / (select extract(epoch from '2026-07-18 14:25:38'::timestamp) - extract(epoch from '2026-07-18 14:25:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.457823 -3.410768)', '2026-07-18 14:25:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457818 -3.41075)'), GeomFromEWKT('SRID=4674;POINT (-38.457823 -3.410768)'))) / (select extract(epoch from '2026-07-18 14:25:39'::timestamp) - extract(epoch from '2026-07-18 14:25:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457818 -3.41075)'), GeomFromEWKT('SRID=4674;POINT (-38.457823 -3.410768)'))) / (select extract(epoch from '2026-07-18 14:25:39'::timestamp) - extract(epoch from '2026-07-18 14:25:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.457839 -3.410822)', '2026-07-18 14:25:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457823 -3.410768)'), GeomFromEWKT('SRID=4674;POINT (-38.457839 -3.410822)'))) / (select extract(epoch from '2026-07-18 14:25:42'::timestamp) - extract(epoch from '2026-07-18 14:25:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457823 -3.410768)'), GeomFromEWKT('SRID=4674;POINT (-38.457839 -3.410822)'))) / (select extract(epoch from '2026-07-18 14:25:42'::timestamp) - extract(epoch from '2026-07-18 14:25: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'), 47391, 'SRID=4674;POINT (-38.457869 -3.410889)', '2026-07-18 14:25:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457839 -3.410822)'), GeomFromEWKT('SRID=4674;POINT (-38.457869 -3.410889)'))) / (select extract(epoch from '2026-07-18 14:25:46'::timestamp) - extract(epoch from '2026-07-18 14:25:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457839 -3.410822)'), GeomFromEWKT('SRID=4674;POINT (-38.457869 -3.410889)'))) / (select extract(epoch from '2026-07-18 14:25:46'::timestamp) - extract(epoch from '2026-07-18 14:25:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.457897 -3.410961)', '2026-07-18 14:25:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457869 -3.410889)'), GeomFromEWKT('SRID=4674;POINT (-38.457897 -3.410961)'))) / (select extract(epoch from '2026-07-18 14:25:50'::timestamp) - extract(epoch from '2026-07-18 14:25:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457869 -3.410889)'), GeomFromEWKT('SRID=4674;POINT (-38.457897 -3.410961)'))) / (select extract(epoch from '2026-07-18 14:25:50'::timestamp) - extract(epoch from '2026-07-18 14:25:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.457904 -3.410973)', '2026-07-18 14:25:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457897 -3.410961)'), GeomFromEWKT('SRID=4674;POINT (-38.457904 -3.410973)'))) / (select extract(epoch from '2026-07-18 14:25:51'::timestamp) - extract(epoch from '2026-07-18 14:25:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457897 -3.410961)'), GeomFromEWKT('SRID=4674;POINT (-38.457904 -3.410973)'))) / (select extract(epoch from '2026-07-18 14:25:51'::timestamp) - extract(epoch from '2026-07-18 14:25:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.457921 -3.411022)', '2026-07-18 14:25:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457904 -3.410973)'), GeomFromEWKT('SRID=4674;POINT (-38.457921 -3.411022)'))) / (select extract(epoch from '2026-07-18 14:25:54'::timestamp) - extract(epoch from '2026-07-18 14:25:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457904 -3.410973)'), GeomFromEWKT('SRID=4674;POINT (-38.457921 -3.411022)'))) / (select extract(epoch from '2026-07-18 14:25:54'::timestamp) - extract(epoch from '2026-07-18 14:25:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.457972 -3.411126)', '2026-07-18 14:26:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457921 -3.411022)'), GeomFromEWKT('SRID=4674;POINT (-38.457972 -3.411126)'))) / (select extract(epoch from '2026-07-18 14:26:00'::timestamp) - extract(epoch from '2026-07-18 14:25:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457921 -3.411022)'), GeomFromEWKT('SRID=4674;POINT (-38.457972 -3.411126)'))) / (select extract(epoch from '2026-07-18 14:26:00'::timestamp) - extract(epoch from '2026-07-18 14:25: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'), 47391, 'SRID=4674;POINT (-38.458014 -3.411215)', '2026-07-18 14:26:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457972 -3.411126)'), GeomFromEWKT('SRID=4674;POINT (-38.458014 -3.411215)'))) / (select extract(epoch from '2026-07-18 14:26:05'::timestamp) - extract(epoch from '2026-07-18 14:26:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.457972 -3.411126)'), GeomFromEWKT('SRID=4674;POINT (-38.458014 -3.411215)'))) / (select extract(epoch from '2026-07-18 14:26:05'::timestamp) - extract(epoch from '2026-07-18 14:26: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'), 47391, 'SRID=4674;POINT (-38.45802 -3.411232)', '2026-07-18 14:26:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.458014 -3.411215)'), GeomFromEWKT('SRID=4674;POINT (-38.45802 -3.411232)'))) / (select extract(epoch from '2026-07-18 14:26:06'::timestamp) - extract(epoch from '2026-07-18 14:26:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.458014 -3.411215)'), GeomFromEWKT('SRID=4674;POINT (-38.45802 -3.411232)'))) / (select extract(epoch from '2026-07-18 14:26:06'::timestamp) - extract(epoch from '2026-07-18 14:26: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'), 47391, 'SRID=4674;POINT (-38.458037 -3.411284)', '2026-07-18 14:26:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.45802 -3.411232)'), GeomFromEWKT('SRID=4674;POINT (-38.458037 -3.411284)'))) / (select extract(epoch from '2026-07-18 14:26:09'::timestamp) - extract(epoch from '2026-07-18 14:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.45802 -3.411232)'), GeomFromEWKT('SRID=4674;POINT (-38.458037 -3.411284)'))) / (select extract(epoch from '2026-07-18 14:26:09'::timestamp) - extract(epoch from '2026-07-18 14:26:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.458071 -3.411358)', '2026-07-18 14:26:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.458037 -3.411284)'), GeomFromEWKT('SRID=4674;POINT (-38.458071 -3.411358)'))) / (select extract(epoch from '2026-07-18 14:26:14'::timestamp) - extract(epoch from '2026-07-18 14:26:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.458037 -3.411284)'), GeomFromEWKT('SRID=4674;POINT (-38.458071 -3.411358)'))) / (select extract(epoch from '2026-07-18 14:26:14'::timestamp) - extract(epoch from '2026-07-18 14:26: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'), 47391, 'SRID=4674;POINT (-38.458082 -3.411396)', '2026-07-18 14:26:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.458071 -3.411358)'), GeomFromEWKT('SRID=4674;POINT (-38.458082 -3.411396)'))) / (select extract(epoch from '2026-07-18 14:26:17'::timestamp) - extract(epoch from '2026-07-18 14:26:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.458071 -3.411358)'), GeomFromEWKT('SRID=4674;POINT (-38.458082 -3.411396)'))) / (select extract(epoch from '2026-07-18 14:26:17'::timestamp) - extract(epoch from '2026-07-18 14:26: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'), 47391, 'SRID=4674;POINT (-38.458092 -3.411403)', '2026-07-18 14:26:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.458082 -3.411396)'), GeomFromEWKT('SRID=4674;POINT (-38.458092 -3.411403)'))) / (select extract(epoch from '2026-07-18 14:26:18'::timestamp) - extract(epoch from '2026-07-18 14:26:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.458082 -3.411396)'), GeomFromEWKT('SRID=4674;POINT (-38.458092 -3.411403)'))) / (select extract(epoch from '2026-07-18 14:26:18'::timestamp) - extract(epoch from '2026-07-18 14:26:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.458103 -3.411409)', '2026-07-18 14:26:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.458092 -3.411403)'), GeomFromEWKT('SRID=4674;POINT (-38.458103 -3.411409)'))) / (select extract(epoch from '2026-07-18 14:26:19'::timestamp) - extract(epoch from '2026-07-18 14:26:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.458092 -3.411403)'), GeomFromEWKT('SRID=4674;POINT (-38.458103 -3.411409)'))) / (select extract(epoch from '2026-07-18 14:26:19'::timestamp) - extract(epoch from '2026-07-18 14:26: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'), 47391, 'SRID=4674;POINT (-38.458129 -3.411466)', '2026-07-18 14:26:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.458103 -3.411409)'), GeomFromEWKT('SRID=4674;POINT (-38.458129 -3.411466)'))) / (select extract(epoch from '2026-07-18 14:26:23'::timestamp) - extract(epoch from '2026-07-18 14:26:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.458103 -3.411409)'), GeomFromEWKT('SRID=4674;POINT (-38.458129 -3.411466)'))) / (select extract(epoch from '2026-07-18 14:26:23'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.458186 -3.411541)', '2026-07-18 14:26:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.458129 -3.411466)'), GeomFromEWKT('SRID=4674;POINT (-38.458186 -3.411541)'))) / (select extract(epoch from '2026-07-18 14:26:28'::timestamp) - extract(epoch from '2026-07-18 14:26:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.458129 -3.411466)'), GeomFromEWKT('SRID=4674;POINT (-38.458186 -3.411541)'))) / (select extract(epoch from '2026-07-18 14:26:28'::timestamp) - extract(epoch from '2026-07-18 14:26: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'), 47391, 'SRID=4674;POINT (-38.458242 -3.411615)', '2026-07-18 14:26:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.458186 -3.411541)'), GeomFromEWKT('SRID=4674;POINT (-38.458242 -3.411615)'))) / (select extract(epoch from '2026-07-18 14:26:33'::timestamp) - extract(epoch from '2026-07-18 14:26:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.458186 -3.411541)'), GeomFromEWKT('SRID=4674;POINT (-38.458242 -3.411615)'))) / (select extract(epoch from '2026-07-18 14:26:33'::timestamp) - extract(epoch from '2026-07-18 14:26:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.458283 -3.411697)', '2026-07-18 14:26:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.458242 -3.411615)'), GeomFromEWKT('SRID=4674;POINT (-38.458283 -3.411697)'))) / (select extract(epoch from '2026-07-18 14:26:39'::timestamp) - extract(epoch from '2026-07-18 14:26:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.458242 -3.411615)'), GeomFromEWKT('SRID=4674;POINT (-38.458283 -3.411697)'))) / (select extract(epoch from '2026-07-18 14:26:39'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.458339 -3.411782)', '2026-07-18 14:26:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.458283 -3.411697)'), GeomFromEWKT('SRID=4674;POINT (-38.458339 -3.411782)'))) / (select extract(epoch from '2026-07-18 14:26:45'::timestamp) - extract(epoch from '2026-07-18 14:26:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.458283 -3.411697)'), GeomFromEWKT('SRID=4674;POINT (-38.458339 -3.411782)'))) / (select extract(epoch from '2026-07-18 14:26:45'::timestamp) - extract(epoch from '2026-07-18 14:26: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'), 47391, 'SRID=4674;POINT (-38.458387 -3.411847)', '2026-07-18 14:26:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.458339 -3.411782)'), GeomFromEWKT('SRID=4674;POINT (-38.458387 -3.411847)'))) / (select extract(epoch from '2026-07-18 14:26:49'::timestamp) - extract(epoch from '2026-07-18 14:26:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.458339 -3.411782)'), GeomFromEWKT('SRID=4674;POINT (-38.458387 -3.411847)'))) / (select extract(epoch from '2026-07-18 14:26:49'::timestamp) - extract(epoch from '2026-07-18 14:26: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'), 47391, 'SRID=4674;POINT (-38.458453 -3.41194)', '2026-07-18 14:26:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.458387 -3.411847)'), GeomFromEWKT('SRID=4674;POINT (-38.458453 -3.41194)'))) / (select extract(epoch from '2026-07-18 14:26:56'::timestamp) - extract(epoch from '2026-07-18 14:26:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.458387 -3.411847)'), GeomFromEWKT('SRID=4674;POINT (-38.458453 -3.41194)'))) / (select extract(epoch from '2026-07-18 14:26:56'::timestamp) - extract(epoch from '2026-07-18 14:26:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.458501 -3.412022)', '2026-07-18 14:27:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.458453 -3.41194)'), GeomFromEWKT('SRID=4674;POINT (-38.458501 -3.412022)'))) / (select extract(epoch from '2026-07-18 14:27:01'::timestamp) - extract(epoch from '2026-07-18 14:26:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.458453 -3.41194)'), GeomFromEWKT('SRID=4674;POINT (-38.458501 -3.412022)'))) / (select extract(epoch from '2026-07-18 14:27:01'::timestamp) - extract(epoch from '2026-07-18 14:26: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'), 47391, 'SRID=4674;POINT (-38.45856 -3.412117)', '2026-07-18 14:27:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.458501 -3.412022)'), GeomFromEWKT('SRID=4674;POINT (-38.45856 -3.412117)'))) / (select extract(epoch from '2026-07-18 14:27:07'::timestamp) - extract(epoch from '2026-07-18 14:27:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.458501 -3.412022)'), GeomFromEWKT('SRID=4674;POINT (-38.45856 -3.412117)'))) / (select extract(epoch from '2026-07-18 14:27:07'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.458612 -3.4122)', '2026-07-18 14:27:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.45856 -3.412117)'), GeomFromEWKT('SRID=4674;POINT (-38.458612 -3.4122)'))) / (select extract(epoch from '2026-07-18 14:27:13'::timestamp) - extract(epoch from '2026-07-18 14:27:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.45856 -3.412117)'), GeomFromEWKT('SRID=4674;POINT (-38.458612 -3.4122)'))) / (select extract(epoch from '2026-07-18 14:27:13'::timestamp) - extract(epoch from '2026-07-18 14:27:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.458681 -3.412331)', '2026-07-18 14:27:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.458612 -3.4122)'), GeomFromEWKT('SRID=4674;POINT (-38.458681 -3.412331)'))) / (select extract(epoch from '2026-07-18 14:27:21'::timestamp) - extract(epoch from '2026-07-18 14:27:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.458612 -3.4122)'), GeomFromEWKT('SRID=4674;POINT (-38.458681 -3.412331)'))) / (select extract(epoch from '2026-07-18 14:27:21'::timestamp) - extract(epoch from '2026-07-18 14:27:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.458724 -3.412422)', '2026-07-18 14:27:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.458681 -3.412331)'), GeomFromEWKT('SRID=4674;POINT (-38.458724 -3.412422)'))) / (select extract(epoch from '2026-07-18 14:27:27'::timestamp) - extract(epoch from '2026-07-18 14:27:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.458681 -3.412331)'), GeomFromEWKT('SRID=4674;POINT (-38.458724 -3.412422)'))) / (select extract(epoch from '2026-07-18 14:27:27'::timestamp) - extract(epoch from '2026-07-18 14:27:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.458764 -3.412505)', '2026-07-18 14:27:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.458724 -3.412422)'), GeomFromEWKT('SRID=4674;POINT (-38.458764 -3.412505)'))) / (select extract(epoch from '2026-07-18 14:27:32'::timestamp) - extract(epoch from '2026-07-18 14:27:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.458724 -3.412422)'), GeomFromEWKT('SRID=4674;POINT (-38.458764 -3.412505)'))) / (select extract(epoch from '2026-07-18 14:27:32'::timestamp) - extract(epoch from '2026-07-18 14:27: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'), 47391, 'SRID=4674;POINT (-38.458812 -3.412595)', '2026-07-18 14:27:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.458764 -3.412505)'), GeomFromEWKT('SRID=4674;POINT (-38.458812 -3.412595)'))) / (select extract(epoch from '2026-07-18 14:27:38'::timestamp) - extract(epoch from '2026-07-18 14:27:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.458764 -3.412505)'), GeomFromEWKT('SRID=4674;POINT (-38.458812 -3.412595)'))) / (select extract(epoch from '2026-07-18 14:27:38'::timestamp) - extract(epoch from '2026-07-18 14:27:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.458857 -3.412669)', '2026-07-18 14:27:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.458812 -3.412595)'), GeomFromEWKT('SRID=4674;POINT (-38.458857 -3.412669)'))) / (select extract(epoch from '2026-07-18 14:27:43'::timestamp) - extract(epoch from '2026-07-18 14:27:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.458812 -3.412595)'), GeomFromEWKT('SRID=4674;POINT (-38.458857 -3.412669)'))) / (select extract(epoch from '2026-07-18 14:27:43'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.458911 -3.412761)', '2026-07-18 14:27:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.458857 -3.412669)'), GeomFromEWKT('SRID=4674;POINT (-38.458911 -3.412761)'))) / (select extract(epoch from '2026-07-18 14:27:49'::timestamp) - extract(epoch from '2026-07-18 14:27:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.458857 -3.412669)'), GeomFromEWKT('SRID=4674;POINT (-38.458911 -3.412761)'))) / (select extract(epoch from '2026-07-18 14:27:49'::timestamp) - extract(epoch from '2026-07-18 14:27:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.458947 -3.412827)', '2026-07-18 14:27:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.458911 -3.412761)'), GeomFromEWKT('SRID=4674;POINT (-38.458947 -3.412827)'))) / (select extract(epoch from '2026-07-18 14:27:54'::timestamp) - extract(epoch from '2026-07-18 14:27:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.458911 -3.412761)'), GeomFromEWKT('SRID=4674;POINT (-38.458947 -3.412827)'))) / (select extract(epoch from '2026-07-18 14:27:54'::timestamp) - extract(epoch from '2026-07-18 14:27:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.458965 -3.412856)', '2026-07-18 14:27:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.458947 -3.412827)'), GeomFromEWKT('SRID=4674;POINT (-38.458965 -3.412856)'))) / (select extract(epoch from '2026-07-18 14:27:56'::timestamp) - extract(epoch from '2026-07-18 14:27:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.458947 -3.412827)'), GeomFromEWKT('SRID=4674;POINT (-38.458965 -3.412856)'))) / (select extract(epoch from '2026-07-18 14:27:56'::timestamp) - extract(epoch from '2026-07-18 14:27: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'), 47391, 'SRID=4674;POINT (-38.45899 -3.412883)', '2026-07-18 14:27:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.458965 -3.412856)'), GeomFromEWKT('SRID=4674;POINT (-38.45899 -3.412883)'))) / (select extract(epoch from '2026-07-18 14:27:58'::timestamp) - extract(epoch from '2026-07-18 14:27:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.458965 -3.412856)'), GeomFromEWKT('SRID=4674;POINT (-38.45899 -3.412883)'))) / (select extract(epoch from '2026-07-18 14:27:58'::timestamp) - extract(epoch from '2026-07-18 14:27:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.459032 -3.412957)', '2026-07-18 14:28:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.45899 -3.412883)'), GeomFromEWKT('SRID=4674;POINT (-38.459032 -3.412957)'))) / (select extract(epoch from '2026-07-18 14:28:03'::timestamp) - extract(epoch from '2026-07-18 14:27:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.45899 -3.412883)'), GeomFromEWKT('SRID=4674;POINT (-38.459032 -3.412957)'))) / (select extract(epoch from '2026-07-18 14:28:03'::timestamp) - extract(epoch from '2026-07-18 14:27: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'), 47391, 'SRID=4674;POINT (-38.459054 -3.412995)', '2026-07-18 14:28:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459032 -3.412957)'), GeomFromEWKT('SRID=4674;POINT (-38.459054 -3.412995)'))) / (select extract(epoch from '2026-07-18 14:28:06'::timestamp) - extract(epoch from '2026-07-18 14:28:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459032 -3.412957)'), GeomFromEWKT('SRID=4674;POINT (-38.459054 -3.412995)'))) / (select extract(epoch from '2026-07-18 14:28:06'::timestamp) - extract(epoch from '2026-07-18 14:28: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'), 47391, 'SRID=4674;POINT (-38.459061 -3.413013)', '2026-07-18 14:28:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459054 -3.412995)'), GeomFromEWKT('SRID=4674;POINT (-38.459061 -3.413013)'))) / (select extract(epoch from '2026-07-18 14:28:07'::timestamp) - extract(epoch from '2026-07-18 14:28:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459054 -3.412995)'), GeomFromEWKT('SRID=4674;POINT (-38.459061 -3.413013)'))) / (select extract(epoch from '2026-07-18 14:28:07'::timestamp) - extract(epoch from '2026-07-18 14:28: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'), 47391, 'SRID=4674;POINT (-38.459112 -3.413099)', '2026-07-18 14:28:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459061 -3.413013)'), GeomFromEWKT('SRID=4674;POINT (-38.459112 -3.413099)'))) / (select extract(epoch from '2026-07-18 14:28:13'::timestamp) - extract(epoch from '2026-07-18 14:28:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459061 -3.413013)'), GeomFromEWKT('SRID=4674;POINT (-38.459112 -3.413099)'))) / (select extract(epoch from '2026-07-18 14:28:13'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.45913 -3.413114)', '2026-07-18 14:28:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459112 -3.413099)'), GeomFromEWKT('SRID=4674;POINT (-38.45913 -3.413114)'))) / (select extract(epoch from '2026-07-18 14:28:15'::timestamp) - extract(epoch from '2026-07-18 14:28:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459112 -3.413099)'), GeomFromEWKT('SRID=4674;POINT (-38.45913 -3.413114)'))) / (select extract(epoch from '2026-07-18 14:28:15'::timestamp) - extract(epoch from '2026-07-18 14:28:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.45916 -3.413164)', '2026-07-18 14:28:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.45913 -3.413114)'), GeomFromEWKT('SRID=4674;POINT (-38.45916 -3.413164)'))) / (select extract(epoch from '2026-07-18 14:28:18'::timestamp) - extract(epoch from '2026-07-18 14:28:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.45913 -3.413114)'), GeomFromEWKT('SRID=4674;POINT (-38.45916 -3.413164)'))) / (select extract(epoch from '2026-07-18 14:28:18'::timestamp) - extract(epoch from '2026-07-18 14:28:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.459204 -3.413232)', '2026-07-18 14:28:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.45916 -3.413164)'), GeomFromEWKT('SRID=4674;POINT (-38.459204 -3.413232)'))) / (select extract(epoch from '2026-07-18 14:28:23'::timestamp) - extract(epoch from '2026-07-18 14:28:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.45916 -3.413164)'), GeomFromEWKT('SRID=4674;POINT (-38.459204 -3.413232)'))) / (select extract(epoch from '2026-07-18 14:28:23'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.459238 -3.413287)', '2026-07-18 14:28:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459204 -3.413232)'), GeomFromEWKT('SRID=4674;POINT (-38.459238 -3.413287)'))) / (select extract(epoch from '2026-07-18 14:28:27'::timestamp) - extract(epoch from '2026-07-18 14:28:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459204 -3.413232)'), GeomFromEWKT('SRID=4674;POINT (-38.459238 -3.413287)'))) / (select extract(epoch from '2026-07-18 14:28:27'::timestamp) - extract(epoch from '2026-07-18 14:28: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'), 47391, 'SRID=4674;POINT (-38.459257 -3.413314)', '2026-07-18 14:28:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459238 -3.413287)'), GeomFromEWKT('SRID=4674;POINT (-38.459257 -3.413314)'))) / (select extract(epoch from '2026-07-18 14:28:29'::timestamp) - extract(epoch from '2026-07-18 14:28:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459238 -3.413287)'), GeomFromEWKT('SRID=4674;POINT (-38.459257 -3.413314)'))) / (select extract(epoch from '2026-07-18 14:28:29'::timestamp) - extract(epoch from '2026-07-18 14:28: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'), 47391, 'SRID=4674;POINT (-38.459285 -3.413356)', '2026-07-18 14:28:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459257 -3.413314)'), GeomFromEWKT('SRID=4674;POINT (-38.459285 -3.413356)'))) / (select extract(epoch from '2026-07-18 14:28:32'::timestamp) - extract(epoch from '2026-07-18 14:28:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459257 -3.413314)'), GeomFromEWKT('SRID=4674;POINT (-38.459285 -3.413356)'))) / (select extract(epoch from '2026-07-18 14:28:32'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.459304 -3.413381)', '2026-07-18 14:28:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459285 -3.413356)'), GeomFromEWKT('SRID=4674;POINT (-38.459304 -3.413381)'))) / (select extract(epoch from '2026-07-18 14:28:34'::timestamp) - extract(epoch from '2026-07-18 14:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459285 -3.413356)'), GeomFromEWKT('SRID=4674;POINT (-38.459304 -3.413381)'))) / (select extract(epoch from '2026-07-18 14:28:34'::timestamp) - extract(epoch from '2026-07-18 14:28:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.459365 -3.413471)', '2026-07-18 14:28:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459304 -3.413381)'), GeomFromEWKT('SRID=4674;POINT (-38.459365 -3.413471)'))) / (select extract(epoch from '2026-07-18 14:28:40'::timestamp) - extract(epoch from '2026-07-18 14:28:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459304 -3.413381)'), GeomFromEWKT('SRID=4674;POINT (-38.459365 -3.413471)'))) / (select extract(epoch from '2026-07-18 14:28:40'::timestamp) - extract(epoch from '2026-07-18 14:28: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'), 47391, 'SRID=4674;POINT (-38.459406 -3.413508)', '2026-07-18 14:28:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459365 -3.413471)'), GeomFromEWKT('SRID=4674;POINT (-38.459406 -3.413508)'))) / (select extract(epoch from '2026-07-18 14:28:43'::timestamp) - extract(epoch from '2026-07-18 14:28:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459365 -3.413471)'), GeomFromEWKT('SRID=4674;POINT (-38.459406 -3.413508)'))) / (select extract(epoch from '2026-07-18 14:28:43'::timestamp) - extract(epoch from '2026-07-18 14:28: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'), 47391, 'SRID=4674;POINT (-38.459426 -3.413526)', '2026-07-18 14:28:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459406 -3.413508)'), GeomFromEWKT('SRID=4674;POINT (-38.459426 -3.413526)'))) / (select extract(epoch from '2026-07-18 14:28:45'::timestamp) - extract(epoch from '2026-07-18 14:28:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459406 -3.413508)'), GeomFromEWKT('SRID=4674;POINT (-38.459426 -3.413526)'))) / (select extract(epoch from '2026-07-18 14:28:45'::timestamp) - extract(epoch from '2026-07-18 14:28: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'), 47391, 'SRID=4674;POINT (-38.459488 -3.413613)', '2026-07-18 14:28:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459426 -3.413526)'), GeomFromEWKT('SRID=4674;POINT (-38.459488 -3.413613)'))) / (select extract(epoch from '2026-07-18 14:28:51'::timestamp) - extract(epoch from '2026-07-18 14:28:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459426 -3.413526)'), GeomFromEWKT('SRID=4674;POINT (-38.459488 -3.413613)'))) / (select extract(epoch from '2026-07-18 14:28:51'::timestamp) - extract(epoch from '2026-07-18 14:28: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'), 47391, 'SRID=4674;POINT (-38.459527 -3.413682)', '2026-07-18 14:28:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459488 -3.413613)'), GeomFromEWKT('SRID=4674;POINT (-38.459527 -3.413682)'))) / (select extract(epoch from '2026-07-18 14:28:56'::timestamp) - extract(epoch from '2026-07-18 14:28:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459488 -3.413613)'), GeomFromEWKT('SRID=4674;POINT (-38.459527 -3.413682)'))) / (select extract(epoch from '2026-07-18 14:28:56'::timestamp) - extract(epoch from '2026-07-18 14:28: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'), 47391, 'SRID=4674;POINT (-38.459549 -3.413706)', '2026-07-18 14:28:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459527 -3.413682)'), GeomFromEWKT('SRID=4674;POINT (-38.459549 -3.413706)'))) / (select extract(epoch from '2026-07-18 14:28:58'::timestamp) - extract(epoch from '2026-07-18 14:28:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459527 -3.413682)'), GeomFromEWKT('SRID=4674;POINT (-38.459549 -3.413706)'))) / (select extract(epoch from '2026-07-18 14:28:58'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.459579 -3.413741)', '2026-07-18 14:29:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459549 -3.413706)'), GeomFromEWKT('SRID=4674;POINT (-38.459579 -3.413741)'))) / (select extract(epoch from '2026-07-18 14:29:01'::timestamp) - extract(epoch from '2026-07-18 14:28:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459549 -3.413706)'), GeomFromEWKT('SRID=4674;POINT (-38.459579 -3.413741)'))) / (select extract(epoch from '2026-07-18 14:29:01'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.459632 -3.413808)', '2026-07-18 14:29:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459579 -3.413741)'), GeomFromEWKT('SRID=4674;POINT (-38.459632 -3.413808)'))) / (select extract(epoch from '2026-07-18 14:29:07'::timestamp) - extract(epoch from '2026-07-18 14:29:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459579 -3.413741)'), GeomFromEWKT('SRID=4674;POINT (-38.459632 -3.413808)'))) / (select extract(epoch from '2026-07-18 14:29:07'::timestamp) - extract(epoch from '2026-07-18 14:29: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'), 47391, 'SRID=4674;POINT (-38.459698 -3.413902)', '2026-07-18 14:29:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459632 -3.413808)'), GeomFromEWKT('SRID=4674;POINT (-38.459698 -3.413902)'))) / (select extract(epoch from '2026-07-18 14:29:14'::timestamp) - extract(epoch from '2026-07-18 14:29:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459632 -3.413808)'), GeomFromEWKT('SRID=4674;POINT (-38.459698 -3.413902)'))) / (select extract(epoch from '2026-07-18 14:29:14'::timestamp) - extract(epoch from '2026-07-18 14:29: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'), 47391, 'SRID=4674;POINT (-38.45975 -3.413973)', '2026-07-18 14:29:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459698 -3.413902)'), GeomFromEWKT('SRID=4674;POINT (-38.45975 -3.413973)'))) / (select extract(epoch from '2026-07-18 14:29:19'::timestamp) - extract(epoch from '2026-07-18 14:29:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459698 -3.413902)'), GeomFromEWKT('SRID=4674;POINT (-38.45975 -3.413973)'))) / (select extract(epoch from '2026-07-18 14:29:19'::timestamp) - extract(epoch from '2026-07-18 14:29:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.459775 -3.414024)', '2026-07-18 14:29:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.45975 -3.413973)'), GeomFromEWKT('SRID=4674;POINT (-38.459775 -3.414024)'))) / (select extract(epoch from '2026-07-18 14:29:22'::timestamp) - extract(epoch from '2026-07-18 14:29:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.45975 -3.413973)'), GeomFromEWKT('SRID=4674;POINT (-38.459775 -3.414024)'))) / (select extract(epoch from '2026-07-18 14:29:22'::timestamp) - extract(epoch from '2026-07-18 14:29: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'), 47391, 'SRID=4674;POINT (-38.459788 -3.414048)', '2026-07-18 14:29:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459775 -3.414024)'), GeomFromEWKT('SRID=4674;POINT (-38.459788 -3.414048)'))) / (select extract(epoch from '2026-07-18 14:29:24'::timestamp) - extract(epoch from '2026-07-18 14:29:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459775 -3.414024)'), GeomFromEWKT('SRID=4674;POINT (-38.459788 -3.414048)'))) / (select extract(epoch from '2026-07-18 14:29:24'::timestamp) - extract(epoch from '2026-07-18 14:29: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'), 47391, 'SRID=4674;POINT (-38.459826 -3.414122)', '2026-07-18 14:29:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459788 -3.414048)'), GeomFromEWKT('SRID=4674;POINT (-38.459826 -3.414122)'))) / (select extract(epoch from '2026-07-18 14:29:29'::timestamp) - extract(epoch from '2026-07-18 14:29:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459788 -3.414048)'), GeomFromEWKT('SRID=4674;POINT (-38.459826 -3.414122)'))) / (select extract(epoch from '2026-07-18 14:29:29'::timestamp) - extract(epoch from '2026-07-18 14:29:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.459855 -3.414178)', '2026-07-18 14:29:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459826 -3.414122)'), GeomFromEWKT('SRID=4674;POINT (-38.459855 -3.414178)'))) / (select extract(epoch from '2026-07-18 14:29:33'::timestamp) - extract(epoch from '2026-07-18 14:29:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459826 -3.414122)'), GeomFromEWKT('SRID=4674;POINT (-38.459855 -3.414178)'))) / (select extract(epoch from '2026-07-18 14:29:33'::timestamp) - extract(epoch from '2026-07-18 14:29: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'), 47391, 'SRID=4674;POINT (-38.459915 -3.414246)', '2026-07-18 14:29:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459855 -3.414178)'), GeomFromEWKT('SRID=4674;POINT (-38.459915 -3.414246)'))) / (select extract(epoch from '2026-07-18 14:29:39'::timestamp) - extract(epoch from '2026-07-18 14:29:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459855 -3.414178)'), GeomFromEWKT('SRID=4674;POINT (-38.459915 -3.414246)'))) / (select extract(epoch from '2026-07-18 14:29:39'::timestamp) - extract(epoch from '2026-07-18 14:29: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'), 47391, 'SRID=4674;POINT (-38.459972 -3.414309)', '2026-07-18 14:29:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459915 -3.414246)'), GeomFromEWKT('SRID=4674;POINT (-38.459972 -3.414309)'))) / (select extract(epoch from '2026-07-18 14:29:44'::timestamp) - extract(epoch from '2026-07-18 14:29:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459915 -3.414246)'), GeomFromEWKT('SRID=4674;POINT (-38.459972 -3.414309)'))) / (select extract(epoch from '2026-07-18 14:29:44'::timestamp) - extract(epoch from '2026-07-18 14:29:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.460019 -3.414364)', '2026-07-18 14:29:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459972 -3.414309)'), GeomFromEWKT('SRID=4674;POINT (-38.460019 -3.414364)'))) / (select extract(epoch from '2026-07-18 14:29:48'::timestamp) - extract(epoch from '2026-07-18 14:29:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.459972 -3.414309)'), GeomFromEWKT('SRID=4674;POINT (-38.460019 -3.414364)'))) / (select extract(epoch from '2026-07-18 14:29:48'::timestamp) - extract(epoch from '2026-07-18 14:29: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'), 47391, 'SRID=4674;POINT (-38.46004 -3.414389)', '2026-07-18 14:29:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460019 -3.414364)'), GeomFromEWKT('SRID=4674;POINT (-38.46004 -3.414389)'))) / (select extract(epoch from '2026-07-18 14:29:51'::timestamp) - extract(epoch from '2026-07-18 14:29:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460019 -3.414364)'), GeomFromEWKT('SRID=4674;POINT (-38.46004 -3.414389)'))) / (select extract(epoch from '2026-07-18 14:29:51'::timestamp) - extract(epoch from '2026-07-18 14:29: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'), 47391, 'SRID=4674;POINT (-38.46006 -3.414406)', '2026-07-18 14:29:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46004 -3.414389)'), GeomFromEWKT('SRID=4674;POINT (-38.46006 -3.414406)'))) / (select extract(epoch from '2026-07-18 14:29:53'::timestamp) - extract(epoch from '2026-07-18 14:29:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46004 -3.414389)'), GeomFromEWKT('SRID=4674;POINT (-38.46006 -3.414406)'))) / (select extract(epoch from '2026-07-18 14:29:53'::timestamp) - extract(epoch from '2026-07-18 14:29:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.46008 -3.414415)', '2026-07-18 14:29:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46006 -3.414406)'), GeomFromEWKT('SRID=4674;POINT (-38.46008 -3.414415)'))) / (select extract(epoch from '2026-07-18 14:29:55'::timestamp) - extract(epoch from '2026-07-18 14:29:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46006 -3.414406)'), GeomFromEWKT('SRID=4674;POINT (-38.46008 -3.414415)'))) / (select extract(epoch from '2026-07-18 14:29:55'::timestamp) - extract(epoch from '2026-07-18 14:29: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'), 47391, 'SRID=4674;POINT (-38.460103 -3.414452)', '2026-07-18 14:29:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46008 -3.414415)'), GeomFromEWKT('SRID=4674;POINT (-38.460103 -3.414452)'))) / (select extract(epoch from '2026-07-18 14:29:58'::timestamp) - extract(epoch from '2026-07-18 14:29:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46008 -3.414415)'), GeomFromEWKT('SRID=4674;POINT (-38.460103 -3.414452)'))) / (select extract(epoch from '2026-07-18 14:29:58'::timestamp) - extract(epoch from '2026-07-18 14:29:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.460152 -3.414527)', '2026-07-18 14:30:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460103 -3.414452)'), GeomFromEWKT('SRID=4674;POINT (-38.460152 -3.414527)'))) / (select extract(epoch from '2026-07-18 14:30:03'::timestamp) - extract(epoch from '2026-07-18 14:29:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460103 -3.414452)'), GeomFromEWKT('SRID=4674;POINT (-38.460152 -3.414527)'))) / (select extract(epoch from '2026-07-18 14:30:03'::timestamp) - extract(epoch from '2026-07-18 14:29: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'), 47391, 'SRID=4674;POINT (-38.460161 -3.414543)', '2026-07-18 14:30:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460152 -3.414527)'), GeomFromEWKT('SRID=4674;POINT (-38.460161 -3.414543)'))) / (select extract(epoch from '2026-07-18 14:30:04'::timestamp) - extract(epoch from '2026-07-18 14:30:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460152 -3.414527)'), GeomFromEWKT('SRID=4674;POINT (-38.460161 -3.414543)'))) / (select extract(epoch from '2026-07-18 14:30:04'::timestamp) - extract(epoch from '2026-07-18 14:30: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'), 47391, 'SRID=4674;POINT (-38.460196 -3.414591)', '2026-07-18 14:30:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460161 -3.414543)'), GeomFromEWKT('SRID=4674;POINT (-38.460196 -3.414591)'))) / (select extract(epoch from '2026-07-18 14:30:07'::timestamp) - extract(epoch from '2026-07-18 14:30:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460161 -3.414543)'), GeomFromEWKT('SRID=4674;POINT (-38.460196 -3.414591)'))) / (select extract(epoch from '2026-07-18 14:30:07'::timestamp) - extract(epoch from '2026-07-18 14:30:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.460251 -3.41471)', '2026-07-18 14:30:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460196 -3.414591)'), GeomFromEWKT('SRID=4674;POINT (-38.460251 -3.41471)'))) / (select extract(epoch from '2026-07-18 14:30:14'::timestamp) - extract(epoch from '2026-07-18 14:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460196 -3.414591)'), GeomFromEWKT('SRID=4674;POINT (-38.460251 -3.41471)'))) / (select extract(epoch from '2026-07-18 14:30:14'::timestamp) - extract(epoch from '2026-07-18 14:30:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.460287 -3.414781)', '2026-07-18 14:30:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460251 -3.41471)'), GeomFromEWKT('SRID=4674;POINT (-38.460287 -3.414781)'))) / (select extract(epoch from '2026-07-18 14:30:19'::timestamp) - extract(epoch from '2026-07-18 14:30:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460251 -3.41471)'), GeomFromEWKT('SRID=4674;POINT (-38.460287 -3.414781)'))) / (select extract(epoch from '2026-07-18 14:30:19'::timestamp) - extract(epoch from '2026-07-18 14:30: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'), 47391, 'SRID=4674;POINT (-38.460354 -3.414892)', '2026-07-18 14:30:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460287 -3.414781)'), GeomFromEWKT('SRID=4674;POINT (-38.460354 -3.414892)'))) / (select extract(epoch from '2026-07-18 14:30:26'::timestamp) - extract(epoch from '2026-07-18 14:30:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460287 -3.414781)'), GeomFromEWKT('SRID=4674;POINT (-38.460354 -3.414892)'))) / (select extract(epoch from '2026-07-18 14:30:26'::timestamp) - extract(epoch from '2026-07-18 14:30:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.460406 -3.41498)', '2026-07-18 14:30:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460354 -3.414892)'), GeomFromEWKT('SRID=4674;POINT (-38.460406 -3.41498)'))) / (select extract(epoch from '2026-07-18 14:30:32'::timestamp) - extract(epoch from '2026-07-18 14:30:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460354 -3.414892)'), GeomFromEWKT('SRID=4674;POINT (-38.460406 -3.41498)'))) / (select extract(epoch from '2026-07-18 14:30:32'::timestamp) - extract(epoch from '2026-07-18 14:30: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'), 47391, 'SRID=4674;POINT (-38.460473 -3.415081)', '2026-07-18 14:30:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460406 -3.41498)'), GeomFromEWKT('SRID=4674;POINT (-38.460473 -3.415081)'))) / (select extract(epoch from '2026-07-18 14:30:39'::timestamp) - extract(epoch from '2026-07-18 14:30:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460406 -3.41498)'), GeomFromEWKT('SRID=4674;POINT (-38.460473 -3.415081)'))) / (select extract(epoch from '2026-07-18 14:30:39'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.460501 -3.415125)', '2026-07-18 14:30:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460473 -3.415081)'), GeomFromEWKT('SRID=4674;POINT (-38.460501 -3.415125)'))) / (select extract(epoch from '2026-07-18 14:30:42'::timestamp) - extract(epoch from '2026-07-18 14:30:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460473 -3.415081)'), GeomFromEWKT('SRID=4674;POINT (-38.460501 -3.415125)'))) / (select extract(epoch from '2026-07-18 14:30:42'::timestamp) - extract(epoch from '2026-07-18 14:30: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'), 47391, 'SRID=4674;POINT (-38.460514 -3.415162)', '2026-07-18 14:30:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460501 -3.415125)'), GeomFromEWKT('SRID=4674;POINT (-38.460514 -3.415162)'))) / (select extract(epoch from '2026-07-18 14:30:44'::timestamp) - extract(epoch from '2026-07-18 14:30:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460501 -3.415125)'), GeomFromEWKT('SRID=4674;POINT (-38.460514 -3.415162)'))) / (select extract(epoch from '2026-07-18 14:30:44'::timestamp) - extract(epoch from '2026-07-18 14:30:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.460568 -3.415249)', '2026-07-18 14:30:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460514 -3.415162)'), GeomFromEWKT('SRID=4674;POINT (-38.460568 -3.415249)'))) / (select extract(epoch from '2026-07-18 14:30:49'::timestamp) - extract(epoch from '2026-07-18 14:30:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460514 -3.415162)'), GeomFromEWKT('SRID=4674;POINT (-38.460568 -3.415249)'))) / (select extract(epoch from '2026-07-18 14:30:49'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.460619 -3.415327)', '2026-07-18 14:30:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460568 -3.415249)'), GeomFromEWKT('SRID=4674;POINT (-38.460619 -3.415327)'))) / (select extract(epoch from '2026-07-18 14:30:54'::timestamp) - extract(epoch from '2026-07-18 14:30:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460568 -3.415249)'), GeomFromEWKT('SRID=4674;POINT (-38.460619 -3.415327)'))) / (select extract(epoch from '2026-07-18 14:30:54'::timestamp) - extract(epoch from '2026-07-18 14:30:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.460662 -3.415403)', '2026-07-18 14:30:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460619 -3.415327)'), GeomFromEWKT('SRID=4674;POINT (-38.460662 -3.415403)'))) / (select extract(epoch from '2026-07-18 14:30:59'::timestamp) - extract(epoch from '2026-07-18 14:30:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460619 -3.415327)'), GeomFromEWKT('SRID=4674;POINT (-38.460662 -3.415403)'))) / (select extract(epoch from '2026-07-18 14:30:59'::timestamp) - extract(epoch from '2026-07-18 14:30: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'), 47391, 'SRID=4674;POINT (-38.460668 -3.415418)', '2026-07-18 14:31:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460662 -3.415403)'), GeomFromEWKT('SRID=4674;POINT (-38.460668 -3.415418)'))) / (select extract(epoch from '2026-07-18 14:31:00'::timestamp) - extract(epoch from '2026-07-18 14:30:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460662 -3.415403)'), GeomFromEWKT('SRID=4674;POINT (-38.460668 -3.415418)'))) / (select extract(epoch from '2026-07-18 14:31:00'::timestamp) - extract(epoch from '2026-07-18 14:30:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.460722 -3.415532)', '2026-07-18 14:31:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460668 -3.415418)'), GeomFromEWKT('SRID=4674;POINT (-38.460722 -3.415532)'))) / (select extract(epoch from '2026-07-18 14:31:06'::timestamp) - extract(epoch from '2026-07-18 14:31:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460668 -3.415418)'), GeomFromEWKT('SRID=4674;POINT (-38.460722 -3.415532)'))) / (select extract(epoch from '2026-07-18 14:31:06'::timestamp) - extract(epoch from '2026-07-18 14:31: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'), 47391, 'SRID=4674;POINT (-38.460753 -3.415596)', '2026-07-18 14:31:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460722 -3.415532)'), GeomFromEWKT('SRID=4674;POINT (-38.460753 -3.415596)'))) / (select extract(epoch from '2026-07-18 14:31:10'::timestamp) - extract(epoch from '2026-07-18 14:31:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460722 -3.415532)'), GeomFromEWKT('SRID=4674;POINT (-38.460753 -3.415596)'))) / (select extract(epoch from '2026-07-18 14:31:10'::timestamp) - extract(epoch from '2026-07-18 14:31: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'), 47391, 'SRID=4674;POINT (-38.460797 -3.415672)', '2026-07-18 14:31:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460753 -3.415596)'), GeomFromEWKT('SRID=4674;POINT (-38.460797 -3.415672)'))) / (select extract(epoch from '2026-07-18 14:31:15'::timestamp) - extract(epoch from '2026-07-18 14:31:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460753 -3.415596)'), GeomFromEWKT('SRID=4674;POINT (-38.460797 -3.415672)'))) / (select extract(epoch from '2026-07-18 14:31:15'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.460836 -3.415741)', '2026-07-18 14:31:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460797 -3.415672)'), GeomFromEWKT('SRID=4674;POINT (-38.460836 -3.415741)'))) / (select extract(epoch from '2026-07-18 14:31:19'::timestamp) - extract(epoch from '2026-07-18 14:31:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460797 -3.415672)'), GeomFromEWKT('SRID=4674;POINT (-38.460836 -3.415741)'))) / (select extract(epoch from '2026-07-18 14:31:19'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.460866 -3.415788)', '2026-07-18 14:31:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460836 -3.415741)'), GeomFromEWKT('SRID=4674;POINT (-38.460866 -3.415788)'))) / (select extract(epoch from '2026-07-18 14:31:22'::timestamp) - extract(epoch from '2026-07-18 14:31:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460836 -3.415741)'), GeomFromEWKT('SRID=4674;POINT (-38.460866 -3.415788)'))) / (select extract(epoch from '2026-07-18 14:31:22'::timestamp) - extract(epoch from '2026-07-18 14:31:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.460878 -3.415823)', '2026-07-18 14:31:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460866 -3.415788)'), GeomFromEWKT('SRID=4674;POINT (-38.460878 -3.415823)'))) / (select extract(epoch from '2026-07-18 14:31:24'::timestamp) - extract(epoch from '2026-07-18 14:31:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460866 -3.415788)'), GeomFromEWKT('SRID=4674;POINT (-38.460878 -3.415823)'))) / (select extract(epoch from '2026-07-18 14:31:24'::timestamp) - extract(epoch from '2026-07-18 14:31: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'), 47391, 'SRID=4674;POINT (-38.460927 -3.415935)', '2026-07-18 14:31:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460878 -3.415823)'), GeomFromEWKT('SRID=4674;POINT (-38.460927 -3.415935)'))) / (select extract(epoch from '2026-07-18 14:31:30'::timestamp) - extract(epoch from '2026-07-18 14:31:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460878 -3.415823)'), GeomFromEWKT('SRID=4674;POINT (-38.460927 -3.415935)'))) / (select extract(epoch from '2026-07-18 14:31:30'::timestamp) - extract(epoch from '2026-07-18 14:31: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'), 47391, 'SRID=4674;POINT (-38.460957 -3.415997)', '2026-07-18 14:31:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460927 -3.415935)'), GeomFromEWKT('SRID=4674;POINT (-38.460957 -3.415997)'))) / (select extract(epoch from '2026-07-18 14:31:34'::timestamp) - extract(epoch from '2026-07-18 14:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460927 -3.415935)'), GeomFromEWKT('SRID=4674;POINT (-38.460957 -3.415997)'))) / (select extract(epoch from '2026-07-18 14:31:34'::timestamp) - extract(epoch from '2026-07-18 14:31: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'), 47391, 'SRID=4674;POINT (-38.460974 -3.416024)', '2026-07-18 14:31:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460957 -3.415997)'), GeomFromEWKT('SRID=4674;POINT (-38.460974 -3.416024)'))) / (select extract(epoch from '2026-07-18 14:31:36'::timestamp) - extract(epoch from '2026-07-18 14:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460957 -3.415997)'), GeomFromEWKT('SRID=4674;POINT (-38.460974 -3.416024)'))) / (select extract(epoch from '2026-07-18 14:31:36'::timestamp) - extract(epoch from '2026-07-18 14:31:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.461027 -3.4161)', '2026-07-18 14:31:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460974 -3.416024)'), GeomFromEWKT('SRID=4674;POINT (-38.461027 -3.4161)'))) / (select extract(epoch from '2026-07-18 14:31:42'::timestamp) - extract(epoch from '2026-07-18 14:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.460974 -3.416024)'), GeomFromEWKT('SRID=4674;POINT (-38.461027 -3.4161)'))) / (select extract(epoch from '2026-07-18 14:31:42'::timestamp) - extract(epoch from '2026-07-18 14:31:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.461094 -3.416196)', '2026-07-18 14:31:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461027 -3.4161)'), GeomFromEWKT('SRID=4674;POINT (-38.461094 -3.416196)'))) / (select extract(epoch from '2026-07-18 14:31:49'::timestamp) - extract(epoch from '2026-07-18 14:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461027 -3.4161)'), GeomFromEWKT('SRID=4674;POINT (-38.461094 -3.416196)'))) / (select extract(epoch from '2026-07-18 14:31:49'::timestamp) - extract(epoch from '2026-07-18 14:31: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'), 47391, 'SRID=4674;POINT (-38.461156 -3.416304)', '2026-07-18 14:31:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461094 -3.416196)'), GeomFromEWKT('SRID=4674;POINT (-38.461156 -3.416304)'))) / (select extract(epoch from '2026-07-18 14:31:56'::timestamp) - extract(epoch from '2026-07-18 14:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461094 -3.416196)'), GeomFromEWKT('SRID=4674;POINT (-38.461156 -3.416304)'))) / (select extract(epoch from '2026-07-18 14:31:56'::timestamp) - extract(epoch from '2026-07-18 14:31: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'), 47391, 'SRID=4674;POINT (-38.461182 -3.416355)', '2026-07-18 14:31:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461156 -3.416304)'), GeomFromEWKT('SRID=4674;POINT (-38.461182 -3.416355)'))) / (select extract(epoch from '2026-07-18 14:31:59'::timestamp) - extract(epoch from '2026-07-18 14:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461156 -3.416304)'), GeomFromEWKT('SRID=4674;POINT (-38.461182 -3.416355)'))) / (select extract(epoch from '2026-07-18 14:31:59'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.461205 -3.416384)', '2026-07-18 14:32:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461182 -3.416355)'), GeomFromEWKT('SRID=4674;POINT (-38.461205 -3.416384)'))) / (select extract(epoch from '2026-07-18 14:32:01'::timestamp) - extract(epoch from '2026-07-18 14:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461182 -3.416355)'), GeomFromEWKT('SRID=4674;POINT (-38.461205 -3.416384)'))) / (select extract(epoch from '2026-07-18 14:32:01'::timestamp) - extract(epoch from '2026-07-18 14:31: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'), 47391, 'SRID=4674;POINT (-38.461222 -3.416412)', '2026-07-18 14:32:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461205 -3.416384)'), GeomFromEWKT('SRID=4674;POINT (-38.461222 -3.416412)'))) / (select extract(epoch from '2026-07-18 14:32:03'::timestamp) - extract(epoch from '2026-07-18 14:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461205 -3.416384)'), GeomFromEWKT('SRID=4674;POINT (-38.461222 -3.416412)'))) / (select extract(epoch from '2026-07-18 14:32:03'::timestamp) - extract(epoch from '2026-07-18 14:32:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.461257 -3.416466)', '2026-07-18 14:32:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461222 -3.416412)'), GeomFromEWKT('SRID=4674;POINT (-38.461257 -3.416466)'))) / (select extract(epoch from '2026-07-18 14:32:06'::timestamp) - extract(epoch from '2026-07-18 14:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461222 -3.416412)'), GeomFromEWKT('SRID=4674;POINT (-38.461257 -3.416466)'))) / (select extract(epoch from '2026-07-18 14:32:06'::timestamp) - extract(epoch from '2026-07-18 14:32: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'), 47391, 'SRID=4674;POINT (-38.461285 -3.416504)', '2026-07-18 14:32:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461257 -3.416466)'), GeomFromEWKT('SRID=4674;POINT (-38.461285 -3.416504)'))) / (select extract(epoch from '2026-07-18 14:32:08'::timestamp) - extract(epoch from '2026-07-18 14:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461257 -3.416466)'), GeomFromEWKT('SRID=4674;POINT (-38.461285 -3.416504)'))) / (select extract(epoch from '2026-07-18 14:32:08'::timestamp) - extract(epoch from '2026-07-18 14:32:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.461291 -3.416534)', '2026-07-18 14:32:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461285 -3.416504)'), GeomFromEWKT('SRID=4674;POINT (-38.461291 -3.416534)'))) / (select extract(epoch from '2026-07-18 14:32:10'::timestamp) - extract(epoch from '2026-07-18 14:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461285 -3.416504)'), GeomFromEWKT('SRID=4674;POINT (-38.461291 -3.416534)'))) / (select extract(epoch from '2026-07-18 14:32:10'::timestamp) - extract(epoch from '2026-07-18 14:32: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'), 47391, 'SRID=4674;POINT (-38.461338 -3.416634)', '2026-07-18 14:32:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461291 -3.416534)'), GeomFromEWKT('SRID=4674;POINT (-38.461338 -3.416634)'))) / (select extract(epoch from '2026-07-18 14:32:16'::timestamp) - extract(epoch from '2026-07-18 14:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461291 -3.416534)'), GeomFromEWKT('SRID=4674;POINT (-38.461338 -3.416634)'))) / (select extract(epoch from '2026-07-18 14:32:16'::timestamp) - extract(epoch from '2026-07-18 14:32: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'), 47391, 'SRID=4674;POINT (-38.461363 -3.416679)', '2026-07-18 14:32:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461338 -3.416634)'), GeomFromEWKT('SRID=4674;POINT (-38.461363 -3.416679)'))) / (select extract(epoch from '2026-07-18 14:32:19'::timestamp) - extract(epoch from '2026-07-18 14:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461338 -3.416634)'), GeomFromEWKT('SRID=4674;POINT (-38.461363 -3.416679)'))) / (select extract(epoch from '2026-07-18 14:32:19'::timestamp) - extract(epoch from '2026-07-18 14:32:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.461396 -3.416738)', '2026-07-18 14:32:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461363 -3.416679)'), GeomFromEWKT('SRID=4674;POINT (-38.461396 -3.416738)'))) / (select extract(epoch from '2026-07-18 14:32:22'::timestamp) - extract(epoch from '2026-07-18 14:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461363 -3.416679)'), GeomFromEWKT('SRID=4674;POINT (-38.461396 -3.416738)'))) / (select extract(epoch from '2026-07-18 14:32:22'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.461442 -3.416816)', '2026-07-18 14:32:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461396 -3.416738)'), GeomFromEWKT('SRID=4674;POINT (-38.461442 -3.416816)'))) / (select extract(epoch from '2026-07-18 14:32:27'::timestamp) - extract(epoch from '2026-07-18 14:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461396 -3.416738)'), GeomFromEWKT('SRID=4674;POINT (-38.461442 -3.416816)'))) / (select extract(epoch from '2026-07-18 14:32:27'::timestamp) - extract(epoch from '2026-07-18 14:32:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.461486 -3.416891)', '2026-07-18 14:32:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461442 -3.416816)'), GeomFromEWKT('SRID=4674;POINT (-38.461486 -3.416891)'))) / (select extract(epoch from '2026-07-18 14:32:32'::timestamp) - extract(epoch from '2026-07-18 14:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461442 -3.416816)'), GeomFromEWKT('SRID=4674;POINT (-38.461486 -3.416891)'))) / (select extract(epoch from '2026-07-18 14:32:32'::timestamp) - extract(epoch from '2026-07-18 14:32: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'), 47391, 'SRID=4674;POINT (-38.461499 -3.416903)', '2026-07-18 14:32:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461486 -3.416891)'), GeomFromEWKT('SRID=4674;POINT (-38.461499 -3.416903)'))) / (select extract(epoch from '2026-07-18 14:32:33'::timestamp) - extract(epoch from '2026-07-18 14:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461486 -3.416891)'), GeomFromEWKT('SRID=4674;POINT (-38.461499 -3.416903)'))) / (select extract(epoch from '2026-07-18 14:32:33'::timestamp) - extract(epoch from '2026-07-18 14:32: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'), 47391, 'SRID=4674;POINT (-38.461531 -3.416947)', '2026-07-18 14:32:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461499 -3.416903)'), GeomFromEWKT('SRID=4674;POINT (-38.461531 -3.416947)'))) / (select extract(epoch from '2026-07-18 14:32:36'::timestamp) - extract(epoch from '2026-07-18 14:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461499 -3.416903)'), GeomFromEWKT('SRID=4674;POINT (-38.461531 -3.416947)'))) / (select extract(epoch from '2026-07-18 14:32:36'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.4616 -3.417022)', '2026-07-18 14:32:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461531 -3.416947)'), GeomFromEWKT('SRID=4674;POINT (-38.4616 -3.417022)'))) / (select extract(epoch from '2026-07-18 14:32:41'::timestamp) - extract(epoch from '2026-07-18 14:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461531 -3.416947)'), GeomFromEWKT('SRID=4674;POINT (-38.4616 -3.417022)'))) / (select extract(epoch from '2026-07-18 14:32:41'::timestamp) - extract(epoch from '2026-07-18 14:32: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'), 47391, 'SRID=4674;POINT (-38.461662 -3.417115)', '2026-07-18 14:32:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4616 -3.417022)'), GeomFromEWKT('SRID=4674;POINT (-38.461662 -3.417115)'))) / (select extract(epoch from '2026-07-18 14:32:47'::timestamp) - extract(epoch from '2026-07-18 14:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4616 -3.417022)'), GeomFromEWKT('SRID=4674;POINT (-38.461662 -3.417115)'))) / (select extract(epoch from '2026-07-18 14:32:47'::timestamp) - extract(epoch from '2026-07-18 14:32: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'), 47391, 'SRID=4674;POINT (-38.461698 -3.417197)', '2026-07-18 14:32:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461662 -3.417115)'), GeomFromEWKT('SRID=4674;POINT (-38.461698 -3.417197)'))) / (select extract(epoch from '2026-07-18 14:32:52'::timestamp) - extract(epoch from '2026-07-18 14:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461662 -3.417115)'), GeomFromEWKT('SRID=4674;POINT (-38.461698 -3.417197)'))) / (select extract(epoch from '2026-07-18 14:32:52'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.461739 -3.417265)', '2026-07-18 14:32:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461698 -3.417197)'), GeomFromEWKT('SRID=4674;POINT (-38.461739 -3.417265)'))) / (select extract(epoch from '2026-07-18 14:32:57'::timestamp) - extract(epoch from '2026-07-18 14:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461698 -3.417197)'), GeomFromEWKT('SRID=4674;POINT (-38.461739 -3.417265)'))) / (select extract(epoch from '2026-07-18 14:32:57'::timestamp) - extract(epoch from '2026-07-18 14:32:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.461776 -3.417321)', '2026-07-18 14:33:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461739 -3.417265)'), GeomFromEWKT('SRID=4674;POINT (-38.461776 -3.417321)'))) / (select extract(epoch from '2026-07-18 14:33:01'::timestamp) - extract(epoch from '2026-07-18 14:32:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461739 -3.417265)'), GeomFromEWKT('SRID=4674;POINT (-38.461776 -3.417321)'))) / (select extract(epoch from '2026-07-18 14:33:01'::timestamp) - extract(epoch from '2026-07-18 14:32: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'), 47391, 'SRID=4674;POINT (-38.461816 -3.417384)', '2026-07-18 14:33:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461776 -3.417321)'), GeomFromEWKT('SRID=4674;POINT (-38.461816 -3.417384)'))) / (select extract(epoch from '2026-07-18 14:33:06'::timestamp) - extract(epoch from '2026-07-18 14:33:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461776 -3.417321)'), GeomFromEWKT('SRID=4674;POINT (-38.461816 -3.417384)'))) / (select extract(epoch from '2026-07-18 14:33:06'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.461888 -3.417482)', '2026-07-18 14:33:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461816 -3.417384)'), GeomFromEWKT('SRID=4674;POINT (-38.461888 -3.417482)'))) / (select extract(epoch from '2026-07-18 14:33:13'::timestamp) - extract(epoch from '2026-07-18 14:33:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461816 -3.417384)'), GeomFromEWKT('SRID=4674;POINT (-38.461888 -3.417482)'))) / (select extract(epoch from '2026-07-18 14:33:13'::timestamp) - extract(epoch from '2026-07-18 14:33:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.461955 -3.417567)', '2026-07-18 14:33:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461888 -3.417482)'), GeomFromEWKT('SRID=4674;POINT (-38.461955 -3.417567)'))) / (select extract(epoch from '2026-07-18 14:33:19'::timestamp) - extract(epoch from '2026-07-18 14:33:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461888 -3.417482)'), GeomFromEWKT('SRID=4674;POINT (-38.461955 -3.417567)'))) / (select extract(epoch from '2026-07-18 14:33:19'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.46201 -3.417644)', '2026-07-18 14:33:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461955 -3.417567)'), GeomFromEWKT('SRID=4674;POINT (-38.46201 -3.417644)'))) / (select extract(epoch from '2026-07-18 14:33:24'::timestamp) - extract(epoch from '2026-07-18 14:33:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.461955 -3.417567)'), GeomFromEWKT('SRID=4674;POINT (-38.46201 -3.417644)'))) / (select extract(epoch from '2026-07-18 14:33:24'::timestamp) - extract(epoch from '2026-07-18 14:33:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.462048 -3.417706)', '2026-07-18 14:33:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46201 -3.417644)'), GeomFromEWKT('SRID=4674;POINT (-38.462048 -3.417706)'))) / (select extract(epoch from '2026-07-18 14:33:28'::timestamp) - extract(epoch from '2026-07-18 14:33:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46201 -3.417644)'), GeomFromEWKT('SRID=4674;POINT (-38.462048 -3.417706)'))) / (select extract(epoch from '2026-07-18 14:33:28'::timestamp) - extract(epoch from '2026-07-18 14:33:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.462101 -3.417789)', '2026-07-18 14:33:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462048 -3.417706)'), GeomFromEWKT('SRID=4674;POINT (-38.462101 -3.417789)'))) / (select extract(epoch from '2026-07-18 14:33:34'::timestamp) - extract(epoch from '2026-07-18 14:33:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462048 -3.417706)'), GeomFromEWKT('SRID=4674;POINT (-38.462101 -3.417789)'))) / (select extract(epoch from '2026-07-18 14:33:34'::timestamp) - extract(epoch from '2026-07-18 14:33: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'), 47391, 'SRID=4674;POINT (-38.462164 -3.417881)', '2026-07-18 14:33:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462101 -3.417789)'), GeomFromEWKT('SRID=4674;POINT (-38.462164 -3.417881)'))) / (select extract(epoch from '2026-07-18 14:33:40'::timestamp) - extract(epoch from '2026-07-18 14:33:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462101 -3.417789)'), GeomFromEWKT('SRID=4674;POINT (-38.462164 -3.417881)'))) / (select extract(epoch from '2026-07-18 14:33:40'::timestamp) - extract(epoch from '2026-07-18 14:33:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.462186 -3.417915)', '2026-07-18 14:33:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462164 -3.417881)'), GeomFromEWKT('SRID=4674;POINT (-38.462186 -3.417915)'))) / (select extract(epoch from '2026-07-18 14:33:42'::timestamp) - extract(epoch from '2026-07-18 14:33:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462164 -3.417881)'), GeomFromEWKT('SRID=4674;POINT (-38.462186 -3.417915)'))) / (select extract(epoch from '2026-07-18 14:33:42'::timestamp) - extract(epoch from '2026-07-18 14:33: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'), 47391, 'SRID=4674;POINT (-38.462218 -3.417942)', '2026-07-18 14:33:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462186 -3.417915)'), GeomFromEWKT('SRID=4674;POINT (-38.462218 -3.417942)'))) / (select extract(epoch from '2026-07-18 14:33:44'::timestamp) - extract(epoch from '2026-07-18 14:33:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462186 -3.417915)'), GeomFromEWKT('SRID=4674;POINT (-38.462218 -3.417942)'))) / (select extract(epoch from '2026-07-18 14:33:44'::timestamp) - extract(epoch from '2026-07-18 14:33:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.462277 -3.41803)', '2026-07-18 14:33:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462218 -3.417942)'), GeomFromEWKT('SRID=4674;POINT (-38.462277 -3.41803)'))) / (select extract(epoch from '2026-07-18 14:33:50'::timestamp) - extract(epoch from '2026-07-18 14:33:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462218 -3.417942)'), GeomFromEWKT('SRID=4674;POINT (-38.462277 -3.41803)'))) / (select extract(epoch from '2026-07-18 14:33:50'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.462306 -3.418089)', '2026-07-18 14:33:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462277 -3.41803)'), GeomFromEWKT('SRID=4674;POINT (-38.462306 -3.418089)'))) / (select extract(epoch from '2026-07-18 14:33:54'::timestamp) - extract(epoch from '2026-07-18 14:33:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462277 -3.41803)'), GeomFromEWKT('SRID=4674;POINT (-38.462306 -3.418089)'))) / (select extract(epoch from '2026-07-18 14:33:54'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.46232 -3.418102)', '2026-07-18 14:33:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462306 -3.418089)'), GeomFromEWKT('SRID=4674;POINT (-38.46232 -3.418102)'))) / (select extract(epoch from '2026-07-18 14:33:55'::timestamp) - extract(epoch from '2026-07-18 14:33:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462306 -3.418089)'), GeomFromEWKT('SRID=4674;POINT (-38.46232 -3.418102)'))) / (select extract(epoch from '2026-07-18 14:33:55'::timestamp) - extract(epoch from '2026-07-18 14:33:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.462377 -3.4182)', '2026-07-18 14:34:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46232 -3.418102)'), GeomFromEWKT('SRID=4674;POINT (-38.462377 -3.4182)'))) / (select extract(epoch from '2026-07-18 14:34:01'::timestamp) - extract(epoch from '2026-07-18 14:33:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46232 -3.418102)'), GeomFromEWKT('SRID=4674;POINT (-38.462377 -3.4182)'))) / (select extract(epoch from '2026-07-18 14:34:01'::timestamp) - extract(epoch from '2026-07-18 14:33: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'), 47391, 'SRID=4674;POINT (-38.462438 -3.418304)', '2026-07-18 14:34:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462377 -3.4182)'), GeomFromEWKT('SRID=4674;POINT (-38.462438 -3.418304)'))) / (select extract(epoch from '2026-07-18 14:34:07'::timestamp) - extract(epoch from '2026-07-18 14:34:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462377 -3.4182)'), GeomFromEWKT('SRID=4674;POINT (-38.462438 -3.418304)'))) / (select extract(epoch from '2026-07-18 14:34:07'::timestamp) - extract(epoch from '2026-07-18 14:34: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'), 47391, 'SRID=4674;POINT (-38.462512 -3.418414)', '2026-07-18 14:34:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462438 -3.418304)'), GeomFromEWKT('SRID=4674;POINT (-38.462512 -3.418414)'))) / (select extract(epoch from '2026-07-18 14:34:14'::timestamp) - extract(epoch from '2026-07-18 14:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462438 -3.418304)'), GeomFromEWKT('SRID=4674;POINT (-38.462512 -3.418414)'))) / (select extract(epoch from '2026-07-18 14:34:14'::timestamp) - extract(epoch from '2026-07-18 14:34: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'), 47391, 'SRID=4674;POINT (-38.462531 -3.418467)', '2026-07-18 14:34:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462512 -3.418414)'), GeomFromEWKT('SRID=4674;POINT (-38.462531 -3.418467)'))) / (select extract(epoch from '2026-07-18 14:34:17'::timestamp) - extract(epoch from '2026-07-18 14:34:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462512 -3.418414)'), GeomFromEWKT('SRID=4674;POINT (-38.462531 -3.418467)'))) / (select extract(epoch from '2026-07-18 14:34:17'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.462545 -3.418485)', '2026-07-18 14:34:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462531 -3.418467)'), GeomFromEWKT('SRID=4674;POINT (-38.462545 -3.418485)'))) / (select extract(epoch from '2026-07-18 14:34:18'::timestamp) - extract(epoch from '2026-07-18 14:34:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462531 -3.418467)'), GeomFromEWKT('SRID=4674;POINT (-38.462545 -3.418485)'))) / (select extract(epoch from '2026-07-18 14:34:18'::timestamp) - extract(epoch from '2026-07-18 14:34:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.462594 -3.418568)', '2026-07-18 14:34:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462545 -3.418485)'), GeomFromEWKT('SRID=4674;POINT (-38.462594 -3.418568)'))) / (select extract(epoch from '2026-07-18 14:34:23'::timestamp) - extract(epoch from '2026-07-18 14:34:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462545 -3.418485)'), GeomFromEWKT('SRID=4674;POINT (-38.462594 -3.418568)'))) / (select extract(epoch from '2026-07-18 14:34:23'::timestamp) - extract(epoch from '2026-07-18 14:34:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.462656 -3.418659)', '2026-07-18 14:34:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462594 -3.418568)'), GeomFromEWKT('SRID=4674;POINT (-38.462656 -3.418659)'))) / (select extract(epoch from '2026-07-18 14:34:28'::timestamp) - extract(epoch from '2026-07-18 14:34:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462594 -3.418568)'), GeomFromEWKT('SRID=4674;POINT (-38.462656 -3.418659)'))) / (select extract(epoch from '2026-07-18 14:34:28'::timestamp) - extract(epoch from '2026-07-18 14:34: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'), 47391, 'SRID=4674;POINT (-38.462686 -3.418702)', '2026-07-18 14:34:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462656 -3.418659)'), GeomFromEWKT('SRID=4674;POINT (-38.462686 -3.418702)'))) / (select extract(epoch from '2026-07-18 14:34:31'::timestamp) - extract(epoch from '2026-07-18 14:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462656 -3.418659)'), GeomFromEWKT('SRID=4674;POINT (-38.462686 -3.418702)'))) / (select extract(epoch from '2026-07-18 14:34:31'::timestamp) - extract(epoch from '2026-07-18 14:34: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'), 47391, 'SRID=4674;POINT (-38.462697 -3.418712)', '2026-07-18 14:34:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462686 -3.418702)'), GeomFromEWKT('SRID=4674;POINT (-38.462697 -3.418712)'))) / (select extract(epoch from '2026-07-18 14:34:32'::timestamp) - extract(epoch from '2026-07-18 14:34:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462686 -3.418702)'), GeomFromEWKT('SRID=4674;POINT (-38.462697 -3.418712)'))) / (select extract(epoch from '2026-07-18 14:34:32'::timestamp) - extract(epoch from '2026-07-18 14:34: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'), 47391, 'SRID=4674;POINT (-38.462704 -3.418722)', '2026-07-18 14:34:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462697 -3.418712)'), GeomFromEWKT('SRID=4674;POINT (-38.462704 -3.418722)'))) / (select extract(epoch from '2026-07-18 14:34:33'::timestamp) - extract(epoch from '2026-07-18 14:34:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462697 -3.418712)'), GeomFromEWKT('SRID=4674;POINT (-38.462704 -3.418722)'))) / (select extract(epoch from '2026-07-18 14:34:33'::timestamp) - extract(epoch from '2026-07-18 14:34:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.462734 -3.418777)', '2026-07-18 14:34:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462704 -3.418722)'), GeomFromEWKT('SRID=4674;POINT (-38.462734 -3.418777)'))) / (select extract(epoch from '2026-07-18 14:34:36'::timestamp) - extract(epoch from '2026-07-18 14:34:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462704 -3.418722)'), GeomFromEWKT('SRID=4674;POINT (-38.462734 -3.418777)'))) / (select extract(epoch from '2026-07-18 14:34:36'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.462765 -3.418819)', '2026-07-18 14:34:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462734 -3.418777)'), GeomFromEWKT('SRID=4674;POINT (-38.462765 -3.418819)'))) / (select extract(epoch from '2026-07-18 14:34:39'::timestamp) - extract(epoch from '2026-07-18 14:34:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462734 -3.418777)'), GeomFromEWKT('SRID=4674;POINT (-38.462765 -3.418819)'))) / (select extract(epoch from '2026-07-18 14:34:39'::timestamp) - extract(epoch from '2026-07-18 14:34:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.46277 -3.418832)', '2026-07-18 14:34:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462765 -3.418819)'), GeomFromEWKT('SRID=4674;POINT (-38.46277 -3.418832)'))) / (select extract(epoch from '2026-07-18 14:34:40'::timestamp) - extract(epoch from '2026-07-18 14:34:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462765 -3.418819)'), GeomFromEWKT('SRID=4674;POINT (-38.46277 -3.418832)'))) / (select extract(epoch from '2026-07-18 14:34:40'::timestamp) - extract(epoch from '2026-07-18 14:34: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'), 47391, 'SRID=4674;POINT (-38.462826 -3.41891)', '2026-07-18 14:34:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46277 -3.418832)'), GeomFromEWKT('SRID=4674;POINT (-38.462826 -3.41891)'))) / (select extract(epoch from '2026-07-18 14:34:45'::timestamp) - extract(epoch from '2026-07-18 14:34:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46277 -3.418832)'), GeomFromEWKT('SRID=4674;POINT (-38.462826 -3.41891)'))) / (select extract(epoch from '2026-07-18 14:34:45'::timestamp) - extract(epoch from '2026-07-18 14:34: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'), 47391, 'SRID=4674;POINT (-38.462887 -3.418999)', '2026-07-18 14:34:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462826 -3.41891)'), GeomFromEWKT('SRID=4674;POINT (-38.462887 -3.418999)'))) / (select extract(epoch from '2026-07-18 14:34:51'::timestamp) - extract(epoch from '2026-07-18 14:34:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462826 -3.41891)'), GeomFromEWKT('SRID=4674;POINT (-38.462887 -3.418999)'))) / (select extract(epoch from '2026-07-18 14:34:51'::timestamp) - extract(epoch from '2026-07-18 14:34: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'), 47391, 'SRID=4674;POINT (-38.46291 -3.419022)', '2026-07-18 14:34:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462887 -3.418999)'), GeomFromEWKT('SRID=4674;POINT (-38.46291 -3.419022)'))) / (select extract(epoch from '2026-07-18 14:34:53'::timestamp) - extract(epoch from '2026-07-18 14:34:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462887 -3.418999)'), GeomFromEWKT('SRID=4674;POINT (-38.46291 -3.419022)'))) / (select extract(epoch from '2026-07-18 14:34:53'::timestamp) - extract(epoch from '2026-07-18 14:34: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'), 47391, 'SRID=4674;POINT (-38.46294 -3.419065)', '2026-07-18 14:34:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46291 -3.419022)'), GeomFromEWKT('SRID=4674;POINT (-38.46294 -3.419065)'))) / (select extract(epoch from '2026-07-18 14:34:56'::timestamp) - extract(epoch from '2026-07-18 14:34:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46291 -3.419022)'), GeomFromEWKT('SRID=4674;POINT (-38.46294 -3.419065)'))) / (select extract(epoch from '2026-07-18 14:34:56'::timestamp) - extract(epoch from '2026-07-18 14:34:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.462991 -3.419162)', '2026-07-18 14:35:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46294 -3.419065)'), GeomFromEWKT('SRID=4674;POINT (-38.462991 -3.419162)'))) / (select extract(epoch from '2026-07-18 14:35:02'::timestamp) - extract(epoch from '2026-07-18 14:34:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46294 -3.419065)'), GeomFromEWKT('SRID=4674;POINT (-38.462991 -3.419162)'))) / (select extract(epoch from '2026-07-18 14:35:02'::timestamp) - extract(epoch from '2026-07-18 14:34: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'), 47391, 'SRID=4674;POINT (-38.46301 -3.419195)', '2026-07-18 14:35:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462991 -3.419162)'), GeomFromEWKT('SRID=4674;POINT (-38.46301 -3.419195)'))) / (select extract(epoch from '2026-07-18 14:35:04'::timestamp) - extract(epoch from '2026-07-18 14:35:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.462991 -3.419162)'), GeomFromEWKT('SRID=4674;POINT (-38.46301 -3.419195)'))) / (select extract(epoch from '2026-07-18 14:35:04'::timestamp) - extract(epoch from '2026-07-18 14:35:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.463047 -3.419237)', '2026-07-18 14:35:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46301 -3.419195)'), GeomFromEWKT('SRID=4674;POINT (-38.463047 -3.419237)'))) / (select extract(epoch from '2026-07-18 14:35:07'::timestamp) - extract(epoch from '2026-07-18 14:35:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46301 -3.419195)'), GeomFromEWKT('SRID=4674;POINT (-38.463047 -3.419237)'))) / (select extract(epoch from '2026-07-18 14:35:07'::timestamp) - extract(epoch from '2026-07-18 14:35: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'), 47391, 'SRID=4674;POINT (-38.463106 -3.419323)', '2026-07-18 14:35:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463047 -3.419237)'), GeomFromEWKT('SRID=4674;POINT (-38.463106 -3.419323)'))) / (select extract(epoch from '2026-07-18 14:35:13'::timestamp) - extract(epoch from '2026-07-18 14:35:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463047 -3.419237)'), GeomFromEWKT('SRID=4674;POINT (-38.463106 -3.419323)'))) / (select extract(epoch from '2026-07-18 14:35:13'::timestamp) - extract(epoch from '2026-07-18 14:35:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.463149 -3.419406)', '2026-07-18 14:35:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463106 -3.419323)'), GeomFromEWKT('SRID=4674;POINT (-38.463149 -3.419406)'))) / (select extract(epoch from '2026-07-18 14:35:18'::timestamp) - extract(epoch from '2026-07-18 14:35:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463106 -3.419323)'), GeomFromEWKT('SRID=4674;POINT (-38.463149 -3.419406)'))) / (select extract(epoch from '2026-07-18 14:35:18'::timestamp) - extract(epoch from '2026-07-18 14:35: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'), 47391, 'SRID=4674;POINT (-38.463214 -3.419508)', '2026-07-18 14:35:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463149 -3.419406)'), GeomFromEWKT('SRID=4674;POINT (-38.463214 -3.419508)'))) / (select extract(epoch from '2026-07-18 14:35:24'::timestamp) - extract(epoch from '2026-07-18 14:35:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463149 -3.419406)'), GeomFromEWKT('SRID=4674;POINT (-38.463214 -3.419508)'))) / (select extract(epoch from '2026-07-18 14:35:24'::timestamp) - extract(epoch from '2026-07-18 14:35:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.46325 -3.419549)', '2026-07-18 14:35:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463214 -3.419508)'), GeomFromEWKT('SRID=4674;POINT (-38.46325 -3.419549)'))) / (select extract(epoch from '2026-07-18 14:35:27'::timestamp) - extract(epoch from '2026-07-18 14:35:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463214 -3.419508)'), GeomFromEWKT('SRID=4674;POINT (-38.46325 -3.419549)'))) / (select extract(epoch from '2026-07-18 14:35:27'::timestamp) - extract(epoch from '2026-07-18 14:35:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.463268 -3.41958)', '2026-07-18 14:35:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46325 -3.419549)'), GeomFromEWKT('SRID=4674;POINT (-38.463268 -3.41958)'))) / (select extract(epoch from '2026-07-18 14:35:29'::timestamp) - extract(epoch from '2026-07-18 14:35:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46325 -3.419549)'), GeomFromEWKT('SRID=4674;POINT (-38.463268 -3.41958)'))) / (select extract(epoch from '2026-07-18 14:35:29'::timestamp) - extract(epoch from '2026-07-18 14:35: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'), 47391, 'SRID=4674;POINT (-38.463295 -3.419654)', '2026-07-18 14:35:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463268 -3.41958)'), GeomFromEWKT('SRID=4674;POINT (-38.463295 -3.419654)'))) / (select extract(epoch from '2026-07-18 14:35:33'::timestamp) - extract(epoch from '2026-07-18 14:35:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463268 -3.41958)'), GeomFromEWKT('SRID=4674;POINT (-38.463295 -3.419654)'))) / (select extract(epoch from '2026-07-18 14:35:33'::timestamp) - extract(epoch from '2026-07-18 14:35:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.4633 -3.419677)', '2026-07-18 14:35:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463295 -3.419654)'), GeomFromEWKT('SRID=4674;POINT (-38.4633 -3.419677)'))) / (select extract(epoch from '2026-07-18 14:35:34'::timestamp) - extract(epoch from '2026-07-18 14:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463295 -3.419654)'), GeomFromEWKT('SRID=4674;POINT (-38.4633 -3.419677)'))) / (select extract(epoch from '2026-07-18 14:35:34'::timestamp) - extract(epoch from '2026-07-18 14:35:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.463303 -3.419684)', '2026-07-18 14:35:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4633 -3.419677)'), GeomFromEWKT('SRID=4674;POINT (-38.463303 -3.419684)'))) / (select extract(epoch from '2026-07-18 14:35:35'::timestamp) - extract(epoch from '2026-07-18 14:35:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4633 -3.419677)'), GeomFromEWKT('SRID=4674;POINT (-38.463303 -3.419684)'))) / (select extract(epoch from '2026-07-18 14:35:35'::timestamp) - extract(epoch from '2026-07-18 14:35: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'), 47391, 'SRID=4674;POINT (-38.463308 -3.419718)', '2026-07-18 14:35:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463303 -3.419684)'), GeomFromEWKT('SRID=4674;POINT (-38.463308 -3.419718)'))) / (select extract(epoch from '2026-07-18 14:35:38'::timestamp) - extract(epoch from '2026-07-18 14:35:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463303 -3.419684)'), GeomFromEWKT('SRID=4674;POINT (-38.463308 -3.419718)'))) / (select extract(epoch from '2026-07-18 14:35:38'::timestamp) - extract(epoch from '2026-07-18 14:35: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'), 47391, 'SRID=4674;POINT (-38.463318 -3.419746)', '2026-07-18 14:35:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463308 -3.419718)'), GeomFromEWKT('SRID=4674;POINT (-38.463318 -3.419746)'))) / (select extract(epoch from '2026-07-18 14:35:40'::timestamp) - extract(epoch from '2026-07-18 14:35:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463308 -3.419718)'), GeomFromEWKT('SRID=4674;POINT (-38.463318 -3.419746)'))) / (select extract(epoch from '2026-07-18 14:35:40'::timestamp) - extract(epoch from '2026-07-18 14:35:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.46333 -3.419764)', '2026-07-18 14:35:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463318 -3.419746)'), GeomFromEWKT('SRID=4674;POINT (-38.46333 -3.419764)'))) / (select extract(epoch from '2026-07-18 14:35:42'::timestamp) - extract(epoch from '2026-07-18 14:35:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463318 -3.419746)'), GeomFromEWKT('SRID=4674;POINT (-38.46333 -3.419764)'))) / (select extract(epoch from '2026-07-18 14:35:42'::timestamp) - extract(epoch from '2026-07-18 14:35: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'), 47391, 'SRID=4674;POINT (-38.463371 -3.419838)', '2026-07-18 14:35:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46333 -3.419764)'), GeomFromEWKT('SRID=4674;POINT (-38.463371 -3.419838)'))) / (select extract(epoch from '2026-07-18 14:35:49'::timestamp) - extract(epoch from '2026-07-18 14:35:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46333 -3.419764)'), GeomFromEWKT('SRID=4674;POINT (-38.463371 -3.419838)'))) / (select extract(epoch from '2026-07-18 14:35:49'::timestamp) - extract(epoch from '2026-07-18 14:35: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'), 47391, 'SRID=4674;POINT (-38.463426 -3.419894)', '2026-07-18 14:35:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463371 -3.419838)'), GeomFromEWKT('SRID=4674;POINT (-38.463426 -3.419894)'))) / (select extract(epoch from '2026-07-18 14:35:54'::timestamp) - extract(epoch from '2026-07-18 14:35:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463371 -3.419838)'), GeomFromEWKT('SRID=4674;POINT (-38.463426 -3.419894)'))) / (select extract(epoch from '2026-07-18 14:35:54'::timestamp) - extract(epoch from '2026-07-18 14:35: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'), 47391, 'SRID=4674;POINT (-38.46345 -3.419924)', '2026-07-18 14:35:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463426 -3.419894)'), GeomFromEWKT('SRID=4674;POINT (-38.46345 -3.419924)'))) / (select extract(epoch from '2026-07-18 14:35:56'::timestamp) - extract(epoch from '2026-07-18 14:35:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463426 -3.419894)'), GeomFromEWKT('SRID=4674;POINT (-38.46345 -3.419924)'))) / (select extract(epoch from '2026-07-18 14:35:56'::timestamp) - extract(epoch from '2026-07-18 14:35:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.463495 -3.419963)', '2026-07-18 14:35:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46345 -3.419924)'), GeomFromEWKT('SRID=4674;POINT (-38.463495 -3.419963)'))) / (select extract(epoch from '2026-07-18 14:35:59'::timestamp) - extract(epoch from '2026-07-18 14:35:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46345 -3.419924)'), GeomFromEWKT('SRID=4674;POINT (-38.463495 -3.419963)'))) / (select extract(epoch from '2026-07-18 14:35:59'::timestamp) - extract(epoch from '2026-07-18 14:35:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.463505 -3.419989)', '2026-07-18 14:36:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463495 -3.419963)'), GeomFromEWKT('SRID=4674;POINT (-38.463505 -3.419989)'))) / (select extract(epoch from '2026-07-18 14:36:01'::timestamp) - extract(epoch from '2026-07-18 14:35:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463495 -3.419963)'), GeomFromEWKT('SRID=4674;POINT (-38.463505 -3.419989)'))) / (select extract(epoch from '2026-07-18 14:36:01'::timestamp) - extract(epoch from '2026-07-18 14:35:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.463533 -3.420013)', '2026-07-18 14:36:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463505 -3.419989)'), GeomFromEWKT('SRID=4674;POINT (-38.463533 -3.420013)'))) / (select extract(epoch from '2026-07-18 14:36:03'::timestamp) - extract(epoch from '2026-07-18 14:36:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463505 -3.419989)'), GeomFromEWKT('SRID=4674;POINT (-38.463533 -3.420013)'))) / (select extract(epoch from '2026-07-18 14:36:03'::timestamp) - extract(epoch from '2026-07-18 14:36: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'), 47391, 'SRID=4674;POINT (-38.463555 -3.420048)', '2026-07-18 14:36:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463533 -3.420013)'), GeomFromEWKT('SRID=4674;POINT (-38.463555 -3.420048)'))) / (select extract(epoch from '2026-07-18 14:36:06'::timestamp) - extract(epoch from '2026-07-18 14:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463533 -3.420013)'), GeomFromEWKT('SRID=4674;POINT (-38.463555 -3.420048)'))) / (select extract(epoch from '2026-07-18 14:36:06'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.463565 -3.420055)', '2026-07-18 14:36:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463555 -3.420048)'), GeomFromEWKT('SRID=4674;POINT (-38.463565 -3.420055)'))) / (select extract(epoch from '2026-07-18 14:36:07'::timestamp) - extract(epoch from '2026-07-18 14:36:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463555 -3.420048)'), GeomFromEWKT('SRID=4674;POINT (-38.463565 -3.420055)'))) / (select extract(epoch from '2026-07-18 14:36:07'::timestamp) - extract(epoch from '2026-07-18 14:36: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'), 47391, 'SRID=4674;POINT (-38.463624 -3.420122)', '2026-07-18 14:36:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463565 -3.420055)'), GeomFromEWKT('SRID=4674;POINT (-38.463624 -3.420122)'))) / (select extract(epoch from '2026-07-18 14:36:12'::timestamp) - extract(epoch from '2026-07-18 14:36:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463565 -3.420055)'), GeomFromEWKT('SRID=4674;POINT (-38.463624 -3.420122)'))) / (select extract(epoch from '2026-07-18 14:36:12'::timestamp) - extract(epoch from '2026-07-18 14:36:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.463679 -3.420187)', '2026-07-18 14:36:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463624 -3.420122)'), GeomFromEWKT('SRID=4674;POINT (-38.463679 -3.420187)'))) / (select extract(epoch from '2026-07-18 14:36:17'::timestamp) - extract(epoch from '2026-07-18 14:36:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463624 -3.420122)'), GeomFromEWKT('SRID=4674;POINT (-38.463679 -3.420187)'))) / (select extract(epoch from '2026-07-18 14:36:17'::timestamp) - extract(epoch from '2026-07-18 14:36: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'), 47391, 'SRID=4674;POINT (-38.463729 -3.420275)', '2026-07-18 14:36:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463679 -3.420187)'), GeomFromEWKT('SRID=4674;POINT (-38.463729 -3.420275)'))) / (select extract(epoch from '2026-07-18 14:36:24'::timestamp) - extract(epoch from '2026-07-18 14:36:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463679 -3.420187)'), GeomFromEWKT('SRID=4674;POINT (-38.463729 -3.420275)'))) / (select extract(epoch from '2026-07-18 14:36:24'::timestamp) - extract(epoch from '2026-07-18 14:36: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'), 47391, 'SRID=4674;POINT (-38.463766 -3.420327)', '2026-07-18 14:36:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463729 -3.420275)'), GeomFromEWKT('SRID=4674;POINT (-38.463766 -3.420327)'))) / (select extract(epoch from '2026-07-18 14:36:29'::timestamp) - extract(epoch from '2026-07-18 14:36:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463729 -3.420275)'), GeomFromEWKT('SRID=4674;POINT (-38.463766 -3.420327)'))) / (select extract(epoch from '2026-07-18 14:36:29'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.463807 -3.420398)', '2026-07-18 14:36:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463766 -3.420327)'), GeomFromEWKT('SRID=4674;POINT (-38.463807 -3.420398)'))) / (select extract(epoch from '2026-07-18 14:36:34'::timestamp) - extract(epoch from '2026-07-18 14:36:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463766 -3.420327)'), GeomFromEWKT('SRID=4674;POINT (-38.463807 -3.420398)'))) / (select extract(epoch from '2026-07-18 14:36:34'::timestamp) - extract(epoch from '2026-07-18 14:36: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'), 47391, 'SRID=4674;POINT (-38.463851 -3.420462)', '2026-07-18 14:36:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463807 -3.420398)'), GeomFromEWKT('SRID=4674;POINT (-38.463851 -3.420462)'))) / (select extract(epoch from '2026-07-18 14:36:39'::timestamp) - extract(epoch from '2026-07-18 14:36:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463807 -3.420398)'), GeomFromEWKT('SRID=4674;POINT (-38.463851 -3.420462)'))) / (select extract(epoch from '2026-07-18 14:36:39'::timestamp) - extract(epoch from '2026-07-18 14:36:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.463895 -3.420536)', '2026-07-18 14:36:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463851 -3.420462)'), GeomFromEWKT('SRID=4674;POINT (-38.463895 -3.420536)'))) / (select extract(epoch from '2026-07-18 14:36:44'::timestamp) - extract(epoch from '2026-07-18 14:36:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463851 -3.420462)'), GeomFromEWKT('SRID=4674;POINT (-38.463895 -3.420536)'))) / (select extract(epoch from '2026-07-18 14:36:44'::timestamp) - extract(epoch from '2026-07-18 14:36: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'), 47391, 'SRID=4674;POINT (-38.463944 -3.420617)', '2026-07-18 14:36:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463895 -3.420536)'), GeomFromEWKT('SRID=4674;POINT (-38.463944 -3.420617)'))) / (select extract(epoch from '2026-07-18 14:36:49'::timestamp) - extract(epoch from '2026-07-18 14:36:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463895 -3.420536)'), GeomFromEWKT('SRID=4674;POINT (-38.463944 -3.420617)'))) / (select extract(epoch from '2026-07-18 14:36:49'::timestamp) - extract(epoch from '2026-07-18 14:36: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'), 47391, 'SRID=4674;POINT (-38.464004 -3.420705)', '2026-07-18 14:36:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463944 -3.420617)'), GeomFromEWKT('SRID=4674;POINT (-38.464004 -3.420705)'))) / (select extract(epoch from '2026-07-18 14:36:55'::timestamp) - extract(epoch from '2026-07-18 14:36:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.463944 -3.420617)'), GeomFromEWKT('SRID=4674;POINT (-38.464004 -3.420705)'))) / (select extract(epoch from '2026-07-18 14:36:55'::timestamp) - extract(epoch from '2026-07-18 14:36: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'), 47391, 'SRID=4674;POINT (-38.464055 -3.420781)', '2026-07-18 14:37:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464004 -3.420705)'), GeomFromEWKT('SRID=4674;POINT (-38.464055 -3.420781)'))) / (select extract(epoch from '2026-07-18 14:37:00'::timestamp) - extract(epoch from '2026-07-18 14:36:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464004 -3.420705)'), GeomFromEWKT('SRID=4674;POINT (-38.464055 -3.420781)'))) / (select extract(epoch from '2026-07-18 14:37:00'::timestamp) - extract(epoch from '2026-07-18 14:36: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'), 47391, 'SRID=4674;POINT (-38.464122 -3.42087)', '2026-07-18 14:37:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464055 -3.420781)'), GeomFromEWKT('SRID=4674;POINT (-38.464122 -3.42087)'))) / (select extract(epoch from '2026-07-18 14:37:06'::timestamp) - extract(epoch from '2026-07-18 14:37:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464055 -3.420781)'), GeomFromEWKT('SRID=4674;POINT (-38.464122 -3.42087)'))) / (select extract(epoch from '2026-07-18 14:37:06'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.464167 -3.420953)', '2026-07-18 14:37:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464122 -3.42087)'), GeomFromEWKT('SRID=4674;POINT (-38.464167 -3.420953)'))) / (select extract(epoch from '2026-07-18 14:37:11'::timestamp) - extract(epoch from '2026-07-18 14:37:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464122 -3.42087)'), GeomFromEWKT('SRID=4674;POINT (-38.464167 -3.420953)'))) / (select extract(epoch from '2026-07-18 14:37:11'::timestamp) - extract(epoch from '2026-07-18 14:37: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'), 47391, 'SRID=4674;POINT (-38.464204 -3.421008)', '2026-07-18 14:37:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464167 -3.420953)'), GeomFromEWKT('SRID=4674;POINT (-38.464204 -3.421008)'))) / (select extract(epoch from '2026-07-18 14:37:15'::timestamp) - extract(epoch from '2026-07-18 14:37:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464167 -3.420953)'), GeomFromEWKT('SRID=4674;POINT (-38.464204 -3.421008)'))) / (select extract(epoch from '2026-07-18 14:37:15'::timestamp) - extract(epoch from '2026-07-18 14:37: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'), 47391, 'SRID=4674;POINT (-38.464223 -3.421056)', '2026-07-18 14:37:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464204 -3.421008)'), GeomFromEWKT('SRID=4674;POINT (-38.464223 -3.421056)'))) / (select extract(epoch from '2026-07-18 14:37:18'::timestamp) - extract(epoch from '2026-07-18 14:37:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464204 -3.421008)'), GeomFromEWKT('SRID=4674;POINT (-38.464223 -3.421056)'))) / (select extract(epoch from '2026-07-18 14:37:18'::timestamp) - extract(epoch from '2026-07-18 14:37: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'), 47391, 'SRID=4674;POINT (-38.464245 -3.421085)', '2026-07-18 14:37:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464223 -3.421056)'), GeomFromEWKT('SRID=4674;POINT (-38.464245 -3.421085)'))) / (select extract(epoch from '2026-07-18 14:37:20'::timestamp) - extract(epoch from '2026-07-18 14:37:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464223 -3.421056)'), GeomFromEWKT('SRID=4674;POINT (-38.464245 -3.421085)'))) / (select extract(epoch from '2026-07-18 14:37:20'::timestamp) - extract(epoch from '2026-07-18 14:37:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.464296 -3.42118)', '2026-07-18 14:37:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464245 -3.421085)'), GeomFromEWKT('SRID=4674;POINT (-38.464296 -3.42118)'))) / (select extract(epoch from '2026-07-18 14:37:26'::timestamp) - extract(epoch from '2026-07-18 14:37:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464245 -3.421085)'), GeomFromEWKT('SRID=4674;POINT (-38.464296 -3.42118)'))) / (select extract(epoch from '2026-07-18 14:37:26'::timestamp) - extract(epoch from '2026-07-18 14:37: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'), 47391, 'SRID=4674;POINT (-38.464363 -3.421268)', '2026-07-18 14:37:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464296 -3.42118)'), GeomFromEWKT('SRID=4674;POINT (-38.464363 -3.421268)'))) / (select extract(epoch from '2026-07-18 14:37:32'::timestamp) - extract(epoch from '2026-07-18 14:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464296 -3.42118)'), GeomFromEWKT('SRID=4674;POINT (-38.464363 -3.421268)'))) / (select extract(epoch from '2026-07-18 14:37:32'::timestamp) - extract(epoch from '2026-07-18 14:37: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'), 47391, 'SRID=4674;POINT (-38.464432 -3.421365)', '2026-07-18 14:37:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464363 -3.421268)'), GeomFromEWKT('SRID=4674;POINT (-38.464432 -3.421365)'))) / (select extract(epoch from '2026-07-18 14:37:38'::timestamp) - extract(epoch from '2026-07-18 14:37:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464363 -3.421268)'), GeomFromEWKT('SRID=4674;POINT (-38.464432 -3.421365)'))) / (select extract(epoch from '2026-07-18 14:37:38'::timestamp) - extract(epoch from '2026-07-18 14:37: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'), 47391, 'SRID=4674;POINT (-38.464488 -3.421463)', '2026-07-18 14:37:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464432 -3.421365)'), GeomFromEWKT('SRID=4674;POINT (-38.464488 -3.421463)'))) / (select extract(epoch from '2026-07-18 14:37:44'::timestamp) - extract(epoch from '2026-07-18 14:37:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464432 -3.421365)'), GeomFromEWKT('SRID=4674;POINT (-38.464488 -3.421463)'))) / (select extract(epoch from '2026-07-18 14:37:44'::timestamp) - extract(epoch from '2026-07-18 14:37:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.464507 -3.421487)', '2026-07-18 14:37:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464488 -3.421463)'), GeomFromEWKT('SRID=4674;POINT (-38.464507 -3.421487)'))) / (select extract(epoch from '2026-07-18 14:37:46'::timestamp) - extract(epoch from '2026-07-18 14:37:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464488 -3.421463)'), GeomFromEWKT('SRID=4674;POINT (-38.464507 -3.421487)'))) / (select extract(epoch from '2026-07-18 14:37:46'::timestamp) - extract(epoch from '2026-07-18 14:37: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'), 47391, 'SRID=4674;POINT (-38.464532 -3.421531)', '2026-07-18 14:37:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464507 -3.421487)'), GeomFromEWKT('SRID=4674;POINT (-38.464532 -3.421531)'))) / (select extract(epoch from '2026-07-18 14:37:49'::timestamp) - extract(epoch from '2026-07-18 14:37:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464507 -3.421487)'), GeomFromEWKT('SRID=4674;POINT (-38.464532 -3.421531)'))) / (select extract(epoch from '2026-07-18 14:37:49'::timestamp) - extract(epoch from '2026-07-18 14:37:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.464547 -3.421559)', '2026-07-18 14:37:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464532 -3.421531)'), GeomFromEWKT('SRID=4674;POINT (-38.464547 -3.421559)'))) / (select extract(epoch from '2026-07-18 14:37:51'::timestamp) - extract(epoch from '2026-07-18 14:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464532 -3.421531)'), GeomFromEWKT('SRID=4674;POINT (-38.464547 -3.421559)'))) / (select extract(epoch from '2026-07-18 14:37:51'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.464585 -3.421609)', '2026-07-18 14:37:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464547 -3.421559)'), GeomFromEWKT('SRID=4674;POINT (-38.464585 -3.421609)'))) / (select extract(epoch from '2026-07-18 14:37:54'::timestamp) - extract(epoch from '2026-07-18 14:37:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464547 -3.421559)'), GeomFromEWKT('SRID=4674;POINT (-38.464585 -3.421609)'))) / (select extract(epoch from '2026-07-18 14:37:54'::timestamp) - extract(epoch from '2026-07-18 14:37: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'), 47391, 'SRID=4674;POINT (-38.464652 -3.421705)', '2026-07-18 14:38:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464585 -3.421609)'), GeomFromEWKT('SRID=4674;POINT (-38.464652 -3.421705)'))) / (select extract(epoch from '2026-07-18 14:38:00'::timestamp) - extract(epoch from '2026-07-18 14:37:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464585 -3.421609)'), GeomFromEWKT('SRID=4674;POINT (-38.464652 -3.421705)'))) / (select extract(epoch from '2026-07-18 14:38:00'::timestamp) - extract(epoch from '2026-07-18 14:37: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'), 47391, 'SRID=4674;POINT (-38.464688 -3.421763)', '2026-07-18 14:38:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464652 -3.421705)'), GeomFromEWKT('SRID=4674;POINT (-38.464688 -3.421763)'))) / (select extract(epoch from '2026-07-18 14:38:04'::timestamp) - extract(epoch from '2026-07-18 14:38:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464652 -3.421705)'), GeomFromEWKT('SRID=4674;POINT (-38.464688 -3.421763)'))) / (select extract(epoch from '2026-07-18 14:38:04'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.464701 -3.421772)', '2026-07-18 14:38:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464688 -3.421763)'), GeomFromEWKT('SRID=4674;POINT (-38.464701 -3.421772)'))) / (select extract(epoch from '2026-07-18 14:38:05'::timestamp) - extract(epoch from '2026-07-18 14:38:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464688 -3.421763)'), GeomFromEWKT('SRID=4674;POINT (-38.464701 -3.421772)'))) / (select extract(epoch from '2026-07-18 14:38:05'::timestamp) - extract(epoch from '2026-07-18 14:38:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.464722 -3.4218)', '2026-07-18 14:38:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464701 -3.421772)'), GeomFromEWKT('SRID=4674;POINT (-38.464722 -3.4218)'))) / (select extract(epoch from '2026-07-18 14:38:07'::timestamp) - extract(epoch from '2026-07-18 14:38:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464701 -3.421772)'), GeomFromEWKT('SRID=4674;POINT (-38.464722 -3.4218)'))) / (select extract(epoch from '2026-07-18 14:38:07'::timestamp) - extract(epoch from '2026-07-18 14:38: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'), 47391, 'SRID=4674;POINT (-38.46474 -3.421839)', '2026-07-18 14:38:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464722 -3.4218)'), GeomFromEWKT('SRID=4674;POINT (-38.46474 -3.421839)'))) / (select extract(epoch from '2026-07-18 14:38:10'::timestamp) - extract(epoch from '2026-07-18 14:38:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464722 -3.4218)'), GeomFromEWKT('SRID=4674;POINT (-38.46474 -3.421839)'))) / (select extract(epoch from '2026-07-18 14:38:10'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.464797 -3.421924)', '2026-07-18 14:38:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46474 -3.421839)'), GeomFromEWKT('SRID=4674;POINT (-38.464797 -3.421924)'))) / (select extract(epoch from '2026-07-18 14:38:16'::timestamp) - extract(epoch from '2026-07-18 14:38:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46474 -3.421839)'), GeomFromEWKT('SRID=4674;POINT (-38.464797 -3.421924)'))) / (select extract(epoch from '2026-07-18 14:38:16'::timestamp) - extract(epoch from '2026-07-18 14:38: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'), 47391, 'SRID=4674;POINT (-38.464839 -3.421989)', '2026-07-18 14:38:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464797 -3.421924)'), GeomFromEWKT('SRID=4674;POINT (-38.464839 -3.421989)'))) / (select extract(epoch from '2026-07-18 14:38:21'::timestamp) - extract(epoch from '2026-07-18 14:38:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464797 -3.421924)'), GeomFromEWKT('SRID=4674;POINT (-38.464839 -3.421989)'))) / (select extract(epoch from '2026-07-18 14:38:21'::timestamp) - extract(epoch from '2026-07-18 14:38: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'), 47391, 'SRID=4674;POINT (-38.464896 -3.422089)', '2026-07-18 14:38:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464839 -3.421989)'), GeomFromEWKT('SRID=4674;POINT (-38.464896 -3.422089)'))) / (select extract(epoch from '2026-07-18 14:38:27'::timestamp) - extract(epoch from '2026-07-18 14:38:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464839 -3.421989)'), GeomFromEWKT('SRID=4674;POINT (-38.464896 -3.422089)'))) / (select extract(epoch from '2026-07-18 14:38:27'::timestamp) - extract(epoch from '2026-07-18 14:38: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'), 47391, 'SRID=4674;POINT (-38.464912 -3.42211)', '2026-07-18 14:38:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464896 -3.422089)'), GeomFromEWKT('SRID=4674;POINT (-38.464912 -3.42211)'))) / (select extract(epoch from '2026-07-18 14:38:29'::timestamp) - extract(epoch from '2026-07-18 14:38:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464896 -3.422089)'), GeomFromEWKT('SRID=4674;POINT (-38.464912 -3.42211)'))) / (select extract(epoch from '2026-07-18 14:38:29'::timestamp) - extract(epoch from '2026-07-18 14:38: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'), 47391, 'SRID=4674;POINT (-38.464931 -3.422149)', '2026-07-18 14:38:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464912 -3.42211)'), GeomFromEWKT('SRID=4674;POINT (-38.464931 -3.422149)'))) / (select extract(epoch from '2026-07-18 14:38:31'::timestamp) - extract(epoch from '2026-07-18 14:38:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464912 -3.42211)'), GeomFromEWKT('SRID=4674;POINT (-38.464931 -3.422149)'))) / (select extract(epoch from '2026-07-18 14:38:31'::timestamp) - extract(epoch from '2026-07-18 14:38: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'), 47391, 'SRID=4674;POINT (-38.464962 -3.422242)', '2026-07-18 14:38:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464931 -3.422149)'), GeomFromEWKT('SRID=4674;POINT (-38.464962 -3.422242)'))) / (select extract(epoch from '2026-07-18 14:38:37'::timestamp) - extract(epoch from '2026-07-18 14:38:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464931 -3.422149)'), GeomFromEWKT('SRID=4674;POINT (-38.464962 -3.422242)'))) / (select extract(epoch from '2026-07-18 14:38:37'::timestamp) - extract(epoch from '2026-07-18 14:38:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.464996 -3.422339)', '2026-07-18 14:38:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464962 -3.422242)'), GeomFromEWKT('SRID=4674;POINT (-38.464996 -3.422339)'))) / (select extract(epoch from '2026-07-18 14:38:43'::timestamp) - extract(epoch from '2026-07-18 14:38:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464962 -3.422242)'), GeomFromEWKT('SRID=4674;POINT (-38.464996 -3.422339)'))) / (select extract(epoch from '2026-07-18 14:38:43'::timestamp) - extract(epoch from '2026-07-18 14:38: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'), 47391, 'SRID=4674;POINT (-38.465006 -3.422355)', '2026-07-18 14:38:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464996 -3.422339)'), GeomFromEWKT('SRID=4674;POINT (-38.465006 -3.422355)'))) / (select extract(epoch from '2026-07-18 14:38:44'::timestamp) - extract(epoch from '2026-07-18 14:38:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.464996 -3.422339)'), GeomFromEWKT('SRID=4674;POINT (-38.465006 -3.422355)'))) / (select extract(epoch from '2026-07-18 14:38:44'::timestamp) - extract(epoch from '2026-07-18 14:38: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'), 47391, 'SRID=4674;POINT (-38.465027 -3.422399)', '2026-07-18 14:38:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465006 -3.422355)'), GeomFromEWKT('SRID=4674;POINT (-38.465027 -3.422399)'))) / (select extract(epoch from '2026-07-18 14:38:47'::timestamp) - extract(epoch from '2026-07-18 14:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465006 -3.422355)'), GeomFromEWKT('SRID=4674;POINT (-38.465027 -3.422399)'))) / (select extract(epoch from '2026-07-18 14:38:47'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.46506 -3.422475)', '2026-07-18 14:38:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465027 -3.422399)'), GeomFromEWKT('SRID=4674;POINT (-38.46506 -3.422475)'))) / (select extract(epoch from '2026-07-18 14:38:51'::timestamp) - extract(epoch from '2026-07-18 14:38:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465027 -3.422399)'), GeomFromEWKT('SRID=4674;POINT (-38.46506 -3.422475)'))) / (select extract(epoch from '2026-07-18 14:38:51'::timestamp) - extract(epoch from '2026-07-18 14:38: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'), 47391, 'SRID=4674;POINT (-38.46508 -3.422503)', '2026-07-18 14:38:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46506 -3.422475)'), GeomFromEWKT('SRID=4674;POINT (-38.46508 -3.422503)'))) / (select extract(epoch from '2026-07-18 14:38:53'::timestamp) - extract(epoch from '2026-07-18 14:38:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46506 -3.422475)'), GeomFromEWKT('SRID=4674;POINT (-38.46508 -3.422503)'))) / (select extract(epoch from '2026-07-18 14:38:53'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.465098 -3.422534)', '2026-07-18 14:38:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46508 -3.422503)'), GeomFromEWKT('SRID=4674;POINT (-38.465098 -3.422534)'))) / (select extract(epoch from '2026-07-18 14:38:55'::timestamp) - extract(epoch from '2026-07-18 14:38:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46508 -3.422503)'), GeomFromEWKT('SRID=4674;POINT (-38.465098 -3.422534)'))) / (select extract(epoch from '2026-07-18 14:38:55'::timestamp) - extract(epoch from '2026-07-18 14:38: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'), 47391, 'SRID=4674;POINT (-38.465131 -3.422597)', '2026-07-18 14:38:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465098 -3.422534)'), GeomFromEWKT('SRID=4674;POINT (-38.465131 -3.422597)'))) / (select extract(epoch from '2026-07-18 14:38:59'::timestamp) - extract(epoch from '2026-07-18 14:38:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465098 -3.422534)'), GeomFromEWKT('SRID=4674;POINT (-38.465131 -3.422597)'))) / (select extract(epoch from '2026-07-18 14:38:59'::timestamp) - extract(epoch from '2026-07-18 14:38: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'), 47391, 'SRID=4674;POINT (-38.465156 -3.422655)', '2026-07-18 14:39:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465131 -3.422597)'), GeomFromEWKT('SRID=4674;POINT (-38.465156 -3.422655)'))) / (select extract(epoch from '2026-07-18 14:39:03'::timestamp) - extract(epoch from '2026-07-18 14:38:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465131 -3.422597)'), GeomFromEWKT('SRID=4674;POINT (-38.465156 -3.422655)'))) / (select extract(epoch from '2026-07-18 14:39:03'::timestamp) - extract(epoch from '2026-07-18 14:38: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'), 47391, 'SRID=4674;POINT (-38.46518 -3.422689)', '2026-07-18 14:39:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465156 -3.422655)'), GeomFromEWKT('SRID=4674;POINT (-38.46518 -3.422689)'))) / (select extract(epoch from '2026-07-18 14:39:06'::timestamp) - extract(epoch from '2026-07-18 14:39:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465156 -3.422655)'), GeomFromEWKT('SRID=4674;POINT (-38.46518 -3.422689)'))) / (select extract(epoch from '2026-07-18 14:39:06'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.465194 -3.422715)', '2026-07-18 14:39:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46518 -3.422689)'), GeomFromEWKT('SRID=4674;POINT (-38.465194 -3.422715)'))) / (select extract(epoch from '2026-07-18 14:39:08'::timestamp) - extract(epoch from '2026-07-18 14:39:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46518 -3.422689)'), GeomFromEWKT('SRID=4674;POINT (-38.465194 -3.422715)'))) / (select extract(epoch from '2026-07-18 14:39:08'::timestamp) - extract(epoch from '2026-07-18 14:39: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'), 47391, 'SRID=4674;POINT (-38.465235 -3.422761)', '2026-07-18 14:39:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465194 -3.422715)'), GeomFromEWKT('SRID=4674;POINT (-38.465235 -3.422761)'))) / (select extract(epoch from '2026-07-18 14:39:12'::timestamp) - extract(epoch from '2026-07-18 14:39:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465194 -3.422715)'), GeomFromEWKT('SRID=4674;POINT (-38.465235 -3.422761)'))) / (select extract(epoch from '2026-07-18 14:39:12'::timestamp) - extract(epoch from '2026-07-18 14:39: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'), 47391, 'SRID=4674;POINT (-38.465239 -3.422775)', '2026-07-18 14:39:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465235 -3.422761)'), GeomFromEWKT('SRID=4674;POINT (-38.465239 -3.422775)'))) / (select extract(epoch from '2026-07-18 14:39:13'::timestamp) - extract(epoch from '2026-07-18 14:39:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465235 -3.422761)'), GeomFromEWKT('SRID=4674;POINT (-38.465239 -3.422775)'))) / (select extract(epoch from '2026-07-18 14:39:13'::timestamp) - extract(epoch from '2026-07-18 14:39: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'), 47391, 'SRID=4674;POINT (-38.465264 -3.422816)', '2026-07-18 14:39:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465239 -3.422775)'), GeomFromEWKT('SRID=4674;POINT (-38.465264 -3.422816)'))) / (select extract(epoch from '2026-07-18 14:39:15'::timestamp) - extract(epoch from '2026-07-18 14:39:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465239 -3.422775)'), GeomFromEWKT('SRID=4674;POINT (-38.465264 -3.422816)'))) / (select extract(epoch from '2026-07-18 14:39:15'::timestamp) - extract(epoch from '2026-07-18 14:39: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'), 47391, 'SRID=4674;POINT (-38.465284 -3.422836)', '2026-07-18 14:39:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465264 -3.422816)'), GeomFromEWKT('SRID=4674;POINT (-38.465284 -3.422836)'))) / (select extract(epoch from '2026-07-18 14:39:16'::timestamp) - extract(epoch from '2026-07-18 14:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465264 -3.422816)'), GeomFromEWKT('SRID=4674;POINT (-38.465284 -3.422836)'))) / (select extract(epoch from '2026-07-18 14:39:16'::timestamp) - extract(epoch from '2026-07-18 14:39: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'), 47391, 'SRID=4674;POINT (-38.465296 -3.422864)', '2026-07-18 14:39:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465284 -3.422836)'), GeomFromEWKT('SRID=4674;POINT (-38.465296 -3.422864)'))) / (select extract(epoch from '2026-07-18 14:39:18'::timestamp) - extract(epoch from '2026-07-18 14:39:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465284 -3.422836)'), GeomFromEWKT('SRID=4674;POINT (-38.465296 -3.422864)'))) / (select extract(epoch from '2026-07-18 14:39:18'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.465295 -3.422876)', '2026-07-18 14:39:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465296 -3.422864)'), GeomFromEWKT('SRID=4674;POINT (-38.465295 -3.422876)'))) / (select extract(epoch from '2026-07-18 14:39:19'::timestamp) - extract(epoch from '2026-07-18 14:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465296 -3.422864)'), GeomFromEWKT('SRID=4674;POINT (-38.465295 -3.422876)'))) / (select extract(epoch from '2026-07-18 14:39:19'::timestamp) - extract(epoch from '2026-07-18 14:39: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'), 47391, 'SRID=4674;POINT (-38.46533 -3.422922)', '2026-07-18 14:39:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465295 -3.422876)'), GeomFromEWKT('SRID=4674;POINT (-38.46533 -3.422922)'))) / (select extract(epoch from '2026-07-18 14:39:23'::timestamp) - extract(epoch from '2026-07-18 14:39:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465295 -3.422876)'), GeomFromEWKT('SRID=4674;POINT (-38.46533 -3.422922)'))) / (select extract(epoch from '2026-07-18 14:39:23'::timestamp) - extract(epoch from '2026-07-18 14:39: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'), 47391, 'SRID=4674;POINT (-38.465352 -3.422955)', '2026-07-18 14:39:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46533 -3.422922)'), GeomFromEWKT('SRID=4674;POINT (-38.465352 -3.422955)'))) / (select extract(epoch from '2026-07-18 14:39:25'::timestamp) - extract(epoch from '2026-07-18 14:39:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46533 -3.422922)'), GeomFromEWKT('SRID=4674;POINT (-38.465352 -3.422955)'))) / (select extract(epoch from '2026-07-18 14:39:25'::timestamp) - extract(epoch from '2026-07-18 14:39: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'), 47391, 'SRID=4674;POINT (-38.465408 -3.423019)', '2026-07-18 14:39:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465352 -3.422955)'), GeomFromEWKT('SRID=4674;POINT (-38.465408 -3.423019)'))) / (select extract(epoch from '2026-07-18 14:39:30'::timestamp) - extract(epoch from '2026-07-18 14:39:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465352 -3.422955)'), GeomFromEWKT('SRID=4674;POINT (-38.465408 -3.423019)'))) / (select extract(epoch from '2026-07-18 14:39:30'::timestamp) - extract(epoch from '2026-07-18 14:39: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'), 47391, 'SRID=4674;POINT (-38.465428 -3.423049)', '2026-07-18 14:39:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465408 -3.423019)'), GeomFromEWKT('SRID=4674;POINT (-38.465428 -3.423049)'))) / (select extract(epoch from '2026-07-18 14:39:32'::timestamp) - extract(epoch from '2026-07-18 14:39:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465408 -3.423019)'), GeomFromEWKT('SRID=4674;POINT (-38.465428 -3.423049)'))) / (select extract(epoch from '2026-07-18 14:39:32'::timestamp) - extract(epoch from '2026-07-18 14:39: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'), 47391, 'SRID=4674;POINT (-38.465438 -3.423069)', '2026-07-18 14:39:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465428 -3.423049)'), GeomFromEWKT('SRID=4674;POINT (-38.465438 -3.423069)'))) / (select extract(epoch from '2026-07-18 14:39:33'::timestamp) - extract(epoch from '2026-07-18 14:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465428 -3.423049)'), GeomFromEWKT('SRID=4674;POINT (-38.465438 -3.423069)'))) / (select extract(epoch from '2026-07-18 14:39:33'::timestamp) - extract(epoch from '2026-07-18 14:39:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.465476 -3.423148)', '2026-07-18 14:39:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465438 -3.423069)'), GeomFromEWKT('SRID=4674;POINT (-38.465476 -3.423148)'))) / (select extract(epoch from '2026-07-18 14:39:37'::timestamp) - extract(epoch from '2026-07-18 14:39:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465438 -3.423069)'), GeomFromEWKT('SRID=4674;POINT (-38.465476 -3.423148)'))) / (select extract(epoch from '2026-07-18 14:39:37'::timestamp) - extract(epoch from '2026-07-18 14:39:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.465517 -3.423216)', '2026-07-18 14:39:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465476 -3.423148)'), GeomFromEWKT('SRID=4674;POINT (-38.465517 -3.423216)'))) / (select extract(epoch from '2026-07-18 14:39:42'::timestamp) - extract(epoch from '2026-07-18 14:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465476 -3.423148)'), GeomFromEWKT('SRID=4674;POINT (-38.465517 -3.423216)'))) / (select extract(epoch from '2026-07-18 14:39:42'::timestamp) - extract(epoch from '2026-07-18 14:39: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'), 47391, 'SRID=4674;POINT (-38.465555 -3.423292)', '2026-07-18 14:39:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465517 -3.423216)'), GeomFromEWKT('SRID=4674;POINT (-38.465555 -3.423292)'))) / (select extract(epoch from '2026-07-18 14:39:47'::timestamp) - extract(epoch from '2026-07-18 14:39:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465517 -3.423216)'), GeomFromEWKT('SRID=4674;POINT (-38.465555 -3.423292)'))) / (select extract(epoch from '2026-07-18 14:39:47'::timestamp) - extract(epoch from '2026-07-18 14:39: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'), 47391, 'SRID=4674;POINT (-38.465612 -3.423399)', '2026-07-18 14:39:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465555 -3.423292)'), GeomFromEWKT('SRID=4674;POINT (-38.465612 -3.423399)'))) / (select extract(epoch from '2026-07-18 14:39:54'::timestamp) - extract(epoch from '2026-07-18 14:39:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465555 -3.423292)'), GeomFromEWKT('SRID=4674;POINT (-38.465612 -3.423399)'))) / (select extract(epoch from '2026-07-18 14:39:54'::timestamp) - extract(epoch from '2026-07-18 14:39: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'), 47391, 'SRID=4674;POINT (-38.465638 -3.423438)', '2026-07-18 14:39:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465612 -3.423399)'), GeomFromEWKT('SRID=4674;POINT (-38.465638 -3.423438)'))) / (select extract(epoch from '2026-07-18 14:39:57'::timestamp) - extract(epoch from '2026-07-18 14:39:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465612 -3.423399)'), GeomFromEWKT('SRID=4674;POINT (-38.465638 -3.423438)'))) / (select extract(epoch from '2026-07-18 14:39:57'::timestamp) - extract(epoch from '2026-07-18 14:39:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.465647 -3.423465)', '2026-07-18 14:39:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465638 -3.423438)'), GeomFromEWKT('SRID=4674;POINT (-38.465647 -3.423465)'))) / (select extract(epoch from '2026-07-18 14:39:59'::timestamp) - extract(epoch from '2026-07-18 14:39:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465638 -3.423438)'), GeomFromEWKT('SRID=4674;POINT (-38.465647 -3.423465)'))) / (select extract(epoch from '2026-07-18 14:39:59'::timestamp) - extract(epoch from '2026-07-18 14:39: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'), 47391, 'SRID=4674;POINT (-38.465693 -3.423549)', '2026-07-18 14:40:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465647 -3.423465)'), GeomFromEWKT('SRID=4674;POINT (-38.465693 -3.423549)'))) / (select extract(epoch from '2026-07-18 14:40:04'::timestamp) - extract(epoch from '2026-07-18 14:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465647 -3.423465)'), GeomFromEWKT('SRID=4674;POINT (-38.465693 -3.423549)'))) / (select extract(epoch from '2026-07-18 14:40:04'::timestamp) - extract(epoch from '2026-07-18 14:39: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'), 47391, 'SRID=4674;POINT (-38.46574 -3.423649)', '2026-07-18 14:40:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465693 -3.423549)'), GeomFromEWKT('SRID=4674;POINT (-38.46574 -3.423649)'))) / (select extract(epoch from '2026-07-18 14:40:10'::timestamp) - extract(epoch from '2026-07-18 14:40:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465693 -3.423549)'), GeomFromEWKT('SRID=4674;POINT (-38.46574 -3.423649)'))) / (select extract(epoch from '2026-07-18 14:40:10'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.465754 -3.423685)', '2026-07-18 14:40:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46574 -3.423649)'), GeomFromEWKT('SRID=4674;POINT (-38.465754 -3.423685)'))) / (select extract(epoch from '2026-07-18 14:40:12'::timestamp) - extract(epoch from '2026-07-18 14:40:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46574 -3.423649)'), GeomFromEWKT('SRID=4674;POINT (-38.465754 -3.423685)'))) / (select extract(epoch from '2026-07-18 14:40:12'::timestamp) - extract(epoch from '2026-07-18 14:40:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.465769 -3.423738)', '2026-07-18 14:40:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465754 -3.423685)'), GeomFromEWKT('SRID=4674;POINT (-38.465769 -3.423738)'))) / (select extract(epoch from '2026-07-18 14:40:15'::timestamp) - extract(epoch from '2026-07-18 14:40:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465754 -3.423685)'), GeomFromEWKT('SRID=4674;POINT (-38.465769 -3.423738)'))) / (select extract(epoch from '2026-07-18 14:40:15'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.465809 -3.423824)', '2026-07-18 14:40:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465769 -3.423738)'), GeomFromEWKT('SRID=4674;POINT (-38.465809 -3.423824)'))) / (select extract(epoch from '2026-07-18 14:40:20'::timestamp) - extract(epoch from '2026-07-18 14:40:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465769 -3.423738)'), GeomFromEWKT('SRID=4674;POINT (-38.465809 -3.423824)'))) / (select extract(epoch from '2026-07-18 14:40:20'::timestamp) - extract(epoch from '2026-07-18 14:40: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'), 47391, 'SRID=4674;POINT (-38.465865 -3.423929)', '2026-07-18 14:40:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465809 -3.423824)'), GeomFromEWKT('SRID=4674;POINT (-38.465865 -3.423929)'))) / (select extract(epoch from '2026-07-18 14:40:26'::timestamp) - extract(epoch from '2026-07-18 14:40:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465809 -3.423824)'), GeomFromEWKT('SRID=4674;POINT (-38.465865 -3.423929)'))) / (select extract(epoch from '2026-07-18 14:40:26'::timestamp) - extract(epoch from '2026-07-18 14:40:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.465919 -3.424005)', '2026-07-18 14:40:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465865 -3.423929)'), GeomFromEWKT('SRID=4674;POINT (-38.465919 -3.424005)'))) / (select extract(epoch from '2026-07-18 14:40:32'::timestamp) - extract(epoch from '2026-07-18 14:40:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465865 -3.423929)'), GeomFromEWKT('SRID=4674;POINT (-38.465919 -3.424005)'))) / (select extract(epoch from '2026-07-18 14:40:32'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.465939 -3.424034)', '2026-07-18 14:40:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465919 -3.424005)'), GeomFromEWKT('SRID=4674;POINT (-38.465939 -3.424034)'))) / (select extract(epoch from '2026-07-18 14:40:34'::timestamp) - extract(epoch from '2026-07-18 14:40:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465919 -3.424005)'), GeomFromEWKT('SRID=4674;POINT (-38.465939 -3.424034)'))) / (select extract(epoch from '2026-07-18 14:40:34'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.465956 -3.42406)', '2026-07-18 14:40:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465939 -3.424034)'), GeomFromEWKT('SRID=4674;POINT (-38.465956 -3.42406)'))) / (select extract(epoch from '2026-07-18 14:40:36'::timestamp) - extract(epoch from '2026-07-18 14:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465939 -3.424034)'), GeomFromEWKT('SRID=4674;POINT (-38.465956 -3.42406)'))) / (select extract(epoch from '2026-07-18 14:40:36'::timestamp) - extract(epoch from '2026-07-18 14:40:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.466011 -3.424143)', '2026-07-18 14:40:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465956 -3.42406)'), GeomFromEWKT('SRID=4674;POINT (-38.466011 -3.424143)'))) / (select extract(epoch from '2026-07-18 14:40:41'::timestamp) - extract(epoch from '2026-07-18 14:40:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.465956 -3.42406)'), GeomFromEWKT('SRID=4674;POINT (-38.466011 -3.424143)'))) / (select extract(epoch from '2026-07-18 14:40:41'::timestamp) - extract(epoch from '2026-07-18 14:40: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'), 47391, 'SRID=4674;POINT (-38.466019 -3.424154)', '2026-07-18 14:40:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466011 -3.424143)'), GeomFromEWKT('SRID=4674;POINT (-38.466019 -3.424154)'))) / (select extract(epoch from '2026-07-18 14:40:42'::timestamp) - extract(epoch from '2026-07-18 14:40:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466011 -3.424143)'), GeomFromEWKT('SRID=4674;POINT (-38.466019 -3.424154)'))) / (select extract(epoch from '2026-07-18 14:40:42'::timestamp) - extract(epoch from '2026-07-18 14:40: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'), 47391, 'SRID=4674;POINT (-38.466037 -3.4242)', '2026-07-18 14:40:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466019 -3.424154)'), GeomFromEWKT('SRID=4674;POINT (-38.466037 -3.4242)'))) / (select extract(epoch from '2026-07-18 14:40:45'::timestamp) - extract(epoch from '2026-07-18 14:40:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466019 -3.424154)'), GeomFromEWKT('SRID=4674;POINT (-38.466037 -3.4242)'))) / (select extract(epoch from '2026-07-18 14:40:45'::timestamp) - extract(epoch from '2026-07-18 14:40:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.466088 -3.424273)', '2026-07-18 14:40:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466037 -3.4242)'), GeomFromEWKT('SRID=4674;POINT (-38.466088 -3.424273)'))) / (select extract(epoch from '2026-07-18 14:40:51'::timestamp) - extract(epoch from '2026-07-18 14:40:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466037 -3.4242)'), GeomFromEWKT('SRID=4674;POINT (-38.466088 -3.424273)'))) / (select extract(epoch from '2026-07-18 14:40:51'::timestamp) - extract(epoch from '2026-07-18 14:40: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'), 47391, 'SRID=4674;POINT (-38.46614 -3.424332)', '2026-07-18 14:40:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466088 -3.424273)'), GeomFromEWKT('SRID=4674;POINT (-38.46614 -3.424332)'))) / (select extract(epoch from '2026-07-18 14:40:56'::timestamp) - extract(epoch from '2026-07-18 14:40:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466088 -3.424273)'), GeomFromEWKT('SRID=4674;POINT (-38.46614 -3.424332)'))) / (select extract(epoch from '2026-07-18 14:40:56'::timestamp) - extract(epoch from '2026-07-18 14:40: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'), 47391, 'SRID=4674;POINT (-38.466147 -3.424343)', '2026-07-18 14:40:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46614 -3.424332)'), GeomFromEWKT('SRID=4674;POINT (-38.466147 -3.424343)'))) / (select extract(epoch from '2026-07-18 14:40:57'::timestamp) - extract(epoch from '2026-07-18 14:40:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46614 -3.424332)'), GeomFromEWKT('SRID=4674;POINT (-38.466147 -3.424343)'))) / (select extract(epoch from '2026-07-18 14:40:57'::timestamp) - extract(epoch from '2026-07-18 14:40:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.466183 -3.424408)', '2026-07-18 14:41:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466147 -3.424343)'), GeomFromEWKT('SRID=4674;POINT (-38.466183 -3.424408)'))) / (select extract(epoch from '2026-07-18 14:41:01'::timestamp) - extract(epoch from '2026-07-18 14:40:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466147 -3.424343)'), GeomFromEWKT('SRID=4674;POINT (-38.466183 -3.424408)'))) / (select extract(epoch from '2026-07-18 14:41:01'::timestamp) - extract(epoch from '2026-07-18 14:40: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'), 47391, 'SRID=4674;POINT (-38.466213 -3.42445)', '2026-07-18 14:41:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466183 -3.424408)'), GeomFromEWKT('SRID=4674;POINT (-38.466213 -3.42445)'))) / (select extract(epoch from '2026-07-18 14:41:04'::timestamp) - extract(epoch from '2026-07-18 14:41:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466183 -3.424408)'), GeomFromEWKT('SRID=4674;POINT (-38.466213 -3.42445)'))) / (select extract(epoch from '2026-07-18 14:41:04'::timestamp) - extract(epoch from '2026-07-18 14:41: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'), 47391, 'SRID=4674;POINT (-38.466224 -3.424478)', '2026-07-18 14:41:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466213 -3.42445)'), GeomFromEWKT('SRID=4674;POINT (-38.466224 -3.424478)'))) / (select extract(epoch from '2026-07-18 14:41:06'::timestamp) - extract(epoch from '2026-07-18 14:41:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466213 -3.42445)'), GeomFromEWKT('SRID=4674;POINT (-38.466224 -3.424478)'))) / (select extract(epoch from '2026-07-18 14:41:06'::timestamp) - extract(epoch from '2026-07-18 14:41:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.466264 -3.424569)', '2026-07-18 14:41:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466224 -3.424478)'), GeomFromEWKT('SRID=4674;POINT (-38.466264 -3.424569)'))) / (select extract(epoch from '2026-07-18 14:41:12'::timestamp) - extract(epoch from '2026-07-18 14:41:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466224 -3.424478)'), GeomFromEWKT('SRID=4674;POINT (-38.466264 -3.424569)'))) / (select extract(epoch from '2026-07-18 14:41:12'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.466263 -3.424584)', '2026-07-18 14:41:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466264 -3.424569)'), GeomFromEWKT('SRID=4674;POINT (-38.466263 -3.424584)'))) / (select extract(epoch from '2026-07-18 14:41:13'::timestamp) - extract(epoch from '2026-07-18 14:41:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466264 -3.424569)'), GeomFromEWKT('SRID=4674;POINT (-38.466263 -3.424584)'))) / (select extract(epoch from '2026-07-18 14:41:13'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.466273 -3.424606)', '2026-07-18 14:41:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466263 -3.424584)'), GeomFromEWKT('SRID=4674;POINT (-38.466273 -3.424606)'))) / (select extract(epoch from '2026-07-18 14:41:15'::timestamp) - extract(epoch from '2026-07-18 14:41:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466263 -3.424584)'), GeomFromEWKT('SRID=4674;POINT (-38.466273 -3.424606)'))) / (select extract(epoch from '2026-07-18 14:41:15'::timestamp) - extract(epoch from '2026-07-18 14:41: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'), 47391, 'SRID=4674;POINT (-38.466294 -3.42463)', '2026-07-18 14:41:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466273 -3.424606)'), GeomFromEWKT('SRID=4674;POINT (-38.466294 -3.42463)'))) / (select extract(epoch from '2026-07-18 14:41:17'::timestamp) - extract(epoch from '2026-07-18 14:41:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466273 -3.424606)'), GeomFromEWKT('SRID=4674;POINT (-38.466294 -3.42463)'))) / (select extract(epoch from '2026-07-18 14:41:17'::timestamp) - extract(epoch from '2026-07-18 14:41: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'), 47391, 'SRID=4674;POINT (-38.466342 -3.424707)', '2026-07-18 14:41:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466294 -3.42463)'), GeomFromEWKT('SRID=4674;POINT (-38.466342 -3.424707)'))) / (select extract(epoch from '2026-07-18 14:41:23'::timestamp) - extract(epoch from '2026-07-18 14:41:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466294 -3.42463)'), GeomFromEWKT('SRID=4674;POINT (-38.466342 -3.424707)'))) / (select extract(epoch from '2026-07-18 14:41:23'::timestamp) - extract(epoch from '2026-07-18 14:41:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.466405 -3.424771)', '2026-07-18 14:41:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466342 -3.424707)'), GeomFromEWKT('SRID=4674;POINT (-38.466405 -3.424771)'))) / (select extract(epoch from '2026-07-18 14:41:29'::timestamp) - extract(epoch from '2026-07-18 14:41:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466342 -3.424707)'), GeomFromEWKT('SRID=4674;POINT (-38.466405 -3.424771)'))) / (select extract(epoch from '2026-07-18 14:41:29'::timestamp) - extract(epoch from '2026-07-18 14:41: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'), 47391, 'SRID=4674;POINT (-38.466411 -3.424785)', '2026-07-18 14:41:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466405 -3.424771)'), GeomFromEWKT('SRID=4674;POINT (-38.466411 -3.424785)'))) / (select extract(epoch from '2026-07-18 14:41:30'::timestamp) - extract(epoch from '2026-07-18 14:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466405 -3.424771)'), GeomFromEWKT('SRID=4674;POINT (-38.466411 -3.424785)'))) / (select extract(epoch from '2026-07-18 14:41:30'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.466434 -3.424846)', '2026-07-18 14:41:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466411 -3.424785)'), GeomFromEWKT('SRID=4674;POINT (-38.466434 -3.424846)'))) / (select extract(epoch from '2026-07-18 14:41:34'::timestamp) - extract(epoch from '2026-07-18 14:41:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466411 -3.424785)'), GeomFromEWKT('SRID=4674;POINT (-38.466434 -3.424846)'))) / (select extract(epoch from '2026-07-18 14:41:34'::timestamp) - extract(epoch from '2026-07-18 14:41:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.466487 -3.424928)', '2026-07-18 14:41:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466434 -3.424846)'), GeomFromEWKT('SRID=4674;POINT (-38.466487 -3.424928)'))) / (select extract(epoch from '2026-07-18 14:41:40'::timestamp) - extract(epoch from '2026-07-18 14:41:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466434 -3.424846)'), GeomFromEWKT('SRID=4674;POINT (-38.466487 -3.424928)'))) / (select extract(epoch from '2026-07-18 14:41:40'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.466499 -3.424953)', '2026-07-18 14:41:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466487 -3.424928)'), GeomFromEWKT('SRID=4674;POINT (-38.466499 -3.424953)'))) / (select extract(epoch from '2026-07-18 14:41:42'::timestamp) - extract(epoch from '2026-07-18 14:41:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466487 -3.424928)'), GeomFromEWKT('SRID=4674;POINT (-38.466499 -3.424953)'))) / (select extract(epoch from '2026-07-18 14:41:42'::timestamp) - extract(epoch from '2026-07-18 14:41:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
