 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.674985 -3.425936)', '2026-08-12 20:16:50', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675006 -3.425935)'), GeomFromEWKT('SRID=4674;POINT (-38.674985 -3.425936)'))) / (select extract(epoch from '2026-08-12 20:16:50'::timestamp) - extract(epoch from '2026-08-12 20:16:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675006 -3.425935)'), GeomFromEWKT('SRID=4674;POINT (-38.674985 -3.425936)'))) / (select extract(epoch from '2026-08-12 20:16:50'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.674962 -3.425915)', '2026-08-12 20:16:50', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674985 -3.425936)'), GeomFromEWKT('SRID=4674;POINT (-38.674962 -3.425915)'))) / (select extract(epoch from '2026-08-12 20:16:50'::timestamp) - extract(epoch from '2026-08-12 20:16:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674985 -3.425936)'), GeomFromEWKT('SRID=4674;POINT (-38.674962 -3.425915)'))) / (select extract(epoch from '2026-08-12 20:16:50'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.674933 -3.425898)', '2026-08-12 20:16:51', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674962 -3.425915)'), GeomFromEWKT('SRID=4674;POINT (-38.674933 -3.425898)'))) / (select extract(epoch from '2026-08-12 20:16:51'::timestamp) - extract(epoch from '2026-08-12 20:16:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674962 -3.425915)'), GeomFromEWKT('SRID=4674;POINT (-38.674933 -3.425898)'))) / (select extract(epoch from '2026-08-12 20:16:51'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.67491 -3.425885)', '2026-08-12 20:16:51', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674933 -3.425898)'), GeomFromEWKT('SRID=4674;POINT (-38.67491 -3.425885)'))) / (select extract(epoch from '2026-08-12 20:16:51'::timestamp) - extract(epoch from '2026-08-12 20:16:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674933 -3.425898)'), GeomFromEWKT('SRID=4674;POINT (-38.67491 -3.425885)'))) / (select extract(epoch from '2026-08-12 20:16:51'::timestamp) - extract(epoch from '2026-08-12 20:16: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'), 48120, 'SRID=4674;POINT (-38.67488 -3.425872)', '2026-08-12 20:16:51', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67491 -3.425885)'), GeomFromEWKT('SRID=4674;POINT (-38.67488 -3.425872)'))) / (select extract(epoch from '2026-08-12 20:16:51'::timestamp) - extract(epoch from '2026-08-12 20:16:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67491 -3.425885)'), GeomFromEWKT('SRID=4674;POINT (-38.67488 -3.425872)'))) / (select extract(epoch from '2026-08-12 20:16:51'::timestamp) - extract(epoch from '2026-08-12 20:16: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'), 48120, 'SRID=4674;POINT (-38.674845 -3.425843)', '2026-08-12 20:16:51', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67488 -3.425872)'), GeomFromEWKT('SRID=4674;POINT (-38.674845 -3.425843)'))) / (select extract(epoch from '2026-08-12 20:16:51'::timestamp) - extract(epoch from '2026-08-12 20:16:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67488 -3.425872)'), GeomFromEWKT('SRID=4674;POINT (-38.674845 -3.425843)'))) / (select extract(epoch from '2026-08-12 20:16:51'::timestamp) - extract(epoch from '2026-08-12 20:16: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'), 48120, 'SRID=4674;POINT (-38.674809 -3.425866)', '2026-08-12 20:16:52', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674845 -3.425843)'), GeomFromEWKT('SRID=4674;POINT (-38.674809 -3.425866)'))) / (select extract(epoch from '2026-08-12 20:16:52'::timestamp) - extract(epoch from '2026-08-12 20:16:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674845 -3.425843)'), GeomFromEWKT('SRID=4674;POINT (-38.674809 -3.425866)'))) / (select extract(epoch from '2026-08-12 20:16:52'::timestamp) - extract(epoch from '2026-08-12 20:16: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'), 48120, 'SRID=4674;POINT (-38.674828 -3.425912)', '2026-08-12 20:16:52', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674809 -3.425866)'), GeomFromEWKT('SRID=4674;POINT (-38.674828 -3.425912)'))) / (select extract(epoch from '2026-08-12 20:16:52'::timestamp) - extract(epoch from '2026-08-12 20:16:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674809 -3.425866)'), GeomFromEWKT('SRID=4674;POINT (-38.674828 -3.425912)'))) / (select extract(epoch from '2026-08-12 20:16:52'::timestamp) - extract(epoch from '2026-08-12 20:16:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.674862 -3.425927)', '2026-08-12 20:16:52', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674828 -3.425912)'), GeomFromEWKT('SRID=4674;POINT (-38.674862 -3.425927)'))) / (select extract(epoch from '2026-08-12 20:16:52'::timestamp) - extract(epoch from '2026-08-12 20:16:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674828 -3.425912)'), GeomFromEWKT('SRID=4674;POINT (-38.674862 -3.425927)'))) / (select extract(epoch from '2026-08-12 20:16:52'::timestamp) - extract(epoch from '2026-08-12 20:16:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.674924 -3.425948)', '2026-08-12 20:16:53', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674862 -3.425927)'), GeomFromEWKT('SRID=4674;POINT (-38.674924 -3.425948)'))) / (select extract(epoch from '2026-08-12 20:16:53'::timestamp) - extract(epoch from '2026-08-12 20:16:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674862 -3.425927)'), GeomFromEWKT('SRID=4674;POINT (-38.674924 -3.425948)'))) / (select extract(epoch from '2026-08-12 20:16:53'::timestamp) - extract(epoch from '2026-08-12 20:16:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.674997 -3.425997)', '2026-08-12 20:16:53', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674924 -3.425948)'), GeomFromEWKT('SRID=4674;POINT (-38.674997 -3.425997)'))) / (select extract(epoch from '2026-08-12 20:16:53'::timestamp) - extract(epoch from '2026-08-12 20:16:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674924 -3.425948)'), GeomFromEWKT('SRID=4674;POINT (-38.674997 -3.425997)'))) / (select extract(epoch from '2026-08-12 20:16:53'::timestamp) - extract(epoch from '2026-08-12 20:16:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675047 -3.426058)', '2026-08-12 20:16:54', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674997 -3.425997)'), GeomFromEWKT('SRID=4674;POINT (-38.675047 -3.426058)'))) / (select extract(epoch from '2026-08-12 20:16:54'::timestamp) - extract(epoch from '2026-08-12 20:16:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.674997 -3.425997)'), GeomFromEWKT('SRID=4674;POINT (-38.675047 -3.426058)'))) / (select extract(epoch from '2026-08-12 20:16:54'::timestamp) - extract(epoch from '2026-08-12 20:16:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675055 -3.426067)', '2026-08-12 20:16:54', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675047 -3.426058)'), GeomFromEWKT('SRID=4674;POINT (-38.675055 -3.426067)'))) / (select extract(epoch from '2026-08-12 20:16:54'::timestamp) - extract(epoch from '2026-08-12 20:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675047 -3.426058)'), GeomFromEWKT('SRID=4674;POINT (-38.675055 -3.426067)'))) / (select extract(epoch from '2026-08-12 20:16:54'::timestamp) - extract(epoch from '2026-08-12 20:16: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'), 48120, 'SRID=4674;POINT (-38.675089 -3.42609)', '2026-08-12 20:16:54', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675055 -3.426067)'), GeomFromEWKT('SRID=4674;POINT (-38.675089 -3.42609)'))) / (select extract(epoch from '2026-08-12 20:16:54'::timestamp) - extract(epoch from '2026-08-12 20:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675055 -3.426067)'), GeomFromEWKT('SRID=4674;POINT (-38.675089 -3.42609)'))) / (select extract(epoch from '2026-08-12 20:16:54'::timestamp) - extract(epoch from '2026-08-12 20:16: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'), 48120, 'SRID=4674;POINT (-38.675099 -3.426093)', '2026-08-12 20:16:54', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675089 -3.42609)'), GeomFromEWKT('SRID=4674;POINT (-38.675099 -3.426093)'))) / (select extract(epoch from '2026-08-12 20:16:54'::timestamp) - extract(epoch from '2026-08-12 20:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675089 -3.42609)'), GeomFromEWKT('SRID=4674;POINT (-38.675099 -3.426093)'))) / (select extract(epoch from '2026-08-12 20:16:54'::timestamp) - extract(epoch from '2026-08-12 20:16: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'), 48120, 'SRID=4674;POINT (-38.675119 -3.42611)', '2026-08-12 20:16:54', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675099 -3.426093)'), GeomFromEWKT('SRID=4674;POINT (-38.675119 -3.42611)'))) / (select extract(epoch from '2026-08-12 20:16:54'::timestamp) - extract(epoch from '2026-08-12 20:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675099 -3.426093)'), GeomFromEWKT('SRID=4674;POINT (-38.675119 -3.42611)'))) / (select extract(epoch from '2026-08-12 20:16:54'::timestamp) - extract(epoch from '2026-08-12 20:16: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'), 48120, 'SRID=4674;POINT (-38.675183 -3.426129)', '2026-08-12 20:16:55', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675119 -3.42611)'), GeomFromEWKT('SRID=4674;POINT (-38.675183 -3.426129)'))) / (select extract(epoch from '2026-08-12 20:16:55'::timestamp) - extract(epoch from '2026-08-12 20:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675119 -3.42611)'), GeomFromEWKT('SRID=4674;POINT (-38.675183 -3.426129)'))) / (select extract(epoch from '2026-08-12 20:16:55'::timestamp) - extract(epoch from '2026-08-12 20:16: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'), 48120, 'SRID=4674;POINT (-38.675246 -3.426148)', '2026-08-12 20:16:55', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675183 -3.426129)'), GeomFromEWKT('SRID=4674;POINT (-38.675246 -3.426148)'))) / (select extract(epoch from '2026-08-12 20:16:55'::timestamp) - extract(epoch from '2026-08-12 20:16:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675183 -3.426129)'), GeomFromEWKT('SRID=4674;POINT (-38.675246 -3.426148)'))) / (select extract(epoch from '2026-08-12 20:16:55'::timestamp) - extract(epoch from '2026-08-12 20:16: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'), 48120, 'SRID=4674;POINT (-38.675281 -3.426178)', '2026-08-12 20:16:55', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675246 -3.426148)'), GeomFromEWKT('SRID=4674;POINT (-38.675281 -3.426178)'))) / (select extract(epoch from '2026-08-12 20:16:55'::timestamp) - extract(epoch from '2026-08-12 20:16:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675246 -3.426148)'), GeomFromEWKT('SRID=4674;POINT (-38.675281 -3.426178)'))) / (select extract(epoch from '2026-08-12 20:16:55'::timestamp) - extract(epoch from '2026-08-12 20:16: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'), 48120, 'SRID=4674;POINT (-38.67532 -3.426194)', '2026-08-12 20:16:56', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675281 -3.426178)'), GeomFromEWKT('SRID=4674;POINT (-38.67532 -3.426194)'))) / (select extract(epoch from '2026-08-12 20:16:56'::timestamp) - extract(epoch from '2026-08-12 20:16:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675281 -3.426178)'), GeomFromEWKT('SRID=4674;POINT (-38.67532 -3.426194)'))) / (select extract(epoch from '2026-08-12 20:16:56'::timestamp) - extract(epoch from '2026-08-12 20:16: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'), 48120, 'SRID=4674;POINT (-38.675353 -3.426208)', '2026-08-12 20:16:56', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67532 -3.426194)'), GeomFromEWKT('SRID=4674;POINT (-38.675353 -3.426208)'))) / (select extract(epoch from '2026-08-12 20:16:56'::timestamp) - extract(epoch from '2026-08-12 20:16:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67532 -3.426194)'), GeomFromEWKT('SRID=4674;POINT (-38.675353 -3.426208)'))) / (select extract(epoch from '2026-08-12 20:16:56'::timestamp) - extract(epoch from '2026-08-12 20:16: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'), 48120, 'SRID=4674;POINT (-38.675388 -3.426222)', '2026-08-12 20:16:56', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675353 -3.426208)'), GeomFromEWKT('SRID=4674;POINT (-38.675388 -3.426222)'))) / (select extract(epoch from '2026-08-12 20:16:56'::timestamp) - extract(epoch from '2026-08-12 20:16:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675353 -3.426208)'), GeomFromEWKT('SRID=4674;POINT (-38.675388 -3.426222)'))) / (select extract(epoch from '2026-08-12 20:16:56'::timestamp) - extract(epoch from '2026-08-12 20:16: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'), 48120, 'SRID=4674;POINT (-38.675414 -3.426248)', '2026-08-12 20:16:57', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675388 -3.426222)'), GeomFromEWKT('SRID=4674;POINT (-38.675414 -3.426248)'))) / (select extract(epoch from '2026-08-12 20:16:57'::timestamp) - extract(epoch from '2026-08-12 20:16:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675388 -3.426222)'), GeomFromEWKT('SRID=4674;POINT (-38.675414 -3.426248)'))) / (select extract(epoch from '2026-08-12 20:16:57'::timestamp) - extract(epoch from '2026-08-12 20:16: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'), 48120, 'SRID=4674;POINT (-38.675442 -3.426296)', '2026-08-12 20:16:57', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675414 -3.426248)'), GeomFromEWKT('SRID=4674;POINT (-38.675442 -3.426296)'))) / (select extract(epoch from '2026-08-12 20:16:57'::timestamp) - extract(epoch from '2026-08-12 20:16:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675414 -3.426248)'), GeomFromEWKT('SRID=4674;POINT (-38.675442 -3.426296)'))) / (select extract(epoch from '2026-08-12 20:16:57'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.67548 -3.426354)', '2026-08-12 20:16:57', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675442 -3.426296)'), GeomFromEWKT('SRID=4674;POINT (-38.67548 -3.426354)'))) / (select extract(epoch from '2026-08-12 20:16:57'::timestamp) - extract(epoch from '2026-08-12 20:16:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675442 -3.426296)'), GeomFromEWKT('SRID=4674;POINT (-38.67548 -3.426354)'))) / (select extract(epoch from '2026-08-12 20:16:57'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675529 -3.426403)', '2026-08-12 20:16:58', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67548 -3.426354)'), GeomFromEWKT('SRID=4674;POINT (-38.675529 -3.426403)'))) / (select extract(epoch from '2026-08-12 20:16:58'::timestamp) - extract(epoch from '2026-08-12 20:16:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67548 -3.426354)'), GeomFromEWKT('SRID=4674;POINT (-38.675529 -3.426403)'))) / (select extract(epoch from '2026-08-12 20:16:58'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675546 -3.426407)', '2026-08-12 20:16:58', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675529 -3.426403)'), GeomFromEWKT('SRID=4674;POINT (-38.675546 -3.426407)'))) / (select extract(epoch from '2026-08-12 20:16:58'::timestamp) - extract(epoch from '2026-08-12 20:16:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675529 -3.426403)'), GeomFromEWKT('SRID=4674;POINT (-38.675546 -3.426407)'))) / (select extract(epoch from '2026-08-12 20:16:58'::timestamp) - extract(epoch from '2026-08-12 20:16: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'), 48120, 'SRID=4674;POINT (-38.675569 -3.42644)', '2026-08-12 20:16:58', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675546 -3.426407)'), GeomFromEWKT('SRID=4674;POINT (-38.675569 -3.42644)'))) / (select extract(epoch from '2026-08-12 20:16:58'::timestamp) - extract(epoch from '2026-08-12 20:16:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675546 -3.426407)'), GeomFromEWKT('SRID=4674;POINT (-38.675569 -3.42644)'))) / (select extract(epoch from '2026-08-12 20:16:58'::timestamp) - extract(epoch from '2026-08-12 20:16: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'), 48120, 'SRID=4674;POINT (-38.675594 -3.426467)', '2026-08-12 20:16:58', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675569 -3.42644)'), GeomFromEWKT('SRID=4674;POINT (-38.675594 -3.426467)'))) / (select extract(epoch from '2026-08-12 20:16:58'::timestamp) - extract(epoch from '2026-08-12 20:16:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675569 -3.42644)'), GeomFromEWKT('SRID=4674;POINT (-38.675594 -3.426467)'))) / (select extract(epoch from '2026-08-12 20:16:58'::timestamp) - extract(epoch from '2026-08-12 20:16: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'), 48120, 'SRID=4674;POINT (-38.67561 -3.426503)', '2026-08-12 20:16:59', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675594 -3.426467)'), GeomFromEWKT('SRID=4674;POINT (-38.67561 -3.426503)'))) / (select extract(epoch from '2026-08-12 20:16:59'::timestamp) - extract(epoch from '2026-08-12 20:16:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675594 -3.426467)'), GeomFromEWKT('SRID=4674;POINT (-38.67561 -3.426503)'))) / (select extract(epoch from '2026-08-12 20:16:59'::timestamp) - extract(epoch from '2026-08-12 20:16: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'), 48120, 'SRID=4674;POINT (-38.675626 -3.426554)', '2026-08-12 20:16:59', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67561 -3.426503)'), GeomFromEWKT('SRID=4674;POINT (-38.675626 -3.426554)'))) / (select extract(epoch from '2026-08-12 20:16:59'::timestamp) - extract(epoch from '2026-08-12 20:16:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67561 -3.426503)'), GeomFromEWKT('SRID=4674;POINT (-38.675626 -3.426554)'))) / (select extract(epoch from '2026-08-12 20:16:59'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675639 -3.426595)', '2026-08-12 20:16:59', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675626 -3.426554)'), GeomFromEWKT('SRID=4674;POINT (-38.675639 -3.426595)'))) / (select extract(epoch from '2026-08-12 20:16:59'::timestamp) - extract(epoch from '2026-08-12 20:16:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675626 -3.426554)'), GeomFromEWKT('SRID=4674;POINT (-38.675639 -3.426595)'))) / (select extract(epoch from '2026-08-12 20:16:59'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675656 -3.426618)', '2026-08-12 20:17:00', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675639 -3.426595)'), GeomFromEWKT('SRID=4674;POINT (-38.675656 -3.426618)'))) / (select extract(epoch from '2026-08-12 20:17:00'::timestamp) - extract(epoch from '2026-08-12 20:16:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675639 -3.426595)'), GeomFromEWKT('SRID=4674;POINT (-38.675656 -3.426618)'))) / (select extract(epoch from '2026-08-12 20:17:00'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.67568 -3.426638)', '2026-08-12 20:17:00', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675656 -3.426618)'), GeomFromEWKT('SRID=4674;POINT (-38.67568 -3.426638)'))) / (select extract(epoch from '2026-08-12 20:17:00'::timestamp) - extract(epoch from '2026-08-12 20:17:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675656 -3.426618)'), GeomFromEWKT('SRID=4674;POINT (-38.67568 -3.426638)'))) / (select extract(epoch from '2026-08-12 20:17:00'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.6757 -3.426654)', '2026-08-12 20:17:00', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67568 -3.426638)'), GeomFromEWKT('SRID=4674;POINT (-38.6757 -3.426654)'))) / (select extract(epoch from '2026-08-12 20:17:00'::timestamp) - extract(epoch from '2026-08-12 20:17:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67568 -3.426638)'), GeomFromEWKT('SRID=4674;POINT (-38.6757 -3.426654)'))) / (select extract(epoch from '2026-08-12 20:17:00'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.675719 -3.426664)', '2026-08-12 20:17:00', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6757 -3.426654)'), GeomFromEWKT('SRID=4674;POINT (-38.675719 -3.426664)'))) / (select extract(epoch from '2026-08-12 20:17:00'::timestamp) - extract(epoch from '2026-08-12 20:17:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6757 -3.426654)'), GeomFromEWKT('SRID=4674;POINT (-38.675719 -3.426664)'))) / (select extract(epoch from '2026-08-12 20:17:00'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.675702 -3.426705)', '2026-08-12 20:17:00', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675719 -3.426664)'), GeomFromEWKT('SRID=4674;POINT (-38.675702 -3.426705)'))) / (select extract(epoch from '2026-08-12 20:17:00'::timestamp) - extract(epoch from '2026-08-12 20:17:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675719 -3.426664)'), GeomFromEWKT('SRID=4674;POINT (-38.675702 -3.426705)'))) / (select extract(epoch from '2026-08-12 20:17:00'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.675688 -3.42675)', '2026-08-12 20:17:01', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675702 -3.426705)'), GeomFromEWKT('SRID=4674;POINT (-38.675688 -3.42675)'))) / (select extract(epoch from '2026-08-12 20:17:01'::timestamp) - extract(epoch from '2026-08-12 20:17:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675702 -3.426705)'), GeomFromEWKT('SRID=4674;POINT (-38.675688 -3.42675)'))) / (select extract(epoch from '2026-08-12 20:17:01'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.675693 -3.426782)', '2026-08-12 20:17:01', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675688 -3.42675)'), GeomFromEWKT('SRID=4674;POINT (-38.675693 -3.426782)'))) / (select extract(epoch from '2026-08-12 20:17:01'::timestamp) - extract(epoch from '2026-08-12 20:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675688 -3.42675)'), GeomFromEWKT('SRID=4674;POINT (-38.675693 -3.426782)'))) / (select extract(epoch from '2026-08-12 20:17:01'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675713 -3.426807)', '2026-08-12 20:17:01', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675693 -3.426782)'), GeomFromEWKT('SRID=4674;POINT (-38.675713 -3.426807)'))) / (select extract(epoch from '2026-08-12 20:17:01'::timestamp) - extract(epoch from '2026-08-12 20:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675693 -3.426782)'), GeomFromEWKT('SRID=4674;POINT (-38.675713 -3.426807)'))) / (select extract(epoch from '2026-08-12 20:17:01'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675702 -3.426802)', '2026-08-12 20:17:01', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675713 -3.426807)'), GeomFromEWKT('SRID=4674;POINT (-38.675702 -3.426802)'))) / (select extract(epoch from '2026-08-12 20:17:01'::timestamp) - extract(epoch from '2026-08-12 20:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675713 -3.426807)'), GeomFromEWKT('SRID=4674;POINT (-38.675702 -3.426802)'))) / (select extract(epoch from '2026-08-12 20:17:01'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.6757 -3.426769)', '2026-08-12 20:17:01', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675702 -3.426802)'), GeomFromEWKT('SRID=4674;POINT (-38.6757 -3.426769)'))) / (select extract(epoch from '2026-08-12 20:17:01'::timestamp) - extract(epoch from '2026-08-12 20:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675702 -3.426802)'), GeomFromEWKT('SRID=4674;POINT (-38.6757 -3.426769)'))) / (select extract(epoch from '2026-08-12 20:17:01'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675705 -3.426716)', '2026-08-12 20:17:02', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6757 -3.426769)'), GeomFromEWKT('SRID=4674;POINT (-38.675705 -3.426716)'))) / (select extract(epoch from '2026-08-12 20:17:02'::timestamp) - extract(epoch from '2026-08-12 20:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6757 -3.426769)'), GeomFromEWKT('SRID=4674;POINT (-38.675705 -3.426716)'))) / (select extract(epoch from '2026-08-12 20:17:02'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675723 -3.426673)', '2026-08-12 20:17:02', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675705 -3.426716)'), GeomFromEWKT('SRID=4674;POINT (-38.675723 -3.426673)'))) / (select extract(epoch from '2026-08-12 20:17:02'::timestamp) - extract(epoch from '2026-08-12 20:17:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675705 -3.426716)'), GeomFromEWKT('SRID=4674;POINT (-38.675723 -3.426673)'))) / (select extract(epoch from '2026-08-12 20:17:02'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.675741 -3.426654)', '2026-08-12 20:17:02', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675723 -3.426673)'), GeomFromEWKT('SRID=4674;POINT (-38.675741 -3.426654)'))) / (select extract(epoch from '2026-08-12 20:17:02'::timestamp) - extract(epoch from '2026-08-12 20:17:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675723 -3.426673)'), GeomFromEWKT('SRID=4674;POINT (-38.675741 -3.426654)'))) / (select extract(epoch from '2026-08-12 20:17:02'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.67579 -3.426606)', '2026-08-12 20:17:03', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675741 -3.426654)'), GeomFromEWKT('SRID=4674;POINT (-38.67579 -3.426606)'))) / (select extract(epoch from '2026-08-12 20:17:03'::timestamp) - extract(epoch from '2026-08-12 20:17:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675741 -3.426654)'), GeomFromEWKT('SRID=4674;POINT (-38.67579 -3.426606)'))) / (select extract(epoch from '2026-08-12 20:17:03'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.67585 -3.426554)', '2026-08-12 20:17:03', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67579 -3.426606)'), GeomFromEWKT('SRID=4674;POINT (-38.67585 -3.426554)'))) / (select extract(epoch from '2026-08-12 20:17:03'::timestamp) - extract(epoch from '2026-08-12 20:17:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67579 -3.426606)'), GeomFromEWKT('SRID=4674;POINT (-38.67585 -3.426554)'))) / (select extract(epoch from '2026-08-12 20:17:03'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.675873 -3.42652)', '2026-08-12 20:17:03', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67585 -3.426554)'), GeomFromEWKT('SRID=4674;POINT (-38.675873 -3.42652)'))) / (select extract(epoch from '2026-08-12 20:17:03'::timestamp) - extract(epoch from '2026-08-12 20:17:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67585 -3.426554)'), GeomFromEWKT('SRID=4674;POINT (-38.675873 -3.42652)'))) / (select extract(epoch from '2026-08-12 20:17:03'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.675878 -3.4265)', '2026-08-12 20:17:04', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675873 -3.42652)'), GeomFromEWKT('SRID=4674;POINT (-38.675878 -3.4265)'))) / (select extract(epoch from '2026-08-12 20:17:04'::timestamp) - extract(epoch from '2026-08-12 20:17:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675873 -3.42652)'), GeomFromEWKT('SRID=4674;POINT (-38.675878 -3.4265)'))) / (select extract(epoch from '2026-08-12 20:17:04'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.675878 -3.426458)', '2026-08-12 20:17:04', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675878 -3.4265)'), GeomFromEWKT('SRID=4674;POINT (-38.675878 -3.426458)'))) / (select extract(epoch from '2026-08-12 20:17:04'::timestamp) - extract(epoch from '2026-08-12 20:17:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675878 -3.4265)'), GeomFromEWKT('SRID=4674;POINT (-38.675878 -3.426458)'))) / (select extract(epoch from '2026-08-12 20:17:04'::timestamp) - extract(epoch from '2026-08-12 20:17:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675856 -3.426417)', '2026-08-12 20:17:04', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675878 -3.426458)'), GeomFromEWKT('SRID=4674;POINT (-38.675856 -3.426417)'))) / (select extract(epoch from '2026-08-12 20:17:04'::timestamp) - extract(epoch from '2026-08-12 20:17:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675878 -3.426458)'), GeomFromEWKT('SRID=4674;POINT (-38.675856 -3.426417)'))) / (select extract(epoch from '2026-08-12 20:17:04'::timestamp) - extract(epoch from '2026-08-12 20:17:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675831 -3.426377)', '2026-08-12 20:17:05', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675856 -3.426417)'), GeomFromEWKT('SRID=4674;POINT (-38.675831 -3.426377)'))) / (select extract(epoch from '2026-08-12 20:17:05'::timestamp) - extract(epoch from '2026-08-12 20:17:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675856 -3.426417)'), GeomFromEWKT('SRID=4674;POINT (-38.675831 -3.426377)'))) / (select extract(epoch from '2026-08-12 20:17:05'::timestamp) - extract(epoch from '2026-08-12 20:17:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675806 -3.426351)', '2026-08-12 20:17:05', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675831 -3.426377)'), GeomFromEWKT('SRID=4674;POINT (-38.675806 -3.426351)'))) / (select extract(epoch from '2026-08-12 20:17:05'::timestamp) - extract(epoch from '2026-08-12 20:17:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675831 -3.426377)'), GeomFromEWKT('SRID=4674;POINT (-38.675806 -3.426351)'))) / (select extract(epoch from '2026-08-12 20:17:05'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.675794 -3.426331)', '2026-08-12 20:17:05', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675806 -3.426351)'), GeomFromEWKT('SRID=4674;POINT (-38.675794 -3.426331)'))) / (select extract(epoch from '2026-08-12 20:17:05'::timestamp) - extract(epoch from '2026-08-12 20:17:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675806 -3.426351)'), GeomFromEWKT('SRID=4674;POINT (-38.675794 -3.426331)'))) / (select extract(epoch from '2026-08-12 20:17:05'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.675777 -3.426298)', '2026-08-12 20:17:05', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675794 -3.426331)'), GeomFromEWKT('SRID=4674;POINT (-38.675777 -3.426298)'))) / (select extract(epoch from '2026-08-12 20:17:05'::timestamp) - extract(epoch from '2026-08-12 20:17:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675794 -3.426331)'), GeomFromEWKT('SRID=4674;POINT (-38.675777 -3.426298)'))) / (select extract(epoch from '2026-08-12 20:17:05'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.675764 -3.426275)', '2026-08-12 20:17:05', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675777 -3.426298)'), GeomFromEWKT('SRID=4674;POINT (-38.675764 -3.426275)'))) / (select extract(epoch from '2026-08-12 20:17:05'::timestamp) - extract(epoch from '2026-08-12 20:17:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675777 -3.426298)'), GeomFromEWKT('SRID=4674;POINT (-38.675764 -3.426275)'))) / (select extract(epoch from '2026-08-12 20:17:05'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.675753 -3.426239)', '2026-08-12 20:17:06', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675764 -3.426275)'), GeomFromEWKT('SRID=4674;POINT (-38.675753 -3.426239)'))) / (select extract(epoch from '2026-08-12 20:17:06'::timestamp) - extract(epoch from '2026-08-12 20:17:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675764 -3.426275)'), GeomFromEWKT('SRID=4674;POINT (-38.675753 -3.426239)'))) / (select extract(epoch from '2026-08-12 20:17:06'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.675744 -3.426219)', '2026-08-12 20:17:06', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675753 -3.426239)'), GeomFromEWKT('SRID=4674;POINT (-38.675744 -3.426219)'))) / (select extract(epoch from '2026-08-12 20:17:06'::timestamp) - extract(epoch from '2026-08-12 20:17:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675753 -3.426239)'), GeomFromEWKT('SRID=4674;POINT (-38.675744 -3.426219)'))) / (select extract(epoch from '2026-08-12 20:17:06'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675736 -3.426168)', '2026-08-12 20:17:06', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675744 -3.426219)'), GeomFromEWKT('SRID=4674;POINT (-38.675736 -3.426168)'))) / (select extract(epoch from '2026-08-12 20:17:06'::timestamp) - extract(epoch from '2026-08-12 20:17:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675744 -3.426219)'), GeomFromEWKT('SRID=4674;POINT (-38.675736 -3.426168)'))) / (select extract(epoch from '2026-08-12 20:17:06'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675726 -3.426142)', '2026-08-12 20:17:06', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675736 -3.426168)'), GeomFromEWKT('SRID=4674;POINT (-38.675726 -3.426142)'))) / (select extract(epoch from '2026-08-12 20:17:06'::timestamp) - extract(epoch from '2026-08-12 20:17:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675736 -3.426168)'), GeomFromEWKT('SRID=4674;POINT (-38.675726 -3.426142)'))) / (select extract(epoch from '2026-08-12 20:17:06'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675705 -3.426092)', '2026-08-12 20:17:07', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675726 -3.426142)'), GeomFromEWKT('SRID=4674;POINT (-38.675705 -3.426092)'))) / (select extract(epoch from '2026-08-12 20:17:07'::timestamp) - extract(epoch from '2026-08-12 20:17:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675726 -3.426142)'), GeomFromEWKT('SRID=4674;POINT (-38.675705 -3.426092)'))) / (select extract(epoch from '2026-08-12 20:17:07'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675679 -3.426056)', '2026-08-12 20:17:07', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675705 -3.426092)'), GeomFromEWKT('SRID=4674;POINT (-38.675679 -3.426056)'))) / (select extract(epoch from '2026-08-12 20:17:07'::timestamp) - extract(epoch from '2026-08-12 20:17:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675705 -3.426092)'), GeomFromEWKT('SRID=4674;POINT (-38.675679 -3.426056)'))) / (select extract(epoch from '2026-08-12 20:17:07'::timestamp) - extract(epoch from '2026-08-12 20:17:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675661 -3.426023)', '2026-08-12 20:17:07', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675679 -3.426056)'), GeomFromEWKT('SRID=4674;POINT (-38.675661 -3.426023)'))) / (select extract(epoch from '2026-08-12 20:17:07'::timestamp) - extract(epoch from '2026-08-12 20:17:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675679 -3.426056)'), GeomFromEWKT('SRID=4674;POINT (-38.675661 -3.426023)'))) / (select extract(epoch from '2026-08-12 20:17:07'::timestamp) - extract(epoch from '2026-08-12 20:17:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675641 -3.425995)', '2026-08-12 20:17:07', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675661 -3.426023)'), GeomFromEWKT('SRID=4674;POINT (-38.675641 -3.425995)'))) / (select extract(epoch from '2026-08-12 20:17:07'::timestamp) - extract(epoch from '2026-08-12 20:17:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675661 -3.426023)'), GeomFromEWKT('SRID=4674;POINT (-38.675641 -3.425995)'))) / (select extract(epoch from '2026-08-12 20:17:07'::timestamp) - extract(epoch from '2026-08-12 20:17:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675631 -3.425965)', '2026-08-12 20:17:08', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675641 -3.425995)'), GeomFromEWKT('SRID=4674;POINT (-38.675631 -3.425965)'))) / (select extract(epoch from '2026-08-12 20:17:08'::timestamp) - extract(epoch from '2026-08-12 20:17:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675641 -3.425995)'), GeomFromEWKT('SRID=4674;POINT (-38.675631 -3.425965)'))) / (select extract(epoch from '2026-08-12 20:17:08'::timestamp) - extract(epoch from '2026-08-12 20:17:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675603 -3.42592)', '2026-08-12 20:17:08', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675631 -3.425965)'), GeomFromEWKT('SRID=4674;POINT (-38.675603 -3.42592)'))) / (select extract(epoch from '2026-08-12 20:17:08'::timestamp) - extract(epoch from '2026-08-12 20:17:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675631 -3.425965)'), GeomFromEWKT('SRID=4674;POINT (-38.675603 -3.42592)'))) / (select extract(epoch from '2026-08-12 20:17:08'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.675605 -3.425896)', '2026-08-12 20:17:08', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675603 -3.42592)'), GeomFromEWKT('SRID=4674;POINT (-38.675605 -3.425896)'))) / (select extract(epoch from '2026-08-12 20:17:08'::timestamp) - extract(epoch from '2026-08-12 20:17:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675603 -3.42592)'), GeomFromEWKT('SRID=4674;POINT (-38.675605 -3.425896)'))) / (select extract(epoch from '2026-08-12 20:17:08'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.675603 -3.425871)', '2026-08-12 20:17:08', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675605 -3.425896)'), GeomFromEWKT('SRID=4674;POINT (-38.675603 -3.425871)'))) / (select extract(epoch from '2026-08-12 20:17:08'::timestamp) - extract(epoch from '2026-08-12 20:17:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675605 -3.425896)'), GeomFromEWKT('SRID=4674;POINT (-38.675603 -3.425871)'))) / (select extract(epoch from '2026-08-12 20:17:08'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.675572 -3.425823)', '2026-08-12 20:17:09', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675603 -3.425871)'), GeomFromEWKT('SRID=4674;POINT (-38.675572 -3.425823)'))) / (select extract(epoch from '2026-08-12 20:17:09'::timestamp) - extract(epoch from '2026-08-12 20:17:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675603 -3.425871)'), GeomFromEWKT('SRID=4674;POINT (-38.675572 -3.425823)'))) / (select extract(epoch from '2026-08-12 20:17:09'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.675552 -3.425797)', '2026-08-12 20:17:09', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675572 -3.425823)'), GeomFromEWKT('SRID=4674;POINT (-38.675552 -3.425797)'))) / (select extract(epoch from '2026-08-12 20:17:09'::timestamp) - extract(epoch from '2026-08-12 20:17:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675572 -3.425823)'), GeomFromEWKT('SRID=4674;POINT (-38.675552 -3.425797)'))) / (select extract(epoch from '2026-08-12 20:17:09'::timestamp) - extract(epoch from '2026-08-12 20:17:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675532 -3.42576)', '2026-08-12 20:17:09', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675552 -3.425797)'), GeomFromEWKT('SRID=4674;POINT (-38.675532 -3.42576)'))) / (select extract(epoch from '2026-08-12 20:17:09'::timestamp) - extract(epoch from '2026-08-12 20:17:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675552 -3.425797)'), GeomFromEWKT('SRID=4674;POINT (-38.675532 -3.42576)'))) / (select extract(epoch from '2026-08-12 20:17:09'::timestamp) - extract(epoch from '2026-08-12 20:17:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675511 -3.425726)', '2026-08-12 20:17:09', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675532 -3.42576)'), GeomFromEWKT('SRID=4674;POINT (-38.675511 -3.425726)'))) / (select extract(epoch from '2026-08-12 20:17:09'::timestamp) - extract(epoch from '2026-08-12 20:17:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675532 -3.42576)'), GeomFromEWKT('SRID=4674;POINT (-38.675511 -3.425726)'))) / (select extract(epoch from '2026-08-12 20:17:09'::timestamp) - extract(epoch from '2026-08-12 20:17:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675495 -3.425698)', '2026-08-12 20:17:10', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675511 -3.425726)'), GeomFromEWKT('SRID=4674;POINT (-38.675495 -3.425698)'))) / (select extract(epoch from '2026-08-12 20:17:10'::timestamp) - extract(epoch from '2026-08-12 20:17:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675511 -3.425726)'), GeomFromEWKT('SRID=4674;POINT (-38.675495 -3.425698)'))) / (select extract(epoch from '2026-08-12 20:17:10'::timestamp) - extract(epoch from '2026-08-12 20:17:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675485 -3.425674)', '2026-08-12 20:17:10', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675495 -3.425698)'), GeomFromEWKT('SRID=4674;POINT (-38.675485 -3.425674)'))) / (select extract(epoch from '2026-08-12 20:17:10'::timestamp) - extract(epoch from '2026-08-12 20:17:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675495 -3.425698)'), GeomFromEWKT('SRID=4674;POINT (-38.675485 -3.425674)'))) / (select extract(epoch from '2026-08-12 20:17:10'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.675479 -3.425644)', '2026-08-12 20:17:10', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675485 -3.425674)'), GeomFromEWKT('SRID=4674;POINT (-38.675479 -3.425644)'))) / (select extract(epoch from '2026-08-12 20:17:10'::timestamp) - extract(epoch from '2026-08-12 20:17:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675485 -3.425674)'), GeomFromEWKT('SRID=4674;POINT (-38.675479 -3.425644)'))) / (select extract(epoch from '2026-08-12 20:17:10'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.675449 -3.425611)', '2026-08-12 20:17:10', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675479 -3.425644)'), GeomFromEWKT('SRID=4674;POINT (-38.675449 -3.425611)'))) / (select extract(epoch from '2026-08-12 20:17:10'::timestamp) - extract(epoch from '2026-08-12 20:17:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675479 -3.425644)'), GeomFromEWKT('SRID=4674;POINT (-38.675449 -3.425611)'))) / (select extract(epoch from '2026-08-12 20:17:10'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.675486 -3.425576)', '2026-08-12 20:17:11', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675449 -3.425611)'), GeomFromEWKT('SRID=4674;POINT (-38.675486 -3.425576)'))) / (select extract(epoch from '2026-08-12 20:17:11'::timestamp) - extract(epoch from '2026-08-12 20:17:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675449 -3.425611)'), GeomFromEWKT('SRID=4674;POINT (-38.675486 -3.425576)'))) / (select extract(epoch from '2026-08-12 20:17:11'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.675512 -3.42556)', '2026-08-12 20:17:11', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675486 -3.425576)'), GeomFromEWKT('SRID=4674;POINT (-38.675512 -3.42556)'))) / (select extract(epoch from '2026-08-12 20:17:11'::timestamp) - extract(epoch from '2026-08-12 20:17:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675486 -3.425576)'), GeomFromEWKT('SRID=4674;POINT (-38.675512 -3.42556)'))) / (select extract(epoch from '2026-08-12 20:17:11'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675535 -3.425551)', '2026-08-12 20:17:11', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675512 -3.42556)'), GeomFromEWKT('SRID=4674;POINT (-38.675535 -3.425551)'))) / (select extract(epoch from '2026-08-12 20:17:11'::timestamp) - extract(epoch from '2026-08-12 20:17:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675512 -3.42556)'), GeomFromEWKT('SRID=4674;POINT (-38.675535 -3.425551)'))) / (select extract(epoch from '2026-08-12 20:17:11'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675564 -3.42553)', '2026-08-12 20:17:11', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675535 -3.425551)'), GeomFromEWKT('SRID=4674;POINT (-38.675564 -3.42553)'))) / (select extract(epoch from '2026-08-12 20:17:11'::timestamp) - extract(epoch from '2026-08-12 20:17:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675535 -3.425551)'), GeomFromEWKT('SRID=4674;POINT (-38.675564 -3.42553)'))) / (select extract(epoch from '2026-08-12 20:17:11'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675588 -3.425518)', '2026-08-12 20:17:11', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675564 -3.42553)'), GeomFromEWKT('SRID=4674;POINT (-38.675588 -3.425518)'))) / (select extract(epoch from '2026-08-12 20:17:11'::timestamp) - extract(epoch from '2026-08-12 20:17:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675564 -3.42553)'), GeomFromEWKT('SRID=4674;POINT (-38.675588 -3.425518)'))) / (select extract(epoch from '2026-08-12 20:17:11'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675618 -3.425511)', '2026-08-12 20:17:12', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675588 -3.425518)'), GeomFromEWKT('SRID=4674;POINT (-38.675618 -3.425511)'))) / (select extract(epoch from '2026-08-12 20:17:12'::timestamp) - extract(epoch from '2026-08-12 20:17:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675588 -3.425518)'), GeomFromEWKT('SRID=4674;POINT (-38.675618 -3.425511)'))) / (select extract(epoch from '2026-08-12 20:17:12'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675624 -3.425506)', '2026-08-12 20:17:12', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675618 -3.425511)'), GeomFromEWKT('SRID=4674;POINT (-38.675624 -3.425506)'))) / (select extract(epoch from '2026-08-12 20:17:12'::timestamp) - extract(epoch from '2026-08-12 20:17:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675618 -3.425511)'), GeomFromEWKT('SRID=4674;POINT (-38.675624 -3.425506)'))) / (select extract(epoch from '2026-08-12 20:17:12'::timestamp) - extract(epoch from '2026-08-12 20:17:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675638 -3.425495)', '2026-08-12 20:17:12', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675624 -3.425506)'), GeomFromEWKT('SRID=4674;POINT (-38.675638 -3.425495)'))) / (select extract(epoch from '2026-08-12 20:17:12'::timestamp) - extract(epoch from '2026-08-12 20:17:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675624 -3.425506)'), GeomFromEWKT('SRID=4674;POINT (-38.675638 -3.425495)'))) / (select extract(epoch from '2026-08-12 20:17:12'::timestamp) - extract(epoch from '2026-08-12 20:17:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675643 -3.425491)', '2026-08-12 20:17:12', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675638 -3.425495)'), GeomFromEWKT('SRID=4674;POINT (-38.675643 -3.425491)'))) / (select extract(epoch from '2026-08-12 20:17:12'::timestamp) - extract(epoch from '2026-08-12 20:17:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675638 -3.425495)'), GeomFromEWKT('SRID=4674;POINT (-38.675643 -3.425491)'))) / (select extract(epoch from '2026-08-12 20:17:12'::timestamp) - extract(epoch from '2026-08-12 20:17:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675682 -3.425461)', '2026-08-12 20:17:12', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675643 -3.425491)'), GeomFromEWKT('SRID=4674;POINT (-38.675682 -3.425461)'))) / (select extract(epoch from '2026-08-12 20:17:12'::timestamp) - extract(epoch from '2026-08-12 20:17:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675643 -3.425491)'), GeomFromEWKT('SRID=4674;POINT (-38.675682 -3.425461)'))) / (select extract(epoch from '2026-08-12 20:17:12'::timestamp) - extract(epoch from '2026-08-12 20:17:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675733 -3.42543)', '2026-08-12 20:17:13', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675682 -3.425461)'), GeomFromEWKT('SRID=4674;POINT (-38.675733 -3.42543)'))) / (select extract(epoch from '2026-08-12 20:17:13'::timestamp) - extract(epoch from '2026-08-12 20:17:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675682 -3.425461)'), GeomFromEWKT('SRID=4674;POINT (-38.675733 -3.42543)'))) / (select extract(epoch from '2026-08-12 20:17:13'::timestamp) - extract(epoch from '2026-08-12 20:17:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675763 -3.425411)', '2026-08-12 20:17:13', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675733 -3.42543)'), GeomFromEWKT('SRID=4674;POINT (-38.675763 -3.425411)'))) / (select extract(epoch from '2026-08-12 20:17:13'::timestamp) - extract(epoch from '2026-08-12 20:17:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675733 -3.42543)'), GeomFromEWKT('SRID=4674;POINT (-38.675763 -3.425411)'))) / (select extract(epoch from '2026-08-12 20:17:13'::timestamp) - extract(epoch from '2026-08-12 20:17:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675809 -3.42539)', '2026-08-12 20:17:13', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675763 -3.425411)'), GeomFromEWKT('SRID=4674;POINT (-38.675809 -3.42539)'))) / (select extract(epoch from '2026-08-12 20:17:13'::timestamp) - extract(epoch from '2026-08-12 20:17:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675763 -3.425411)'), GeomFromEWKT('SRID=4674;POINT (-38.675809 -3.42539)'))) / (select extract(epoch from '2026-08-12 20:17:13'::timestamp) - extract(epoch from '2026-08-12 20:17:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675851 -3.425381)', '2026-08-12 20:17:13', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675809 -3.42539)'), GeomFromEWKT('SRID=4674;POINT (-38.675851 -3.425381)'))) / (select extract(epoch from '2026-08-12 20:17:13'::timestamp) - extract(epoch from '2026-08-12 20:17:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675809 -3.42539)'), GeomFromEWKT('SRID=4674;POINT (-38.675851 -3.425381)'))) / (select extract(epoch from '2026-08-12 20:17:13'::timestamp) - extract(epoch from '2026-08-12 20:17:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675888 -3.425361)', '2026-08-12 20:17:14', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675851 -3.425381)'), GeomFromEWKT('SRID=4674;POINT (-38.675888 -3.425361)'))) / (select extract(epoch from '2026-08-12 20:17:14'::timestamp) - extract(epoch from '2026-08-12 20:17:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675851 -3.425381)'), GeomFromEWKT('SRID=4674;POINT (-38.675888 -3.425361)'))) / (select extract(epoch from '2026-08-12 20:17:14'::timestamp) - extract(epoch from '2026-08-12 20:17:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.67592 -3.425345)', '2026-08-12 20:17:14', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675888 -3.425361)'), GeomFromEWKT('SRID=4674;POINT (-38.67592 -3.425345)'))) / (select extract(epoch from '2026-08-12 20:17:14'::timestamp) - extract(epoch from '2026-08-12 20:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675888 -3.425361)'), GeomFromEWKT('SRID=4674;POINT (-38.67592 -3.425345)'))) / (select extract(epoch from '2026-08-12 20:17:14'::timestamp) - extract(epoch from '2026-08-12 20:17:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675944 -3.425329)', '2026-08-12 20:17:14', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67592 -3.425345)'), GeomFromEWKT('SRID=4674;POINT (-38.675944 -3.425329)'))) / (select extract(epoch from '2026-08-12 20:17:14'::timestamp) - extract(epoch from '2026-08-12 20:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67592 -3.425345)'), GeomFromEWKT('SRID=4674;POINT (-38.675944 -3.425329)'))) / (select extract(epoch from '2026-08-12 20:17:14'::timestamp) - extract(epoch from '2026-08-12 20:17:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675932 -3.425312)', '2026-08-12 20:17:14', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675944 -3.425329)'), GeomFromEWKT('SRID=4674;POINT (-38.675932 -3.425312)'))) / (select extract(epoch from '2026-08-12 20:17:14'::timestamp) - extract(epoch from '2026-08-12 20:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675944 -3.425329)'), GeomFromEWKT('SRID=4674;POINT (-38.675932 -3.425312)'))) / (select extract(epoch from '2026-08-12 20:17:14'::timestamp) - extract(epoch from '2026-08-12 20:17:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675921 -3.425305)', '2026-08-12 20:17:14', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675932 -3.425312)'), GeomFromEWKT('SRID=4674;POINT (-38.675921 -3.425305)'))) / (select extract(epoch from '2026-08-12 20:17:14'::timestamp) - extract(epoch from '2026-08-12 20:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675932 -3.425312)'), GeomFromEWKT('SRID=4674;POINT (-38.675921 -3.425305)'))) / (select extract(epoch from '2026-08-12 20:17:14'::timestamp) - extract(epoch from '2026-08-12 20:17:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675893 -3.425289)', '2026-08-12 20:17:15', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675921 -3.425305)'), GeomFromEWKT('SRID=4674;POINT (-38.675893 -3.425289)'))) / (select extract(epoch from '2026-08-12 20:17:15'::timestamp) - extract(epoch from '2026-08-12 20:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675921 -3.425305)'), GeomFromEWKT('SRID=4674;POINT (-38.675893 -3.425289)'))) / (select extract(epoch from '2026-08-12 20:17:15'::timestamp) - extract(epoch from '2026-08-12 20:17:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675883 -3.425242)', '2026-08-12 20:17:15', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675893 -3.425289)'), GeomFromEWKT('SRID=4674;POINT (-38.675883 -3.425242)'))) / (select extract(epoch from '2026-08-12 20:17:15'::timestamp) - extract(epoch from '2026-08-12 20:17:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675893 -3.425289)'), GeomFromEWKT('SRID=4674;POINT (-38.675883 -3.425242)'))) / (select extract(epoch from '2026-08-12 20:17:15'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.675884 -3.425222)', '2026-08-12 20:17:15', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675883 -3.425242)'), GeomFromEWKT('SRID=4674;POINT (-38.675884 -3.425222)'))) / (select extract(epoch from '2026-08-12 20:17:15'::timestamp) - extract(epoch from '2026-08-12 20:17:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675883 -3.425242)'), GeomFromEWKT('SRID=4674;POINT (-38.675884 -3.425222)'))) / (select extract(epoch from '2026-08-12 20:17:15'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.675872 -3.425196)', '2026-08-12 20:17:15', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675884 -3.425222)'), GeomFromEWKT('SRID=4674;POINT (-38.675872 -3.425196)'))) / (select extract(epoch from '2026-08-12 20:17:15'::timestamp) - extract(epoch from '2026-08-12 20:17:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675884 -3.425222)'), GeomFromEWKT('SRID=4674;POINT (-38.675872 -3.425196)'))) / (select extract(epoch from '2026-08-12 20:17:15'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.675867 -3.425173)', '2026-08-12 20:17:15', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675872 -3.425196)'), GeomFromEWKT('SRID=4674;POINT (-38.675867 -3.425173)'))) / (select extract(epoch from '2026-08-12 20:17:15'::timestamp) - extract(epoch from '2026-08-12 20:17:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675872 -3.425196)'), GeomFromEWKT('SRID=4674;POINT (-38.675867 -3.425173)'))) / (select extract(epoch from '2026-08-12 20:17:15'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.67587 -3.425149)', '2026-08-12 20:17:16', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675867 -3.425173)'), GeomFromEWKT('SRID=4674;POINT (-38.67587 -3.425149)'))) / (select extract(epoch from '2026-08-12 20:17:16'::timestamp) - extract(epoch from '2026-08-12 20:17:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675867 -3.425173)'), GeomFromEWKT('SRID=4674;POINT (-38.67587 -3.425149)'))) / (select extract(epoch from '2026-08-12 20:17:16'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.67589 -3.425129)', '2026-08-12 20:17:16', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67587 -3.425149)'), GeomFromEWKT('SRID=4674;POINT (-38.67589 -3.425129)'))) / (select extract(epoch from '2026-08-12 20:17:16'::timestamp) - extract(epoch from '2026-08-12 20:17:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67587 -3.425149)'), GeomFromEWKT('SRID=4674;POINT (-38.67589 -3.425129)'))) / (select extract(epoch from '2026-08-12 20:17:16'::timestamp) - extract(epoch from '2026-08-12 20:17:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675895 -3.425101)', '2026-08-12 20:17:16', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67589 -3.425129)'), GeomFromEWKT('SRID=4674;POINT (-38.675895 -3.425101)'))) / (select extract(epoch from '2026-08-12 20:17:16'::timestamp) - extract(epoch from '2026-08-12 20:17:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67589 -3.425129)'), GeomFromEWKT('SRID=4674;POINT (-38.675895 -3.425101)'))) / (select extract(epoch from '2026-08-12 20:17:16'::timestamp) - extract(epoch from '2026-08-12 20:17:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675883 -3.425069)', '2026-08-12 20:17:16', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675895 -3.425101)'), GeomFromEWKT('SRID=4674;POINT (-38.675883 -3.425069)'))) / (select extract(epoch from '2026-08-12 20:17:16'::timestamp) - extract(epoch from '2026-08-12 20:17:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675895 -3.425101)'), GeomFromEWKT('SRID=4674;POINT (-38.675883 -3.425069)'))) / (select extract(epoch from '2026-08-12 20:17:16'::timestamp) - extract(epoch from '2026-08-12 20:17:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675871 -3.425034)', '2026-08-12 20:17:16', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675883 -3.425069)'), GeomFromEWKT('SRID=4674;POINT (-38.675871 -3.425034)'))) / (select extract(epoch from '2026-08-12 20:17:16'::timestamp) - extract(epoch from '2026-08-12 20:17:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675883 -3.425069)'), GeomFromEWKT('SRID=4674;POINT (-38.675871 -3.425034)'))) / (select extract(epoch from '2026-08-12 20:17:16'::timestamp) - extract(epoch from '2026-08-12 20:17:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675865 -3.425013)', '2026-08-12 20:17:17', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675871 -3.425034)'), GeomFromEWKT('SRID=4674;POINT (-38.675865 -3.425013)'))) / (select extract(epoch from '2026-08-12 20:17:17'::timestamp) - extract(epoch from '2026-08-12 20:17:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675871 -3.425034)'), GeomFromEWKT('SRID=4674;POINT (-38.675865 -3.425013)'))) / (select extract(epoch from '2026-08-12 20:17:17'::timestamp) - extract(epoch from '2026-08-12 20:17:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.67586 -3.424994)', '2026-08-12 20:17:17', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675865 -3.425013)'), GeomFromEWKT('SRID=4674;POINT (-38.67586 -3.424994)'))) / (select extract(epoch from '2026-08-12 20:17:17'::timestamp) - extract(epoch from '2026-08-12 20:17:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675865 -3.425013)'), GeomFromEWKT('SRID=4674;POINT (-38.67586 -3.424994)'))) / (select extract(epoch from '2026-08-12 20:17:17'::timestamp) - extract(epoch from '2026-08-12 20:17:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675824 -3.424904)', '2026-08-12 20:17:17', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67586 -3.424994)'), GeomFromEWKT('SRID=4674;POINT (-38.675824 -3.424904)'))) / (select extract(epoch from '2026-08-12 20:17:17'::timestamp) - extract(epoch from '2026-08-12 20:17:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67586 -3.424994)'), GeomFromEWKT('SRID=4674;POINT (-38.675824 -3.424904)'))) / (select extract(epoch from '2026-08-12 20:17:17'::timestamp) - extract(epoch from '2026-08-12 20:17:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675795 -3.424865)', '2026-08-12 20:17:18', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675824 -3.424904)'), GeomFromEWKT('SRID=4674;POINT (-38.675795 -3.424865)'))) / (select extract(epoch from '2026-08-12 20:17:18'::timestamp) - extract(epoch from '2026-08-12 20:17:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675824 -3.424904)'), GeomFromEWKT('SRID=4674;POINT (-38.675795 -3.424865)'))) / (select extract(epoch from '2026-08-12 20:17:18'::timestamp) - extract(epoch from '2026-08-12 20:17:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675778 -3.42483)', '2026-08-12 20:17:18', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675795 -3.424865)'), GeomFromEWKT('SRID=4674;POINT (-38.675778 -3.42483)'))) / (select extract(epoch from '2026-08-12 20:17:18'::timestamp) - extract(epoch from '2026-08-12 20:17:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675795 -3.424865)'), GeomFromEWKT('SRID=4674;POINT (-38.675778 -3.42483)'))) / (select extract(epoch from '2026-08-12 20:17:18'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675765 -3.424805)', '2026-08-12 20:17:18', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675778 -3.42483)'), GeomFromEWKT('SRID=4674;POINT (-38.675765 -3.424805)'))) / (select extract(epoch from '2026-08-12 20:17:18'::timestamp) - extract(epoch from '2026-08-12 20:17:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675778 -3.42483)'), GeomFromEWKT('SRID=4674;POINT (-38.675765 -3.424805)'))) / (select extract(epoch from '2026-08-12 20:17:18'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675755 -3.424798)', '2026-08-12 20:17:18', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675765 -3.424805)'), GeomFromEWKT('SRID=4674;POINT (-38.675755 -3.424798)'))) / (select extract(epoch from '2026-08-12 20:17:18'::timestamp) - extract(epoch from '2026-08-12 20:17:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675765 -3.424805)'), GeomFromEWKT('SRID=4674;POINT (-38.675755 -3.424798)'))) / (select extract(epoch from '2026-08-12 20:17:18'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675729 -3.424772)', '2026-08-12 20:17:18', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675755 -3.424798)'), GeomFromEWKT('SRID=4674;POINT (-38.675729 -3.424772)'))) / (select extract(epoch from '2026-08-12 20:17:18'::timestamp) - extract(epoch from '2026-08-12 20:17:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675755 -3.424798)'), GeomFromEWKT('SRID=4674;POINT (-38.675729 -3.424772)'))) / (select extract(epoch from '2026-08-12 20:17:18'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675724 -3.424758)', '2026-08-12 20:17:19', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675729 -3.424772)'), GeomFromEWKT('SRID=4674;POINT (-38.675724 -3.424758)'))) / (select extract(epoch from '2026-08-12 20:17:19'::timestamp) - extract(epoch from '2026-08-12 20:17:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675729 -3.424772)'), GeomFromEWKT('SRID=4674;POINT (-38.675724 -3.424758)'))) / (select extract(epoch from '2026-08-12 20:17:19'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675715 -3.424716)', '2026-08-12 20:17:19', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675724 -3.424758)'), GeomFromEWKT('SRID=4674;POINT (-38.675715 -3.424716)'))) / (select extract(epoch from '2026-08-12 20:17:19'::timestamp) - extract(epoch from '2026-08-12 20:17:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675724 -3.424758)'), GeomFromEWKT('SRID=4674;POINT (-38.675715 -3.424716)'))) / (select extract(epoch from '2026-08-12 20:17:19'::timestamp) - extract(epoch from '2026-08-12 20:17:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675696 -3.424685)', '2026-08-12 20:17:19', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675715 -3.424716)'), GeomFromEWKT('SRID=4674;POINT (-38.675696 -3.424685)'))) / (select extract(epoch from '2026-08-12 20:17:19'::timestamp) - extract(epoch from '2026-08-12 20:17:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675715 -3.424716)'), GeomFromEWKT('SRID=4674;POINT (-38.675696 -3.424685)'))) / (select extract(epoch from '2026-08-12 20:17:19'::timestamp) - extract(epoch from '2026-08-12 20:17:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675687 -3.424669)', '2026-08-12 20:17:19', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675696 -3.424685)'), GeomFromEWKT('SRID=4674;POINT (-38.675687 -3.424669)'))) / (select extract(epoch from '2026-08-12 20:17:19'::timestamp) - extract(epoch from '2026-08-12 20:17:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675696 -3.424685)'), GeomFromEWKT('SRID=4674;POINT (-38.675687 -3.424669)'))) / (select extract(epoch from '2026-08-12 20:17:19'::timestamp) - extract(epoch from '2026-08-12 20:17:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675673 -3.424649)', '2026-08-12 20:17:19', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675687 -3.424669)'), GeomFromEWKT('SRID=4674;POINT (-38.675673 -3.424649)'))) / (select extract(epoch from '2026-08-12 20:17:19'::timestamp) - extract(epoch from '2026-08-12 20:17:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675687 -3.424669)'), GeomFromEWKT('SRID=4674;POINT (-38.675673 -3.424649)'))) / (select extract(epoch from '2026-08-12 20:17:19'::timestamp) - extract(epoch from '2026-08-12 20:17:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675655 -3.424623)', '2026-08-12 20:17:20', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675673 -3.424649)'), GeomFromEWKT('SRID=4674;POINT (-38.675655 -3.424623)'))) / (select extract(epoch from '2026-08-12 20:17:20'::timestamp) - extract(epoch from '2026-08-12 20:17:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675673 -3.424649)'), GeomFromEWKT('SRID=4674;POINT (-38.675655 -3.424623)'))) / (select extract(epoch from '2026-08-12 20:17:20'::timestamp) - extract(epoch from '2026-08-12 20:17:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675635 -3.424591)', '2026-08-12 20:17:20', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675655 -3.424623)'), GeomFromEWKT('SRID=4674;POINT (-38.675635 -3.424591)'))) / (select extract(epoch from '2026-08-12 20:17:20'::timestamp) - extract(epoch from '2026-08-12 20:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675655 -3.424623)'), GeomFromEWKT('SRID=4674;POINT (-38.675635 -3.424591)'))) / (select extract(epoch from '2026-08-12 20:17:20'::timestamp) - extract(epoch from '2026-08-12 20:17:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675608 -3.424572)', '2026-08-12 20:17:20', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675635 -3.424591)'), GeomFromEWKT('SRID=4674;POINT (-38.675608 -3.424572)'))) / (select extract(epoch from '2026-08-12 20:17:20'::timestamp) - extract(epoch from '2026-08-12 20:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675635 -3.424591)'), GeomFromEWKT('SRID=4674;POINT (-38.675608 -3.424572)'))) / (select extract(epoch from '2026-08-12 20:17:20'::timestamp) - extract(epoch from '2026-08-12 20:17:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.6756 -3.42455)', '2026-08-12 20:17:20', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675608 -3.424572)'), GeomFromEWKT('SRID=4674;POINT (-38.6756 -3.42455)'))) / (select extract(epoch from '2026-08-12 20:17:20'::timestamp) - extract(epoch from '2026-08-12 20:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675608 -3.424572)'), GeomFromEWKT('SRID=4674;POINT (-38.6756 -3.42455)'))) / (select extract(epoch from '2026-08-12 20:17:20'::timestamp) - extract(epoch from '2026-08-12 20:17:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675581 -3.424523)', '2026-08-12 20:17:20', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6756 -3.42455)'), GeomFromEWKT('SRID=4674;POINT (-38.675581 -3.424523)'))) / (select extract(epoch from '2026-08-12 20:17:20'::timestamp) - extract(epoch from '2026-08-12 20:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6756 -3.42455)'), GeomFromEWKT('SRID=4674;POINT (-38.675581 -3.424523)'))) / (select extract(epoch from '2026-08-12 20:17:20'::timestamp) - extract(epoch from '2026-08-12 20:17:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675566 -3.424495)', '2026-08-12 20:17:21', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675581 -3.424523)'), GeomFromEWKT('SRID=4674;POINT (-38.675566 -3.424495)'))) / (select extract(epoch from '2026-08-12 20:17:21'::timestamp) - extract(epoch from '2026-08-12 20:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675581 -3.424523)'), GeomFromEWKT('SRID=4674;POINT (-38.675566 -3.424495)'))) / (select extract(epoch from '2026-08-12 20:17:21'::timestamp) - extract(epoch from '2026-08-12 20:17:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675553 -3.424474)', '2026-08-12 20:17:21', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675566 -3.424495)'), GeomFromEWKT('SRID=4674;POINT (-38.675553 -3.424474)'))) / (select extract(epoch from '2026-08-12 20:17:21'::timestamp) - extract(epoch from '2026-08-12 20:17:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675566 -3.424495)'), GeomFromEWKT('SRID=4674;POINT (-38.675553 -3.424474)'))) / (select extract(epoch from '2026-08-12 20:17:21'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.675535 -3.424441)', '2026-08-12 20:17:21', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675553 -3.424474)'), GeomFromEWKT('SRID=4674;POINT (-38.675535 -3.424441)'))) / (select extract(epoch from '2026-08-12 20:17:21'::timestamp) - extract(epoch from '2026-08-12 20:17:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675553 -3.424474)'), GeomFromEWKT('SRID=4674;POINT (-38.675535 -3.424441)'))) / (select extract(epoch from '2026-08-12 20:17:21'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.675523 -3.424417)', '2026-08-12 20:17:21', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675535 -3.424441)'), GeomFromEWKT('SRID=4674;POINT (-38.675523 -3.424417)'))) / (select extract(epoch from '2026-08-12 20:17:21'::timestamp) - extract(epoch from '2026-08-12 20:17:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675535 -3.424441)'), GeomFromEWKT('SRID=4674;POINT (-38.675523 -3.424417)'))) / (select extract(epoch from '2026-08-12 20:17:21'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.675514 -3.424388)', '2026-08-12 20:17:21', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675523 -3.424417)'), GeomFromEWKT('SRID=4674;POINT (-38.675514 -3.424388)'))) / (select extract(epoch from '2026-08-12 20:17:21'::timestamp) - extract(epoch from '2026-08-12 20:17:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675523 -3.424417)'), GeomFromEWKT('SRID=4674;POINT (-38.675514 -3.424388)'))) / (select extract(epoch from '2026-08-12 20:17:21'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.675504 -3.424357)', '2026-08-12 20:17:22', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675514 -3.424388)'), GeomFromEWKT('SRID=4674;POINT (-38.675504 -3.424357)'))) / (select extract(epoch from '2026-08-12 20:17:22'::timestamp) - extract(epoch from '2026-08-12 20:17:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675514 -3.424388)'), GeomFromEWKT('SRID=4674;POINT (-38.675504 -3.424357)'))) / (select extract(epoch from '2026-08-12 20:17:22'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.67548 -3.424329)', '2026-08-12 20:17:22', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675504 -3.424357)'), GeomFromEWKT('SRID=4674;POINT (-38.67548 -3.424329)'))) / (select extract(epoch from '2026-08-12 20:17:22'::timestamp) - extract(epoch from '2026-08-12 20:17:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675504 -3.424357)'), GeomFromEWKT('SRID=4674;POINT (-38.67548 -3.424329)'))) / (select extract(epoch from '2026-08-12 20:17:22'::timestamp) - extract(epoch from '2026-08-12 20:17:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675455 -3.424309)', '2026-08-12 20:17:22', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67548 -3.424329)'), GeomFromEWKT('SRID=4674;POINT (-38.675455 -3.424309)'))) / (select extract(epoch from '2026-08-12 20:17:22'::timestamp) - extract(epoch from '2026-08-12 20:17:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67548 -3.424329)'), GeomFromEWKT('SRID=4674;POINT (-38.675455 -3.424309)'))) / (select extract(epoch from '2026-08-12 20:17:22'::timestamp) - extract(epoch from '2026-08-12 20:17:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675435 -3.424288)', '2026-08-12 20:17:22', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675455 -3.424309)'), GeomFromEWKT('SRID=4674;POINT (-38.675435 -3.424288)'))) / (select extract(epoch from '2026-08-12 20:17:22'::timestamp) - extract(epoch from '2026-08-12 20:17:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675455 -3.424309)'), GeomFromEWKT('SRID=4674;POINT (-38.675435 -3.424288)'))) / (select extract(epoch from '2026-08-12 20:17:22'::timestamp) - extract(epoch from '2026-08-12 20:17:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675424 -3.424267)', '2026-08-12 20:17:22', 22.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675435 -3.424288)'), GeomFromEWKT('SRID=4674;POINT (-38.675424 -3.424267)'))) / (select extract(epoch from '2026-08-12 20:17:22'::timestamp) - extract(epoch from '2026-08-12 20:17:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675435 -3.424288)'), GeomFromEWKT('SRID=4674;POINT (-38.675424 -3.424267)'))) / (select extract(epoch from '2026-08-12 20:17:22'::timestamp) - extract(epoch from '2026-08-12 20:17:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675402 -3.424241)', '2026-08-12 20:17:23', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675424 -3.424267)'), GeomFromEWKT('SRID=4674;POINT (-38.675402 -3.424241)'))) / (select extract(epoch from '2026-08-12 20:17:23'::timestamp) - extract(epoch from '2026-08-12 20:17:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675424 -3.424267)'), GeomFromEWKT('SRID=4674;POINT (-38.675402 -3.424241)'))) / (select extract(epoch from '2026-08-12 20:17:23'::timestamp) - extract(epoch from '2026-08-12 20:17:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.6754 -3.424209)', '2026-08-12 20:17:23', 25.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675402 -3.424241)'), GeomFromEWKT('SRID=4674;POINT (-38.6754 -3.424209)'))) / (select extract(epoch from '2026-08-12 20:17:23'::timestamp) - extract(epoch from '2026-08-12 20:17:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675402 -3.424241)'), GeomFromEWKT('SRID=4674;POINT (-38.6754 -3.424209)'))) / (select extract(epoch from '2026-08-12 20:17:23'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.675369 -3.424205)', '2026-08-12 20:17:23', 26.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6754 -3.424209)'), GeomFromEWKT('SRID=4674;POINT (-38.675369 -3.424205)'))) / (select extract(epoch from '2026-08-12 20:17:23'::timestamp) - extract(epoch from '2026-08-12 20:17:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6754 -3.424209)'), GeomFromEWKT('SRID=4674;POINT (-38.675369 -3.424205)'))) / (select extract(epoch from '2026-08-12 20:17:23'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.675361 -3.424243)', '2026-08-12 20:17:23', 28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675369 -3.424205)'), GeomFromEWKT('SRID=4674;POINT (-38.675361 -3.424243)'))) / (select extract(epoch from '2026-08-12 20:17:23'::timestamp) - extract(epoch from '2026-08-12 20:17:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675369 -3.424205)'), GeomFromEWKT('SRID=4674;POINT (-38.675361 -3.424243)'))) / (select extract(epoch from '2026-08-12 20:17:23'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.67539 -3.42427)', '2026-08-12 20:17:24', 28.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675361 -3.424243)'), GeomFromEWKT('SRID=4674;POINT (-38.67539 -3.42427)'))) / (select extract(epoch from '2026-08-12 20:17:24'::timestamp) - extract(epoch from '2026-08-12 20:17:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675361 -3.424243)'), GeomFromEWKT('SRID=4674;POINT (-38.67539 -3.42427)'))) / (select extract(epoch from '2026-08-12 20:17:24'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.675412 -3.424274)', '2026-08-12 20:17:24', 28.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67539 -3.42427)'), GeomFromEWKT('SRID=4674;POINT (-38.675412 -3.424274)'))) / (select extract(epoch from '2026-08-12 20:17:24'::timestamp) - extract(epoch from '2026-08-12 20:17:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67539 -3.42427)'), GeomFromEWKT('SRID=4674;POINT (-38.675412 -3.424274)'))) / (select extract(epoch from '2026-08-12 20:17:24'::timestamp) - extract(epoch from '2026-08-12 20:17:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.67542 -3.424281)', '2026-08-12 20:17:24', 28.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675412 -3.424274)'), GeomFromEWKT('SRID=4674;POINT (-38.67542 -3.424281)'))) / (select extract(epoch from '2026-08-12 20:17:24'::timestamp) - extract(epoch from '2026-08-12 20:17:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675412 -3.424274)'), GeomFromEWKT('SRID=4674;POINT (-38.67542 -3.424281)'))) / (select extract(epoch from '2026-08-12 20:17:24'::timestamp) - extract(epoch from '2026-08-12 20:17:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675456 -3.424305)', '2026-08-12 20:17:24', 28.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67542 -3.424281)'), GeomFromEWKT('SRID=4674;POINT (-38.675456 -3.424305)'))) / (select extract(epoch from '2026-08-12 20:17:24'::timestamp) - extract(epoch from '2026-08-12 20:17:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67542 -3.424281)'), GeomFromEWKT('SRID=4674;POINT (-38.675456 -3.424305)'))) / (select extract(epoch from '2026-08-12 20:17:24'::timestamp) - extract(epoch from '2026-08-12 20:17:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675484 -3.424315)', '2026-08-12 20:17:24', 28.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675456 -3.424305)'), GeomFromEWKT('SRID=4674;POINT (-38.675484 -3.424315)'))) / (select extract(epoch from '2026-08-12 20:17:24'::timestamp) - extract(epoch from '2026-08-12 20:17:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675456 -3.424305)'), GeomFromEWKT('SRID=4674;POINT (-38.675484 -3.424315)'))) / (select extract(epoch from '2026-08-12 20:17:24'::timestamp) - extract(epoch from '2026-08-12 20:17:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675541 -3.424329)', '2026-08-12 20:17:25', 28.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675484 -3.424315)'), GeomFromEWKT('SRID=4674;POINT (-38.675541 -3.424329)'))) / (select extract(epoch from '2026-08-12 20:17:25'::timestamp) - extract(epoch from '2026-08-12 20:17:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675484 -3.424315)'), GeomFromEWKT('SRID=4674;POINT (-38.675541 -3.424329)'))) / (select extract(epoch from '2026-08-12 20:17:25'::timestamp) - extract(epoch from '2026-08-12 20:17:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675645 -3.424354)', '2026-08-12 20:17:25', 27.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675541 -3.424329)'), GeomFromEWKT('SRID=4674;POINT (-38.675645 -3.424354)'))) / (select extract(epoch from '2026-08-12 20:17:25'::timestamp) - extract(epoch from '2026-08-12 20:17:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675541 -3.424329)'), GeomFromEWKT('SRID=4674;POINT (-38.675645 -3.424354)'))) / (select extract(epoch from '2026-08-12 20:17:25'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.675736 -3.424399)', '2026-08-12 20:17:26', 26.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675645 -3.424354)'), GeomFromEWKT('SRID=4674;POINT (-38.675736 -3.424399)'))) / (select extract(epoch from '2026-08-12 20:17:26'::timestamp) - extract(epoch from '2026-08-12 20:17:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675645 -3.424354)'), GeomFromEWKT('SRID=4674;POINT (-38.675736 -3.424399)'))) / (select extract(epoch from '2026-08-12 20:17:26'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.675791 -3.424434)', '2026-08-12 20:17:27', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675736 -3.424399)'), GeomFromEWKT('SRID=4674;POINT (-38.675791 -3.424434)'))) / (select extract(epoch from '2026-08-12 20:17:27'::timestamp) - extract(epoch from '2026-08-12 20:17:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675736 -3.424399)'), GeomFromEWKT('SRID=4674;POINT (-38.675791 -3.424434)'))) / (select extract(epoch from '2026-08-12 20:17:27'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675848 -3.424467)', '2026-08-12 20:17:27', 22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675791 -3.424434)'), GeomFromEWKT('SRID=4674;POINT (-38.675848 -3.424467)'))) / (select extract(epoch from '2026-08-12 20:17:27'::timestamp) - extract(epoch from '2026-08-12 20:17:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675791 -3.424434)'), GeomFromEWKT('SRID=4674;POINT (-38.675848 -3.424467)'))) / (select extract(epoch from '2026-08-12 20:17:27'::timestamp) - extract(epoch from '2026-08-12 20:17:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675883 -3.424496)', '2026-08-12 20:17:27', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675848 -3.424467)'), GeomFromEWKT('SRID=4674;POINT (-38.675883 -3.424496)'))) / (select extract(epoch from '2026-08-12 20:17:27'::timestamp) - extract(epoch from '2026-08-12 20:17:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675848 -3.424467)'), GeomFromEWKT('SRID=4674;POINT (-38.675883 -3.424496)'))) / (select extract(epoch from '2026-08-12 20:17:27'::timestamp) - extract(epoch from '2026-08-12 20:17:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675906 -3.424513)', '2026-08-12 20:17:27', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675883 -3.424496)'), GeomFromEWKT('SRID=4674;POINT (-38.675906 -3.424513)'))) / (select extract(epoch from '2026-08-12 20:17:27'::timestamp) - extract(epoch from '2026-08-12 20:17:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675883 -3.424496)'), GeomFromEWKT('SRID=4674;POINT (-38.675906 -3.424513)'))) / (select extract(epoch from '2026-08-12 20:17:27'::timestamp) - extract(epoch from '2026-08-12 20:17:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675945 -3.42456)', '2026-08-12 20:17:28', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675906 -3.424513)'), GeomFromEWKT('SRID=4674;POINT (-38.675945 -3.42456)'))) / (select extract(epoch from '2026-08-12 20:17:28'::timestamp) - extract(epoch from '2026-08-12 20:17:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675906 -3.424513)'), GeomFromEWKT('SRID=4674;POINT (-38.675945 -3.42456)'))) / (select extract(epoch from '2026-08-12 20:17:28'::timestamp) - extract(epoch from '2026-08-12 20:17:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675978 -3.424613)', '2026-08-12 20:17:28', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675945 -3.42456)'), GeomFromEWKT('SRID=4674;POINT (-38.675978 -3.424613)'))) / (select extract(epoch from '2026-08-12 20:17:28'::timestamp) - extract(epoch from '2026-08-12 20:17:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675945 -3.42456)'), GeomFromEWKT('SRID=4674;POINT (-38.675978 -3.424613)'))) / (select extract(epoch from '2026-08-12 20:17:28'::timestamp) - extract(epoch from '2026-08-12 20:17:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.67602 -3.424682)', '2026-08-12 20:17:29', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675978 -3.424613)'), GeomFromEWKT('SRID=4674;POINT (-38.67602 -3.424682)'))) / (select extract(epoch from '2026-08-12 20:17:29'::timestamp) - extract(epoch from '2026-08-12 20:17:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675978 -3.424613)'), GeomFromEWKT('SRID=4674;POINT (-38.67602 -3.424682)'))) / (select extract(epoch from '2026-08-12 20:17:29'::timestamp) - extract(epoch from '2026-08-12 20:17:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.67605 -3.42471)', '2026-08-12 20:17:29', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67602 -3.424682)'), GeomFromEWKT('SRID=4674;POINT (-38.67605 -3.42471)'))) / (select extract(epoch from '2026-08-12 20:17:29'::timestamp) - extract(epoch from '2026-08-12 20:17:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67602 -3.424682)'), GeomFromEWKT('SRID=4674;POINT (-38.67605 -3.42471)'))) / (select extract(epoch from '2026-08-12 20:17:29'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.676078 -3.424745)', '2026-08-12 20:17:29', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67605 -3.42471)'), GeomFromEWKT('SRID=4674;POINT (-38.676078 -3.424745)'))) / (select extract(epoch from '2026-08-12 20:17:29'::timestamp) - extract(epoch from '2026-08-12 20:17:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67605 -3.42471)'), GeomFromEWKT('SRID=4674;POINT (-38.676078 -3.424745)'))) / (select extract(epoch from '2026-08-12 20:17:29'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.676092 -3.424791)', '2026-08-12 20:17:30', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676078 -3.424745)'), GeomFromEWKT('SRID=4674;POINT (-38.676092 -3.424791)'))) / (select extract(epoch from '2026-08-12 20:17:30'::timestamp) - extract(epoch from '2026-08-12 20:17:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676078 -3.424745)'), GeomFromEWKT('SRID=4674;POINT (-38.676092 -3.424791)'))) / (select extract(epoch from '2026-08-12 20:17:30'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.676118 -3.42483)', '2026-08-12 20:17:30', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676092 -3.424791)'), GeomFromEWKT('SRID=4674;POINT (-38.676118 -3.42483)'))) / (select extract(epoch from '2026-08-12 20:17:30'::timestamp) - extract(epoch from '2026-08-12 20:17:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676092 -3.424791)'), GeomFromEWKT('SRID=4674;POINT (-38.676118 -3.42483)'))) / (select extract(epoch from '2026-08-12 20:17:30'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.67614 -3.42486)', '2026-08-12 20:17:30', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676118 -3.42483)'), GeomFromEWKT('SRID=4674;POINT (-38.67614 -3.42486)'))) / (select extract(epoch from '2026-08-12 20:17:30'::timestamp) - extract(epoch from '2026-08-12 20:17:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676118 -3.42483)'), GeomFromEWKT('SRID=4674;POINT (-38.67614 -3.42486)'))) / (select extract(epoch from '2026-08-12 20:17:30'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.676166 -3.424886)', '2026-08-12 20:17:31', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67614 -3.42486)'), GeomFromEWKT('SRID=4674;POINT (-38.676166 -3.424886)'))) / (select extract(epoch from '2026-08-12 20:17:31'::timestamp) - extract(epoch from '2026-08-12 20:17:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67614 -3.42486)'), GeomFromEWKT('SRID=4674;POINT (-38.676166 -3.424886)'))) / (select extract(epoch from '2026-08-12 20:17:31'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.676173 -3.424887)', '2026-08-12 20:17:31', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676166 -3.424886)'), GeomFromEWKT('SRID=4674;POINT (-38.676173 -3.424887)'))) / (select extract(epoch from '2026-08-12 20:17:31'::timestamp) - extract(epoch from '2026-08-12 20:17:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676166 -3.424886)'), GeomFromEWKT('SRID=4674;POINT (-38.676173 -3.424887)'))) / (select extract(epoch from '2026-08-12 20:17:31'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.676195 -3.424894)', '2026-08-12 20:17:31', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676173 -3.424887)'), GeomFromEWKT('SRID=4674;POINT (-38.676195 -3.424894)'))) / (select extract(epoch from '2026-08-12 20:17:31'::timestamp) - extract(epoch from '2026-08-12 20:17:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676173 -3.424887)'), GeomFromEWKT('SRID=4674;POINT (-38.676195 -3.424894)'))) / (select extract(epoch from '2026-08-12 20:17:31'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.676212 -3.424885)', '2026-08-12 20:17:31', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676195 -3.424894)'), GeomFromEWKT('SRID=4674;POINT (-38.676212 -3.424885)'))) / (select extract(epoch from '2026-08-12 20:17:31'::timestamp) - extract(epoch from '2026-08-12 20:17:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676195 -3.424894)'), GeomFromEWKT('SRID=4674;POINT (-38.676212 -3.424885)'))) / (select extract(epoch from '2026-08-12 20:17:31'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.676212 -3.424879)', '2026-08-12 20:17:31', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676212 -3.424885)'), GeomFromEWKT('SRID=4674;POINT (-38.676212 -3.424879)'))) / (select extract(epoch from '2026-08-12 20:17:31'::timestamp) - extract(epoch from '2026-08-12 20:17:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676212 -3.424885)'), GeomFromEWKT('SRID=4674;POINT (-38.676212 -3.424879)'))) / (select extract(epoch from '2026-08-12 20:17:31'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.676218 -3.424864)', '2026-08-12 20:17:31', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676212 -3.424879)'), GeomFromEWKT('SRID=4674;POINT (-38.676218 -3.424864)'))) / (select extract(epoch from '2026-08-12 20:17:31'::timestamp) - extract(epoch from '2026-08-12 20:17:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676212 -3.424879)'), GeomFromEWKT('SRID=4674;POINT (-38.676218 -3.424864)'))) / (select extract(epoch from '2026-08-12 20:17:31'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.676228 -3.424837)', '2026-08-12 20:17:31', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676218 -3.424864)'), GeomFromEWKT('SRID=4674;POINT (-38.676228 -3.424837)'))) / (select extract(epoch from '2026-08-12 20:17:31'::timestamp) - extract(epoch from '2026-08-12 20:17:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676218 -3.424864)'), GeomFromEWKT('SRID=4674;POINT (-38.676228 -3.424837)'))) / (select extract(epoch from '2026-08-12 20:17:31'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.676226 -3.424799)', '2026-08-12 20:17:32', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676228 -3.424837)'), GeomFromEWKT('SRID=4674;POINT (-38.676226 -3.424799)'))) / (select extract(epoch from '2026-08-12 20:17:32'::timestamp) - extract(epoch from '2026-08-12 20:17:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676228 -3.424837)'), GeomFromEWKT('SRID=4674;POINT (-38.676226 -3.424799)'))) / (select extract(epoch from '2026-08-12 20:17:32'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.676195 -3.424775)', '2026-08-12 20:17:32', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676226 -3.424799)'), GeomFromEWKT('SRID=4674;POINT (-38.676195 -3.424775)'))) / (select extract(epoch from '2026-08-12 20:17:32'::timestamp) - extract(epoch from '2026-08-12 20:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676226 -3.424799)'), GeomFromEWKT('SRID=4674;POINT (-38.676195 -3.424775)'))) / (select extract(epoch from '2026-08-12 20:17:32'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.67617 -3.424767)', '2026-08-12 20:17:32', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676195 -3.424775)'), GeomFromEWKT('SRID=4674;POINT (-38.67617 -3.424767)'))) / (select extract(epoch from '2026-08-12 20:17:32'::timestamp) - extract(epoch from '2026-08-12 20:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676195 -3.424775)'), GeomFromEWKT('SRID=4674;POINT (-38.67617 -3.424767)'))) / (select extract(epoch from '2026-08-12 20:17:32'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.676154 -3.424757)', '2026-08-12 20:17:32', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67617 -3.424767)'), GeomFromEWKT('SRID=4674;POINT (-38.676154 -3.424757)'))) / (select extract(epoch from '2026-08-12 20:17:32'::timestamp) - extract(epoch from '2026-08-12 20:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67617 -3.424767)'), GeomFromEWKT('SRID=4674;POINT (-38.676154 -3.424757)'))) / (select extract(epoch from '2026-08-12 20:17:32'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.676138 -3.424744)', '2026-08-12 20:17:32', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676154 -3.424757)'), GeomFromEWKT('SRID=4674;POINT (-38.676138 -3.424744)'))) / (select extract(epoch from '2026-08-12 20:17:32'::timestamp) - extract(epoch from '2026-08-12 20:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676154 -3.424757)'), GeomFromEWKT('SRID=4674;POINT (-38.676138 -3.424744)'))) / (select extract(epoch from '2026-08-12 20:17:32'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.676128 -3.424744)', '2026-08-12 20:17:32', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676138 -3.424744)'), GeomFromEWKT('SRID=4674;POINT (-38.676128 -3.424744)'))) / (select extract(epoch from '2026-08-12 20:17:32'::timestamp) - extract(epoch from '2026-08-12 20:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676138 -3.424744)'), GeomFromEWKT('SRID=4674;POINT (-38.676128 -3.424744)'))) / (select extract(epoch from '2026-08-12 20:17:32'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.676117 -3.424747)', '2026-08-12 20:17:32', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676128 -3.424744)'), GeomFromEWKT('SRID=4674;POINT (-38.676117 -3.424747)'))) / (select extract(epoch from '2026-08-12 20:17:32'::timestamp) - extract(epoch from '2026-08-12 20:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676128 -3.424744)'), GeomFromEWKT('SRID=4674;POINT (-38.676117 -3.424747)'))) / (select extract(epoch from '2026-08-12 20:17:32'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.676065 -3.424739)', '2026-08-12 20:17:33', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676117 -3.424747)'), GeomFromEWKT('SRID=4674;POINT (-38.676065 -3.424739)'))) / (select extract(epoch from '2026-08-12 20:17:33'::timestamp) - extract(epoch from '2026-08-12 20:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676117 -3.424747)'), GeomFromEWKT('SRID=4674;POINT (-38.676065 -3.424739)'))) / (select extract(epoch from '2026-08-12 20:17:33'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.676015 -3.424746)', '2026-08-12 20:17:33', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676065 -3.424739)'), GeomFromEWKT('SRID=4674;POINT (-38.676015 -3.424746)'))) / (select extract(epoch from '2026-08-12 20:17:33'::timestamp) - extract(epoch from '2026-08-12 20:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676065 -3.424739)'), GeomFromEWKT('SRID=4674;POINT (-38.676015 -3.424746)'))) / (select extract(epoch from '2026-08-12 20:17:33'::timestamp) - extract(epoch from '2026-08-12 20:17:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675988 -3.424769)', '2026-08-12 20:17:33', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676015 -3.424746)'), GeomFromEWKT('SRID=4674;POINT (-38.675988 -3.424769)'))) / (select extract(epoch from '2026-08-12 20:17:33'::timestamp) - extract(epoch from '2026-08-12 20:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676015 -3.424746)'), GeomFromEWKT('SRID=4674;POINT (-38.675988 -3.424769)'))) / (select extract(epoch from '2026-08-12 20:17:33'::timestamp) - extract(epoch from '2026-08-12 20:17:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675962 -3.424777)', '2026-08-12 20:17:33', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675988 -3.424769)'), GeomFromEWKT('SRID=4674;POINT (-38.675962 -3.424777)'))) / (select extract(epoch from '2026-08-12 20:17:33'::timestamp) - extract(epoch from '2026-08-12 20:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675988 -3.424769)'), GeomFromEWKT('SRID=4674;POINT (-38.675962 -3.424777)'))) / (select extract(epoch from '2026-08-12 20:17:33'::timestamp) - extract(epoch from '2026-08-12 20:17:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675922 -3.424775)', '2026-08-12 20:17:34', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675962 -3.424777)'), GeomFromEWKT('SRID=4674;POINT (-38.675922 -3.424775)'))) / (select extract(epoch from '2026-08-12 20:17:34'::timestamp) - extract(epoch from '2026-08-12 20:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675962 -3.424777)'), GeomFromEWKT('SRID=4674;POINT (-38.675922 -3.424775)'))) / (select extract(epoch from '2026-08-12 20:17:34'::timestamp) - extract(epoch from '2026-08-12 20:17:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675885 -3.424778)', '2026-08-12 20:17:34', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675922 -3.424775)'), GeomFromEWKT('SRID=4674;POINT (-38.675885 -3.424778)'))) / (select extract(epoch from '2026-08-12 20:17:34'::timestamp) - extract(epoch from '2026-08-12 20:17:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675922 -3.424775)'), GeomFromEWKT('SRID=4674;POINT (-38.675885 -3.424778)'))) / (select extract(epoch from '2026-08-12 20:17:34'::timestamp) - extract(epoch from '2026-08-12 20:17:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675858 -3.424792)', '2026-08-12 20:17:34', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675885 -3.424778)'), GeomFromEWKT('SRID=4674;POINT (-38.675858 -3.424792)'))) / (select extract(epoch from '2026-08-12 20:17:34'::timestamp) - extract(epoch from '2026-08-12 20:17:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675885 -3.424778)'), GeomFromEWKT('SRID=4674;POINT (-38.675858 -3.424792)'))) / (select extract(epoch from '2026-08-12 20:17:34'::timestamp) - extract(epoch from '2026-08-12 20:17:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675829 -3.4248)', '2026-08-12 20:17:34', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675858 -3.424792)'), GeomFromEWKT('SRID=4674;POINT (-38.675829 -3.4248)'))) / (select extract(epoch from '2026-08-12 20:17:34'::timestamp) - extract(epoch from '2026-08-12 20:17:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675858 -3.424792)'), GeomFromEWKT('SRID=4674;POINT (-38.675829 -3.4248)'))) / (select extract(epoch from '2026-08-12 20:17:34'::timestamp) - extract(epoch from '2026-08-12 20:17:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675815 -3.424802)', '2026-08-12 20:17:34', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675829 -3.4248)'), GeomFromEWKT('SRID=4674;POINT (-38.675815 -3.424802)'))) / (select extract(epoch from '2026-08-12 20:17:34'::timestamp) - extract(epoch from '2026-08-12 20:17:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675829 -3.4248)'), GeomFromEWKT('SRID=4674;POINT (-38.675815 -3.424802)'))) / (select extract(epoch from '2026-08-12 20:17:34'::timestamp) - extract(epoch from '2026-08-12 20:17:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675792 -3.4248)', '2026-08-12 20:17:35', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675815 -3.424802)'), GeomFromEWKT('SRID=4674;POINT (-38.675792 -3.4248)'))) / (select extract(epoch from '2026-08-12 20:17:35'::timestamp) - extract(epoch from '2026-08-12 20:17:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675815 -3.424802)'), GeomFromEWKT('SRID=4674;POINT (-38.675792 -3.4248)'))) / (select extract(epoch from '2026-08-12 20:17:35'::timestamp) - extract(epoch from '2026-08-12 20:17:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675856 -3.424728)', '2026-08-12 20:17:35', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675792 -3.4248)'), GeomFromEWKT('SRID=4674;POINT (-38.675856 -3.424728)'))) / (select extract(epoch from '2026-08-12 20:17:35'::timestamp) - extract(epoch from '2026-08-12 20:17:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675792 -3.4248)'), GeomFromEWKT('SRID=4674;POINT (-38.675856 -3.424728)'))) / (select extract(epoch from '2026-08-12 20:17:35'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.675878 -3.424638)', '2026-08-12 20:17:36', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675856 -3.424728)'), GeomFromEWKT('SRID=4674;POINT (-38.675878 -3.424638)'))) / (select extract(epoch from '2026-08-12 20:17:36'::timestamp) - extract(epoch from '2026-08-12 20:17:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675856 -3.424728)'), GeomFromEWKT('SRID=4674;POINT (-38.675878 -3.424638)'))) / (select extract(epoch from '2026-08-12 20:17:36'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.67588 -3.424624)', '2026-08-12 20:17:36', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675878 -3.424638)'), GeomFromEWKT('SRID=4674;POINT (-38.67588 -3.424624)'))) / (select extract(epoch from '2026-08-12 20:17:36'::timestamp) - extract(epoch from '2026-08-12 20:17:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675878 -3.424638)'), GeomFromEWKT('SRID=4674;POINT (-38.67588 -3.424624)'))) / (select extract(epoch from '2026-08-12 20:17:36'::timestamp) - extract(epoch from '2026-08-12 20:17:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675884 -3.424588)', '2026-08-12 20:17:36', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67588 -3.424624)'), GeomFromEWKT('SRID=4674;POINT (-38.675884 -3.424588)'))) / (select extract(epoch from '2026-08-12 20:17:36'::timestamp) - extract(epoch from '2026-08-12 20:17:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67588 -3.424624)'), GeomFromEWKT('SRID=4674;POINT (-38.675884 -3.424588)'))) / (select extract(epoch from '2026-08-12 20:17:36'::timestamp) - extract(epoch from '2026-08-12 20:17:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675889 -3.424544)', '2026-08-12 20:17:37', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675884 -3.424588)'), GeomFromEWKT('SRID=4674;POINT (-38.675889 -3.424544)'))) / (select extract(epoch from '2026-08-12 20:17:37'::timestamp) - extract(epoch from '2026-08-12 20:17:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675884 -3.424588)'), GeomFromEWKT('SRID=4674;POINT (-38.675889 -3.424544)'))) / (select extract(epoch from '2026-08-12 20:17:37'::timestamp) - extract(epoch from '2026-08-12 20:17:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675877 -3.424513)', '2026-08-12 20:17:37', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675889 -3.424544)'), GeomFromEWKT('SRID=4674;POINT (-38.675877 -3.424513)'))) / (select extract(epoch from '2026-08-12 20:17:37'::timestamp) - extract(epoch from '2026-08-12 20:17:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675889 -3.424544)'), GeomFromEWKT('SRID=4674;POINT (-38.675877 -3.424513)'))) / (select extract(epoch from '2026-08-12 20:17:37'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675873 -3.424493)', '2026-08-12 20:17:37', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675877 -3.424513)'), GeomFromEWKT('SRID=4674;POINT (-38.675873 -3.424493)'))) / (select extract(epoch from '2026-08-12 20:17:37'::timestamp) - extract(epoch from '2026-08-12 20:17:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675877 -3.424513)'), GeomFromEWKT('SRID=4674;POINT (-38.675873 -3.424493)'))) / (select extract(epoch from '2026-08-12 20:17:37'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675861 -3.424483)', '2026-08-12 20:17:37', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675873 -3.424493)'), GeomFromEWKT('SRID=4674;POINT (-38.675861 -3.424483)'))) / (select extract(epoch from '2026-08-12 20:17:37'::timestamp) - extract(epoch from '2026-08-12 20:17:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675873 -3.424493)'), GeomFromEWKT('SRID=4674;POINT (-38.675861 -3.424483)'))) / (select extract(epoch from '2026-08-12 20:17:37'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675847 -3.424462)', '2026-08-12 20:17:37', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675861 -3.424483)'), GeomFromEWKT('SRID=4674;POINT (-38.675847 -3.424462)'))) / (select extract(epoch from '2026-08-12 20:17:37'::timestamp) - extract(epoch from '2026-08-12 20:17:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675861 -3.424483)'), GeomFromEWKT('SRID=4674;POINT (-38.675847 -3.424462)'))) / (select extract(epoch from '2026-08-12 20:17:37'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675838 -3.424433)', '2026-08-12 20:17:37', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675847 -3.424462)'), GeomFromEWKT('SRID=4674;POINT (-38.675838 -3.424433)'))) / (select extract(epoch from '2026-08-12 20:17:37'::timestamp) - extract(epoch from '2026-08-12 20:17:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675847 -3.424462)'), GeomFromEWKT('SRID=4674;POINT (-38.675838 -3.424433)'))) / (select extract(epoch from '2026-08-12 20:17:37'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.67584 -3.424421)', '2026-08-12 20:17:37', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675838 -3.424433)'), GeomFromEWKT('SRID=4674;POINT (-38.67584 -3.424421)'))) / (select extract(epoch from '2026-08-12 20:17:37'::timestamp) - extract(epoch from '2026-08-12 20:17:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675838 -3.424433)'), GeomFromEWKT('SRID=4674;POINT (-38.67584 -3.424421)'))) / (select extract(epoch from '2026-08-12 20:17:37'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675846 -3.424385)', '2026-08-12 20:17:38', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67584 -3.424421)'), GeomFromEWKT('SRID=4674;POINT (-38.675846 -3.424385)'))) / (select extract(epoch from '2026-08-12 20:17:38'::timestamp) - extract(epoch from '2026-08-12 20:17:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67584 -3.424421)'), GeomFromEWKT('SRID=4674;POINT (-38.675846 -3.424385)'))) / (select extract(epoch from '2026-08-12 20:17:38'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675854 -3.424347)', '2026-08-12 20:17:38', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675846 -3.424385)'), GeomFromEWKT('SRID=4674;POINT (-38.675854 -3.424347)'))) / (select extract(epoch from '2026-08-12 20:17:38'::timestamp) - extract(epoch from '2026-08-12 20:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675846 -3.424385)'), GeomFromEWKT('SRID=4674;POINT (-38.675854 -3.424347)'))) / (select extract(epoch from '2026-08-12 20:17:38'::timestamp) - extract(epoch from '2026-08-12 20:17:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675852 -3.424332)', '2026-08-12 20:17:38', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675854 -3.424347)'), GeomFromEWKT('SRID=4674;POINT (-38.675852 -3.424332)'))) / (select extract(epoch from '2026-08-12 20:17:38'::timestamp) - extract(epoch from '2026-08-12 20:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675854 -3.424347)'), GeomFromEWKT('SRID=4674;POINT (-38.675852 -3.424332)'))) / (select extract(epoch from '2026-08-12 20:17:38'::timestamp) - extract(epoch from '2026-08-12 20:17:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.67585 -3.424316)', '2026-08-12 20:17:38', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675852 -3.424332)'), GeomFromEWKT('SRID=4674;POINT (-38.67585 -3.424316)'))) / (select extract(epoch from '2026-08-12 20:17:38'::timestamp) - extract(epoch from '2026-08-12 20:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675852 -3.424332)'), GeomFromEWKT('SRID=4674;POINT (-38.67585 -3.424316)'))) / (select extract(epoch from '2026-08-12 20:17:38'::timestamp) - extract(epoch from '2026-08-12 20:17:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675849 -3.424304)', '2026-08-12 20:17:38', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67585 -3.424316)'), GeomFromEWKT('SRID=4674;POINT (-38.675849 -3.424304)'))) / (select extract(epoch from '2026-08-12 20:17:38'::timestamp) - extract(epoch from '2026-08-12 20:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67585 -3.424316)'), GeomFromEWKT('SRID=4674;POINT (-38.675849 -3.424304)'))) / (select extract(epoch from '2026-08-12 20:17:38'::timestamp) - extract(epoch from '2026-08-12 20:17:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675849 -3.424291)', '2026-08-12 20:17:38', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675849 -3.424304)'), GeomFromEWKT('SRID=4674;POINT (-38.675849 -3.424291)'))) / (select extract(epoch from '2026-08-12 20:17:38'::timestamp) - extract(epoch from '2026-08-12 20:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675849 -3.424304)'), GeomFromEWKT('SRID=4674;POINT (-38.675849 -3.424291)'))) / (select extract(epoch from '2026-08-12 20:17:38'::timestamp) - extract(epoch from '2026-08-12 20:17:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675844 -3.424266)', '2026-08-12 20:17:38', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675849 -3.424291)'), GeomFromEWKT('SRID=4674;POINT (-38.675844 -3.424266)'))) / (select extract(epoch from '2026-08-12 20:17:38'::timestamp) - extract(epoch from '2026-08-12 20:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675849 -3.424291)'), GeomFromEWKT('SRID=4674;POINT (-38.675844 -3.424266)'))) / (select extract(epoch from '2026-08-12 20:17:38'::timestamp) - extract(epoch from '2026-08-12 20:17:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675844 -3.424236)', '2026-08-12 20:17:39', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675844 -3.424266)'), GeomFromEWKT('SRID=4674;POINT (-38.675844 -3.424236)'))) / (select extract(epoch from '2026-08-12 20:17:39'::timestamp) - extract(epoch from '2026-08-12 20:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675844 -3.424266)'), GeomFromEWKT('SRID=4674;POINT (-38.675844 -3.424236)'))) / (select extract(epoch from '2026-08-12 20:17:39'::timestamp) - extract(epoch from '2026-08-12 20:17:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675844 -3.424208)', '2026-08-12 20:17:39', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675844 -3.424236)'), GeomFromEWKT('SRID=4674;POINT (-38.675844 -3.424208)'))) / (select extract(epoch from '2026-08-12 20:17:39'::timestamp) - extract(epoch from '2026-08-12 20:17:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675844 -3.424236)'), GeomFromEWKT('SRID=4674;POINT (-38.675844 -3.424208)'))) / (select extract(epoch from '2026-08-12 20:17:39'::timestamp) - extract(epoch from '2026-08-12 20:17:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675826 -3.424177)', '2026-08-12 20:17:39', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675844 -3.424208)'), GeomFromEWKT('SRID=4674;POINT (-38.675826 -3.424177)'))) / (select extract(epoch from '2026-08-12 20:17:39'::timestamp) - extract(epoch from '2026-08-12 20:17:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675844 -3.424208)'), GeomFromEWKT('SRID=4674;POINT (-38.675826 -3.424177)'))) / (select extract(epoch from '2026-08-12 20:17:39'::timestamp) - extract(epoch from '2026-08-12 20:17:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675775 -3.424162)', '2026-08-12 20:17:39', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675826 -3.424177)'), GeomFromEWKT('SRID=4674;POINT (-38.675775 -3.424162)'))) / (select extract(epoch from '2026-08-12 20:17:39'::timestamp) - extract(epoch from '2026-08-12 20:17:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675826 -3.424177)'), GeomFromEWKT('SRID=4674;POINT (-38.675775 -3.424162)'))) / (select extract(epoch from '2026-08-12 20:17:39'::timestamp) - extract(epoch from '2026-08-12 20:17:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675753 -3.424155)', '2026-08-12 20:17:40', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675775 -3.424162)'), GeomFromEWKT('SRID=4674;POINT (-38.675753 -3.424155)'))) / (select extract(epoch from '2026-08-12 20:17:40'::timestamp) - extract(epoch from '2026-08-12 20:17:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675775 -3.424162)'), GeomFromEWKT('SRID=4674;POINT (-38.675753 -3.424155)'))) / (select extract(epoch from '2026-08-12 20:17:40'::timestamp) - extract(epoch from '2026-08-12 20:17:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.67573 -3.424163)', '2026-08-12 20:17:40', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675753 -3.424155)'), GeomFromEWKT('SRID=4674;POINT (-38.67573 -3.424163)'))) / (select extract(epoch from '2026-08-12 20:17:40'::timestamp) - extract(epoch from '2026-08-12 20:17:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675753 -3.424155)'), GeomFromEWKT('SRID=4674;POINT (-38.67573 -3.424163)'))) / (select extract(epoch from '2026-08-12 20:17:40'::timestamp) - extract(epoch from '2026-08-12 20:17:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675686 -3.424208)', '2026-08-12 20:17:40', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67573 -3.424163)'), GeomFromEWKT('SRID=4674;POINT (-38.675686 -3.424208)'))) / (select extract(epoch from '2026-08-12 20:17:40'::timestamp) - extract(epoch from '2026-08-12 20:17:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67573 -3.424163)'), GeomFromEWKT('SRID=4674;POINT (-38.675686 -3.424208)'))) / (select extract(epoch from '2026-08-12 20:17:40'::timestamp) - extract(epoch from '2026-08-12 20:17:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675654 -3.424265)', '2026-08-12 20:17:41', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675686 -3.424208)'), GeomFromEWKT('SRID=4674;POINT (-38.675654 -3.424265)'))) / (select extract(epoch from '2026-08-12 20:17:41'::timestamp) - extract(epoch from '2026-08-12 20:17:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675686 -3.424208)'), GeomFromEWKT('SRID=4674;POINT (-38.675654 -3.424265)'))) / (select extract(epoch from '2026-08-12 20:17:41'::timestamp) - extract(epoch from '2026-08-12 20:17:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675639 -3.424362)', '2026-08-12 20:17:41', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675654 -3.424265)'), GeomFromEWKT('SRID=4674;POINT (-38.675639 -3.424362)'))) / (select extract(epoch from '2026-08-12 20:17:41'::timestamp) - extract(epoch from '2026-08-12 20:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675654 -3.424265)'), GeomFromEWKT('SRID=4674;POINT (-38.675639 -3.424362)'))) / (select extract(epoch from '2026-08-12 20:17:41'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.675652 -3.424459)', '2026-08-12 20:17:42', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675639 -3.424362)'), GeomFromEWKT('SRID=4674;POINT (-38.675652 -3.424459)'))) / (select extract(epoch from '2026-08-12 20:17:42'::timestamp) - extract(epoch from '2026-08-12 20:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675639 -3.424362)'), GeomFromEWKT('SRID=4674;POINT (-38.675652 -3.424459)'))) / (select extract(epoch from '2026-08-12 20:17:42'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.67566 -3.424494)', '2026-08-12 20:17:42', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675652 -3.424459)'), GeomFromEWKT('SRID=4674;POINT (-38.67566 -3.424494)'))) / (select extract(epoch from '2026-08-12 20:17:42'::timestamp) - extract(epoch from '2026-08-12 20:17:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675652 -3.424459)'), GeomFromEWKT('SRID=4674;POINT (-38.67566 -3.424494)'))) / (select extract(epoch from '2026-08-12 20:17:42'::timestamp) - extract(epoch from '2026-08-12 20:17:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675662 -3.424516)', '2026-08-12 20:17:42', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67566 -3.424494)'), GeomFromEWKT('SRID=4674;POINT (-38.675662 -3.424516)'))) / (select extract(epoch from '2026-08-12 20:17:42'::timestamp) - extract(epoch from '2026-08-12 20:17:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67566 -3.424494)'), GeomFromEWKT('SRID=4674;POINT (-38.675662 -3.424516)'))) / (select extract(epoch from '2026-08-12 20:17:42'::timestamp) - extract(epoch from '2026-08-12 20:17:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.6757 -3.424586)', '2026-08-12 20:17:43', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675662 -3.424516)'), GeomFromEWKT('SRID=4674;POINT (-38.6757 -3.424586)'))) / (select extract(epoch from '2026-08-12 20:17:43'::timestamp) - extract(epoch from '2026-08-12 20:17:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675662 -3.424516)'), GeomFromEWKT('SRID=4674;POINT (-38.6757 -3.424586)'))) / (select extract(epoch from '2026-08-12 20:17:43'::timestamp) - extract(epoch from '2026-08-12 20:17:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675729 -3.42462)', '2026-08-12 20:17:43', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6757 -3.424586)'), GeomFromEWKT('SRID=4674;POINT (-38.675729 -3.42462)'))) / (select extract(epoch from '2026-08-12 20:17:43'::timestamp) - extract(epoch from '2026-08-12 20:17:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6757 -3.424586)'), GeomFromEWKT('SRID=4674;POINT (-38.675729 -3.42462)'))) / (select extract(epoch from '2026-08-12 20:17:43'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675748 -3.424641)', '2026-08-12 20:17:43', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675729 -3.42462)'), GeomFromEWKT('SRID=4674;POINT (-38.675748 -3.424641)'))) / (select extract(epoch from '2026-08-12 20:17:43'::timestamp) - extract(epoch from '2026-08-12 20:17:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675729 -3.42462)'), GeomFromEWKT('SRID=4674;POINT (-38.675748 -3.424641)'))) / (select extract(epoch from '2026-08-12 20:17:43'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675765 -3.424591)', '2026-08-12 20:17:44', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675748 -3.424641)'), GeomFromEWKT('SRID=4674;POINT (-38.675765 -3.424591)'))) / (select extract(epoch from '2026-08-12 20:17:44'::timestamp) - extract(epoch from '2026-08-12 20:17:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675748 -3.424641)'), GeomFromEWKT('SRID=4674;POINT (-38.675765 -3.424591)'))) / (select extract(epoch from '2026-08-12 20:17:44'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675771 -3.424493)', '2026-08-12 20:17:44', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675765 -3.424591)'), GeomFromEWKT('SRID=4674;POINT (-38.675771 -3.424493)'))) / (select extract(epoch from '2026-08-12 20:17:44'::timestamp) - extract(epoch from '2026-08-12 20:17:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675765 -3.424591)'), GeomFromEWKT('SRID=4674;POINT (-38.675771 -3.424493)'))) / (select extract(epoch from '2026-08-12 20:17:44'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.675775 -3.424484)', '2026-08-12 20:17:44', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675771 -3.424493)'), GeomFromEWKT('SRID=4674;POINT (-38.675775 -3.424484)'))) / (select extract(epoch from '2026-08-12 20:17:44'::timestamp) - extract(epoch from '2026-08-12 20:17:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675771 -3.424493)'), GeomFromEWKT('SRID=4674;POINT (-38.675775 -3.424484)'))) / (select extract(epoch from '2026-08-12 20:17:44'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.675804 -3.424439)', '2026-08-12 20:17:45', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675775 -3.424484)'), GeomFromEWKT('SRID=4674;POINT (-38.675804 -3.424439)'))) / (select extract(epoch from '2026-08-12 20:17:45'::timestamp) - extract(epoch from '2026-08-12 20:17:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675775 -3.424484)'), GeomFromEWKT('SRID=4674;POINT (-38.675804 -3.424439)'))) / (select extract(epoch from '2026-08-12 20:17:45'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.675832 -3.424416)', '2026-08-12 20:17:45', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675804 -3.424439)'), GeomFromEWKT('SRID=4674;POINT (-38.675832 -3.424416)'))) / (select extract(epoch from '2026-08-12 20:17:45'::timestamp) - extract(epoch from '2026-08-12 20:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675804 -3.424439)'), GeomFromEWKT('SRID=4674;POINT (-38.675832 -3.424416)'))) / (select extract(epoch from '2026-08-12 20:17:45'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.675875 -3.424402)', '2026-08-12 20:17:45', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675832 -3.424416)'), GeomFromEWKT('SRID=4674;POINT (-38.675875 -3.424402)'))) / (select extract(epoch from '2026-08-12 20:17:45'::timestamp) - extract(epoch from '2026-08-12 20:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675832 -3.424416)'), GeomFromEWKT('SRID=4674;POINT (-38.675875 -3.424402)'))) / (select extract(epoch from '2026-08-12 20:17:45'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.675951 -3.424398)', '2026-08-12 20:17:46', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675875 -3.424402)'), GeomFromEWKT('SRID=4674;POINT (-38.675951 -3.424398)'))) / (select extract(epoch from '2026-08-12 20:17:46'::timestamp) - extract(epoch from '2026-08-12 20:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675875 -3.424402)'), GeomFromEWKT('SRID=4674;POINT (-38.675951 -3.424398)'))) / (select extract(epoch from '2026-08-12 20:17:46'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.67602 -3.424448)', '2026-08-12 20:17:46', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675951 -3.424398)'), GeomFromEWKT('SRID=4674;POINT (-38.67602 -3.424448)'))) / (select extract(epoch from '2026-08-12 20:17:46'::timestamp) - extract(epoch from '2026-08-12 20:17:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675951 -3.424398)'), GeomFromEWKT('SRID=4674;POINT (-38.67602 -3.424448)'))) / (select extract(epoch from '2026-08-12 20:17:46'::timestamp) - extract(epoch from '2026-08-12 20:17:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.676025 -3.424456)', '2026-08-12 20:17:46', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67602 -3.424448)'), GeomFromEWKT('SRID=4674;POINT (-38.676025 -3.424456)'))) / (select extract(epoch from '2026-08-12 20:17:46'::timestamp) - extract(epoch from '2026-08-12 20:17:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67602 -3.424448)'), GeomFromEWKT('SRID=4674;POINT (-38.676025 -3.424456)'))) / (select extract(epoch from '2026-08-12 20:17:46'::timestamp) - extract(epoch from '2026-08-12 20:17:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.676024 -3.424476)', '2026-08-12 20:17:47', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676025 -3.424456)'), GeomFromEWKT('SRID=4674;POINT (-38.676024 -3.424476)'))) / (select extract(epoch from '2026-08-12 20:17:47'::timestamp) - extract(epoch from '2026-08-12 20:17:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676025 -3.424456)'), GeomFromEWKT('SRID=4674;POINT (-38.676024 -3.424476)'))) / (select extract(epoch from '2026-08-12 20:17:47'::timestamp) - extract(epoch from '2026-08-12 20:17:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.676031 -3.424494)', '2026-08-12 20:17:47', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676024 -3.424476)'), GeomFromEWKT('SRID=4674;POINT (-38.676031 -3.424494)'))) / (select extract(epoch from '2026-08-12 20:17:47'::timestamp) - extract(epoch from '2026-08-12 20:17:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676024 -3.424476)'), GeomFromEWKT('SRID=4674;POINT (-38.676031 -3.424494)'))) / (select extract(epoch from '2026-08-12 20:17:47'::timestamp) - extract(epoch from '2026-08-12 20:17:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.676025 -3.424533)', '2026-08-12 20:17:47', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676031 -3.424494)'), GeomFromEWKT('SRID=4674;POINT (-38.676025 -3.424533)'))) / (select extract(epoch from '2026-08-12 20:17:47'::timestamp) - extract(epoch from '2026-08-12 20:17:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676031 -3.424494)'), GeomFromEWKT('SRID=4674;POINT (-38.676025 -3.424533)'))) / (select extract(epoch from '2026-08-12 20:17:47'::timestamp) - extract(epoch from '2026-08-12 20:17:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.676029 -3.424547)', '2026-08-12 20:17:47', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676025 -3.424533)'), GeomFromEWKT('SRID=4674;POINT (-38.676029 -3.424547)'))) / (select extract(epoch from '2026-08-12 20:17:47'::timestamp) - extract(epoch from '2026-08-12 20:17:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676025 -3.424533)'), GeomFromEWKT('SRID=4674;POINT (-38.676029 -3.424547)'))) / (select extract(epoch from '2026-08-12 20:17:47'::timestamp) - extract(epoch from '2026-08-12 20:17:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.676021 -3.424626)', '2026-08-12 20:17:48', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676029 -3.424547)'), GeomFromEWKT('SRID=4674;POINT (-38.676021 -3.424626)'))) / (select extract(epoch from '2026-08-12 20:17:48'::timestamp) - extract(epoch from '2026-08-12 20:17:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676029 -3.424547)'), GeomFromEWKT('SRID=4674;POINT (-38.676021 -3.424626)'))) / (select extract(epoch from '2026-08-12 20:17:48'::timestamp) - extract(epoch from '2026-08-12 20:17:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.676028 -3.424706)', '2026-08-12 20:17:48', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676021 -3.424626)'), GeomFromEWKT('SRID=4674;POINT (-38.676028 -3.424706)'))) / (select extract(epoch from '2026-08-12 20:17:48'::timestamp) - extract(epoch from '2026-08-12 20:17:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676021 -3.424626)'), GeomFromEWKT('SRID=4674;POINT (-38.676028 -3.424706)'))) / (select extract(epoch from '2026-08-12 20:17:48'::timestamp) - extract(epoch from '2026-08-12 20:17:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.676029 -3.424718)', '2026-08-12 20:17:48', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676028 -3.424706)'), GeomFromEWKT('SRID=4674;POINT (-38.676029 -3.424718)'))) / (select extract(epoch from '2026-08-12 20:17:48'::timestamp) - extract(epoch from '2026-08-12 20:17:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676028 -3.424706)'), GeomFromEWKT('SRID=4674;POINT (-38.676029 -3.424718)'))) / (select extract(epoch from '2026-08-12 20:17:48'::timestamp) - extract(epoch from '2026-08-12 20:17:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.676029 -3.424771)', '2026-08-12 20:17:49', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676029 -3.424718)'), GeomFromEWKT('SRID=4674;POINT (-38.676029 -3.424771)'))) / (select extract(epoch from '2026-08-12 20:17:49'::timestamp) - extract(epoch from '2026-08-12 20:17:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676029 -3.424718)'), GeomFromEWKT('SRID=4674;POINT (-38.676029 -3.424771)'))) / (select extract(epoch from '2026-08-12 20:17:49'::timestamp) - extract(epoch from '2026-08-12 20:17:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.676019 -3.424829)', '2026-08-12 20:17:49', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676029 -3.424771)'), GeomFromEWKT('SRID=4674;POINT (-38.676019 -3.424829)'))) / (select extract(epoch from '2026-08-12 20:17:49'::timestamp) - extract(epoch from '2026-08-12 20:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676029 -3.424771)'), GeomFromEWKT('SRID=4674;POINT (-38.676019 -3.424829)'))) / (select extract(epoch from '2026-08-12 20:17:49'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.676007 -3.424907)', '2026-08-12 20:17:49', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676019 -3.424829)'), GeomFromEWKT('SRID=4674;POINT (-38.676007 -3.424907)'))) / (select extract(epoch from '2026-08-12 20:17:49'::timestamp) - extract(epoch from '2026-08-12 20:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676019 -3.424829)'), GeomFromEWKT('SRID=4674;POINT (-38.676007 -3.424907)'))) / (select extract(epoch from '2026-08-12 20:17:49'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.676 -3.424992)', '2026-08-12 20:17:50', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676007 -3.424907)'), GeomFromEWKT('SRID=4674;POINT (-38.676 -3.424992)'))) / (select extract(epoch from '2026-08-12 20:17:50'::timestamp) - extract(epoch from '2026-08-12 20:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676007 -3.424907)'), GeomFromEWKT('SRID=4674;POINT (-38.676 -3.424992)'))) / (select extract(epoch from '2026-08-12 20:17:50'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675985 -3.425084)', '2026-08-12 20:17:51', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676 -3.424992)'), GeomFromEWKT('SRID=4674;POINT (-38.675985 -3.425084)'))) / (select extract(epoch from '2026-08-12 20:17:51'::timestamp) - extract(epoch from '2026-08-12 20:17:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676 -3.424992)'), GeomFromEWKT('SRID=4674;POINT (-38.675985 -3.425084)'))) / (select extract(epoch from '2026-08-12 20:17:51'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.675968 -3.425179)', '2026-08-12 20:17:51', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675985 -3.425084)'), GeomFromEWKT('SRID=4674;POINT (-38.675968 -3.425179)'))) / (select extract(epoch from '2026-08-12 20:17:51'::timestamp) - extract(epoch from '2026-08-12 20:17:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675985 -3.425084)'), GeomFromEWKT('SRID=4674;POINT (-38.675968 -3.425179)'))) / (select extract(epoch from '2026-08-12 20:17:51'::timestamp) - extract(epoch from '2026-08-12 20:17:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675961 -3.425265)', '2026-08-12 20:17:52', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675968 -3.425179)'), GeomFromEWKT('SRID=4674;POINT (-38.675961 -3.425265)'))) / (select extract(epoch from '2026-08-12 20:17:52'::timestamp) - extract(epoch from '2026-08-12 20:17:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675968 -3.425179)'), GeomFromEWKT('SRID=4674;POINT (-38.675961 -3.425265)'))) / (select extract(epoch from '2026-08-12 20:17:52'::timestamp) - extract(epoch from '2026-08-12 20:17:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675963 -3.425355)', '2026-08-12 20:17:52', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675961 -3.425265)'), GeomFromEWKT('SRID=4674;POINT (-38.675963 -3.425355)'))) / (select extract(epoch from '2026-08-12 20:17:52'::timestamp) - extract(epoch from '2026-08-12 20:17:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675961 -3.425265)'), GeomFromEWKT('SRID=4674;POINT (-38.675963 -3.425355)'))) / (select extract(epoch from '2026-08-12 20:17:52'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.675953 -3.425428)', '2026-08-12 20:17:53', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675963 -3.425355)'), GeomFromEWKT('SRID=4674;POINT (-38.675953 -3.425428)'))) / (select extract(epoch from '2026-08-12 20:17:53'::timestamp) - extract(epoch from '2026-08-12 20:17:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675963 -3.425355)'), GeomFromEWKT('SRID=4674;POINT (-38.675953 -3.425428)'))) / (select extract(epoch from '2026-08-12 20:17:53'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.675956 -3.425486)', '2026-08-12 20:17:53', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675953 -3.425428)'), GeomFromEWKT('SRID=4674;POINT (-38.675956 -3.425486)'))) / (select extract(epoch from '2026-08-12 20:17:53'::timestamp) - extract(epoch from '2026-08-12 20:17:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675953 -3.425428)'), GeomFromEWKT('SRID=4674;POINT (-38.675956 -3.425486)'))) / (select extract(epoch from '2026-08-12 20:17:53'::timestamp) - extract(epoch from '2026-08-12 20:17:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675957 -3.425496)', '2026-08-12 20:17:53', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675956 -3.425486)'), GeomFromEWKT('SRID=4674;POINT (-38.675957 -3.425496)'))) / (select extract(epoch from '2026-08-12 20:17:53'::timestamp) - extract(epoch from '2026-08-12 20:17:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675956 -3.425486)'), GeomFromEWKT('SRID=4674;POINT (-38.675957 -3.425496)'))) / (select extract(epoch from '2026-08-12 20:17:53'::timestamp) - extract(epoch from '2026-08-12 20:17:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675954 -3.425508)', '2026-08-12 20:17:54', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675957 -3.425496)'), GeomFromEWKT('SRID=4674;POINT (-38.675954 -3.425508)'))) / (select extract(epoch from '2026-08-12 20:17:54'::timestamp) - extract(epoch from '2026-08-12 20:17:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675957 -3.425496)'), GeomFromEWKT('SRID=4674;POINT (-38.675954 -3.425508)'))) / (select extract(epoch from '2026-08-12 20:17:54'::timestamp) - extract(epoch from '2026-08-12 20:17:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675947 -3.425537)', '2026-08-12 20:17:54', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675954 -3.425508)'), GeomFromEWKT('SRID=4674;POINT (-38.675947 -3.425537)'))) / (select extract(epoch from '2026-08-12 20:17:54'::timestamp) - extract(epoch from '2026-08-12 20:17:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675954 -3.425508)'), GeomFromEWKT('SRID=4674;POINT (-38.675947 -3.425537)'))) / (select extract(epoch from '2026-08-12 20:17:54'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675951 -3.425565)', '2026-08-12 20:17:54', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675947 -3.425537)'), GeomFromEWKT('SRID=4674;POINT (-38.675951 -3.425565)'))) / (select extract(epoch from '2026-08-12 20:17:54'::timestamp) - extract(epoch from '2026-08-12 20:17:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675947 -3.425537)'), GeomFromEWKT('SRID=4674;POINT (-38.675951 -3.425565)'))) / (select extract(epoch from '2026-08-12 20:17:54'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.67594 -3.425652)', '2026-08-12 20:17:54', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675951 -3.425565)'), GeomFromEWKT('SRID=4674;POINT (-38.67594 -3.425652)'))) / (select extract(epoch from '2026-08-12 20:17:54'::timestamp) - extract(epoch from '2026-08-12 20:17:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675951 -3.425565)'), GeomFromEWKT('SRID=4674;POINT (-38.67594 -3.425652)'))) / (select extract(epoch from '2026-08-12 20:17:54'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675939 -3.425665)', '2026-08-12 20:17:55', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67594 -3.425652)'), GeomFromEWKT('SRID=4674;POINT (-38.675939 -3.425665)'))) / (select extract(epoch from '2026-08-12 20:17:55'::timestamp) - extract(epoch from '2026-08-12 20:17:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67594 -3.425652)'), GeomFromEWKT('SRID=4674;POINT (-38.675939 -3.425665)'))) / (select extract(epoch from '2026-08-12 20:17:55'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675942 -3.425711)', '2026-08-12 20:17:55', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675939 -3.425665)'), GeomFromEWKT('SRID=4674;POINT (-38.675942 -3.425711)'))) / (select extract(epoch from '2026-08-12 20:17:55'::timestamp) - extract(epoch from '2026-08-12 20:17:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675939 -3.425665)'), GeomFromEWKT('SRID=4674;POINT (-38.675942 -3.425711)'))) / (select extract(epoch from '2026-08-12 20:17:55'::timestamp) - extract(epoch from '2026-08-12 20:17:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675943 -3.425783)', '2026-08-12 20:17:55', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675942 -3.425711)'), GeomFromEWKT('SRID=4674;POINT (-38.675943 -3.425783)'))) / (select extract(epoch from '2026-08-12 20:17:55'::timestamp) - extract(epoch from '2026-08-12 20:17:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675942 -3.425711)'), GeomFromEWKT('SRID=4674;POINT (-38.675943 -3.425783)'))) / (select extract(epoch from '2026-08-12 20:17:55'::timestamp) - extract(epoch from '2026-08-12 20:17:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675939 -3.425876)', '2026-08-12 20:17:56', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675943 -3.425783)'), GeomFromEWKT('SRID=4674;POINT (-38.675939 -3.425876)'))) / (select extract(epoch from '2026-08-12 20:17:56'::timestamp) - extract(epoch from '2026-08-12 20:17:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675943 -3.425783)'), GeomFromEWKT('SRID=4674;POINT (-38.675939 -3.425876)'))) / (select extract(epoch from '2026-08-12 20:17:56'::timestamp) - extract(epoch from '2026-08-12 20:17:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675942 -3.425938)', '2026-08-12 20:17:56', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675939 -3.425876)'), GeomFromEWKT('SRID=4674;POINT (-38.675942 -3.425938)'))) / (select extract(epoch from '2026-08-12 20:17:56'::timestamp) - extract(epoch from '2026-08-12 20:17:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675939 -3.425876)'), GeomFromEWKT('SRID=4674;POINT (-38.675942 -3.425938)'))) / (select extract(epoch from '2026-08-12 20:17:56'::timestamp) - extract(epoch from '2026-08-12 20:17:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675941 -3.42595)', '2026-08-12 20:17:56', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675942 -3.425938)'), GeomFromEWKT('SRID=4674;POINT (-38.675941 -3.42595)'))) / (select extract(epoch from '2026-08-12 20:17:56'::timestamp) - extract(epoch from '2026-08-12 20:17:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675942 -3.425938)'), GeomFromEWKT('SRID=4674;POINT (-38.675941 -3.42595)'))) / (select extract(epoch from '2026-08-12 20:17:56'::timestamp) - extract(epoch from '2026-08-12 20:17:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.67594 -3.426039)', '2026-08-12 20:17:57', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675941 -3.42595)'), GeomFromEWKT('SRID=4674;POINT (-38.67594 -3.426039)'))) / (select extract(epoch from '2026-08-12 20:17:57'::timestamp) - extract(epoch from '2026-08-12 20:17:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675941 -3.42595)'), GeomFromEWKT('SRID=4674;POINT (-38.67594 -3.426039)'))) / (select extract(epoch from '2026-08-12 20:17:57'::timestamp) - extract(epoch from '2026-08-12 20:17:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675926 -3.426099)', '2026-08-12 20:17:57', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67594 -3.426039)'), GeomFromEWKT('SRID=4674;POINT (-38.675926 -3.426099)'))) / (select extract(epoch from '2026-08-12 20:17:57'::timestamp) - extract(epoch from '2026-08-12 20:17:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67594 -3.426039)'), GeomFromEWKT('SRID=4674;POINT (-38.675926 -3.426099)'))) / (select extract(epoch from '2026-08-12 20:17:57'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.675924 -3.426187)', '2026-08-12 20:17:58', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675926 -3.426099)'), GeomFromEWKT('SRID=4674;POINT (-38.675924 -3.426187)'))) / (select extract(epoch from '2026-08-12 20:17:58'::timestamp) - extract(epoch from '2026-08-12 20:17:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675926 -3.426099)'), GeomFromEWKT('SRID=4674;POINT (-38.675924 -3.426187)'))) / (select extract(epoch from '2026-08-12 20:17:58'::timestamp) - extract(epoch from '2026-08-12 20:17: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'), 48120, 'SRID=4674;POINT (-38.675912 -3.426289)', '2026-08-12 20:17:59', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675924 -3.426187)'), GeomFromEWKT('SRID=4674;POINT (-38.675912 -3.426289)'))) / (select extract(epoch from '2026-08-12 20:17:59'::timestamp) - extract(epoch from '2026-08-12 20:17:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675924 -3.426187)'), GeomFromEWKT('SRID=4674;POINT (-38.675912 -3.426289)'))) / (select extract(epoch from '2026-08-12 20:17:59'::timestamp) - extract(epoch from '2026-08-12 20:17:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675913 -3.426313)', '2026-08-12 20:17:59', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675912 -3.426289)'), GeomFromEWKT('SRID=4674;POINT (-38.675913 -3.426313)'))) / (select extract(epoch from '2026-08-12 20:17:59'::timestamp) - extract(epoch from '2026-08-12 20:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675912 -3.426289)'), GeomFromEWKT('SRID=4674;POINT (-38.675913 -3.426313)'))) / (select extract(epoch from '2026-08-12 20:17:59'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675917 -3.426344)', '2026-08-12 20:17:59', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675913 -3.426313)'), GeomFromEWKT('SRID=4674;POINT (-38.675917 -3.426344)'))) / (select extract(epoch from '2026-08-12 20:17:59'::timestamp) - extract(epoch from '2026-08-12 20:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675913 -3.426313)'), GeomFromEWKT('SRID=4674;POINT (-38.675917 -3.426344)'))) / (select extract(epoch from '2026-08-12 20:17:59'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675914 -3.426371)', '2026-08-12 20:17:59', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675917 -3.426344)'), GeomFromEWKT('SRID=4674;POINT (-38.675914 -3.426371)'))) / (select extract(epoch from '2026-08-12 20:17:59'::timestamp) - extract(epoch from '2026-08-12 20:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675917 -3.426344)'), GeomFromEWKT('SRID=4674;POINT (-38.675914 -3.426371)'))) / (select extract(epoch from '2026-08-12 20:17:59'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675903 -3.426407)', '2026-08-12 20:18:00', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675914 -3.426371)'), GeomFromEWKT('SRID=4674;POINT (-38.675903 -3.426407)'))) / (select extract(epoch from '2026-08-12 20:18:00'::timestamp) - extract(epoch from '2026-08-12 20:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675914 -3.426371)'), GeomFromEWKT('SRID=4674;POINT (-38.675903 -3.426407)'))) / (select extract(epoch from '2026-08-12 20:18:00'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675895 -3.426447)', '2026-08-12 20:18:00', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675903 -3.426407)'), GeomFromEWKT('SRID=4674;POINT (-38.675895 -3.426447)'))) / (select extract(epoch from '2026-08-12 20:18:00'::timestamp) - extract(epoch from '2026-08-12 20:18:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675903 -3.426407)'), GeomFromEWKT('SRID=4674;POINT (-38.675895 -3.426447)'))) / (select extract(epoch from '2026-08-12 20:18:00'::timestamp) - extract(epoch from '2026-08-12 20:18:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675883 -3.426532)', '2026-08-12 20:18:00', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675895 -3.426447)'), GeomFromEWKT('SRID=4674;POINT (-38.675883 -3.426532)'))) / (select extract(epoch from '2026-08-12 20:18:00'::timestamp) - extract(epoch from '2026-08-12 20:18:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675895 -3.426447)'), GeomFromEWKT('SRID=4674;POINT (-38.675883 -3.426532)'))) / (select extract(epoch from '2026-08-12 20:18:00'::timestamp) - extract(epoch from '2026-08-12 20:18:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675882 -3.426626)', '2026-08-12 20:18:01', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675883 -3.426532)'), GeomFromEWKT('SRID=4674;POINT (-38.675882 -3.426626)'))) / (select extract(epoch from '2026-08-12 20:18:01'::timestamp) - extract(epoch from '2026-08-12 20:18:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675883 -3.426532)'), GeomFromEWKT('SRID=4674;POINT (-38.675882 -3.426626)'))) / (select extract(epoch from '2026-08-12 20:18:01'::timestamp) - extract(epoch from '2026-08-12 20:18:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675873 -3.426735)', '2026-08-12 20:18:02', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675882 -3.426626)'), GeomFromEWKT('SRID=4674;POINT (-38.675873 -3.426735)'))) / (select extract(epoch from '2026-08-12 20:18:02'::timestamp) - extract(epoch from '2026-08-12 20:18:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675882 -3.426626)'), GeomFromEWKT('SRID=4674;POINT (-38.675873 -3.426735)'))) / (select extract(epoch from '2026-08-12 20:18:02'::timestamp) - extract(epoch from '2026-08-12 20:18:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.67586 -3.426769)', '2026-08-12 20:18:02', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675873 -3.426735)'), GeomFromEWKT('SRID=4674;POINT (-38.67586 -3.426769)'))) / (select extract(epoch from '2026-08-12 20:18:02'::timestamp) - extract(epoch from '2026-08-12 20:18:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675873 -3.426735)'), GeomFromEWKT('SRID=4674;POINT (-38.67586 -3.426769)'))) / (select extract(epoch from '2026-08-12 20:18:02'::timestamp) - extract(epoch from '2026-08-12 20:18:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675853 -3.426811)', '2026-08-12 20:18:02', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67586 -3.426769)'), GeomFromEWKT('SRID=4674;POINT (-38.675853 -3.426811)'))) / (select extract(epoch from '2026-08-12 20:18:02'::timestamp) - extract(epoch from '2026-08-12 20:18:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67586 -3.426769)'), GeomFromEWKT('SRID=4674;POINT (-38.675853 -3.426811)'))) / (select extract(epoch from '2026-08-12 20:18:02'::timestamp) - extract(epoch from '2026-08-12 20:18:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675836 -3.426906)', '2026-08-12 20:18:03', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675853 -3.426811)'), GeomFromEWKT('SRID=4674;POINT (-38.675836 -3.426906)'))) / (select extract(epoch from '2026-08-12 20:18:03'::timestamp) - extract(epoch from '2026-08-12 20:18:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675853 -3.426811)'), GeomFromEWKT('SRID=4674;POINT (-38.675836 -3.426906)'))) / (select extract(epoch from '2026-08-12 20:18:03'::timestamp) - extract(epoch from '2026-08-12 20:18:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675827 -3.426976)', '2026-08-12 20:18:03', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675836 -3.426906)'), GeomFromEWKT('SRID=4674;POINT (-38.675827 -3.426976)'))) / (select extract(epoch from '2026-08-12 20:18:03'::timestamp) - extract(epoch from '2026-08-12 20:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675836 -3.426906)'), GeomFromEWKT('SRID=4674;POINT (-38.675827 -3.426976)'))) / (select extract(epoch from '2026-08-12 20:18:03'::timestamp) - extract(epoch from '2026-08-12 20:18:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675822 -3.427061)', '2026-08-12 20:18:04', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675827 -3.426976)'), GeomFromEWKT('SRID=4674;POINT (-38.675822 -3.427061)'))) / (select extract(epoch from '2026-08-12 20:18:04'::timestamp) - extract(epoch from '2026-08-12 20:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675827 -3.426976)'), GeomFromEWKT('SRID=4674;POINT (-38.675822 -3.427061)'))) / (select extract(epoch from '2026-08-12 20:18:04'::timestamp) - extract(epoch from '2026-08-12 20:18:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675825 -3.427074)', '2026-08-12 20:18:04', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675822 -3.427061)'), GeomFromEWKT('SRID=4674;POINT (-38.675825 -3.427074)'))) / (select extract(epoch from '2026-08-12 20:18:04'::timestamp) - extract(epoch from '2026-08-12 20:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675822 -3.427061)'), GeomFromEWKT('SRID=4674;POINT (-38.675825 -3.427074)'))) / (select extract(epoch from '2026-08-12 20:18:04'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675826 -3.427094)', '2026-08-12 20:18:04', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675825 -3.427074)'), GeomFromEWKT('SRID=4674;POINT (-38.675826 -3.427094)'))) / (select extract(epoch from '2026-08-12 20:18:04'::timestamp) - extract(epoch from '2026-08-12 20:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675825 -3.427074)'), GeomFromEWKT('SRID=4674;POINT (-38.675826 -3.427094)'))) / (select extract(epoch from '2026-08-12 20:18:04'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675814 -3.427118)', '2026-08-12 20:18:04', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675826 -3.427094)'), GeomFromEWKT('SRID=4674;POINT (-38.675814 -3.427118)'))) / (select extract(epoch from '2026-08-12 20:18:04'::timestamp) - extract(epoch from '2026-08-12 20:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675826 -3.427094)'), GeomFromEWKT('SRID=4674;POINT (-38.675814 -3.427118)'))) / (select extract(epoch from '2026-08-12 20:18:04'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675814 -3.427131)', '2026-08-12 20:18:04', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675814 -3.427118)'), GeomFromEWKT('SRID=4674;POINT (-38.675814 -3.427131)'))) / (select extract(epoch from '2026-08-12 20:18:04'::timestamp) - extract(epoch from '2026-08-12 20:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675814 -3.427118)'), GeomFromEWKT('SRID=4674;POINT (-38.675814 -3.427131)'))) / (select extract(epoch from '2026-08-12 20:18:04'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675815 -3.427157)', '2026-08-12 20:18:05', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675814 -3.427131)'), GeomFromEWKT('SRID=4674;POINT (-38.675815 -3.427157)'))) / (select extract(epoch from '2026-08-12 20:18:05'::timestamp) - extract(epoch from '2026-08-12 20:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675814 -3.427131)'), GeomFromEWKT('SRID=4674;POINT (-38.675815 -3.427157)'))) / (select extract(epoch from '2026-08-12 20:18:05'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.67581 -3.427173)', '2026-08-12 20:18:05', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675815 -3.427157)'), GeomFromEWKT('SRID=4674;POINT (-38.67581 -3.427173)'))) / (select extract(epoch from '2026-08-12 20:18:05'::timestamp) - extract(epoch from '2026-08-12 20:18:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675815 -3.427157)'), GeomFromEWKT('SRID=4674;POINT (-38.67581 -3.427173)'))) / (select extract(epoch from '2026-08-12 20:18:05'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.675787 -3.427259)', '2026-08-12 20:18:05', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67581 -3.427173)'), GeomFromEWKT('SRID=4674;POINT (-38.675787 -3.427259)'))) / (select extract(epoch from '2026-08-12 20:18:05'::timestamp) - extract(epoch from '2026-08-12 20:18:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67581 -3.427173)'), GeomFromEWKT('SRID=4674;POINT (-38.675787 -3.427259)'))) / (select extract(epoch from '2026-08-12 20:18:05'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.675772 -3.427338)', '2026-08-12 20:18:06', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675787 -3.427259)'), GeomFromEWKT('SRID=4674;POINT (-38.675772 -3.427338)'))) / (select extract(epoch from '2026-08-12 20:18:06'::timestamp) - extract(epoch from '2026-08-12 20:18:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675787 -3.427259)'), GeomFromEWKT('SRID=4674;POINT (-38.675772 -3.427338)'))) / (select extract(epoch from '2026-08-12 20:18:06'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.675765 -3.427469)', '2026-08-12 20:18:07', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675772 -3.427338)'), GeomFromEWKT('SRID=4674;POINT (-38.675765 -3.427469)'))) / (select extract(epoch from '2026-08-12 20:18:07'::timestamp) - extract(epoch from '2026-08-12 20:18:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675772 -3.427338)'), GeomFromEWKT('SRID=4674;POINT (-38.675765 -3.427469)'))) / (select extract(epoch from '2026-08-12 20:18:07'::timestamp) - extract(epoch from '2026-08-12 20:18:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675757 -3.427571)', '2026-08-12 20:18:07', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675765 -3.427469)'), GeomFromEWKT('SRID=4674;POINT (-38.675757 -3.427571)'))) / (select extract(epoch from '2026-08-12 20:18:07'::timestamp) - extract(epoch from '2026-08-12 20:18:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675765 -3.427469)'), GeomFromEWKT('SRID=4674;POINT (-38.675757 -3.427571)'))) / (select extract(epoch from '2026-08-12 20:18:07'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.675752 -3.427626)', '2026-08-12 20:18:08', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675757 -3.427571)'), GeomFromEWKT('SRID=4674;POINT (-38.675752 -3.427626)'))) / (select extract(epoch from '2026-08-12 20:18:08'::timestamp) - extract(epoch from '2026-08-12 20:18:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675757 -3.427571)'), GeomFromEWKT('SRID=4674;POINT (-38.675752 -3.427626)'))) / (select extract(epoch from '2026-08-12 20:18:08'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.675745 -3.427656)', '2026-08-12 20:18:08', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675752 -3.427626)'), GeomFromEWKT('SRID=4674;POINT (-38.675745 -3.427656)'))) / (select extract(epoch from '2026-08-12 20:18:08'::timestamp) - extract(epoch from '2026-08-12 20:18:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675752 -3.427626)'), GeomFromEWKT('SRID=4674;POINT (-38.675745 -3.427656)'))) / (select extract(epoch from '2026-08-12 20:18:08'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.675735 -3.427732)', '2026-08-12 20:18:09', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675745 -3.427656)'), GeomFromEWKT('SRID=4674;POINT (-38.675735 -3.427732)'))) / (select extract(epoch from '2026-08-12 20:18:09'::timestamp) - extract(epoch from '2026-08-12 20:18:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675745 -3.427656)'), GeomFromEWKT('SRID=4674;POINT (-38.675735 -3.427732)'))) / (select extract(epoch from '2026-08-12 20:18:09'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.675727 -3.427839)', '2026-08-12 20:18:09', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675735 -3.427732)'), GeomFromEWKT('SRID=4674;POINT (-38.675727 -3.427839)'))) / (select extract(epoch from '2026-08-12 20:18:09'::timestamp) - extract(epoch from '2026-08-12 20:18:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675735 -3.427732)'), GeomFromEWKT('SRID=4674;POINT (-38.675727 -3.427839)'))) / (select extract(epoch from '2026-08-12 20:18:09'::timestamp) - extract(epoch from '2026-08-12 20:18:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675723 -3.427951)', '2026-08-12 20:18:10', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675727 -3.427839)'), GeomFromEWKT('SRID=4674;POINT (-38.675723 -3.427951)'))) / (select extract(epoch from '2026-08-12 20:18:10'::timestamp) - extract(epoch from '2026-08-12 20:18:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675727 -3.427839)'), GeomFromEWKT('SRID=4674;POINT (-38.675723 -3.427951)'))) / (select extract(epoch from '2026-08-12 20:18:10'::timestamp) - extract(epoch from '2026-08-12 20:18:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675703 -3.428067)', '2026-08-12 20:18:11', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675723 -3.427951)'), GeomFromEWKT('SRID=4674;POINT (-38.675703 -3.428067)'))) / (select extract(epoch from '2026-08-12 20:18:11'::timestamp) - extract(epoch from '2026-08-12 20:18:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675723 -3.427951)'), GeomFromEWKT('SRID=4674;POINT (-38.675703 -3.428067)'))) / (select extract(epoch from '2026-08-12 20:18:11'::timestamp) - extract(epoch from '2026-08-12 20:18:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675685 -3.428175)', '2026-08-12 20:18:11', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675703 -3.428067)'), GeomFromEWKT('SRID=4674;POINT (-38.675685 -3.428175)'))) / (select extract(epoch from '2026-08-12 20:18:11'::timestamp) - extract(epoch from '2026-08-12 20:18:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675703 -3.428067)'), GeomFromEWKT('SRID=4674;POINT (-38.675685 -3.428175)'))) / (select extract(epoch from '2026-08-12 20:18:11'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.67568 -3.428231)', '2026-08-12 20:18:12', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675685 -3.428175)'), GeomFromEWKT('SRID=4674;POINT (-38.67568 -3.428231)'))) / (select extract(epoch from '2026-08-12 20:18:12'::timestamp) - extract(epoch from '2026-08-12 20:18:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675685 -3.428175)'), GeomFromEWKT('SRID=4674;POINT (-38.67568 -3.428231)'))) / (select extract(epoch from '2026-08-12 20:18:12'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675683 -3.428306)', '2026-08-12 20:18:12', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67568 -3.428231)'), GeomFromEWKT('SRID=4674;POINT (-38.675683 -3.428306)'))) / (select extract(epoch from '2026-08-12 20:18:12'::timestamp) - extract(epoch from '2026-08-12 20:18:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67568 -3.428231)'), GeomFromEWKT('SRID=4674;POINT (-38.675683 -3.428306)'))) / (select extract(epoch from '2026-08-12 20:18:12'::timestamp) - extract(epoch from '2026-08-12 20:18:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675667 -3.428409)', '2026-08-12 20:18:13', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675683 -3.428306)'), GeomFromEWKT('SRID=4674;POINT (-38.675667 -3.428409)'))) / (select extract(epoch from '2026-08-12 20:18:13'::timestamp) - extract(epoch from '2026-08-12 20:18:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675683 -3.428306)'), GeomFromEWKT('SRID=4674;POINT (-38.675667 -3.428409)'))) / (select extract(epoch from '2026-08-12 20:18:13'::timestamp) - extract(epoch from '2026-08-12 20:18:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675662 -3.428495)', '2026-08-12 20:18:14', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675667 -3.428409)'), GeomFromEWKT('SRID=4674;POINT (-38.675662 -3.428495)'))) / (select extract(epoch from '2026-08-12 20:18:14'::timestamp) - extract(epoch from '2026-08-12 20:18:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675667 -3.428409)'), GeomFromEWKT('SRID=4674;POINT (-38.675662 -3.428495)'))) / (select extract(epoch from '2026-08-12 20:18:14'::timestamp) - extract(epoch from '2026-08-12 20:18:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675657 -3.42858)', '2026-08-12 20:18:14', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675662 -3.428495)'), GeomFromEWKT('SRID=4674;POINT (-38.675657 -3.42858)'))) / (select extract(epoch from '2026-08-12 20:18:14'::timestamp) - extract(epoch from '2026-08-12 20:18:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675662 -3.428495)'), GeomFromEWKT('SRID=4674;POINT (-38.675657 -3.42858)'))) / (select extract(epoch from '2026-08-12 20:18:14'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.675641 -3.428661)', '2026-08-12 20:18:15', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675657 -3.42858)'), GeomFromEWKT('SRID=4674;POINT (-38.675641 -3.428661)'))) / (select extract(epoch from '2026-08-12 20:18:15'::timestamp) - extract(epoch from '2026-08-12 20:18:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675657 -3.42858)'), GeomFromEWKT('SRID=4674;POINT (-38.675641 -3.428661)'))) / (select extract(epoch from '2026-08-12 20:18:15'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.67563 -3.428749)', '2026-08-12 20:18:15', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675641 -3.428661)'), GeomFromEWKT('SRID=4674;POINT (-38.67563 -3.428749)'))) / (select extract(epoch from '2026-08-12 20:18:15'::timestamp) - extract(epoch from '2026-08-12 20:18:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675641 -3.428661)'), GeomFromEWKT('SRID=4674;POINT (-38.67563 -3.428749)'))) / (select extract(epoch from '2026-08-12 20:18:15'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.675611 -3.428848)', '2026-08-12 20:18:16', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67563 -3.428749)'), GeomFromEWKT('SRID=4674;POINT (-38.675611 -3.428848)'))) / (select extract(epoch from '2026-08-12 20:18:16'::timestamp) - extract(epoch from '2026-08-12 20:18:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67563 -3.428749)'), GeomFromEWKT('SRID=4674;POINT (-38.675611 -3.428848)'))) / (select extract(epoch from '2026-08-12 20:18:16'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.675604 -3.428876)', '2026-08-12 20:18:16', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675611 -3.428848)'), GeomFromEWKT('SRID=4674;POINT (-38.675604 -3.428876)'))) / (select extract(epoch from '2026-08-12 20:18:16'::timestamp) - extract(epoch from '2026-08-12 20:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675611 -3.428848)'), GeomFromEWKT('SRID=4674;POINT (-38.675604 -3.428876)'))) / (select extract(epoch from '2026-08-12 20:18:16'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.675592 -3.428915)', '2026-08-12 20:18:16', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675604 -3.428876)'), GeomFromEWKT('SRID=4674;POINT (-38.675592 -3.428915)'))) / (select extract(epoch from '2026-08-12 20:18:16'::timestamp) - extract(epoch from '2026-08-12 20:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675604 -3.428876)'), GeomFromEWKT('SRID=4674;POINT (-38.675592 -3.428915)'))) / (select extract(epoch from '2026-08-12 20:18:16'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.675591 -3.42893)', '2026-08-12 20:18:17', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675592 -3.428915)'), GeomFromEWKT('SRID=4674;POINT (-38.675591 -3.42893)'))) / (select extract(epoch from '2026-08-12 20:18:17'::timestamp) - extract(epoch from '2026-08-12 20:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675592 -3.428915)'), GeomFromEWKT('SRID=4674;POINT (-38.675591 -3.42893)'))) / (select extract(epoch from '2026-08-12 20:18:17'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.675599 -3.428957)', '2026-08-12 20:18:17', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675591 -3.42893)'), GeomFromEWKT('SRID=4674;POINT (-38.675599 -3.428957)'))) / (select extract(epoch from '2026-08-12 20:18:17'::timestamp) - extract(epoch from '2026-08-12 20:18:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675591 -3.42893)'), GeomFromEWKT('SRID=4674;POINT (-38.675599 -3.428957)'))) / (select extract(epoch from '2026-08-12 20:18:17'::timestamp) - extract(epoch from '2026-08-12 20:18:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675587 -3.428982)', '2026-08-12 20:18:17', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675599 -3.428957)'), GeomFromEWKT('SRID=4674;POINT (-38.675587 -3.428982)'))) / (select extract(epoch from '2026-08-12 20:18:17'::timestamp) - extract(epoch from '2026-08-12 20:18:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675599 -3.428957)'), GeomFromEWKT('SRID=4674;POINT (-38.675587 -3.428982)'))) / (select extract(epoch from '2026-08-12 20:18:17'::timestamp) - extract(epoch from '2026-08-12 20:18:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675572 -3.429053)', '2026-08-12 20:18:17', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675587 -3.428982)'), GeomFromEWKT('SRID=4674;POINT (-38.675572 -3.429053)'))) / (select extract(epoch from '2026-08-12 20:18:17'::timestamp) - extract(epoch from '2026-08-12 20:18:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675587 -3.428982)'), GeomFromEWKT('SRID=4674;POINT (-38.675572 -3.429053)'))) / (select extract(epoch from '2026-08-12 20:18:17'::timestamp) - extract(epoch from '2026-08-12 20:18:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675559 -3.429152)', '2026-08-12 20:18:18', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675572 -3.429053)'), GeomFromEWKT('SRID=4674;POINT (-38.675559 -3.429152)'))) / (select extract(epoch from '2026-08-12 20:18:18'::timestamp) - extract(epoch from '2026-08-12 20:18:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675572 -3.429053)'), GeomFromEWKT('SRID=4674;POINT (-38.675559 -3.429152)'))) / (select extract(epoch from '2026-08-12 20:18:18'::timestamp) - extract(epoch from '2026-08-12 20:18:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.67556 -3.429184)', '2026-08-12 20:18:18', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675559 -3.429152)'), GeomFromEWKT('SRID=4674;POINT (-38.67556 -3.429184)'))) / (select extract(epoch from '2026-08-12 20:18:18'::timestamp) - extract(epoch from '2026-08-12 20:18:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675559 -3.429152)'), GeomFromEWKT('SRID=4674;POINT (-38.67556 -3.429184)'))) / (select extract(epoch from '2026-08-12 20:18:18'::timestamp) - extract(epoch from '2026-08-12 20:18:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675554 -3.429221)', '2026-08-12 20:18:19', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67556 -3.429184)'), GeomFromEWKT('SRID=4674;POINT (-38.675554 -3.429221)'))) / (select extract(epoch from '2026-08-12 20:18:19'::timestamp) - extract(epoch from '2026-08-12 20:18:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67556 -3.429184)'), GeomFromEWKT('SRID=4674;POINT (-38.675554 -3.429221)'))) / (select extract(epoch from '2026-08-12 20:18:19'::timestamp) - extract(epoch from '2026-08-12 20:18:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675553 -3.429245)', '2026-08-12 20:18:19', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675554 -3.429221)'), GeomFromEWKT('SRID=4674;POINT (-38.675553 -3.429245)'))) / (select extract(epoch from '2026-08-12 20:18:19'::timestamp) - extract(epoch from '2026-08-12 20:18:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675554 -3.429221)'), GeomFromEWKT('SRID=4674;POINT (-38.675553 -3.429245)'))) / (select extract(epoch from '2026-08-12 20:18:19'::timestamp) - extract(epoch from '2026-08-12 20:18:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675542 -3.429302)', '2026-08-12 20:18:19', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675553 -3.429245)'), GeomFromEWKT('SRID=4674;POINT (-38.675542 -3.429302)'))) / (select extract(epoch from '2026-08-12 20:18:19'::timestamp) - extract(epoch from '2026-08-12 20:18:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675553 -3.429245)'), GeomFromEWKT('SRID=4674;POINT (-38.675542 -3.429302)'))) / (select extract(epoch from '2026-08-12 20:18:19'::timestamp) - extract(epoch from '2026-08-12 20:18:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.67554 -3.429333)', '2026-08-12 20:18:19', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675542 -3.429302)'), GeomFromEWKT('SRID=4674;POINT (-38.67554 -3.429333)'))) / (select extract(epoch from '2026-08-12 20:18:19'::timestamp) - extract(epoch from '2026-08-12 20:18:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675542 -3.429302)'), GeomFromEWKT('SRID=4674;POINT (-38.67554 -3.429333)'))) / (select extract(epoch from '2026-08-12 20:18:19'::timestamp) - extract(epoch from '2026-08-12 20:18:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675528 -3.429375)', '2026-08-12 20:18:20', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67554 -3.429333)'), GeomFromEWKT('SRID=4674;POINT (-38.675528 -3.429375)'))) / (select extract(epoch from '2026-08-12 20:18:20'::timestamp) - extract(epoch from '2026-08-12 20:18:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67554 -3.429333)'), GeomFromEWKT('SRID=4674;POINT (-38.675528 -3.429375)'))) / (select extract(epoch from '2026-08-12 20:18:20'::timestamp) - extract(epoch from '2026-08-12 20:18:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.67551 -3.429442)', '2026-08-12 20:18:20', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675528 -3.429375)'), GeomFromEWKT('SRID=4674;POINT (-38.67551 -3.429442)'))) / (select extract(epoch from '2026-08-12 20:18:20'::timestamp) - extract(epoch from '2026-08-12 20:18:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675528 -3.429375)'), GeomFromEWKT('SRID=4674;POINT (-38.67551 -3.429442)'))) / (select extract(epoch from '2026-08-12 20:18:20'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675512 -3.429452)', '2026-08-12 20:18:20', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67551 -3.429442)'), GeomFromEWKT('SRID=4674;POINT (-38.675512 -3.429452)'))) / (select extract(epoch from '2026-08-12 20:18:20'::timestamp) - extract(epoch from '2026-08-12 20:18:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67551 -3.429442)'), GeomFromEWKT('SRID=4674;POINT (-38.675512 -3.429452)'))) / (select extract(epoch from '2026-08-12 20:18:20'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675515 -3.429461)', '2026-08-12 20:18:20', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675512 -3.429452)'), GeomFromEWKT('SRID=4674;POINT (-38.675515 -3.429461)'))) / (select extract(epoch from '2026-08-12 20:18:20'::timestamp) - extract(epoch from '2026-08-12 20:18:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675512 -3.429452)'), GeomFromEWKT('SRID=4674;POINT (-38.675515 -3.429461)'))) / (select extract(epoch from '2026-08-12 20:18:20'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675506 -3.429507)', '2026-08-12 20:18:21', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675515 -3.429461)'), GeomFromEWKT('SRID=4674;POINT (-38.675506 -3.429507)'))) / (select extract(epoch from '2026-08-12 20:18:21'::timestamp) - extract(epoch from '2026-08-12 20:18:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675515 -3.429461)'), GeomFromEWKT('SRID=4674;POINT (-38.675506 -3.429507)'))) / (select extract(epoch from '2026-08-12 20:18:21'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.67548 -3.429599)', '2026-08-12 20:18:21', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675506 -3.429507)'), GeomFromEWKT('SRID=4674;POINT (-38.67548 -3.429599)'))) / (select extract(epoch from '2026-08-12 20:18:21'::timestamp) - extract(epoch from '2026-08-12 20:18:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675506 -3.429507)'), GeomFromEWKT('SRID=4674;POINT (-38.67548 -3.429599)'))) / (select extract(epoch from '2026-08-12 20:18:21'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.675458 -3.429716)', '2026-08-12 20:18:22', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67548 -3.429599)'), GeomFromEWKT('SRID=4674;POINT (-38.675458 -3.429716)'))) / (select extract(epoch from '2026-08-12 20:18:22'::timestamp) - extract(epoch from '2026-08-12 20:18:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67548 -3.429599)'), GeomFromEWKT('SRID=4674;POINT (-38.675458 -3.429716)'))) / (select extract(epoch from '2026-08-12 20:18:22'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.675438 -3.429838)', '2026-08-12 20:18:23', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675458 -3.429716)'), GeomFromEWKT('SRID=4674;POINT (-38.675438 -3.429838)'))) / (select extract(epoch from '2026-08-12 20:18:23'::timestamp) - extract(epoch from '2026-08-12 20:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675458 -3.429716)'), GeomFromEWKT('SRID=4674;POINT (-38.675438 -3.429838)'))) / (select extract(epoch from '2026-08-12 20:18:23'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.675407 -3.429901)', '2026-08-12 20:18:23', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675438 -3.429838)'), GeomFromEWKT('SRID=4674;POINT (-38.675407 -3.429901)'))) / (select extract(epoch from '2026-08-12 20:18:23'::timestamp) - extract(epoch from '2026-08-12 20:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675438 -3.429838)'), GeomFromEWKT('SRID=4674;POINT (-38.675407 -3.429901)'))) / (select extract(epoch from '2026-08-12 20:18:23'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675388 -3.429989)', '2026-08-12 20:18:24', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675407 -3.429901)'), GeomFromEWKT('SRID=4674;POINT (-38.675388 -3.429989)'))) / (select extract(epoch from '2026-08-12 20:18:24'::timestamp) - extract(epoch from '2026-08-12 20:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675407 -3.429901)'), GeomFromEWKT('SRID=4674;POINT (-38.675388 -3.429989)'))) / (select extract(epoch from '2026-08-12 20:18:24'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675385 -3.429998)', '2026-08-12 20:18:24', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675388 -3.429989)'), GeomFromEWKT('SRID=4674;POINT (-38.675385 -3.429998)'))) / (select extract(epoch from '2026-08-12 20:18:24'::timestamp) - extract(epoch from '2026-08-12 20:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675388 -3.429989)'), GeomFromEWKT('SRID=4674;POINT (-38.675385 -3.429998)'))) / (select extract(epoch from '2026-08-12 20:18:24'::timestamp) - extract(epoch from '2026-08-12 20:18:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675375 -3.430055)', '2026-08-12 20:18:24', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675385 -3.429998)'), GeomFromEWKT('SRID=4674;POINT (-38.675375 -3.430055)'))) / (select extract(epoch from '2026-08-12 20:18:24'::timestamp) - extract(epoch from '2026-08-12 20:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675385 -3.429998)'), GeomFromEWKT('SRID=4674;POINT (-38.675375 -3.430055)'))) / (select extract(epoch from '2026-08-12 20:18:24'::timestamp) - extract(epoch from '2026-08-12 20:18:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675376 -3.43008)', '2026-08-12 20:18:24', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675375 -3.430055)'), GeomFromEWKT('SRID=4674;POINT (-38.675376 -3.43008)'))) / (select extract(epoch from '2026-08-12 20:18:24'::timestamp) - extract(epoch from '2026-08-12 20:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675375 -3.430055)'), GeomFromEWKT('SRID=4674;POINT (-38.675376 -3.43008)'))) / (select extract(epoch from '2026-08-12 20:18:24'::timestamp) - extract(epoch from '2026-08-12 20:18:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675367 -3.430125)', '2026-08-12 20:18:25', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675376 -3.43008)'), GeomFromEWKT('SRID=4674;POINT (-38.675367 -3.430125)'))) / (select extract(epoch from '2026-08-12 20:18:25'::timestamp) - extract(epoch from '2026-08-12 20:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675376 -3.43008)'), GeomFromEWKT('SRID=4674;POINT (-38.675367 -3.430125)'))) / (select extract(epoch from '2026-08-12 20:18:25'::timestamp) - extract(epoch from '2026-08-12 20:18:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.67536 -3.430236)', '2026-08-12 20:18:25', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675367 -3.430125)'), GeomFromEWKT('SRID=4674;POINT (-38.67536 -3.430236)'))) / (select extract(epoch from '2026-08-12 20:18:25'::timestamp) - extract(epoch from '2026-08-12 20:18:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675367 -3.430125)'), GeomFromEWKT('SRID=4674;POINT (-38.67536 -3.430236)'))) / (select extract(epoch from '2026-08-12 20:18:25'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.675352 -3.430317)', '2026-08-12 20:18:26', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67536 -3.430236)'), GeomFromEWKT('SRID=4674;POINT (-38.675352 -3.430317)'))) / (select extract(epoch from '2026-08-12 20:18:26'::timestamp) - extract(epoch from '2026-08-12 20:18:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67536 -3.430236)'), GeomFromEWKT('SRID=4674;POINT (-38.675352 -3.430317)'))) / (select extract(epoch from '2026-08-12 20:18:26'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.675343 -3.430385)', '2026-08-12 20:18:26', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675352 -3.430317)'), GeomFromEWKT('SRID=4674;POINT (-38.675343 -3.430385)'))) / (select extract(epoch from '2026-08-12 20:18:26'::timestamp) - extract(epoch from '2026-08-12 20:18:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675352 -3.430317)'), GeomFromEWKT('SRID=4674;POINT (-38.675343 -3.430385)'))) / (select extract(epoch from '2026-08-12 20:18:26'::timestamp) - extract(epoch from '2026-08-12 20:18:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675329 -3.430475)', '2026-08-12 20:18:27', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675343 -3.430385)'), GeomFromEWKT('SRID=4674;POINT (-38.675329 -3.430475)'))) / (select extract(epoch from '2026-08-12 20:18:27'::timestamp) - extract(epoch from '2026-08-12 20:18:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675343 -3.430385)'), GeomFromEWKT('SRID=4674;POINT (-38.675329 -3.430475)'))) / (select extract(epoch from '2026-08-12 20:18:27'::timestamp) - extract(epoch from '2026-08-12 20:18:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.67532 -3.430554)', '2026-08-12 20:18:28', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675329 -3.430475)'), GeomFromEWKT('SRID=4674;POINT (-38.67532 -3.430554)'))) / (select extract(epoch from '2026-08-12 20:18:28'::timestamp) - extract(epoch from '2026-08-12 20:18:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675329 -3.430475)'), GeomFromEWKT('SRID=4674;POINT (-38.67532 -3.430554)'))) / (select extract(epoch from '2026-08-12 20:18:28'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.675306 -3.430618)', '2026-08-12 20:18:28', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67532 -3.430554)'), GeomFromEWKT('SRID=4674;POINT (-38.675306 -3.430618)'))) / (select extract(epoch from '2026-08-12 20:18:28'::timestamp) - extract(epoch from '2026-08-12 20:18:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67532 -3.430554)'), GeomFromEWKT('SRID=4674;POINT (-38.675306 -3.430618)'))) / (select extract(epoch from '2026-08-12 20:18:28'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.675285 -3.430703)', '2026-08-12 20:18:29', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675306 -3.430618)'), GeomFromEWKT('SRID=4674;POINT (-38.675285 -3.430703)'))) / (select extract(epoch from '2026-08-12 20:18:29'::timestamp) - extract(epoch from '2026-08-12 20:18:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675306 -3.430618)'), GeomFromEWKT('SRID=4674;POINT (-38.675285 -3.430703)'))) / (select extract(epoch from '2026-08-12 20:18:29'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.675288 -3.430733)', '2026-08-12 20:18:29', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675285 -3.430703)'), GeomFromEWKT('SRID=4674;POINT (-38.675288 -3.430733)'))) / (select extract(epoch from '2026-08-12 20:18:29'::timestamp) - extract(epoch from '2026-08-12 20:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675285 -3.430703)'), GeomFromEWKT('SRID=4674;POINT (-38.675288 -3.430733)'))) / (select extract(epoch from '2026-08-12 20:18:29'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675275 -3.430778)', '2026-08-12 20:18:29', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675288 -3.430733)'), GeomFromEWKT('SRID=4674;POINT (-38.675275 -3.430778)'))) / (select extract(epoch from '2026-08-12 20:18:29'::timestamp) - extract(epoch from '2026-08-12 20:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675288 -3.430733)'), GeomFromEWKT('SRID=4674;POINT (-38.675275 -3.430778)'))) / (select extract(epoch from '2026-08-12 20:18:29'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675275 -3.430814)', '2026-08-12 20:18:29', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675275 -3.430778)'), GeomFromEWKT('SRID=4674;POINT (-38.675275 -3.430814)'))) / (select extract(epoch from '2026-08-12 20:18:29'::timestamp) - extract(epoch from '2026-08-12 20:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675275 -3.430778)'), GeomFromEWKT('SRID=4674;POINT (-38.675275 -3.430814)'))) / (select extract(epoch from '2026-08-12 20:18:29'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675271 -3.430837)', '2026-08-12 20:18:30', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675275 -3.430814)'), GeomFromEWKT('SRID=4674;POINT (-38.675271 -3.430837)'))) / (select extract(epoch from '2026-08-12 20:18:30'::timestamp) - extract(epoch from '2026-08-12 20:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675275 -3.430814)'), GeomFromEWKT('SRID=4674;POINT (-38.675271 -3.430837)'))) / (select extract(epoch from '2026-08-12 20:18:30'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675268 -3.430882)', '2026-08-12 20:18:30', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675271 -3.430837)'), GeomFromEWKT('SRID=4674;POINT (-38.675268 -3.430882)'))) / (select extract(epoch from '2026-08-12 20:18:30'::timestamp) - extract(epoch from '2026-08-12 20:18:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675271 -3.430837)'), GeomFromEWKT('SRID=4674;POINT (-38.675268 -3.430882)'))) / (select extract(epoch from '2026-08-12 20:18:30'::timestamp) - extract(epoch from '2026-08-12 20:18:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675263 -3.430902)', '2026-08-12 20:18:30', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675268 -3.430882)'), GeomFromEWKT('SRID=4674;POINT (-38.675263 -3.430902)'))) / (select extract(epoch from '2026-08-12 20:18:30'::timestamp) - extract(epoch from '2026-08-12 20:18:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675268 -3.430882)'), GeomFromEWKT('SRID=4674;POINT (-38.675263 -3.430902)'))) / (select extract(epoch from '2026-08-12 20:18:30'::timestamp) - extract(epoch from '2026-08-12 20:18:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675285 -3.430949)', '2026-08-12 20:18:30', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675263 -3.430902)'), GeomFromEWKT('SRID=4674;POINT (-38.675285 -3.430949)'))) / (select extract(epoch from '2026-08-12 20:18:30'::timestamp) - extract(epoch from '2026-08-12 20:18:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675263 -3.430902)'), GeomFromEWKT('SRID=4674;POINT (-38.675285 -3.430949)'))) / (select extract(epoch from '2026-08-12 20:18:30'::timestamp) - extract(epoch from '2026-08-12 20:18:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675316 -3.430961)', '2026-08-12 20:18:31', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675285 -3.430949)'), GeomFromEWKT('SRID=4674;POINT (-38.675316 -3.430961)'))) / (select extract(epoch from '2026-08-12 20:18:31'::timestamp) - extract(epoch from '2026-08-12 20:18:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675285 -3.430949)'), GeomFromEWKT('SRID=4674;POINT (-38.675316 -3.430961)'))) / (select extract(epoch from '2026-08-12 20:18:31'::timestamp) - extract(epoch from '2026-08-12 20:18:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.67535 -3.430957)', '2026-08-12 20:18:31', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675316 -3.430961)'), GeomFromEWKT('SRID=4674;POINT (-38.67535 -3.430957)'))) / (select extract(epoch from '2026-08-12 20:18:31'::timestamp) - extract(epoch from '2026-08-12 20:18:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675316 -3.430961)'), GeomFromEWKT('SRID=4674;POINT (-38.67535 -3.430957)'))) / (select extract(epoch from '2026-08-12 20:18:31'::timestamp) - extract(epoch from '2026-08-12 20:18:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675383 -3.43094)', '2026-08-12 20:18:31', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67535 -3.430957)'), GeomFromEWKT('SRID=4674;POINT (-38.675383 -3.43094)'))) / (select extract(epoch from '2026-08-12 20:18:31'::timestamp) - extract(epoch from '2026-08-12 20:18:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67535 -3.430957)'), GeomFromEWKT('SRID=4674;POINT (-38.675383 -3.43094)'))) / (select extract(epoch from '2026-08-12 20:18:31'::timestamp) - extract(epoch from '2026-08-12 20:18:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675404 -3.430923)', '2026-08-12 20:18:31', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675383 -3.43094)'), GeomFromEWKT('SRID=4674;POINT (-38.675404 -3.430923)'))) / (select extract(epoch from '2026-08-12 20:18:31'::timestamp) - extract(epoch from '2026-08-12 20:18:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675383 -3.43094)'), GeomFromEWKT('SRID=4674;POINT (-38.675404 -3.430923)'))) / (select extract(epoch from '2026-08-12 20:18:31'::timestamp) - extract(epoch from '2026-08-12 20:18:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675423 -3.430919)', '2026-08-12 20:18:31', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675404 -3.430923)'), GeomFromEWKT('SRID=4674;POINT (-38.675423 -3.430919)'))) / (select extract(epoch from '2026-08-12 20:18:31'::timestamp) - extract(epoch from '2026-08-12 20:18:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675404 -3.430923)'), GeomFromEWKT('SRID=4674;POINT (-38.675423 -3.430919)'))) / (select extract(epoch from '2026-08-12 20:18:31'::timestamp) - extract(epoch from '2026-08-12 20:18:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675482 -3.430905)', '2026-08-12 20:18:32', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675423 -3.430919)'), GeomFromEWKT('SRID=4674;POINT (-38.675482 -3.430905)'))) / (select extract(epoch from '2026-08-12 20:18:32'::timestamp) - extract(epoch from '2026-08-12 20:18:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675423 -3.430919)'), GeomFromEWKT('SRID=4674;POINT (-38.675482 -3.430905)'))) / (select extract(epoch from '2026-08-12 20:18:32'::timestamp) - extract(epoch from '2026-08-12 20:18:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675531 -3.430886)', '2026-08-12 20:18:32', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675482 -3.430905)'), GeomFromEWKT('SRID=4674;POINT (-38.675531 -3.430886)'))) / (select extract(epoch from '2026-08-12 20:18:32'::timestamp) - extract(epoch from '2026-08-12 20:18:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675482 -3.430905)'), GeomFromEWKT('SRID=4674;POINT (-38.675531 -3.430886)'))) / (select extract(epoch from '2026-08-12 20:18:32'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.675561 -3.43087)', '2026-08-12 20:18:32', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675531 -3.430886)'), GeomFromEWKT('SRID=4674;POINT (-38.675561 -3.43087)'))) / (select extract(epoch from '2026-08-12 20:18:32'::timestamp) - extract(epoch from '2026-08-12 20:18:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675531 -3.430886)'), GeomFromEWKT('SRID=4674;POINT (-38.675561 -3.43087)'))) / (select extract(epoch from '2026-08-12 20:18:32'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.67558 -3.430869)', '2026-08-12 20:18:32', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675561 -3.43087)'), GeomFromEWKT('SRID=4674;POINT (-38.67558 -3.430869)'))) / (select extract(epoch from '2026-08-12 20:18:32'::timestamp) - extract(epoch from '2026-08-12 20:18:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675561 -3.43087)'), GeomFromEWKT('SRID=4674;POINT (-38.67558 -3.430869)'))) / (select extract(epoch from '2026-08-12 20:18:32'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.675586 -3.430863)', '2026-08-12 20:18:33', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67558 -3.430869)'), GeomFromEWKT('SRID=4674;POINT (-38.675586 -3.430863)'))) / (select extract(epoch from '2026-08-12 20:18:33'::timestamp) - extract(epoch from '2026-08-12 20:18:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67558 -3.430869)'), GeomFromEWKT('SRID=4674;POINT (-38.675586 -3.430863)'))) / (select extract(epoch from '2026-08-12 20:18:33'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.675618 -3.430852)', '2026-08-12 20:18:33', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675586 -3.430863)'), GeomFromEWKT('SRID=4674;POINT (-38.675618 -3.430852)'))) / (select extract(epoch from '2026-08-12 20:18:33'::timestamp) - extract(epoch from '2026-08-12 20:18:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675586 -3.430863)'), GeomFromEWKT('SRID=4674;POINT (-38.675618 -3.430852)'))) / (select extract(epoch from '2026-08-12 20:18:33'::timestamp) - extract(epoch from '2026-08-12 20:18:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675655 -3.430825)', '2026-08-12 20:18:33', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675618 -3.430852)'), GeomFromEWKT('SRID=4674;POINT (-38.675655 -3.430825)'))) / (select extract(epoch from '2026-08-12 20:18:33'::timestamp) - extract(epoch from '2026-08-12 20:18:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675618 -3.430852)'), GeomFromEWKT('SRID=4674;POINT (-38.675655 -3.430825)'))) / (select extract(epoch from '2026-08-12 20:18:33'::timestamp) - extract(epoch from '2026-08-12 20:18:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675664 -3.430814)', '2026-08-12 20:18:33', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675655 -3.430825)'), GeomFromEWKT('SRID=4674;POINT (-38.675664 -3.430814)'))) / (select extract(epoch from '2026-08-12 20:18:33'::timestamp) - extract(epoch from '2026-08-12 20:18:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675655 -3.430825)'), GeomFromEWKT('SRID=4674;POINT (-38.675664 -3.430814)'))) / (select extract(epoch from '2026-08-12 20:18:33'::timestamp) - extract(epoch from '2026-08-12 20:18:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675697 -3.430792)', '2026-08-12 20:18:33', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675664 -3.430814)'), GeomFromEWKT('SRID=4674;POINT (-38.675697 -3.430792)'))) / (select extract(epoch from '2026-08-12 20:18:33'::timestamp) - extract(epoch from '2026-08-12 20:18:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675664 -3.430814)'), GeomFromEWKT('SRID=4674;POINT (-38.675697 -3.430792)'))) / (select extract(epoch from '2026-08-12 20:18:33'::timestamp) - extract(epoch from '2026-08-12 20:18:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675751 -3.430758)', '2026-08-12 20:18:34', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675697 -3.430792)'), GeomFromEWKT('SRID=4674;POINT (-38.675751 -3.430758)'))) / (select extract(epoch from '2026-08-12 20:18:34'::timestamp) - extract(epoch from '2026-08-12 20:18:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675697 -3.430792)'), GeomFromEWKT('SRID=4674;POINT (-38.675751 -3.430758)'))) / (select extract(epoch from '2026-08-12 20:18:34'::timestamp) - extract(epoch from '2026-08-12 20:18:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675778 -3.430752)', '2026-08-12 20:18:34', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675751 -3.430758)'), GeomFromEWKT('SRID=4674;POINT (-38.675778 -3.430752)'))) / (select extract(epoch from '2026-08-12 20:18:34'::timestamp) - extract(epoch from '2026-08-12 20:18:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675751 -3.430758)'), GeomFromEWKT('SRID=4674;POINT (-38.675778 -3.430752)'))) / (select extract(epoch from '2026-08-12 20:18:34'::timestamp) - extract(epoch from '2026-08-12 20:18:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675825 -3.43073)', '2026-08-12 20:18:34', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675778 -3.430752)'), GeomFromEWKT('SRID=4674;POINT (-38.675825 -3.43073)'))) / (select extract(epoch from '2026-08-12 20:18:34'::timestamp) - extract(epoch from '2026-08-12 20:18:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675778 -3.430752)'), GeomFromEWKT('SRID=4674;POINT (-38.675825 -3.43073)'))) / (select extract(epoch from '2026-08-12 20:18:34'::timestamp) - extract(epoch from '2026-08-12 20:18:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675851 -3.430717)', '2026-08-12 20:18:35', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675825 -3.43073)'), GeomFromEWKT('SRID=4674;POINT (-38.675851 -3.430717)'))) / (select extract(epoch from '2026-08-12 20:18:35'::timestamp) - extract(epoch from '2026-08-12 20:18:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675825 -3.43073)'), GeomFromEWKT('SRID=4674;POINT (-38.675851 -3.430717)'))) / (select extract(epoch from '2026-08-12 20:18:35'::timestamp) - extract(epoch from '2026-08-12 20:18:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675887 -3.430726)', '2026-08-12 20:18:35', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675851 -3.430717)'), GeomFromEWKT('SRID=4674;POINT (-38.675887 -3.430726)'))) / (select extract(epoch from '2026-08-12 20:18:35'::timestamp) - extract(epoch from '2026-08-12 20:18:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675851 -3.430717)'), GeomFromEWKT('SRID=4674;POINT (-38.675887 -3.430726)'))) / (select extract(epoch from '2026-08-12 20:18:35'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.67593 -3.430771)', '2026-08-12 20:18:35', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675887 -3.430726)'), GeomFromEWKT('SRID=4674;POINT (-38.67593 -3.430771)'))) / (select extract(epoch from '2026-08-12 20:18:35'::timestamp) - extract(epoch from '2026-08-12 20:18:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675887 -3.430726)'), GeomFromEWKT('SRID=4674;POINT (-38.67593 -3.430771)'))) / (select extract(epoch from '2026-08-12 20:18:35'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675915 -3.430824)', '2026-08-12 20:18:36', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67593 -3.430771)'), GeomFromEWKT('SRID=4674;POINT (-38.675915 -3.430824)'))) / (select extract(epoch from '2026-08-12 20:18:36'::timestamp) - extract(epoch from '2026-08-12 20:18:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67593 -3.430771)'), GeomFromEWKT('SRID=4674;POINT (-38.675915 -3.430824)'))) / (select extract(epoch from '2026-08-12 20:18:36'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675917 -3.4309)', '2026-08-12 20:18:36', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675915 -3.430824)'), GeomFromEWKT('SRID=4674;POINT (-38.675917 -3.4309)'))) / (select extract(epoch from '2026-08-12 20:18:36'::timestamp) - extract(epoch from '2026-08-12 20:18:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675915 -3.430824)'), GeomFromEWKT('SRID=4674;POINT (-38.675917 -3.4309)'))) / (select extract(epoch from '2026-08-12 20:18:36'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.675926 -3.430976)', '2026-08-12 20:18:37', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675917 -3.4309)'), GeomFromEWKT('SRID=4674;POINT (-38.675926 -3.430976)'))) / (select extract(epoch from '2026-08-12 20:18:37'::timestamp) - extract(epoch from '2026-08-12 20:18:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675917 -3.4309)'), GeomFromEWKT('SRID=4674;POINT (-38.675926 -3.430976)'))) / (select extract(epoch from '2026-08-12 20:18:37'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.675927 -3.430986)', '2026-08-12 20:18:37', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675926 -3.430976)'), GeomFromEWKT('SRID=4674;POINT (-38.675927 -3.430986)'))) / (select extract(epoch from '2026-08-12 20:18:37'::timestamp) - extract(epoch from '2026-08-12 20:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675926 -3.430976)'), GeomFromEWKT('SRID=4674;POINT (-38.675927 -3.430986)'))) / (select extract(epoch from '2026-08-12 20:18:37'::timestamp) - extract(epoch from '2026-08-12 20:18:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675934 -3.431044)', '2026-08-12 20:18:37', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675927 -3.430986)'), GeomFromEWKT('SRID=4674;POINT (-38.675934 -3.431044)'))) / (select extract(epoch from '2026-08-12 20:18:37'::timestamp) - extract(epoch from '2026-08-12 20:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675927 -3.430986)'), GeomFromEWKT('SRID=4674;POINT (-38.675934 -3.431044)'))) / (select extract(epoch from '2026-08-12 20:18:37'::timestamp) - extract(epoch from '2026-08-12 20:18:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675932 -3.431057)', '2026-08-12 20:18:37', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675934 -3.431044)'), GeomFromEWKT('SRID=4674;POINT (-38.675932 -3.431057)'))) / (select extract(epoch from '2026-08-12 20:18:37'::timestamp) - extract(epoch from '2026-08-12 20:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675934 -3.431044)'), GeomFromEWKT('SRID=4674;POINT (-38.675932 -3.431057)'))) / (select extract(epoch from '2026-08-12 20:18:37'::timestamp) - extract(epoch from '2026-08-12 20:18:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675936 -3.431114)', '2026-08-12 20:18:38', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675932 -3.431057)'), GeomFromEWKT('SRID=4674;POINT (-38.675936 -3.431114)'))) / (select extract(epoch from '2026-08-12 20:18:38'::timestamp) - extract(epoch from '2026-08-12 20:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675932 -3.431057)'), GeomFromEWKT('SRID=4674;POINT (-38.675936 -3.431114)'))) / (select extract(epoch from '2026-08-12 20:18:38'::timestamp) - extract(epoch from '2026-08-12 20:18:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.675934 -3.431158)', '2026-08-12 20:18:38', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675936 -3.431114)'), GeomFromEWKT('SRID=4674;POINT (-38.675934 -3.431158)'))) / (select extract(epoch from '2026-08-12 20:18:38'::timestamp) - extract(epoch from '2026-08-12 20:18:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675936 -3.431114)'), GeomFromEWKT('SRID=4674;POINT (-38.675934 -3.431158)'))) / (select extract(epoch from '2026-08-12 20:18:38'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.675941 -3.43118)', '2026-08-12 20:18:38', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675934 -3.431158)'), GeomFromEWKT('SRID=4674;POINT (-38.675941 -3.43118)'))) / (select extract(epoch from '2026-08-12 20:18:38'::timestamp) - extract(epoch from '2026-08-12 20:18:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675934 -3.431158)'), GeomFromEWKT('SRID=4674;POINT (-38.675941 -3.43118)'))) / (select extract(epoch from '2026-08-12 20:18:38'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.675957 -3.431253)', '2026-08-12 20:18:38', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675941 -3.43118)'), GeomFromEWKT('SRID=4674;POINT (-38.675957 -3.431253)'))) / (select extract(epoch from '2026-08-12 20:18:38'::timestamp) - extract(epoch from '2026-08-12 20:18:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675941 -3.43118)'), GeomFromEWKT('SRID=4674;POINT (-38.675957 -3.431253)'))) / (select extract(epoch from '2026-08-12 20:18:38'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.675954 -3.431275)', '2026-08-12 20:18:39', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675957 -3.431253)'), GeomFromEWKT('SRID=4674;POINT (-38.675954 -3.431275)'))) / (select extract(epoch from '2026-08-12 20:18:39'::timestamp) - extract(epoch from '2026-08-12 20:18:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675957 -3.431253)'), GeomFromEWKT('SRID=4674;POINT (-38.675954 -3.431275)'))) / (select extract(epoch from '2026-08-12 20:18:39'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.675961 -3.431307)', '2026-08-12 20:18:39', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675954 -3.431275)'), GeomFromEWKT('SRID=4674;POINT (-38.675961 -3.431307)'))) / (select extract(epoch from '2026-08-12 20:18:39'::timestamp) - extract(epoch from '2026-08-12 20:18:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675954 -3.431275)'), GeomFromEWKT('SRID=4674;POINT (-38.675961 -3.431307)'))) / (select extract(epoch from '2026-08-12 20:18:39'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.675972 -3.431394)', '2026-08-12 20:18:39', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675961 -3.431307)'), GeomFromEWKT('SRID=4674;POINT (-38.675972 -3.431394)'))) / (select extract(epoch from '2026-08-12 20:18:39'::timestamp) - extract(epoch from '2026-08-12 20:18:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675961 -3.431307)'), GeomFromEWKT('SRID=4674;POINT (-38.675972 -3.431394)'))) / (select extract(epoch from '2026-08-12 20:18:39'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.675985 -3.431479)', '2026-08-12 20:18:40', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675972 -3.431394)'), GeomFromEWKT('SRID=4674;POINT (-38.675985 -3.431479)'))) / (select extract(epoch from '2026-08-12 20:18:40'::timestamp) - extract(epoch from '2026-08-12 20:18:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675972 -3.431394)'), GeomFromEWKT('SRID=4674;POINT (-38.675985 -3.431479)'))) / (select extract(epoch from '2026-08-12 20:18:40'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.675993 -3.431542)', '2026-08-12 20:18:40', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675985 -3.431479)'), GeomFromEWKT('SRID=4674;POINT (-38.675993 -3.431542)'))) / (select extract(epoch from '2026-08-12 20:18:40'::timestamp) - extract(epoch from '2026-08-12 20:18:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675985 -3.431479)'), GeomFromEWKT('SRID=4674;POINT (-38.675993 -3.431542)'))) / (select extract(epoch from '2026-08-12 20:18:40'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.675996 -3.431625)', '2026-08-12 20:18:41', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675993 -3.431542)'), GeomFromEWKT('SRID=4674;POINT (-38.675996 -3.431625)'))) / (select extract(epoch from '2026-08-12 20:18:41'::timestamp) - extract(epoch from '2026-08-12 20:18:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675993 -3.431542)'), GeomFromEWKT('SRID=4674;POINT (-38.675996 -3.431625)'))) / (select extract(epoch from '2026-08-12 20:18:41'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.675993 -3.431656)', '2026-08-12 20:18:41', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675996 -3.431625)'), GeomFromEWKT('SRID=4674;POINT (-38.675993 -3.431656)'))) / (select extract(epoch from '2026-08-12 20:18:41'::timestamp) - extract(epoch from '2026-08-12 20:18:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675996 -3.431625)'), GeomFromEWKT('SRID=4674;POINT (-38.675993 -3.431656)'))) / (select extract(epoch from '2026-08-12 20:18:41'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.675993 -3.431702)', '2026-08-12 20:18:41', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675993 -3.431656)'), GeomFromEWKT('SRID=4674;POINT (-38.675993 -3.431702)'))) / (select extract(epoch from '2026-08-12 20:18:41'::timestamp) - extract(epoch from '2026-08-12 20:18:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675993 -3.431656)'), GeomFromEWKT('SRID=4674;POINT (-38.675993 -3.431702)'))) / (select extract(epoch from '2026-08-12 20:18:41'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.676002 -3.431808)', '2026-08-12 20:18:42', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675993 -3.431702)'), GeomFromEWKT('SRID=4674;POINT (-38.676002 -3.431808)'))) / (select extract(epoch from '2026-08-12 20:18:42'::timestamp) - extract(epoch from '2026-08-12 20:18:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.675993 -3.431702)'), GeomFromEWKT('SRID=4674;POINT (-38.676002 -3.431808)'))) / (select extract(epoch from '2026-08-12 20:18:42'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.676014 -3.431892)', '2026-08-12 20:18:43', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676002 -3.431808)'), GeomFromEWKT('SRID=4674;POINT (-38.676014 -3.431892)'))) / (select extract(epoch from '2026-08-12 20:18:43'::timestamp) - extract(epoch from '2026-08-12 20:18:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676002 -3.431808)'), GeomFromEWKT('SRID=4674;POINT (-38.676014 -3.431892)'))) / (select extract(epoch from '2026-08-12 20:18:43'::timestamp) - extract(epoch from '2026-08-12 20:18:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.676017 -3.431908)', '2026-08-12 20:18:43', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676014 -3.431892)'), GeomFromEWKT('SRID=4674;POINT (-38.676017 -3.431908)'))) / (select extract(epoch from '2026-08-12 20:18:43'::timestamp) - extract(epoch from '2026-08-12 20:18:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676014 -3.431892)'), GeomFromEWKT('SRID=4674;POINT (-38.676017 -3.431908)'))) / (select extract(epoch from '2026-08-12 20:18:43'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.676013 -3.43196)', '2026-08-12 20:18:43', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676017 -3.431908)'), GeomFromEWKT('SRID=4674;POINT (-38.676013 -3.43196)'))) / (select extract(epoch from '2026-08-12 20:18:43'::timestamp) - extract(epoch from '2026-08-12 20:18:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676017 -3.431908)'), GeomFromEWKT('SRID=4674;POINT (-38.676013 -3.43196)'))) / (select extract(epoch from '2026-08-12 20:18:43'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.676024 -3.431997)', '2026-08-12 20:18:43', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676013 -3.43196)'), GeomFromEWKT('SRID=4674;POINT (-38.676024 -3.431997)'))) / (select extract(epoch from '2026-08-12 20:18:43'::timestamp) - extract(epoch from '2026-08-12 20:18:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676013 -3.43196)'), GeomFromEWKT('SRID=4674;POINT (-38.676024 -3.431997)'))) / (select extract(epoch from '2026-08-12 20:18:43'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.67603 -3.432006)', '2026-08-12 20:18:44', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676024 -3.431997)'), GeomFromEWKT('SRID=4674;POINT (-38.67603 -3.432006)'))) / (select extract(epoch from '2026-08-12 20:18:44'::timestamp) - extract(epoch from '2026-08-12 20:18:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676024 -3.431997)'), GeomFromEWKT('SRID=4674;POINT (-38.67603 -3.432006)'))) / (select extract(epoch from '2026-08-12 20:18:44'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.676062 -3.431984)', '2026-08-12 20:18:44', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67603 -3.432006)'), GeomFromEWKT('SRID=4674;POINT (-38.676062 -3.431984)'))) / (select extract(epoch from '2026-08-12 20:18:44'::timestamp) - extract(epoch from '2026-08-12 20:18:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67603 -3.432006)'), GeomFromEWKT('SRID=4674;POINT (-38.676062 -3.431984)'))) / (select extract(epoch from '2026-08-12 20:18:44'::timestamp) - extract(epoch from '2026-08-12 20:18:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.67608 -3.431967)', '2026-08-12 20:18:44', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676062 -3.431984)'), GeomFromEWKT('SRID=4674;POINT (-38.67608 -3.431967)'))) / (select extract(epoch from '2026-08-12 20:18:44'::timestamp) - extract(epoch from '2026-08-12 20:18:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676062 -3.431984)'), GeomFromEWKT('SRID=4674;POINT (-38.67608 -3.431967)'))) / (select extract(epoch from '2026-08-12 20:18:44'::timestamp) - extract(epoch from '2026-08-12 20:18:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.676113 -3.431917)', '2026-08-12 20:18:44', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67608 -3.431967)'), GeomFromEWKT('SRID=4674;POINT (-38.676113 -3.431917)'))) / (select extract(epoch from '2026-08-12 20:18:44'::timestamp) - extract(epoch from '2026-08-12 20:18:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67608 -3.431967)'), GeomFromEWKT('SRID=4674;POINT (-38.676113 -3.431917)'))) / (select extract(epoch from '2026-08-12 20:18:44'::timestamp) - extract(epoch from '2026-08-12 20:18:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.67615 -3.431901)', '2026-08-12 20:18:45', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676113 -3.431917)'), GeomFromEWKT('SRID=4674;POINT (-38.67615 -3.431901)'))) / (select extract(epoch from '2026-08-12 20:18:45'::timestamp) - extract(epoch from '2026-08-12 20:18:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676113 -3.431917)'), GeomFromEWKT('SRID=4674;POINT (-38.67615 -3.431901)'))) / (select extract(epoch from '2026-08-12 20:18:45'::timestamp) - extract(epoch from '2026-08-12 20:18:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.676186 -3.43189)', '2026-08-12 20:18:45', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67615 -3.431901)'), GeomFromEWKT('SRID=4674;POINT (-38.676186 -3.43189)'))) / (select extract(epoch from '2026-08-12 20:18:45'::timestamp) - extract(epoch from '2026-08-12 20:18:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67615 -3.431901)'), GeomFromEWKT('SRID=4674;POINT (-38.676186 -3.43189)'))) / (select extract(epoch from '2026-08-12 20:18:45'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.676217 -3.431874)', '2026-08-12 20:18:45', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676186 -3.43189)'), GeomFromEWKT('SRID=4674;POINT (-38.676217 -3.431874)'))) / (select extract(epoch from '2026-08-12 20:18:45'::timestamp) - extract(epoch from '2026-08-12 20:18:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676186 -3.43189)'), GeomFromEWKT('SRID=4674;POINT (-38.676217 -3.431874)'))) / (select extract(epoch from '2026-08-12 20:18:45'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.676253 -3.431859)', '2026-08-12 20:18:45', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676217 -3.431874)'), GeomFromEWKT('SRID=4674;POINT (-38.676253 -3.431859)'))) / (select extract(epoch from '2026-08-12 20:18:45'::timestamp) - extract(epoch from '2026-08-12 20:18:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676217 -3.431874)'), GeomFromEWKT('SRID=4674;POINT (-38.676253 -3.431859)'))) / (select extract(epoch from '2026-08-12 20:18:45'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.676272 -3.431836)', '2026-08-12 20:18:46', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676253 -3.431859)'), GeomFromEWKT('SRID=4674;POINT (-38.676272 -3.431836)'))) / (select extract(epoch from '2026-08-12 20:18:46'::timestamp) - extract(epoch from '2026-08-12 20:18:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676253 -3.431859)'), GeomFromEWKT('SRID=4674;POINT (-38.676272 -3.431836)'))) / (select extract(epoch from '2026-08-12 20:18:46'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.676298 -3.431814)', '2026-08-12 20:18:46', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676272 -3.431836)'), GeomFromEWKT('SRID=4674;POINT (-38.676298 -3.431814)'))) / (select extract(epoch from '2026-08-12 20:18:46'::timestamp) - extract(epoch from '2026-08-12 20:18:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676272 -3.431836)'), GeomFromEWKT('SRID=4674;POINT (-38.676298 -3.431814)'))) / (select extract(epoch from '2026-08-12 20:18:46'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.67634 -3.431793)', '2026-08-12 20:18:46', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676298 -3.431814)'), GeomFromEWKT('SRID=4674;POINT (-38.67634 -3.431793)'))) / (select extract(epoch from '2026-08-12 20:18:46'::timestamp) - extract(epoch from '2026-08-12 20:18:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676298 -3.431814)'), GeomFromEWKT('SRID=4674;POINT (-38.67634 -3.431793)'))) / (select extract(epoch from '2026-08-12 20:18:46'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.676371 -3.431784)', '2026-08-12 20:18:46', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67634 -3.431793)'), GeomFromEWKT('SRID=4674;POINT (-38.676371 -3.431784)'))) / (select extract(epoch from '2026-08-12 20:18:46'::timestamp) - extract(epoch from '2026-08-12 20:18:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67634 -3.431793)'), GeomFromEWKT('SRID=4674;POINT (-38.676371 -3.431784)'))) / (select extract(epoch from '2026-08-12 20:18:46'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.676413 -3.431776)', '2026-08-12 20:18:47', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676371 -3.431784)'), GeomFromEWKT('SRID=4674;POINT (-38.676413 -3.431776)'))) / (select extract(epoch from '2026-08-12 20:18:47'::timestamp) - extract(epoch from '2026-08-12 20:18:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676371 -3.431784)'), GeomFromEWKT('SRID=4674;POINT (-38.676413 -3.431776)'))) / (select extract(epoch from '2026-08-12 20:18:47'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.676494 -3.43181)', '2026-08-12 20:18:47', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676413 -3.431776)'), GeomFromEWKT('SRID=4674;POINT (-38.676494 -3.43181)'))) / (select extract(epoch from '2026-08-12 20:18:47'::timestamp) - extract(epoch from '2026-08-12 20:18:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676413 -3.431776)'), GeomFromEWKT('SRID=4674;POINT (-38.676494 -3.43181)'))) / (select extract(epoch from '2026-08-12 20:18:47'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.67651 -3.431833)', '2026-08-12 20:18:47', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676494 -3.43181)'), GeomFromEWKT('SRID=4674;POINT (-38.67651 -3.431833)'))) / (select extract(epoch from '2026-08-12 20:18:47'::timestamp) - extract(epoch from '2026-08-12 20:18:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676494 -3.43181)'), GeomFromEWKT('SRID=4674;POINT (-38.67651 -3.431833)'))) / (select extract(epoch from '2026-08-12 20:18:47'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.676526 -3.431879)', '2026-08-12 20:18:48', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67651 -3.431833)'), GeomFromEWKT('SRID=4674;POINT (-38.676526 -3.431879)'))) / (select extract(epoch from '2026-08-12 20:18:48'::timestamp) - extract(epoch from '2026-08-12 20:18:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67651 -3.431833)'), GeomFromEWKT('SRID=4674;POINT (-38.676526 -3.431879)'))) / (select extract(epoch from '2026-08-12 20:18:48'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.676537 -3.431905)', '2026-08-12 20:18:48', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676526 -3.431879)'), GeomFromEWKT('SRID=4674;POINT (-38.676537 -3.431905)'))) / (select extract(epoch from '2026-08-12 20:18:48'::timestamp) - extract(epoch from '2026-08-12 20:18:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676526 -3.431879)'), GeomFromEWKT('SRID=4674;POINT (-38.676537 -3.431905)'))) / (select extract(epoch from '2026-08-12 20:18:48'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.676543 -3.431928)', '2026-08-12 20:18:48', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676537 -3.431905)'), GeomFromEWKT('SRID=4674;POINT (-38.676543 -3.431928)'))) / (select extract(epoch from '2026-08-12 20:18:48'::timestamp) - extract(epoch from '2026-08-12 20:18:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676537 -3.431905)'), GeomFromEWKT('SRID=4674;POINT (-38.676543 -3.431928)'))) / (select extract(epoch from '2026-08-12 20:18:48'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.67655 -3.43194)', '2026-08-12 20:18:48', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676543 -3.431928)'), GeomFromEWKT('SRID=4674;POINT (-38.67655 -3.43194)'))) / (select extract(epoch from '2026-08-12 20:18:48'::timestamp) - extract(epoch from '2026-08-12 20:18:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676543 -3.431928)'), GeomFromEWKT('SRID=4674;POINT (-38.67655 -3.43194)'))) / (select extract(epoch from '2026-08-12 20:18:48'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.676553 -3.431953)', '2026-08-12 20:18:48', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67655 -3.43194)'), GeomFromEWKT('SRID=4674;POINT (-38.676553 -3.431953)'))) / (select extract(epoch from '2026-08-12 20:18:48'::timestamp) - extract(epoch from '2026-08-12 20:18:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67655 -3.43194)'), GeomFromEWKT('SRID=4674;POINT (-38.676553 -3.431953)'))) / (select extract(epoch from '2026-08-12 20:18:48'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.676556 -3.431983)', '2026-08-12 20:18:48', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676553 -3.431953)'), GeomFromEWKT('SRID=4674;POINT (-38.676556 -3.431983)'))) / (select extract(epoch from '2026-08-12 20:18:48'::timestamp) - extract(epoch from '2026-08-12 20:18:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676553 -3.431953)'), GeomFromEWKT('SRID=4674;POINT (-38.676556 -3.431983)'))) / (select extract(epoch from '2026-08-12 20:18:48'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.676565 -3.432014)', '2026-08-12 20:18:49', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676556 -3.431983)'), GeomFromEWKT('SRID=4674;POINT (-38.676565 -3.432014)'))) / (select extract(epoch from '2026-08-12 20:18:49'::timestamp) - extract(epoch from '2026-08-12 20:18:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676556 -3.431983)'), GeomFromEWKT('SRID=4674;POINT (-38.676565 -3.432014)'))) / (select extract(epoch from '2026-08-12 20:18:49'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.67658 -3.432089)', '2026-08-12 20:18:49', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676565 -3.432014)'), GeomFromEWKT('SRID=4674;POINT (-38.67658 -3.432089)'))) / (select extract(epoch from '2026-08-12 20:18:49'::timestamp) - extract(epoch from '2026-08-12 20:18:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676565 -3.432014)'), GeomFromEWKT('SRID=4674;POINT (-38.67658 -3.432089)'))) / (select extract(epoch from '2026-08-12 20:18:49'::timestamp) - extract(epoch from '2026-08-12 20:18:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.676596 -3.432164)', '2026-08-12 20:18:50', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67658 -3.432089)'), GeomFromEWKT('SRID=4674;POINT (-38.676596 -3.432164)'))) / (select extract(epoch from '2026-08-12 20:18:50'::timestamp) - extract(epoch from '2026-08-12 20:18:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67658 -3.432089)'), GeomFromEWKT('SRID=4674;POINT (-38.676596 -3.432164)'))) / (select extract(epoch from '2026-08-12 20:18:50'::timestamp) - extract(epoch from '2026-08-12 20:18:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.676613 -3.432242)', '2026-08-12 20:18:50', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676596 -3.432164)'), GeomFromEWKT('SRID=4674;POINT (-38.676613 -3.432242)'))) / (select extract(epoch from '2026-08-12 20:18:50'::timestamp) - extract(epoch from '2026-08-12 20:18:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676596 -3.432164)'), GeomFromEWKT('SRID=4674;POINT (-38.676613 -3.432242)'))) / (select extract(epoch from '2026-08-12 20:18:50'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.676636 -3.432353)', '2026-08-12 20:18:51', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676613 -3.432242)'), GeomFromEWKT('SRID=4674;POINT (-38.676636 -3.432353)'))) / (select extract(epoch from '2026-08-12 20:18:51'::timestamp) - extract(epoch from '2026-08-12 20:18:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676613 -3.432242)'), GeomFromEWKT('SRID=4674;POINT (-38.676636 -3.432353)'))) / (select extract(epoch from '2026-08-12 20:18:51'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.676648 -3.432419)', '2026-08-12 20:18:51', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676636 -3.432353)'), GeomFromEWKT('SRID=4674;POINT (-38.676648 -3.432419)'))) / (select extract(epoch from '2026-08-12 20:18:51'::timestamp) - extract(epoch from '2026-08-12 20:18:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676636 -3.432353)'), GeomFromEWKT('SRID=4674;POINT (-38.676648 -3.432419)'))) / (select extract(epoch from '2026-08-12 20:18:51'::timestamp) - extract(epoch from '2026-08-12 20:18:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.67667 -3.432497)', '2026-08-12 20:18:52', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676648 -3.432419)'), GeomFromEWKT('SRID=4674;POINT (-38.67667 -3.432497)'))) / (select extract(epoch from '2026-08-12 20:18:52'::timestamp) - extract(epoch from '2026-08-12 20:18:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676648 -3.432419)'), GeomFromEWKT('SRID=4674;POINT (-38.67667 -3.432497)'))) / (select extract(epoch from '2026-08-12 20:18:52'::timestamp) - extract(epoch from '2026-08-12 20:18:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.676667 -3.432526)', '2026-08-12 20:18:52', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67667 -3.432497)'), GeomFromEWKT('SRID=4674;POINT (-38.676667 -3.432526)'))) / (select extract(epoch from '2026-08-12 20:18:52'::timestamp) - extract(epoch from '2026-08-12 20:18:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67667 -3.432497)'), GeomFromEWKT('SRID=4674;POINT (-38.676667 -3.432526)'))) / (select extract(epoch from '2026-08-12 20:18:52'::timestamp) - extract(epoch from '2026-08-12 20:18:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.676681 -3.432576)', '2026-08-12 20:18:52', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676667 -3.432526)'), GeomFromEWKT('SRID=4674;POINT (-38.676681 -3.432576)'))) / (select extract(epoch from '2026-08-12 20:18:52'::timestamp) - extract(epoch from '2026-08-12 20:18:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676667 -3.432526)'), GeomFromEWKT('SRID=4674;POINT (-38.676681 -3.432576)'))) / (select extract(epoch from '2026-08-12 20:18:52'::timestamp) - extract(epoch from '2026-08-12 20:18:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.676686 -3.432662)', '2026-08-12 20:18:53', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676681 -3.432576)'), GeomFromEWKT('SRID=4674;POINT (-38.676686 -3.432662)'))) / (select extract(epoch from '2026-08-12 20:18:53'::timestamp) - extract(epoch from '2026-08-12 20:18:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676681 -3.432576)'), GeomFromEWKT('SRID=4674;POINT (-38.676686 -3.432662)'))) / (select extract(epoch from '2026-08-12 20:18:53'::timestamp) - extract(epoch from '2026-08-12 20:18:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.676684 -3.43272)', '2026-08-12 20:18:53', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676686 -3.432662)'), GeomFromEWKT('SRID=4674;POINT (-38.676684 -3.43272)'))) / (select extract(epoch from '2026-08-12 20:18:53'::timestamp) - extract(epoch from '2026-08-12 20:18:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676686 -3.432662)'), GeomFromEWKT('SRID=4674;POINT (-38.676684 -3.43272)'))) / (select extract(epoch from '2026-08-12 20:18:53'::timestamp) - extract(epoch from '2026-08-12 20:18:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.676685 -3.432734)', '2026-08-12 20:18:54', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676684 -3.43272)'), GeomFromEWKT('SRID=4674;POINT (-38.676685 -3.432734)'))) / (select extract(epoch from '2026-08-12 20:18:54'::timestamp) - extract(epoch from '2026-08-12 20:18:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676684 -3.43272)'), GeomFromEWKT('SRID=4674;POINT (-38.676685 -3.432734)'))) / (select extract(epoch from '2026-08-12 20:18:54'::timestamp) - extract(epoch from '2026-08-12 20:18:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.676682 -3.432762)', '2026-08-12 20:18:54', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676685 -3.432734)'), GeomFromEWKT('SRID=4674;POINT (-38.676682 -3.432762)'))) / (select extract(epoch from '2026-08-12 20:18:54'::timestamp) - extract(epoch from '2026-08-12 20:18:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676685 -3.432734)'), GeomFromEWKT('SRID=4674;POINT (-38.676682 -3.432762)'))) / (select extract(epoch from '2026-08-12 20:18:54'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.676683 -3.43281)', '2026-08-12 20:18:54', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676682 -3.432762)'), GeomFromEWKT('SRID=4674;POINT (-38.676683 -3.43281)'))) / (select extract(epoch from '2026-08-12 20:18:54'::timestamp) - extract(epoch from '2026-08-12 20:18:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676682 -3.432762)'), GeomFromEWKT('SRID=4674;POINT (-38.676683 -3.43281)'))) / (select extract(epoch from '2026-08-12 20:18:54'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.676689 -3.432904)', '2026-08-12 20:18:55', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676683 -3.43281)'), GeomFromEWKT('SRID=4674;POINT (-38.676689 -3.432904)'))) / (select extract(epoch from '2026-08-12 20:18:55'::timestamp) - extract(epoch from '2026-08-12 20:18:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676683 -3.43281)'), GeomFromEWKT('SRID=4674;POINT (-38.676689 -3.432904)'))) / (select extract(epoch from '2026-08-12 20:18:55'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.676706 -3.432932)', '2026-08-12 20:18:55', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676689 -3.432904)'), GeomFromEWKT('SRID=4674;POINT (-38.676706 -3.432932)'))) / (select extract(epoch from '2026-08-12 20:18:55'::timestamp) - extract(epoch from '2026-08-12 20:18:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676689 -3.432904)'), GeomFromEWKT('SRID=4674;POINT (-38.676706 -3.432932)'))) / (select extract(epoch from '2026-08-12 20:18:55'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.676746 -3.432939)', '2026-08-12 20:18:55', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676706 -3.432932)'), GeomFromEWKT('SRID=4674;POINT (-38.676746 -3.432939)'))) / (select extract(epoch from '2026-08-12 20:18:55'::timestamp) - extract(epoch from '2026-08-12 20:18:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676706 -3.432932)'), GeomFromEWKT('SRID=4674;POINT (-38.676746 -3.432939)'))) / (select extract(epoch from '2026-08-12 20:18:55'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.676784 -3.432931)', '2026-08-12 20:18:55', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676746 -3.432939)'), GeomFromEWKT('SRID=4674;POINT (-38.676784 -3.432931)'))) / (select extract(epoch from '2026-08-12 20:18:55'::timestamp) - extract(epoch from '2026-08-12 20:18:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676746 -3.432939)'), GeomFromEWKT('SRID=4674;POINT (-38.676784 -3.432931)'))) / (select extract(epoch from '2026-08-12 20:18:55'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.676809 -3.432915)', '2026-08-12 20:18:56', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676784 -3.432931)'), GeomFromEWKT('SRID=4674;POINT (-38.676809 -3.432915)'))) / (select extract(epoch from '2026-08-12 20:18:56'::timestamp) - extract(epoch from '2026-08-12 20:18:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676784 -3.432931)'), GeomFromEWKT('SRID=4674;POINT (-38.676809 -3.432915)'))) / (select extract(epoch from '2026-08-12 20:18:56'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.676847 -3.43289)', '2026-08-12 20:18:56', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676809 -3.432915)'), GeomFromEWKT('SRID=4674;POINT (-38.676847 -3.43289)'))) / (select extract(epoch from '2026-08-12 20:18:56'::timestamp) - extract(epoch from '2026-08-12 20:18:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676809 -3.432915)'), GeomFromEWKT('SRID=4674;POINT (-38.676847 -3.43289)'))) / (select extract(epoch from '2026-08-12 20:18:56'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.676888 -3.432877)', '2026-08-12 20:18:56', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676847 -3.43289)'), GeomFromEWKT('SRID=4674;POINT (-38.676888 -3.432877)'))) / (select extract(epoch from '2026-08-12 20:18:56'::timestamp) - extract(epoch from '2026-08-12 20:18:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676847 -3.43289)'), GeomFromEWKT('SRID=4674;POINT (-38.676888 -3.432877)'))) / (select extract(epoch from '2026-08-12 20:18:56'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.676936 -3.43286)', '2026-08-12 20:18:57', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676888 -3.432877)'), GeomFromEWKT('SRID=4674;POINT (-38.676936 -3.43286)'))) / (select extract(epoch from '2026-08-12 20:18:57'::timestamp) - extract(epoch from '2026-08-12 20:18:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676888 -3.432877)'), GeomFromEWKT('SRID=4674;POINT (-38.676936 -3.43286)'))) / (select extract(epoch from '2026-08-12 20:18:57'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.676992 -3.432843)', '2026-08-12 20:18:57', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676936 -3.43286)'), GeomFromEWKT('SRID=4674;POINT (-38.676992 -3.432843)'))) / (select extract(epoch from '2026-08-12 20:18:57'::timestamp) - extract(epoch from '2026-08-12 20:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676936 -3.43286)'), GeomFromEWKT('SRID=4674;POINT (-38.676992 -3.432843)'))) / (select extract(epoch from '2026-08-12 20:18:57'::timestamp) - extract(epoch from '2026-08-12 20:18:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.677026 -3.432836)', '2026-08-12 20:18:57', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676992 -3.432843)'), GeomFromEWKT('SRID=4674;POINT (-38.677026 -3.432836)'))) / (select extract(epoch from '2026-08-12 20:18:57'::timestamp) - extract(epoch from '2026-08-12 20:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.676992 -3.432843)'), GeomFromEWKT('SRID=4674;POINT (-38.677026 -3.432836)'))) / (select extract(epoch from '2026-08-12 20:18:57'::timestamp) - extract(epoch from '2026-08-12 20:18:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.677045 -3.432823)', '2026-08-12 20:18:57', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677026 -3.432836)'), GeomFromEWKT('SRID=4674;POINT (-38.677045 -3.432823)'))) / (select extract(epoch from '2026-08-12 20:18:57'::timestamp) - extract(epoch from '2026-08-12 20:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677026 -3.432836)'), GeomFromEWKT('SRID=4674;POINT (-38.677045 -3.432823)'))) / (select extract(epoch from '2026-08-12 20:18:57'::timestamp) - extract(epoch from '2026-08-12 20:18:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.677069 -3.432808)', '2026-08-12 20:18:58', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677045 -3.432823)'), GeomFromEWKT('SRID=4674;POINT (-38.677069 -3.432808)'))) / (select extract(epoch from '2026-08-12 20:18:58'::timestamp) - extract(epoch from '2026-08-12 20:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677045 -3.432823)'), GeomFromEWKT('SRID=4674;POINT (-38.677069 -3.432808)'))) / (select extract(epoch from '2026-08-12 20:18:58'::timestamp) - extract(epoch from '2026-08-12 20:18:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.677084 -3.432798)', '2026-08-12 20:18:58', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677069 -3.432808)'), GeomFromEWKT('SRID=4674;POINT (-38.677084 -3.432798)'))) / (select extract(epoch from '2026-08-12 20:18:58'::timestamp) - extract(epoch from '2026-08-12 20:18:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677069 -3.432808)'), GeomFromEWKT('SRID=4674;POINT (-38.677084 -3.432798)'))) / (select extract(epoch from '2026-08-12 20:18:58'::timestamp) - extract(epoch from '2026-08-12 20:18:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.677091 -3.432788)', '2026-08-12 20:18:58', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677084 -3.432798)'), GeomFromEWKT('SRID=4674;POINT (-38.677091 -3.432788)'))) / (select extract(epoch from '2026-08-12 20:18:58'::timestamp) - extract(epoch from '2026-08-12 20:18:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677084 -3.432798)'), GeomFromEWKT('SRID=4674;POINT (-38.677091 -3.432788)'))) / (select extract(epoch from '2026-08-12 20:18:58'::timestamp) - extract(epoch from '2026-08-12 20:18:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.677141 -3.432767)', '2026-08-12 20:18:58', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677091 -3.432788)'), GeomFromEWKT('SRID=4674;POINT (-38.677141 -3.432767)'))) / (select extract(epoch from '2026-08-12 20:18:58'::timestamp) - extract(epoch from '2026-08-12 20:18:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677091 -3.432788)'), GeomFromEWKT('SRID=4674;POINT (-38.677141 -3.432767)'))) / (select extract(epoch from '2026-08-12 20:18:58'::timestamp) - extract(epoch from '2026-08-12 20:18:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.677166 -3.432748)', '2026-08-12 20:18:58', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677141 -3.432767)'), GeomFromEWKT('SRID=4674;POINT (-38.677166 -3.432748)'))) / (select extract(epoch from '2026-08-12 20:18:58'::timestamp) - extract(epoch from '2026-08-12 20:18:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677141 -3.432767)'), GeomFromEWKT('SRID=4674;POINT (-38.677166 -3.432748)'))) / (select extract(epoch from '2026-08-12 20:18:58'::timestamp) - extract(epoch from '2026-08-12 20:18:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.67719 -3.432732)', '2026-08-12 20:18:58', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677166 -3.432748)'), GeomFromEWKT('SRID=4674;POINT (-38.67719 -3.432732)'))) / (select extract(epoch from '2026-08-12 20:18:58'::timestamp) - extract(epoch from '2026-08-12 20:18:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677166 -3.432748)'), GeomFromEWKT('SRID=4674;POINT (-38.67719 -3.432732)'))) / (select extract(epoch from '2026-08-12 20:18:58'::timestamp) - extract(epoch from '2026-08-12 20:18:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.677217 -3.432713)', '2026-08-12 20:18:59', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67719 -3.432732)'), GeomFromEWKT('SRID=4674;POINT (-38.677217 -3.432713)'))) / (select extract(epoch from '2026-08-12 20:18:59'::timestamp) - extract(epoch from '2026-08-12 20:18:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67719 -3.432732)'), GeomFromEWKT('SRID=4674;POINT (-38.677217 -3.432713)'))) / (select extract(epoch from '2026-08-12 20:18:59'::timestamp) - extract(epoch from '2026-08-12 20:18:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.677276 -3.432713)', '2026-08-12 20:18:59', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677217 -3.432713)'), GeomFromEWKT('SRID=4674;POINT (-38.677276 -3.432713)'))) / (select extract(epoch from '2026-08-12 20:18:59'::timestamp) - extract(epoch from '2026-08-12 20:18:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677217 -3.432713)'), GeomFromEWKT('SRID=4674;POINT (-38.677276 -3.432713)'))) / (select extract(epoch from '2026-08-12 20:18:59'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.677311 -3.432746)', '2026-08-12 20:18:59', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677276 -3.432713)'), GeomFromEWKT('SRID=4674;POINT (-38.677311 -3.432746)'))) / (select extract(epoch from '2026-08-12 20:18:59'::timestamp) - extract(epoch from '2026-08-12 20:18:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677276 -3.432713)'), GeomFromEWKT('SRID=4674;POINT (-38.677311 -3.432746)'))) / (select extract(epoch from '2026-08-12 20:18:59'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.677317 -3.43276)', '2026-08-12 20:19:00', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677311 -3.432746)'), GeomFromEWKT('SRID=4674;POINT (-38.677317 -3.43276)'))) / (select extract(epoch from '2026-08-12 20:19:00'::timestamp) - extract(epoch from '2026-08-12 20:18:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677311 -3.432746)'), GeomFromEWKT('SRID=4674;POINT (-38.677317 -3.43276)'))) / (select extract(epoch from '2026-08-12 20:19:00'::timestamp) - extract(epoch from '2026-08-12 20:18: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'), 48120, 'SRID=4674;POINT (-38.677323 -3.432779)', '2026-08-12 20:19:00', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677317 -3.43276)'), GeomFromEWKT('SRID=4674;POINT (-38.677323 -3.432779)'))) / (select extract(epoch from '2026-08-12 20:19:00'::timestamp) - extract(epoch from '2026-08-12 20:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677317 -3.43276)'), GeomFromEWKT('SRID=4674;POINT (-38.677323 -3.432779)'))) / (select extract(epoch from '2026-08-12 20:19:00'::timestamp) - extract(epoch from '2026-08-12 20:19:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.677336 -3.432802)', '2026-08-12 20:19:00', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677323 -3.432779)'), GeomFromEWKT('SRID=4674;POINT (-38.677336 -3.432802)'))) / (select extract(epoch from '2026-08-12 20:19:00'::timestamp) - extract(epoch from '2026-08-12 20:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677323 -3.432779)'), GeomFromEWKT('SRID=4674;POINT (-38.677336 -3.432802)'))) / (select extract(epoch from '2026-08-12 20:19:00'::timestamp) - extract(epoch from '2026-08-12 20:19:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.677351 -3.432884)', '2026-08-12 20:19:00', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677336 -3.432802)'), GeomFromEWKT('SRID=4674;POINT (-38.677351 -3.432884)'))) / (select extract(epoch from '2026-08-12 20:19:00'::timestamp) - extract(epoch from '2026-08-12 20:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677336 -3.432802)'), GeomFromEWKT('SRID=4674;POINT (-38.677351 -3.432884)'))) / (select extract(epoch from '2026-08-12 20:19:00'::timestamp) - extract(epoch from '2026-08-12 20:19:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.677352 -3.432982)', '2026-08-12 20:19:01', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677351 -3.432884)'), GeomFromEWKT('SRID=4674;POINT (-38.677352 -3.432982)'))) / (select extract(epoch from '2026-08-12 20:19:01'::timestamp) - extract(epoch from '2026-08-12 20:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677351 -3.432884)'), GeomFromEWKT('SRID=4674;POINT (-38.677352 -3.432982)'))) / (select extract(epoch from '2026-08-12 20:19:01'::timestamp) - extract(epoch from '2026-08-12 20:19:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.677362 -3.433058)', '2026-08-12 20:19:02', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677352 -3.432982)'), GeomFromEWKT('SRID=4674;POINT (-38.677362 -3.433058)'))) / (select extract(epoch from '2026-08-12 20:19:02'::timestamp) - extract(epoch from '2026-08-12 20:19:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677352 -3.432982)'), GeomFromEWKT('SRID=4674;POINT (-38.677362 -3.433058)'))) / (select extract(epoch from '2026-08-12 20:19:02'::timestamp) - extract(epoch from '2026-08-12 20:19: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'), 48120, 'SRID=4674;POINT (-38.677385 -3.433166)', '2026-08-12 20:19:02', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677362 -3.433058)'), GeomFromEWKT('SRID=4674;POINT (-38.677385 -3.433166)'))) / (select extract(epoch from '2026-08-12 20:19:02'::timestamp) - extract(epoch from '2026-08-12 20:19:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677362 -3.433058)'), GeomFromEWKT('SRID=4674;POINT (-38.677385 -3.433166)'))) / (select extract(epoch from '2026-08-12 20:19:02'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.677406 -3.433253)', '2026-08-12 20:19:03', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677385 -3.433166)'), GeomFromEWKT('SRID=4674;POINT (-38.677406 -3.433253)'))) / (select extract(epoch from '2026-08-12 20:19:03'::timestamp) - extract(epoch from '2026-08-12 20:19:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677385 -3.433166)'), GeomFromEWKT('SRID=4674;POINT (-38.677406 -3.433253)'))) / (select extract(epoch from '2026-08-12 20:19:03'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.67745 -3.433386)', '2026-08-12 20:19:04', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677406 -3.433253)'), GeomFromEWKT('SRID=4674;POINT (-38.67745 -3.433386)'))) / (select extract(epoch from '2026-08-12 20:19:04'::timestamp) - extract(epoch from '2026-08-12 20:19:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677406 -3.433253)'), GeomFromEWKT('SRID=4674;POINT (-38.67745 -3.433386)'))) / (select extract(epoch from '2026-08-12 20:19:04'::timestamp) - extract(epoch from '2026-08-12 20:19:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.677466 -3.433461)', '2026-08-12 20:19:04', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67745 -3.433386)'), GeomFromEWKT('SRID=4674;POINT (-38.677466 -3.433461)'))) / (select extract(epoch from '2026-08-12 20:19:04'::timestamp) - extract(epoch from '2026-08-12 20:19:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67745 -3.433386)'), GeomFromEWKT('SRID=4674;POINT (-38.677466 -3.433461)'))) / (select extract(epoch from '2026-08-12 20:19:04'::timestamp) - extract(epoch from '2026-08-12 20:19:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.677475 -3.433562)', '2026-08-12 20:19:05', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677466 -3.433461)'), GeomFromEWKT('SRID=4674;POINT (-38.677475 -3.433562)'))) / (select extract(epoch from '2026-08-12 20:19:05'::timestamp) - extract(epoch from '2026-08-12 20:19:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677466 -3.433461)'), GeomFromEWKT('SRID=4674;POINT (-38.677475 -3.433562)'))) / (select extract(epoch from '2026-08-12 20:19:05'::timestamp) - extract(epoch from '2026-08-12 20:19:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.677481 -3.433637)', '2026-08-12 20:19:05', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677475 -3.433562)'), GeomFromEWKT('SRID=4674;POINT (-38.677481 -3.433637)'))) / (select extract(epoch from '2026-08-12 20:19:05'::timestamp) - extract(epoch from '2026-08-12 20:19:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677475 -3.433562)'), GeomFromEWKT('SRID=4674;POINT (-38.677481 -3.433637)'))) / (select extract(epoch from '2026-08-12 20:19:05'::timestamp) - extract(epoch from '2026-08-12 20:19: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'), 48120, 'SRID=4674;POINT (-38.677491 -3.433739)', '2026-08-12 20:19:06', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677481 -3.433637)'), GeomFromEWKT('SRID=4674;POINT (-38.677491 -3.433739)'))) / (select extract(epoch from '2026-08-12 20:19:06'::timestamp) - extract(epoch from '2026-08-12 20:19:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677481 -3.433637)'), GeomFromEWKT('SRID=4674;POINT (-38.677491 -3.433739)'))) / (select extract(epoch from '2026-08-12 20:19:06'::timestamp) - extract(epoch from '2026-08-12 20:19: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'), 48120, 'SRID=4674;POINT (-38.677504 -3.43382)', '2026-08-12 20:19:07', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677491 -3.433739)'), GeomFromEWKT('SRID=4674;POINT (-38.677504 -3.43382)'))) / (select extract(epoch from '2026-08-12 20:19:07'::timestamp) - extract(epoch from '2026-08-12 20:19:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677491 -3.433739)'), GeomFromEWKT('SRID=4674;POINT (-38.677504 -3.43382)'))) / (select extract(epoch from '2026-08-12 20:19:07'::timestamp) - extract(epoch from '2026-08-12 20:19:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.677499 -3.433835)', '2026-08-12 20:19:07', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677504 -3.43382)'), GeomFromEWKT('SRID=4674;POINT (-38.677499 -3.433835)'))) / (select extract(epoch from '2026-08-12 20:19:07'::timestamp) - extract(epoch from '2026-08-12 20:19:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677504 -3.43382)'), GeomFromEWKT('SRID=4674;POINT (-38.677499 -3.433835)'))) / (select extract(epoch from '2026-08-12 20:19:07'::timestamp) - extract(epoch from '2026-08-12 20:19: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'), 48120, 'SRID=4674;POINT (-38.677497 -3.43385)', '2026-08-12 20:19:07', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677499 -3.433835)'), GeomFromEWKT('SRID=4674;POINT (-38.677497 -3.43385)'))) / (select extract(epoch from '2026-08-12 20:19:07'::timestamp) - extract(epoch from '2026-08-12 20:19:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677499 -3.433835)'), GeomFromEWKT('SRID=4674;POINT (-38.677497 -3.43385)'))) / (select extract(epoch from '2026-08-12 20:19:07'::timestamp) - extract(epoch from '2026-08-12 20:19: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'), 48120, 'SRID=4674;POINT (-38.677499 -3.433879)', '2026-08-12 20:19:07', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677497 -3.43385)'), GeomFromEWKT('SRID=4674;POINT (-38.677499 -3.433879)'))) / (select extract(epoch from '2026-08-12 20:19:07'::timestamp) - extract(epoch from '2026-08-12 20:19:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677497 -3.43385)'), GeomFromEWKT('SRID=4674;POINT (-38.677499 -3.433879)'))) / (select extract(epoch from '2026-08-12 20:19:07'::timestamp) - extract(epoch from '2026-08-12 20:19: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'), 48120, 'SRID=4674;POINT (-38.677494 -3.433894)', '2026-08-12 20:19:07', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677499 -3.433879)'), GeomFromEWKT('SRID=4674;POINT (-38.677494 -3.433894)'))) / (select extract(epoch from '2026-08-12 20:19:07'::timestamp) - extract(epoch from '2026-08-12 20:19:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677499 -3.433879)'), GeomFromEWKT('SRID=4674;POINT (-38.677494 -3.433894)'))) / (select extract(epoch from '2026-08-12 20:19:07'::timestamp) - extract(epoch from '2026-08-12 20:19: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'), 48120, 'SRID=4674;POINT (-38.677487 -3.433926)', '2026-08-12 20:19:07', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677494 -3.433894)'), GeomFromEWKT('SRID=4674;POINT (-38.677487 -3.433926)'))) / (select extract(epoch from '2026-08-12 20:19:07'::timestamp) - extract(epoch from '2026-08-12 20:19:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677494 -3.433894)'), GeomFromEWKT('SRID=4674;POINT (-38.677487 -3.433926)'))) / (select extract(epoch from '2026-08-12 20:19:07'::timestamp) - extract(epoch from '2026-08-12 20:19: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'), 48120, 'SRID=4674;POINT (-38.677499 -3.433953)', '2026-08-12 20:19:08', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677487 -3.433926)'), GeomFromEWKT('SRID=4674;POINT (-38.677499 -3.433953)'))) / (select extract(epoch from '2026-08-12 20:19:08'::timestamp) - extract(epoch from '2026-08-12 20:19:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677487 -3.433926)'), GeomFromEWKT('SRID=4674;POINT (-38.677499 -3.433953)'))) / (select extract(epoch from '2026-08-12 20:19:08'::timestamp) - extract(epoch from '2026-08-12 20:19: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'), 48120, 'SRID=4674;POINT (-38.6775 -3.433971)', '2026-08-12 20:19:08', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677499 -3.433953)'), GeomFromEWKT('SRID=4674;POINT (-38.6775 -3.433971)'))) / (select extract(epoch from '2026-08-12 20:19:08'::timestamp) - extract(epoch from '2026-08-12 20:19:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677499 -3.433953)'), GeomFromEWKT('SRID=4674;POINT (-38.6775 -3.433971)'))) / (select extract(epoch from '2026-08-12 20:19:08'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.677519 -3.434044)', '2026-08-12 20:19:08', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6775 -3.433971)'), GeomFromEWKT('SRID=4674;POINT (-38.677519 -3.434044)'))) / (select extract(epoch from '2026-08-12 20:19:08'::timestamp) - extract(epoch from '2026-08-12 20:19:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6775 -3.433971)'), GeomFromEWKT('SRID=4674;POINT (-38.677519 -3.434044)'))) / (select extract(epoch from '2026-08-12 20:19:08'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.677528 -3.43407)', '2026-08-12 20:19:08', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677519 -3.434044)'), GeomFromEWKT('SRID=4674;POINT (-38.677528 -3.43407)'))) / (select extract(epoch from '2026-08-12 20:19:08'::timestamp) - extract(epoch from '2026-08-12 20:19:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677519 -3.434044)'), GeomFromEWKT('SRID=4674;POINT (-38.677528 -3.43407)'))) / (select extract(epoch from '2026-08-12 20:19:08'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.677537 -3.434074)', '2026-08-12 20:19:09', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677528 -3.43407)'), GeomFromEWKT('SRID=4674;POINT (-38.677537 -3.434074)'))) / (select extract(epoch from '2026-08-12 20:19:09'::timestamp) - extract(epoch from '2026-08-12 20:19:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677528 -3.43407)'), GeomFromEWKT('SRID=4674;POINT (-38.677537 -3.434074)'))) / (select extract(epoch from '2026-08-12 20:19:09'::timestamp) - extract(epoch from '2026-08-12 20: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'), 48120, 'SRID=4674;POINT (-38.677567 -3.43409)', '2026-08-12 20:19:09', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677537 -3.434074)'), GeomFromEWKT('SRID=4674;POINT (-38.677567 -3.43409)'))) / (select extract(epoch from '2026-08-12 20:19:09'::timestamp) - extract(epoch from '2026-08-12 20:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677537 -3.434074)'), GeomFromEWKT('SRID=4674;POINT (-38.677567 -3.43409)'))) / (select extract(epoch from '2026-08-12 20:19:09'::timestamp) - extract(epoch from '2026-08-12 20:19: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'), 48120, 'SRID=4674;POINT (-38.677598 -3.434073)', '2026-08-12 20:19:09', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677567 -3.43409)'), GeomFromEWKT('SRID=4674;POINT (-38.677598 -3.434073)'))) / (select extract(epoch from '2026-08-12 20:19:09'::timestamp) - extract(epoch from '2026-08-12 20:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677567 -3.43409)'), GeomFromEWKT('SRID=4674;POINT (-38.677598 -3.434073)'))) / (select extract(epoch from '2026-08-12 20:19:09'::timestamp) - extract(epoch from '2026-08-12 20:19: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'), 48120, 'SRID=4674;POINT (-38.677611 -3.434065)', '2026-08-12 20:19:09', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677598 -3.434073)'), GeomFromEWKT('SRID=4674;POINT (-38.677611 -3.434065)'))) / (select extract(epoch from '2026-08-12 20:19:09'::timestamp) - extract(epoch from '2026-08-12 20:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677598 -3.434073)'), GeomFromEWKT('SRID=4674;POINT (-38.677611 -3.434065)'))) / (select extract(epoch from '2026-08-12 20:19:09'::timestamp) - extract(epoch from '2026-08-12 20:19: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'), 48120, 'SRID=4674;POINT (-38.67764 -3.434042)', '2026-08-12 20:19:09', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677611 -3.434065)'), GeomFromEWKT('SRID=4674;POINT (-38.67764 -3.434042)'))) / (select extract(epoch from '2026-08-12 20:19:09'::timestamp) - extract(epoch from '2026-08-12 20:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677611 -3.434065)'), GeomFromEWKT('SRID=4674;POINT (-38.67764 -3.434042)'))) / (select extract(epoch from '2026-08-12 20:19:09'::timestamp) - extract(epoch from '2026-08-12 20:19: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'), 48120, 'SRID=4674;POINT (-38.677663 -3.434024)', '2026-08-12 20:19:10', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67764 -3.434042)'), GeomFromEWKT('SRID=4674;POINT (-38.677663 -3.434024)'))) / (select extract(epoch from '2026-08-12 20:19:10'::timestamp) - extract(epoch from '2026-08-12 20:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67764 -3.434042)'), GeomFromEWKT('SRID=4674;POINT (-38.677663 -3.434024)'))) / (select extract(epoch from '2026-08-12 20:19:10'::timestamp) - extract(epoch from '2026-08-12 20:19: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'), 48120, 'SRID=4674;POINT (-38.677699 -3.434001)', '2026-08-12 20:19:10', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677663 -3.434024)'), GeomFromEWKT('SRID=4674;POINT (-38.677699 -3.434001)'))) / (select extract(epoch from '2026-08-12 20:19:10'::timestamp) - extract(epoch from '2026-08-12 20:19:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677663 -3.434024)'), GeomFromEWKT('SRID=4674;POINT (-38.677699 -3.434001)'))) / (select extract(epoch from '2026-08-12 20:19:10'::timestamp) - extract(epoch from '2026-08-12 20:19:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.677714 -3.433994)', '2026-08-12 20:19:10', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677699 -3.434001)'), GeomFromEWKT('SRID=4674;POINT (-38.677714 -3.433994)'))) / (select extract(epoch from '2026-08-12 20:19:10'::timestamp) - extract(epoch from '2026-08-12 20:19:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677699 -3.434001)'), GeomFromEWKT('SRID=4674;POINT (-38.677714 -3.433994)'))) / (select extract(epoch from '2026-08-12 20:19:10'::timestamp) - extract(epoch from '2026-08-12 20:19:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.677741 -3.433986)', '2026-08-12 20:19:10', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677714 -3.433994)'), GeomFromEWKT('SRID=4674;POINT (-38.677741 -3.433986)'))) / (select extract(epoch from '2026-08-12 20:19:10'::timestamp) - extract(epoch from '2026-08-12 20:19:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677714 -3.433994)'), GeomFromEWKT('SRID=4674;POINT (-38.677741 -3.433986)'))) / (select extract(epoch from '2026-08-12 20:19:10'::timestamp) - extract(epoch from '2026-08-12 20:19:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.67778 -3.433978)', '2026-08-12 20:19:10', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677741 -3.433986)'), GeomFromEWKT('SRID=4674;POINT (-38.67778 -3.433978)'))) / (select extract(epoch from '2026-08-12 20:19:10'::timestamp) - extract(epoch from '2026-08-12 20:19:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677741 -3.433986)'), GeomFromEWKT('SRID=4674;POINT (-38.67778 -3.433978)'))) / (select extract(epoch from '2026-08-12 20:19:10'::timestamp) - extract(epoch from '2026-08-12 20:19:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.677818 -3.433957)', '2026-08-12 20:19:11', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67778 -3.433978)'), GeomFromEWKT('SRID=4674;POINT (-38.677818 -3.433957)'))) / (select extract(epoch from '2026-08-12 20:19:11'::timestamp) - extract(epoch from '2026-08-12 20:19:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.67778 -3.433978)'), GeomFromEWKT('SRID=4674;POINT (-38.677818 -3.433957)'))) / (select extract(epoch from '2026-08-12 20:19:11'::timestamp) - extract(epoch from '2026-08-12 20:19:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.677852 -3.43394)', '2026-08-12 20:19:11', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677818 -3.433957)'), GeomFromEWKT('SRID=4674;POINT (-38.677852 -3.43394)'))) / (select extract(epoch from '2026-08-12 20:19:11'::timestamp) - extract(epoch from '2026-08-12 20:19:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677818 -3.433957)'), GeomFromEWKT('SRID=4674;POINT (-38.677852 -3.43394)'))) / (select extract(epoch from '2026-08-12 20:19:11'::timestamp) - extract(epoch from '2026-08-12 20:19:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.677877 -3.433934)', '2026-08-12 20:19:11', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677852 -3.43394)'), GeomFromEWKT('SRID=4674;POINT (-38.677877 -3.433934)'))) / (select extract(epoch from '2026-08-12 20:19:11'::timestamp) - extract(epoch from '2026-08-12 20:19:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677852 -3.43394)'), GeomFromEWKT('SRID=4674;POINT (-38.677877 -3.433934)'))) / (select extract(epoch from '2026-08-12 20:19:11'::timestamp) - extract(epoch from '2026-08-12 20:19:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.677898 -3.433928)', '2026-08-12 20:19:11', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677877 -3.433934)'), GeomFromEWKT('SRID=4674;POINT (-38.677898 -3.433928)'))) / (select extract(epoch from '2026-08-12 20:19:11'::timestamp) - extract(epoch from '2026-08-12 20:19:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677877 -3.433934)'), GeomFromEWKT('SRID=4674;POINT (-38.677898 -3.433928)'))) / (select extract(epoch from '2026-08-12 20:19:11'::timestamp) - extract(epoch from '2026-08-12 20:19:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.677933 -3.433913)', '2026-08-12 20:19:11', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677898 -3.433928)'), GeomFromEWKT('SRID=4674;POINT (-38.677933 -3.433913)'))) / (select extract(epoch from '2026-08-12 20:19:11'::timestamp) - extract(epoch from '2026-08-12 20:19:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677898 -3.433928)'), GeomFromEWKT('SRID=4674;POINT (-38.677933 -3.433913)'))) / (select extract(epoch from '2026-08-12 20:19:11'::timestamp) - extract(epoch from '2026-08-12 20:19:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.677966 -3.433894)', '2026-08-12 20:19:12', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677933 -3.433913)'), GeomFromEWKT('SRID=4674;POINT (-38.677966 -3.433894)'))) / (select extract(epoch from '2026-08-12 20:19:12'::timestamp) - extract(epoch from '2026-08-12 20:19:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677933 -3.433913)'), GeomFromEWKT('SRID=4674;POINT (-38.677966 -3.433894)'))) / (select extract(epoch from '2026-08-12 20:19:12'::timestamp) - extract(epoch from '2026-08-12 20:19:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48120, 'SRID=4674;POINT (-38.677988 -3.433879)', '2026-08-12 20:19:12', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677966 -3.433894)'), GeomFromEWKT('SRID=4674;POINT (-38.677988 -3.433879)'))) / (select extract(epoch from '2026-08-12 20:19:12'::timestamp) - extract(epoch from '2026-08-12 20:19:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677966 -3.433894)'), GeomFromEWKT('SRID=4674;POINT (-38.677988 -3.433879)'))) / (select extract(epoch from '2026-08-12 20:19:12'::timestamp) - extract(epoch from '2026-08-12 20:19: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'), 48120, 'SRID=4674;POINT (-38.678038 -3.433853)', '2026-08-12 20:19:12', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677988 -3.433879)'), GeomFromEWKT('SRID=4674;POINT (-38.678038 -3.433853)'))) / (select extract(epoch from '2026-08-12 20:19:12'::timestamp) - extract(epoch from '2026-08-12 20:19:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.677988 -3.433879)'), GeomFromEWKT('SRID=4674;POINT (-38.678038 -3.433853)'))) / (select extract(epoch from '2026-08-12 20:19:12'::timestamp) - extract(epoch from '2026-08-12 20:19:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
