 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.547012 -2.813042)', '2026-07-09 12:41:08', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.546857 -2.812901)'), GeomFromEWKT('SRID=4674;POINT (-40.547012 -2.813042)'))) / (select extract(epoch from '2026-07-09 12:41:08'::timestamp) - extract(epoch from '2026-07-09 12:41:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.546857 -2.812901)'), GeomFromEWKT('SRID=4674;POINT (-40.547012 -2.813042)'))) / (select extract(epoch from '2026-07-09 12:41:08'::timestamp) - extract(epoch from '2026-07-09 12:41:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.547109 -2.813127)', '2026-07-09 12:41:13', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.547012 -2.813042)'), GeomFromEWKT('SRID=4674;POINT (-40.547109 -2.813127)'))) / (select extract(epoch from '2026-07-09 12:41:13'::timestamp) - extract(epoch from '2026-07-09 12:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.547012 -2.813042)'), GeomFromEWKT('SRID=4674;POINT (-40.547109 -2.813127)'))) / (select extract(epoch from '2026-07-09 12:41:13'::timestamp) - extract(epoch from '2026-07-09 12:41: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'), 47635, 'SRID=4674;POINT (-40.547245 -2.813247)', '2026-07-09 12:41:19', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.547109 -2.813127)'), GeomFromEWKT('SRID=4674;POINT (-40.547245 -2.813247)'))) / (select extract(epoch from '2026-07-09 12:41:19'::timestamp) - extract(epoch from '2026-07-09 12:41:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.547109 -2.813127)'), GeomFromEWKT('SRID=4674;POINT (-40.547245 -2.813247)'))) / (select extract(epoch from '2026-07-09 12:41:19'::timestamp) - extract(epoch from '2026-07-09 12:41:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.547385 -2.813393)', '2026-07-09 12:41:26', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.547245 -2.813247)'), GeomFromEWKT('SRID=4674;POINT (-40.547385 -2.813393)'))) / (select extract(epoch from '2026-07-09 12:41:26'::timestamp) - extract(epoch from '2026-07-09 12:41:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.547245 -2.813247)'), GeomFromEWKT('SRID=4674;POINT (-40.547385 -2.813393)'))) / (select extract(epoch from '2026-07-09 12:41:26'::timestamp) - extract(epoch from '2026-07-09 12:41:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.547551 -2.813567)', '2026-07-09 12:41:35', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.547385 -2.813393)'), GeomFromEWKT('SRID=4674;POINT (-40.547551 -2.813567)'))) / (select extract(epoch from '2026-07-09 12:41:35'::timestamp) - extract(epoch from '2026-07-09 12:41:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.547385 -2.813393)'), GeomFromEWKT('SRID=4674;POINT (-40.547551 -2.813567)'))) / (select extract(epoch from '2026-07-09 12:41:35'::timestamp) - extract(epoch from '2026-07-09 12:41: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'), 47635, 'SRID=4674;POINT (-40.547676 -2.813674)', '2026-07-09 12:41:42', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.547551 -2.813567)'), GeomFromEWKT('SRID=4674;POINT (-40.547676 -2.813674)'))) / (select extract(epoch from '2026-07-09 12:41:42'::timestamp) - extract(epoch from '2026-07-09 12:41:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.547551 -2.813567)'), GeomFromEWKT('SRID=4674;POINT (-40.547676 -2.813674)'))) / (select extract(epoch from '2026-07-09 12:41:42'::timestamp) - extract(epoch from '2026-07-09 12:41:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.547801 -2.813802)', '2026-07-09 12:41:50', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.547676 -2.813674)'), GeomFromEWKT('SRID=4674;POINT (-40.547801 -2.813802)'))) / (select extract(epoch from '2026-07-09 12:41:50'::timestamp) - extract(epoch from '2026-07-09 12:41:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.547676 -2.813674)'), GeomFromEWKT('SRID=4674;POINT (-40.547801 -2.813802)'))) / (select extract(epoch from '2026-07-09 12:41:50'::timestamp) - extract(epoch from '2026-07-09 12:41: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'), 47635, 'SRID=4674;POINT (-40.54791 -2.813894)', '2026-07-09 12:41:57', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.547801 -2.813802)'), GeomFromEWKT('SRID=4674;POINT (-40.54791 -2.813894)'))) / (select extract(epoch from '2026-07-09 12:41:57'::timestamp) - extract(epoch from '2026-07-09 12:41:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.547801 -2.813802)'), GeomFromEWKT('SRID=4674;POINT (-40.54791 -2.813894)'))) / (select extract(epoch from '2026-07-09 12:41:57'::timestamp) - extract(epoch from '2026-07-09 12:41: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'), 47635, 'SRID=4674;POINT (-40.548048 -2.814007)', '2026-07-09 12:42:05', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.54791 -2.813894)'), GeomFromEWKT('SRID=4674;POINT (-40.548048 -2.814007)'))) / (select extract(epoch from '2026-07-09 12:42:05'::timestamp) - extract(epoch from '2026-07-09 12:41:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.54791 -2.813894)'), GeomFromEWKT('SRID=4674;POINT (-40.548048 -2.814007)'))) / (select extract(epoch from '2026-07-09 12:42:05'::timestamp) - extract(epoch from '2026-07-09 12:41:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.548179 -2.814117)', '2026-07-09 12:42:12', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.548048 -2.814007)'), GeomFromEWKT('SRID=4674;POINT (-40.548179 -2.814117)'))) / (select extract(epoch from '2026-07-09 12:42:12'::timestamp) - extract(epoch from '2026-07-09 12:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.548048 -2.814007)'), GeomFromEWKT('SRID=4674;POINT (-40.548179 -2.814117)'))) / (select extract(epoch from '2026-07-09 12:42:12'::timestamp) - extract(epoch from '2026-07-09 12:42:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.548337 -2.814245)', '2026-07-09 12:42:20', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.548179 -2.814117)'), GeomFromEWKT('SRID=4674;POINT (-40.548337 -2.814245)'))) / (select extract(epoch from '2026-07-09 12:42:20'::timestamp) - extract(epoch from '2026-07-09 12:42:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.548179 -2.814117)'), GeomFromEWKT('SRID=4674;POINT (-40.548337 -2.814245)'))) / (select extract(epoch from '2026-07-09 12:42:20'::timestamp) - extract(epoch from '2026-07-09 12:42: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'), 47635, 'SRID=4674;POINT (-40.548464 -2.814355)', '2026-07-09 12:42:27', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.548337 -2.814245)'), GeomFromEWKT('SRID=4674;POINT (-40.548464 -2.814355)'))) / (select extract(epoch from '2026-07-09 12:42:27'::timestamp) - extract(epoch from '2026-07-09 12:42:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.548337 -2.814245)'), GeomFromEWKT('SRID=4674;POINT (-40.548464 -2.814355)'))) / (select extract(epoch from '2026-07-09 12:42:27'::timestamp) - extract(epoch from '2026-07-09 12:42:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.54859 -2.814467)', '2026-07-09 12:42:32', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.548464 -2.814355)'), GeomFromEWKT('SRID=4674;POINT (-40.54859 -2.814467)'))) / (select extract(epoch from '2026-07-09 12:42:32'::timestamp) - extract(epoch from '2026-07-09 12:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.548464 -2.814355)'), GeomFromEWKT('SRID=4674;POINT (-40.54859 -2.814467)'))) / (select extract(epoch from '2026-07-09 12:42:32'::timestamp) - extract(epoch from '2026-07-09 12:42: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'), 47635, 'SRID=4674;POINT (-40.548687 -2.814541)', '2026-07-09 12:42:37', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.54859 -2.814467)'), GeomFromEWKT('SRID=4674;POINT (-40.548687 -2.814541)'))) / (select extract(epoch from '2026-07-09 12:42:37'::timestamp) - extract(epoch from '2026-07-09 12:42:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.54859 -2.814467)'), GeomFromEWKT('SRID=4674;POINT (-40.548687 -2.814541)'))) / (select extract(epoch from '2026-07-09 12:42:37'::timestamp) - extract(epoch from '2026-07-09 12:42:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.548826 -2.814636)', '2026-07-09 12:42:43', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.548687 -2.814541)'), GeomFromEWKT('SRID=4674;POINT (-40.548826 -2.814636)'))) / (select extract(epoch from '2026-07-09 12:42:43'::timestamp) - extract(epoch from '2026-07-09 12:42:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.548687 -2.814541)'), GeomFromEWKT('SRID=4674;POINT (-40.548826 -2.814636)'))) / (select extract(epoch from '2026-07-09 12:42:43'::timestamp) - extract(epoch from '2026-07-09 12:42: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'), 47635, 'SRID=4674;POINT (-40.548956 -2.814719)', '2026-07-09 12:42:49', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.548826 -2.814636)'), GeomFromEWKT('SRID=4674;POINT (-40.548956 -2.814719)'))) / (select extract(epoch from '2026-07-09 12:42:49'::timestamp) - extract(epoch from '2026-07-09 12:42:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.548826 -2.814636)'), GeomFromEWKT('SRID=4674;POINT (-40.548956 -2.814719)'))) / (select extract(epoch from '2026-07-09 12:42:49'::timestamp) - extract(epoch from '2026-07-09 12:42: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'), 47635, 'SRID=4674;POINT (-40.549146 -2.814841)', '2026-07-09 12:42:58', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.548956 -2.814719)'), GeomFromEWKT('SRID=4674;POINT (-40.549146 -2.814841)'))) / (select extract(epoch from '2026-07-09 12:42:58'::timestamp) - extract(epoch from '2026-07-09 12:42:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.548956 -2.814719)'), GeomFromEWKT('SRID=4674;POINT (-40.549146 -2.814841)'))) / (select extract(epoch from '2026-07-09 12:42:58'::timestamp) - extract(epoch from '2026-07-09 12:42: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'), 47635, 'SRID=4674;POINT (-40.549248 -2.814924)', '2026-07-09 12:43:04', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.549146 -2.814841)'), GeomFromEWKT('SRID=4674;POINT (-40.549248 -2.814924)'))) / (select extract(epoch from '2026-07-09 12:43:04'::timestamp) - extract(epoch from '2026-07-09 12:42:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.549146 -2.814841)'), GeomFromEWKT('SRID=4674;POINT (-40.549248 -2.814924)'))) / (select extract(epoch from '2026-07-09 12:43:04'::timestamp) - extract(epoch from '2026-07-09 12:42: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'), 47635, 'SRID=4674;POINT (-40.549348 -2.815016)', '2026-07-09 12:43:10', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.549248 -2.814924)'), GeomFromEWKT('SRID=4674;POINT (-40.549348 -2.815016)'))) / (select extract(epoch from '2026-07-09 12:43:10'::timestamp) - extract(epoch from '2026-07-09 12:43:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.549248 -2.814924)'), GeomFromEWKT('SRID=4674;POINT (-40.549348 -2.815016)'))) / (select extract(epoch from '2026-07-09 12:43:10'::timestamp) - extract(epoch from '2026-07-09 12:43: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'), 47635, 'SRID=4674;POINT (-40.549472 -2.81512)', '2026-07-09 12:43:16', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.549348 -2.815016)'), GeomFromEWKT('SRID=4674;POINT (-40.549472 -2.81512)'))) / (select extract(epoch from '2026-07-09 12:43:16'::timestamp) - extract(epoch from '2026-07-09 12:43:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.549348 -2.815016)'), GeomFromEWKT('SRID=4674;POINT (-40.549472 -2.81512)'))) / (select extract(epoch from '2026-07-09 12:43:16'::timestamp) - extract(epoch from '2026-07-09 12:43: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'), 47635, 'SRID=4674;POINT (-40.549567 -2.815198)', '2026-07-09 12:43:21', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.549472 -2.81512)'), GeomFromEWKT('SRID=4674;POINT (-40.549567 -2.815198)'))) / (select extract(epoch from '2026-07-09 12:43:21'::timestamp) - extract(epoch from '2026-07-09 12:43:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.549472 -2.81512)'), GeomFromEWKT('SRID=4674;POINT (-40.549567 -2.815198)'))) / (select extract(epoch from '2026-07-09 12:43:21'::timestamp) - extract(epoch from '2026-07-09 12:43:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.549666 -2.815266)', '2026-07-09 12:43:26', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.549567 -2.815198)'), GeomFromEWKT('SRID=4674;POINT (-40.549666 -2.815266)'))) / (select extract(epoch from '2026-07-09 12:43:26'::timestamp) - extract(epoch from '2026-07-09 12:43:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.549567 -2.815198)'), GeomFromEWKT('SRID=4674;POINT (-40.549666 -2.815266)'))) / (select extract(epoch from '2026-07-09 12:43:26'::timestamp) - extract(epoch from '2026-07-09 12:43: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'), 47635, 'SRID=4674;POINT (-40.54978 -2.815338)', '2026-07-09 12:43:31', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.549666 -2.815266)'), GeomFromEWKT('SRID=4674;POINT (-40.54978 -2.815338)'))) / (select extract(epoch from '2026-07-09 12:43:31'::timestamp) - extract(epoch from '2026-07-09 12:43:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.549666 -2.815266)'), GeomFromEWKT('SRID=4674;POINT (-40.54978 -2.815338)'))) / (select extract(epoch from '2026-07-09 12:43:31'::timestamp) - extract(epoch from '2026-07-09 12:43:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.549888 -2.81543)', '2026-07-09 12:43:36', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.54978 -2.815338)'), GeomFromEWKT('SRID=4674;POINT (-40.549888 -2.81543)'))) / (select extract(epoch from '2026-07-09 12:43:36'::timestamp) - extract(epoch from '2026-07-09 12:43:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.54978 -2.815338)'), GeomFromEWKT('SRID=4674;POINT (-40.549888 -2.81543)'))) / (select extract(epoch from '2026-07-09 12:43:36'::timestamp) - extract(epoch from '2026-07-09 12:43: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'), 47635, 'SRID=4674;POINT (-40.550022 -2.815509)', '2026-07-09 12:43:42', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.549888 -2.81543)'), GeomFromEWKT('SRID=4674;POINT (-40.550022 -2.815509)'))) / (select extract(epoch from '2026-07-09 12:43:42'::timestamp) - extract(epoch from '2026-07-09 12:43:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.549888 -2.81543)'), GeomFromEWKT('SRID=4674;POINT (-40.550022 -2.815509)'))) / (select extract(epoch from '2026-07-09 12:43:42'::timestamp) - extract(epoch from '2026-07-09 12:43:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.550205 -2.815619)', '2026-07-09 12:43:49', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.550022 -2.815509)'), GeomFromEWKT('SRID=4674;POINT (-40.550205 -2.815619)'))) / (select extract(epoch from '2026-07-09 12:43:49'::timestamp) - extract(epoch from '2026-07-09 12:43:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.550022 -2.815509)'), GeomFromEWKT('SRID=4674;POINT (-40.550205 -2.815619)'))) / (select extract(epoch from '2026-07-09 12:43:49'::timestamp) - extract(epoch from '2026-07-09 12:43: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'), 47635, 'SRID=4674;POINT (-40.550398 -2.815741)', '2026-07-09 12:43:57', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.550205 -2.815619)'), GeomFromEWKT('SRID=4674;POINT (-40.550398 -2.815741)'))) / (select extract(epoch from '2026-07-09 12:43:57'::timestamp) - extract(epoch from '2026-07-09 12:43:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.550205 -2.815619)'), GeomFromEWKT('SRID=4674;POINT (-40.550398 -2.815741)'))) / (select extract(epoch from '2026-07-09 12:43:57'::timestamp) - extract(epoch from '2026-07-09 12:43: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'), 47635, 'SRID=4674;POINT (-40.550534 -2.815846)', '2026-07-09 12:44:02', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.550398 -2.815741)'), GeomFromEWKT('SRID=4674;POINT (-40.550534 -2.815846)'))) / (select extract(epoch from '2026-07-09 12:44:02'::timestamp) - extract(epoch from '2026-07-09 12:43:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.550398 -2.815741)'), GeomFromEWKT('SRID=4674;POINT (-40.550534 -2.815846)'))) / (select extract(epoch from '2026-07-09 12:44:02'::timestamp) - extract(epoch from '2026-07-09 12:43: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'), 47635, 'SRID=4674;POINT (-40.550675 -2.815937)', '2026-07-09 12:44:08', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.550534 -2.815846)'), GeomFromEWKT('SRID=4674;POINT (-40.550675 -2.815937)'))) / (select extract(epoch from '2026-07-09 12:44:08'::timestamp) - extract(epoch from '2026-07-09 12:44:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.550534 -2.815846)'), GeomFromEWKT('SRID=4674;POINT (-40.550675 -2.815937)'))) / (select extract(epoch from '2026-07-09 12:44:08'::timestamp) - extract(epoch from '2026-07-09 12:44: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'), 47635, 'SRID=4674;POINT (-40.550785 -2.815994)', '2026-07-09 12:44:13', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.550675 -2.815937)'), GeomFromEWKT('SRID=4674;POINT (-40.550785 -2.815994)'))) / (select extract(epoch from '2026-07-09 12:44:13'::timestamp) - extract(epoch from '2026-07-09 12:44:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.550675 -2.815937)'), GeomFromEWKT('SRID=4674;POINT (-40.550785 -2.815994)'))) / (select extract(epoch from '2026-07-09 12:44:13'::timestamp) - extract(epoch from '2026-07-09 12:44: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'), 47635, 'SRID=4674;POINT (-40.550908 -2.816079)', '2026-07-09 12:44:19', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.550785 -2.815994)'), GeomFromEWKT('SRID=4674;POINT (-40.550908 -2.816079)'))) / (select extract(epoch from '2026-07-09 12:44:19'::timestamp) - extract(epoch from '2026-07-09 12:44:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.550785 -2.815994)'), GeomFromEWKT('SRID=4674;POINT (-40.550908 -2.816079)'))) / (select extract(epoch from '2026-07-09 12:44:19'::timestamp) - extract(epoch from '2026-07-09 12:44: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'), 47635, 'SRID=4674;POINT (-40.551023 -2.816161)', '2026-07-09 12:44:25', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.550908 -2.816079)'), GeomFromEWKT('SRID=4674;POINT (-40.551023 -2.816161)'))) / (select extract(epoch from '2026-07-09 12:44:25'::timestamp) - extract(epoch from '2026-07-09 12:44:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.550908 -2.816079)'), GeomFromEWKT('SRID=4674;POINT (-40.551023 -2.816161)'))) / (select extract(epoch from '2026-07-09 12:44:25'::timestamp) - extract(epoch from '2026-07-09 12:44:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.551173 -2.81627)', '2026-07-09 12:44:32', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.551023 -2.816161)'), GeomFromEWKT('SRID=4674;POINT (-40.551173 -2.81627)'))) / (select extract(epoch from '2026-07-09 12:44:32'::timestamp) - extract(epoch from '2026-07-09 12:44:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.551023 -2.816161)'), GeomFromEWKT('SRID=4674;POINT (-40.551173 -2.81627)'))) / (select extract(epoch from '2026-07-09 12:44:32'::timestamp) - extract(epoch from '2026-07-09 12:44: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'), 47635, 'SRID=4674;POINT (-40.551369 -2.816415)', '2026-07-09 12:44:41', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.551173 -2.81627)'), GeomFromEWKT('SRID=4674;POINT (-40.551369 -2.816415)'))) / (select extract(epoch from '2026-07-09 12:44:41'::timestamp) - extract(epoch from '2026-07-09 12:44:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.551173 -2.81627)'), GeomFromEWKT('SRID=4674;POINT (-40.551369 -2.816415)'))) / (select extract(epoch from '2026-07-09 12:44:41'::timestamp) - extract(epoch from '2026-07-09 12:44:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.5515 -2.816552)', '2026-07-09 12:44:48', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.551369 -2.816415)'), GeomFromEWKT('SRID=4674;POINT (-40.5515 -2.816552)'))) / (select extract(epoch from '2026-07-09 12:44:48'::timestamp) - extract(epoch from '2026-07-09 12:44:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.551369 -2.816415)'), GeomFromEWKT('SRID=4674;POINT (-40.5515 -2.816552)'))) / (select extract(epoch from '2026-07-09 12:44:48'::timestamp) - extract(epoch from '2026-07-09 12:44: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'), 47635, 'SRID=4674;POINT (-40.551615 -2.8167)', '2026-07-09 12:44:55', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5515 -2.816552)'), GeomFromEWKT('SRID=4674;POINT (-40.551615 -2.8167)'))) / (select extract(epoch from '2026-07-09 12:44:55'::timestamp) - extract(epoch from '2026-07-09 12:44:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5515 -2.816552)'), GeomFromEWKT('SRID=4674;POINT (-40.551615 -2.8167)'))) / (select extract(epoch from '2026-07-09 12:44:55'::timestamp) - extract(epoch from '2026-07-09 12:44: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'), 47635, 'SRID=4674;POINT (-40.551707 -2.81683)', '2026-07-09 12:45:01', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.551615 -2.8167)'), GeomFromEWKT('SRID=4674;POINT (-40.551707 -2.81683)'))) / (select extract(epoch from '2026-07-09 12:45:01'::timestamp) - extract(epoch from '2026-07-09 12:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.551615 -2.8167)'), GeomFromEWKT('SRID=4674;POINT (-40.551707 -2.81683)'))) / (select extract(epoch from '2026-07-09 12:45:01'::timestamp) - extract(epoch from '2026-07-09 12:44:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.551801 -2.817005)', '2026-07-09 12:45:08', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.551707 -2.81683)'), GeomFromEWKT('SRID=4674;POINT (-40.551801 -2.817005)'))) / (select extract(epoch from '2026-07-09 12:45:08'::timestamp) - extract(epoch from '2026-07-09 12:45:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.551707 -2.81683)'), GeomFromEWKT('SRID=4674;POINT (-40.551801 -2.817005)'))) / (select extract(epoch from '2026-07-09 12:45:08'::timestamp) - extract(epoch from '2026-07-09 12:45: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'), 47635, 'SRID=4674;POINT (-40.551872 -2.817126)', '2026-07-09 12:45:14', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.551801 -2.817005)'), GeomFromEWKT('SRID=4674;POINT (-40.551872 -2.817126)'))) / (select extract(epoch from '2026-07-09 12:45:14'::timestamp) - extract(epoch from '2026-07-09 12:45:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.551801 -2.817005)'), GeomFromEWKT('SRID=4674;POINT (-40.551872 -2.817126)'))) / (select extract(epoch from '2026-07-09 12:45:14'::timestamp) - extract(epoch from '2026-07-09 12:45: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'), 47635, 'SRID=4674;POINT (-40.551956 -2.81726)', '2026-07-09 12:45:20', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.551872 -2.817126)'), GeomFromEWKT('SRID=4674;POINT (-40.551956 -2.81726)'))) / (select extract(epoch from '2026-07-09 12:45:20'::timestamp) - extract(epoch from '2026-07-09 12:45:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.551872 -2.817126)'), GeomFromEWKT('SRID=4674;POINT (-40.551956 -2.81726)'))) / (select extract(epoch from '2026-07-09 12:45:20'::timestamp) - extract(epoch from '2026-07-09 12:45:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.552043 -2.817353)', '2026-07-09 12:45:25', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.551956 -2.81726)'), GeomFromEWKT('SRID=4674;POINT (-40.552043 -2.817353)'))) / (select extract(epoch from '2026-07-09 12:45:25'::timestamp) - extract(epoch from '2026-07-09 12:45:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.551956 -2.81726)'), GeomFromEWKT('SRID=4674;POINT (-40.552043 -2.817353)'))) / (select extract(epoch from '2026-07-09 12:45:25'::timestamp) - extract(epoch from '2026-07-09 12:45:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.552145 -2.817458)', '2026-07-09 12:45:31', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.552043 -2.817353)'), GeomFromEWKT('SRID=4674;POINT (-40.552145 -2.817458)'))) / (select extract(epoch from '2026-07-09 12:45:31'::timestamp) - extract(epoch from '2026-07-09 12:45:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.552043 -2.817353)'), GeomFromEWKT('SRID=4674;POINT (-40.552145 -2.817458)'))) / (select extract(epoch from '2026-07-09 12:45:31'::timestamp) - extract(epoch from '2026-07-09 12:45:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.552233 -2.817556)', '2026-07-09 12:45:36', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.552145 -2.817458)'), GeomFromEWKT('SRID=4674;POINT (-40.552233 -2.817556)'))) / (select extract(epoch from '2026-07-09 12:45:36'::timestamp) - extract(epoch from '2026-07-09 12:45:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.552145 -2.817458)'), GeomFromEWKT('SRID=4674;POINT (-40.552233 -2.817556)'))) / (select extract(epoch from '2026-07-09 12:45:36'::timestamp) - extract(epoch from '2026-07-09 12:45:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.552331 -2.817669)', '2026-07-09 12:45:42', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.552233 -2.817556)'), GeomFromEWKT('SRID=4674;POINT (-40.552331 -2.817669)'))) / (select extract(epoch from '2026-07-09 12:45:42'::timestamp) - extract(epoch from '2026-07-09 12:45:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.552233 -2.817556)'), GeomFromEWKT('SRID=4674;POINT (-40.552331 -2.817669)'))) / (select extract(epoch from '2026-07-09 12:45:42'::timestamp) - extract(epoch from '2026-07-09 12:45: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'), 47635, 'SRID=4674;POINT (-40.552439 -2.817793)', '2026-07-09 12:45:49', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.552331 -2.817669)'), GeomFromEWKT('SRID=4674;POINT (-40.552439 -2.817793)'))) / (select extract(epoch from '2026-07-09 12:45:49'::timestamp) - extract(epoch from '2026-07-09 12:45:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.552331 -2.817669)'), GeomFromEWKT('SRID=4674;POINT (-40.552439 -2.817793)'))) / (select extract(epoch from '2026-07-09 12:45:49'::timestamp) - extract(epoch from '2026-07-09 12:45: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'), 47635, 'SRID=4674;POINT (-40.552542 -2.817917)', '2026-07-09 12:45:55', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.552439 -2.817793)'), GeomFromEWKT('SRID=4674;POINT (-40.552542 -2.817917)'))) / (select extract(epoch from '2026-07-09 12:45:55'::timestamp) - extract(epoch from '2026-07-09 12:45:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.552439 -2.817793)'), GeomFromEWKT('SRID=4674;POINT (-40.552542 -2.817917)'))) / (select extract(epoch from '2026-07-09 12:45:55'::timestamp) - extract(epoch from '2026-07-09 12:45:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.552682 -2.818073)', '2026-07-09 12:46:03', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.552542 -2.817917)'), GeomFromEWKT('SRID=4674;POINT (-40.552682 -2.818073)'))) / (select extract(epoch from '2026-07-09 12:46:03'::timestamp) - extract(epoch from '2026-07-09 12:45:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.552542 -2.817917)'), GeomFromEWKT('SRID=4674;POINT (-40.552682 -2.818073)'))) / (select extract(epoch from '2026-07-09 12:46:03'::timestamp) - extract(epoch from '2026-07-09 12:45: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'), 47635, 'SRID=4674;POINT (-40.552798 -2.818212)', '2026-07-09 12:46:10', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.552682 -2.818073)'), GeomFromEWKT('SRID=4674;POINT (-40.552798 -2.818212)'))) / (select extract(epoch from '2026-07-09 12:46:10'::timestamp) - extract(epoch from '2026-07-09 12:46:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.552682 -2.818073)'), GeomFromEWKT('SRID=4674;POINT (-40.552798 -2.818212)'))) / (select extract(epoch from '2026-07-09 12:46:10'::timestamp) - extract(epoch from '2026-07-09 12:46: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'), 47635, 'SRID=4674;POINT (-40.552873 -2.818336)', '2026-07-09 12:46:16', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.552798 -2.818212)'), GeomFromEWKT('SRID=4674;POINT (-40.552873 -2.818336)'))) / (select extract(epoch from '2026-07-09 12:46:16'::timestamp) - extract(epoch from '2026-07-09 12:46:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.552798 -2.818212)'), GeomFromEWKT('SRID=4674;POINT (-40.552873 -2.818336)'))) / (select extract(epoch from '2026-07-09 12:46:16'::timestamp) - extract(epoch from '2026-07-09 12:46: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'), 47635, 'SRID=4674;POINT (-40.552949 -2.818461)', '2026-07-09 12:46:22', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.552873 -2.818336)'), GeomFromEWKT('SRID=4674;POINT (-40.552949 -2.818461)'))) / (select extract(epoch from '2026-07-09 12:46:22'::timestamp) - extract(epoch from '2026-07-09 12:46:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.552873 -2.818336)'), GeomFromEWKT('SRID=4674;POINT (-40.552949 -2.818461)'))) / (select extract(epoch from '2026-07-09 12:46:22'::timestamp) - extract(epoch from '2026-07-09 12:46: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'), 47635, 'SRID=4674;POINT (-40.553018 -2.818583)', '2026-07-09 12:46:28', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.552949 -2.818461)'), GeomFromEWKT('SRID=4674;POINT (-40.553018 -2.818583)'))) / (select extract(epoch from '2026-07-09 12:46:28'::timestamp) - extract(epoch from '2026-07-09 12:46:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.552949 -2.818461)'), GeomFromEWKT('SRID=4674;POINT (-40.553018 -2.818583)'))) / (select extract(epoch from '2026-07-09 12:46:28'::timestamp) - extract(epoch from '2026-07-09 12:46:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.553092 -2.818701)', '2026-07-09 12:46:34', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553018 -2.818583)'), GeomFromEWKT('SRID=4674;POINT (-40.553092 -2.818701)'))) / (select extract(epoch from '2026-07-09 12:46:34'::timestamp) - extract(epoch from '2026-07-09 12:46:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553018 -2.818583)'), GeomFromEWKT('SRID=4674;POINT (-40.553092 -2.818701)'))) / (select extract(epoch from '2026-07-09 12:46:34'::timestamp) - extract(epoch from '2026-07-09 12:46: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'), 47635, 'SRID=4674;POINT (-40.553178 -2.81883)', '2026-07-09 12:46:41', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553092 -2.818701)'), GeomFromEWKT('SRID=4674;POINT (-40.553178 -2.81883)'))) / (select extract(epoch from '2026-07-09 12:46:41'::timestamp) - extract(epoch from '2026-07-09 12:46:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553092 -2.818701)'), GeomFromEWKT('SRID=4674;POINT (-40.553178 -2.81883)'))) / (select extract(epoch from '2026-07-09 12:46:41'::timestamp) - extract(epoch from '2026-07-09 12:46: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'), 47635, 'SRID=4674;POINT (-40.553233 -2.818936)', '2026-07-09 12:46:48', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553178 -2.81883)'), GeomFromEWKT('SRID=4674;POINT (-40.553233 -2.818936)'))) / (select extract(epoch from '2026-07-09 12:46:48'::timestamp) - extract(epoch from '2026-07-09 12:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553178 -2.81883)'), GeomFromEWKT('SRID=4674;POINT (-40.553233 -2.818936)'))) / (select extract(epoch from '2026-07-09 12:46:48'::timestamp) - extract(epoch from '2026-07-09 12:46: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'), 47635, 'SRID=4674;POINT (-40.553292 -2.819049)', '2026-07-09 12:46:55', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553233 -2.818936)'), GeomFromEWKT('SRID=4674;POINT (-40.553292 -2.819049)'))) / (select extract(epoch from '2026-07-09 12:46:55'::timestamp) - extract(epoch from '2026-07-09 12:46:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553233 -2.818936)'), GeomFromEWKT('SRID=4674;POINT (-40.553292 -2.819049)'))) / (select extract(epoch from '2026-07-09 12:46:55'::timestamp) - extract(epoch from '2026-07-09 12:46: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'), 47635, 'SRID=4674;POINT (-40.553338 -2.819122)', '2026-07-09 12:47:01', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553292 -2.819049)'), GeomFromEWKT('SRID=4674;POINT (-40.553338 -2.819122)'))) / (select extract(epoch from '2026-07-09 12:47:01'::timestamp) - extract(epoch from '2026-07-09 12:46:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553292 -2.819049)'), GeomFromEWKT('SRID=4674;POINT (-40.553338 -2.819122)'))) / (select extract(epoch from '2026-07-09 12:47:01'::timestamp) - extract(epoch from '2026-07-09 12:46: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'), 47635, 'SRID=4674;POINT (-40.553407 -2.819221)', '2026-07-09 12:47:10', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553338 -2.819122)'), GeomFromEWKT('SRID=4674;POINT (-40.553407 -2.819221)'))) / (select extract(epoch from '2026-07-09 12:47:10'::timestamp) - extract(epoch from '2026-07-09 12:47:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553338 -2.819122)'), GeomFromEWKT('SRID=4674;POINT (-40.553407 -2.819221)'))) / (select extract(epoch from '2026-07-09 12:47:10'::timestamp) - extract(epoch from '2026-07-09 12:47: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'), 47635, 'SRID=4674;POINT (-40.553436 -2.819268)', '2026-07-09 12:47:14', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553407 -2.819221)'), GeomFromEWKT('SRID=4674;POINT (-40.553436 -2.819268)'))) / (select extract(epoch from '2026-07-09 12:47:14'::timestamp) - extract(epoch from '2026-07-09 12:47:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553407 -2.819221)'), GeomFromEWKT('SRID=4674;POINT (-40.553436 -2.819268)'))) / (select extract(epoch from '2026-07-09 12:47:14'::timestamp) - extract(epoch from '2026-07-09 12:47: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'), 47635, 'SRID=4674;POINT (-40.553485 -2.819327)', '2026-07-09 12:47:20', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553436 -2.819268)'), GeomFromEWKT('SRID=4674;POINT (-40.553485 -2.819327)'))) / (select extract(epoch from '2026-07-09 12:47:20'::timestamp) - extract(epoch from '2026-07-09 12:47:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553436 -2.819268)'), GeomFromEWKT('SRID=4674;POINT (-40.553485 -2.819327)'))) / (select extract(epoch from '2026-07-09 12:47:20'::timestamp) - extract(epoch from '2026-07-09 12:47: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'), 47635, 'SRID=4674;POINT (-40.553516 -2.819366)', '2026-07-09 12:47:23', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553485 -2.819327)'), GeomFromEWKT('SRID=4674;POINT (-40.553516 -2.819366)'))) / (select extract(epoch from '2026-07-09 12:47:23'::timestamp) - extract(epoch from '2026-07-09 12:47:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553485 -2.819327)'), GeomFromEWKT('SRID=4674;POINT (-40.553516 -2.819366)'))) / (select extract(epoch from '2026-07-09 12:47:23'::timestamp) - extract(epoch from '2026-07-09 12:47:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.553559 -2.819424)', '2026-07-09 12:47:28', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553516 -2.819366)'), GeomFromEWKT('SRID=4674;POINT (-40.553559 -2.819424)'))) / (select extract(epoch from '2026-07-09 12:47:28'::timestamp) - extract(epoch from '2026-07-09 12:47:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553516 -2.819366)'), GeomFromEWKT('SRID=4674;POINT (-40.553559 -2.819424)'))) / (select extract(epoch from '2026-07-09 12:47:28'::timestamp) - extract(epoch from '2026-07-09 12:47: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'), 47635, 'SRID=4674;POINT (-40.553614 -2.819505)', '2026-07-09 12:47:36', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553559 -2.819424)'), GeomFromEWKT('SRID=4674;POINT (-40.553614 -2.819505)'))) / (select extract(epoch from '2026-07-09 12:47:36'::timestamp) - extract(epoch from '2026-07-09 12:47:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553559 -2.819424)'), GeomFromEWKT('SRID=4674;POINT (-40.553614 -2.819505)'))) / (select extract(epoch from '2026-07-09 12:47:36'::timestamp) - extract(epoch from '2026-07-09 12:47: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'), 47635, 'SRID=4674;POINT (-40.553659 -2.819561)', '2026-07-09 12:47:41', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553614 -2.819505)'), GeomFromEWKT('SRID=4674;POINT (-40.553659 -2.819561)'))) / (select extract(epoch from '2026-07-09 12:47:41'::timestamp) - extract(epoch from '2026-07-09 12:47:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553614 -2.819505)'), GeomFromEWKT('SRID=4674;POINT (-40.553659 -2.819561)'))) / (select extract(epoch from '2026-07-09 12:47:41'::timestamp) - extract(epoch from '2026-07-09 12:47:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.553683 -2.819598)', '2026-07-09 12:47:45', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553659 -2.819561)'), GeomFromEWKT('SRID=4674;POINT (-40.553683 -2.819598)'))) / (select extract(epoch from '2026-07-09 12:47:45'::timestamp) - extract(epoch from '2026-07-09 12:47:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553659 -2.819561)'), GeomFromEWKT('SRID=4674;POINT (-40.553683 -2.819598)'))) / (select extract(epoch from '2026-07-09 12:47:45'::timestamp) - extract(epoch from '2026-07-09 12:47:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.553735 -2.819699)', '2026-07-09 12:47:53', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553683 -2.819598)'), GeomFromEWKT('SRID=4674;POINT (-40.553735 -2.819699)'))) / (select extract(epoch from '2026-07-09 12:47:53'::timestamp) - extract(epoch from '2026-07-09 12:47:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553683 -2.819598)'), GeomFromEWKT('SRID=4674;POINT (-40.553735 -2.819699)'))) / (select extract(epoch from '2026-07-09 12:47:53'::timestamp) - extract(epoch from '2026-07-09 12:47:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.55377 -2.819747)', '2026-07-09 12:47:58', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553735 -2.819699)'), GeomFromEWKT('SRID=4674;POINT (-40.55377 -2.819747)'))) / (select extract(epoch from '2026-07-09 12:47:58'::timestamp) - extract(epoch from '2026-07-09 12:47:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553735 -2.819699)'), GeomFromEWKT('SRID=4674;POINT (-40.55377 -2.819747)'))) / (select extract(epoch from '2026-07-09 12:47:58'::timestamp) - extract(epoch from '2026-07-09 12:47:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.553832 -2.819837)', '2026-07-09 12:48:06', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55377 -2.819747)'), GeomFromEWKT('SRID=4674;POINT (-40.553832 -2.819837)'))) / (select extract(epoch from '2026-07-09 12:48:06'::timestamp) - extract(epoch from '2026-07-09 12:47:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55377 -2.819747)'), GeomFromEWKT('SRID=4674;POINT (-40.553832 -2.819837)'))) / (select extract(epoch from '2026-07-09 12:48:06'::timestamp) - extract(epoch from '2026-07-09 12:47: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'), 47635, 'SRID=4674;POINT (-40.553866 -2.819882)', '2026-07-09 12:48:10', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553832 -2.819837)'), GeomFromEWKT('SRID=4674;POINT (-40.553866 -2.819882)'))) / (select extract(epoch from '2026-07-09 12:48:10'::timestamp) - extract(epoch from '2026-07-09 12:48:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553832 -2.819837)'), GeomFromEWKT('SRID=4674;POINT (-40.553866 -2.819882)'))) / (select extract(epoch from '2026-07-09 12:48:10'::timestamp) - extract(epoch from '2026-07-09 12:48: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'), 47635, 'SRID=4674;POINT (-40.553928 -2.81996)', '2026-07-09 12:48:17', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553866 -2.819882)'), GeomFromEWKT('SRID=4674;POINT (-40.553928 -2.81996)'))) / (select extract(epoch from '2026-07-09 12:48:17'::timestamp) - extract(epoch from '2026-07-09 12:48:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553866 -2.819882)'), GeomFromEWKT('SRID=4674;POINT (-40.553928 -2.81996)'))) / (select extract(epoch from '2026-07-09 12:48:17'::timestamp) - extract(epoch from '2026-07-09 12:48:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.553953 -2.819995)', '2026-07-09 12:48:21', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553928 -2.81996)'), GeomFromEWKT('SRID=4674;POINT (-40.553953 -2.819995)'))) / (select extract(epoch from '2026-07-09 12:48:21'::timestamp) - extract(epoch from '2026-07-09 12:48:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553928 -2.81996)'), GeomFromEWKT('SRID=4674;POINT (-40.553953 -2.819995)'))) / (select extract(epoch from '2026-07-09 12:48:21'::timestamp) - extract(epoch from '2026-07-09 12:48: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'), 47635, 'SRID=4674;POINT (-40.553987 -2.820062)', '2026-07-09 12:48:26', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553953 -2.819995)'), GeomFromEWKT('SRID=4674;POINT (-40.553987 -2.820062)'))) / (select extract(epoch from '2026-07-09 12:48:26'::timestamp) - extract(epoch from '2026-07-09 12:48:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553953 -2.819995)'), GeomFromEWKT('SRID=4674;POINT (-40.553987 -2.820062)'))) / (select extract(epoch from '2026-07-09 12:48:26'::timestamp) - extract(epoch from '2026-07-09 12:48: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'), 47635, 'SRID=4674;POINT (-40.55405 -2.820131)', '2026-07-09 12:48:33', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553987 -2.820062)'), GeomFromEWKT('SRID=4674;POINT (-40.55405 -2.820131)'))) / (select extract(epoch from '2026-07-09 12:48:33'::timestamp) - extract(epoch from '2026-07-09 12:48:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553987 -2.820062)'), GeomFromEWKT('SRID=4674;POINT (-40.55405 -2.820131)'))) / (select extract(epoch from '2026-07-09 12:48:33'::timestamp) - extract(epoch from '2026-07-09 12:48:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.554108 -2.820184)', '2026-07-09 12:48:39', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55405 -2.820131)'), GeomFromEWKT('SRID=4674;POINT (-40.554108 -2.820184)'))) / (select extract(epoch from '2026-07-09 12:48:39'::timestamp) - extract(epoch from '2026-07-09 12:48:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55405 -2.820131)'), GeomFromEWKT('SRID=4674;POINT (-40.554108 -2.820184)'))) / (select extract(epoch from '2026-07-09 12:48:39'::timestamp) - extract(epoch from '2026-07-09 12:48:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.554143 -2.820224)', '2026-07-09 12:48:43', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554108 -2.820184)'), GeomFromEWKT('SRID=4674;POINT (-40.554143 -2.820224)'))) / (select extract(epoch from '2026-07-09 12:48:43'::timestamp) - extract(epoch from '2026-07-09 12:48:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554108 -2.820184)'), GeomFromEWKT('SRID=4674;POINT (-40.554143 -2.820224)'))) / (select extract(epoch from '2026-07-09 12:48:43'::timestamp) - extract(epoch from '2026-07-09 12:48:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.554186 -2.820288)', '2026-07-09 12:48:49', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554143 -2.820224)'), GeomFromEWKT('SRID=4674;POINT (-40.554186 -2.820288)'))) / (select extract(epoch from '2026-07-09 12:48:49'::timestamp) - extract(epoch from '2026-07-09 12:48:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554143 -2.820224)'), GeomFromEWKT('SRID=4674;POINT (-40.554186 -2.820288)'))) / (select extract(epoch from '2026-07-09 12:48:49'::timestamp) - extract(epoch from '2026-07-09 12:48: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'), 47635, 'SRID=4674;POINT (-40.554241 -2.820388)', '2026-07-09 12:48:59', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554186 -2.820288)'), GeomFromEWKT('SRID=4674;POINT (-40.554241 -2.820388)'))) / (select extract(epoch from '2026-07-09 12:48:59'::timestamp) - extract(epoch from '2026-07-09 12:48:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554186 -2.820288)'), GeomFromEWKT('SRID=4674;POINT (-40.554241 -2.820388)'))) / (select extract(epoch from '2026-07-09 12:48:59'::timestamp) - extract(epoch from '2026-07-09 12:48:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.554286 -2.820451)', '2026-07-09 12:49:05', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554241 -2.820388)'), GeomFromEWKT('SRID=4674;POINT (-40.554286 -2.820451)'))) / (select extract(epoch from '2026-07-09 12:49:05'::timestamp) - extract(epoch from '2026-07-09 12:48:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554241 -2.820388)'), GeomFromEWKT('SRID=4674;POINT (-40.554286 -2.820451)'))) / (select extract(epoch from '2026-07-09 12:49:05'::timestamp) - extract(epoch from '2026-07-09 12:48:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.554322 -2.820497)', '2026-07-09 12:49:10', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554286 -2.820451)'), GeomFromEWKT('SRID=4674;POINT (-40.554322 -2.820497)'))) / (select extract(epoch from '2026-07-09 12:49:10'::timestamp) - extract(epoch from '2026-07-09 12:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554286 -2.820451)'), GeomFromEWKT('SRID=4674;POINT (-40.554322 -2.820497)'))) / (select extract(epoch from '2026-07-09 12:49:10'::timestamp) - extract(epoch from '2026-07-09 12:49: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'), 47635, 'SRID=4674;POINT (-40.55437 -2.820567)', '2026-07-09 12:49:17', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554322 -2.820497)'), GeomFromEWKT('SRID=4674;POINT (-40.55437 -2.820567)'))) / (select extract(epoch from '2026-07-09 12:49:17'::timestamp) - extract(epoch from '2026-07-09 12:49:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554322 -2.820497)'), GeomFromEWKT('SRID=4674;POINT (-40.55437 -2.820567)'))) / (select extract(epoch from '2026-07-09 12:49:17'::timestamp) - extract(epoch from '2026-07-09 12:49:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.554411 -2.820638)', '2026-07-09 12:49:25', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55437 -2.820567)'), GeomFromEWKT('SRID=4674;POINT (-40.554411 -2.820638)'))) / (select extract(epoch from '2026-07-09 12:49:25'::timestamp) - extract(epoch from '2026-07-09 12:49:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55437 -2.820567)'), GeomFromEWKT('SRID=4674;POINT (-40.554411 -2.820638)'))) / (select extract(epoch from '2026-07-09 12:49:25'::timestamp) - extract(epoch from '2026-07-09 12:49:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.554439 -2.820692)', '2026-07-09 12:49:31', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554411 -2.820638)'), GeomFromEWKT('SRID=4674;POINT (-40.554439 -2.820692)'))) / (select extract(epoch from '2026-07-09 12:49:31'::timestamp) - extract(epoch from '2026-07-09 12:49:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554411 -2.820638)'), GeomFromEWKT('SRID=4674;POINT (-40.554439 -2.820692)'))) / (select extract(epoch from '2026-07-09 12:49:31'::timestamp) - extract(epoch from '2026-07-09 12:49: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'), 47635, 'SRID=4674;POINT (-40.554486 -2.820757)', '2026-07-09 12:49:39', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554439 -2.820692)'), GeomFromEWKT('SRID=4674;POINT (-40.554486 -2.820757)'))) / (select extract(epoch from '2026-07-09 12:49:39'::timestamp) - extract(epoch from '2026-07-09 12:49:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554439 -2.820692)'), GeomFromEWKT('SRID=4674;POINT (-40.554486 -2.820757)'))) / (select extract(epoch from '2026-07-09 12:49:39'::timestamp) - extract(epoch from '2026-07-09 12:49: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'), 47635, 'SRID=4674;POINT (-40.55454 -2.820813)', '2026-07-09 12:49:46', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554486 -2.820757)'), GeomFromEWKT('SRID=4674;POINT (-40.55454 -2.820813)'))) / (select extract(epoch from '2026-07-09 12:49:46'::timestamp) - extract(epoch from '2026-07-09 12:49:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554486 -2.820757)'), GeomFromEWKT('SRID=4674;POINT (-40.55454 -2.820813)'))) / (select extract(epoch from '2026-07-09 12:49:46'::timestamp) - extract(epoch from '2026-07-09 12:49:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.554598 -2.820882)', '2026-07-09 12:49:54', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55454 -2.820813)'), GeomFromEWKT('SRID=4674;POINT (-40.554598 -2.820882)'))) / (select extract(epoch from '2026-07-09 12:49:54'::timestamp) - extract(epoch from '2026-07-09 12:49:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55454 -2.820813)'), GeomFromEWKT('SRID=4674;POINT (-40.554598 -2.820882)'))) / (select extract(epoch from '2026-07-09 12:49:54'::timestamp) - extract(epoch from '2026-07-09 12:49:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.554638 -2.820927)', '2026-07-09 12:50:00', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554598 -2.820882)'), GeomFromEWKT('SRID=4674;POINT (-40.554638 -2.820927)'))) / (select extract(epoch from '2026-07-09 12:50:00'::timestamp) - extract(epoch from '2026-07-09 12:49:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554598 -2.820882)'), GeomFromEWKT('SRID=4674;POINT (-40.554638 -2.820927)'))) / (select extract(epoch from '2026-07-09 12:50:00'::timestamp) - extract(epoch from '2026-07-09 12:49: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'), 47635, 'SRID=4674;POINT (-40.554672 -2.820979)', '2026-07-09 12:50:05', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554638 -2.820927)'), GeomFromEWKT('SRID=4674;POINT (-40.554672 -2.820979)'))) / (select extract(epoch from '2026-07-09 12:50:05'::timestamp) - extract(epoch from '2026-07-09 12:50:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554638 -2.820927)'), GeomFromEWKT('SRID=4674;POINT (-40.554672 -2.820979)'))) / (select extract(epoch from '2026-07-09 12:50:05'::timestamp) - extract(epoch from '2026-07-09 12:50:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.5547 -2.820999)', '2026-07-09 12:50:08', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554672 -2.820979)'), GeomFromEWKT('SRID=4674;POINT (-40.5547 -2.820999)'))) / (select extract(epoch from '2026-07-09 12:50:08'::timestamp) - extract(epoch from '2026-07-09 12:50:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554672 -2.820979)'), GeomFromEWKT('SRID=4674;POINT (-40.5547 -2.820999)'))) / (select extract(epoch from '2026-07-09 12:50:08'::timestamp) - extract(epoch from '2026-07-09 12:50:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.554723 -2.821022)', '2026-07-09 12:50:10', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5547 -2.820999)'), GeomFromEWKT('SRID=4674;POINT (-40.554723 -2.821022)'))) / (select extract(epoch from '2026-07-09 12:50:10'::timestamp) - extract(epoch from '2026-07-09 12:50:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5547 -2.820999)'), GeomFromEWKT('SRID=4674;POINT (-40.554723 -2.821022)'))) / (select extract(epoch from '2026-07-09 12:50:10'::timestamp) - extract(epoch from '2026-07-09 12:50:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.554779 -2.821066)', '2026-07-09 12:50:16', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554723 -2.821022)'), GeomFromEWKT('SRID=4674;POINT (-40.554779 -2.821066)'))) / (select extract(epoch from '2026-07-09 12:50:16'::timestamp) - extract(epoch from '2026-07-09 12:50:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554723 -2.821022)'), GeomFromEWKT('SRID=4674;POINT (-40.554779 -2.821066)'))) / (select extract(epoch from '2026-07-09 12:50:16'::timestamp) - extract(epoch from '2026-07-09 12:50:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.554824 -2.821115)', '2026-07-09 12:50:21', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554779 -2.821066)'), GeomFromEWKT('SRID=4674;POINT (-40.554824 -2.821115)'))) / (select extract(epoch from '2026-07-09 12:50:21'::timestamp) - extract(epoch from '2026-07-09 12:50:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554779 -2.821066)'), GeomFromEWKT('SRID=4674;POINT (-40.554824 -2.821115)'))) / (select extract(epoch from '2026-07-09 12:50:21'::timestamp) - extract(epoch from '2026-07-09 12:50: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'), 47635, 'SRID=4674;POINT (-40.554852 -2.821136)', '2026-07-09 12:50:24', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554824 -2.821115)'), GeomFromEWKT('SRID=4674;POINT (-40.554852 -2.821136)'))) / (select extract(epoch from '2026-07-09 12:50:24'::timestamp) - extract(epoch from '2026-07-09 12:50:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554824 -2.821115)'), GeomFromEWKT('SRID=4674;POINT (-40.554852 -2.821136)'))) / (select extract(epoch from '2026-07-09 12:50:24'::timestamp) - extract(epoch from '2026-07-09 12:50: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'), 47635, 'SRID=4674;POINT (-40.554863 -2.821144)', '2026-07-09 12:50:25', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554852 -2.821136)'), GeomFromEWKT('SRID=4674;POINT (-40.554863 -2.821144)'))) / (select extract(epoch from '2026-07-09 12:50:25'::timestamp) - extract(epoch from '2026-07-09 12:50:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554852 -2.821136)'), GeomFromEWKT('SRID=4674;POINT (-40.554863 -2.821144)'))) / (select extract(epoch from '2026-07-09 12:50:25'::timestamp) - extract(epoch from '2026-07-09 12:50:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.554939 -2.821184)', '2026-07-09 12:50:32', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554863 -2.821144)'), GeomFromEWKT('SRID=4674;POINT (-40.554939 -2.821184)'))) / (select extract(epoch from '2026-07-09 12:50:32'::timestamp) - extract(epoch from '2026-07-09 12:50:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554863 -2.821144)'), GeomFromEWKT('SRID=4674;POINT (-40.554939 -2.821184)'))) / (select extract(epoch from '2026-07-09 12:50:32'::timestamp) - extract(epoch from '2026-07-09 12:50: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'), 47635, 'SRID=4674;POINT (-40.554996 -2.821216)', '2026-07-09 12:50:37', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554939 -2.821184)'), GeomFromEWKT('SRID=4674;POINT (-40.554996 -2.821216)'))) / (select extract(epoch from '2026-07-09 12:50:37'::timestamp) - extract(epoch from '2026-07-09 12:50:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554939 -2.821184)'), GeomFromEWKT('SRID=4674;POINT (-40.554996 -2.821216)'))) / (select extract(epoch from '2026-07-09 12:50:37'::timestamp) - extract(epoch from '2026-07-09 12:50: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'), 47635, 'SRID=4674;POINT (-40.555052 -2.821243)', '2026-07-09 12:50:42', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554996 -2.821216)'), GeomFromEWKT('SRID=4674;POINT (-40.555052 -2.821243)'))) / (select extract(epoch from '2026-07-09 12:50:42'::timestamp) - extract(epoch from '2026-07-09 12:50:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554996 -2.821216)'), GeomFromEWKT('SRID=4674;POINT (-40.555052 -2.821243)'))) / (select extract(epoch from '2026-07-09 12:50:42'::timestamp) - extract(epoch from '2026-07-09 12:50:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.555103 -2.821285)', '2026-07-09 12:50:48', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555052 -2.821243)'), GeomFromEWKT('SRID=4674;POINT (-40.555103 -2.821285)'))) / (select extract(epoch from '2026-07-09 12:50:48'::timestamp) - extract(epoch from '2026-07-09 12:50:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555052 -2.821243)'), GeomFromEWKT('SRID=4674;POINT (-40.555103 -2.821285)'))) / (select extract(epoch from '2026-07-09 12:50:48'::timestamp) - extract(epoch from '2026-07-09 12:50: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'), 47635, 'SRID=4674;POINT (-40.555139 -2.821318)', '2026-07-09 12:50:53', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555103 -2.821285)'), GeomFromEWKT('SRID=4674;POINT (-40.555139 -2.821318)'))) / (select extract(epoch from '2026-07-09 12:50:53'::timestamp) - extract(epoch from '2026-07-09 12:50:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555103 -2.821285)'), GeomFromEWKT('SRID=4674;POINT (-40.555139 -2.821318)'))) / (select extract(epoch from '2026-07-09 12:50:53'::timestamp) - extract(epoch from '2026-07-09 12:50: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'), 47635, 'SRID=4674;POINT (-40.555166 -2.821349)', '2026-07-09 12:50:58', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555139 -2.821318)'), GeomFromEWKT('SRID=4674;POINT (-40.555166 -2.821349)'))) / (select extract(epoch from '2026-07-09 12:50:58'::timestamp) - extract(epoch from '2026-07-09 12:50:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555139 -2.821318)'), GeomFromEWKT('SRID=4674;POINT (-40.555166 -2.821349)'))) / (select extract(epoch from '2026-07-09 12:50:58'::timestamp) - extract(epoch from '2026-07-09 12:50: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'), 47635, 'SRID=4674;POINT (-40.5552 -2.821385)', '2026-07-09 12:51:06', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555166 -2.821349)'), GeomFromEWKT('SRID=4674;POINT (-40.5552 -2.821385)'))) / (select extract(epoch from '2026-07-09 12:51:06'::timestamp) - extract(epoch from '2026-07-09 12:50:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555166 -2.821349)'), GeomFromEWKT('SRID=4674;POINT (-40.5552 -2.821385)'))) / (select extract(epoch from '2026-07-09 12:51:06'::timestamp) - extract(epoch from '2026-07-09 12:50: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'), 47635, 'SRID=4674;POINT (-40.555219 -2.821401)', '2026-07-09 12:51:10', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5552 -2.821385)'), GeomFromEWKT('SRID=4674;POINT (-40.555219 -2.821401)'))) / (select extract(epoch from '2026-07-09 12:51:10'::timestamp) - extract(epoch from '2026-07-09 12:51:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5552 -2.821385)'), GeomFromEWKT('SRID=4674;POINT (-40.555219 -2.821401)'))) / (select extract(epoch from '2026-07-09 12:51:10'::timestamp) - extract(epoch from '2026-07-09 12:51: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'), 47635, 'SRID=4674;POINT (-40.555251 -2.821426)', '2026-07-09 12:51:17', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555219 -2.821401)'), GeomFromEWKT('SRID=4674;POINT (-40.555251 -2.821426)'))) / (select extract(epoch from '2026-07-09 12:51:17'::timestamp) - extract(epoch from '2026-07-09 12:51:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555219 -2.821401)'), GeomFromEWKT('SRID=4674;POINT (-40.555251 -2.821426)'))) / (select extract(epoch from '2026-07-09 12:51:17'::timestamp) - extract(epoch from '2026-07-09 12:51:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.555291 -2.821451)', '2026-07-09 12:51:25', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555251 -2.821426)'), GeomFromEWKT('SRID=4674;POINT (-40.555291 -2.821451)'))) / (select extract(epoch from '2026-07-09 12:51:25'::timestamp) - extract(epoch from '2026-07-09 12:51:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555251 -2.821426)'), GeomFromEWKT('SRID=4674;POINT (-40.555291 -2.821451)'))) / (select extract(epoch from '2026-07-09 12:51:25'::timestamp) - extract(epoch from '2026-07-09 12:51: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'), 47635, 'SRID=4674;POINT (-40.555318 -2.82147)', '2026-07-09 12:51:31', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555291 -2.821451)'), GeomFromEWKT('SRID=4674;POINT (-40.555318 -2.82147)'))) / (select extract(epoch from '2026-07-09 12:51:31'::timestamp) - extract(epoch from '2026-07-09 12:51:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555291 -2.821451)'), GeomFromEWKT('SRID=4674;POINT (-40.555318 -2.82147)'))) / (select extract(epoch from '2026-07-09 12:51:31'::timestamp) - extract(epoch from '2026-07-09 12:51:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.555344 -2.821487)', '2026-07-09 12:51:35', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555318 -2.82147)'), GeomFromEWKT('SRID=4674;POINT (-40.555344 -2.821487)'))) / (select extract(epoch from '2026-07-09 12:51:35'::timestamp) - extract(epoch from '2026-07-09 12:51:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555318 -2.82147)'), GeomFromEWKT('SRID=4674;POINT (-40.555344 -2.821487)'))) / (select extract(epoch from '2026-07-09 12:51:35'::timestamp) - extract(epoch from '2026-07-09 12:51:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.555374 -2.821508)', '2026-07-09 12:51:41', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555344 -2.821487)'), GeomFromEWKT('SRID=4674;POINT (-40.555374 -2.821508)'))) / (select extract(epoch from '2026-07-09 12:51:41'::timestamp) - extract(epoch from '2026-07-09 12:51:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555344 -2.821487)'), GeomFromEWKT('SRID=4674;POINT (-40.555374 -2.821508)'))) / (select extract(epoch from '2026-07-09 12:51:41'::timestamp) - extract(epoch from '2026-07-09 12:51:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.555402 -2.821532)', '2026-07-09 12:51:47', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555374 -2.821508)'), GeomFromEWKT('SRID=4674;POINT (-40.555402 -2.821532)'))) / (select extract(epoch from '2026-07-09 12:51:47'::timestamp) - extract(epoch from '2026-07-09 12:51:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555374 -2.821508)'), GeomFromEWKT('SRID=4674;POINT (-40.555402 -2.821532)'))) / (select extract(epoch from '2026-07-09 12:51:47'::timestamp) - extract(epoch from '2026-07-09 12:51: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'), 47635, 'SRID=4674;POINT (-40.55543 -2.82155)', '2026-07-09 12:51:53', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555402 -2.821532)'), GeomFromEWKT('SRID=4674;POINT (-40.55543 -2.82155)'))) / (select extract(epoch from '2026-07-09 12:51:53'::timestamp) - extract(epoch from '2026-07-09 12:51:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555402 -2.821532)'), GeomFromEWKT('SRID=4674;POINT (-40.55543 -2.82155)'))) / (select extract(epoch from '2026-07-09 12:51:53'::timestamp) - extract(epoch from '2026-07-09 12:51: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'), 47635, 'SRID=4674;POINT (-40.555465 -2.821567)', '2026-07-09 12:52:00', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55543 -2.82155)'), GeomFromEWKT('SRID=4674;POINT (-40.555465 -2.821567)'))) / (select extract(epoch from '2026-07-09 12:52:00'::timestamp) - extract(epoch from '2026-07-09 12:51:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55543 -2.82155)'), GeomFromEWKT('SRID=4674;POINT (-40.555465 -2.821567)'))) / (select extract(epoch from '2026-07-09 12:52:00'::timestamp) - extract(epoch from '2026-07-09 12:51: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'), 47635, 'SRID=4674;POINT (-40.555476 -2.821575)', '2026-07-09 12:52:02', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555465 -2.821567)'), GeomFromEWKT('SRID=4674;POINT (-40.555476 -2.821575)'))) / (select extract(epoch from '2026-07-09 12:52:02'::timestamp) - extract(epoch from '2026-07-09 12:52:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555465 -2.821567)'), GeomFromEWKT('SRID=4674;POINT (-40.555476 -2.821575)'))) / (select extract(epoch from '2026-07-09 12:52:02'::timestamp) - extract(epoch from '2026-07-09 12:52: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'), 47635, 'SRID=4674;POINT (-40.555493 -2.821587)', '2026-07-09 12:52:05', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555476 -2.821575)'), GeomFromEWKT('SRID=4674;POINT (-40.555493 -2.821587)'))) / (select extract(epoch from '2026-07-09 12:52:05'::timestamp) - extract(epoch from '2026-07-09 12:52:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555476 -2.821575)'), GeomFromEWKT('SRID=4674;POINT (-40.555493 -2.821587)'))) / (select extract(epoch from '2026-07-09 12:52:05'::timestamp) - extract(epoch from '2026-07-09 12:52: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'), 47635, 'SRID=4674;POINT (-40.55552 -2.821597)', '2026-07-09 12:52:10', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555493 -2.821587)'), GeomFromEWKT('SRID=4674;POINT (-40.55552 -2.821597)'))) / (select extract(epoch from '2026-07-09 12:52:10'::timestamp) - extract(epoch from '2026-07-09 12:52:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555493 -2.821587)'), GeomFromEWKT('SRID=4674;POINT (-40.55552 -2.821597)'))) / (select extract(epoch from '2026-07-09 12:52:10'::timestamp) - extract(epoch from '2026-07-09 12:52: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'), 47635, 'SRID=4674;POINT (-40.55553 -2.821608)', '2026-07-09 12:52:12', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55552 -2.821597)'), GeomFromEWKT('SRID=4674;POINT (-40.55553 -2.821608)'))) / (select extract(epoch from '2026-07-09 12:52:12'::timestamp) - extract(epoch from '2026-07-09 12:52:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55552 -2.821597)'), GeomFromEWKT('SRID=4674;POINT (-40.55553 -2.821608)'))) / (select extract(epoch from '2026-07-09 12:52:12'::timestamp) - extract(epoch from '2026-07-09 12:52: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'), 47635, 'SRID=4674;POINT (-40.555568 -2.821624)', '2026-07-09 12:52:20', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55553 -2.821608)'), GeomFromEWKT('SRID=4674;POINT (-40.555568 -2.821624)'))) / (select extract(epoch from '2026-07-09 12:52:20'::timestamp) - extract(epoch from '2026-07-09 12:52:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55553 -2.821608)'), GeomFromEWKT('SRID=4674;POINT (-40.555568 -2.821624)'))) / (select extract(epoch from '2026-07-09 12:52:20'::timestamp) - extract(epoch from '2026-07-09 12:52: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'), 47635, 'SRID=4674;POINT (-40.555602 -2.821641)', '2026-07-09 12:52:27', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555568 -2.821624)'), GeomFromEWKT('SRID=4674;POINT (-40.555602 -2.821641)'))) / (select extract(epoch from '2026-07-09 12:52:27'::timestamp) - extract(epoch from '2026-07-09 12:52:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555568 -2.821624)'), GeomFromEWKT('SRID=4674;POINT (-40.555602 -2.821641)'))) / (select extract(epoch from '2026-07-09 12:52:27'::timestamp) - extract(epoch from '2026-07-09 12:52: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'), 47635, 'SRID=4674;POINT (-40.555632 -2.821664)', '2026-07-09 12:52:33', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555602 -2.821641)'), GeomFromEWKT('SRID=4674;POINT (-40.555632 -2.821664)'))) / (select extract(epoch from '2026-07-09 12:52:33'::timestamp) - extract(epoch from '2026-07-09 12:52:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555602 -2.821641)'), GeomFromEWKT('SRID=4674;POINT (-40.555632 -2.821664)'))) / (select extract(epoch from '2026-07-09 12:52:33'::timestamp) - extract(epoch from '2026-07-09 12:52: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'), 47635, 'SRID=4674;POINT (-40.555654 -2.821684)', '2026-07-09 12:52:38', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555632 -2.821664)'), GeomFromEWKT('SRID=4674;POINT (-40.555654 -2.821684)'))) / (select extract(epoch from '2026-07-09 12:52:38'::timestamp) - extract(epoch from '2026-07-09 12:52:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555632 -2.821664)'), GeomFromEWKT('SRID=4674;POINT (-40.555654 -2.821684)'))) / (select extract(epoch from '2026-07-09 12:52:38'::timestamp) - extract(epoch from '2026-07-09 12:52: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'), 47635, 'SRID=4674;POINT (-40.555693 -2.821707)', '2026-07-09 12:52:46', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555654 -2.821684)'), GeomFromEWKT('SRID=4674;POINT (-40.555693 -2.821707)'))) / (select extract(epoch from '2026-07-09 12:52:46'::timestamp) - extract(epoch from '2026-07-09 12:52:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555654 -2.821684)'), GeomFromEWKT('SRID=4674;POINT (-40.555693 -2.821707)'))) / (select extract(epoch from '2026-07-09 12:52:46'::timestamp) - extract(epoch from '2026-07-09 12:52: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'), 47635, 'SRID=4674;POINT (-40.555734 -2.821728)', '2026-07-09 12:52:54', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555693 -2.821707)'), GeomFromEWKT('SRID=4674;POINT (-40.555734 -2.821728)'))) / (select extract(epoch from '2026-07-09 12:52:54'::timestamp) - extract(epoch from '2026-07-09 12:52:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555693 -2.821707)'), GeomFromEWKT('SRID=4674;POINT (-40.555734 -2.821728)'))) / (select extract(epoch from '2026-07-09 12:52:54'::timestamp) - extract(epoch from '2026-07-09 12:52: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'), 47635, 'SRID=4674;POINT (-40.555769 -2.821753)', '2026-07-09 12:53:01', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555734 -2.821728)'), GeomFromEWKT('SRID=4674;POINT (-40.555769 -2.821753)'))) / (select extract(epoch from '2026-07-09 12:53:01'::timestamp) - extract(epoch from '2026-07-09 12:52:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555734 -2.821728)'), GeomFromEWKT('SRID=4674;POINT (-40.555769 -2.821753)'))) / (select extract(epoch from '2026-07-09 12:53:01'::timestamp) - extract(epoch from '2026-07-09 12:52: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'), 47635, 'SRID=4674;POINT (-40.555798 -2.821781)', '2026-07-09 12:53:09', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555769 -2.821753)'), GeomFromEWKT('SRID=4674;POINT (-40.555798 -2.821781)'))) / (select extract(epoch from '2026-07-09 12:53:09'::timestamp) - extract(epoch from '2026-07-09 12:53:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555769 -2.821753)'), GeomFromEWKT('SRID=4674;POINT (-40.555798 -2.821781)'))) / (select extract(epoch from '2026-07-09 12:53:09'::timestamp) - extract(epoch from '2026-07-09 12:53: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'), 47635, 'SRID=4674;POINT (-40.555829 -2.821805)', '2026-07-09 12:53:16', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555798 -2.821781)'), GeomFromEWKT('SRID=4674;POINT (-40.555829 -2.821805)'))) / (select extract(epoch from '2026-07-09 12:53:16'::timestamp) - extract(epoch from '2026-07-09 12:53:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555798 -2.821781)'), GeomFromEWKT('SRID=4674;POINT (-40.555829 -2.821805)'))) / (select extract(epoch from '2026-07-09 12:53:16'::timestamp) - extract(epoch from '2026-07-09 12:53: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'), 47635, 'SRID=4674;POINT (-40.555852 -2.821827)', '2026-07-09 12:53:22', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555829 -2.821805)'), GeomFromEWKT('SRID=4674;POINT (-40.555852 -2.821827)'))) / (select extract(epoch from '2026-07-09 12:53:22'::timestamp) - extract(epoch from '2026-07-09 12:53:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555829 -2.821805)'), GeomFromEWKT('SRID=4674;POINT (-40.555852 -2.821827)'))) / (select extract(epoch from '2026-07-09 12:53:22'::timestamp) - extract(epoch from '2026-07-09 12:53: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'), 47635, 'SRID=4674;POINT (-40.555896 -2.821856)', '2026-07-09 12:53:30', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555852 -2.821827)'), GeomFromEWKT('SRID=4674;POINT (-40.555896 -2.821856)'))) / (select extract(epoch from '2026-07-09 12:53:30'::timestamp) - extract(epoch from '2026-07-09 12:53:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555852 -2.821827)'), GeomFromEWKT('SRID=4674;POINT (-40.555896 -2.821856)'))) / (select extract(epoch from '2026-07-09 12:53:30'::timestamp) - extract(epoch from '2026-07-09 12:53: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'), 47635, 'SRID=4674;POINT (-40.555946 -2.821886)', '2026-07-09 12:53:38', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555896 -2.821856)'), GeomFromEWKT('SRID=4674;POINT (-40.555946 -2.821886)'))) / (select extract(epoch from '2026-07-09 12:53:38'::timestamp) - extract(epoch from '2026-07-09 12:53:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555896 -2.821856)'), GeomFromEWKT('SRID=4674;POINT (-40.555946 -2.821886)'))) / (select extract(epoch from '2026-07-09 12:53:38'::timestamp) - extract(epoch from '2026-07-09 12:53: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'), 47635, 'SRID=4674;POINT (-40.55601 -2.821913)', '2026-07-09 12:53:45', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555946 -2.821886)'), GeomFromEWKT('SRID=4674;POINT (-40.55601 -2.821913)'))) / (select extract(epoch from '2026-07-09 12:53:45'::timestamp) - extract(epoch from '2026-07-09 12:53:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555946 -2.821886)'), GeomFromEWKT('SRID=4674;POINT (-40.55601 -2.821913)'))) / (select extract(epoch from '2026-07-09 12:53:45'::timestamp) - extract(epoch from '2026-07-09 12:53: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'), 47635, 'SRID=4674;POINT (-40.556051 -2.821914)', '2026-07-09 12:53:49', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55601 -2.821913)'), GeomFromEWKT('SRID=4674;POINT (-40.556051 -2.821914)'))) / (select extract(epoch from '2026-07-09 12:53:49'::timestamp) - extract(epoch from '2026-07-09 12:53:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55601 -2.821913)'), GeomFromEWKT('SRID=4674;POINT (-40.556051 -2.821914)'))) / (select extract(epoch from '2026-07-09 12:53:49'::timestamp) - extract(epoch from '2026-07-09 12:53: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'), 47635, 'SRID=4674;POINT (-40.55607 -2.821908)', '2026-07-09 12:53:51', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556051 -2.821914)'), GeomFromEWKT('SRID=4674;POINT (-40.55607 -2.821908)'))) / (select extract(epoch from '2026-07-09 12:53:51'::timestamp) - extract(epoch from '2026-07-09 12:53:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556051 -2.821914)'), GeomFromEWKT('SRID=4674;POINT (-40.55607 -2.821908)'))) / (select extract(epoch from '2026-07-09 12:53:51'::timestamp) - extract(epoch from '2026-07-09 12:53: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'), 47635, 'SRID=4674;POINT (-40.556121 -2.821908)', '2026-07-09 12:53:57', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55607 -2.821908)'), GeomFromEWKT('SRID=4674;POINT (-40.556121 -2.821908)'))) / (select extract(epoch from '2026-07-09 12:53:57'::timestamp) - extract(epoch from '2026-07-09 12:53:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55607 -2.821908)'), GeomFromEWKT('SRID=4674;POINT (-40.556121 -2.821908)'))) / (select extract(epoch from '2026-07-09 12:53:57'::timestamp) - extract(epoch from '2026-07-09 12:53: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'), 47635, 'SRID=4674;POINT (-40.556163 -2.821906)', '2026-07-09 12:54:03', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556121 -2.821908)'), GeomFromEWKT('SRID=4674;POINT (-40.556163 -2.821906)'))) / (select extract(epoch from '2026-07-09 12:54:03'::timestamp) - extract(epoch from '2026-07-09 12:53:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556121 -2.821908)'), GeomFromEWKT('SRID=4674;POINT (-40.556163 -2.821906)'))) / (select extract(epoch from '2026-07-09 12:54:03'::timestamp) - extract(epoch from '2026-07-09 12:53: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'), 47635, 'SRID=4674;POINT (-40.556201 -2.821904)', '2026-07-09 12:54:09', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556163 -2.821906)'), GeomFromEWKT('SRID=4674;POINT (-40.556201 -2.821904)'))) / (select extract(epoch from '2026-07-09 12:54:09'::timestamp) - extract(epoch from '2026-07-09 12:54:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556163 -2.821906)'), GeomFromEWKT('SRID=4674;POINT (-40.556201 -2.821904)'))) / (select extract(epoch from '2026-07-09 12:54:09'::timestamp) - extract(epoch from '2026-07-09 12:54: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'), 47635, 'SRID=4674;POINT (-40.556209 -2.821906)', '2026-07-09 12:54:10', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556201 -2.821904)'), GeomFromEWKT('SRID=4674;POINT (-40.556209 -2.821906)'))) / (select extract(epoch from '2026-07-09 12:54:10'::timestamp) - extract(epoch from '2026-07-09 12:54:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556201 -2.821904)'), GeomFromEWKT('SRID=4674;POINT (-40.556209 -2.821906)'))) / (select extract(epoch from '2026-07-09 12:54:10'::timestamp) - extract(epoch from '2026-07-09 12:54: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'), 47635, 'SRID=4674;POINT (-40.556248 -2.821913)', '2026-07-09 12:54:16', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556209 -2.821906)'), GeomFromEWKT('SRID=4674;POINT (-40.556248 -2.821913)'))) / (select extract(epoch from '2026-07-09 12:54:16'::timestamp) - extract(epoch from '2026-07-09 12:54:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556209 -2.821906)'), GeomFromEWKT('SRID=4674;POINT (-40.556248 -2.821913)'))) / (select extract(epoch from '2026-07-09 12:54:16'::timestamp) - extract(epoch from '2026-07-09 12:54: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'), 47635, 'SRID=4674;POINT (-40.556297 -2.821921)', '2026-07-09 12:54:24', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556248 -2.821913)'), GeomFromEWKT('SRID=4674;POINT (-40.556297 -2.821921)'))) / (select extract(epoch from '2026-07-09 12:54:24'::timestamp) - extract(epoch from '2026-07-09 12:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556248 -2.821913)'), GeomFromEWKT('SRID=4674;POINT (-40.556297 -2.821921)'))) / (select extract(epoch from '2026-07-09 12:54:24'::timestamp) - extract(epoch from '2026-07-09 12:54: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'), 47635, 'SRID=4674;POINT (-40.556309 -2.82192)', '2026-07-09 12:54:26', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556297 -2.821921)'), GeomFromEWKT('SRID=4674;POINT (-40.556309 -2.82192)'))) / (select extract(epoch from '2026-07-09 12:54:26'::timestamp) - extract(epoch from '2026-07-09 12:54:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556297 -2.821921)'), GeomFromEWKT('SRID=4674;POINT (-40.556309 -2.82192)'))) / (select extract(epoch from '2026-07-09 12:54:26'::timestamp) - extract(epoch from '2026-07-09 12:54: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'), 47635, 'SRID=4674;POINT (-40.556329 -2.821928)', '2026-07-09 12:54:30', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556309 -2.82192)'), GeomFromEWKT('SRID=4674;POINT (-40.556329 -2.821928)'))) / (select extract(epoch from '2026-07-09 12:54:30'::timestamp) - extract(epoch from '2026-07-09 12:54:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556309 -2.82192)'), GeomFromEWKT('SRID=4674;POINT (-40.556329 -2.821928)'))) / (select extract(epoch from '2026-07-09 12:54:30'::timestamp) - extract(epoch from '2026-07-09 12:54: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'), 47635, 'SRID=4674;POINT (-40.556368 -2.821934)', '2026-07-09 12:54:38', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556329 -2.821928)'), GeomFromEWKT('SRID=4674;POINT (-40.556368 -2.821934)'))) / (select extract(epoch from '2026-07-09 12:54:38'::timestamp) - extract(epoch from '2026-07-09 12:54:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556329 -2.821928)'), GeomFromEWKT('SRID=4674;POINT (-40.556368 -2.821934)'))) / (select extract(epoch from '2026-07-09 12:54:38'::timestamp) - extract(epoch from '2026-07-09 12:54: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'), 47635, 'SRID=4674;POINT (-40.556403 -2.821938)', '2026-07-09 12:54:45', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556368 -2.821934)'), GeomFromEWKT('SRID=4674;POINT (-40.556403 -2.821938)'))) / (select extract(epoch from '2026-07-09 12:54:45'::timestamp) - extract(epoch from '2026-07-09 12:54:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556368 -2.821934)'), GeomFromEWKT('SRID=4674;POINT (-40.556403 -2.821938)'))) / (select extract(epoch from '2026-07-09 12:54:45'::timestamp) - extract(epoch from '2026-07-09 12:54: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'), 47635, 'SRID=4674;POINT (-40.55644 -2.821946)', '2026-07-09 12:54:52', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556403 -2.821938)'), GeomFromEWKT('SRID=4674;POINT (-40.55644 -2.821946)'))) / (select extract(epoch from '2026-07-09 12:54:52'::timestamp) - extract(epoch from '2026-07-09 12:54:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556403 -2.821938)'), GeomFromEWKT('SRID=4674;POINT (-40.55644 -2.821946)'))) / (select extract(epoch from '2026-07-09 12:54:52'::timestamp) - extract(epoch from '2026-07-09 12:54: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'), 47635, 'SRID=4674;POINT (-40.556495 -2.821958)', '2026-07-09 12:55:03', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55644 -2.821946)'), GeomFromEWKT('SRID=4674;POINT (-40.556495 -2.821958)'))) / (select extract(epoch from '2026-07-09 12:55:03'::timestamp) - extract(epoch from '2026-07-09 12:54:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55644 -2.821946)'), GeomFromEWKT('SRID=4674;POINT (-40.556495 -2.821958)'))) / (select extract(epoch from '2026-07-09 12:55:03'::timestamp) - extract(epoch from '2026-07-09 12:54: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'), 47635, 'SRID=4674;POINT (-40.556506 -2.821964)', '2026-07-09 12:55:12', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556495 -2.821958)'), GeomFromEWKT('SRID=4674;POINT (-40.556506 -2.821964)'))) / (select extract(epoch from '2026-07-09 12:55:12'::timestamp) - extract(epoch from '2026-07-09 12:55:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556495 -2.821958)'), GeomFromEWKT('SRID=4674;POINT (-40.556506 -2.821964)'))) / (select extract(epoch from '2026-07-09 12:55:12'::timestamp) - extract(epoch from '2026-07-09 12:55: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'), 47635, 'SRID=4674;POINT (-40.556528 -2.821984)', '2026-07-09 12:55:19', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556506 -2.821964)'), GeomFromEWKT('SRID=4674;POINT (-40.556528 -2.821984)'))) / (select extract(epoch from '2026-07-09 12:55:19'::timestamp) - extract(epoch from '2026-07-09 12:55:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556506 -2.821964)'), GeomFromEWKT('SRID=4674;POINT (-40.556528 -2.821984)'))) / (select extract(epoch from '2026-07-09 12:55:19'::timestamp) - extract(epoch from '2026-07-09 12:55: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'), 47635, 'SRID=4674;POINT (-40.556572 -2.822001)', '2026-07-09 12:55:29', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556528 -2.821984)'), GeomFromEWKT('SRID=4674;POINT (-40.556572 -2.822001)'))) / (select extract(epoch from '2026-07-09 12:55:29'::timestamp) - extract(epoch from '2026-07-09 12:55:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556528 -2.821984)'), GeomFromEWKT('SRID=4674;POINT (-40.556572 -2.822001)'))) / (select extract(epoch from '2026-07-09 12:55:29'::timestamp) - extract(epoch from '2026-07-09 12:55: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'), 47635, 'SRID=4674;POINT (-40.556622 -2.82202)', '2026-07-09 12:55:39', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556572 -2.822001)'), GeomFromEWKT('SRID=4674;POINT (-40.556622 -2.82202)'))) / (select extract(epoch from '2026-07-09 12:55:39'::timestamp) - extract(epoch from '2026-07-09 12:55:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556572 -2.822001)'), GeomFromEWKT('SRID=4674;POINT (-40.556622 -2.82202)'))) / (select extract(epoch from '2026-07-09 12:55:39'::timestamp) - extract(epoch from '2026-07-09 12:55: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'), 47635, 'SRID=4674;POINT (-40.556665 -2.82203)', '2026-07-09 12:55:46', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556622 -2.82202)'), GeomFromEWKT('SRID=4674;POINT (-40.556665 -2.82203)'))) / (select extract(epoch from '2026-07-09 12:55:46'::timestamp) - extract(epoch from '2026-07-09 12:55:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556622 -2.82202)'), GeomFromEWKT('SRID=4674;POINT (-40.556665 -2.82203)'))) / (select extract(epoch from '2026-07-09 12:55:46'::timestamp) - extract(epoch from '2026-07-09 12:55: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'), 47635, 'SRID=4674;POINT (-40.556714 -2.82204)', '2026-07-09 12:55:55', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556665 -2.82203)'), GeomFromEWKT('SRID=4674;POINT (-40.556714 -2.82204)'))) / (select extract(epoch from '2026-07-09 12:55:55'::timestamp) - extract(epoch from '2026-07-09 12:55:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556665 -2.82203)'), GeomFromEWKT('SRID=4674;POINT (-40.556714 -2.82204)'))) / (select extract(epoch from '2026-07-09 12:55:55'::timestamp) - extract(epoch from '2026-07-09 12:55: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'), 47635, 'SRID=4674;POINT (-40.556744 -2.822049)', '2026-07-09 12:56:01', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556714 -2.82204)'), GeomFromEWKT('SRID=4674;POINT (-40.556744 -2.822049)'))) / (select extract(epoch from '2026-07-09 12:56:01'::timestamp) - extract(epoch from '2026-07-09 12:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556714 -2.82204)'), GeomFromEWKT('SRID=4674;POINT (-40.556744 -2.822049)'))) / (select extract(epoch from '2026-07-09 12:56:01'::timestamp) - extract(epoch from '2026-07-09 12:55:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.556782 -2.822055)', '2026-07-09 12:56:09', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556744 -2.822049)'), GeomFromEWKT('SRID=4674;POINT (-40.556782 -2.822055)'))) / (select extract(epoch from '2026-07-09 12:56:09'::timestamp) - extract(epoch from '2026-07-09 12:56:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556744 -2.822049)'), GeomFromEWKT('SRID=4674;POINT (-40.556782 -2.822055)'))) / (select extract(epoch from '2026-07-09 12:56:09'::timestamp) - extract(epoch from '2026-07-09 12:56: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'), 47635, 'SRID=4674;POINT (-40.556816 -2.822065)', '2026-07-09 12:56:15', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556782 -2.822055)'), GeomFromEWKT('SRID=4674;POINT (-40.556816 -2.822065)'))) / (select extract(epoch from '2026-07-09 12:56:15'::timestamp) - extract(epoch from '2026-07-09 12:56:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556782 -2.822055)'), GeomFromEWKT('SRID=4674;POINT (-40.556816 -2.822065)'))) / (select extract(epoch from '2026-07-09 12:56:15'::timestamp) - extract(epoch from '2026-07-09 12:56: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'), 47635, 'SRID=4674;POINT (-40.556855 -2.822068)', '2026-07-09 12:56:21', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556816 -2.822065)'), GeomFromEWKT('SRID=4674;POINT (-40.556855 -2.822068)'))) / (select extract(epoch from '2026-07-09 12:56:21'::timestamp) - extract(epoch from '2026-07-09 12:56:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556816 -2.822065)'), GeomFromEWKT('SRID=4674;POINT (-40.556855 -2.822068)'))) / (select extract(epoch from '2026-07-09 12:56:21'::timestamp) - extract(epoch from '2026-07-09 12:56: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'), 47635, 'SRID=4674;POINT (-40.556894 -2.822072)', '2026-07-09 12:56:28', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556855 -2.822068)'), GeomFromEWKT('SRID=4674;POINT (-40.556894 -2.822072)'))) / (select extract(epoch from '2026-07-09 12:56:28'::timestamp) - extract(epoch from '2026-07-09 12:56:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556855 -2.822068)'), GeomFromEWKT('SRID=4674;POINT (-40.556894 -2.822072)'))) / (select extract(epoch from '2026-07-09 12:56:28'::timestamp) - extract(epoch from '2026-07-09 12:56:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.556929 -2.822076)', '2026-07-09 12:56:35', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556894 -2.822072)'), GeomFromEWKT('SRID=4674;POINT (-40.556929 -2.822076)'))) / (select extract(epoch from '2026-07-09 12:56:35'::timestamp) - extract(epoch from '2026-07-09 12:56:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556894 -2.822072)'), GeomFromEWKT('SRID=4674;POINT (-40.556929 -2.822076)'))) / (select extract(epoch from '2026-07-09 12:56:35'::timestamp) - extract(epoch from '2026-07-09 12:56: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'), 47635, 'SRID=4674;POINT (-40.556961 -2.822088)', '2026-07-09 12:56:42', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556929 -2.822076)'), GeomFromEWKT('SRID=4674;POINT (-40.556961 -2.822088)'))) / (select extract(epoch from '2026-07-09 12:56:42'::timestamp) - extract(epoch from '2026-07-09 12:56:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556929 -2.822076)'), GeomFromEWKT('SRID=4674;POINT (-40.556961 -2.822088)'))) / (select extract(epoch from '2026-07-09 12:56:42'::timestamp) - extract(epoch from '2026-07-09 12:56: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'), 47635, 'SRID=4674;POINT (-40.556996 -2.822103)', '2026-07-09 12:56:49', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556961 -2.822088)'), GeomFromEWKT('SRID=4674;POINT (-40.556996 -2.822103)'))) / (select extract(epoch from '2026-07-09 12:56:49'::timestamp) - extract(epoch from '2026-07-09 12:56:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556961 -2.822088)'), GeomFromEWKT('SRID=4674;POINT (-40.556996 -2.822103)'))) / (select extract(epoch from '2026-07-09 12:56:49'::timestamp) - extract(epoch from '2026-07-09 12:56: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'), 47635, 'SRID=4674;POINT (-40.557024 -2.822109)', '2026-07-09 12:56:55', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556996 -2.822103)'), GeomFromEWKT('SRID=4674;POINT (-40.557024 -2.822109)'))) / (select extract(epoch from '2026-07-09 12:56:55'::timestamp) - extract(epoch from '2026-07-09 12:56:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556996 -2.822103)'), GeomFromEWKT('SRID=4674;POINT (-40.557024 -2.822109)'))) / (select extract(epoch from '2026-07-09 12:56:55'::timestamp) - extract(epoch from '2026-07-09 12:56: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'), 47635, 'SRID=4674;POINT (-40.557073 -2.822117)', '2026-07-09 12:57:03', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557024 -2.822109)'), GeomFromEWKT('SRID=4674;POINT (-40.557073 -2.822117)'))) / (select extract(epoch from '2026-07-09 12:57:03'::timestamp) - extract(epoch from '2026-07-09 12:56:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557024 -2.822109)'), GeomFromEWKT('SRID=4674;POINT (-40.557073 -2.822117)'))) / (select extract(epoch from '2026-07-09 12:57:03'::timestamp) - extract(epoch from '2026-07-09 12:56: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'), 47635, 'SRID=4674;POINT (-40.55712 -2.82213)', '2026-07-09 12:57:11', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557073 -2.822117)'), GeomFromEWKT('SRID=4674;POINT (-40.55712 -2.82213)'))) / (select extract(epoch from '2026-07-09 12:57:11'::timestamp) - extract(epoch from '2026-07-09 12:57:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557073 -2.822117)'), GeomFromEWKT('SRID=4674;POINT (-40.55712 -2.82213)'))) / (select extract(epoch from '2026-07-09 12:57:11'::timestamp) - extract(epoch from '2026-07-09 12:57: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'), 47635, 'SRID=4674;POINT (-40.557145 -2.822134)', '2026-07-09 12:57:15', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55712 -2.82213)'), GeomFromEWKT('SRID=4674;POINT (-40.557145 -2.822134)'))) / (select extract(epoch from '2026-07-09 12:57:15'::timestamp) - extract(epoch from '2026-07-09 12:57:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55712 -2.82213)'), GeomFromEWKT('SRID=4674;POINT (-40.557145 -2.822134)'))) / (select extract(epoch from '2026-07-09 12:57:15'::timestamp) - extract(epoch from '2026-07-09 12:57: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'), 47635, 'SRID=4674;POINT (-40.557164 -2.822139)', '2026-07-09 12:57:18', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557145 -2.822134)'), GeomFromEWKT('SRID=4674;POINT (-40.557164 -2.822139)'))) / (select extract(epoch from '2026-07-09 12:57:18'::timestamp) - extract(epoch from '2026-07-09 12:57:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557145 -2.822134)'), GeomFromEWKT('SRID=4674;POINT (-40.557164 -2.822139)'))) / (select extract(epoch from '2026-07-09 12:57:18'::timestamp) - extract(epoch from '2026-07-09 12:57:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.5572 -2.822147)', '2026-07-09 12:57:24', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557164 -2.822139)'), GeomFromEWKT('SRID=4674;POINT (-40.5572 -2.822147)'))) / (select extract(epoch from '2026-07-09 12:57:24'::timestamp) - extract(epoch from '2026-07-09 12:57:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557164 -2.822139)'), GeomFromEWKT('SRID=4674;POINT (-40.5572 -2.822147)'))) / (select extract(epoch from '2026-07-09 12:57:24'::timestamp) - extract(epoch from '2026-07-09 12:57: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'), 47635, 'SRID=4674;POINT (-40.557244 -2.822151)', '2026-07-09 12:57:31', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5572 -2.822147)'), GeomFromEWKT('SRID=4674;POINT (-40.557244 -2.822151)'))) / (select extract(epoch from '2026-07-09 12:57:31'::timestamp) - extract(epoch from '2026-07-09 12:57:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5572 -2.822147)'), GeomFromEWKT('SRID=4674;POINT (-40.557244 -2.822151)'))) / (select extract(epoch from '2026-07-09 12:57:31'::timestamp) - extract(epoch from '2026-07-09 12:57: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'), 47635, 'SRID=4674;POINT (-40.557296 -2.822165)', '2026-07-09 12:57:40', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557244 -2.822151)'), GeomFromEWKT('SRID=4674;POINT (-40.557296 -2.822165)'))) / (select extract(epoch from '2026-07-09 12:57:40'::timestamp) - extract(epoch from '2026-07-09 12:57:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557244 -2.822151)'), GeomFromEWKT('SRID=4674;POINT (-40.557296 -2.822165)'))) / (select extract(epoch from '2026-07-09 12:57:40'::timestamp) - extract(epoch from '2026-07-09 12:57: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'), 47635, 'SRID=4674;POINT (-40.557326 -2.82217)', '2026-07-09 12:57:45', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557296 -2.822165)'), GeomFromEWKT('SRID=4674;POINT (-40.557326 -2.82217)'))) / (select extract(epoch from '2026-07-09 12:57:45'::timestamp) - extract(epoch from '2026-07-09 12:57:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557296 -2.822165)'), GeomFromEWKT('SRID=4674;POINT (-40.557326 -2.82217)'))) / (select extract(epoch from '2026-07-09 12:57:45'::timestamp) - extract(epoch from '2026-07-09 12:57: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'), 47635, 'SRID=4674;POINT (-40.557337 -2.822174)', '2026-07-09 12:57:47', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557326 -2.82217)'), GeomFromEWKT('SRID=4674;POINT (-40.557337 -2.822174)'))) / (select extract(epoch from '2026-07-09 12:57:47'::timestamp) - extract(epoch from '2026-07-09 12:57:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557326 -2.82217)'), GeomFromEWKT('SRID=4674;POINT (-40.557337 -2.822174)'))) / (select extract(epoch from '2026-07-09 12:57:47'::timestamp) - extract(epoch from '2026-07-09 12:57: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'), 47635, 'SRID=4674;POINT (-40.557377 -2.822182)', '2026-07-09 12:57:54', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557337 -2.822174)'), GeomFromEWKT('SRID=4674;POINT (-40.557377 -2.822182)'))) / (select extract(epoch from '2026-07-09 12:57:54'::timestamp) - extract(epoch from '2026-07-09 12:57:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557337 -2.822174)'), GeomFromEWKT('SRID=4674;POINT (-40.557377 -2.822182)'))) / (select extract(epoch from '2026-07-09 12:57:54'::timestamp) - extract(epoch from '2026-07-09 12:57:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.557406 -2.822189)', '2026-07-09 12:57:59', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557377 -2.822182)'), GeomFromEWKT('SRID=4674;POINT (-40.557406 -2.822189)'))) / (select extract(epoch from '2026-07-09 12:57:59'::timestamp) - extract(epoch from '2026-07-09 12:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557377 -2.822182)'), GeomFromEWKT('SRID=4674;POINT (-40.557406 -2.822189)'))) / (select extract(epoch from '2026-07-09 12:57:59'::timestamp) - extract(epoch from '2026-07-09 12:57: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'), 47635, 'SRID=4674;POINT (-40.557451 -2.822196)', '2026-07-09 12:58:07', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557406 -2.822189)'), GeomFromEWKT('SRID=4674;POINT (-40.557451 -2.822196)'))) / (select extract(epoch from '2026-07-09 12:58:07'::timestamp) - extract(epoch from '2026-07-09 12:57:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557406 -2.822189)'), GeomFromEWKT('SRID=4674;POINT (-40.557451 -2.822196)'))) / (select extract(epoch from '2026-07-09 12:58:07'::timestamp) - extract(epoch from '2026-07-09 12:57: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'), 47635, 'SRID=4674;POINT (-40.557493 -2.822203)', '2026-07-09 12:58:14', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557451 -2.822196)'), GeomFromEWKT('SRID=4674;POINT (-40.557493 -2.822203)'))) / (select extract(epoch from '2026-07-09 12:58:14'::timestamp) - extract(epoch from '2026-07-09 12:58:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557451 -2.822196)'), GeomFromEWKT('SRID=4674;POINT (-40.557493 -2.822203)'))) / (select extract(epoch from '2026-07-09 12:58:14'::timestamp) - extract(epoch from '2026-07-09 12:58: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'), 47635, 'SRID=4674;POINT (-40.557501 -2.822206)', '2026-07-09 12:58:15', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557493 -2.822203)'), GeomFromEWKT('SRID=4674;POINT (-40.557501 -2.822206)'))) / (select extract(epoch from '2026-07-09 12:58:15'::timestamp) - extract(epoch from '2026-07-09 12:58:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557493 -2.822203)'), GeomFromEWKT('SRID=4674;POINT (-40.557501 -2.822206)'))) / (select extract(epoch from '2026-07-09 12:58:15'::timestamp) - extract(epoch from '2026-07-09 12:58:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.557529 -2.822213)', '2026-07-09 12:58:20', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557501 -2.822206)'), GeomFromEWKT('SRID=4674;POINT (-40.557529 -2.822213)'))) / (select extract(epoch from '2026-07-09 12:58:20'::timestamp) - extract(epoch from '2026-07-09 12:58:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557501 -2.822206)'), GeomFromEWKT('SRID=4674;POINT (-40.557529 -2.822213)'))) / (select extract(epoch from '2026-07-09 12:58:20'::timestamp) - extract(epoch from '2026-07-09 12:58: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'), 47635, 'SRID=4674;POINT (-40.557567 -2.822219)', '2026-07-09 12:58:27', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557529 -2.822213)'), GeomFromEWKT('SRID=4674;POINT (-40.557567 -2.822219)'))) / (select extract(epoch from '2026-07-09 12:58:27'::timestamp) - extract(epoch from '2026-07-09 12:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557529 -2.822213)'), GeomFromEWKT('SRID=4674;POINT (-40.557567 -2.822219)'))) / (select extract(epoch from '2026-07-09 12:58:27'::timestamp) - extract(epoch from '2026-07-09 12:58: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'), 47635, 'SRID=4674;POINT (-40.557606 -2.822235)', '2026-07-09 12:58:34', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557567 -2.822219)'), GeomFromEWKT('SRID=4674;POINT (-40.557606 -2.822235)'))) / (select extract(epoch from '2026-07-09 12:58:34'::timestamp) - extract(epoch from '2026-07-09 12:58:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557567 -2.822219)'), GeomFromEWKT('SRID=4674;POINT (-40.557606 -2.822235)'))) / (select extract(epoch from '2026-07-09 12:58:34'::timestamp) - extract(epoch from '2026-07-09 12:58: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'), 47635, 'SRID=4674;POINT (-40.557638 -2.82224)', '2026-07-09 12:58:40', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557606 -2.822235)'), GeomFromEWKT('SRID=4674;POINT (-40.557638 -2.82224)'))) / (select extract(epoch from '2026-07-09 12:58:40'::timestamp) - extract(epoch from '2026-07-09 12:58:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557606 -2.822235)'), GeomFromEWKT('SRID=4674;POINT (-40.557638 -2.82224)'))) / (select extract(epoch from '2026-07-09 12:58:40'::timestamp) - extract(epoch from '2026-07-09 12:58:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.557688 -2.822252)', '2026-07-09 12:58:49', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557638 -2.82224)'), GeomFromEWKT('SRID=4674;POINT (-40.557688 -2.822252)'))) / (select extract(epoch from '2026-07-09 12:58:49'::timestamp) - extract(epoch from '2026-07-09 12:58:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557638 -2.82224)'), GeomFromEWKT('SRID=4674;POINT (-40.557688 -2.822252)'))) / (select extract(epoch from '2026-07-09 12:58:49'::timestamp) - extract(epoch from '2026-07-09 12:58:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.557721 -2.82226)', '2026-07-09 12:58:55', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557688 -2.822252)'), GeomFromEWKT('SRID=4674;POINT (-40.557721 -2.82226)'))) / (select extract(epoch from '2026-07-09 12:58:55'::timestamp) - extract(epoch from '2026-07-09 12:58:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557688 -2.822252)'), GeomFromEWKT('SRID=4674;POINT (-40.557721 -2.82226)'))) / (select extract(epoch from '2026-07-09 12:58:55'::timestamp) - extract(epoch from '2026-07-09 12:58:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.557766 -2.822271)', '2026-07-09 12:59:03', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557721 -2.82226)'), GeomFromEWKT('SRID=4674;POINT (-40.557766 -2.822271)'))) / (select extract(epoch from '2026-07-09 12:59:03'::timestamp) - extract(epoch from '2026-07-09 12:58:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557721 -2.82226)'), GeomFromEWKT('SRID=4674;POINT (-40.557766 -2.822271)'))) / (select extract(epoch from '2026-07-09 12:59:03'::timestamp) - extract(epoch from '2026-07-09 12:58: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'), 47635, 'SRID=4674;POINT (-40.557805 -2.82228)', '2026-07-09 12:59:09', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557766 -2.822271)'), GeomFromEWKT('SRID=4674;POINT (-40.557805 -2.82228)'))) / (select extract(epoch from '2026-07-09 12:59:09'::timestamp) - extract(epoch from '2026-07-09 12:59:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557766 -2.822271)'), GeomFromEWKT('SRID=4674;POINT (-40.557805 -2.82228)'))) / (select extract(epoch from '2026-07-09 12:59:09'::timestamp) - extract(epoch from '2026-07-09 12:59:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.557816 -2.822284)', '2026-07-09 12:59:11', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557805 -2.82228)'), GeomFromEWKT('SRID=4674;POINT (-40.557816 -2.822284)'))) / (select extract(epoch from '2026-07-09 12:59:11'::timestamp) - extract(epoch from '2026-07-09 12:59:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557805 -2.82228)'), GeomFromEWKT('SRID=4674;POINT (-40.557816 -2.822284)'))) / (select extract(epoch from '2026-07-09 12:59:11'::timestamp) - extract(epoch from '2026-07-09 12:59: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'), 47635, 'SRID=4674;POINT (-40.557861 -2.822288)', '2026-07-09 12:59:19', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557816 -2.822284)'), GeomFromEWKT('SRID=4674;POINT (-40.557861 -2.822288)'))) / (select extract(epoch from '2026-07-09 12:59:19'::timestamp) - extract(epoch from '2026-07-09 12:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557816 -2.822284)'), GeomFromEWKT('SRID=4674;POINT (-40.557861 -2.822288)'))) / (select extract(epoch from '2026-07-09 12:59:19'::timestamp) - extract(epoch from '2026-07-09 12:59:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.557904 -2.822295)', '2026-07-09 12:59:26', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557861 -2.822288)'), GeomFromEWKT('SRID=4674;POINT (-40.557904 -2.822295)'))) / (select extract(epoch from '2026-07-09 12:59:26'::timestamp) - extract(epoch from '2026-07-09 12:59:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557861 -2.822288)'), GeomFromEWKT('SRID=4674;POINT (-40.557904 -2.822295)'))) / (select extract(epoch from '2026-07-09 12:59:26'::timestamp) - extract(epoch from '2026-07-09 12:59: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'), 47635, 'SRID=4674;POINT (-40.557939 -2.822304)', '2026-07-09 12:59:32', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557904 -2.822295)'), GeomFromEWKT('SRID=4674;POINT (-40.557939 -2.822304)'))) / (select extract(epoch from '2026-07-09 12:59:32'::timestamp) - extract(epoch from '2026-07-09 12:59:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557904 -2.822295)'), GeomFromEWKT('SRID=4674;POINT (-40.557939 -2.822304)'))) / (select extract(epoch from '2026-07-09 12:59:32'::timestamp) - extract(epoch from '2026-07-09 12:59:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.557983 -2.822312)', '2026-07-09 12:59:40', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557939 -2.822304)'), GeomFromEWKT('SRID=4674;POINT (-40.557983 -2.822312)'))) / (select extract(epoch from '2026-07-09 12:59:40'::timestamp) - extract(epoch from '2026-07-09 12:59:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557939 -2.822304)'), GeomFromEWKT('SRID=4674;POINT (-40.557983 -2.822312)'))) / (select extract(epoch from '2026-07-09 12:59:40'::timestamp) - extract(epoch from '2026-07-09 12:59:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.55803 -2.822318)', '2026-07-09 12:59:48', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557983 -2.822312)'), GeomFromEWKT('SRID=4674;POINT (-40.55803 -2.822318)'))) / (select extract(epoch from '2026-07-09 12:59:48'::timestamp) - extract(epoch from '2026-07-09 12:59:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557983 -2.822312)'), GeomFromEWKT('SRID=4674;POINT (-40.55803 -2.822318)'))) / (select extract(epoch from '2026-07-09 12:59:48'::timestamp) - extract(epoch from '2026-07-09 12:59:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.558068 -2.822325)', '2026-07-09 12:59:55', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55803 -2.822318)'), GeomFromEWKT('SRID=4674;POINT (-40.558068 -2.822325)'))) / (select extract(epoch from '2026-07-09 12:59:55'::timestamp) - extract(epoch from '2026-07-09 12:59:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55803 -2.822318)'), GeomFromEWKT('SRID=4674;POINT (-40.558068 -2.822325)'))) / (select extract(epoch from '2026-07-09 12:59:55'::timestamp) - extract(epoch from '2026-07-09 12:59:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.558129 -2.822339)', '2026-07-09 13:00:06', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558068 -2.822325)'), GeomFromEWKT('SRID=4674;POINT (-40.558129 -2.822339)'))) / (select extract(epoch from '2026-07-09 13:00:06'::timestamp) - extract(epoch from '2026-07-09 12:59:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558068 -2.822325)'), GeomFromEWKT('SRID=4674;POINT (-40.558129 -2.822339)'))) / (select extract(epoch from '2026-07-09 13:00:06'::timestamp) - extract(epoch from '2026-07-09 12:59: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'), 47635, 'SRID=4674;POINT (-40.558178 -2.822355)', '2026-07-09 13:00:15', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558129 -2.822339)'), GeomFromEWKT('SRID=4674;POINT (-40.558178 -2.822355)'))) / (select extract(epoch from '2026-07-09 13:00:15'::timestamp) - extract(epoch from '2026-07-09 13:00:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558129 -2.822339)'), GeomFromEWKT('SRID=4674;POINT (-40.558178 -2.822355)'))) / (select extract(epoch from '2026-07-09 13:00:15'::timestamp) - extract(epoch from '2026-07-09 13:00: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'), 47635, 'SRID=4674;POINT (-40.558228 -2.82236)', '2026-07-09 13:00:24', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558178 -2.822355)'), GeomFromEWKT('SRID=4674;POINT (-40.558228 -2.82236)'))) / (select extract(epoch from '2026-07-09 13:00:24'::timestamp) - extract(epoch from '2026-07-09 13:00:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558178 -2.822355)'), GeomFromEWKT('SRID=4674;POINT (-40.558228 -2.82236)'))) / (select extract(epoch from '2026-07-09 13:00:24'::timestamp) - extract(epoch from '2026-07-09 13:00: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'), 47635, 'SRID=4674;POINT (-40.558268 -2.822369)', '2026-07-09 13:00:32', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558228 -2.82236)'), GeomFromEWKT('SRID=4674;POINT (-40.558268 -2.822369)'))) / (select extract(epoch from '2026-07-09 13:00:32'::timestamp) - extract(epoch from '2026-07-09 13:00:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558228 -2.82236)'), GeomFromEWKT('SRID=4674;POINT (-40.558268 -2.822369)'))) / (select extract(epoch from '2026-07-09 13:00:32'::timestamp) - extract(epoch from '2026-07-09 13:00: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'), 47635, 'SRID=4674;POINT (-40.558305 -2.822381)', '2026-07-09 13:00:40', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558268 -2.822369)'), GeomFromEWKT('SRID=4674;POINT (-40.558305 -2.822381)'))) / (select extract(epoch from '2026-07-09 13:00:40'::timestamp) - extract(epoch from '2026-07-09 13:00:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558268 -2.822369)'), GeomFromEWKT('SRID=4674;POINT (-40.558305 -2.822381)'))) / (select extract(epoch from '2026-07-09 13:00:40'::timestamp) - extract(epoch from '2026-07-09 13:00:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.558334 -2.822391)', '2026-07-09 13:00:46', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558305 -2.822381)'), GeomFromEWKT('SRID=4674;POINT (-40.558334 -2.822391)'))) / (select extract(epoch from '2026-07-09 13:00:46'::timestamp) - extract(epoch from '2026-07-09 13:00:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558305 -2.822381)'), GeomFromEWKT('SRID=4674;POINT (-40.558334 -2.822391)'))) / (select extract(epoch from '2026-07-09 13:00:46'::timestamp) - extract(epoch from '2026-07-09 13:00: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'), 47635, 'SRID=4674;POINT (-40.558376 -2.822398)', '2026-07-09 13:00:54', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558334 -2.822391)'), GeomFromEWKT('SRID=4674;POINT (-40.558376 -2.822398)'))) / (select extract(epoch from '2026-07-09 13:00:54'::timestamp) - extract(epoch from '2026-07-09 13:00:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558334 -2.822391)'), GeomFromEWKT('SRID=4674;POINT (-40.558376 -2.822398)'))) / (select extract(epoch from '2026-07-09 13:00:54'::timestamp) - extract(epoch from '2026-07-09 13:00: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'), 47635, 'SRID=4674;POINT (-40.558415 -2.822404)', '2026-07-09 13:01:01', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558376 -2.822398)'), GeomFromEWKT('SRID=4674;POINT (-40.558415 -2.822404)'))) / (select extract(epoch from '2026-07-09 13:01:01'::timestamp) - extract(epoch from '2026-07-09 13:00:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558376 -2.822398)'), GeomFromEWKT('SRID=4674;POINT (-40.558415 -2.822404)'))) / (select extract(epoch from '2026-07-09 13:01:01'::timestamp) - extract(epoch from '2026-07-09 13:00: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'), 47635, 'SRID=4674;POINT (-40.55845 -2.822412)', '2026-07-09 13:01:07', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558415 -2.822404)'), GeomFromEWKT('SRID=4674;POINT (-40.55845 -2.822412)'))) / (select extract(epoch from '2026-07-09 13:01:07'::timestamp) - extract(epoch from '2026-07-09 13:01:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558415 -2.822404)'), GeomFromEWKT('SRID=4674;POINT (-40.55845 -2.822412)'))) / (select extract(epoch from '2026-07-09 13:01:07'::timestamp) - extract(epoch from '2026-07-09 13:01:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.558493 -2.822417)', '2026-07-09 13:01:15', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55845 -2.822412)'), GeomFromEWKT('SRID=4674;POINT (-40.558493 -2.822417)'))) / (select extract(epoch from '2026-07-09 13:01:15'::timestamp) - extract(epoch from '2026-07-09 13:01:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55845 -2.822412)'), GeomFromEWKT('SRID=4674;POINT (-40.558493 -2.822417)'))) / (select extract(epoch from '2026-07-09 13:01:15'::timestamp) - extract(epoch from '2026-07-09 13:01:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.558567 -2.822433)', '2026-07-09 13:01:28', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558493 -2.822417)'), GeomFromEWKT('SRID=4674;POINT (-40.558567 -2.822433)'))) / (select extract(epoch from '2026-07-09 13:01:28'::timestamp) - extract(epoch from '2026-07-09 13:01:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558493 -2.822417)'), GeomFromEWKT('SRID=4674;POINT (-40.558567 -2.822433)'))) / (select extract(epoch from '2026-07-09 13:01:28'::timestamp) - extract(epoch from '2026-07-09 13:01: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'), 47635, 'SRID=4674;POINT (-40.558634 -2.822448)', '2026-07-09 13:01:40', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558567 -2.822433)'), GeomFromEWKT('SRID=4674;POINT (-40.558634 -2.822448)'))) / (select extract(epoch from '2026-07-09 13:01:40'::timestamp) - extract(epoch from '2026-07-09 13:01:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558567 -2.822433)'), GeomFromEWKT('SRID=4674;POINT (-40.558634 -2.822448)'))) / (select extract(epoch from '2026-07-09 13:01:40'::timestamp) - extract(epoch from '2026-07-09 13:01: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'), 47635, 'SRID=4674;POINT (-40.558672 -2.822451)', '2026-07-09 13:01:47', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558634 -2.822448)'), GeomFromEWKT('SRID=4674;POINT (-40.558672 -2.822451)'))) / (select extract(epoch from '2026-07-09 13:01:47'::timestamp) - extract(epoch from '2026-07-09 13:01:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558634 -2.822448)'), GeomFromEWKT('SRID=4674;POINT (-40.558672 -2.822451)'))) / (select extract(epoch from '2026-07-09 13:01:47'::timestamp) - extract(epoch from '2026-07-09 13:01: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'), 47635, 'SRID=4674;POINT (-40.558703 -2.822456)', '2026-07-09 13:01:53', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558672 -2.822451)'), GeomFromEWKT('SRID=4674;POINT (-40.558703 -2.822456)'))) / (select extract(epoch from '2026-07-09 13:01:53'::timestamp) - extract(epoch from '2026-07-09 13:01:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558672 -2.822451)'), GeomFromEWKT('SRID=4674;POINT (-40.558703 -2.822456)'))) / (select extract(epoch from '2026-07-09 13:01:53'::timestamp) - extract(epoch from '2026-07-09 13:01:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.558731 -2.822459)', '2026-07-09 13:01:58', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558703 -2.822456)'), GeomFromEWKT('SRID=4674;POINT (-40.558731 -2.822459)'))) / (select extract(epoch from '2026-07-09 13:01:58'::timestamp) - extract(epoch from '2026-07-09 13:01:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558703 -2.822456)'), GeomFromEWKT('SRID=4674;POINT (-40.558731 -2.822459)'))) / (select extract(epoch from '2026-07-09 13:01:58'::timestamp) - extract(epoch from '2026-07-09 13:01:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.558762 -2.822464)', '2026-07-09 13:02:04', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558731 -2.822459)'), GeomFromEWKT('SRID=4674;POINT (-40.558762 -2.822464)'))) / (select extract(epoch from '2026-07-09 13:02:04'::timestamp) - extract(epoch from '2026-07-09 13:01:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558731 -2.822459)'), GeomFromEWKT('SRID=4674;POINT (-40.558762 -2.822464)'))) / (select extract(epoch from '2026-07-09 13:02:04'::timestamp) - extract(epoch from '2026-07-09 13:01: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'), 47635, 'SRID=4674;POINT (-40.55881 -2.822471)', '2026-07-09 13:02:13', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558762 -2.822464)'), GeomFromEWKT('SRID=4674;POINT (-40.55881 -2.822471)'))) / (select extract(epoch from '2026-07-09 13:02:13'::timestamp) - extract(epoch from '2026-07-09 13:02:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558762 -2.822464)'), GeomFromEWKT('SRID=4674;POINT (-40.55881 -2.822471)'))) / (select extract(epoch from '2026-07-09 13:02:13'::timestamp) - extract(epoch from '2026-07-09 13:02: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'), 47635, 'SRID=4674;POINT (-40.558852 -2.822479)', '2026-07-09 13:02:21', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55881 -2.822471)'), GeomFromEWKT('SRID=4674;POINT (-40.558852 -2.822479)'))) / (select extract(epoch from '2026-07-09 13:02:21'::timestamp) - extract(epoch from '2026-07-09 13:02:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55881 -2.822471)'), GeomFromEWKT('SRID=4674;POINT (-40.558852 -2.822479)'))) / (select extract(epoch from '2026-07-09 13:02:21'::timestamp) - extract(epoch from '2026-07-09 13:02: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'), 47635, 'SRID=4674;POINT (-40.558895 -2.822487)', '2026-07-09 13:02:29', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558852 -2.822479)'), GeomFromEWKT('SRID=4674;POINT (-40.558895 -2.822487)'))) / (select extract(epoch from '2026-07-09 13:02:29'::timestamp) - extract(epoch from '2026-07-09 13:02:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558852 -2.822479)'), GeomFromEWKT('SRID=4674;POINT (-40.558895 -2.822487)'))) / (select extract(epoch from '2026-07-09 13:02:29'::timestamp) - extract(epoch from '2026-07-09 13:02: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'), 47635, 'SRID=4674;POINT (-40.558934 -2.822494)', '2026-07-09 13:02:36', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558895 -2.822487)'), GeomFromEWKT('SRID=4674;POINT (-40.558934 -2.822494)'))) / (select extract(epoch from '2026-07-09 13:02:36'::timestamp) - extract(epoch from '2026-07-09 13:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558895 -2.822487)'), GeomFromEWKT('SRID=4674;POINT (-40.558934 -2.822494)'))) / (select extract(epoch from '2026-07-09 13:02:36'::timestamp) - extract(epoch from '2026-07-09 13:02: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'), 47635, 'SRID=4674;POINT (-40.558976 -2.822503)', '2026-07-09 13:02:43', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558934 -2.822494)'), GeomFromEWKT('SRID=4674;POINT (-40.558976 -2.822503)'))) / (select extract(epoch from '2026-07-09 13:02:43'::timestamp) - extract(epoch from '2026-07-09 13:02:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558934 -2.822494)'), GeomFromEWKT('SRID=4674;POINT (-40.558976 -2.822503)'))) / (select extract(epoch from '2026-07-09 13:02:43'::timestamp) - extract(epoch from '2026-07-09 13:02:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.559027 -2.822512)', '2026-07-09 13:02:52', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558976 -2.822503)'), GeomFromEWKT('SRID=4674;POINT (-40.559027 -2.822512)'))) / (select extract(epoch from '2026-07-09 13:02:52'::timestamp) - extract(epoch from '2026-07-09 13:02:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558976 -2.822503)'), GeomFromEWKT('SRID=4674;POINT (-40.559027 -2.822512)'))) / (select extract(epoch from '2026-07-09 13:02:52'::timestamp) - extract(epoch from '2026-07-09 13:02: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'), 47635, 'SRID=4674;POINT (-40.55908 -2.822527)', '2026-07-09 13:03:00', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559027 -2.822512)'), GeomFromEWKT('SRID=4674;POINT (-40.55908 -2.822527)'))) / (select extract(epoch from '2026-07-09 13:03:00'::timestamp) - extract(epoch from '2026-07-09 13:02:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559027 -2.822512)'), GeomFromEWKT('SRID=4674;POINT (-40.55908 -2.822527)'))) / (select extract(epoch from '2026-07-09 13:03:00'::timestamp) - extract(epoch from '2026-07-09 13:02:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.559128 -2.822535)', '2026-07-09 13:03:08', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55908 -2.822527)'), GeomFromEWKT('SRID=4674;POINT (-40.559128 -2.822535)'))) / (select extract(epoch from '2026-07-09 13:03:08'::timestamp) - extract(epoch from '2026-07-09 13:03:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55908 -2.822527)'), GeomFromEWKT('SRID=4674;POINT (-40.559128 -2.822535)'))) / (select extract(epoch from '2026-07-09 13:03:08'::timestamp) - extract(epoch from '2026-07-09 13:03: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'), 47635, 'SRID=4674;POINT (-40.559162 -2.82254)', '2026-07-09 13:03:14', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559128 -2.822535)'), GeomFromEWKT('SRID=4674;POINT (-40.559162 -2.82254)'))) / (select extract(epoch from '2026-07-09 13:03:14'::timestamp) - extract(epoch from '2026-07-09 13:03:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559128 -2.822535)'), GeomFromEWKT('SRID=4674;POINT (-40.559162 -2.82254)'))) / (select extract(epoch from '2026-07-09 13:03:14'::timestamp) - extract(epoch from '2026-07-09 13:03: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'), 47635, 'SRID=4674;POINT (-40.55917 -2.822543)', '2026-07-09 13:03:15', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559162 -2.82254)'), GeomFromEWKT('SRID=4674;POINT (-40.55917 -2.822543)'))) / (select extract(epoch from '2026-07-09 13:03:15'::timestamp) - extract(epoch from '2026-07-09 13:03:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559162 -2.82254)'), GeomFromEWKT('SRID=4674;POINT (-40.55917 -2.822543)'))) / (select extract(epoch from '2026-07-09 13:03:15'::timestamp) - extract(epoch from '2026-07-09 13:03: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'), 47635, 'SRID=4674;POINT (-40.559213 -2.822552)', '2026-07-09 13:03:23', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55917 -2.822543)'), GeomFromEWKT('SRID=4674;POINT (-40.559213 -2.822552)'))) / (select extract(epoch from '2026-07-09 13:03:23'::timestamp) - extract(epoch from '2026-07-09 13:03:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55917 -2.822543)'), GeomFromEWKT('SRID=4674;POINT (-40.559213 -2.822552)'))) / (select extract(epoch from '2026-07-09 13:03:23'::timestamp) - extract(epoch from '2026-07-09 13:03: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'), 47635, 'SRID=4674;POINT (-40.559246 -2.822564)', '2026-07-09 13:03:29', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559213 -2.822552)'), GeomFromEWKT('SRID=4674;POINT (-40.559246 -2.822564)'))) / (select extract(epoch from '2026-07-09 13:03:29'::timestamp) - extract(epoch from '2026-07-09 13:03:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559213 -2.822552)'), GeomFromEWKT('SRID=4674;POINT (-40.559246 -2.822564)'))) / (select extract(epoch from '2026-07-09 13:03:29'::timestamp) - extract(epoch from '2026-07-09 13:03:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.559282 -2.82257)', '2026-07-09 13:03:35', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559246 -2.822564)'), GeomFromEWKT('SRID=4674;POINT (-40.559282 -2.82257)'))) / (select extract(epoch from '2026-07-09 13:03:35'::timestamp) - extract(epoch from '2026-07-09 13:03:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559246 -2.822564)'), GeomFromEWKT('SRID=4674;POINT (-40.559282 -2.82257)'))) / (select extract(epoch from '2026-07-09 13:03:35'::timestamp) - extract(epoch from '2026-07-09 13:03: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'), 47635, 'SRID=4674;POINT (-40.559327 -2.822584)', '2026-07-09 13:03:43', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559282 -2.82257)'), GeomFromEWKT('SRID=4674;POINT (-40.559327 -2.822584)'))) / (select extract(epoch from '2026-07-09 13:03:43'::timestamp) - extract(epoch from '2026-07-09 13:03:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559282 -2.82257)'), GeomFromEWKT('SRID=4674;POINT (-40.559327 -2.822584)'))) / (select extract(epoch from '2026-07-09 13:03:43'::timestamp) - extract(epoch from '2026-07-09 13:03:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.55936 -2.822592)', '2026-07-09 13:03:49', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559327 -2.822584)'), GeomFromEWKT('SRID=4674;POINT (-40.55936 -2.822592)'))) / (select extract(epoch from '2026-07-09 13:03:49'::timestamp) - extract(epoch from '2026-07-09 13:03:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559327 -2.822584)'), GeomFromEWKT('SRID=4674;POINT (-40.55936 -2.822592)'))) / (select extract(epoch from '2026-07-09 13:03:49'::timestamp) - extract(epoch from '2026-07-09 13:03:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.559404 -2.822605)', '2026-07-09 13:03:57', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55936 -2.822592)'), GeomFromEWKT('SRID=4674;POINT (-40.559404 -2.822605)'))) / (select extract(epoch from '2026-07-09 13:03:57'::timestamp) - extract(epoch from '2026-07-09 13:03:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55936 -2.822592)'), GeomFromEWKT('SRID=4674;POINT (-40.559404 -2.822605)'))) / (select extract(epoch from '2026-07-09 13:03:57'::timestamp) - extract(epoch from '2026-07-09 13:03:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.55944 -2.822612)', '2026-07-09 13:04:04', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559404 -2.822605)'), GeomFromEWKT('SRID=4674;POINT (-40.55944 -2.822612)'))) / (select extract(epoch from '2026-07-09 13:04:04'::timestamp) - extract(epoch from '2026-07-09 13:03:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559404 -2.822605)'), GeomFromEWKT('SRID=4674;POINT (-40.55944 -2.822612)'))) / (select extract(epoch from '2026-07-09 13:04:04'::timestamp) - extract(epoch from '2026-07-09 13:03: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'), 47635, 'SRID=4674;POINT (-40.559474 -2.822625)', '2026-07-09 13:04:11', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55944 -2.822612)'), GeomFromEWKT('SRID=4674;POINT (-40.559474 -2.822625)'))) / (select extract(epoch from '2026-07-09 13:04:11'::timestamp) - extract(epoch from '2026-07-09 13:04:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55944 -2.822612)'), GeomFromEWKT('SRID=4674;POINT (-40.559474 -2.822625)'))) / (select extract(epoch from '2026-07-09 13:04:11'::timestamp) - extract(epoch from '2026-07-09 13:04:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.559515 -2.82264)', '2026-07-09 13:04:19', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559474 -2.822625)'), GeomFromEWKT('SRID=4674;POINT (-40.559515 -2.82264)'))) / (select extract(epoch from '2026-07-09 13:04:19'::timestamp) - extract(epoch from '2026-07-09 13:04:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559474 -2.822625)'), GeomFromEWKT('SRID=4674;POINT (-40.559515 -2.82264)'))) / (select extract(epoch from '2026-07-09 13:04:19'::timestamp) - extract(epoch from '2026-07-09 13:04: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'), 47635, 'SRID=4674;POINT (-40.559557 -2.822643)', '2026-07-09 13:04:26', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559515 -2.82264)'), GeomFromEWKT('SRID=4674;POINT (-40.559557 -2.822643)'))) / (select extract(epoch from '2026-07-09 13:04:26'::timestamp) - extract(epoch from '2026-07-09 13:04:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559515 -2.82264)'), GeomFromEWKT('SRID=4674;POINT (-40.559557 -2.822643)'))) / (select extract(epoch from '2026-07-09 13:04:26'::timestamp) - extract(epoch from '2026-07-09 13:04:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.559598 -2.822652)', '2026-07-09 13:04:33', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559557 -2.822643)'), GeomFromEWKT('SRID=4674;POINT (-40.559598 -2.822652)'))) / (select extract(epoch from '2026-07-09 13:04:33'::timestamp) - extract(epoch from '2026-07-09 13:04:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559557 -2.822643)'), GeomFromEWKT('SRID=4674;POINT (-40.559598 -2.822652)'))) / (select extract(epoch from '2026-07-09 13:04:33'::timestamp) - extract(epoch from '2026-07-09 13:04: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'), 47635, 'SRID=4674;POINT (-40.559649 -2.822658)', '2026-07-09 13:04:41', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559598 -2.822652)'), GeomFromEWKT('SRID=4674;POINT (-40.559649 -2.822658)'))) / (select extract(epoch from '2026-07-09 13:04:41'::timestamp) - extract(epoch from '2026-07-09 13:04:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559598 -2.822652)'), GeomFromEWKT('SRID=4674;POINT (-40.559649 -2.822658)'))) / (select extract(epoch from '2026-07-09 13:04:41'::timestamp) - extract(epoch from '2026-07-09 13:04: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'), 47635, 'SRID=4674;POINT (-40.559681 -2.822664)', '2026-07-09 13:04:47', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559649 -2.822658)'), GeomFromEWKT('SRID=4674;POINT (-40.559681 -2.822664)'))) / (select extract(epoch from '2026-07-09 13:04:47'::timestamp) - extract(epoch from '2026-07-09 13:04:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559649 -2.822658)'), GeomFromEWKT('SRID=4674;POINT (-40.559681 -2.822664)'))) / (select extract(epoch from '2026-07-09 13:04:47'::timestamp) - extract(epoch from '2026-07-09 13:04: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'), 47635, 'SRID=4674;POINT (-40.559717 -2.822674)', '2026-07-09 13:04:54', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559681 -2.822664)'), GeomFromEWKT('SRID=4674;POINT (-40.559717 -2.822674)'))) / (select extract(epoch from '2026-07-09 13:04:54'::timestamp) - extract(epoch from '2026-07-09 13:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559681 -2.822664)'), GeomFromEWKT('SRID=4674;POINT (-40.559717 -2.822674)'))) / (select extract(epoch from '2026-07-09 13:04:54'::timestamp) - extract(epoch from '2026-07-09 13:04:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.559759 -2.822683)', '2026-07-09 13:05:02', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559717 -2.822674)'), GeomFromEWKT('SRID=4674;POINT (-40.559759 -2.822683)'))) / (select extract(epoch from '2026-07-09 13:05:02'::timestamp) - extract(epoch from '2026-07-09 13:04:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559717 -2.822674)'), GeomFromEWKT('SRID=4674;POINT (-40.559759 -2.822683)'))) / (select extract(epoch from '2026-07-09 13:05:02'::timestamp) - extract(epoch from '2026-07-09 13:04: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'), 47635, 'SRID=4674;POINT (-40.559801 -2.822689)', '2026-07-09 13:05:10', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559759 -2.822683)'), GeomFromEWKT('SRID=4674;POINT (-40.559801 -2.822689)'))) / (select extract(epoch from '2026-07-09 13:05:10'::timestamp) - extract(epoch from '2026-07-09 13:05:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559759 -2.822683)'), GeomFromEWKT('SRID=4674;POINT (-40.559801 -2.822689)'))) / (select extract(epoch from '2026-07-09 13:05:10'::timestamp) - extract(epoch from '2026-07-09 13:05: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'), 47635, 'SRID=4674;POINT (-40.559846 -2.822699)', '2026-07-09 13:05:18', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559801 -2.822689)'), GeomFromEWKT('SRID=4674;POINT (-40.559846 -2.822699)'))) / (select extract(epoch from '2026-07-09 13:05:18'::timestamp) - extract(epoch from '2026-07-09 13:05:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559801 -2.822689)'), GeomFromEWKT('SRID=4674;POINT (-40.559846 -2.822699)'))) / (select extract(epoch from '2026-07-09 13:05:18'::timestamp) - extract(epoch from '2026-07-09 13:05: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'), 47635, 'SRID=4674;POINT (-40.559887 -2.822712)', '2026-07-09 13:05:26', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559846 -2.822699)'), GeomFromEWKT('SRID=4674;POINT (-40.559887 -2.822712)'))) / (select extract(epoch from '2026-07-09 13:05:26'::timestamp) - extract(epoch from '2026-07-09 13:05:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559846 -2.822699)'), GeomFromEWKT('SRID=4674;POINT (-40.559887 -2.822712)'))) / (select extract(epoch from '2026-07-09 13:05:26'::timestamp) - extract(epoch from '2026-07-09 13:05: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'), 47635, 'SRID=4674;POINT (-40.559925 -2.822716)', '2026-07-09 13:05:33', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559887 -2.822712)'), GeomFromEWKT('SRID=4674;POINT (-40.559925 -2.822716)'))) / (select extract(epoch from '2026-07-09 13:05:33'::timestamp) - extract(epoch from '2026-07-09 13:05:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559887 -2.822712)'), GeomFromEWKT('SRID=4674;POINT (-40.559925 -2.822716)'))) / (select extract(epoch from '2026-07-09 13:05:33'::timestamp) - extract(epoch from '2026-07-09 13:05: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'), 47635, 'SRID=4674;POINT (-40.559962 -2.822719)', '2026-07-09 13:05:39', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559925 -2.822716)'), GeomFromEWKT('SRID=4674;POINT (-40.559962 -2.822719)'))) / (select extract(epoch from '2026-07-09 13:05:39'::timestamp) - extract(epoch from '2026-07-09 13:05:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559925 -2.822716)'), GeomFromEWKT('SRID=4674;POINT (-40.559962 -2.822719)'))) / (select extract(epoch from '2026-07-09 13:05:39'::timestamp) - extract(epoch from '2026-07-09 13:05: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'), 47635, 'SRID=4674;POINT (-40.559996 -2.822721)', '2026-07-09 13:05:45', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559962 -2.822719)'), GeomFromEWKT('SRID=4674;POINT (-40.559996 -2.822721)'))) / (select extract(epoch from '2026-07-09 13:05:45'::timestamp) - extract(epoch from '2026-07-09 13:05:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559962 -2.822719)'), GeomFromEWKT('SRID=4674;POINT (-40.559996 -2.822721)'))) / (select extract(epoch from '2026-07-09 13:05:45'::timestamp) - extract(epoch from '2026-07-09 13:05: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'), 47635, 'SRID=4674;POINT (-40.560034 -2.822722)', '2026-07-09 13:05:52', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559996 -2.822721)'), GeomFromEWKT('SRID=4674;POINT (-40.560034 -2.822722)'))) / (select extract(epoch from '2026-07-09 13:05:52'::timestamp) - extract(epoch from '2026-07-09 13:05:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559996 -2.822721)'), GeomFromEWKT('SRID=4674;POINT (-40.560034 -2.822722)'))) / (select extract(epoch from '2026-07-09 13:05:52'::timestamp) - extract(epoch from '2026-07-09 13:05:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.560044 -2.822722)', '2026-07-09 13:05:54', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560034 -2.822722)'), GeomFromEWKT('SRID=4674;POINT (-40.560044 -2.822722)'))) / (select extract(epoch from '2026-07-09 13:05:54'::timestamp) - extract(epoch from '2026-07-09 13:05:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560034 -2.822722)'), GeomFromEWKT('SRID=4674;POINT (-40.560044 -2.822722)'))) / (select extract(epoch from '2026-07-09 13:05:54'::timestamp) - extract(epoch from '2026-07-09 13:05: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'), 47635, 'SRID=4674;POINT (-40.560087 -2.82273)', '2026-07-09 13:06:03', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560044 -2.822722)'), GeomFromEWKT('SRID=4674;POINT (-40.560087 -2.82273)'))) / (select extract(epoch from '2026-07-09 13:06:03'::timestamp) - extract(epoch from '2026-07-09 13:05:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560044 -2.822722)'), GeomFromEWKT('SRID=4674;POINT (-40.560087 -2.82273)'))) / (select extract(epoch from '2026-07-09 13:06:03'::timestamp) - extract(epoch from '2026-07-09 13:05: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'), 47635, 'SRID=4674;POINT (-40.560124 -2.822733)', '2026-07-09 13:06:10', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560087 -2.82273)'), GeomFromEWKT('SRID=4674;POINT (-40.560124 -2.822733)'))) / (select extract(epoch from '2026-07-09 13:06:10'::timestamp) - extract(epoch from '2026-07-09 13:06:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560087 -2.82273)'), GeomFromEWKT('SRID=4674;POINT (-40.560124 -2.822733)'))) / (select extract(epoch from '2026-07-09 13:06:10'::timestamp) - extract(epoch from '2026-07-09 13:06: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'), 47635, 'SRID=4674;POINT (-40.560162 -2.822736)', '2026-07-09 13:06:17', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560124 -2.822733)'), GeomFromEWKT('SRID=4674;POINT (-40.560162 -2.822736)'))) / (select extract(epoch from '2026-07-09 13:06:17'::timestamp) - extract(epoch from '2026-07-09 13:06:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560124 -2.822733)'), GeomFromEWKT('SRID=4674;POINT (-40.560162 -2.822736)'))) / (select extract(epoch from '2026-07-09 13:06:17'::timestamp) - extract(epoch from '2026-07-09 13:06: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'), 47635, 'SRID=4674;POINT (-40.560208 -2.822745)', '2026-07-09 13:06:26', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560162 -2.822736)'), GeomFromEWKT('SRID=4674;POINT (-40.560208 -2.822745)'))) / (select extract(epoch from '2026-07-09 13:06:26'::timestamp) - extract(epoch from '2026-07-09 13:06:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560162 -2.822736)'), GeomFromEWKT('SRID=4674;POINT (-40.560208 -2.822745)'))) / (select extract(epoch from '2026-07-09 13:06:26'::timestamp) - extract(epoch from '2026-07-09 13:06: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'), 47635, 'SRID=4674;POINT (-40.56025 -2.822755)', '2026-07-09 13:06:35', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560208 -2.822745)'), GeomFromEWKT('SRID=4674;POINT (-40.56025 -2.822755)'))) / (select extract(epoch from '2026-07-09 13:06:35'::timestamp) - extract(epoch from '2026-07-09 13:06:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560208 -2.822745)'), GeomFromEWKT('SRID=4674;POINT (-40.56025 -2.822755)'))) / (select extract(epoch from '2026-07-09 13:06:35'::timestamp) - extract(epoch from '2026-07-09 13:06:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.560294 -2.822766)', '2026-07-09 13:06:44', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56025 -2.822755)'), GeomFromEWKT('SRID=4674;POINT (-40.560294 -2.822766)'))) / (select extract(epoch from '2026-07-09 13:06:44'::timestamp) - extract(epoch from '2026-07-09 13:06:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56025 -2.822755)'), GeomFromEWKT('SRID=4674;POINT (-40.560294 -2.822766)'))) / (select extract(epoch from '2026-07-09 13:06:44'::timestamp) - extract(epoch from '2026-07-09 13:06: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'), 47635, 'SRID=4674;POINT (-40.56033 -2.822777)', '2026-07-09 13:06:51', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560294 -2.822766)'), GeomFromEWKT('SRID=4674;POINT (-40.56033 -2.822777)'))) / (select extract(epoch from '2026-07-09 13:06:51'::timestamp) - extract(epoch from '2026-07-09 13:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560294 -2.822766)'), GeomFromEWKT('SRID=4674;POINT (-40.56033 -2.822777)'))) / (select extract(epoch from '2026-07-09 13:06:51'::timestamp) - extract(epoch from '2026-07-09 13:06:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.56039 -2.82279)', '2026-07-09 13:07:02', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56033 -2.822777)'), GeomFromEWKT('SRID=4674;POINT (-40.56039 -2.82279)'))) / (select extract(epoch from '2026-07-09 13:07:02'::timestamp) - extract(epoch from '2026-07-09 13:06:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56033 -2.822777)'), GeomFromEWKT('SRID=4674;POINT (-40.56039 -2.82279)'))) / (select extract(epoch from '2026-07-09 13:07:02'::timestamp) - extract(epoch from '2026-07-09 13:06: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'), 47635, 'SRID=4674;POINT (-40.560438 -2.822793)', '2026-07-09 13:07:11', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56039 -2.82279)'), GeomFromEWKT('SRID=4674;POINT (-40.560438 -2.822793)'))) / (select extract(epoch from '2026-07-09 13:07:11'::timestamp) - extract(epoch from '2026-07-09 13:07:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56039 -2.82279)'), GeomFromEWKT('SRID=4674;POINT (-40.560438 -2.822793)'))) / (select extract(epoch from '2026-07-09 13:07:11'::timestamp) - extract(epoch from '2026-07-09 13:07: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'), 47635, 'SRID=4674;POINT (-40.560492 -2.822801)', '2026-07-09 13:07:21', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560438 -2.822793)'), GeomFromEWKT('SRID=4674;POINT (-40.560492 -2.822801)'))) / (select extract(epoch from '2026-07-09 13:07:21'::timestamp) - extract(epoch from '2026-07-09 13:07:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560438 -2.822793)'), GeomFromEWKT('SRID=4674;POINT (-40.560492 -2.822801)'))) / (select extract(epoch from '2026-07-09 13:07:21'::timestamp) - extract(epoch from '2026-07-09 13:07: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'), 47635, 'SRID=4674;POINT (-40.560537 -2.822807)', '2026-07-09 13:07:29', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560492 -2.822801)'), GeomFromEWKT('SRID=4674;POINT (-40.560537 -2.822807)'))) / (select extract(epoch from '2026-07-09 13:07:29'::timestamp) - extract(epoch from '2026-07-09 13:07:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560492 -2.822801)'), GeomFromEWKT('SRID=4674;POINT (-40.560537 -2.822807)'))) / (select extract(epoch from '2026-07-09 13:07:29'::timestamp) - extract(epoch from '2026-07-09 13:07: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'), 47635, 'SRID=4674;POINT (-40.560579 -2.822809)', '2026-07-09 13:07:36', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560537 -2.822807)'), GeomFromEWKT('SRID=4674;POINT (-40.560579 -2.822809)'))) / (select extract(epoch from '2026-07-09 13:07:36'::timestamp) - extract(epoch from '2026-07-09 13:07:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560537 -2.822807)'), GeomFromEWKT('SRID=4674;POINT (-40.560579 -2.822809)'))) / (select extract(epoch from '2026-07-09 13:07:36'::timestamp) - extract(epoch from '2026-07-09 13:07:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.560619 -2.822815)', '2026-07-09 13:07:43', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560579 -2.822809)'), GeomFromEWKT('SRID=4674;POINT (-40.560619 -2.822815)'))) / (select extract(epoch from '2026-07-09 13:07:43'::timestamp) - extract(epoch from '2026-07-09 13:07:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560579 -2.822809)'), GeomFromEWKT('SRID=4674;POINT (-40.560619 -2.822815)'))) / (select extract(epoch from '2026-07-09 13:07:43'::timestamp) - extract(epoch from '2026-07-09 13:07: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'), 47635, 'SRID=4674;POINT (-40.560657 -2.822821)', '2026-07-09 13:07:49', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560619 -2.822815)'), GeomFromEWKT('SRID=4674;POINT (-40.560657 -2.822821)'))) / (select extract(epoch from '2026-07-09 13:07:49'::timestamp) - extract(epoch from '2026-07-09 13:07:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560619 -2.822815)'), GeomFromEWKT('SRID=4674;POINT (-40.560657 -2.822821)'))) / (select extract(epoch from '2026-07-09 13:07:49'::timestamp) - extract(epoch from '2026-07-09 13:07: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'), 47635, 'SRID=4674;POINT (-40.560694 -2.822826)', '2026-07-09 13:07:56', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560657 -2.822821)'), GeomFromEWKT('SRID=4674;POINT (-40.560694 -2.822826)'))) / (select extract(epoch from '2026-07-09 13:07:56'::timestamp) - extract(epoch from '2026-07-09 13:07:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560657 -2.822821)'), GeomFromEWKT('SRID=4674;POINT (-40.560694 -2.822826)'))) / (select extract(epoch from '2026-07-09 13:07:56'::timestamp) - extract(epoch from '2026-07-09 13:07:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.56074 -2.82283)', '2026-07-09 13:08:05', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560694 -2.822826)'), GeomFromEWKT('SRID=4674;POINT (-40.56074 -2.82283)'))) / (select extract(epoch from '2026-07-09 13:08:05'::timestamp) - extract(epoch from '2026-07-09 13:07:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560694 -2.822826)'), GeomFromEWKT('SRID=4674;POINT (-40.56074 -2.82283)'))) / (select extract(epoch from '2026-07-09 13:08:05'::timestamp) - extract(epoch from '2026-07-09 13:07: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'), 47635, 'SRID=4674;POINT (-40.560767 -2.822834)', '2026-07-09 13:08:10', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56074 -2.82283)'), GeomFromEWKT('SRID=4674;POINT (-40.560767 -2.822834)'))) / (select extract(epoch from '2026-07-09 13:08:10'::timestamp) - extract(epoch from '2026-07-09 13:08:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56074 -2.82283)'), GeomFromEWKT('SRID=4674;POINT (-40.560767 -2.822834)'))) / (select extract(epoch from '2026-07-09 13:08:10'::timestamp) - extract(epoch from '2026-07-09 13:08: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'), 47635, 'SRID=4674;POINT (-40.560809 -2.822841)', '2026-07-09 13:08:17', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560767 -2.822834)'), GeomFromEWKT('SRID=4674;POINT (-40.560809 -2.822841)'))) / (select extract(epoch from '2026-07-09 13:08:17'::timestamp) - extract(epoch from '2026-07-09 13:08:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560767 -2.822834)'), GeomFromEWKT('SRID=4674;POINT (-40.560809 -2.822841)'))) / (select extract(epoch from '2026-07-09 13:08:17'::timestamp) - extract(epoch from '2026-07-09 13:08: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'), 47635, 'SRID=4674;POINT (-40.560859 -2.822849)', '2026-07-09 13:08:26', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560809 -2.822841)'), GeomFromEWKT('SRID=4674;POINT (-40.560859 -2.822849)'))) / (select extract(epoch from '2026-07-09 13:08:26'::timestamp) - extract(epoch from '2026-07-09 13:08:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560809 -2.822841)'), GeomFromEWKT('SRID=4674;POINT (-40.560859 -2.822849)'))) / (select extract(epoch from '2026-07-09 13:08:26'::timestamp) - extract(epoch from '2026-07-09 13:08: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'), 47635, 'SRID=4674;POINT (-40.560892 -2.822847)', '2026-07-09 13:08:33', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560859 -2.822849)'), GeomFromEWKT('SRID=4674;POINT (-40.560892 -2.822847)'))) / (select extract(epoch from '2026-07-09 13:08:33'::timestamp) - extract(epoch from '2026-07-09 13:08:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560859 -2.822849)'), GeomFromEWKT('SRID=4674;POINT (-40.560892 -2.822847)'))) / (select extract(epoch from '2026-07-09 13:08:33'::timestamp) - extract(epoch from '2026-07-09 13:08:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.560919 -2.822855)', '2026-07-09 13:08:39', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560892 -2.822847)'), GeomFromEWKT('SRID=4674;POINT (-40.560919 -2.822855)'))) / (select extract(epoch from '2026-07-09 13:08:39'::timestamp) - extract(epoch from '2026-07-09 13:08:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560892 -2.822847)'), GeomFromEWKT('SRID=4674;POINT (-40.560919 -2.822855)'))) / (select extract(epoch from '2026-07-09 13:08:39'::timestamp) - extract(epoch from '2026-07-09 13:08: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'), 47635, 'SRID=4674;POINT (-40.56101 -2.822874)', '2026-07-09 13:08:57', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560919 -2.822855)'), GeomFromEWKT('SRID=4674;POINT (-40.56101 -2.822874)'))) / (select extract(epoch from '2026-07-09 13:08:57'::timestamp) - extract(epoch from '2026-07-09 13:08:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560919 -2.822855)'), GeomFromEWKT('SRID=4674;POINT (-40.56101 -2.822874)'))) / (select extract(epoch from '2026-07-09 13:08:57'::timestamp) - extract(epoch from '2026-07-09 13:08:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.561061 -2.822881)', '2026-07-09 13:09:06', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56101 -2.822874)'), GeomFromEWKT('SRID=4674;POINT (-40.561061 -2.822881)'))) / (select extract(epoch from '2026-07-09 13:09:06'::timestamp) - extract(epoch from '2026-07-09 13:08:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56101 -2.822874)'), GeomFromEWKT('SRID=4674;POINT (-40.561061 -2.822881)'))) / (select extract(epoch from '2026-07-09 13:09:06'::timestamp) - extract(epoch from '2026-07-09 13:08: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'), 47635, 'SRID=4674;POINT (-40.561111 -2.822878)', '2026-07-09 13:09:16', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561061 -2.822881)'), GeomFromEWKT('SRID=4674;POINT (-40.561111 -2.822878)'))) / (select extract(epoch from '2026-07-09 13:09:16'::timestamp) - extract(epoch from '2026-07-09 13:09:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561061 -2.822881)'), GeomFromEWKT('SRID=4674;POINT (-40.561111 -2.822878)'))) / (select extract(epoch from '2026-07-09 13:09:16'::timestamp) - extract(epoch from '2026-07-09 13:09: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'), 47635, 'SRID=4674;POINT (-40.56114 -2.82288)', '2026-07-09 13:09:22', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561111 -2.822878)'), GeomFromEWKT('SRID=4674;POINT (-40.56114 -2.82288)'))) / (select extract(epoch from '2026-07-09 13:09:22'::timestamp) - extract(epoch from '2026-07-09 13:09:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561111 -2.822878)'), GeomFromEWKT('SRID=4674;POINT (-40.56114 -2.82288)'))) / (select extract(epoch from '2026-07-09 13:09:22'::timestamp) - extract(epoch from '2026-07-09 13:09: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'), 47635, 'SRID=4674;POINT (-40.56117 -2.822883)', '2026-07-09 13:09:27', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56114 -2.82288)'), GeomFromEWKT('SRID=4674;POINT (-40.56117 -2.822883)'))) / (select extract(epoch from '2026-07-09 13:09:27'::timestamp) - extract(epoch from '2026-07-09 13:09:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56114 -2.82288)'), GeomFromEWKT('SRID=4674;POINT (-40.56117 -2.822883)'))) / (select extract(epoch from '2026-07-09 13:09:27'::timestamp) - extract(epoch from '2026-07-09 13:09: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'), 47635, 'SRID=4674;POINT (-40.561183 -2.822884)', '2026-07-09 13:09:29', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56117 -2.822883)'), GeomFromEWKT('SRID=4674;POINT (-40.561183 -2.822884)'))) / (select extract(epoch from '2026-07-09 13:09:29'::timestamp) - extract(epoch from '2026-07-09 13:09:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56117 -2.822883)'), GeomFromEWKT('SRID=4674;POINT (-40.561183 -2.822884)'))) / (select extract(epoch from '2026-07-09 13:09:29'::timestamp) - extract(epoch from '2026-07-09 13:09: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'), 47635, 'SRID=4674;POINT (-40.561239 -2.822886)', '2026-07-09 13:09:37', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561183 -2.822884)'), GeomFromEWKT('SRID=4674;POINT (-40.561239 -2.822886)'))) / (select extract(epoch from '2026-07-09 13:09:37'::timestamp) - extract(epoch from '2026-07-09 13:09:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561183 -2.822884)'), GeomFromEWKT('SRID=4674;POINT (-40.561239 -2.822886)'))) / (select extract(epoch from '2026-07-09 13:09:37'::timestamp) - extract(epoch from '2026-07-09 13:09: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'), 47635, 'SRID=4674;POINT (-40.561265 -2.822881)', '2026-07-09 13:09:41', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561239 -2.822886)'), GeomFromEWKT('SRID=4674;POINT (-40.561265 -2.822881)'))) / (select extract(epoch from '2026-07-09 13:09:41'::timestamp) - extract(epoch from '2026-07-09 13:09:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561239 -2.822886)'), GeomFromEWKT('SRID=4674;POINT (-40.561265 -2.822881)'))) / (select extract(epoch from '2026-07-09 13:09:41'::timestamp) - extract(epoch from '2026-07-09 13:09:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.561297 -2.82289)', '2026-07-09 13:09:45', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561265 -2.822881)'), GeomFromEWKT('SRID=4674;POINT (-40.561297 -2.82289)'))) / (select extract(epoch from '2026-07-09 13:09:45'::timestamp) - extract(epoch from '2026-07-09 13:09:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561265 -2.822881)'), GeomFromEWKT('SRID=4674;POINT (-40.561297 -2.82289)'))) / (select extract(epoch from '2026-07-09 13:09:45'::timestamp) - extract(epoch from '2026-07-09 13:09:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.561352 -2.822884)', '2026-07-09 13:09:52', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561297 -2.82289)'), GeomFromEWKT('SRID=4674;POINT (-40.561352 -2.822884)'))) / (select extract(epoch from '2026-07-09 13:09:52'::timestamp) - extract(epoch from '2026-07-09 13:09:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561297 -2.82289)'), GeomFromEWKT('SRID=4674;POINT (-40.561352 -2.822884)'))) / (select extract(epoch from '2026-07-09 13:09:52'::timestamp) - extract(epoch from '2026-07-09 13:09:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.561415 -2.822882)', '2026-07-09 13:10:00', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561352 -2.822884)'), GeomFromEWKT('SRID=4674;POINT (-40.561415 -2.822882)'))) / (select extract(epoch from '2026-07-09 13:10:00'::timestamp) - extract(epoch from '2026-07-09 13:09:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561352 -2.822884)'), GeomFromEWKT('SRID=4674;POINT (-40.561415 -2.822882)'))) / (select extract(epoch from '2026-07-09 13:10:00'::timestamp) - extract(epoch from '2026-07-09 13:09: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'), 47635, 'SRID=4674;POINT (-40.56147 -2.822893)', '2026-07-09 13:10:07', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561415 -2.822882)'), GeomFromEWKT('SRID=4674;POINT (-40.56147 -2.822893)'))) / (select extract(epoch from '2026-07-09 13:10:07'::timestamp) - extract(epoch from '2026-07-09 13:10:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561415 -2.822882)'), GeomFromEWKT('SRID=4674;POINT (-40.56147 -2.822893)'))) / (select extract(epoch from '2026-07-09 13:10:07'::timestamp) - extract(epoch from '2026-07-09 13:10: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'), 47635, 'SRID=4674;POINT (-40.561516 -2.822897)', '2026-07-09 13:10:13', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56147 -2.822893)'), GeomFromEWKT('SRID=4674;POINT (-40.561516 -2.822897)'))) / (select extract(epoch from '2026-07-09 13:10:13'::timestamp) - extract(epoch from '2026-07-09 13:10:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56147 -2.822893)'), GeomFromEWKT('SRID=4674;POINT (-40.561516 -2.822897)'))) / (select extract(epoch from '2026-07-09 13:10:13'::timestamp) - extract(epoch from '2026-07-09 13:10: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'), 47635, 'SRID=4674;POINT (-40.561523 -2.822898)', '2026-07-09 13:10:14', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561516 -2.822897)'), GeomFromEWKT('SRID=4674;POINT (-40.561523 -2.822898)'))) / (select extract(epoch from '2026-07-09 13:10:14'::timestamp) - extract(epoch from '2026-07-09 13:10:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561516 -2.822897)'), GeomFromEWKT('SRID=4674;POINT (-40.561523 -2.822898)'))) / (select extract(epoch from '2026-07-09 13:10:14'::timestamp) - extract(epoch from '2026-07-09 13:10: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'), 47635, 'SRID=4674;POINT (-40.561538 -2.822901)', '2026-07-09 13:10:16', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561523 -2.822898)'), GeomFromEWKT('SRID=4674;POINT (-40.561538 -2.822901)'))) / (select extract(epoch from '2026-07-09 13:10:16'::timestamp) - extract(epoch from '2026-07-09 13:10:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561523 -2.822898)'), GeomFromEWKT('SRID=4674;POINT (-40.561538 -2.822901)'))) / (select extract(epoch from '2026-07-09 13:10:16'::timestamp) - extract(epoch from '2026-07-09 13:10: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'), 47635, 'SRID=4674;POINT (-40.561553 -2.8229)', '2026-07-09 13:10:18', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561538 -2.822901)'), GeomFromEWKT('SRID=4674;POINT (-40.561553 -2.8229)'))) / (select extract(epoch from '2026-07-09 13:10:18'::timestamp) - extract(epoch from '2026-07-09 13:10:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561538 -2.822901)'), GeomFromEWKT('SRID=4674;POINT (-40.561553 -2.8229)'))) / (select extract(epoch from '2026-07-09 13:10:18'::timestamp) - extract(epoch from '2026-07-09 13:10: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'), 47635, 'SRID=4674;POINT (-40.561579 -2.822899)', '2026-07-09 13:10:23', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561553 -2.8229)'), GeomFromEWKT('SRID=4674;POINT (-40.561579 -2.822899)'))) / (select extract(epoch from '2026-07-09 13:10:23'::timestamp) - extract(epoch from '2026-07-09 13:10:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561553 -2.8229)'), GeomFromEWKT('SRID=4674;POINT (-40.561579 -2.822899)'))) / (select extract(epoch from '2026-07-09 13:10:23'::timestamp) - extract(epoch from '2026-07-09 13:10: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'), 47635, 'SRID=4674;POINT (-40.561599 -2.822902)', '2026-07-09 13:10:26', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561579 -2.822899)'), GeomFromEWKT('SRID=4674;POINT (-40.561599 -2.822902)'))) / (select extract(epoch from '2026-07-09 13:10:26'::timestamp) - extract(epoch from '2026-07-09 13:10:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561579 -2.822899)'), GeomFromEWKT('SRID=4674;POINT (-40.561599 -2.822902)'))) / (select extract(epoch from '2026-07-09 13:10:26'::timestamp) - extract(epoch from '2026-07-09 13:10:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.561619 -2.822901)', '2026-07-09 13:10:29', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561599 -2.822902)'), GeomFromEWKT('SRID=4674;POINT (-40.561619 -2.822901)'))) / (select extract(epoch from '2026-07-09 13:10:29'::timestamp) - extract(epoch from '2026-07-09 13:10:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561599 -2.822902)'), GeomFromEWKT('SRID=4674;POINT (-40.561619 -2.822901)'))) / (select extract(epoch from '2026-07-09 13:10:29'::timestamp) - extract(epoch from '2026-07-09 13:10: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'), 47635, 'SRID=4674;POINT (-40.56166 -2.822906)', '2026-07-09 13:10:35', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561619 -2.822901)'), GeomFromEWKT('SRID=4674;POINT (-40.56166 -2.822906)'))) / (select extract(epoch from '2026-07-09 13:10:35'::timestamp) - extract(epoch from '2026-07-09 13:10:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561619 -2.822901)'), GeomFromEWKT('SRID=4674;POINT (-40.56166 -2.822906)'))) / (select extract(epoch from '2026-07-09 13:10:35'::timestamp) - extract(epoch from '2026-07-09 13:10:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.561674 -2.822908)', '2026-07-09 13:10:37', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56166 -2.822906)'), GeomFromEWKT('SRID=4674;POINT (-40.561674 -2.822908)'))) / (select extract(epoch from '2026-07-09 13:10:37'::timestamp) - extract(epoch from '2026-07-09 13:10:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56166 -2.822906)'), GeomFromEWKT('SRID=4674;POINT (-40.561674 -2.822908)'))) / (select extract(epoch from '2026-07-09 13:10:37'::timestamp) - extract(epoch from '2026-07-09 13:10:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.561732 -2.822908)', '2026-07-09 13:10:46', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561674 -2.822908)'), GeomFromEWKT('SRID=4674;POINT (-40.561732 -2.822908)'))) / (select extract(epoch from '2026-07-09 13:10:46'::timestamp) - extract(epoch from '2026-07-09 13:10:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561674 -2.822908)'), GeomFromEWKT('SRID=4674;POINT (-40.561732 -2.822908)'))) / (select extract(epoch from '2026-07-09 13:10:46'::timestamp) - extract(epoch from '2026-07-09 13:10:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.561759 -2.822906)', '2026-07-09 13:10:50', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561732 -2.822908)'), GeomFromEWKT('SRID=4674;POINT (-40.561759 -2.822906)'))) / (select extract(epoch from '2026-07-09 13:10:50'::timestamp) - extract(epoch from '2026-07-09 13:10:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561732 -2.822908)'), GeomFromEWKT('SRID=4674;POINT (-40.561759 -2.822906)'))) / (select extract(epoch from '2026-07-09 13:10:50'::timestamp) - extract(epoch from '2026-07-09 13:10: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'), 47635, 'SRID=4674;POINT (-40.561777 -2.822911)', '2026-07-09 13:10:52', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561759 -2.822906)'), GeomFromEWKT('SRID=4674;POINT (-40.561777 -2.822911)'))) / (select extract(epoch from '2026-07-09 13:10:52'::timestamp) - extract(epoch from '2026-07-09 13:10:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561759 -2.822906)'), GeomFromEWKT('SRID=4674;POINT (-40.561777 -2.822911)'))) / (select extract(epoch from '2026-07-09 13:10:52'::timestamp) - extract(epoch from '2026-07-09 13:10: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'), 47635, 'SRID=4674;POINT (-40.561853 -2.822907)', '2026-07-09 13:11:02', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561777 -2.822911)'), GeomFromEWKT('SRID=4674;POINT (-40.561853 -2.822907)'))) / (select extract(epoch from '2026-07-09 13:11:02'::timestamp) - extract(epoch from '2026-07-09 13:10:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561777 -2.822911)'), GeomFromEWKT('SRID=4674;POINT (-40.561853 -2.822907)'))) / (select extract(epoch from '2026-07-09 13:11:02'::timestamp) - extract(epoch from '2026-07-09 13:10:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.561871 -2.822905)', '2026-07-09 13:11:04', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561853 -2.822907)'), GeomFromEWKT('SRID=4674;POINT (-40.561871 -2.822905)'))) / (select extract(epoch from '2026-07-09 13:11:04'::timestamp) - extract(epoch from '2026-07-09 13:11:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561853 -2.822907)'), GeomFromEWKT('SRID=4674;POINT (-40.561871 -2.822905)'))) / (select extract(epoch from '2026-07-09 13:11:04'::timestamp) - extract(epoch from '2026-07-09 13:11: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'), 47635, 'SRID=4674;POINT (-40.561887 -2.822906)', '2026-07-09 13:11:06', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561871 -2.822905)'), GeomFromEWKT('SRID=4674;POINT (-40.561887 -2.822906)'))) / (select extract(epoch from '2026-07-09 13:11:06'::timestamp) - extract(epoch from '2026-07-09 13:11:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561871 -2.822905)'), GeomFromEWKT('SRID=4674;POINT (-40.561887 -2.822906)'))) / (select extract(epoch from '2026-07-09 13:11:06'::timestamp) - extract(epoch from '2026-07-09 13:11: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'), 47635, 'SRID=4674;POINT (-40.561914 -2.822909)', '2026-07-09 13:11:09', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561887 -2.822906)'), GeomFromEWKT('SRID=4674;POINT (-40.561914 -2.822909)'))) / (select extract(epoch from '2026-07-09 13:11:09'::timestamp) - extract(epoch from '2026-07-09 13:11:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561887 -2.822906)'), GeomFromEWKT('SRID=4674;POINT (-40.561914 -2.822909)'))) / (select extract(epoch from '2026-07-09 13:11:09'::timestamp) - extract(epoch from '2026-07-09 13:11: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'), 47635, 'SRID=4674;POINT (-40.561923 -2.822907)', '2026-07-09 13:11:10', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561914 -2.822909)'), GeomFromEWKT('SRID=4674;POINT (-40.561923 -2.822907)'))) / (select extract(epoch from '2026-07-09 13:11:10'::timestamp) - extract(epoch from '2026-07-09 13:11:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561914 -2.822909)'), GeomFromEWKT('SRID=4674;POINT (-40.561923 -2.822907)'))) / (select extract(epoch from '2026-07-09 13:11:10'::timestamp) - extract(epoch from '2026-07-09 13:11: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'), 47635, 'SRID=4674;POINT (-40.561944 -2.822914)', '2026-07-09 13:11:12', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561923 -2.822907)'), GeomFromEWKT('SRID=4674;POINT (-40.561944 -2.822914)'))) / (select extract(epoch from '2026-07-09 13:11:12'::timestamp) - extract(epoch from '2026-07-09 13:11:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561923 -2.822907)'), GeomFromEWKT('SRID=4674;POINT (-40.561944 -2.822914)'))) / (select extract(epoch from '2026-07-09 13:11:12'::timestamp) - extract(epoch from '2026-07-09 13:11: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'), 47635, 'SRID=4674;POINT (-40.561952 -2.822911)', '2026-07-09 13:11:13', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561944 -2.822914)'), GeomFromEWKT('SRID=4674;POINT (-40.561952 -2.822911)'))) / (select extract(epoch from '2026-07-09 13:11:13'::timestamp) - extract(epoch from '2026-07-09 13:11:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561944 -2.822914)'), GeomFromEWKT('SRID=4674;POINT (-40.561952 -2.822911)'))) / (select extract(epoch from '2026-07-09 13:11:13'::timestamp) - extract(epoch from '2026-07-09 13:11: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'), 47635, 'SRID=4674;POINT (-40.56196 -2.822909)', '2026-07-09 13:11:14', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561952 -2.822911)'), GeomFromEWKT('SRID=4674;POINT (-40.56196 -2.822909)'))) / (select extract(epoch from '2026-07-09 13:11:14'::timestamp) - extract(epoch from '2026-07-09 13:11:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561952 -2.822911)'), GeomFromEWKT('SRID=4674;POINT (-40.56196 -2.822909)'))) / (select extract(epoch from '2026-07-09 13:11:14'::timestamp) - extract(epoch from '2026-07-09 13:11: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'), 47635, 'SRID=4674;POINT (-40.562003 -2.822913)', '2026-07-09 13:11:18', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56196 -2.822909)'), GeomFromEWKT('SRID=4674;POINT (-40.562003 -2.822913)'))) / (select extract(epoch from '2026-07-09 13:11:18'::timestamp) - extract(epoch from '2026-07-09 13:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56196 -2.822909)'), GeomFromEWKT('SRID=4674;POINT (-40.562003 -2.822913)'))) / (select extract(epoch from '2026-07-09 13:11:18'::timestamp) - extract(epoch from '2026-07-09 13:11:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.56201 -2.82291)', '2026-07-09 13:11:19', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562003 -2.822913)'), GeomFromEWKT('SRID=4674;POINT (-40.56201 -2.82291)'))) / (select extract(epoch from '2026-07-09 13:11:19'::timestamp) - extract(epoch from '2026-07-09 13:11:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562003 -2.822913)'), GeomFromEWKT('SRID=4674;POINT (-40.56201 -2.82291)'))) / (select extract(epoch from '2026-07-09 13:11:19'::timestamp) - extract(epoch from '2026-07-09 13:11:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.56202 -2.82291)', '2026-07-09 13:11:20', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56201 -2.82291)'), GeomFromEWKT('SRID=4674;POINT (-40.56202 -2.82291)'))) / (select extract(epoch from '2026-07-09 13:11:20'::timestamp) - extract(epoch from '2026-07-09 13:11:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56201 -2.82291)'), GeomFromEWKT('SRID=4674;POINT (-40.56202 -2.82291)'))) / (select extract(epoch from '2026-07-09 13:11:20'::timestamp) - extract(epoch from '2026-07-09 13:11: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'), 47635, 'SRID=4674;POINT (-40.562063 -2.822903)', '2026-07-09 13:11:25', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56202 -2.82291)'), GeomFromEWKT('SRID=4674;POINT (-40.562063 -2.822903)'))) / (select extract(epoch from '2026-07-09 13:11:25'::timestamp) - extract(epoch from '2026-07-09 13:11:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56202 -2.82291)'), GeomFromEWKT('SRID=4674;POINT (-40.562063 -2.822903)'))) / (select extract(epoch from '2026-07-09 13:11:25'::timestamp) - extract(epoch from '2026-07-09 13:11: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'), 47635, 'SRID=4674;POINT (-40.562089 -2.822898)', '2026-07-09 13:11:28', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562063 -2.822903)'), GeomFromEWKT('SRID=4674;POINT (-40.562089 -2.822898)'))) / (select extract(epoch from '2026-07-09 13:11:28'::timestamp) - extract(epoch from '2026-07-09 13:11:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562063 -2.822903)'), GeomFromEWKT('SRID=4674;POINT (-40.562089 -2.822898)'))) / (select extract(epoch from '2026-07-09 13:11:28'::timestamp) - extract(epoch from '2026-07-09 13:11:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.562107 -2.822892)', '2026-07-09 13:11:30', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562089 -2.822898)'), GeomFromEWKT('SRID=4674;POINT (-40.562107 -2.822892)'))) / (select extract(epoch from '2026-07-09 13:11:30'::timestamp) - extract(epoch from '2026-07-09 13:11:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562089 -2.822898)'), GeomFromEWKT('SRID=4674;POINT (-40.562107 -2.822892)'))) / (select extract(epoch from '2026-07-09 13:11:30'::timestamp) - extract(epoch from '2026-07-09 13:11:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.562116 -2.822888)', '2026-07-09 13:11:31', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562107 -2.822892)'), GeomFromEWKT('SRID=4674;POINT (-40.562116 -2.822888)'))) / (select extract(epoch from '2026-07-09 13:11:31'::timestamp) - extract(epoch from '2026-07-09 13:11:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562107 -2.822892)'), GeomFromEWKT('SRID=4674;POINT (-40.562116 -2.822888)'))) / (select extract(epoch from '2026-07-09 13:11:31'::timestamp) - extract(epoch from '2026-07-09 13:11: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'), 47635, 'SRID=4674;POINT (-40.562159 -2.822886)', '2026-07-09 13:11:36', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562116 -2.822888)'), GeomFromEWKT('SRID=4674;POINT (-40.562159 -2.822886)'))) / (select extract(epoch from '2026-07-09 13:11:36'::timestamp) - extract(epoch from '2026-07-09 13:11:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562116 -2.822888)'), GeomFromEWKT('SRID=4674;POINT (-40.562159 -2.822886)'))) / (select extract(epoch from '2026-07-09 13:11:36'::timestamp) - extract(epoch from '2026-07-09 13:11: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'), 47635, 'SRID=4674;POINT (-40.562175 -2.822878)', '2026-07-09 13:11:38', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562159 -2.822886)'), GeomFromEWKT('SRID=4674;POINT (-40.562175 -2.822878)'))) / (select extract(epoch from '2026-07-09 13:11:38'::timestamp) - extract(epoch from '2026-07-09 13:11:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562159 -2.822886)'), GeomFromEWKT('SRID=4674;POINT (-40.562175 -2.822878)'))) / (select extract(epoch from '2026-07-09 13:11:38'::timestamp) - extract(epoch from '2026-07-09 13:11:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.562207 -2.822877)', '2026-07-09 13:11:42', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562175 -2.822878)'), GeomFromEWKT('SRID=4674;POINT (-40.562207 -2.822877)'))) / (select extract(epoch from '2026-07-09 13:11:42'::timestamp) - extract(epoch from '2026-07-09 13:11:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562175 -2.822878)'), GeomFromEWKT('SRID=4674;POINT (-40.562207 -2.822877)'))) / (select extract(epoch from '2026-07-09 13:11:42'::timestamp) - extract(epoch from '2026-07-09 13:11: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'), 47635, 'SRID=4674;POINT (-40.562233 -2.822873)', '2026-07-09 13:11:45', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562207 -2.822877)'), GeomFromEWKT('SRID=4674;POINT (-40.562233 -2.822873)'))) / (select extract(epoch from '2026-07-09 13:11:45'::timestamp) - extract(epoch from '2026-07-09 13:11:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562207 -2.822877)'), GeomFromEWKT('SRID=4674;POINT (-40.562233 -2.822873)'))) / (select extract(epoch from '2026-07-09 13:11:45'::timestamp) - extract(epoch from '2026-07-09 13:11:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.562249 -2.822868)', '2026-07-09 13:11:47', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562233 -2.822873)'), GeomFromEWKT('SRID=4674;POINT (-40.562249 -2.822868)'))) / (select extract(epoch from '2026-07-09 13:11:47'::timestamp) - extract(epoch from '2026-07-09 13:11:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562233 -2.822873)'), GeomFromEWKT('SRID=4674;POINT (-40.562249 -2.822868)'))) / (select extract(epoch from '2026-07-09 13:11:47'::timestamp) - extract(epoch from '2026-07-09 13:11:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.562281 -2.822868)', '2026-07-09 13:11:51', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562249 -2.822868)'), GeomFromEWKT('SRID=4674;POINT (-40.562281 -2.822868)'))) / (select extract(epoch from '2026-07-09 13:11:51'::timestamp) - extract(epoch from '2026-07-09 13:11:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562249 -2.822868)'), GeomFromEWKT('SRID=4674;POINT (-40.562281 -2.822868)'))) / (select extract(epoch from '2026-07-09 13:11:51'::timestamp) - extract(epoch from '2026-07-09 13:11: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'), 47635, 'SRID=4674;POINT (-40.562307 -2.822868)', '2026-07-09 13:11:55', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562281 -2.822868)'), GeomFromEWKT('SRID=4674;POINT (-40.562307 -2.822868)'))) / (select extract(epoch from '2026-07-09 13:11:55'::timestamp) - extract(epoch from '2026-07-09 13:11:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562281 -2.822868)'), GeomFromEWKT('SRID=4674;POINT (-40.562307 -2.822868)'))) / (select extract(epoch from '2026-07-09 13:11:55'::timestamp) - extract(epoch from '2026-07-09 13:11: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'), 47635, 'SRID=4674;POINT (-40.562321 -2.822869)', '2026-07-09 13:11:58', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562307 -2.822868)'), GeomFromEWKT('SRID=4674;POINT (-40.562321 -2.822869)'))) / (select extract(epoch from '2026-07-09 13:11:58'::timestamp) - extract(epoch from '2026-07-09 13:11:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562307 -2.822868)'), GeomFromEWKT('SRID=4674;POINT (-40.562321 -2.822869)'))) / (select extract(epoch from '2026-07-09 13:11:58'::timestamp) - extract(epoch from '2026-07-09 13:11:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.562366 -2.822874)', '2026-07-09 13:12:07', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562321 -2.822869)'), GeomFromEWKT('SRID=4674;POINT (-40.562366 -2.822874)'))) / (select extract(epoch from '2026-07-09 13:12:07'::timestamp) - extract(epoch from '2026-07-09 13:11:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562321 -2.822869)'), GeomFromEWKT('SRID=4674;POINT (-40.562366 -2.822874)'))) / (select extract(epoch from '2026-07-09 13:12:07'::timestamp) - extract(epoch from '2026-07-09 13:11: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'), 47635, 'SRID=4674;POINT (-40.562408 -2.822877)', '2026-07-09 13:12:14', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562366 -2.822874)'), GeomFromEWKT('SRID=4674;POINT (-40.562408 -2.822877)'))) / (select extract(epoch from '2026-07-09 13:12:14'::timestamp) - extract(epoch from '2026-07-09 13:12:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562366 -2.822874)'), GeomFromEWKT('SRID=4674;POINT (-40.562408 -2.822877)'))) / (select extract(epoch from '2026-07-09 13:12:14'::timestamp) - extract(epoch from '2026-07-09 13:12:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.56244 -2.822871)', '2026-07-09 13:12:19', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562408 -2.822877)'), GeomFromEWKT('SRID=4674;POINT (-40.56244 -2.822871)'))) / (select extract(epoch from '2026-07-09 13:12:19'::timestamp) - extract(epoch from '2026-07-09 13:12:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562408 -2.822877)'), GeomFromEWKT('SRID=4674;POINT (-40.56244 -2.822871)'))) / (select extract(epoch from '2026-07-09 13:12:19'::timestamp) - extract(epoch from '2026-07-09 13:12:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.562446 -2.822871)', '2026-07-09 13:12:20', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56244 -2.822871)'), GeomFromEWKT('SRID=4674;POINT (-40.562446 -2.822871)'))) / (select extract(epoch from '2026-07-09 13:12:20'::timestamp) - extract(epoch from '2026-07-09 13:12:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56244 -2.822871)'), GeomFromEWKT('SRID=4674;POINT (-40.562446 -2.822871)'))) / (select extract(epoch from '2026-07-09 13:12:20'::timestamp) - extract(epoch from '2026-07-09 13:12:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.562498 -2.822872)', '2026-07-09 13:12:27', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562446 -2.822871)'), GeomFromEWKT('SRID=4674;POINT (-40.562498 -2.822872)'))) / (select extract(epoch from '2026-07-09 13:12:27'::timestamp) - extract(epoch from '2026-07-09 13:12:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562446 -2.822871)'), GeomFromEWKT('SRID=4674;POINT (-40.562498 -2.822872)'))) / (select extract(epoch from '2026-07-09 13:12:27'::timestamp) - extract(epoch from '2026-07-09 13:12:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.562559 -2.822871)', '2026-07-09 13:12:35', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562498 -2.822872)'), GeomFromEWKT('SRID=4674;POINT (-40.562559 -2.822871)'))) / (select extract(epoch from '2026-07-09 13:12:35'::timestamp) - extract(epoch from '2026-07-09 13:12:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562498 -2.822872)'), GeomFromEWKT('SRID=4674;POINT (-40.562559 -2.822871)'))) / (select extract(epoch from '2026-07-09 13:12:35'::timestamp) - extract(epoch from '2026-07-09 13:12:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.562595 -2.822872)', '2026-07-09 13:12:40', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562559 -2.822871)'), GeomFromEWKT('SRID=4674;POINT (-40.562595 -2.822872)'))) / (select extract(epoch from '2026-07-09 13:12:40'::timestamp) - extract(epoch from '2026-07-09 13:12:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562559 -2.822871)'), GeomFromEWKT('SRID=4674;POINT (-40.562595 -2.822872)'))) / (select extract(epoch from '2026-07-09 13:12:40'::timestamp) - extract(epoch from '2026-07-09 13:12:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.562658 -2.822869)', '2026-07-09 13:12:48', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562595 -2.822872)'), GeomFromEWKT('SRID=4674;POINT (-40.562658 -2.822869)'))) / (select extract(epoch from '2026-07-09 13:12:48'::timestamp) - extract(epoch from '2026-07-09 13:12:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562595 -2.822872)'), GeomFromEWKT('SRID=4674;POINT (-40.562658 -2.822869)'))) / (select extract(epoch from '2026-07-09 13:12:48'::timestamp) - extract(epoch from '2026-07-09 13:12: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'), 47635, 'SRID=4674;POINT (-40.562666 -2.822869)', '2026-07-09 13:12:49', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562658 -2.822869)'), GeomFromEWKT('SRID=4674;POINT (-40.562666 -2.822869)'))) / (select extract(epoch from '2026-07-09 13:12:49'::timestamp) - extract(epoch from '2026-07-09 13:12:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562658 -2.822869)'), GeomFromEWKT('SRID=4674;POINT (-40.562666 -2.822869)'))) / (select extract(epoch from '2026-07-09 13:12:49'::timestamp) - extract(epoch from '2026-07-09 13:12: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'), 47635, 'SRID=4674;POINT (-40.562717 -2.822862)', '2026-07-09 13:12:55', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562666 -2.822869)'), GeomFromEWKT('SRID=4674;POINT (-40.562717 -2.822862)'))) / (select extract(epoch from '2026-07-09 13:12:55'::timestamp) - extract(epoch from '2026-07-09 13:12:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562666 -2.822869)'), GeomFromEWKT('SRID=4674;POINT (-40.562717 -2.822862)'))) / (select extract(epoch from '2026-07-09 13:12:55'::timestamp) - extract(epoch from '2026-07-09 13:12:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.562736 -2.822864)', '2026-07-09 13:12:57', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562717 -2.822862)'), GeomFromEWKT('SRID=4674;POINT (-40.562736 -2.822864)'))) / (select extract(epoch from '2026-07-09 13:12:57'::timestamp) - extract(epoch from '2026-07-09 13:12:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562717 -2.822862)'), GeomFromEWKT('SRID=4674;POINT (-40.562736 -2.822864)'))) / (select extract(epoch from '2026-07-09 13:12:57'::timestamp) - extract(epoch from '2026-07-09 13:12:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.562785 -2.822866)', '2026-07-09 13:13:02', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562736 -2.822864)'), GeomFromEWKT('SRID=4674;POINT (-40.562785 -2.822866)'))) / (select extract(epoch from '2026-07-09 13:13:02'::timestamp) - extract(epoch from '2026-07-09 13:12:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562736 -2.822864)'), GeomFromEWKT('SRID=4674;POINT (-40.562785 -2.822866)'))) / (select extract(epoch from '2026-07-09 13:13:02'::timestamp) - extract(epoch from '2026-07-09 13:12:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.562794 -2.822864)', '2026-07-09 13:13:03', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562785 -2.822866)'), GeomFromEWKT('SRID=4674;POINT (-40.562794 -2.822864)'))) / (select extract(epoch from '2026-07-09 13:13:03'::timestamp) - extract(epoch from '2026-07-09 13:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562785 -2.822866)'), GeomFromEWKT('SRID=4674;POINT (-40.562794 -2.822864)'))) / (select extract(epoch from '2026-07-09 13:13:03'::timestamp) - extract(epoch from '2026-07-09 13:13:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.562811 -2.822858)', '2026-07-09 13:13:05', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562794 -2.822864)'), GeomFromEWKT('SRID=4674;POINT (-40.562811 -2.822858)'))) / (select extract(epoch from '2026-07-09 13:13:05'::timestamp) - extract(epoch from '2026-07-09 13:13:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562794 -2.822864)'), GeomFromEWKT('SRID=4674;POINT (-40.562811 -2.822858)'))) / (select extract(epoch from '2026-07-09 13:13:05'::timestamp) - extract(epoch from '2026-07-09 13:13: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'), 47635, 'SRID=4674;POINT (-40.562841 -2.822861)', '2026-07-09 13:13:08', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562811 -2.822858)'), GeomFromEWKT('SRID=4674;POINT (-40.562841 -2.822861)'))) / (select extract(epoch from '2026-07-09 13:13:08'::timestamp) - extract(epoch from '2026-07-09 13:13:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562811 -2.822858)'), GeomFromEWKT('SRID=4674;POINT (-40.562841 -2.822861)'))) / (select extract(epoch from '2026-07-09 13:13:08'::timestamp) - extract(epoch from '2026-07-09 13:13: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'), 47635, 'SRID=4674;POINT (-40.56287 -2.822861)', '2026-07-09 13:13:11', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562841 -2.822861)'), GeomFromEWKT('SRID=4674;POINT (-40.56287 -2.822861)'))) / (select extract(epoch from '2026-07-09 13:13:11'::timestamp) - extract(epoch from '2026-07-09 13:13:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562841 -2.822861)'), GeomFromEWKT('SRID=4674;POINT (-40.56287 -2.822861)'))) / (select extract(epoch from '2026-07-09 13:13:11'::timestamp) - extract(epoch from '2026-07-09 13:13:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.562904 -2.822871)', '2026-07-09 13:13:14', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56287 -2.822861)'), GeomFromEWKT('SRID=4674;POINT (-40.562904 -2.822871)'))) / (select extract(epoch from '2026-07-09 13:13:14'::timestamp) - extract(epoch from '2026-07-09 13:13:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56287 -2.822861)'), GeomFromEWKT('SRID=4674;POINT (-40.562904 -2.822871)'))) / (select extract(epoch from '2026-07-09 13:13:14'::timestamp) - extract(epoch from '2026-07-09 13:13:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.562942 -2.822869)', '2026-07-09 13:13:18', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562904 -2.822871)'), GeomFromEWKT('SRID=4674;POINT (-40.562942 -2.822869)'))) / (select extract(epoch from '2026-07-09 13:13:18'::timestamp) - extract(epoch from '2026-07-09 13:13:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562904 -2.822871)'), GeomFromEWKT('SRID=4674;POINT (-40.562942 -2.822869)'))) / (select extract(epoch from '2026-07-09 13:13:18'::timestamp) - extract(epoch from '2026-07-09 13:13: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'), 47635, 'SRID=4674;POINT (-40.562963 -2.82287)', '2026-07-09 13:13:20', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562942 -2.822869)'), GeomFromEWKT('SRID=4674;POINT (-40.562963 -2.82287)'))) / (select extract(epoch from '2026-07-09 13:13:20'::timestamp) - extract(epoch from '2026-07-09 13:13:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562942 -2.822869)'), GeomFromEWKT('SRID=4674;POINT (-40.562963 -2.82287)'))) / (select extract(epoch from '2026-07-09 13:13:20'::timestamp) - extract(epoch from '2026-07-09 13:13:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.563022 -2.822859)', '2026-07-09 13:13:27', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562963 -2.82287)'), GeomFromEWKT('SRID=4674;POINT (-40.563022 -2.822859)'))) / (select extract(epoch from '2026-07-09 13:13:27'::timestamp) - extract(epoch from '2026-07-09 13:13:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562963 -2.82287)'), GeomFromEWKT('SRID=4674;POINT (-40.563022 -2.822859)'))) / (select extract(epoch from '2026-07-09 13:13:27'::timestamp) - extract(epoch from '2026-07-09 13:13:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.563037 -2.822857)', '2026-07-09 13:13:29', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563022 -2.822859)'), GeomFromEWKT('SRID=4674;POINT (-40.563037 -2.822857)'))) / (select extract(epoch from '2026-07-09 13:13:29'::timestamp) - extract(epoch from '2026-07-09 13:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563022 -2.822859)'), GeomFromEWKT('SRID=4674;POINT (-40.563037 -2.822857)'))) / (select extract(epoch from '2026-07-09 13:13:29'::timestamp) - extract(epoch from '2026-07-09 13:13:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.563055 -2.822859)', '2026-07-09 13:13:31', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563037 -2.822857)'), GeomFromEWKT('SRID=4674;POINT (-40.563055 -2.822859)'))) / (select extract(epoch from '2026-07-09 13:13:31'::timestamp) - extract(epoch from '2026-07-09 13:13:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563037 -2.822857)'), GeomFromEWKT('SRID=4674;POINT (-40.563055 -2.822859)'))) / (select extract(epoch from '2026-07-09 13:13:31'::timestamp) - extract(epoch from '2026-07-09 13:13: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'), 47635, 'SRID=4674;POINT (-40.563067 -2.822864)', '2026-07-09 13:13:32', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563055 -2.822859)'), GeomFromEWKT('SRID=4674;POINT (-40.563067 -2.822864)'))) / (select extract(epoch from '2026-07-09 13:13:32'::timestamp) - extract(epoch from '2026-07-09 13:13:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563055 -2.822859)'), GeomFromEWKT('SRID=4674;POINT (-40.563067 -2.822864)'))) / (select extract(epoch from '2026-07-09 13:13:32'::timestamp) - extract(epoch from '2026-07-09 13:13: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'), 47635, 'SRID=4674;POINT (-40.563077 -2.822864)', '2026-07-09 13:13:33', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563067 -2.822864)'), GeomFromEWKT('SRID=4674;POINT (-40.563077 -2.822864)'))) / (select extract(epoch from '2026-07-09 13:13:33'::timestamp) - extract(epoch from '2026-07-09 13:13:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563067 -2.822864)'), GeomFromEWKT('SRID=4674;POINT (-40.563077 -2.822864)'))) / (select extract(epoch from '2026-07-09 13:13:33'::timestamp) - extract(epoch from '2026-07-09 13:13:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.563093 -2.82286)', '2026-07-09 13:13:35', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563077 -2.822864)'), GeomFromEWKT('SRID=4674;POINT (-40.563093 -2.82286)'))) / (select extract(epoch from '2026-07-09 13:13:35'::timestamp) - extract(epoch from '2026-07-09 13:13:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563077 -2.822864)'), GeomFromEWKT('SRID=4674;POINT (-40.563093 -2.82286)'))) / (select extract(epoch from '2026-07-09 13:13:35'::timestamp) - extract(epoch from '2026-07-09 13:13:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.563105 -2.822863)', '2026-07-09 13:13:36', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563093 -2.82286)'), GeomFromEWKT('SRID=4674;POINT (-40.563105 -2.822863)'))) / (select extract(epoch from '2026-07-09 13:13:36'::timestamp) - extract(epoch from '2026-07-09 13:13:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563093 -2.82286)'), GeomFromEWKT('SRID=4674;POINT (-40.563105 -2.822863)'))) / (select extract(epoch from '2026-07-09 13:13:36'::timestamp) - extract(epoch from '2026-07-09 13:13:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.563143 -2.822864)', '2026-07-09 13:13:40', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563105 -2.822863)'), GeomFromEWKT('SRID=4674;POINT (-40.563143 -2.822864)'))) / (select extract(epoch from '2026-07-09 13:13:40'::timestamp) - extract(epoch from '2026-07-09 13:13:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563105 -2.822863)'), GeomFromEWKT('SRID=4674;POINT (-40.563143 -2.822864)'))) / (select extract(epoch from '2026-07-09 13:13:40'::timestamp) - extract(epoch from '2026-07-09 13:13:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.563154 -2.822865)', '2026-07-09 13:13:41', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563143 -2.822864)'), GeomFromEWKT('SRID=4674;POINT (-40.563154 -2.822865)'))) / (select extract(epoch from '2026-07-09 13:13:41'::timestamp) - extract(epoch from '2026-07-09 13:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563143 -2.822864)'), GeomFromEWKT('SRID=4674;POINT (-40.563154 -2.822865)'))) / (select extract(epoch from '2026-07-09 13:13:41'::timestamp) - extract(epoch from '2026-07-09 13:13:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.563163 -2.822862)', '2026-07-09 13:13:42', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563154 -2.822865)'), GeomFromEWKT('SRID=4674;POINT (-40.563163 -2.822862)'))) / (select extract(epoch from '2026-07-09 13:13:42'::timestamp) - extract(epoch from '2026-07-09 13:13:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563154 -2.822865)'), GeomFromEWKT('SRID=4674;POINT (-40.563163 -2.822862)'))) / (select extract(epoch from '2026-07-09 13:13:42'::timestamp) - extract(epoch from '2026-07-09 13:13: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'), 47635, 'SRID=4674;POINT (-40.563195 -2.822858)', '2026-07-09 13:13:46', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563163 -2.822862)'), GeomFromEWKT('SRID=4674;POINT (-40.563195 -2.822858)'))) / (select extract(epoch from '2026-07-09 13:13:46'::timestamp) - extract(epoch from '2026-07-09 13:13:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563163 -2.822862)'), GeomFromEWKT('SRID=4674;POINT (-40.563195 -2.822858)'))) / (select extract(epoch from '2026-07-09 13:13:46'::timestamp) - extract(epoch from '2026-07-09 13:13:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.563205 -2.822862)', '2026-07-09 13:13:47', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563195 -2.822858)'), GeomFromEWKT('SRID=4674;POINT (-40.563205 -2.822862)'))) / (select extract(epoch from '2026-07-09 13:13:47'::timestamp) - extract(epoch from '2026-07-09 13:13:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563195 -2.822858)'), GeomFromEWKT('SRID=4674;POINT (-40.563205 -2.822862)'))) / (select extract(epoch from '2026-07-09 13:13:47'::timestamp) - extract(epoch from '2026-07-09 13:13:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.563239 -2.822857)', '2026-07-09 13:13:51', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563205 -2.822862)'), GeomFromEWKT('SRID=4674;POINT (-40.563239 -2.822857)'))) / (select extract(epoch from '2026-07-09 13:13:51'::timestamp) - extract(epoch from '2026-07-09 13:13:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563205 -2.822862)'), GeomFromEWKT('SRID=4674;POINT (-40.563239 -2.822857)'))) / (select extract(epoch from '2026-07-09 13:13:51'::timestamp) - extract(epoch from '2026-07-09 13:13: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'), 47635, 'SRID=4674;POINT (-40.563289 -2.822848)', '2026-07-09 13:13:58', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563239 -2.822857)'), GeomFromEWKT('SRID=4674;POINT (-40.563289 -2.822848)'))) / (select extract(epoch from '2026-07-09 13:13:58'::timestamp) - extract(epoch from '2026-07-09 13:13:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563239 -2.822857)'), GeomFromEWKT('SRID=4674;POINT (-40.563289 -2.822848)'))) / (select extract(epoch from '2026-07-09 13:13:58'::timestamp) - extract(epoch from '2026-07-09 13:13:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.563323 -2.822844)', '2026-07-09 13:14:02', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563289 -2.822848)'), GeomFromEWKT('SRID=4674;POINT (-40.563323 -2.822844)'))) / (select extract(epoch from '2026-07-09 13:14:02'::timestamp) - extract(epoch from '2026-07-09 13:13:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563289 -2.822848)'), GeomFromEWKT('SRID=4674;POINT (-40.563323 -2.822844)'))) / (select extract(epoch from '2026-07-09 13:14:02'::timestamp) - extract(epoch from '2026-07-09 13:13:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.563333 -2.822846)', '2026-07-09 13:14:03', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563323 -2.822844)'), GeomFromEWKT('SRID=4674;POINT (-40.563333 -2.822846)'))) / (select extract(epoch from '2026-07-09 13:14:03'::timestamp) - extract(epoch from '2026-07-09 13:14:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563323 -2.822844)'), GeomFromEWKT('SRID=4674;POINT (-40.563333 -2.822846)'))) / (select extract(epoch from '2026-07-09 13:14:03'::timestamp) - extract(epoch from '2026-07-09 13:14: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'), 47635, 'SRID=4674;POINT (-40.563367 -2.822841)', '2026-07-09 13:14:07', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563333 -2.822846)'), GeomFromEWKT('SRID=4674;POINT (-40.563367 -2.822841)'))) / (select extract(epoch from '2026-07-09 13:14:07'::timestamp) - extract(epoch from '2026-07-09 13:14:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563333 -2.822846)'), GeomFromEWKT('SRID=4674;POINT (-40.563367 -2.822841)'))) / (select extract(epoch from '2026-07-09 13:14:07'::timestamp) - extract(epoch from '2026-07-09 13:14:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.563386 -2.822845)', '2026-07-09 13:14:09', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563367 -2.822841)'), GeomFromEWKT('SRID=4674;POINT (-40.563386 -2.822845)'))) / (select extract(epoch from '2026-07-09 13:14:09'::timestamp) - extract(epoch from '2026-07-09 13:14:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563367 -2.822841)'), GeomFromEWKT('SRID=4674;POINT (-40.563386 -2.822845)'))) / (select extract(epoch from '2026-07-09 13:14:09'::timestamp) - extract(epoch from '2026-07-09 13:14: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'), 47635, 'SRID=4674;POINT (-40.563405 -2.82285)', '2026-07-09 13:14:11', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563386 -2.822845)'), GeomFromEWKT('SRID=4674;POINT (-40.563405 -2.82285)'))) / (select extract(epoch from '2026-07-09 13:14:11'::timestamp) - extract(epoch from '2026-07-09 13:14:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563386 -2.822845)'), GeomFromEWKT('SRID=4674;POINT (-40.563405 -2.82285)'))) / (select extract(epoch from '2026-07-09 13:14:11'::timestamp) - extract(epoch from '2026-07-09 13:14:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.56342 -2.822848)', '2026-07-09 13:14:13', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563405 -2.82285)'), GeomFromEWKT('SRID=4674;POINT (-40.56342 -2.822848)'))) / (select extract(epoch from '2026-07-09 13:14:13'::timestamp) - extract(epoch from '2026-07-09 13:14:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563405 -2.82285)'), GeomFromEWKT('SRID=4674;POINT (-40.56342 -2.822848)'))) / (select extract(epoch from '2026-07-09 13:14:13'::timestamp) - extract(epoch from '2026-07-09 13:14:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.563452 -2.822853)', '2026-07-09 13:14:17', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56342 -2.822848)'), GeomFromEWKT('SRID=4674;POINT (-40.563452 -2.822853)'))) / (select extract(epoch from '2026-07-09 13:14:17'::timestamp) - extract(epoch from '2026-07-09 13:14:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56342 -2.822848)'), GeomFromEWKT('SRID=4674;POINT (-40.563452 -2.822853)'))) / (select extract(epoch from '2026-07-09 13:14:17'::timestamp) - extract(epoch from '2026-07-09 13:14: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'), 47635, 'SRID=4674;POINT (-40.563468 -2.822854)', '2026-07-09 13:14:19', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563452 -2.822853)'), GeomFromEWKT('SRID=4674;POINT (-40.563468 -2.822854)'))) / (select extract(epoch from '2026-07-09 13:14:19'::timestamp) - extract(epoch from '2026-07-09 13:14:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563452 -2.822853)'), GeomFromEWKT('SRID=4674;POINT (-40.563468 -2.822854)'))) / (select extract(epoch from '2026-07-09 13:14:19'::timestamp) - extract(epoch from '2026-07-09 13:14:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.563493 -2.822858)', '2026-07-09 13:14:22', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563468 -2.822854)'), GeomFromEWKT('SRID=4674;POINT (-40.563493 -2.822858)'))) / (select extract(epoch from '2026-07-09 13:14:22'::timestamp) - extract(epoch from '2026-07-09 13:14:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563468 -2.822854)'), GeomFromEWKT('SRID=4674;POINT (-40.563493 -2.822858)'))) / (select extract(epoch from '2026-07-09 13:14:22'::timestamp) - extract(epoch from '2026-07-09 13:14: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'), 47635, 'SRID=4674;POINT (-40.563521 -2.82287)', '2026-07-09 13:14:25', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563493 -2.822858)'), GeomFromEWKT('SRID=4674;POINT (-40.563521 -2.82287)'))) / (select extract(epoch from '2026-07-09 13:14:25'::timestamp) - extract(epoch from '2026-07-09 13:14:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563493 -2.822858)'), GeomFromEWKT('SRID=4674;POINT (-40.563521 -2.82287)'))) / (select extract(epoch from '2026-07-09 13:14:25'::timestamp) - extract(epoch from '2026-07-09 13:14:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.563572 -2.82287)', '2026-07-09 13:14:32', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563521 -2.82287)'), GeomFromEWKT('SRID=4674;POINT (-40.563572 -2.82287)'))) / (select extract(epoch from '2026-07-09 13:14:32'::timestamp) - extract(epoch from '2026-07-09 13:14:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563521 -2.82287)'), GeomFromEWKT('SRID=4674;POINT (-40.563572 -2.82287)'))) / (select extract(epoch from '2026-07-09 13:14:32'::timestamp) - extract(epoch from '2026-07-09 13:14: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'), 47635, 'SRID=4674;POINT (-40.563613 -2.822864)', '2026-07-09 13:14:39', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563572 -2.82287)'), GeomFromEWKT('SRID=4674;POINT (-40.563613 -2.822864)'))) / (select extract(epoch from '2026-07-09 13:14:39'::timestamp) - extract(epoch from '2026-07-09 13:14:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563572 -2.82287)'), GeomFromEWKT('SRID=4674;POINT (-40.563613 -2.822864)'))) / (select extract(epoch from '2026-07-09 13:14:39'::timestamp) - extract(epoch from '2026-07-09 13:14:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.563668 -2.822871)', '2026-07-09 13:14:47', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563613 -2.822864)'), GeomFromEWKT('SRID=4674;POINT (-40.563668 -2.822871)'))) / (select extract(epoch from '2026-07-09 13:14:47'::timestamp) - extract(epoch from '2026-07-09 13:14:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563613 -2.822864)'), GeomFromEWKT('SRID=4674;POINT (-40.563668 -2.822871)'))) / (select extract(epoch from '2026-07-09 13:14:47'::timestamp) - extract(epoch from '2026-07-09 13:14:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.563692 -2.822875)', '2026-07-09 13:14:51', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563668 -2.822871)'), GeomFromEWKT('SRID=4674;POINT (-40.563692 -2.822875)'))) / (select extract(epoch from '2026-07-09 13:14:51'::timestamp) - extract(epoch from '2026-07-09 13:14:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563668 -2.822871)'), GeomFromEWKT('SRID=4674;POINT (-40.563692 -2.822875)'))) / (select extract(epoch from '2026-07-09 13:14:51'::timestamp) - extract(epoch from '2026-07-09 13:14: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'), 47635, 'SRID=4674;POINT (-40.563707 -2.82288)', '2026-07-09 13:14:54', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563692 -2.822875)'), GeomFromEWKT('SRID=4674;POINT (-40.563707 -2.82288)'))) / (select extract(epoch from '2026-07-09 13:14:54'::timestamp) - extract(epoch from '2026-07-09 13:14:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563692 -2.822875)'), GeomFromEWKT('SRID=4674;POINT (-40.563707 -2.82288)'))) / (select extract(epoch from '2026-07-09 13:14:54'::timestamp) - extract(epoch from '2026-07-09 13:14:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.563753 -2.822891)', '2026-07-09 13:15:03', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563707 -2.82288)'), GeomFromEWKT('SRID=4674;POINT (-40.563753 -2.822891)'))) / (select extract(epoch from '2026-07-09 13:15:03'::timestamp) - extract(epoch from '2026-07-09 13:14:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563707 -2.82288)'), GeomFromEWKT('SRID=4674;POINT (-40.563753 -2.822891)'))) / (select extract(epoch from '2026-07-09 13:15:03'::timestamp) - extract(epoch from '2026-07-09 13:14:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.563792 -2.822899)', '2026-07-09 13:15:11', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563753 -2.822891)'), GeomFromEWKT('SRID=4674;POINT (-40.563792 -2.822899)'))) / (select extract(epoch from '2026-07-09 13:15:11'::timestamp) - extract(epoch from '2026-07-09 13:15:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563753 -2.822891)'), GeomFromEWKT('SRID=4674;POINT (-40.563792 -2.822899)'))) / (select extract(epoch from '2026-07-09 13:15:11'::timestamp) - extract(epoch from '2026-07-09 13:15: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'), 47635, 'SRID=4674;POINT (-40.563828 -2.822913)', '2026-07-09 13:15:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563792 -2.822899)'), GeomFromEWKT('SRID=4674;POINT (-40.563828 -2.822913)'))) / (select extract(epoch from '2026-07-09 13:15:19'::timestamp) - extract(epoch from '2026-07-09 13:15:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563792 -2.822899)'), GeomFromEWKT('SRID=4674;POINT (-40.563828 -2.822913)'))) / (select extract(epoch from '2026-07-09 13:15:19'::timestamp) - extract(epoch from '2026-07-09 13:15:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.563873 -2.822928)', '2026-07-09 13:15:26', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563828 -2.822913)'), GeomFromEWKT('SRID=4674;POINT (-40.563873 -2.822928)'))) / (select extract(epoch from '2026-07-09 13:15:26'::timestamp) - extract(epoch from '2026-07-09 13:15:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563828 -2.822913)'), GeomFromEWKT('SRID=4674;POINT (-40.563873 -2.822928)'))) / (select extract(epoch from '2026-07-09 13:15:26'::timestamp) - extract(epoch from '2026-07-09 13:15:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.563919 -2.822932)', '2026-07-09 13:15:34', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563873 -2.822928)'), GeomFromEWKT('SRID=4674;POINT (-40.563919 -2.822932)'))) / (select extract(epoch from '2026-07-09 13:15:34'::timestamp) - extract(epoch from '2026-07-09 13:15:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563873 -2.822928)'), GeomFromEWKT('SRID=4674;POINT (-40.563919 -2.822932)'))) / (select extract(epoch from '2026-07-09 13:15:34'::timestamp) - extract(epoch from '2026-07-09 13:15: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'), 47635, 'SRID=4674;POINT (-40.563962 -2.822932)', '2026-07-09 13:15:41', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563919 -2.822932)'), GeomFromEWKT('SRID=4674;POINT (-40.563962 -2.822932)'))) / (select extract(epoch from '2026-07-09 13:15:41'::timestamp) - extract(epoch from '2026-07-09 13:15:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563919 -2.822932)'), GeomFromEWKT('SRID=4674;POINT (-40.563962 -2.822932)'))) / (select extract(epoch from '2026-07-09 13:15:41'::timestamp) - extract(epoch from '2026-07-09 13:15: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'), 47635, 'SRID=4674;POINT (-40.563999 -2.822936)', '2026-07-09 13:15:46', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563962 -2.822932)'), GeomFromEWKT('SRID=4674;POINT (-40.563999 -2.822936)'))) / (select extract(epoch from '2026-07-09 13:15:46'::timestamp) - extract(epoch from '2026-07-09 13:15:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563962 -2.822932)'), GeomFromEWKT('SRID=4674;POINT (-40.563999 -2.822936)'))) / (select extract(epoch from '2026-07-09 13:15:46'::timestamp) - extract(epoch from '2026-07-09 13:15: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'), 47635, 'SRID=4674;POINT (-40.564046 -2.822941)', '2026-07-09 13:15:53', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563999 -2.822936)'), GeomFromEWKT('SRID=4674;POINT (-40.564046 -2.822941)'))) / (select extract(epoch from '2026-07-09 13:15:53'::timestamp) - extract(epoch from '2026-07-09 13:15:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563999 -2.822936)'), GeomFromEWKT('SRID=4674;POINT (-40.564046 -2.822941)'))) / (select extract(epoch from '2026-07-09 13:15:53'::timestamp) - extract(epoch from '2026-07-09 13:15:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.564108 -2.822945)', '2026-07-09 13:16:03', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564046 -2.822941)'), GeomFromEWKT('SRID=4674;POINT (-40.564108 -2.822945)'))) / (select extract(epoch from '2026-07-09 13:16:03'::timestamp) - extract(epoch from '2026-07-09 13:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564046 -2.822941)'), GeomFromEWKT('SRID=4674;POINT (-40.564108 -2.822945)'))) / (select extract(epoch from '2026-07-09 13:16:03'::timestamp) - extract(epoch from '2026-07-09 13:15:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.564115 -2.822948)', '2026-07-09 13:16:04', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564108 -2.822945)'), GeomFromEWKT('SRID=4674;POINT (-40.564115 -2.822948)'))) / (select extract(epoch from '2026-07-09 13:16:04'::timestamp) - extract(epoch from '2026-07-09 13:16:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564108 -2.822945)'), GeomFromEWKT('SRID=4674;POINT (-40.564115 -2.822948)'))) / (select extract(epoch from '2026-07-09 13:16:04'::timestamp) - extract(epoch from '2026-07-09 13:16:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.564143 -2.822952)', '2026-07-09 13:16:09', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564115 -2.822948)'), GeomFromEWKT('SRID=4674;POINT (-40.564143 -2.822952)'))) / (select extract(epoch from '2026-07-09 13:16:09'::timestamp) - extract(epoch from '2026-07-09 13:16:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564115 -2.822948)'), GeomFromEWKT('SRID=4674;POINT (-40.564143 -2.822952)'))) / (select extract(epoch from '2026-07-09 13:16:09'::timestamp) - extract(epoch from '2026-07-09 13:16:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.564177 -2.822961)', '2026-07-09 13:16:15', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564143 -2.822952)'), GeomFromEWKT('SRID=4674;POINT (-40.564177 -2.822961)'))) / (select extract(epoch from '2026-07-09 13:16:15'::timestamp) - extract(epoch from '2026-07-09 13:16:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564143 -2.822952)'), GeomFromEWKT('SRID=4674;POINT (-40.564177 -2.822961)'))) / (select extract(epoch from '2026-07-09 13:16:15'::timestamp) - extract(epoch from '2026-07-09 13:16: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'), 47635, 'SRID=4674;POINT (-40.564218 -2.822961)', '2026-07-09 13:16:22', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564177 -2.822961)'), GeomFromEWKT('SRID=4674;POINT (-40.564218 -2.822961)'))) / (select extract(epoch from '2026-07-09 13:16:22'::timestamp) - extract(epoch from '2026-07-09 13:16:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564177 -2.822961)'), GeomFromEWKT('SRID=4674;POINT (-40.564218 -2.822961)'))) / (select extract(epoch from '2026-07-09 13:16:22'::timestamp) - extract(epoch from '2026-07-09 13:16: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'), 47635, 'SRID=4674;POINT (-40.564225 -2.822967)', '2026-07-09 13:16:23', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564218 -2.822961)'), GeomFromEWKT('SRID=4674;POINT (-40.564225 -2.822967)'))) / (select extract(epoch from '2026-07-09 13:16:23'::timestamp) - extract(epoch from '2026-07-09 13:16:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564218 -2.822961)'), GeomFromEWKT('SRID=4674;POINT (-40.564225 -2.822967)'))) / (select extract(epoch from '2026-07-09 13:16:23'::timestamp) - extract(epoch from '2026-07-09 13:16: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'), 47635, 'SRID=4674;POINT (-40.564254 -2.822974)', '2026-07-09 13:16:28', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564225 -2.822967)'), GeomFromEWKT('SRID=4674;POINT (-40.564254 -2.822974)'))) / (select extract(epoch from '2026-07-09 13:16:28'::timestamp) - extract(epoch from '2026-07-09 13:16:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564225 -2.822967)'), GeomFromEWKT('SRID=4674;POINT (-40.564254 -2.822974)'))) / (select extract(epoch from '2026-07-09 13:16:28'::timestamp) - extract(epoch from '2026-07-09 13:16:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.564295 -2.822983)', '2026-07-09 13:16:35', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564254 -2.822974)'), GeomFromEWKT('SRID=4674;POINT (-40.564295 -2.822983)'))) / (select extract(epoch from '2026-07-09 13:16:35'::timestamp) - extract(epoch from '2026-07-09 13:16:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564254 -2.822974)'), GeomFromEWKT('SRID=4674;POINT (-40.564295 -2.822983)'))) / (select extract(epoch from '2026-07-09 13:16:35'::timestamp) - extract(epoch from '2026-07-09 13:16: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'), 47635, 'SRID=4674;POINT (-40.564342 -2.822993)', '2026-07-09 13:16:43', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564295 -2.822983)'), GeomFromEWKT('SRID=4674;POINT (-40.564342 -2.822993)'))) / (select extract(epoch from '2026-07-09 13:16:43'::timestamp) - extract(epoch from '2026-07-09 13:16:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564295 -2.822983)'), GeomFromEWKT('SRID=4674;POINT (-40.564342 -2.822993)'))) / (select extract(epoch from '2026-07-09 13:16:43'::timestamp) - extract(epoch from '2026-07-09 13:16: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'), 47635, 'SRID=4674;POINT (-40.564397 -2.823008)', '2026-07-09 13:16:52', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564342 -2.822993)'), GeomFromEWKT('SRID=4674;POINT (-40.564397 -2.823008)'))) / (select extract(epoch from '2026-07-09 13:16:52'::timestamp) - extract(epoch from '2026-07-09 13:16:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564342 -2.822993)'), GeomFromEWKT('SRID=4674;POINT (-40.564397 -2.823008)'))) / (select extract(epoch from '2026-07-09 13:16:52'::timestamp) - extract(epoch from '2026-07-09 13:16:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.564434 -2.823025)', '2026-07-09 13:16:58', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564397 -2.823008)'), GeomFromEWKT('SRID=4674;POINT (-40.564434 -2.823025)'))) / (select extract(epoch from '2026-07-09 13:16:58'::timestamp) - extract(epoch from '2026-07-09 13:16:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564397 -2.823008)'), GeomFromEWKT('SRID=4674;POINT (-40.564434 -2.823025)'))) / (select extract(epoch from '2026-07-09 13:16:58'::timestamp) - extract(epoch from '2026-07-09 13: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'), 47635, 'SRID=4674;POINT (-40.56444 -2.823029)', '2026-07-09 13:16:59', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564434 -2.823025)'), GeomFromEWKT('SRID=4674;POINT (-40.56444 -2.823029)'))) / (select extract(epoch from '2026-07-09 13:16:59'::timestamp) - extract(epoch from '2026-07-09 13:16:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564434 -2.823025)'), GeomFromEWKT('SRID=4674;POINT (-40.56444 -2.823029)'))) / (select extract(epoch from '2026-07-09 13:16:59'::timestamp) - extract(epoch from '2026-07-09 13: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'), 47635, 'SRID=4674;POINT (-40.564478 -2.823041)', '2026-07-09 13:17:05', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56444 -2.823029)'), GeomFromEWKT('SRID=4674;POINT (-40.564478 -2.823041)'))) / (select extract(epoch from '2026-07-09 13:17:05'::timestamp) - extract(epoch from '2026-07-09 13:16:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56444 -2.823029)'), GeomFromEWKT('SRID=4674;POINT (-40.564478 -2.823041)'))) / (select extract(epoch from '2026-07-09 13:17:05'::timestamp) - extract(epoch from '2026-07-09 13: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'), 47635, 'SRID=4674;POINT (-40.564523 -2.823052)', '2026-07-09 13:17:13', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564478 -2.823041)'), GeomFromEWKT('SRID=4674;POINT (-40.564523 -2.823052)'))) / (select extract(epoch from '2026-07-09 13:17:13'::timestamp) - extract(epoch from '2026-07-09 13:17:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564478 -2.823041)'), GeomFromEWKT('SRID=4674;POINT (-40.564523 -2.823052)'))) / (select extract(epoch from '2026-07-09 13:17:13'::timestamp) - extract(epoch from '2026-07-09 13: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'), 47635, 'SRID=4674;POINT (-40.56454 -2.823058)', '2026-07-09 13:17:16', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564523 -2.823052)'), GeomFromEWKT('SRID=4674;POINT (-40.56454 -2.823058)'))) / (select extract(epoch from '2026-07-09 13:17:16'::timestamp) - extract(epoch from '2026-07-09 13:17:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564523 -2.823052)'), GeomFromEWKT('SRID=4674;POINT (-40.56454 -2.823058)'))) / (select extract(epoch from '2026-07-09 13:17:16'::timestamp) - extract(epoch from '2026-07-09 13: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'), 47635, 'SRID=4674;POINT (-40.564557 -2.823064)', '2026-07-09 13:17:19', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56454 -2.823058)'), GeomFromEWKT('SRID=4674;POINT (-40.564557 -2.823064)'))) / (select extract(epoch from '2026-07-09 13:17:19'::timestamp) - extract(epoch from '2026-07-09 13:17:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56454 -2.823058)'), GeomFromEWKT('SRID=4674;POINT (-40.564557 -2.823064)'))) / (select extract(epoch from '2026-07-09 13:17:19'::timestamp) - extract(epoch from '2026-07-09 13: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'), 47635, 'SRID=4674;POINT (-40.564608 -2.823072)', '2026-07-09 13:17:27', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564557 -2.823064)'), GeomFromEWKT('SRID=4674;POINT (-40.564608 -2.823072)'))) / (select extract(epoch from '2026-07-09 13:17:27'::timestamp) - extract(epoch from '2026-07-09 13:17:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564557 -2.823064)'), GeomFromEWKT('SRID=4674;POINT (-40.564608 -2.823072)'))) / (select extract(epoch from '2026-07-09 13:17:27'::timestamp) - extract(epoch from '2026-07-09 13: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'), 47635, 'SRID=4674;POINT (-40.564653 -2.823084)', '2026-07-09 13:17:34', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564608 -2.823072)'), GeomFromEWKT('SRID=4674;POINT (-40.564653 -2.823084)'))) / (select extract(epoch from '2026-07-09 13:17:34'::timestamp) - extract(epoch from '2026-07-09 13:17:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564608 -2.823072)'), GeomFromEWKT('SRID=4674;POINT (-40.564653 -2.823084)'))) / (select extract(epoch from '2026-07-09 13:17:34'::timestamp) - extract(epoch from '2026-07-09 13: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'), 47635, 'SRID=4674;POINT (-40.564679 -2.823091)', '2026-07-09 13:17:41', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564653 -2.823084)'), GeomFromEWKT('SRID=4674;POINT (-40.564679 -2.823091)'))) / (select extract(epoch from '2026-07-09 13:17:41'::timestamp) - extract(epoch from '2026-07-09 13:17:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564653 -2.823084)'), GeomFromEWKT('SRID=4674;POINT (-40.564679 -2.823091)'))) / (select extract(epoch from '2026-07-09 13:17:41'::timestamp) - extract(epoch from '2026-07-09 13: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'), 47635, 'SRID=4674;POINT (-40.564706 -2.823101)', '2026-07-09 13:17:47', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564679 -2.823091)'), GeomFromEWKT('SRID=4674;POINT (-40.564706 -2.823101)'))) / (select extract(epoch from '2026-07-09 13:17:47'::timestamp) - extract(epoch from '2026-07-09 13:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564679 -2.823091)'), GeomFromEWKT('SRID=4674;POINT (-40.564706 -2.823101)'))) / (select extract(epoch from '2026-07-09 13:17:47'::timestamp) - extract(epoch from '2026-07-09 13: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'), 47635, 'SRID=4674;POINT (-40.564737 -2.823113)', '2026-07-09 13:17:54', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564706 -2.823101)'), GeomFromEWKT('SRID=4674;POINT (-40.564737 -2.823113)'))) / (select extract(epoch from '2026-07-09 13:17:54'::timestamp) - extract(epoch from '2026-07-09 13:17:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564706 -2.823101)'), GeomFromEWKT('SRID=4674;POINT (-40.564737 -2.823113)'))) / (select extract(epoch from '2026-07-09 13:17:54'::timestamp) - extract(epoch from '2026-07-09 13: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'), 47635, 'SRID=4674;POINT (-40.564758 -2.823117)', '2026-07-09 13:17:59', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564737 -2.823113)'), GeomFromEWKT('SRID=4674;POINT (-40.564758 -2.823117)'))) / (select extract(epoch from '2026-07-09 13:17:59'::timestamp) - extract(epoch from '2026-07-09 13:17:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564737 -2.823113)'), GeomFromEWKT('SRID=4674;POINT (-40.564758 -2.823117)'))) / (select extract(epoch from '2026-07-09 13:17:59'::timestamp) - extract(epoch from '2026-07-09 13: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'), 47635, 'SRID=4674;POINT (-40.564775 -2.823116)', '2026-07-09 13:18:02', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564758 -2.823117)'), GeomFromEWKT('SRID=4674;POINT (-40.564775 -2.823116)'))) / (select extract(epoch from '2026-07-09 13:18:02'::timestamp) - extract(epoch from '2026-07-09 13:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564758 -2.823117)'), GeomFromEWKT('SRID=4674;POINT (-40.564775 -2.823116)'))) / (select extract(epoch from '2026-07-09 13:18:02'::timestamp) - extract(epoch from '2026-07-09 13: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'), 47635, 'SRID=4674;POINT (-40.564791 -2.8231)', '2026-07-09 13:18:04', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564775 -2.823116)'), GeomFromEWKT('SRID=4674;POINT (-40.564791 -2.8231)'))) / (select extract(epoch from '2026-07-09 13:18:04'::timestamp) - extract(epoch from '2026-07-09 13:18:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564775 -2.823116)'), GeomFromEWKT('SRID=4674;POINT (-40.564791 -2.8231)'))) / (select extract(epoch from '2026-07-09 13:18:04'::timestamp) - extract(epoch from '2026-07-09 13: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'), 47635, 'SRID=4674;POINT (-40.564815 -2.823119)', '2026-07-09 13:18:10', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564791 -2.8231)'), GeomFromEWKT('SRID=4674;POINT (-40.564815 -2.823119)'))) / (select extract(epoch from '2026-07-09 13:18:10'::timestamp) - extract(epoch from '2026-07-09 13:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564791 -2.8231)'), GeomFromEWKT('SRID=4674;POINT (-40.564815 -2.823119)'))) / (select extract(epoch from '2026-07-09 13:18:10'::timestamp) - extract(epoch from '2026-07-09 13: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'), 47635, 'SRID=4674;POINT (-40.564848 -2.82314)', '2026-07-09 13:18:17', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564815 -2.823119)'), GeomFromEWKT('SRID=4674;POINT (-40.564848 -2.82314)'))) / (select extract(epoch from '2026-07-09 13:18:17'::timestamp) - extract(epoch from '2026-07-09 13:18:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564815 -2.823119)'), GeomFromEWKT('SRID=4674;POINT (-40.564848 -2.82314)'))) / (select extract(epoch from '2026-07-09 13:18:17'::timestamp) - extract(epoch from '2026-07-09 13: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'), 47635, 'SRID=4674;POINT (-40.564883 -2.823153)', '2026-07-09 13:18:23', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564848 -2.82314)'), GeomFromEWKT('SRID=4674;POINT (-40.564883 -2.823153)'))) / (select extract(epoch from '2026-07-09 13:18:23'::timestamp) - extract(epoch from '2026-07-09 13:18:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564848 -2.82314)'), GeomFromEWKT('SRID=4674;POINT (-40.564883 -2.823153)'))) / (select extract(epoch from '2026-07-09 13:18:23'::timestamp) - extract(epoch from '2026-07-09 13: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'), 47635, 'SRID=4674;POINT (-40.56493 -2.823174)', '2026-07-09 13:18:31', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564883 -2.823153)'), GeomFromEWKT('SRID=4674;POINT (-40.56493 -2.823174)'))) / (select extract(epoch from '2026-07-09 13:18:31'::timestamp) - extract(epoch from '2026-07-09 13:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564883 -2.823153)'), GeomFromEWKT('SRID=4674;POINT (-40.56493 -2.823174)'))) / (select extract(epoch from '2026-07-09 13:18:31'::timestamp) - extract(epoch from '2026-07-09 13: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'), 47635, 'SRID=4674;POINT (-40.564964 -2.823184)', '2026-07-09 13:18:37', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56493 -2.823174)'), GeomFromEWKT('SRID=4674;POINT (-40.564964 -2.823184)'))) / (select extract(epoch from '2026-07-09 13:18:37'::timestamp) - extract(epoch from '2026-07-09 13:18:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56493 -2.823174)'), GeomFromEWKT('SRID=4674;POINT (-40.564964 -2.823184)'))) / (select extract(epoch from '2026-07-09 13:18:37'::timestamp) - extract(epoch from '2026-07-09 13: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'), 47635, 'SRID=4674;POINT (-40.56501 -2.823201)', '2026-07-09 13:18:46', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564964 -2.823184)'), GeomFromEWKT('SRID=4674;POINT (-40.56501 -2.823201)'))) / (select extract(epoch from '2026-07-09 13:18:46'::timestamp) - extract(epoch from '2026-07-09 13:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564964 -2.823184)'), GeomFromEWKT('SRID=4674;POINT (-40.56501 -2.823201)'))) / (select extract(epoch from '2026-07-09 13:18:46'::timestamp) - extract(epoch from '2026-07-09 13: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'), 47635, 'SRID=4674;POINT (-40.565054 -2.823222)', '2026-07-09 13:18:55', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56501 -2.823201)'), GeomFromEWKT('SRID=4674;POINT (-40.565054 -2.823222)'))) / (select extract(epoch from '2026-07-09 13:18:55'::timestamp) - extract(epoch from '2026-07-09 13:18:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56501 -2.823201)'), GeomFromEWKT('SRID=4674;POINT (-40.565054 -2.823222)'))) / (select extract(epoch from '2026-07-09 13:18:55'::timestamp) - extract(epoch from '2026-07-09 13: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'), 47635, 'SRID=4674;POINT (-40.56509 -2.823231)', '2026-07-09 13:19:01', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565054 -2.823222)'), GeomFromEWKT('SRID=4674;POINT (-40.56509 -2.823231)'))) / (select extract(epoch from '2026-07-09 13:19:01'::timestamp) - extract(epoch from '2026-07-09 13:18:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565054 -2.823222)'), GeomFromEWKT('SRID=4674;POINT (-40.56509 -2.823231)'))) / (select extract(epoch from '2026-07-09 13:19:01'::timestamp) - extract(epoch from '2026-07-09 13: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'), 47635, 'SRID=4674;POINT (-40.565129 -2.823243)', '2026-07-09 13:19:09', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56509 -2.823231)'), GeomFromEWKT('SRID=4674;POINT (-40.565129 -2.823243)'))) / (select extract(epoch from '2026-07-09 13:19:09'::timestamp) - extract(epoch from '2026-07-09 13:19:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56509 -2.823231)'), GeomFromEWKT('SRID=4674;POINT (-40.565129 -2.823243)'))) / (select extract(epoch from '2026-07-09 13:19:09'::timestamp) - extract(epoch from '2026-07-09 13: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'), 47635, 'SRID=4674;POINT (-40.565167 -2.823256)', '2026-07-09 13:19:16', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565129 -2.823243)'), GeomFromEWKT('SRID=4674;POINT (-40.565167 -2.823256)'))) / (select extract(epoch from '2026-07-09 13:19:16'::timestamp) - extract(epoch from '2026-07-09 13:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565129 -2.823243)'), GeomFromEWKT('SRID=4674;POINT (-40.565167 -2.823256)'))) / (select extract(epoch from '2026-07-09 13:19:16'::timestamp) - extract(epoch from '2026-07-09 13: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'), 47635, 'SRID=4674;POINT (-40.565209 -2.823273)', '2026-07-09 13:19:25', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565167 -2.823256)'), GeomFromEWKT('SRID=4674;POINT (-40.565209 -2.823273)'))) / (select extract(epoch from '2026-07-09 13:19:25'::timestamp) - extract(epoch from '2026-07-09 13:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565167 -2.823256)'), GeomFromEWKT('SRID=4674;POINT (-40.565209 -2.823273)'))) / (select extract(epoch from '2026-07-09 13:19:25'::timestamp) - extract(epoch from '2026-07-09 13:19:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.565248 -2.823279)', '2026-07-09 13:19:32', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565209 -2.823273)'), GeomFromEWKT('SRID=4674;POINT (-40.565248 -2.823279)'))) / (select extract(epoch from '2026-07-09 13:19:32'::timestamp) - extract(epoch from '2026-07-09 13:19:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565209 -2.823273)'), GeomFromEWKT('SRID=4674;POINT (-40.565248 -2.823279)'))) / (select extract(epoch from '2026-07-09 13:19:32'::timestamp) - extract(epoch from '2026-07-09 13:19:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.565289 -2.823292)', '2026-07-09 13:19:40', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565248 -2.823279)'), GeomFromEWKT('SRID=4674;POINT (-40.565289 -2.823292)'))) / (select extract(epoch from '2026-07-09 13:19:40'::timestamp) - extract(epoch from '2026-07-09 13:19:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565248 -2.823279)'), GeomFromEWKT('SRID=4674;POINT (-40.565289 -2.823292)'))) / (select extract(epoch from '2026-07-09 13:19:40'::timestamp) - extract(epoch from '2026-07-09 13:19:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.56533 -2.823303)', '2026-07-09 13:19:47', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565289 -2.823292)'), GeomFromEWKT('SRID=4674;POINT (-40.56533 -2.823303)'))) / (select extract(epoch from '2026-07-09 13:19:47'::timestamp) - extract(epoch from '2026-07-09 13:19:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565289 -2.823292)'), GeomFromEWKT('SRID=4674;POINT (-40.56533 -2.823303)'))) / (select extract(epoch from '2026-07-09 13:19:47'::timestamp) - extract(epoch from '2026-07-09 13:19: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'), 47635, 'SRID=4674;POINT (-40.565367 -2.823311)', '2026-07-09 13:19:54', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56533 -2.823303)'), GeomFromEWKT('SRID=4674;POINT (-40.565367 -2.823311)'))) / (select extract(epoch from '2026-07-09 13:19:54'::timestamp) - extract(epoch from '2026-07-09 13:19:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56533 -2.823303)'), GeomFromEWKT('SRID=4674;POINT (-40.565367 -2.823311)'))) / (select extract(epoch from '2026-07-09 13:19:54'::timestamp) - extract(epoch from '2026-07-09 13:19:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.565406 -2.823317)', '2026-07-09 13:20:01', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565367 -2.823311)'), GeomFromEWKT('SRID=4674;POINT (-40.565406 -2.823317)'))) / (select extract(epoch from '2026-07-09 13:20:01'::timestamp) - extract(epoch from '2026-07-09 13:19:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565367 -2.823311)'), GeomFromEWKT('SRID=4674;POINT (-40.565406 -2.823317)'))) / (select extract(epoch from '2026-07-09 13:20:01'::timestamp) - extract(epoch from '2026-07-09 13:19:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.565443 -2.823325)', '2026-07-09 13:20:08', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565406 -2.823317)'), GeomFromEWKT('SRID=4674;POINT (-40.565443 -2.823325)'))) / (select extract(epoch from '2026-07-09 13:20:08'::timestamp) - extract(epoch from '2026-07-09 13:20:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565406 -2.823317)'), GeomFromEWKT('SRID=4674;POINT (-40.565443 -2.823325)'))) / (select extract(epoch from '2026-07-09 13:20:08'::timestamp) - extract(epoch from '2026-07-09 13:20: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'), 47635, 'SRID=4674;POINT (-40.565485 -2.823339)', '2026-07-09 13:20:16', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565443 -2.823325)'), GeomFromEWKT('SRID=4674;POINT (-40.565485 -2.823339)'))) / (select extract(epoch from '2026-07-09 13:20:16'::timestamp) - extract(epoch from '2026-07-09 13:20:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565443 -2.823325)'), GeomFromEWKT('SRID=4674;POINT (-40.565485 -2.823339)'))) / (select extract(epoch from '2026-07-09 13:20:16'::timestamp) - extract(epoch from '2026-07-09 13:20:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.565523 -2.823354)', '2026-07-09 13:20:23', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565485 -2.823339)'), GeomFromEWKT('SRID=4674;POINT (-40.565523 -2.823354)'))) / (select extract(epoch from '2026-07-09 13:20:23'::timestamp) - extract(epoch from '2026-07-09 13:20:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565485 -2.823339)'), GeomFromEWKT('SRID=4674;POINT (-40.565523 -2.823354)'))) / (select extract(epoch from '2026-07-09 13:20:23'::timestamp) - extract(epoch from '2026-07-09 13:20: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'), 47635, 'SRID=4674;POINT (-40.565565 -2.823364)', '2026-07-09 13:20:30', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565523 -2.823354)'), GeomFromEWKT('SRID=4674;POINT (-40.565565 -2.823364)'))) / (select extract(epoch from '2026-07-09 13:20:30'::timestamp) - extract(epoch from '2026-07-09 13:20:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565523 -2.823354)'), GeomFromEWKT('SRID=4674;POINT (-40.565565 -2.823364)'))) / (select extract(epoch from '2026-07-09 13:20:30'::timestamp) - extract(epoch from '2026-07-09 13:20: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'), 47635, 'SRID=4674;POINT (-40.565599 -2.823374)', '2026-07-09 13:20:36', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565565 -2.823364)'), GeomFromEWKT('SRID=4674;POINT (-40.565599 -2.823374)'))) / (select extract(epoch from '2026-07-09 13:20:36'::timestamp) - extract(epoch from '2026-07-09 13:20:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565565 -2.823364)'), GeomFromEWKT('SRID=4674;POINT (-40.565599 -2.823374)'))) / (select extract(epoch from '2026-07-09 13:20:36'::timestamp) - extract(epoch from '2026-07-09 13:20: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'), 47635, 'SRID=4674;POINT (-40.565643 -2.823383)', '2026-07-09 13:20:45', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565599 -2.823374)'), GeomFromEWKT('SRID=4674;POINT (-40.565643 -2.823383)'))) / (select extract(epoch from '2026-07-09 13:20:45'::timestamp) - extract(epoch from '2026-07-09 13:20:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565599 -2.823374)'), GeomFromEWKT('SRID=4674;POINT (-40.565643 -2.823383)'))) / (select extract(epoch from '2026-07-09 13:20:45'::timestamp) - extract(epoch from '2026-07-09 13:20:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.56569 -2.823394)', '2026-07-09 13:20:54', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565643 -2.823383)'), GeomFromEWKT('SRID=4674;POINT (-40.56569 -2.823394)'))) / (select extract(epoch from '2026-07-09 13:20:54'::timestamp) - extract(epoch from '2026-07-09 13:20:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565643 -2.823383)'), GeomFromEWKT('SRID=4674;POINT (-40.56569 -2.823394)'))) / (select extract(epoch from '2026-07-09 13:20:54'::timestamp) - extract(epoch from '2026-07-09 13:20:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.565741 -2.823403)', '2026-07-09 13:21:03', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56569 -2.823394)'), GeomFromEWKT('SRID=4674;POINT (-40.565741 -2.823403)'))) / (select extract(epoch from '2026-07-09 13:21:03'::timestamp) - extract(epoch from '2026-07-09 13:20:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56569 -2.823394)'), GeomFromEWKT('SRID=4674;POINT (-40.565741 -2.823403)'))) / (select extract(epoch from '2026-07-09 13:21:03'::timestamp) - extract(epoch from '2026-07-09 13:20:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.565781 -2.823414)', '2026-07-09 13:21:10', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565741 -2.823403)'), GeomFromEWKT('SRID=4674;POINT (-40.565781 -2.823414)'))) / (select extract(epoch from '2026-07-09 13:21:10'::timestamp) - extract(epoch from '2026-07-09 13:21:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565741 -2.823403)'), GeomFromEWKT('SRID=4674;POINT (-40.565781 -2.823414)'))) / (select extract(epoch from '2026-07-09 13:21:10'::timestamp) - extract(epoch from '2026-07-09 13:21:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.565817 -2.823412)', '2026-07-09 13:21:17', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565781 -2.823414)'), GeomFromEWKT('SRID=4674;POINT (-40.565817 -2.823412)'))) / (select extract(epoch from '2026-07-09 13:21:17'::timestamp) - extract(epoch from '2026-07-09 13:21:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565781 -2.823414)'), GeomFromEWKT('SRID=4674;POINT (-40.565817 -2.823412)'))) / (select extract(epoch from '2026-07-09 13:21:17'::timestamp) - extract(epoch from '2026-07-09 13:21:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.565824 -2.823409)', '2026-07-09 13:21:18', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565817 -2.823412)'), GeomFromEWKT('SRID=4674;POINT (-40.565824 -2.823409)'))) / (select extract(epoch from '2026-07-09 13:21:18'::timestamp) - extract(epoch from '2026-07-09 13:21:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565817 -2.823412)'), GeomFromEWKT('SRID=4674;POINT (-40.565824 -2.823409)'))) / (select extract(epoch from '2026-07-09 13:21:18'::timestamp) - extract(epoch from '2026-07-09 13:21:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.56585 -2.823413)', '2026-07-09 13:21:21', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565824 -2.823409)'), GeomFromEWKT('SRID=4674;POINT (-40.56585 -2.823413)'))) / (select extract(epoch from '2026-07-09 13:21:21'::timestamp) - extract(epoch from '2026-07-09 13:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565824 -2.823409)'), GeomFromEWKT('SRID=4674;POINT (-40.56585 -2.823413)'))) / (select extract(epoch from '2026-07-09 13:21:21'::timestamp) - extract(epoch from '2026-07-09 13:21:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.565864 -2.823421)', '2026-07-09 13:21:23', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56585 -2.823413)'), GeomFromEWKT('SRID=4674;POINT (-40.565864 -2.823421)'))) / (select extract(epoch from '2026-07-09 13:21:23'::timestamp) - extract(epoch from '2026-07-09 13:21:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56585 -2.823413)'), GeomFromEWKT('SRID=4674;POINT (-40.565864 -2.823421)'))) / (select extract(epoch from '2026-07-09 13:21:23'::timestamp) - extract(epoch from '2026-07-09 13:21: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'), 47635, 'SRID=4674;POINT (-40.565878 -2.823421)', '2026-07-09 13:21:26', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565864 -2.823421)'), GeomFromEWKT('SRID=4674;POINT (-40.565878 -2.823421)'))) / (select extract(epoch from '2026-07-09 13:21:26'::timestamp) - extract(epoch from '2026-07-09 13:21:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565864 -2.823421)'), GeomFromEWKT('SRID=4674;POINT (-40.565878 -2.823421)'))) / (select extract(epoch from '2026-07-09 13:21:26'::timestamp) - extract(epoch from '2026-07-09 13:21:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.565921 -2.82343)', '2026-07-09 13:21:37', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565878 -2.823421)'), GeomFromEWKT('SRID=4674;POINT (-40.565921 -2.82343)'))) / (select extract(epoch from '2026-07-09 13:21:37'::timestamp) - extract(epoch from '2026-07-09 13:21:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565878 -2.823421)'), GeomFromEWKT('SRID=4674;POINT (-40.565921 -2.82343)'))) / (select extract(epoch from '2026-07-09 13:21:37'::timestamp) - extract(epoch from '2026-07-09 13:21: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'), 47635, 'SRID=4674;POINT (-40.565965 -2.823453)', '2026-07-09 13:21:46', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565921 -2.82343)'), GeomFromEWKT('SRID=4674;POINT (-40.565965 -2.823453)'))) / (select extract(epoch from '2026-07-09 13:21:46'::timestamp) - extract(epoch from '2026-07-09 13:21:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565921 -2.82343)'), GeomFromEWKT('SRID=4674;POINT (-40.565965 -2.823453)'))) / (select extract(epoch from '2026-07-09 13:21:46'::timestamp) - extract(epoch from '2026-07-09 13:21:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.566002 -2.823465)', '2026-07-09 13:21:53', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565965 -2.823453)'), GeomFromEWKT('SRID=4674;POINT (-40.566002 -2.823465)'))) / (select extract(epoch from '2026-07-09 13:21:53'::timestamp) - extract(epoch from '2026-07-09 13:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565965 -2.823453)'), GeomFromEWKT('SRID=4674;POINT (-40.566002 -2.823465)'))) / (select extract(epoch from '2026-07-09 13:21:53'::timestamp) - extract(epoch from '2026-07-09 13:21: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'), 47635, 'SRID=4674;POINT (-40.566045 -2.823476)', '2026-07-09 13:22:01', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566002 -2.823465)'), GeomFromEWKT('SRID=4674;POINT (-40.566045 -2.823476)'))) / (select extract(epoch from '2026-07-09 13:22:01'::timestamp) - extract(epoch from '2026-07-09 13:21:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566002 -2.823465)'), GeomFromEWKT('SRID=4674;POINT (-40.566045 -2.823476)'))) / (select extract(epoch from '2026-07-09 13:22:01'::timestamp) - extract(epoch from '2026-07-09 13:21: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'), 47635, 'SRID=4674;POINT (-40.566087 -2.82349)', '2026-07-09 13:22:08', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566045 -2.823476)'), GeomFromEWKT('SRID=4674;POINT (-40.566087 -2.82349)'))) / (select extract(epoch from '2026-07-09 13:22:08'::timestamp) - extract(epoch from '2026-07-09 13:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566045 -2.823476)'), GeomFromEWKT('SRID=4674;POINT (-40.566087 -2.82349)'))) / (select extract(epoch from '2026-07-09 13:22:08'::timestamp) - extract(epoch from '2026-07-09 13:22:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.566126 -2.823502)', '2026-07-09 13:22:16', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566087 -2.82349)'), GeomFromEWKT('SRID=4674;POINT (-40.566126 -2.823502)'))) / (select extract(epoch from '2026-07-09 13:22:16'::timestamp) - extract(epoch from '2026-07-09 13:22:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566087 -2.82349)'), GeomFromEWKT('SRID=4674;POINT (-40.566126 -2.823502)'))) / (select extract(epoch from '2026-07-09 13:22:16'::timestamp) - extract(epoch from '2026-07-09 13:22:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.566158 -2.823515)', '2026-07-09 13:22:21', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566126 -2.823502)'), GeomFromEWKT('SRID=4674;POINT (-40.566158 -2.823515)'))) / (select extract(epoch from '2026-07-09 13:22:21'::timestamp) - extract(epoch from '2026-07-09 13:22:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566126 -2.823502)'), GeomFromEWKT('SRID=4674;POINT (-40.566158 -2.823515)'))) / (select extract(epoch from '2026-07-09 13:22:21'::timestamp) - extract(epoch from '2026-07-09 13:22:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.566199 -2.823522)', '2026-07-09 13:22:29', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566158 -2.823515)'), GeomFromEWKT('SRID=4674;POINT (-40.566199 -2.823522)'))) / (select extract(epoch from '2026-07-09 13:22:29'::timestamp) - extract(epoch from '2026-07-09 13:22:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566158 -2.823515)'), GeomFromEWKT('SRID=4674;POINT (-40.566199 -2.823522)'))) / (select extract(epoch from '2026-07-09 13:22:29'::timestamp) - extract(epoch from '2026-07-09 13:22:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.566246 -2.823528)', '2026-07-09 13:22:37', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566199 -2.823522)'), GeomFromEWKT('SRID=4674;POINT (-40.566246 -2.823528)'))) / (select extract(epoch from '2026-07-09 13:22:37'::timestamp) - extract(epoch from '2026-07-09 13:22:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566199 -2.823522)'), GeomFromEWKT('SRID=4674;POINT (-40.566246 -2.823528)'))) / (select extract(epoch from '2026-07-09 13:22:37'::timestamp) - extract(epoch from '2026-07-09 13:22:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.566279 -2.823534)', '2026-07-09 13:22:43', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566246 -2.823528)'), GeomFromEWKT('SRID=4674;POINT (-40.566279 -2.823534)'))) / (select extract(epoch from '2026-07-09 13:22:43'::timestamp) - extract(epoch from '2026-07-09 13:22:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566246 -2.823528)'), GeomFromEWKT('SRID=4674;POINT (-40.566279 -2.823534)'))) / (select extract(epoch from '2026-07-09 13:22:43'::timestamp) - extract(epoch from '2026-07-09 13:22: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'), 47635, 'SRID=4674;POINT (-40.56632 -2.823543)', '2026-07-09 13:22:51', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566279 -2.823534)'), GeomFromEWKT('SRID=4674;POINT (-40.56632 -2.823543)'))) / (select extract(epoch from '2026-07-09 13:22:51'::timestamp) - extract(epoch from '2026-07-09 13:22:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566279 -2.823534)'), GeomFromEWKT('SRID=4674;POINT (-40.56632 -2.823543)'))) / (select extract(epoch from '2026-07-09 13:22:51'::timestamp) - extract(epoch from '2026-07-09 13:22:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.566365 -2.823565)', '2026-07-09 13:22:59', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56632 -2.823543)'), GeomFromEWKT('SRID=4674;POINT (-40.566365 -2.823565)'))) / (select extract(epoch from '2026-07-09 13:22:59'::timestamp) - extract(epoch from '2026-07-09 13:22:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56632 -2.823543)'), GeomFromEWKT('SRID=4674;POINT (-40.566365 -2.823565)'))) / (select extract(epoch from '2026-07-09 13:22:59'::timestamp) - extract(epoch from '2026-07-09 13:22: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'), 47635, 'SRID=4674;POINT (-40.566408 -2.82357)', '2026-07-09 13:23:06', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566365 -2.823565)'), GeomFromEWKT('SRID=4674;POINT (-40.566408 -2.82357)'))) / (select extract(epoch from '2026-07-09 13:23:06'::timestamp) - extract(epoch from '2026-07-09 13:22:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566365 -2.823565)'), GeomFromEWKT('SRID=4674;POINT (-40.566408 -2.82357)'))) / (select extract(epoch from '2026-07-09 13:23:06'::timestamp) - extract(epoch from '2026-07-09 13:22:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.566449 -2.823585)', '2026-07-09 13:23:13', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566408 -2.82357)'), GeomFromEWKT('SRID=4674;POINT (-40.566449 -2.823585)'))) / (select extract(epoch from '2026-07-09 13:23:13'::timestamp) - extract(epoch from '2026-07-09 13:23:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566408 -2.82357)'), GeomFromEWKT('SRID=4674;POINT (-40.566449 -2.823585)'))) / (select extract(epoch from '2026-07-09 13:23:13'::timestamp) - extract(epoch from '2026-07-09 13:23:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.5665 -2.823607)', '2026-07-09 13:23:22', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566449 -2.823585)'), GeomFromEWKT('SRID=4674;POINT (-40.5665 -2.823607)'))) / (select extract(epoch from '2026-07-09 13:23:22'::timestamp) - extract(epoch from '2026-07-09 13:23:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566449 -2.823585)'), GeomFromEWKT('SRID=4674;POINT (-40.5665 -2.823607)'))) / (select extract(epoch from '2026-07-09 13:23:22'::timestamp) - extract(epoch from '2026-07-09 13:23:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.566545 -2.823621)', '2026-07-09 13:23:30', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5665 -2.823607)'), GeomFromEWKT('SRID=4674;POINT (-40.566545 -2.823621)'))) / (select extract(epoch from '2026-07-09 13:23:30'::timestamp) - extract(epoch from '2026-07-09 13:23:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5665 -2.823607)'), GeomFromEWKT('SRID=4674;POINT (-40.566545 -2.823621)'))) / (select extract(epoch from '2026-07-09 13:23:30'::timestamp) - extract(epoch from '2026-07-09 13:23:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.566588 -2.823636)', '2026-07-09 13:23:38', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566545 -2.823621)'), GeomFromEWKT('SRID=4674;POINT (-40.566588 -2.823636)'))) / (select extract(epoch from '2026-07-09 13:23:38'::timestamp) - extract(epoch from '2026-07-09 13:23:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566545 -2.823621)'), GeomFromEWKT('SRID=4674;POINT (-40.566588 -2.823636)'))) / (select extract(epoch from '2026-07-09 13:23:38'::timestamp) - extract(epoch from '2026-07-09 13:23: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'), 47635, 'SRID=4674;POINT (-40.566627 -2.823643)', '2026-07-09 13:23:46', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566588 -2.823636)'), GeomFromEWKT('SRID=4674;POINT (-40.566627 -2.823643)'))) / (select extract(epoch from '2026-07-09 13:23:46'::timestamp) - extract(epoch from '2026-07-09 13:23:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566588 -2.823636)'), GeomFromEWKT('SRID=4674;POINT (-40.566627 -2.823643)'))) / (select extract(epoch from '2026-07-09 13:23:46'::timestamp) - extract(epoch from '2026-07-09 13:23: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'), 47635, 'SRID=4674;POINT (-40.566678 -2.823651)', '2026-07-09 13:23:55', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566627 -2.823643)'), GeomFromEWKT('SRID=4674;POINT (-40.566678 -2.823651)'))) / (select extract(epoch from '2026-07-09 13:23:55'::timestamp) - extract(epoch from '2026-07-09 13:23:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566627 -2.823643)'), GeomFromEWKT('SRID=4674;POINT (-40.566678 -2.823651)'))) / (select extract(epoch from '2026-07-09 13:23:55'::timestamp) - extract(epoch from '2026-07-09 13:23: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'), 47635, 'SRID=4674;POINT (-40.566717 -2.823658)', '2026-07-09 13:24:02', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566678 -2.823651)'), GeomFromEWKT('SRID=4674;POINT (-40.566717 -2.823658)'))) / (select extract(epoch from '2026-07-09 13:24:02'::timestamp) - extract(epoch from '2026-07-09 13:23:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566678 -2.823651)'), GeomFromEWKT('SRID=4674;POINT (-40.566717 -2.823658)'))) / (select extract(epoch from '2026-07-09 13:24:02'::timestamp) - extract(epoch from '2026-07-09 13:23:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.566773 -2.823667)', '2026-07-09 13:24:12', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566717 -2.823658)'), GeomFromEWKT('SRID=4674;POINT (-40.566773 -2.823667)'))) / (select extract(epoch from '2026-07-09 13:24:12'::timestamp) - extract(epoch from '2026-07-09 13:24:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566717 -2.823658)'), GeomFromEWKT('SRID=4674;POINT (-40.566773 -2.823667)'))) / (select extract(epoch from '2026-07-09 13:24:12'::timestamp) - extract(epoch from '2026-07-09 13:24: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'), 47635, 'SRID=4674;POINT (-40.566812 -2.823675)', '2026-07-09 13:24:19', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566773 -2.823667)'), GeomFromEWKT('SRID=4674;POINT (-40.566812 -2.823675)'))) / (select extract(epoch from '2026-07-09 13:24:19'::timestamp) - extract(epoch from '2026-07-09 13:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566773 -2.823667)'), GeomFromEWKT('SRID=4674;POINT (-40.566812 -2.823675)'))) / (select extract(epoch from '2026-07-09 13:24:19'::timestamp) - extract(epoch from '2026-07-09 13:24:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.566868 -2.823687)', '2026-07-09 13:24:28', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566812 -2.823675)'), GeomFromEWKT('SRID=4674;POINT (-40.566868 -2.823687)'))) / (select extract(epoch from '2026-07-09 13:24:28'::timestamp) - extract(epoch from '2026-07-09 13:24:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566812 -2.823675)'), GeomFromEWKT('SRID=4674;POINT (-40.566868 -2.823687)'))) / (select extract(epoch from '2026-07-09 13:24:28'::timestamp) - extract(epoch from '2026-07-09 13:24: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'), 47635, 'SRID=4674;POINT (-40.566916 -2.823695)', '2026-07-09 13:24:36', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566868 -2.823687)'), GeomFromEWKT('SRID=4674;POINT (-40.566916 -2.823695)'))) / (select extract(epoch from '2026-07-09 13:24:36'::timestamp) - extract(epoch from '2026-07-09 13:24:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566868 -2.823687)'), GeomFromEWKT('SRID=4674;POINT (-40.566916 -2.823695)'))) / (select extract(epoch from '2026-07-09 13:24:36'::timestamp) - extract(epoch from '2026-07-09 13:24: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'), 47635, 'SRID=4674;POINT (-40.566977 -2.823717)', '2026-07-09 13:24:46', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566916 -2.823695)'), GeomFromEWKT('SRID=4674;POINT (-40.566977 -2.823717)'))) / (select extract(epoch from '2026-07-09 13:24:46'::timestamp) - extract(epoch from '2026-07-09 13:24:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566916 -2.823695)'), GeomFromEWKT('SRID=4674;POINT (-40.566977 -2.823717)'))) / (select extract(epoch from '2026-07-09 13:24:46'::timestamp) - extract(epoch from '2026-07-09 13:24:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.567028 -2.823722)', '2026-07-09 13:24:55', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566977 -2.823717)'), GeomFromEWKT('SRID=4674;POINT (-40.567028 -2.823722)'))) / (select extract(epoch from '2026-07-09 13:24:55'::timestamp) - extract(epoch from '2026-07-09 13:24:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566977 -2.823717)'), GeomFromEWKT('SRID=4674;POINT (-40.567028 -2.823722)'))) / (select extract(epoch from '2026-07-09 13:24:55'::timestamp) - extract(epoch from '2026-07-09 13:24:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.567075 -2.823724)', '2026-07-09 13:25:03', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567028 -2.823722)'), GeomFromEWKT('SRID=4674;POINT (-40.567075 -2.823724)'))) / (select extract(epoch from '2026-07-09 13:25:03'::timestamp) - extract(epoch from '2026-07-09 13:24:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567028 -2.823722)'), GeomFromEWKT('SRID=4674;POINT (-40.567075 -2.823724)'))) / (select extract(epoch from '2026-07-09 13:25:03'::timestamp) - extract(epoch from '2026-07-09 13:24: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'), 47635, 'SRID=4674;POINT (-40.567109 -2.823732)', '2026-07-09 13:25:10', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567075 -2.823724)'), GeomFromEWKT('SRID=4674;POINT (-40.567109 -2.823732)'))) / (select extract(epoch from '2026-07-09 13:25:10'::timestamp) - extract(epoch from '2026-07-09 13:25:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567075 -2.823724)'), GeomFromEWKT('SRID=4674;POINT (-40.567109 -2.823732)'))) / (select extract(epoch from '2026-07-09 13:25:10'::timestamp) - extract(epoch from '2026-07-09 13:25: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'), 47635, 'SRID=4674;POINT (-40.567136 -2.823733)', '2026-07-09 13:25:16', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567109 -2.823732)'), GeomFromEWKT('SRID=4674;POINT (-40.567136 -2.823733)'))) / (select extract(epoch from '2026-07-09 13:25:16'::timestamp) - extract(epoch from '2026-07-09 13:25:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567109 -2.823732)'), GeomFromEWKT('SRID=4674;POINT (-40.567136 -2.823733)'))) / (select extract(epoch from '2026-07-09 13:25:16'::timestamp) - extract(epoch from '2026-07-09 13:25: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'), 47635, 'SRID=4674;POINT (-40.567193 -2.823754)', '2026-07-09 13:25:25', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567136 -2.823733)'), GeomFromEWKT('SRID=4674;POINT (-40.567193 -2.823754)'))) / (select extract(epoch from '2026-07-09 13:25:25'::timestamp) - extract(epoch from '2026-07-09 13:25:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567136 -2.823733)'), GeomFromEWKT('SRID=4674;POINT (-40.567193 -2.823754)'))) / (select extract(epoch from '2026-07-09 13:25:25'::timestamp) - extract(epoch from '2026-07-09 13:25: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'), 47635, 'SRID=4674;POINT (-40.567235 -2.823765)', '2026-07-09 13:25:32', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567193 -2.823754)'), GeomFromEWKT('SRID=4674;POINT (-40.567235 -2.823765)'))) / (select extract(epoch from '2026-07-09 13:25:32'::timestamp) - extract(epoch from '2026-07-09 13:25:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567193 -2.823754)'), GeomFromEWKT('SRID=4674;POINT (-40.567235 -2.823765)'))) / (select extract(epoch from '2026-07-09 13:25:32'::timestamp) - extract(epoch from '2026-07-09 13:25: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'), 47635, 'SRID=4674;POINT (-40.567286 -2.823783)', '2026-07-09 13:25:41', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567235 -2.823765)'), GeomFromEWKT('SRID=4674;POINT (-40.567286 -2.823783)'))) / (select extract(epoch from '2026-07-09 13:25:41'::timestamp) - extract(epoch from '2026-07-09 13:25:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567235 -2.823765)'), GeomFromEWKT('SRID=4674;POINT (-40.567286 -2.823783)'))) / (select extract(epoch from '2026-07-09 13:25:41'::timestamp) - extract(epoch from '2026-07-09 13:25: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'), 47635, 'SRID=4674;POINT (-40.567325 -2.823793)', '2026-07-09 13:25:48', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567286 -2.823783)'), GeomFromEWKT('SRID=4674;POINT (-40.567325 -2.823793)'))) / (select extract(epoch from '2026-07-09 13:25:48'::timestamp) - extract(epoch from '2026-07-09 13:25:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567286 -2.823783)'), GeomFromEWKT('SRID=4674;POINT (-40.567325 -2.823793)'))) / (select extract(epoch from '2026-07-09 13:25:48'::timestamp) - extract(epoch from '2026-07-09 13:25: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'), 47635, 'SRID=4674;POINT (-40.56737 -2.823818)', '2026-07-09 13:25:56', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567325 -2.823793)'), GeomFromEWKT('SRID=4674;POINT (-40.56737 -2.823818)'))) / (select extract(epoch from '2026-07-09 13:25:56'::timestamp) - extract(epoch from '2026-07-09 13:25:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567325 -2.823793)'), GeomFromEWKT('SRID=4674;POINT (-40.56737 -2.823818)'))) / (select extract(epoch from '2026-07-09 13:25:56'::timestamp) - extract(epoch from '2026-07-09 13:25: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'), 47635, 'SRID=4674;POINT (-40.567415 -2.823833)', '2026-07-09 13:26:06', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56737 -2.823818)'), GeomFromEWKT('SRID=4674;POINT (-40.567415 -2.823833)'))) / (select extract(epoch from '2026-07-09 13:26:06'::timestamp) - extract(epoch from '2026-07-09 13:25:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56737 -2.823818)'), GeomFromEWKT('SRID=4674;POINT (-40.567415 -2.823833)'))) / (select extract(epoch from '2026-07-09 13:26:06'::timestamp) - extract(epoch from '2026-07-09 13:25: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'), 47635, 'SRID=4674;POINT (-40.567486 -2.823844)', '2026-07-09 13:26:18', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567415 -2.823833)'), GeomFromEWKT('SRID=4674;POINT (-40.567486 -2.823844)'))) / (select extract(epoch from '2026-07-09 13:26:18'::timestamp) - extract(epoch from '2026-07-09 13:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567415 -2.823833)'), GeomFromEWKT('SRID=4674;POINT (-40.567486 -2.823844)'))) / (select extract(epoch from '2026-07-09 13:26:18'::timestamp) - extract(epoch from '2026-07-09 13:26:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.567522 -2.823858)', '2026-07-09 13:26:25', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567486 -2.823844)'), GeomFromEWKT('SRID=4674;POINT (-40.567522 -2.823858)'))) / (select extract(epoch from '2026-07-09 13:26:25'::timestamp) - extract(epoch from '2026-07-09 13:26:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567486 -2.823844)'), GeomFromEWKT('SRID=4674;POINT (-40.567522 -2.823858)'))) / (select extract(epoch from '2026-07-09 13:26:25'::timestamp) - extract(epoch from '2026-07-09 13:26:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.567564 -2.823868)', '2026-07-09 13:26:33', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567522 -2.823858)'), GeomFromEWKT('SRID=4674;POINT (-40.567564 -2.823868)'))) / (select extract(epoch from '2026-07-09 13:26:33'::timestamp) - extract(epoch from '2026-07-09 13:26:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567522 -2.823858)'), GeomFromEWKT('SRID=4674;POINT (-40.567564 -2.823868)'))) / (select extract(epoch from '2026-07-09 13:26:33'::timestamp) - extract(epoch from '2026-07-09 13:26: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'), 47635, 'SRID=4674;POINT (-40.567613 -2.823878)', '2026-07-09 13:26:42', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567564 -2.823868)'), GeomFromEWKT('SRID=4674;POINT (-40.567613 -2.823878)'))) / (select extract(epoch from '2026-07-09 13:26:42'::timestamp) - extract(epoch from '2026-07-09 13:26:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567564 -2.823868)'), GeomFromEWKT('SRID=4674;POINT (-40.567613 -2.823878)'))) / (select extract(epoch from '2026-07-09 13:26:42'::timestamp) - extract(epoch from '2026-07-09 13:26:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.567648 -2.823887)', '2026-07-09 13:26:50', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567613 -2.823878)'), GeomFromEWKT('SRID=4674;POINT (-40.567648 -2.823887)'))) / (select extract(epoch from '2026-07-09 13:26:50'::timestamp) - extract(epoch from '2026-07-09 13:26:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567613 -2.823878)'), GeomFromEWKT('SRID=4674;POINT (-40.567648 -2.823887)'))) / (select extract(epoch from '2026-07-09 13:26:50'::timestamp) - extract(epoch from '2026-07-09 13:26: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'), 47635, 'SRID=4674;POINT (-40.567711 -2.823905)', '2026-07-09 13:27:03', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567648 -2.823887)'), GeomFromEWKT('SRID=4674;POINT (-40.567711 -2.823905)'))) / (select extract(epoch from '2026-07-09 13:27:03'::timestamp) - extract(epoch from '2026-07-09 13:26:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567648 -2.823887)'), GeomFromEWKT('SRID=4674;POINT (-40.567711 -2.823905)'))) / (select extract(epoch from '2026-07-09 13:27:03'::timestamp) - extract(epoch from '2026-07-09 13:26: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'), 47635, 'SRID=4674;POINT (-40.567783 -2.823926)', '2026-07-09 13:27:17', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567711 -2.823905)'), GeomFromEWKT('SRID=4674;POINT (-40.567783 -2.823926)'))) / (select extract(epoch from '2026-07-09 13:27:17'::timestamp) - extract(epoch from '2026-07-09 13:27:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567711 -2.823905)'), GeomFromEWKT('SRID=4674;POINT (-40.567783 -2.823926)'))) / (select extract(epoch from '2026-07-09 13:27:17'::timestamp) - extract(epoch from '2026-07-09 13:27: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'), 47635, 'SRID=4674;POINT (-40.567815 -2.823933)', '2026-07-09 13:27:23', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567783 -2.823926)'), GeomFromEWKT('SRID=4674;POINT (-40.567815 -2.823933)'))) / (select extract(epoch from '2026-07-09 13:27:23'::timestamp) - extract(epoch from '2026-07-09 13:27:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567783 -2.823926)'), GeomFromEWKT('SRID=4674;POINT (-40.567815 -2.823933)'))) / (select extract(epoch from '2026-07-09 13:27:23'::timestamp) - extract(epoch from '2026-07-09 13:27: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'), 47635, 'SRID=4674;POINT (-40.567827 -2.82394)', '2026-07-09 13:27:25', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567815 -2.823933)'), GeomFromEWKT('SRID=4674;POINT (-40.567827 -2.82394)'))) / (select extract(epoch from '2026-07-09 13:27:25'::timestamp) - extract(epoch from '2026-07-09 13:27:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567815 -2.823933)'), GeomFromEWKT('SRID=4674;POINT (-40.567827 -2.82394)'))) / (select extract(epoch from '2026-07-09 13:27:25'::timestamp) - extract(epoch from '2026-07-09 13:27: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'), 47635, 'SRID=4674;POINT (-40.567872 -2.823951)', '2026-07-09 13:27:33', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567827 -2.82394)'), GeomFromEWKT('SRID=4674;POINT (-40.567872 -2.823951)'))) / (select extract(epoch from '2026-07-09 13:27:33'::timestamp) - extract(epoch from '2026-07-09 13:27:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567827 -2.82394)'), GeomFromEWKT('SRID=4674;POINT (-40.567872 -2.823951)'))) / (select extract(epoch from '2026-07-09 13:27:33'::timestamp) - extract(epoch from '2026-07-09 13:27:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.567877 -2.823954)', '2026-07-09 13:27:34', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567872 -2.823951)'), GeomFromEWKT('SRID=4674;POINT (-40.567877 -2.823954)'))) / (select extract(epoch from '2026-07-09 13:27:34'::timestamp) - extract(epoch from '2026-07-09 13:27:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567872 -2.823951)'), GeomFromEWKT('SRID=4674;POINT (-40.567877 -2.823954)'))) / (select extract(epoch from '2026-07-09 13:27:34'::timestamp) - extract(epoch from '2026-07-09 13:27: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'), 47635, 'SRID=4674;POINT (-40.567912 -2.823969)', '2026-07-09 13:27:42', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567877 -2.823954)'), GeomFromEWKT('SRID=4674;POINT (-40.567912 -2.823969)'))) / (select extract(epoch from '2026-07-09 13:27:42'::timestamp) - extract(epoch from '2026-07-09 13:27:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567877 -2.823954)'), GeomFromEWKT('SRID=4674;POINT (-40.567912 -2.823969)'))) / (select extract(epoch from '2026-07-09 13:27:42'::timestamp) - extract(epoch from '2026-07-09 13:27: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'), 47635, 'SRID=4674;POINT (-40.567955 -2.823985)', '2026-07-09 13:27:51', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567912 -2.823969)'), GeomFromEWKT('SRID=4674;POINT (-40.567955 -2.823985)'))) / (select extract(epoch from '2026-07-09 13:27:51'::timestamp) - extract(epoch from '2026-07-09 13:27:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567912 -2.823969)'), GeomFromEWKT('SRID=4674;POINT (-40.567955 -2.823985)'))) / (select extract(epoch from '2026-07-09 13:27:51'::timestamp) - extract(epoch from '2026-07-09 13:27:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.567997 -2.824001)', '2026-07-09 13:28:00', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567955 -2.823985)'), GeomFromEWKT('SRID=4674;POINT (-40.567997 -2.824001)'))) / (select extract(epoch from '2026-07-09 13:28:00'::timestamp) - extract(epoch from '2026-07-09 13:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567955 -2.823985)'), GeomFromEWKT('SRID=4674;POINT (-40.567997 -2.824001)'))) / (select extract(epoch from '2026-07-09 13:28:00'::timestamp) - extract(epoch from '2026-07-09 13:27:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.568021 -2.824006)', '2026-07-09 13:28:09', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567997 -2.824001)'), GeomFromEWKT('SRID=4674;POINT (-40.568021 -2.824006)'))) / (select extract(epoch from '2026-07-09 13:28:09'::timestamp) - extract(epoch from '2026-07-09 13:28:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567997 -2.824001)'), GeomFromEWKT('SRID=4674;POINT (-40.568021 -2.824006)'))) / (select extract(epoch from '2026-07-09 13:28:09'::timestamp) - extract(epoch from '2026-07-09 13:28: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'), 47635, 'SRID=4674;POINT (-40.568061 -2.824015)', '2026-07-09 13:28:16', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568021 -2.824006)'), GeomFromEWKT('SRID=4674;POINT (-40.568061 -2.824015)'))) / (select extract(epoch from '2026-07-09 13:28:16'::timestamp) - extract(epoch from '2026-07-09 13:28:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568021 -2.824006)'), GeomFromEWKT('SRID=4674;POINT (-40.568061 -2.824015)'))) / (select extract(epoch from '2026-07-09 13:28:16'::timestamp) - extract(epoch from '2026-07-09 13:28: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'), 47635, 'SRID=4674;POINT (-40.568108 -2.824038)', '2026-07-09 13:28:25', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568061 -2.824015)'), GeomFromEWKT('SRID=4674;POINT (-40.568108 -2.824038)'))) / (select extract(epoch from '2026-07-09 13:28:25'::timestamp) - extract(epoch from '2026-07-09 13:28:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568061 -2.824015)'), GeomFromEWKT('SRID=4674;POINT (-40.568108 -2.824038)'))) / (select extract(epoch from '2026-07-09 13:28:25'::timestamp) - extract(epoch from '2026-07-09 13:28: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'), 47635, 'SRID=4674;POINT (-40.568164 -2.82405)', '2026-07-09 13:28:34', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568108 -2.824038)'), GeomFromEWKT('SRID=4674;POINT (-40.568164 -2.82405)'))) / (select extract(epoch from '2026-07-09 13:28:34'::timestamp) - extract(epoch from '2026-07-09 13:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568108 -2.824038)'), GeomFromEWKT('SRID=4674;POINT (-40.568164 -2.82405)'))) / (select extract(epoch from '2026-07-09 13:28:34'::timestamp) - extract(epoch from '2026-07-09 13:28: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'), 47635, 'SRID=4674;POINT (-40.568198 -2.824064)', '2026-07-09 13:28:41', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568164 -2.82405)'), GeomFromEWKT('SRID=4674;POINT (-40.568198 -2.824064)'))) / (select extract(epoch from '2026-07-09 13:28:41'::timestamp) - extract(epoch from '2026-07-09 13:28:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568164 -2.82405)'), GeomFromEWKT('SRID=4674;POINT (-40.568198 -2.824064)'))) / (select extract(epoch from '2026-07-09 13:28:41'::timestamp) - extract(epoch from '2026-07-09 13:28:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.568248 -2.824083)', '2026-07-09 13:28:51', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568198 -2.824064)'), GeomFromEWKT('SRID=4674;POINT (-40.568248 -2.824083)'))) / (select extract(epoch from '2026-07-09 13:28:51'::timestamp) - extract(epoch from '2026-07-09 13:28:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568198 -2.824064)'), GeomFromEWKT('SRID=4674;POINT (-40.568248 -2.824083)'))) / (select extract(epoch from '2026-07-09 13:28:51'::timestamp) - extract(epoch from '2026-07-09 13:28: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'), 47635, 'SRID=4674;POINT (-40.5683 -2.824091)', '2026-07-09 13:29:00', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568248 -2.824083)'), GeomFromEWKT('SRID=4674;POINT (-40.5683 -2.824091)'))) / (select extract(epoch from '2026-07-09 13:29:00'::timestamp) - extract(epoch from '2026-07-09 13:28:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568248 -2.824083)'), GeomFromEWKT('SRID=4674;POINT (-40.5683 -2.824091)'))) / (select extract(epoch from '2026-07-09 13:29:00'::timestamp) - extract(epoch from '2026-07-09 13:28:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.568351 -2.824104)', '2026-07-09 13:29:09', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5683 -2.824091)'), GeomFromEWKT('SRID=4674;POINT (-40.568351 -2.824104)'))) / (select extract(epoch from '2026-07-09 13:29:09'::timestamp) - extract(epoch from '2026-07-09 13:29:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5683 -2.824091)'), GeomFromEWKT('SRID=4674;POINT (-40.568351 -2.824104)'))) / (select extract(epoch from '2026-07-09 13:29:09'::timestamp) - extract(epoch from '2026-07-09 13:29:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.568389 -2.824118)', '2026-07-09 13:29:16', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568351 -2.824104)'), GeomFromEWKT('SRID=4674;POINT (-40.568389 -2.824118)'))) / (select extract(epoch from '2026-07-09 13:29:16'::timestamp) - extract(epoch from '2026-07-09 13:29:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568351 -2.824104)'), GeomFromEWKT('SRID=4674;POINT (-40.568389 -2.824118)'))) / (select extract(epoch from '2026-07-09 13:29:16'::timestamp) - extract(epoch from '2026-07-09 13:29:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.568419 -2.824126)', '2026-07-09 13:29:23', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568389 -2.824118)'), GeomFromEWKT('SRID=4674;POINT (-40.568419 -2.824126)'))) / (select extract(epoch from '2026-07-09 13:29:23'::timestamp) - extract(epoch from '2026-07-09 13:29:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568389 -2.824118)'), GeomFromEWKT('SRID=4674;POINT (-40.568419 -2.824126)'))) / (select extract(epoch from '2026-07-09 13:29:23'::timestamp) - extract(epoch from '2026-07-09 13:29:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.568471 -2.824137)', '2026-07-09 13:29:32', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568419 -2.824126)'), GeomFromEWKT('SRID=4674;POINT (-40.568471 -2.824137)'))) / (select extract(epoch from '2026-07-09 13:29:32'::timestamp) - extract(epoch from '2026-07-09 13:29:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568419 -2.824126)'), GeomFromEWKT('SRID=4674;POINT (-40.568471 -2.824137)'))) / (select extract(epoch from '2026-07-09 13:29:32'::timestamp) - extract(epoch from '2026-07-09 13:29: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'), 47635, 'SRID=4674;POINT (-40.568542 -2.824151)', '2026-07-09 13:29:45', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568471 -2.824137)'), GeomFromEWKT('SRID=4674;POINT (-40.568542 -2.824151)'))) / (select extract(epoch from '2026-07-09 13:29:45'::timestamp) - extract(epoch from '2026-07-09 13:29:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568471 -2.824137)'), GeomFromEWKT('SRID=4674;POINT (-40.568542 -2.824151)'))) / (select extract(epoch from '2026-07-09 13:29:45'::timestamp) - extract(epoch from '2026-07-09 13:29: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'), 47635, 'SRID=4674;POINT (-40.568589 -2.824158)', '2026-07-09 13:29:54', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568542 -2.824151)'), GeomFromEWKT('SRID=4674;POINT (-40.568589 -2.824158)'))) / (select extract(epoch from '2026-07-09 13:29:54'::timestamp) - extract(epoch from '2026-07-09 13:29:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568542 -2.824151)'), GeomFromEWKT('SRID=4674;POINT (-40.568589 -2.824158)'))) / (select extract(epoch from '2026-07-09 13:29:54'::timestamp) - extract(epoch from '2026-07-09 13:29:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
