 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.030607 -2.783368)', '2026-06-13 09:14:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03045 -2.783302)'), GeomFromEWKT('SRID=4674;POINT (-40.030607 -2.783368)'))) / (select extract(epoch from '2026-06-13 09:14:58'::timestamp) - extract(epoch from '2026-06-13 09:14:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03045 -2.783302)'), GeomFromEWKT('SRID=4674;POINT (-40.030607 -2.783368)'))) / (select extract(epoch from '2026-06-13 09:14:58'::timestamp) - extract(epoch from '2026-06-13 09:14:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.030744 -2.783421)', '2026-06-13 09:15:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030607 -2.783368)'), GeomFromEWKT('SRID=4674;POINT (-40.030744 -2.783421)'))) / (select extract(epoch from '2026-06-13 09:15:05'::timestamp) - extract(epoch from '2026-06-13 09:14:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030607 -2.783368)'), GeomFromEWKT('SRID=4674;POINT (-40.030744 -2.783421)'))) / (select extract(epoch from '2026-06-13 09:15:05'::timestamp) - extract(epoch from '2026-06-13 09:14:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.030881 -2.783477)', '2026-06-13 09:15:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030744 -2.783421)'), GeomFromEWKT('SRID=4674;POINT (-40.030881 -2.783477)'))) / (select extract(epoch from '2026-06-13 09:15:12'::timestamp) - extract(epoch from '2026-06-13 09:15:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030744 -2.783421)'), GeomFromEWKT('SRID=4674;POINT (-40.030881 -2.783477)'))) / (select extract(epoch from '2026-06-13 09:15:12'::timestamp) - extract(epoch from '2026-06-13 09:15:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.031016 -2.783541)', '2026-06-13 09:15:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030881 -2.783477)'), GeomFromEWKT('SRID=4674;POINT (-40.031016 -2.783541)'))) / (select extract(epoch from '2026-06-13 09:15:19'::timestamp) - extract(epoch from '2026-06-13 09:15:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030881 -2.783477)'), GeomFromEWKT('SRID=4674;POINT (-40.031016 -2.783541)'))) / (select extract(epoch from '2026-06-13 09:15:19'::timestamp) - extract(epoch from '2026-06-13 09:15:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.031162 -2.783619)', '2026-06-13 09:15:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031016 -2.783541)'), GeomFromEWKT('SRID=4674;POINT (-40.031162 -2.783619)'))) / (select extract(epoch from '2026-06-13 09:15:27'::timestamp) - extract(epoch from '2026-06-13 09:15:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031016 -2.783541)'), GeomFromEWKT('SRID=4674;POINT (-40.031162 -2.783619)'))) / (select extract(epoch from '2026-06-13 09:15:27'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46944, 'SRID=4674;POINT (-40.031281 -2.783657)', '2026-06-13 09:15:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031162 -2.783619)'), GeomFromEWKT('SRID=4674;POINT (-40.031281 -2.783657)'))) / (select extract(epoch from '2026-06-13 09:15:33'::timestamp) - extract(epoch from '2026-06-13 09:15:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031162 -2.783619)'), GeomFromEWKT('SRID=4674;POINT (-40.031281 -2.783657)'))) / (select extract(epoch from '2026-06-13 09:15:33'::timestamp) - extract(epoch from '2026-06-13 09:15:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.031427 -2.783704)', '2026-06-13 09:15:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031281 -2.783657)'), GeomFromEWKT('SRID=4674;POINT (-40.031427 -2.783704)'))) / (select extract(epoch from '2026-06-13 09:15:40'::timestamp) - extract(epoch from '2026-06-13 09:15:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031281 -2.783657)'), GeomFromEWKT('SRID=4674;POINT (-40.031427 -2.783704)'))) / (select extract(epoch from '2026-06-13 09:15:40'::timestamp) - extract(epoch from '2026-06-13 09:15:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.031568 -2.783738)', '2026-06-13 09:15:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031427 -2.783704)'), GeomFromEWKT('SRID=4674;POINT (-40.031568 -2.783738)'))) / (select extract(epoch from '2026-06-13 09:15:47'::timestamp) - extract(epoch from '2026-06-13 09:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031427 -2.783704)'), GeomFromEWKT('SRID=4674;POINT (-40.031568 -2.783738)'))) / (select extract(epoch from '2026-06-13 09:15:47'::timestamp) - extract(epoch from '2026-06-13 09:15: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'), 46944, 'SRID=4674;POINT (-40.031692 -2.783771)', '2026-06-13 09:15:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031568 -2.783738)'), GeomFromEWKT('SRID=4674;POINT (-40.031692 -2.783771)'))) / (select extract(epoch from '2026-06-13 09:15:53'::timestamp) - extract(epoch from '2026-06-13 09:15:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031568 -2.783738)'), GeomFromEWKT('SRID=4674;POINT (-40.031692 -2.783771)'))) / (select extract(epoch from '2026-06-13 09:15:53'::timestamp) - extract(epoch from '2026-06-13 09:15: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'), 46944, 'SRID=4674;POINT (-40.031837 -2.783804)', '2026-06-13 09:16:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031692 -2.783771)'), GeomFromEWKT('SRID=4674;POINT (-40.031837 -2.783804)'))) / (select extract(epoch from '2026-06-13 09:16:00'::timestamp) - extract(epoch from '2026-06-13 09:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031692 -2.783771)'), GeomFromEWKT('SRID=4674;POINT (-40.031837 -2.783804)'))) / (select extract(epoch from '2026-06-13 09:16:00'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46944, 'SRID=4674;POINT (-40.031997 -2.783851)', '2026-06-13 09:16:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031837 -2.783804)'), GeomFromEWKT('SRID=4674;POINT (-40.031997 -2.783851)'))) / (select extract(epoch from '2026-06-13 09:16:08'::timestamp) - extract(epoch from '2026-06-13 09:16:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031837 -2.783804)'), GeomFromEWKT('SRID=4674;POINT (-40.031997 -2.783851)'))) / (select extract(epoch from '2026-06-13 09:16:08'::timestamp) - extract(epoch from '2026-06-13 09:16: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'), 46944, 'SRID=4674;POINT (-40.032131 -2.783927)', '2026-06-13 09:16:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031997 -2.783851)'), GeomFromEWKT('SRID=4674;POINT (-40.032131 -2.783927)'))) / (select extract(epoch from '2026-06-13 09:16:15'::timestamp) - extract(epoch from '2026-06-13 09:16:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031997 -2.783851)'), GeomFromEWKT('SRID=4674;POINT (-40.032131 -2.783927)'))) / (select extract(epoch from '2026-06-13 09:16:15'::timestamp) - extract(epoch from '2026-06-13 09:16: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'), 46944, 'SRID=4674;POINT (-40.032265 -2.783985)', '2026-06-13 09:16:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032131 -2.783927)'), GeomFromEWKT('SRID=4674;POINT (-40.032265 -2.783985)'))) / (select extract(epoch from '2026-06-13 09:16:22'::timestamp) - extract(epoch from '2026-06-13 09:16:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032131 -2.783927)'), GeomFromEWKT('SRID=4674;POINT (-40.032265 -2.783985)'))) / (select extract(epoch from '2026-06-13 09:16:22'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46944, 'SRID=4674;POINT (-40.032426 -2.784042)', '2026-06-13 09:16:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032265 -2.783985)'), GeomFromEWKT('SRID=4674;POINT (-40.032426 -2.784042)'))) / (select extract(epoch from '2026-06-13 09:16:30'::timestamp) - extract(epoch from '2026-06-13 09:16:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032265 -2.783985)'), GeomFromEWKT('SRID=4674;POINT (-40.032426 -2.784042)'))) / (select extract(epoch from '2026-06-13 09:16:30'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46944, 'SRID=4674;POINT (-40.032561 -2.784087)', '2026-06-13 09:16:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032426 -2.784042)'), GeomFromEWKT('SRID=4674;POINT (-40.032561 -2.784087)'))) / (select extract(epoch from '2026-06-13 09:16:37'::timestamp) - extract(epoch from '2026-06-13 09:16:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032426 -2.784042)'), GeomFromEWKT('SRID=4674;POINT (-40.032561 -2.784087)'))) / (select extract(epoch from '2026-06-13 09:16:37'::timestamp) - extract(epoch from '2026-06-13 09:16:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.032706 -2.784115)', '2026-06-13 09:16:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032561 -2.784087)'), GeomFromEWKT('SRID=4674;POINT (-40.032706 -2.784115)'))) / (select extract(epoch from '2026-06-13 09:16:44'::timestamp) - extract(epoch from '2026-06-13 09:16:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032561 -2.784087)'), GeomFromEWKT('SRID=4674;POINT (-40.032706 -2.784115)'))) / (select extract(epoch from '2026-06-13 09:16:44'::timestamp) - extract(epoch from '2026-06-13 09:16:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.032852 -2.784161)', '2026-06-13 09:16:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032706 -2.784115)'), GeomFromEWKT('SRID=4674;POINT (-40.032852 -2.784161)'))) / (select extract(epoch from '2026-06-13 09:16:51'::timestamp) - extract(epoch from '2026-06-13 09:16:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032706 -2.784115)'), GeomFromEWKT('SRID=4674;POINT (-40.032852 -2.784161)'))) / (select extract(epoch from '2026-06-13 09:16:51'::timestamp) - extract(epoch from '2026-06-13 09:16:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.032962 -2.784216)', '2026-06-13 09:16:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032852 -2.784161)'), GeomFromEWKT('SRID=4674;POINT (-40.032962 -2.784216)'))) / (select extract(epoch from '2026-06-13 09:16:57'::timestamp) - extract(epoch from '2026-06-13 09:16:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032852 -2.784161)'), GeomFromEWKT('SRID=4674;POINT (-40.032962 -2.784216)'))) / (select extract(epoch from '2026-06-13 09:16:57'::timestamp) - extract(epoch from '2026-06-13 09:16:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.032996 -2.784252)', '2026-06-13 09:17:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032962 -2.784216)'), GeomFromEWKT('SRID=4674;POINT (-40.032996 -2.784252)'))) / (select extract(epoch from '2026-06-13 09:17:00'::timestamp) - extract(epoch from '2026-06-13 09:16:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032962 -2.784216)'), GeomFromEWKT('SRID=4674;POINT (-40.032996 -2.784252)'))) / (select extract(epoch from '2026-06-13 09:17:00'::timestamp) - extract(epoch from '2026-06-13 09:16:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.033003 -2.784279)', '2026-06-13 09:17:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032996 -2.784252)'), GeomFromEWKT('SRID=4674;POINT (-40.033003 -2.784279)'))) / (select extract(epoch from '2026-06-13 09:17:02'::timestamp) - extract(epoch from '2026-06-13 09:17:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032996 -2.784252)'), GeomFromEWKT('SRID=4674;POINT (-40.033003 -2.784279)'))) / (select extract(epoch from '2026-06-13 09:17:02'::timestamp) - extract(epoch from '2026-06-13 09:17:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.033003 -2.784314)', '2026-06-13 09:17:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033003 -2.784279)'), GeomFromEWKT('SRID=4674;POINT (-40.033003 -2.784314)'))) / (select extract(epoch from '2026-06-13 09:17:05'::timestamp) - extract(epoch from '2026-06-13 09:17:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033003 -2.784279)'), GeomFromEWKT('SRID=4674;POINT (-40.033003 -2.784314)'))) / (select extract(epoch from '2026-06-13 09:17:05'::timestamp) - extract(epoch from '2026-06-13 09:17:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.032994 -2.784326)', '2026-06-13 09:17:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033003 -2.784314)'), GeomFromEWKT('SRID=4674;POINT (-40.032994 -2.784326)'))) / (select extract(epoch from '2026-06-13 09:17:07'::timestamp) - extract(epoch from '2026-06-13 09:17:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033003 -2.784314)'), GeomFromEWKT('SRID=4674;POINT (-40.032994 -2.784326)'))) / (select extract(epoch from '2026-06-13 09:17:07'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46944, 'SRID=4674;POINT (-40.032979 -2.784332)', '2026-06-13 09:17:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032994 -2.784326)'), GeomFromEWKT('SRID=4674;POINT (-40.032979 -2.784332)'))) / (select extract(epoch from '2026-06-13 09:17:09'::timestamp) - extract(epoch from '2026-06-13 09:17:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032994 -2.784326)'), GeomFromEWKT('SRID=4674;POINT (-40.032979 -2.784332)'))) / (select extract(epoch from '2026-06-13 09:17:09'::timestamp) - extract(epoch from '2026-06-13 09:17:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.03291 -2.784309)', '2026-06-13 09:17:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032979 -2.784332)'), GeomFromEWKT('SRID=4674;POINT (-40.03291 -2.784309)'))) / (select extract(epoch from '2026-06-13 09:17:16'::timestamp) - extract(epoch from '2026-06-13 09:17:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032979 -2.784332)'), GeomFromEWKT('SRID=4674;POINT (-40.03291 -2.784309)'))) / (select extract(epoch from '2026-06-13 09:17:16'::timestamp) - extract(epoch from '2026-06-13 09:17:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.032853 -2.78428)', '2026-06-13 09:17:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03291 -2.784309)'), GeomFromEWKT('SRID=4674;POINT (-40.032853 -2.78428)'))) / (select extract(epoch from '2026-06-13 09:17:24'::timestamp) - extract(epoch from '2026-06-13 09:17:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03291 -2.784309)'), GeomFromEWKT('SRID=4674;POINT (-40.032853 -2.78428)'))) / (select extract(epoch from '2026-06-13 09:17:24'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46944, 'SRID=4674;POINT (-40.032823 -2.78426)', '2026-06-13 09:17:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032853 -2.78428)'), GeomFromEWKT('SRID=4674;POINT (-40.032823 -2.78426)'))) / (select extract(epoch from '2026-06-13 09:17:33'::timestamp) - extract(epoch from '2026-06-13 09:17:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032853 -2.78428)'), GeomFromEWKT('SRID=4674;POINT (-40.032823 -2.78426)'))) / (select extract(epoch from '2026-06-13 09:17:33'::timestamp) - extract(epoch from '2026-06-13 09:17:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.03281 -2.784227)', '2026-06-13 09:17:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032823 -2.78426)'), GeomFromEWKT('SRID=4674;POINT (-40.03281 -2.784227)'))) / (select extract(epoch from '2026-06-13 09:17:43'::timestamp) - extract(epoch from '2026-06-13 09:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032823 -2.78426)'), GeomFromEWKT('SRID=4674;POINT (-40.03281 -2.784227)'))) / (select extract(epoch from '2026-06-13 09:17:43'::timestamp) - extract(epoch from '2026-06-13 09:17:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.032819 -2.784181)', '2026-06-13 09:17:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03281 -2.784227)'), GeomFromEWKT('SRID=4674;POINT (-40.032819 -2.784181)'))) / (select extract(epoch from '2026-06-13 09:17:55'::timestamp) - extract(epoch from '2026-06-13 09:17:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03281 -2.784227)'), GeomFromEWKT('SRID=4674;POINT (-40.032819 -2.784181)'))) / (select extract(epoch from '2026-06-13 09:17:55'::timestamp) - extract(epoch from '2026-06-13 09:17:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.032882 -2.784105)', '2026-06-13 09:18:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032819 -2.784181)'), GeomFromEWKT('SRID=4674;POINT (-40.032882 -2.784105)'))) / (select extract(epoch from '2026-06-13 09:18:08'::timestamp) - extract(epoch from '2026-06-13 09:17:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032819 -2.784181)'), GeomFromEWKT('SRID=4674;POINT (-40.032882 -2.784105)'))) / (select extract(epoch from '2026-06-13 09:18:08'::timestamp) - extract(epoch from '2026-06-13 09:17:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.032957 -2.784077)', '2026-06-13 09:18:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032882 -2.784105)'), GeomFromEWKT('SRID=4674;POINT (-40.032957 -2.784077)'))) / (select extract(epoch from '2026-06-13 09:18:17'::timestamp) - extract(epoch from '2026-06-13 09:18:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032882 -2.784105)'), GeomFromEWKT('SRID=4674;POINT (-40.032957 -2.784077)'))) / (select extract(epoch from '2026-06-13 09:18:17'::timestamp) - extract(epoch from '2026-06-13 09:18:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.033083 -2.784091)', '2026-06-13 09:18:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032957 -2.784077)'), GeomFromEWKT('SRID=4674;POINT (-40.033083 -2.784091)'))) / (select extract(epoch from '2026-06-13 09:18:25'::timestamp) - extract(epoch from '2026-06-13 09:18:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032957 -2.784077)'), GeomFromEWKT('SRID=4674;POINT (-40.033083 -2.784091)'))) / (select extract(epoch from '2026-06-13 09:18:25'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46944, 'SRID=4674;POINT (-40.033173 -2.784118)', '2026-06-13 09:18:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033083 -2.784091)'), GeomFromEWKT('SRID=4674;POINT (-40.033173 -2.784118)'))) / (select extract(epoch from '2026-06-13 09:18:30'::timestamp) - extract(epoch from '2026-06-13 09:18:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033083 -2.784091)'), GeomFromEWKT('SRID=4674;POINT (-40.033173 -2.784118)'))) / (select extract(epoch from '2026-06-13 09:18:30'::timestamp) - extract(epoch from '2026-06-13 09:18:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.033313 -2.78417)', '2026-06-13 09:18:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033173 -2.784118)'), GeomFromEWKT('SRID=4674;POINT (-40.033313 -2.78417)'))) / (select extract(epoch from '2026-06-13 09:18:37'::timestamp) - extract(epoch from '2026-06-13 09:18:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033173 -2.784118)'), GeomFromEWKT('SRID=4674;POINT (-40.033313 -2.78417)'))) / (select extract(epoch from '2026-06-13 09:18:37'::timestamp) - extract(epoch from '2026-06-13 09:18:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.033431 -2.784225)', '2026-06-13 09:18:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033313 -2.78417)'), GeomFromEWKT('SRID=4674;POINT (-40.033431 -2.784225)'))) / (select extract(epoch from '2026-06-13 09:18:43'::timestamp) - extract(epoch from '2026-06-13 09:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033313 -2.78417)'), GeomFromEWKT('SRID=4674;POINT (-40.033431 -2.784225)'))) / (select extract(epoch from '2026-06-13 09:18:43'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46944, 'SRID=4674;POINT (-40.033568 -2.78428)', '2026-06-13 09:18:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033431 -2.784225)'), GeomFromEWKT('SRID=4674;POINT (-40.033568 -2.78428)'))) / (select extract(epoch from '2026-06-13 09:18:50'::timestamp) - extract(epoch from '2026-06-13 09:18:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033431 -2.784225)'), GeomFromEWKT('SRID=4674;POINT (-40.033568 -2.78428)'))) / (select extract(epoch from '2026-06-13 09:18:50'::timestamp) - extract(epoch from '2026-06-13 09:18:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.033716 -2.784317)', '2026-06-13 09:18:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033568 -2.78428)'), GeomFromEWKT('SRID=4674;POINT (-40.033716 -2.784317)'))) / (select extract(epoch from '2026-06-13 09:18:57'::timestamp) - extract(epoch from '2026-06-13 09:18:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033568 -2.78428)'), GeomFromEWKT('SRID=4674;POINT (-40.033716 -2.784317)'))) / (select extract(epoch from '2026-06-13 09:18:57'::timestamp) - extract(epoch from '2026-06-13 09:18:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.03384 -2.784361)', '2026-06-13 09:19:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033716 -2.784317)'), GeomFromEWKT('SRID=4674;POINT (-40.03384 -2.784361)'))) / (select extract(epoch from '2026-06-13 09:19:03'::timestamp) - extract(epoch from '2026-06-13 09:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033716 -2.784317)'), GeomFromEWKT('SRID=4674;POINT (-40.03384 -2.784361)'))) / (select extract(epoch from '2026-06-13 09:19:03'::timestamp) - extract(epoch from '2026-06-13 09:18:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.033942 -2.784409)', '2026-06-13 09:19:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03384 -2.784361)'), GeomFromEWKT('SRID=4674;POINT (-40.033942 -2.784409)'))) / (select extract(epoch from '2026-06-13 09:19:08'::timestamp) - extract(epoch from '2026-06-13 09:19:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03384 -2.784361)'), GeomFromEWKT('SRID=4674;POINT (-40.033942 -2.784409)'))) / (select extract(epoch from '2026-06-13 09:19:08'::timestamp) - extract(epoch from '2026-06-13 09:19:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.034034 -2.784463)', '2026-06-13 09:19:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033942 -2.784409)'), GeomFromEWKT('SRID=4674;POINT (-40.034034 -2.784463)'))) / (select extract(epoch from '2026-06-13 09:19:13'::timestamp) - extract(epoch from '2026-06-13 09:19:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033942 -2.784409)'), GeomFromEWKT('SRID=4674;POINT (-40.034034 -2.784463)'))) / (select extract(epoch from '2026-06-13 09:19:13'::timestamp) - extract(epoch from '2026-06-13 09:19:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.03417 -2.784515)', '2026-06-13 09:19:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034034 -2.784463)'), GeomFromEWKT('SRID=4674;POINT (-40.03417 -2.784515)'))) / (select extract(epoch from '2026-06-13 09:19:20'::timestamp) - extract(epoch from '2026-06-13 09:19:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034034 -2.784463)'), GeomFromEWKT('SRID=4674;POINT (-40.03417 -2.784515)'))) / (select extract(epoch from '2026-06-13 09:19:20'::timestamp) - extract(epoch from '2026-06-13 09:19:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.034291 -2.784552)', '2026-06-13 09:19:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03417 -2.784515)'), GeomFromEWKT('SRID=4674;POINT (-40.034291 -2.784552)'))) / (select extract(epoch from '2026-06-13 09:19:26'::timestamp) - extract(epoch from '2026-06-13 09:19:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03417 -2.784515)'), GeomFromEWKT('SRID=4674;POINT (-40.034291 -2.784552)'))) / (select extract(epoch from '2026-06-13 09:19:26'::timestamp) - extract(epoch from '2026-06-13 09:19: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'), 46944, 'SRID=4674;POINT (-40.034456 -2.784588)', '2026-06-13 09:19:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034291 -2.784552)'), GeomFromEWKT('SRID=4674;POINT (-40.034456 -2.784588)'))) / (select extract(epoch from '2026-06-13 09:19:34'::timestamp) - extract(epoch from '2026-06-13 09:19:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034291 -2.784552)'), GeomFromEWKT('SRID=4674;POINT (-40.034456 -2.784588)'))) / (select extract(epoch from '2026-06-13 09:19:34'::timestamp) - extract(epoch from '2026-06-13 09:19: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'), 46944, 'SRID=4674;POINT (-40.034597 -2.784617)', '2026-06-13 09:19:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034456 -2.784588)'), GeomFromEWKT('SRID=4674;POINT (-40.034597 -2.784617)'))) / (select extract(epoch from '2026-06-13 09:19:41'::timestamp) - extract(epoch from '2026-06-13 09:19:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034456 -2.784588)'), GeomFromEWKT('SRID=4674;POINT (-40.034597 -2.784617)'))) / (select extract(epoch from '2026-06-13 09:19:41'::timestamp) - extract(epoch from '2026-06-13 09:19:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.034728 -2.784636)', '2026-06-13 09:19:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034597 -2.784617)'), GeomFromEWKT('SRID=4674;POINT (-40.034728 -2.784636)'))) / (select extract(epoch from '2026-06-13 09:19:47'::timestamp) - extract(epoch from '2026-06-13 09:19:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034597 -2.784617)'), GeomFromEWKT('SRID=4674;POINT (-40.034728 -2.784636)'))) / (select extract(epoch from '2026-06-13 09:19:47'::timestamp) - extract(epoch from '2026-06-13 09:19: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'), 46944, 'SRID=4674;POINT (-40.034849 -2.784657)', '2026-06-13 09:19:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034728 -2.784636)'), GeomFromEWKT('SRID=4674;POINT (-40.034849 -2.784657)'))) / (select extract(epoch from '2026-06-13 09:19:53'::timestamp) - extract(epoch from '2026-06-13 09:19:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034728 -2.784636)'), GeomFromEWKT('SRID=4674;POINT (-40.034849 -2.784657)'))) / (select extract(epoch from '2026-06-13 09:19:53'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46944, 'SRID=4674;POINT (-40.034995 -2.784691)', '2026-06-13 09:20:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034849 -2.784657)'), GeomFromEWKT('SRID=4674;POINT (-40.034995 -2.784691)'))) / (select extract(epoch from '2026-06-13 09:20:00'::timestamp) - extract(epoch from '2026-06-13 09:19:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034849 -2.784657)'), GeomFromEWKT('SRID=4674;POINT (-40.034995 -2.784691)'))) / (select extract(epoch from '2026-06-13 09:20:00'::timestamp) - extract(epoch from '2026-06-13 09:19:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.035127 -2.784714)', '2026-06-13 09:20:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034995 -2.784691)'), GeomFromEWKT('SRID=4674;POINT (-40.035127 -2.784714)'))) / (select extract(epoch from '2026-06-13 09:20:07'::timestamp) - extract(epoch from '2026-06-13 09:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034995 -2.784691)'), GeomFromEWKT('SRID=4674;POINT (-40.035127 -2.784714)'))) / (select extract(epoch from '2026-06-13 09:20:07'::timestamp) - extract(epoch from '2026-06-13 09:20:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.03522 -2.784755)', '2026-06-13 09:20:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035127 -2.784714)'), GeomFromEWKT('SRID=4674;POINT (-40.03522 -2.784755)'))) / (select extract(epoch from '2026-06-13 09:20:13'::timestamp) - extract(epoch from '2026-06-13 09:20:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035127 -2.784714)'), GeomFromEWKT('SRID=4674;POINT (-40.03522 -2.784755)'))) / (select extract(epoch from '2026-06-13 09:20:13'::timestamp) - extract(epoch from '2026-06-13 09:20:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.035263 -2.784786)', '2026-06-13 09:20:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03522 -2.784755)'), GeomFromEWKT('SRID=4674;POINT (-40.035263 -2.784786)'))) / (select extract(epoch from '2026-06-13 09:20:17'::timestamp) - extract(epoch from '2026-06-13 09:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03522 -2.784755)'), GeomFromEWKT('SRID=4674;POINT (-40.035263 -2.784786)'))) / (select extract(epoch from '2026-06-13 09:20:17'::timestamp) - extract(epoch from '2026-06-13 09:20:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.035272 -2.784803)', '2026-06-13 09:20:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035263 -2.784786)'), GeomFromEWKT('SRID=4674;POINT (-40.035272 -2.784803)'))) / (select extract(epoch from '2026-06-13 09:20:19'::timestamp) - extract(epoch from '2026-06-13 09:20:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035263 -2.784786)'), GeomFromEWKT('SRID=4674;POINT (-40.035272 -2.784803)'))) / (select extract(epoch from '2026-06-13 09:20:19'::timestamp) - extract(epoch from '2026-06-13 09:20: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'), 46944, 'SRID=4674;POINT (-40.035264 -2.784866)', '2026-06-13 09:20:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035272 -2.784803)'), GeomFromEWKT('SRID=4674;POINT (-40.035264 -2.784866)'))) / (select extract(epoch from '2026-06-13 09:20:25'::timestamp) - extract(epoch from '2026-06-13 09:20:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035272 -2.784803)'), GeomFromEWKT('SRID=4674;POINT (-40.035264 -2.784866)'))) / (select extract(epoch from '2026-06-13 09:20:25'::timestamp) - extract(epoch from '2026-06-13 09:20:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.035212 -2.784892)', '2026-06-13 09:20:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035264 -2.784866)'), GeomFromEWKT('SRID=4674;POINT (-40.035212 -2.784892)'))) / (select extract(epoch from '2026-06-13 09:20:32'::timestamp) - extract(epoch from '2026-06-13 09:20:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035264 -2.784866)'), GeomFromEWKT('SRID=4674;POINT (-40.035212 -2.784892)'))) / (select extract(epoch from '2026-06-13 09:20:32'::timestamp) - extract(epoch from '2026-06-13 09:20:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.035187 -2.784869)', '2026-06-13 09:20:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035212 -2.784892)'), GeomFromEWKT('SRID=4674;POINT (-40.035187 -2.784869)'))) / (select extract(epoch from '2026-06-13 09:20:40'::timestamp) - extract(epoch from '2026-06-13 09:20:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035212 -2.784892)'), GeomFromEWKT('SRID=4674;POINT (-40.035187 -2.784869)'))) / (select extract(epoch from '2026-06-13 09:20:40'::timestamp) - extract(epoch from '2026-06-13 09:20:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.035178 -2.784794)', '2026-06-13 09:20:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035187 -2.784869)'), GeomFromEWKT('SRID=4674;POINT (-40.035178 -2.784794)'))) / (select extract(epoch from '2026-06-13 09:20:54'::timestamp) - extract(epoch from '2026-06-13 09:20:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035187 -2.784869)'), GeomFromEWKT('SRID=4674;POINT (-40.035178 -2.784794)'))) / (select extract(epoch from '2026-06-13 09:20:54'::timestamp) - extract(epoch from '2026-06-13 09:20:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.035224 -2.784701)', '2026-06-13 09:21:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035178 -2.784794)'), GeomFromEWKT('SRID=4674;POINT (-40.035224 -2.784701)'))) / (select extract(epoch from '2026-06-13 09:21:07'::timestamp) - extract(epoch from '2026-06-13 09:20:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035178 -2.784794)'), GeomFromEWKT('SRID=4674;POINT (-40.035224 -2.784701)'))) / (select extract(epoch from '2026-06-13 09:21:07'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46944, 'SRID=4674;POINT (-40.035234 -2.784694)', '2026-06-13 09:21:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035224 -2.784701)'), GeomFromEWKT('SRID=4674;POINT (-40.035234 -2.784694)'))) / (select extract(epoch from '2026-06-13 09:21:08'::timestamp) - extract(epoch from '2026-06-13 09:21:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035224 -2.784701)'), GeomFromEWKT('SRID=4674;POINT (-40.035234 -2.784694)'))) / (select extract(epoch from '2026-06-13 09:21:08'::timestamp) - extract(epoch from '2026-06-13 09:21: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'), 46944, 'SRID=4674;POINT (-40.035286 -2.784669)', '2026-06-13 09:21:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035234 -2.784694)'), GeomFromEWKT('SRID=4674;POINT (-40.035286 -2.784669)'))) / (select extract(epoch from '2026-06-13 09:21:12'::timestamp) - extract(epoch from '2026-06-13 09:21:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035234 -2.784694)'), GeomFromEWKT('SRID=4674;POINT (-40.035286 -2.784669)'))) / (select extract(epoch from '2026-06-13 09:21:12'::timestamp) - extract(epoch from '2026-06-13 09:21: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'), 46944, 'SRID=4674;POINT (-40.035376 -2.784678)', '2026-06-13 09:21:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035286 -2.784669)'), GeomFromEWKT('SRID=4674;POINT (-40.035376 -2.784678)'))) / (select extract(epoch from '2026-06-13 09:21:18'::timestamp) - extract(epoch from '2026-06-13 09:21:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035286 -2.784669)'), GeomFromEWKT('SRID=4674;POINT (-40.035376 -2.784678)'))) / (select extract(epoch from '2026-06-13 09:21:18'::timestamp) - extract(epoch from '2026-06-13 09:21:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.035483 -2.784704)', '2026-06-13 09:21:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035376 -2.784678)'), GeomFromEWKT('SRID=4674;POINT (-40.035483 -2.784704)'))) / (select extract(epoch from '2026-06-13 09:21:24'::timestamp) - extract(epoch from '2026-06-13 09:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035376 -2.784678)'), GeomFromEWKT('SRID=4674;POINT (-40.035483 -2.784704)'))) / (select extract(epoch from '2026-06-13 09:21:24'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46944, 'SRID=4674;POINT (-40.0356 -2.784724)', '2026-06-13 09:21:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035483 -2.784704)'), GeomFromEWKT('SRID=4674;POINT (-40.0356 -2.784724)'))) / (select extract(epoch from '2026-06-13 09:21:30'::timestamp) - extract(epoch from '2026-06-13 09:21:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035483 -2.784704)'), GeomFromEWKT('SRID=4674;POINT (-40.0356 -2.784724)'))) / (select extract(epoch from '2026-06-13 09:21:30'::timestamp) - extract(epoch from '2026-06-13 09:21:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.035721 -2.784757)', '2026-06-13 09:21:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0356 -2.784724)'), GeomFromEWKT('SRID=4674;POINT (-40.035721 -2.784757)'))) / (select extract(epoch from '2026-06-13 09:21:36'::timestamp) - extract(epoch from '2026-06-13 09:21:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0356 -2.784724)'), GeomFromEWKT('SRID=4674;POINT (-40.035721 -2.784757)'))) / (select extract(epoch from '2026-06-13 09:21:36'::timestamp) - extract(epoch from '2026-06-13 09:21:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.035883 -2.78481)', '2026-06-13 09:21:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035721 -2.784757)'), GeomFromEWKT('SRID=4674;POINT (-40.035883 -2.78481)'))) / (select extract(epoch from '2026-06-13 09:21:44'::timestamp) - extract(epoch from '2026-06-13 09:21:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035721 -2.784757)'), GeomFromEWKT('SRID=4674;POINT (-40.035883 -2.78481)'))) / (select extract(epoch from '2026-06-13 09:21:44'::timestamp) - extract(epoch from '2026-06-13 09:21: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'), 46944, 'SRID=4674;POINT (-40.035987 -2.784855)', '2026-06-13 09:21:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035883 -2.78481)'), GeomFromEWKT('SRID=4674;POINT (-40.035987 -2.784855)'))) / (select extract(epoch from '2026-06-13 09:21:49'::timestamp) - extract(epoch from '2026-06-13 09:21:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035883 -2.78481)'), GeomFromEWKT('SRID=4674;POINT (-40.035987 -2.784855)'))) / (select extract(epoch from '2026-06-13 09:21:49'::timestamp) - extract(epoch from '2026-06-13 09:21: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'), 46944, 'SRID=4674;POINT (-40.036105 -2.784916)', '2026-06-13 09:21:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035987 -2.784855)'), GeomFromEWKT('SRID=4674;POINT (-40.036105 -2.784916)'))) / (select extract(epoch from '2026-06-13 09:21:55'::timestamp) - extract(epoch from '2026-06-13 09:21:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035987 -2.784855)'), GeomFromEWKT('SRID=4674;POINT (-40.036105 -2.784916)'))) / (select extract(epoch from '2026-06-13 09:21:55'::timestamp) - extract(epoch from '2026-06-13 09:21:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.036226 -2.784957)', '2026-06-13 09:22:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036105 -2.784916)'), GeomFromEWKT('SRID=4674;POINT (-40.036226 -2.784957)'))) / (select extract(epoch from '2026-06-13 09:22:01'::timestamp) - extract(epoch from '2026-06-13 09:21:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036105 -2.784916)'), GeomFromEWKT('SRID=4674;POINT (-40.036226 -2.784957)'))) / (select extract(epoch from '2026-06-13 09:22:01'::timestamp) - extract(epoch from '2026-06-13 09:21:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.036327 -2.784984)', '2026-06-13 09:22:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036226 -2.784957)'), GeomFromEWKT('SRID=4674;POINT (-40.036327 -2.784984)'))) / (select extract(epoch from '2026-06-13 09:22:06'::timestamp) - extract(epoch from '2026-06-13 09:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036226 -2.784957)'), GeomFromEWKT('SRID=4674;POINT (-40.036327 -2.784984)'))) / (select extract(epoch from '2026-06-13 09:22:06'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46944, 'SRID=4674;POINT (-40.036459 -2.785023)', '2026-06-13 09:22:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036327 -2.784984)'), GeomFromEWKT('SRID=4674;POINT (-40.036459 -2.785023)'))) / (select extract(epoch from '2026-06-13 09:22:13'::timestamp) - extract(epoch from '2026-06-13 09:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036327 -2.784984)'), GeomFromEWKT('SRID=4674;POINT (-40.036459 -2.785023)'))) / (select extract(epoch from '2026-06-13 09:22:13'::timestamp) - extract(epoch from '2026-06-13 09:22:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.036573 -2.785065)', '2026-06-13 09:22:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036459 -2.785023)'), GeomFromEWKT('SRID=4674;POINT (-40.036573 -2.785065)'))) / (select extract(epoch from '2026-06-13 09:22:19'::timestamp) - extract(epoch from '2026-06-13 09:22:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036459 -2.785023)'), GeomFromEWKT('SRID=4674;POINT (-40.036573 -2.785065)'))) / (select extract(epoch from '2026-06-13 09:22:19'::timestamp) - extract(epoch from '2026-06-13 09:22:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.036732 -2.785116)', '2026-06-13 09:22:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036573 -2.785065)'), GeomFromEWKT('SRID=4674;POINT (-40.036732 -2.785116)'))) / (select extract(epoch from '2026-06-13 09:22:27'::timestamp) - extract(epoch from '2026-06-13 09:22:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036573 -2.785065)'), GeomFromEWKT('SRID=4674;POINT (-40.036732 -2.785116)'))) / (select extract(epoch from '2026-06-13 09:22:27'::timestamp) - extract(epoch from '2026-06-13 09:22: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'), 46944, 'SRID=4674;POINT (-40.03687 -2.78516)', '2026-06-13 09:22:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036732 -2.785116)'), GeomFromEWKT('SRID=4674;POINT (-40.03687 -2.78516)'))) / (select extract(epoch from '2026-06-13 09:22:34'::timestamp) - extract(epoch from '2026-06-13 09:22:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036732 -2.785116)'), GeomFromEWKT('SRID=4674;POINT (-40.03687 -2.78516)'))) / (select extract(epoch from '2026-06-13 09:22:34'::timestamp) - extract(epoch from '2026-06-13 09:22: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'), 46944, 'SRID=4674;POINT (-40.036992 -2.785196)', '2026-06-13 09:22:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03687 -2.78516)'), GeomFromEWKT('SRID=4674;POINT (-40.036992 -2.785196)'))) / (select extract(epoch from '2026-06-13 09:22:40'::timestamp) - extract(epoch from '2026-06-13 09:22:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03687 -2.78516)'), GeomFromEWKT('SRID=4674;POINT (-40.036992 -2.785196)'))) / (select extract(epoch from '2026-06-13 09:22:40'::timestamp) - extract(epoch from '2026-06-13 09:22: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'), 46944, 'SRID=4674;POINT (-40.037109 -2.785221)', '2026-06-13 09:22:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036992 -2.785196)'), GeomFromEWKT('SRID=4674;POINT (-40.037109 -2.785221)'))) / (select extract(epoch from '2026-06-13 09:22:46'::timestamp) - extract(epoch from '2026-06-13 09:22:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036992 -2.785196)'), GeomFromEWKT('SRID=4674;POINT (-40.037109 -2.785221)'))) / (select extract(epoch from '2026-06-13 09:22:46'::timestamp) - extract(epoch from '2026-06-13 09:22:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.037231 -2.785239)', '2026-06-13 09:22:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037109 -2.785221)'), GeomFromEWKT('SRID=4674;POINT (-40.037231 -2.785239)'))) / (select extract(epoch from '2026-06-13 09:22:52'::timestamp) - extract(epoch from '2026-06-13 09:22:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037109 -2.785221)'), GeomFromEWKT('SRID=4674;POINT (-40.037231 -2.785239)'))) / (select extract(epoch from '2026-06-13 09:22:52'::timestamp) - extract(epoch from '2026-06-13 09:22:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.037355 -2.785273)', '2026-06-13 09:22:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037231 -2.785239)'), GeomFromEWKT('SRID=4674;POINT (-40.037355 -2.785273)'))) / (select extract(epoch from '2026-06-13 09:22:58'::timestamp) - extract(epoch from '2026-06-13 09:22:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037231 -2.785239)'), GeomFromEWKT('SRID=4674;POINT (-40.037355 -2.785273)'))) / (select extract(epoch from '2026-06-13 09:22:58'::timestamp) - extract(epoch from '2026-06-13 09:22:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.037479 -2.78531)', '2026-06-13 09:23:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037355 -2.785273)'), GeomFromEWKT('SRID=4674;POINT (-40.037479 -2.78531)'))) / (select extract(epoch from '2026-06-13 09:23:04'::timestamp) - extract(epoch from '2026-06-13 09:22:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037355 -2.785273)'), GeomFromEWKT('SRID=4674;POINT (-40.037479 -2.78531)'))) / (select extract(epoch from '2026-06-13 09:23:04'::timestamp) - extract(epoch from '2026-06-13 09:22: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'), 46944, 'SRID=4674;POINT (-40.037606 -2.785353)', '2026-06-13 09:23:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037479 -2.78531)'), GeomFromEWKT('SRID=4674;POINT (-40.037606 -2.785353)'))) / (select extract(epoch from '2026-06-13 09:23:10'::timestamp) - extract(epoch from '2026-06-13 09:23:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037479 -2.78531)'), GeomFromEWKT('SRID=4674;POINT (-40.037606 -2.785353)'))) / (select extract(epoch from '2026-06-13 09:23:10'::timestamp) - extract(epoch from '2026-06-13 09:23: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'), 46944, 'SRID=4674;POINT (-40.037738 -2.785422)', '2026-06-13 09:23:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037606 -2.785353)'), GeomFromEWKT('SRID=4674;POINT (-40.037738 -2.785422)'))) / (select extract(epoch from '2026-06-13 09:23:17'::timestamp) - extract(epoch from '2026-06-13 09:23:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037606 -2.785353)'), GeomFromEWKT('SRID=4674;POINT (-40.037738 -2.785422)'))) / (select extract(epoch from '2026-06-13 09:23:17'::timestamp) - extract(epoch from '2026-06-13 09:23:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.037855 -2.785459)', '2026-06-13 09:23:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037738 -2.785422)'), GeomFromEWKT('SRID=4674;POINT (-40.037855 -2.785459)'))) / (select extract(epoch from '2026-06-13 09:23:23'::timestamp) - extract(epoch from '2026-06-13 09:23:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037738 -2.785422)'), GeomFromEWKT('SRID=4674;POINT (-40.037855 -2.785459)'))) / (select extract(epoch from '2026-06-13 09:23:23'::timestamp) - extract(epoch from '2026-06-13 09:23: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'), 46944, 'SRID=4674;POINT (-40.038044 -2.785495)', '2026-06-13 09:23:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037855 -2.785459)'), GeomFromEWKT('SRID=4674;POINT (-40.038044 -2.785495)'))) / (select extract(epoch from '2026-06-13 09:23:32'::timestamp) - extract(epoch from '2026-06-13 09:23:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037855 -2.785459)'), GeomFromEWKT('SRID=4674;POINT (-40.038044 -2.785495)'))) / (select extract(epoch from '2026-06-13 09:23:32'::timestamp) - extract(epoch from '2026-06-13 09:23:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.038199 -2.785529)', '2026-06-13 09:23:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038044 -2.785495)'), GeomFromEWKT('SRID=4674;POINT (-40.038199 -2.785529)'))) / (select extract(epoch from '2026-06-13 09:23:40'::timestamp) - extract(epoch from '2026-06-13 09:23:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038044 -2.785495)'), GeomFromEWKT('SRID=4674;POINT (-40.038199 -2.785529)'))) / (select extract(epoch from '2026-06-13 09:23:40'::timestamp) - extract(epoch from '2026-06-13 09:23:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.038357 -2.785586)', '2026-06-13 09:23:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038199 -2.785529)'), GeomFromEWKT('SRID=4674;POINT (-40.038357 -2.785586)'))) / (select extract(epoch from '2026-06-13 09:23:48'::timestamp) - extract(epoch from '2026-06-13 09:23:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038199 -2.785529)'), GeomFromEWKT('SRID=4674;POINT (-40.038357 -2.785586)'))) / (select extract(epoch from '2026-06-13 09:23:48'::timestamp) - extract(epoch from '2026-06-13 09:23: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'), 46944, 'SRID=4674;POINT (-40.038485 -2.785639)', '2026-06-13 09:23:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038357 -2.785586)'), GeomFromEWKT('SRID=4674;POINT (-40.038485 -2.785639)'))) / (select extract(epoch from '2026-06-13 09:23:55'::timestamp) - extract(epoch from '2026-06-13 09:23:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038357 -2.785586)'), GeomFromEWKT('SRID=4674;POINT (-40.038485 -2.785639)'))) / (select extract(epoch from '2026-06-13 09:23:55'::timestamp) - extract(epoch from '2026-06-13 09:23: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'), 46944, 'SRID=4674;POINT (-40.038578 -2.785669)', '2026-06-13 09:24:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038485 -2.785639)'), GeomFromEWKT('SRID=4674;POINT (-40.038578 -2.785669)'))) / (select extract(epoch from '2026-06-13 09:24:00'::timestamp) - extract(epoch from '2026-06-13 09:23:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038485 -2.785639)'), GeomFromEWKT('SRID=4674;POINT (-40.038578 -2.785669)'))) / (select extract(epoch from '2026-06-13 09:24:00'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46944, 'SRID=4674;POINT (-40.03869 -2.785717)', '2026-06-13 09:24:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038578 -2.785669)'), GeomFromEWKT('SRID=4674;POINT (-40.03869 -2.785717)'))) / (select extract(epoch from '2026-06-13 09:24:06'::timestamp) - extract(epoch from '2026-06-13 09:24:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038578 -2.785669)'), GeomFromEWKT('SRID=4674;POINT (-40.03869 -2.785717)'))) / (select extract(epoch from '2026-06-13 09:24:06'::timestamp) - extract(epoch from '2026-06-13 09:24:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.038785 -2.785763)', '2026-06-13 09:24:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03869 -2.785717)'), GeomFromEWKT('SRID=4674;POINT (-40.038785 -2.785763)'))) / (select extract(epoch from '2026-06-13 09:24:11'::timestamp) - extract(epoch from '2026-06-13 09:24:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03869 -2.785717)'), GeomFromEWKT('SRID=4674;POINT (-40.038785 -2.785763)'))) / (select extract(epoch from '2026-06-13 09:24:11'::timestamp) - extract(epoch from '2026-06-13 09:24:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.038873 -2.785819)', '2026-06-13 09:24:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038785 -2.785763)'), GeomFromEWKT('SRID=4674;POINT (-40.038873 -2.785819)'))) / (select extract(epoch from '2026-06-13 09:24:16'::timestamp) - extract(epoch from '2026-06-13 09:24:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038785 -2.785763)'), GeomFromEWKT('SRID=4674;POINT (-40.038873 -2.785819)'))) / (select extract(epoch from '2026-06-13 09:24:16'::timestamp) - extract(epoch from '2026-06-13 09:24: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'), 46944, 'SRID=4674;POINT (-40.038992 -2.785899)', '2026-06-13 09:24:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038873 -2.785819)'), GeomFromEWKT('SRID=4674;POINT (-40.038992 -2.785899)'))) / (select extract(epoch from '2026-06-13 09:24:23'::timestamp) - extract(epoch from '2026-06-13 09:24:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038873 -2.785819)'), GeomFromEWKT('SRID=4674;POINT (-40.038992 -2.785899)'))) / (select extract(epoch from '2026-06-13 09:24:23'::timestamp) - extract(epoch from '2026-06-13 09:24:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.039122 -2.785968)', '2026-06-13 09:24:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038992 -2.785899)'), GeomFromEWKT('SRID=4674;POINT (-40.039122 -2.785968)'))) / (select extract(epoch from '2026-06-13 09:24:30'::timestamp) - extract(epoch from '2026-06-13 09:24:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038992 -2.785899)'), GeomFromEWKT('SRID=4674;POINT (-40.039122 -2.785968)'))) / (select extract(epoch from '2026-06-13 09:24:30'::timestamp) - extract(epoch from '2026-06-13 09:24: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'), 46944, 'SRID=4674;POINT (-40.039229 -2.786016)', '2026-06-13 09:24:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039122 -2.785968)'), GeomFromEWKT('SRID=4674;POINT (-40.039229 -2.786016)'))) / (select extract(epoch from '2026-06-13 09:24:36'::timestamp) - extract(epoch from '2026-06-13 09:24:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039122 -2.785968)'), GeomFromEWKT('SRID=4674;POINT (-40.039229 -2.786016)'))) / (select extract(epoch from '2026-06-13 09:24:36'::timestamp) - extract(epoch from '2026-06-13 09:24: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'), 46944, 'SRID=4674;POINT (-40.039337 -2.786073)', '2026-06-13 09:24:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039229 -2.786016)'), GeomFromEWKT('SRID=4674;POINT (-40.039337 -2.786073)'))) / (select extract(epoch from '2026-06-13 09:24:42'::timestamp) - extract(epoch from '2026-06-13 09:24:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039229 -2.786016)'), GeomFromEWKT('SRID=4674;POINT (-40.039337 -2.786073)'))) / (select extract(epoch from '2026-06-13 09:24:42'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46944, 'SRID=4674;POINT (-40.039482 -2.786139)', '2026-06-13 09:24:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039337 -2.786073)'), GeomFromEWKT('SRID=4674;POINT (-40.039482 -2.786139)'))) / (select extract(epoch from '2026-06-13 09:24:50'::timestamp) - extract(epoch from '2026-06-13 09:24:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039337 -2.786073)'), GeomFromEWKT('SRID=4674;POINT (-40.039482 -2.786139)'))) / (select extract(epoch from '2026-06-13 09:24:50'::timestamp) - extract(epoch from '2026-06-13 09:24: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'), 46944, 'SRID=4674;POINT (-40.039603 -2.786168)', '2026-06-13 09:24:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039482 -2.786139)'), GeomFromEWKT('SRID=4674;POINT (-40.039603 -2.786168)'))) / (select extract(epoch from '2026-06-13 09:24:56'::timestamp) - extract(epoch from '2026-06-13 09:24:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039482 -2.786139)'), GeomFromEWKT('SRID=4674;POINT (-40.039603 -2.786168)'))) / (select extract(epoch from '2026-06-13 09:24:56'::timestamp) - extract(epoch from '2026-06-13 09:24: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'), 46944, 'SRID=4674;POINT (-40.039736 -2.786205)', '2026-06-13 09:25:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039603 -2.786168)'), GeomFromEWKT('SRID=4674;POINT (-40.039736 -2.786205)'))) / (select extract(epoch from '2026-06-13 09:25:03'::timestamp) - extract(epoch from '2026-06-13 09:24:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039603 -2.786168)'), GeomFromEWKT('SRID=4674;POINT (-40.039736 -2.786205)'))) / (select extract(epoch from '2026-06-13 09:25:03'::timestamp) - extract(epoch from '2026-06-13 09:24:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.03985 -2.786248)', '2026-06-13 09:25:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039736 -2.786205)'), GeomFromEWKT('SRID=4674;POINT (-40.03985 -2.786248)'))) / (select extract(epoch from '2026-06-13 09:25:09'::timestamp) - extract(epoch from '2026-06-13 09:25:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039736 -2.786205)'), GeomFromEWKT('SRID=4674;POINT (-40.03985 -2.786248)'))) / (select extract(epoch from '2026-06-13 09:25:09'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46944, 'SRID=4674;POINT (-40.039955 -2.786292)', '2026-06-13 09:25:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03985 -2.786248)'), GeomFromEWKT('SRID=4674;POINT (-40.039955 -2.786292)'))) / (select extract(epoch from '2026-06-13 09:25:15'::timestamp) - extract(epoch from '2026-06-13 09:25:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03985 -2.786248)'), GeomFromEWKT('SRID=4674;POINT (-40.039955 -2.786292)'))) / (select extract(epoch from '2026-06-13 09:25:15'::timestamp) - extract(epoch from '2026-06-13 09:25:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.040105 -2.786347)', '2026-06-13 09:25:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039955 -2.786292)'), GeomFromEWKT('SRID=4674;POINT (-40.040105 -2.786347)'))) / (select extract(epoch from '2026-06-13 09:25:23'::timestamp) - extract(epoch from '2026-06-13 09:25:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039955 -2.786292)'), GeomFromEWKT('SRID=4674;POINT (-40.040105 -2.786347)'))) / (select extract(epoch from '2026-06-13 09:25:23'::timestamp) - extract(epoch from '2026-06-13 09:25: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'), 46944, 'SRID=4674;POINT (-40.04023 -2.786387)', '2026-06-13 09:25:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040105 -2.786347)'), GeomFromEWKT('SRID=4674;POINT (-40.04023 -2.786387)'))) / (select extract(epoch from '2026-06-13 09:25:29'::timestamp) - extract(epoch from '2026-06-13 09:25:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040105 -2.786347)'), GeomFromEWKT('SRID=4674;POINT (-40.04023 -2.786387)'))) / (select extract(epoch from '2026-06-13 09:25:29'::timestamp) - extract(epoch from '2026-06-13 09:25: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'), 46944, 'SRID=4674;POINT (-40.040309 -2.786409)', '2026-06-13 09:25:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04023 -2.786387)'), GeomFromEWKT('SRID=4674;POINT (-40.040309 -2.786409)'))) / (select extract(epoch from '2026-06-13 09:25:33'::timestamp) - extract(epoch from '2026-06-13 09:25:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04023 -2.786387)'), GeomFromEWKT('SRID=4674;POINT (-40.040309 -2.786409)'))) / (select extract(epoch from '2026-06-13 09:25:33'::timestamp) - extract(epoch from '2026-06-13 09:25:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.04043 -2.786426)', '2026-06-13 09:25:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040309 -2.786409)'), GeomFromEWKT('SRID=4674;POINT (-40.04043 -2.786426)'))) / (select extract(epoch from '2026-06-13 09:25:39'::timestamp) - extract(epoch from '2026-06-13 09:25:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040309 -2.786409)'), GeomFromEWKT('SRID=4674;POINT (-40.04043 -2.786426)'))) / (select extract(epoch from '2026-06-13 09:25:39'::timestamp) - extract(epoch from '2026-06-13 09:25:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.040574 -2.786449)', '2026-06-13 09:25:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04043 -2.786426)'), GeomFromEWKT('SRID=4674;POINT (-40.040574 -2.786449)'))) / (select extract(epoch from '2026-06-13 09:25:46'::timestamp) - extract(epoch from '2026-06-13 09:25:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04043 -2.786426)'), GeomFromEWKT('SRID=4674;POINT (-40.040574 -2.786449)'))) / (select extract(epoch from '2026-06-13 09:25:46'::timestamp) - extract(epoch from '2026-06-13 09:25:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.040735 -2.786464)', '2026-06-13 09:25:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040574 -2.786449)'), GeomFromEWKT('SRID=4674;POINT (-40.040735 -2.786464)'))) / (select extract(epoch from '2026-06-13 09:25:54'::timestamp) - extract(epoch from '2026-06-13 09:25:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040574 -2.786449)'), GeomFromEWKT('SRID=4674;POINT (-40.040735 -2.786464)'))) / (select extract(epoch from '2026-06-13 09:25:54'::timestamp) - extract(epoch from '2026-06-13 09:25:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.040879 -2.786467)', '2026-06-13 09:26:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040735 -2.786464)'), GeomFromEWKT('SRID=4674;POINT (-40.040879 -2.786467)'))) / (select extract(epoch from '2026-06-13 09:26:01'::timestamp) - extract(epoch from '2026-06-13 09:25:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040735 -2.786464)'), GeomFromEWKT('SRID=4674;POINT (-40.040879 -2.786467)'))) / (select extract(epoch from '2026-06-13 09:26:01'::timestamp) - extract(epoch from '2026-06-13 09:25:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.040999 -2.786481)', '2026-06-13 09:26:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040879 -2.786467)'), GeomFromEWKT('SRID=4674;POINT (-40.040999 -2.786481)'))) / (select extract(epoch from '2026-06-13 09:26:07'::timestamp) - extract(epoch from '2026-06-13 09:26:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040879 -2.786467)'), GeomFromEWKT('SRID=4674;POINT (-40.040999 -2.786481)'))) / (select extract(epoch from '2026-06-13 09:26:07'::timestamp) - extract(epoch from '2026-06-13 09:26: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'), 46944, 'SRID=4674;POINT (-40.041122 -2.786503)', '2026-06-13 09:26:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040999 -2.786481)'), GeomFromEWKT('SRID=4674;POINT (-40.041122 -2.786503)'))) / (select extract(epoch from '2026-06-13 09:26:13'::timestamp) - extract(epoch from '2026-06-13 09:26:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040999 -2.786481)'), GeomFromEWKT('SRID=4674;POINT (-40.041122 -2.786503)'))) / (select extract(epoch from '2026-06-13 09:26:13'::timestamp) - extract(epoch from '2026-06-13 09:26:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.041263 -2.786531)', '2026-06-13 09:26:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041122 -2.786503)'), GeomFromEWKT('SRID=4674;POINT (-40.041263 -2.786531)'))) / (select extract(epoch from '2026-06-13 09:26:20'::timestamp) - extract(epoch from '2026-06-13 09:26:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041122 -2.786503)'), GeomFromEWKT('SRID=4674;POINT (-40.041263 -2.786531)'))) / (select extract(epoch from '2026-06-13 09:26:20'::timestamp) - extract(epoch from '2026-06-13 09:26:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.041389 -2.786535)', '2026-06-13 09:26:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041263 -2.786531)'), GeomFromEWKT('SRID=4674;POINT (-40.041389 -2.786535)'))) / (select extract(epoch from '2026-06-13 09:26:26'::timestamp) - extract(epoch from '2026-06-13 09:26:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041263 -2.786531)'), GeomFromEWKT('SRID=4674;POINT (-40.041389 -2.786535)'))) / (select extract(epoch from '2026-06-13 09:26:26'::timestamp) - extract(epoch from '2026-06-13 09:26: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'), 46944, 'SRID=4674;POINT (-40.041486 -2.786534)', '2026-06-13 09:26:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041389 -2.786535)'), GeomFromEWKT('SRID=4674;POINT (-40.041486 -2.786534)'))) / (select extract(epoch from '2026-06-13 09:26:31'::timestamp) - extract(epoch from '2026-06-13 09:26:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041389 -2.786535)'), GeomFromEWKT('SRID=4674;POINT (-40.041486 -2.786534)'))) / (select extract(epoch from '2026-06-13 09:26:31'::timestamp) - extract(epoch from '2026-06-13 09:26: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'), 46944, 'SRID=4674;POINT (-40.04161 -2.786553)', '2026-06-13 09:26:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041486 -2.786534)'), GeomFromEWKT('SRID=4674;POINT (-40.04161 -2.786553)'))) / (select extract(epoch from '2026-06-13 09:26:37'::timestamp) - extract(epoch from '2026-06-13 09:26:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041486 -2.786534)'), GeomFromEWKT('SRID=4674;POINT (-40.04161 -2.786553)'))) / (select extract(epoch from '2026-06-13 09:26:37'::timestamp) - extract(epoch from '2026-06-13 09:26: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'), 46944, 'SRID=4674;POINT (-40.041746 -2.786604)', '2026-06-13 09:26:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04161 -2.786553)'), GeomFromEWKT('SRID=4674;POINT (-40.041746 -2.786604)'))) / (select extract(epoch from '2026-06-13 09:26:44'::timestamp) - extract(epoch from '2026-06-13 09:26:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04161 -2.786553)'), GeomFromEWKT('SRID=4674;POINT (-40.041746 -2.786604)'))) / (select extract(epoch from '2026-06-13 09:26:44'::timestamp) - extract(epoch from '2026-06-13 09:26: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'), 46944, 'SRID=4674;POINT (-40.041858 -2.786663)', '2026-06-13 09:26:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041746 -2.786604)'), GeomFromEWKT('SRID=4674;POINT (-40.041858 -2.786663)'))) / (select extract(epoch from '2026-06-13 09:26:50'::timestamp) - extract(epoch from '2026-06-13 09:26:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041746 -2.786604)'), GeomFromEWKT('SRID=4674;POINT (-40.041858 -2.786663)'))) / (select extract(epoch from '2026-06-13 09:26:50'::timestamp) - extract(epoch from '2026-06-13 09:26: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'), 46944, 'SRID=4674;POINT (-40.041974 -2.786712)', '2026-06-13 09:26:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041858 -2.786663)'), GeomFromEWKT('SRID=4674;POINT (-40.041974 -2.786712)'))) / (select extract(epoch from '2026-06-13 09:26:56'::timestamp) - extract(epoch from '2026-06-13 09:26:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041858 -2.786663)'), GeomFromEWKT('SRID=4674;POINT (-40.041974 -2.786712)'))) / (select extract(epoch from '2026-06-13 09:26:56'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46944, 'SRID=4674;POINT (-40.042109 -2.786766)', '2026-06-13 09:27:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041974 -2.786712)'), GeomFromEWKT('SRID=4674;POINT (-40.042109 -2.786766)'))) / (select extract(epoch from '2026-06-13 09:27:03'::timestamp) - extract(epoch from '2026-06-13 09:26:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041974 -2.786712)'), GeomFromEWKT('SRID=4674;POINT (-40.042109 -2.786766)'))) / (select extract(epoch from '2026-06-13 09:27:03'::timestamp) - extract(epoch from '2026-06-13 09:26:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.042227 -2.786802)', '2026-06-13 09:27:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042109 -2.786766)'), GeomFromEWKT('SRID=4674;POINT (-40.042227 -2.786802)'))) / (select extract(epoch from '2026-06-13 09:27:09'::timestamp) - extract(epoch from '2026-06-13 09:27:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042109 -2.786766)'), GeomFromEWKT('SRID=4674;POINT (-40.042227 -2.786802)'))) / (select extract(epoch from '2026-06-13 09:27:09'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46944, 'SRID=4674;POINT (-40.042361 -2.78687)', '2026-06-13 09:27:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042227 -2.786802)'), GeomFromEWKT('SRID=4674;POINT (-40.042361 -2.78687)'))) / (select extract(epoch from '2026-06-13 09:27:16'::timestamp) - extract(epoch from '2026-06-13 09:27:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042227 -2.786802)'), GeomFromEWKT('SRID=4674;POINT (-40.042361 -2.78687)'))) / (select extract(epoch from '2026-06-13 09:27:16'::timestamp) - extract(epoch from '2026-06-13 09:27:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.042445 -2.786919)', '2026-06-13 09:27:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042361 -2.78687)'), GeomFromEWKT('SRID=4674;POINT (-40.042445 -2.786919)'))) / (select extract(epoch from '2026-06-13 09:27:21'::timestamp) - extract(epoch from '2026-06-13 09:27:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042361 -2.78687)'), GeomFromEWKT('SRID=4674;POINT (-40.042445 -2.786919)'))) / (select extract(epoch from '2026-06-13 09:27:21'::timestamp) - extract(epoch from '2026-06-13 09:27: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'), 46944, 'SRID=4674;POINT (-40.042462 -2.786928)', '2026-06-13 09:27:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042445 -2.786919)'), GeomFromEWKT('SRID=4674;POINT (-40.042462 -2.786928)'))) / (select extract(epoch from '2026-06-13 09:27:22'::timestamp) - extract(epoch from '2026-06-13 09:27:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042445 -2.786919)'), GeomFromEWKT('SRID=4674;POINT (-40.042462 -2.786928)'))) / (select extract(epoch from '2026-06-13 09:27:22'::timestamp) - extract(epoch from '2026-06-13 09:27:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.042517 -2.786951)', '2026-06-13 09:27:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042462 -2.786928)'), GeomFromEWKT('SRID=4674;POINT (-40.042517 -2.786951)'))) / (select extract(epoch from '2026-06-13 09:27:25'::timestamp) - extract(epoch from '2026-06-13 09:27:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042462 -2.786928)'), GeomFromEWKT('SRID=4674;POINT (-40.042517 -2.786951)'))) / (select extract(epoch from '2026-06-13 09:27:25'::timestamp) - extract(epoch from '2026-06-13 09:27: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'), 46944, 'SRID=4674;POINT (-40.04261 -2.786975)', '2026-06-13 09:27:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042517 -2.786951)'), GeomFromEWKT('SRID=4674;POINT (-40.04261 -2.786975)'))) / (select extract(epoch from '2026-06-13 09:27:30'::timestamp) - extract(epoch from '2026-06-13 09:27:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042517 -2.786951)'), GeomFromEWKT('SRID=4674;POINT (-40.04261 -2.786975)'))) / (select extract(epoch from '2026-06-13 09:27:30'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46944, 'SRID=4674;POINT (-40.042781 -2.787035)', '2026-06-13 09:27:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04261 -2.786975)'), GeomFromEWKT('SRID=4674;POINT (-40.042781 -2.787035)'))) / (select extract(epoch from '2026-06-13 09:27:39'::timestamp) - extract(epoch from '2026-06-13 09:27:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04261 -2.786975)'), GeomFromEWKT('SRID=4674;POINT (-40.042781 -2.787035)'))) / (select extract(epoch from '2026-06-13 09:27:39'::timestamp) - extract(epoch from '2026-06-13 09:27: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'), 46944, 'SRID=4674;POINT (-40.042913 -2.787084)', '2026-06-13 09:27:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042781 -2.787035)'), GeomFromEWKT('SRID=4674;POINT (-40.042913 -2.787084)'))) / (select extract(epoch from '2026-06-13 09:27:46'::timestamp) - extract(epoch from '2026-06-13 09:27:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042781 -2.787035)'), GeomFromEWKT('SRID=4674;POINT (-40.042913 -2.787084)'))) / (select extract(epoch from '2026-06-13 09:27:46'::timestamp) - extract(epoch from '2026-06-13 09:27: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'), 46944, 'SRID=4674;POINT (-40.043009 -2.787114)', '2026-06-13 09:27:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042913 -2.787084)'), GeomFromEWKT('SRID=4674;POINT (-40.043009 -2.787114)'))) / (select extract(epoch from '2026-06-13 09:27:51'::timestamp) - extract(epoch from '2026-06-13 09:27:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042913 -2.787084)'), GeomFromEWKT('SRID=4674;POINT (-40.043009 -2.787114)'))) / (select extract(epoch from '2026-06-13 09:27:51'::timestamp) - extract(epoch from '2026-06-13 09:27:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.04313 -2.787137)', '2026-06-13 09:27:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043009 -2.787114)'), GeomFromEWKT('SRID=4674;POINT (-40.04313 -2.787137)'))) / (select extract(epoch from '2026-06-13 09:27:57'::timestamp) - extract(epoch from '2026-06-13 09:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043009 -2.787114)'), GeomFromEWKT('SRID=4674;POINT (-40.04313 -2.787137)'))) / (select extract(epoch from '2026-06-13 09:27:57'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46944, 'SRID=4674;POINT (-40.043261 -2.787165)', '2026-06-13 09:28:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04313 -2.787137)'), GeomFromEWKT('SRID=4674;POINT (-40.043261 -2.787165)'))) / (select extract(epoch from '2026-06-13 09:28:03'::timestamp) - extract(epoch from '2026-06-13 09:27:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04313 -2.787137)'), GeomFromEWKT('SRID=4674;POINT (-40.043261 -2.787165)'))) / (select extract(epoch from '2026-06-13 09:28:03'::timestamp) - extract(epoch from '2026-06-13 09:27: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'), 46944, 'SRID=4674;POINT (-40.043381 -2.787214)', '2026-06-13 09:28:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043261 -2.787165)'), GeomFromEWKT('SRID=4674;POINT (-40.043381 -2.787214)'))) / (select extract(epoch from '2026-06-13 09:28:09'::timestamp) - extract(epoch from '2026-06-13 09:28:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043261 -2.787165)'), GeomFromEWKT('SRID=4674;POINT (-40.043381 -2.787214)'))) / (select extract(epoch from '2026-06-13 09:28:09'::timestamp) - extract(epoch from '2026-06-13 09:28:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.043491 -2.787274)', '2026-06-13 09:28:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043381 -2.787214)'), GeomFromEWKT('SRID=4674;POINT (-40.043491 -2.787274)'))) / (select extract(epoch from '2026-06-13 09:28:15'::timestamp) - extract(epoch from '2026-06-13 09:28:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043381 -2.787214)'), GeomFromEWKT('SRID=4674;POINT (-40.043491 -2.787274)'))) / (select extract(epoch from '2026-06-13 09:28:15'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46944, 'SRID=4674;POINT (-40.043571 -2.78733)', '2026-06-13 09:28:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043491 -2.787274)'), GeomFromEWKT('SRID=4674;POINT (-40.043571 -2.78733)'))) / (select extract(epoch from '2026-06-13 09:28:20'::timestamp) - extract(epoch from '2026-06-13 09:28:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043491 -2.787274)'), GeomFromEWKT('SRID=4674;POINT (-40.043571 -2.78733)'))) / (select extract(epoch from '2026-06-13 09:28:20'::timestamp) - extract(epoch from '2026-06-13 09:28:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.043673 -2.787391)', '2026-06-13 09:28:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043571 -2.78733)'), GeomFromEWKT('SRID=4674;POINT (-40.043673 -2.787391)'))) / (select extract(epoch from '2026-06-13 09:28:26'::timestamp) - extract(epoch from '2026-06-13 09:28:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043571 -2.78733)'), GeomFromEWKT('SRID=4674;POINT (-40.043673 -2.787391)'))) / (select extract(epoch from '2026-06-13 09:28:26'::timestamp) - extract(epoch from '2026-06-13 09:28: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'), 46944, 'SRID=4674;POINT (-40.043833 -2.787465)', '2026-06-13 09:28:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043673 -2.787391)'), GeomFromEWKT('SRID=4674;POINT (-40.043833 -2.787465)'))) / (select extract(epoch from '2026-06-13 09:28:35'::timestamp) - extract(epoch from '2026-06-13 09:28:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043673 -2.787391)'), GeomFromEWKT('SRID=4674;POINT (-40.043833 -2.787465)'))) / (select extract(epoch from '2026-06-13 09:28:35'::timestamp) - extract(epoch from '2026-06-13 09:28: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'), 46944, 'SRID=4674;POINT (-40.043946 -2.787503)', '2026-06-13 09:28:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043833 -2.787465)'), GeomFromEWKT('SRID=4674;POINT (-40.043946 -2.787503)'))) / (select extract(epoch from '2026-06-13 09:28:41'::timestamp) - extract(epoch from '2026-06-13 09:28:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043833 -2.787465)'), GeomFromEWKT('SRID=4674;POINT (-40.043946 -2.787503)'))) / (select extract(epoch from '2026-06-13 09:28:41'::timestamp) - extract(epoch from '2026-06-13 09:28:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.044037 -2.787543)', '2026-06-13 09:28:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043946 -2.787503)'), GeomFromEWKT('SRID=4674;POINT (-40.044037 -2.787543)'))) / (select extract(epoch from '2026-06-13 09:28:46'::timestamp) - extract(epoch from '2026-06-13 09:28:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043946 -2.787503)'), GeomFromEWKT('SRID=4674;POINT (-40.044037 -2.787543)'))) / (select extract(epoch from '2026-06-13 09:28:46'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46944, 'SRID=4674;POINT (-40.044132 -2.787583)', '2026-06-13 09:28:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044037 -2.787543)'), GeomFromEWKT('SRID=4674;POINT (-40.044132 -2.787583)'))) / (select extract(epoch from '2026-06-13 09:28:51'::timestamp) - extract(epoch from '2026-06-13 09:28:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044037 -2.787543)'), GeomFromEWKT('SRID=4674;POINT (-40.044132 -2.787583)'))) / (select extract(epoch from '2026-06-13 09:28:51'::timestamp) - extract(epoch from '2026-06-13 09:28: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'), 46944, 'SRID=4674;POINT (-40.044253 -2.787613)', '2026-06-13 09:28:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044132 -2.787583)'), GeomFromEWKT('SRID=4674;POINT (-40.044253 -2.787613)'))) / (select extract(epoch from '2026-06-13 09:28:57'::timestamp) - extract(epoch from '2026-06-13 09:28:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044132 -2.787583)'), GeomFromEWKT('SRID=4674;POINT (-40.044253 -2.787613)'))) / (select extract(epoch from '2026-06-13 09:28:57'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46944, 'SRID=4674;POINT (-40.044367 -2.787641)', '2026-06-13 09:29:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044253 -2.787613)'), GeomFromEWKT('SRID=4674;POINT (-40.044367 -2.787641)'))) / (select extract(epoch from '2026-06-13 09:29:03'::timestamp) - extract(epoch from '2026-06-13 09:28:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044253 -2.787613)'), GeomFromEWKT('SRID=4674;POINT (-40.044367 -2.787641)'))) / (select extract(epoch from '2026-06-13 09:29:03'::timestamp) - extract(epoch from '2026-06-13 09:28: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'), 46944, 'SRID=4674;POINT (-40.044477 -2.787683)', '2026-06-13 09:29:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044367 -2.787641)'), GeomFromEWKT('SRID=4674;POINT (-40.044477 -2.787683)'))) / (select extract(epoch from '2026-06-13 09:29:09'::timestamp) - extract(epoch from '2026-06-13 09:29:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044367 -2.787641)'), GeomFromEWKT('SRID=4674;POINT (-40.044477 -2.787683)'))) / (select extract(epoch from '2026-06-13 09:29:09'::timestamp) - extract(epoch from '2026-06-13 09:29: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'), 46944, 'SRID=4674;POINT (-40.044614 -2.787755)', '2026-06-13 09:29:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044477 -2.787683)'), GeomFromEWKT('SRID=4674;POINT (-40.044614 -2.787755)'))) / (select extract(epoch from '2026-06-13 09:29:17'::timestamp) - extract(epoch from '2026-06-13 09:29:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044477 -2.787683)'), GeomFromEWKT('SRID=4674;POINT (-40.044614 -2.787755)'))) / (select extract(epoch from '2026-06-13 09:29:17'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46944, 'SRID=4674;POINT (-40.044744 -2.787839)', '2026-06-13 09:29:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044614 -2.787755)'), GeomFromEWKT('SRID=4674;POINT (-40.044744 -2.787839)'))) / (select extract(epoch from '2026-06-13 09:29:25'::timestamp) - extract(epoch from '2026-06-13 09:29:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044614 -2.787755)'), GeomFromEWKT('SRID=4674;POINT (-40.044744 -2.787839)'))) / (select extract(epoch from '2026-06-13 09:29:25'::timestamp) - extract(epoch from '2026-06-13 09:29:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.044875 -2.787899)', '2026-06-13 09:29:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044744 -2.787839)'), GeomFromEWKT('SRID=4674;POINT (-40.044875 -2.787899)'))) / (select extract(epoch from '2026-06-13 09:29:32'::timestamp) - extract(epoch from '2026-06-13 09:29:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044744 -2.787839)'), GeomFromEWKT('SRID=4674;POINT (-40.044875 -2.787899)'))) / (select extract(epoch from '2026-06-13 09:29:32'::timestamp) - extract(epoch from '2026-06-13 09:29: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'), 46944, 'SRID=4674;POINT (-40.044984 -2.787952)', '2026-06-13 09:29:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044875 -2.787899)'), GeomFromEWKT('SRID=4674;POINT (-40.044984 -2.787952)'))) / (select extract(epoch from '2026-06-13 09:29:38'::timestamp) - extract(epoch from '2026-06-13 09:29:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044875 -2.787899)'), GeomFromEWKT('SRID=4674;POINT (-40.044984 -2.787952)'))) / (select extract(epoch from '2026-06-13 09:29:38'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46944, 'SRID=4674;POINT (-40.04511 -2.788002)', '2026-06-13 09:29:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044984 -2.787952)'), GeomFromEWKT('SRID=4674;POINT (-40.04511 -2.788002)'))) / (select extract(epoch from '2026-06-13 09:29:45'::timestamp) - extract(epoch from '2026-06-13 09:29:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044984 -2.787952)'), GeomFromEWKT('SRID=4674;POINT (-40.04511 -2.788002)'))) / (select extract(epoch from '2026-06-13 09:29:45'::timestamp) - extract(epoch from '2026-06-13 09:29: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'), 46944, 'SRID=4674;POINT (-40.045244 -2.788046)', '2026-06-13 09:29:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04511 -2.788002)'), GeomFromEWKT('SRID=4674;POINT (-40.045244 -2.788046)'))) / (select extract(epoch from '2026-06-13 09:29:52'::timestamp) - extract(epoch from '2026-06-13 09:29:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04511 -2.788002)'), GeomFromEWKT('SRID=4674;POINT (-40.045244 -2.788046)'))) / (select extract(epoch from '2026-06-13 09:29:52'::timestamp) - extract(epoch from '2026-06-13 09:29:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.045383 -2.788081)', '2026-06-13 09:29:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045244 -2.788046)'), GeomFromEWKT('SRID=4674;POINT (-40.045383 -2.788081)'))) / (select extract(epoch from '2026-06-13 09:29:59'::timestamp) - extract(epoch from '2026-06-13 09:29:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045244 -2.788046)'), GeomFromEWKT('SRID=4674;POINT (-40.045383 -2.788081)'))) / (select extract(epoch from '2026-06-13 09:29:59'::timestamp) - extract(epoch from '2026-06-13 09:29: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'), 46944, 'SRID=4674;POINT (-40.045517 -2.788114)', '2026-06-13 09:30:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045383 -2.788081)'), GeomFromEWKT('SRID=4674;POINT (-40.045517 -2.788114)'))) / (select extract(epoch from '2026-06-13 09:30:06'::timestamp) - extract(epoch from '2026-06-13 09:29:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045383 -2.788081)'), GeomFromEWKT('SRID=4674;POINT (-40.045517 -2.788114)'))) / (select extract(epoch from '2026-06-13 09:30:06'::timestamp) - extract(epoch from '2026-06-13 09:29:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.045633 -2.788157)', '2026-06-13 09:30:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045517 -2.788114)'), GeomFromEWKT('SRID=4674;POINT (-40.045633 -2.788157)'))) / (select extract(epoch from '2026-06-13 09:30:12'::timestamp) - extract(epoch from '2026-06-13 09:30:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045517 -2.788114)'), GeomFromEWKT('SRID=4674;POINT (-40.045633 -2.788157)'))) / (select extract(epoch from '2026-06-13 09:30:12'::timestamp) - extract(epoch from '2026-06-13 09:30: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'), 46944, 'SRID=4674;POINT (-40.045754 -2.788195)', '2026-06-13 09:30:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045633 -2.788157)'), GeomFromEWKT('SRID=4674;POINT (-40.045754 -2.788195)'))) / (select extract(epoch from '2026-06-13 09:30:18'::timestamp) - extract(epoch from '2026-06-13 09:30:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045633 -2.788157)'), GeomFromEWKT('SRID=4674;POINT (-40.045754 -2.788195)'))) / (select extract(epoch from '2026-06-13 09:30:18'::timestamp) - extract(epoch from '2026-06-13 09:30:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.04589 -2.788243)', '2026-06-13 09:30:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045754 -2.788195)'), GeomFromEWKT('SRID=4674;POINT (-40.04589 -2.788243)'))) / (select extract(epoch from '2026-06-13 09:30:25'::timestamp) - extract(epoch from '2026-06-13 09:30:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045754 -2.788195)'), GeomFromEWKT('SRID=4674;POINT (-40.04589 -2.788243)'))) / (select extract(epoch from '2026-06-13 09:30:25'::timestamp) - extract(epoch from '2026-06-13 09:30: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'), 46944, 'SRID=4674;POINT (-40.046014 -2.788281)', '2026-06-13 09:30:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04589 -2.788243)'), GeomFromEWKT('SRID=4674;POINT (-40.046014 -2.788281)'))) / (select extract(epoch from '2026-06-13 09:30:31'::timestamp) - extract(epoch from '2026-06-13 09:30:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04589 -2.788243)'), GeomFromEWKT('SRID=4674;POINT (-40.046014 -2.788281)'))) / (select extract(epoch from '2026-06-13 09:30:31'::timestamp) - extract(epoch from '2026-06-13 09:30: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'), 46944, 'SRID=4674;POINT (-40.046136 -2.788326)', '2026-06-13 09:30:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046014 -2.788281)'), GeomFromEWKT('SRID=4674;POINT (-40.046136 -2.788326)'))) / (select extract(epoch from '2026-06-13 09:30:38'::timestamp) - extract(epoch from '2026-06-13 09:30:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046014 -2.788281)'), GeomFromEWKT('SRID=4674;POINT (-40.046136 -2.788326)'))) / (select extract(epoch from '2026-06-13 09:30:38'::timestamp) - extract(epoch from '2026-06-13 09:30:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.046248 -2.788364)', '2026-06-13 09:30:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046136 -2.788326)'), GeomFromEWKT('SRID=4674;POINT (-40.046248 -2.788364)'))) / (select extract(epoch from '2026-06-13 09:30:44'::timestamp) - extract(epoch from '2026-06-13 09:30:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046136 -2.788326)'), GeomFromEWKT('SRID=4674;POINT (-40.046248 -2.788364)'))) / (select extract(epoch from '2026-06-13 09:30:44'::timestamp) - extract(epoch from '2026-06-13 09:30: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'), 46944, 'SRID=4674;POINT (-40.046414 -2.788394)', '2026-06-13 09:30:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046248 -2.788364)'), GeomFromEWKT('SRID=4674;POINT (-40.046414 -2.788394)'))) / (select extract(epoch from '2026-06-13 09:30:52'::timestamp) - extract(epoch from '2026-06-13 09:30:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046248 -2.788364)'), GeomFromEWKT('SRID=4674;POINT (-40.046414 -2.788394)'))) / (select extract(epoch from '2026-06-13 09:30:52'::timestamp) - extract(epoch from '2026-06-13 09:30:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.046538 -2.788399)', '2026-06-13 09:30:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046414 -2.788394)'), GeomFromEWKT('SRID=4674;POINT (-40.046538 -2.788399)'))) / (select extract(epoch from '2026-06-13 09:30:58'::timestamp) - extract(epoch from '2026-06-13 09:30:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046414 -2.788394)'), GeomFromEWKT('SRID=4674;POINT (-40.046538 -2.788399)'))) / (select extract(epoch from '2026-06-13 09:30:58'::timestamp) - extract(epoch from '2026-06-13 09:30:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.046616 -2.788437)', '2026-06-13 09:31:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046538 -2.788399)'), GeomFromEWKT('SRID=4674;POINT (-40.046616 -2.788437)'))) / (select extract(epoch from '2026-06-13 09:31:03'::timestamp) - extract(epoch from '2026-06-13 09:30:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046538 -2.788399)'), GeomFromEWKT('SRID=4674;POINT (-40.046616 -2.788437)'))) / (select extract(epoch from '2026-06-13 09:31:03'::timestamp) - extract(epoch from '2026-06-13 09:30: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'), 46944, 'SRID=4674;POINT (-40.046759 -2.78852)', '2026-06-13 09:31:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046616 -2.788437)'), GeomFromEWKT('SRID=4674;POINT (-40.046759 -2.78852)'))) / (select extract(epoch from '2026-06-13 09:31:12'::timestamp) - extract(epoch from '2026-06-13 09:31:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046616 -2.788437)'), GeomFromEWKT('SRID=4674;POINT (-40.046759 -2.78852)'))) / (select extract(epoch from '2026-06-13 09:31:12'::timestamp) - extract(epoch from '2026-06-13 09:31: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'), 46944, 'SRID=4674;POINT (-40.046861 -2.788582)', '2026-06-13 09:31:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046759 -2.78852)'), GeomFromEWKT('SRID=4674;POINT (-40.046861 -2.788582)'))) / (select extract(epoch from '2026-06-13 09:31:18'::timestamp) - extract(epoch from '2026-06-13 09:31:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046759 -2.78852)'), GeomFromEWKT('SRID=4674;POINT (-40.046861 -2.788582)'))) / (select extract(epoch from '2026-06-13 09:31:18'::timestamp) - extract(epoch from '2026-06-13 09:31: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'), 46944, 'SRID=4674;POINT (-40.046931 -2.788646)', '2026-06-13 09:31:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046861 -2.788582)'), GeomFromEWKT('SRID=4674;POINT (-40.046931 -2.788646)'))) / (select extract(epoch from '2026-06-13 09:31:23'::timestamp) - extract(epoch from '2026-06-13 09:31:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046861 -2.788582)'), GeomFromEWKT('SRID=4674;POINT (-40.046931 -2.788646)'))) / (select extract(epoch from '2026-06-13 09:31:23'::timestamp) - extract(epoch from '2026-06-13 09:31: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'), 46944, 'SRID=4674;POINT (-40.047002 -2.788707)', '2026-06-13 09:31:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046931 -2.788646)'), GeomFromEWKT('SRID=4674;POINT (-40.047002 -2.788707)'))) / (select extract(epoch from '2026-06-13 09:31:28'::timestamp) - extract(epoch from '2026-06-13 09:31:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046931 -2.788646)'), GeomFromEWKT('SRID=4674;POINT (-40.047002 -2.788707)'))) / (select extract(epoch from '2026-06-13 09:31:28'::timestamp) - extract(epoch from '2026-06-13 09:31:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.04709 -2.78877)', '2026-06-13 09:31:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047002 -2.788707)'), GeomFromEWKT('SRID=4674;POINT (-40.04709 -2.78877)'))) / (select extract(epoch from '2026-06-13 09:31:34'::timestamp) - extract(epoch from '2026-06-13 09:31:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047002 -2.788707)'), GeomFromEWKT('SRID=4674;POINT (-40.04709 -2.78877)'))) / (select extract(epoch from '2026-06-13 09:31:34'::timestamp) - extract(epoch from '2026-06-13 09:31: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'), 46944, 'SRID=4674;POINT (-40.047197 -2.78881)', '2026-06-13 09:31:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04709 -2.78877)'), GeomFromEWKT('SRID=4674;POINT (-40.047197 -2.78881)'))) / (select extract(epoch from '2026-06-13 09:31:40'::timestamp) - extract(epoch from '2026-06-13 09:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04709 -2.78877)'), GeomFromEWKT('SRID=4674;POINT (-40.047197 -2.78881)'))) / (select extract(epoch from '2026-06-13 09:31:40'::timestamp) - extract(epoch from '2026-06-13 09:31:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.047312 -2.788855)', '2026-06-13 09:31:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047197 -2.78881)'), GeomFromEWKT('SRID=4674;POINT (-40.047312 -2.788855)'))) / (select extract(epoch from '2026-06-13 09:31:47'::timestamp) - extract(epoch from '2026-06-13 09:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047197 -2.78881)'), GeomFromEWKT('SRID=4674;POINT (-40.047312 -2.788855)'))) / (select extract(epoch from '2026-06-13 09:31:47'::timestamp) - extract(epoch from '2026-06-13 09:31:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.047428 -2.788906)', '2026-06-13 09:31:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047312 -2.788855)'), GeomFromEWKT('SRID=4674;POINT (-40.047428 -2.788906)'))) / (select extract(epoch from '2026-06-13 09:31:54'::timestamp) - extract(epoch from '2026-06-13 09:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047312 -2.788855)'), GeomFromEWKT('SRID=4674;POINT (-40.047428 -2.788906)'))) / (select extract(epoch from '2026-06-13 09:31:54'::timestamp) - extract(epoch from '2026-06-13 09:31: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'), 46944, 'SRID=4674;POINT (-40.047548 -2.788945)', '2026-06-13 09:32:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047428 -2.788906)'), GeomFromEWKT('SRID=4674;POINT (-40.047548 -2.788945)'))) / (select extract(epoch from '2026-06-13 09:32:00'::timestamp) - extract(epoch from '2026-06-13 09:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047428 -2.788906)'), GeomFromEWKT('SRID=4674;POINT (-40.047548 -2.788945)'))) / (select extract(epoch from '2026-06-13 09:32:00'::timestamp) - extract(epoch from '2026-06-13 09:31:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.047709 -2.788992)', '2026-06-13 09:32:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047548 -2.788945)'), GeomFromEWKT('SRID=4674;POINT (-40.047709 -2.788992)'))) / (select extract(epoch from '2026-06-13 09:32:08'::timestamp) - extract(epoch from '2026-06-13 09:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047548 -2.788945)'), GeomFromEWKT('SRID=4674;POINT (-40.047709 -2.788992)'))) / (select extract(epoch from '2026-06-13 09:32:08'::timestamp) - extract(epoch from '2026-06-13 09:32: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'), 46944, 'SRID=4674;POINT (-40.047856 -2.789031)', '2026-06-13 09:32:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047709 -2.788992)'), GeomFromEWKT('SRID=4674;POINT (-40.047856 -2.789031)'))) / (select extract(epoch from '2026-06-13 09:32:16'::timestamp) - extract(epoch from '2026-06-13 09:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047709 -2.788992)'), GeomFromEWKT('SRID=4674;POINT (-40.047856 -2.789031)'))) / (select extract(epoch from '2026-06-13 09:32:16'::timestamp) - extract(epoch from '2026-06-13 09:32:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.048014 -2.789089)', '2026-06-13 09:32:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047856 -2.789031)'), GeomFromEWKT('SRID=4674;POINT (-40.048014 -2.789089)'))) / (select extract(epoch from '2026-06-13 09:32:25'::timestamp) - extract(epoch from '2026-06-13 09:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047856 -2.789031)'), GeomFromEWKT('SRID=4674;POINT (-40.048014 -2.789089)'))) / (select extract(epoch from '2026-06-13 09:32:25'::timestamp) - extract(epoch from '2026-06-13 09:32:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.048149 -2.789128)', '2026-06-13 09:32:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048014 -2.789089)'), GeomFromEWKT('SRID=4674;POINT (-40.048149 -2.789128)'))) / (select extract(epoch from '2026-06-13 09:32:32'::timestamp) - extract(epoch from '2026-06-13 09:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048014 -2.789089)'), GeomFromEWKT('SRID=4674;POINT (-40.048149 -2.789128)'))) / (select extract(epoch from '2026-06-13 09:32:32'::timestamp) - extract(epoch from '2026-06-13 09:32: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'), 46944, 'SRID=4674;POINT (-40.048291 -2.789164)', '2026-06-13 09:32:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048149 -2.789128)'), GeomFromEWKT('SRID=4674;POINT (-40.048291 -2.789164)'))) / (select extract(epoch from '2026-06-13 09:32:39'::timestamp) - extract(epoch from '2026-06-13 09:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048149 -2.789128)'), GeomFromEWKT('SRID=4674;POINT (-40.048291 -2.789164)'))) / (select extract(epoch from '2026-06-13 09:32:39'::timestamp) - extract(epoch from '2026-06-13 09:32:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.048394 -2.789244)', '2026-06-13 09:32:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048291 -2.789164)'), GeomFromEWKT('SRID=4674;POINT (-40.048394 -2.789244)'))) / (select extract(epoch from '2026-06-13 09:32:46'::timestamp) - extract(epoch from '2026-06-13 09:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048291 -2.789164)'), GeomFromEWKT('SRID=4674;POINT (-40.048394 -2.789244)'))) / (select extract(epoch from '2026-06-13 09:32:46'::timestamp) - extract(epoch from '2026-06-13 09:32: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'), 46944, 'SRID=4674;POINT (-40.048457 -2.789313)', '2026-06-13 09:32:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048394 -2.789244)'), GeomFromEWKT('SRID=4674;POINT (-40.048457 -2.789313)'))) / (select extract(epoch from '2026-06-13 09:32:51'::timestamp) - extract(epoch from '2026-06-13 09:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048394 -2.789244)'), GeomFromEWKT('SRID=4674;POINT (-40.048457 -2.789313)'))) / (select extract(epoch from '2026-06-13 09:32:51'::timestamp) - extract(epoch from '2026-06-13 09:32:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.04853 -2.789373)', '2026-06-13 09:32:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048457 -2.789313)'), GeomFromEWKT('SRID=4674;POINT (-40.04853 -2.789373)'))) / (select extract(epoch from '2026-06-13 09:32:56'::timestamp) - extract(epoch from '2026-06-13 09:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048457 -2.789313)'), GeomFromEWKT('SRID=4674;POINT (-40.04853 -2.789373)'))) / (select extract(epoch from '2026-06-13 09:32:56'::timestamp) - extract(epoch from '2026-06-13 09:32: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'), 46944, 'SRID=4674;POINT (-40.048547 -2.789384)', '2026-06-13 09:32:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04853 -2.789373)'), GeomFromEWKT('SRID=4674;POINT (-40.048547 -2.789384)'))) / (select extract(epoch from '2026-06-13 09:32:57'::timestamp) - extract(epoch from '2026-06-13 09:32:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04853 -2.789373)'), GeomFromEWKT('SRID=4674;POINT (-40.048547 -2.789384)'))) / (select extract(epoch from '2026-06-13 09:32:57'::timestamp) - extract(epoch from '2026-06-13 09:32: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'), 46944, 'SRID=4674;POINT (-40.048636 -2.789458)', '2026-06-13 09:33:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048547 -2.789384)'), GeomFromEWKT('SRID=4674;POINT (-40.048636 -2.789458)'))) / (select extract(epoch from '2026-06-13 09:33:03'::timestamp) - extract(epoch from '2026-06-13 09:32:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048547 -2.789384)'), GeomFromEWKT('SRID=4674;POINT (-40.048636 -2.789458)'))) / (select extract(epoch from '2026-06-13 09:33:03'::timestamp) - extract(epoch from '2026-06-13 09:32:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.048732 -2.78955)', '2026-06-13 09:33:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048636 -2.789458)'), GeomFromEWKT('SRID=4674;POINT (-40.048732 -2.78955)'))) / (select extract(epoch from '2026-06-13 09:33:10'::timestamp) - extract(epoch from '2026-06-13 09:33:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048636 -2.789458)'), GeomFromEWKT('SRID=4674;POINT (-40.048732 -2.78955)'))) / (select extract(epoch from '2026-06-13 09:33:10'::timestamp) - extract(epoch from '2026-06-13 09:33: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'), 46944, 'SRID=4674;POINT (-40.048815 -2.789633)', '2026-06-13 09:33:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048732 -2.78955)'), GeomFromEWKT('SRID=4674;POINT (-40.048815 -2.789633)'))) / (select extract(epoch from '2026-06-13 09:33:16'::timestamp) - extract(epoch from '2026-06-13 09:33:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048732 -2.78955)'), GeomFromEWKT('SRID=4674;POINT (-40.048815 -2.789633)'))) / (select extract(epoch from '2026-06-13 09:33:16'::timestamp) - extract(epoch from '2026-06-13 09:33: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'), 46944, 'SRID=4674;POINT (-40.048925 -2.789716)', '2026-06-13 09:33:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048815 -2.789633)'), GeomFromEWKT('SRID=4674;POINT (-40.048925 -2.789716)'))) / (select extract(epoch from '2026-06-13 09:33:23'::timestamp) - extract(epoch from '2026-06-13 09:33:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048815 -2.789633)'), GeomFromEWKT('SRID=4674;POINT (-40.048925 -2.789716)'))) / (select extract(epoch from '2026-06-13 09:33:23'::timestamp) - extract(epoch from '2026-06-13 09:33: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'), 46944, 'SRID=4674;POINT (-40.049049 -2.789784)', '2026-06-13 09:33:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048925 -2.789716)'), GeomFromEWKT('SRID=4674;POINT (-40.049049 -2.789784)'))) / (select extract(epoch from '2026-06-13 09:33:30'::timestamp) - extract(epoch from '2026-06-13 09:33:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048925 -2.789716)'), GeomFromEWKT('SRID=4674;POINT (-40.049049 -2.789784)'))) / (select extract(epoch from '2026-06-13 09:33:30'::timestamp) - extract(epoch from '2026-06-13 09:33: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'), 46944, 'SRID=4674;POINT (-40.049185 -2.789859)', '2026-06-13 09:33:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049049 -2.789784)'), GeomFromEWKT('SRID=4674;POINT (-40.049185 -2.789859)'))) / (select extract(epoch from '2026-06-13 09:33:38'::timestamp) - extract(epoch from '2026-06-13 09:33:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049049 -2.789784)'), GeomFromEWKT('SRID=4674;POINT (-40.049185 -2.789859)'))) / (select extract(epoch from '2026-06-13 09:33:38'::timestamp) - extract(epoch from '2026-06-13 09:33:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.049269 -2.789957)', '2026-06-13 09:33:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049185 -2.789859)'), GeomFromEWKT('SRID=4674;POINT (-40.049269 -2.789957)'))) / (select extract(epoch from '2026-06-13 09:33:45'::timestamp) - extract(epoch from '2026-06-13 09:33:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049185 -2.789859)'), GeomFromEWKT('SRID=4674;POINT (-40.049269 -2.789957)'))) / (select extract(epoch from '2026-06-13 09:33:45'::timestamp) - extract(epoch from '2026-06-13 09:33: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'), 46944, 'SRID=4674;POINT (-40.049289 -2.789987)', '2026-06-13 09:33:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049269 -2.789957)'), GeomFromEWKT('SRID=4674;POINT (-40.049289 -2.789987)'))) / (select extract(epoch from '2026-06-13 09:33:47'::timestamp) - extract(epoch from '2026-06-13 09:33:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049269 -2.789957)'), GeomFromEWKT('SRID=4674;POINT (-40.049289 -2.789987)'))) / (select extract(epoch from '2026-06-13 09:33:47'::timestamp) - extract(epoch from '2026-06-13 09:33: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'), 46944, 'SRID=4674;POINT (-40.049311 -2.790016)', '2026-06-13 09:33:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049289 -2.789987)'), GeomFromEWKT('SRID=4674;POINT (-40.049311 -2.790016)'))) / (select extract(epoch from '2026-06-13 09:33:49'::timestamp) - extract(epoch from '2026-06-13 09:33:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049289 -2.789987)'), GeomFromEWKT('SRID=4674;POINT (-40.049311 -2.790016)'))) / (select extract(epoch from '2026-06-13 09:33:49'::timestamp) - extract(epoch from '2026-06-13 09:33: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'), 46944, 'SRID=4674;POINT (-40.049377 -2.790111)', '2026-06-13 09:33:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049311 -2.790016)'), GeomFromEWKT('SRID=4674;POINT (-40.049377 -2.790111)'))) / (select extract(epoch from '2026-06-13 09:33:56'::timestamp) - extract(epoch from '2026-06-13 09:33:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049311 -2.790016)'), GeomFromEWKT('SRID=4674;POINT (-40.049377 -2.790111)'))) / (select extract(epoch from '2026-06-13 09:33:56'::timestamp) - extract(epoch from '2026-06-13 09:33: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'), 46944, 'SRID=4674;POINT (-40.049456 -2.790207)', '2026-06-13 09:34:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049377 -2.790111)'), GeomFromEWKT('SRID=4674;POINT (-40.049456 -2.790207)'))) / (select extract(epoch from '2026-06-13 09:34:03'::timestamp) - extract(epoch from '2026-06-13 09:33:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049377 -2.790111)'), GeomFromEWKT('SRID=4674;POINT (-40.049456 -2.790207)'))) / (select extract(epoch from '2026-06-13 09:34:03'::timestamp) - extract(epoch from '2026-06-13 09:33: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'), 46944, 'SRID=4674;POINT (-40.049519 -2.790299)', '2026-06-13 09:34:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049456 -2.790207)'), GeomFromEWKT('SRID=4674;POINT (-40.049519 -2.790299)'))) / (select extract(epoch from '2026-06-13 09:34:09'::timestamp) - extract(epoch from '2026-06-13 09:34:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049456 -2.790207)'), GeomFromEWKT('SRID=4674;POINT (-40.049519 -2.790299)'))) / (select extract(epoch from '2026-06-13 09:34:09'::timestamp) - extract(epoch from '2026-06-13 09:34:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.049583 -2.790387)', '2026-06-13 09:34:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049519 -2.790299)'), GeomFromEWKT('SRID=4674;POINT (-40.049583 -2.790387)'))) / (select extract(epoch from '2026-06-13 09:34:15'::timestamp) - extract(epoch from '2026-06-13 09:34:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049519 -2.790299)'), GeomFromEWKT('SRID=4674;POINT (-40.049583 -2.790387)'))) / (select extract(epoch from '2026-06-13 09:34:15'::timestamp) - extract(epoch from '2026-06-13 09:34:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.049645 -2.790471)', '2026-06-13 09:34:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049583 -2.790387)'), GeomFromEWKT('SRID=4674;POINT (-40.049645 -2.790471)'))) / (select extract(epoch from '2026-06-13 09:34:21'::timestamp) - extract(epoch from '2026-06-13 09:34:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049583 -2.790387)'), GeomFromEWKT('SRID=4674;POINT (-40.049645 -2.790471)'))) / (select extract(epoch from '2026-06-13 09:34:21'::timestamp) - extract(epoch from '2026-06-13 09:34: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'), 46944, 'SRID=4674;POINT (-40.049735 -2.79056)', '2026-06-13 09:34:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049645 -2.790471)'), GeomFromEWKT('SRID=4674;POINT (-40.049735 -2.79056)'))) / (select extract(epoch from '2026-06-13 09:34:28'::timestamp) - extract(epoch from '2026-06-13 09:34:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049645 -2.790471)'), GeomFromEWKT('SRID=4674;POINT (-40.049735 -2.79056)'))) / (select extract(epoch from '2026-06-13 09:34:28'::timestamp) - extract(epoch from '2026-06-13 09:34: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'), 46944, 'SRID=4674;POINT (-40.049836 -2.790623)', '2026-06-13 09:34:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049735 -2.79056)'), GeomFromEWKT('SRID=4674;POINT (-40.049836 -2.790623)'))) / (select extract(epoch from '2026-06-13 09:34:34'::timestamp) - extract(epoch from '2026-06-13 09:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049735 -2.79056)'), GeomFromEWKT('SRID=4674;POINT (-40.049836 -2.790623)'))) / (select extract(epoch from '2026-06-13 09:34:34'::timestamp) - extract(epoch from '2026-06-13 09:34:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.049901 -2.790693)', '2026-06-13 09:34:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049836 -2.790623)'), GeomFromEWKT('SRID=4674;POINT (-40.049901 -2.790693)'))) / (select extract(epoch from '2026-06-13 09:34:39'::timestamp) - extract(epoch from '2026-06-13 09:34:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049836 -2.790623)'), GeomFromEWKT('SRID=4674;POINT (-40.049901 -2.790693)'))) / (select extract(epoch from '2026-06-13 09:34:39'::timestamp) - extract(epoch from '2026-06-13 09:34:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.04997 -2.790754)', '2026-06-13 09:34:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049901 -2.790693)'), GeomFromEWKT('SRID=4674;POINT (-40.04997 -2.790754)'))) / (select extract(epoch from '2026-06-13 09:34:44'::timestamp) - extract(epoch from '2026-06-13 09:34:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049901 -2.790693)'), GeomFromEWKT('SRID=4674;POINT (-40.04997 -2.790754)'))) / (select extract(epoch from '2026-06-13 09:34:44'::timestamp) - extract(epoch from '2026-06-13 09:34:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050053 -2.79083)', '2026-06-13 09:34:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04997 -2.790754)'), GeomFromEWKT('SRID=4674;POINT (-40.050053 -2.79083)'))) / (select extract(epoch from '2026-06-13 09:34:50'::timestamp) - extract(epoch from '2026-06-13 09:34:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04997 -2.790754)'), GeomFromEWKT('SRID=4674;POINT (-40.050053 -2.79083)'))) / (select extract(epoch from '2026-06-13 09:34:50'::timestamp) - extract(epoch from '2026-06-13 09:34:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.05017 -2.790929)', '2026-06-13 09:34:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050053 -2.79083)'), GeomFromEWKT('SRID=4674;POINT (-40.05017 -2.790929)'))) / (select extract(epoch from '2026-06-13 09:34:58'::timestamp) - extract(epoch from '2026-06-13 09:34:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050053 -2.79083)'), GeomFromEWKT('SRID=4674;POINT (-40.05017 -2.790929)'))) / (select extract(epoch from '2026-06-13 09:34:58'::timestamp) - extract(epoch from '2026-06-13 09:34:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050274 -2.79103)', '2026-06-13 09:35:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05017 -2.790929)'), GeomFromEWKT('SRID=4674;POINT (-40.050274 -2.79103)'))) / (select extract(epoch from '2026-06-13 09:35:06'::timestamp) - extract(epoch from '2026-06-13 09:34:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05017 -2.790929)'), GeomFromEWKT('SRID=4674;POINT (-40.050274 -2.79103)'))) / (select extract(epoch from '2026-06-13 09:35:06'::timestamp) - extract(epoch from '2026-06-13 09:34: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'), 46944, 'SRID=4674;POINT (-40.050373 -2.791121)', '2026-06-13 09:35:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050274 -2.79103)'), GeomFromEWKT('SRID=4674;POINT (-40.050373 -2.791121)'))) / (select extract(epoch from '2026-06-13 09:35:13'::timestamp) - extract(epoch from '2026-06-13 09:35:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050274 -2.79103)'), GeomFromEWKT('SRID=4674;POINT (-40.050373 -2.791121)'))) / (select extract(epoch from '2026-06-13 09:35:13'::timestamp) - extract(epoch from '2026-06-13 09:35: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'), 46944, 'SRID=4674;POINT (-40.050462 -2.7912)', '2026-06-13 09:35:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050373 -2.791121)'), GeomFromEWKT('SRID=4674;POINT (-40.050462 -2.7912)'))) / (select extract(epoch from '2026-06-13 09:35:19'::timestamp) - extract(epoch from '2026-06-13 09:35:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050373 -2.791121)'), GeomFromEWKT('SRID=4674;POINT (-40.050462 -2.7912)'))) / (select extract(epoch from '2026-06-13 09:35:19'::timestamp) - extract(epoch from '2026-06-13 09:35:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.05055 -2.79129)', '2026-06-13 09:35:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050462 -2.7912)'), GeomFromEWKT('SRID=4674;POINT (-40.05055 -2.79129)'))) / (select extract(epoch from '2026-06-13 09:35:26'::timestamp) - extract(epoch from '2026-06-13 09:35:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050462 -2.7912)'), GeomFromEWKT('SRID=4674;POINT (-40.05055 -2.79129)'))) / (select extract(epoch from '2026-06-13 09:35:26'::timestamp) - extract(epoch from '2026-06-13 09:35:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050574 -2.791378)', '2026-06-13 09:35:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05055 -2.79129)'), GeomFromEWKT('SRID=4674;POINT (-40.050574 -2.791378)'))) / (select extract(epoch from '2026-06-13 09:35:32'::timestamp) - extract(epoch from '2026-06-13 09:35:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05055 -2.79129)'), GeomFromEWKT('SRID=4674;POINT (-40.050574 -2.791378)'))) / (select extract(epoch from '2026-06-13 09:35:32'::timestamp) - extract(epoch from '2026-06-13 09:35: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'), 46944, 'SRID=4674;POINT (-40.050577 -2.791423)', '2026-06-13 09:35:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050574 -2.791378)'), GeomFromEWKT('SRID=4674;POINT (-40.050577 -2.791423)'))) / (select extract(epoch from '2026-06-13 09:35:35'::timestamp) - extract(epoch from '2026-06-13 09:35:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050574 -2.791378)'), GeomFromEWKT('SRID=4674;POINT (-40.050577 -2.791423)'))) / (select extract(epoch from '2026-06-13 09:35:35'::timestamp) - extract(epoch from '2026-06-13 09:35: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'), 46944, 'SRID=4674;POINT (-40.050588 -2.791463)', '2026-06-13 09:35:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050577 -2.791423)'), GeomFromEWKT('SRID=4674;POINT (-40.050588 -2.791463)'))) / (select extract(epoch from '2026-06-13 09:35:38'::timestamp) - extract(epoch from '2026-06-13 09:35:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050577 -2.791423)'), GeomFromEWKT('SRID=4674;POINT (-40.050588 -2.791463)'))) / (select extract(epoch from '2026-06-13 09:35:38'::timestamp) - extract(epoch from '2026-06-13 09:35:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050656 -2.791533)', '2026-06-13 09:35:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050588 -2.791463)'), GeomFromEWKT('SRID=4674;POINT (-40.050656 -2.791533)'))) / (select extract(epoch from '2026-06-13 09:35:45'::timestamp) - extract(epoch from '2026-06-13 09:35:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050588 -2.791463)'), GeomFromEWKT('SRID=4674;POINT (-40.050656 -2.791533)'))) / (select extract(epoch from '2026-06-13 09:35:45'::timestamp) - extract(epoch from '2026-06-13 09:35:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050694 -2.791538)', '2026-06-13 09:35:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050656 -2.791533)'), GeomFromEWKT('SRID=4674;POINT (-40.050694 -2.791538)'))) / (select extract(epoch from '2026-06-13 09:35:48'::timestamp) - extract(epoch from '2026-06-13 09:35:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050656 -2.791533)'), GeomFromEWKT('SRID=4674;POINT (-40.050694 -2.791538)'))) / (select extract(epoch from '2026-06-13 09:35:48'::timestamp) - extract(epoch from '2026-06-13 09:35: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'), 46944, 'SRID=4674;POINT (-40.050746 -2.791508)', '2026-06-13 09:35:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050694 -2.791538)'), GeomFromEWKT('SRID=4674;POINT (-40.050746 -2.791508)'))) / (select extract(epoch from '2026-06-13 09:35:53'::timestamp) - extract(epoch from '2026-06-13 09:35:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050694 -2.791538)'), GeomFromEWKT('SRID=4674;POINT (-40.050746 -2.791508)'))) / (select extract(epoch from '2026-06-13 09:35:53'::timestamp) - extract(epoch from '2026-06-13 09:35: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'), 46944, 'SRID=4674;POINT (-40.050765 -2.791437)', '2026-06-13 09:36:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050746 -2.791508)'), GeomFromEWKT('SRID=4674;POINT (-40.050765 -2.791437)'))) / (select extract(epoch from '2026-06-13 09:36:00'::timestamp) - extract(epoch from '2026-06-13 09:35:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050746 -2.791508)'), GeomFromEWKT('SRID=4674;POINT (-40.050765 -2.791437)'))) / (select extract(epoch from '2026-06-13 09:36:00'::timestamp) - extract(epoch from '2026-06-13 09:35: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'), 46944, 'SRID=4674;POINT (-40.050729 -2.791411)', '2026-06-13 09:36:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050765 -2.791437)'), GeomFromEWKT('SRID=4674;POINT (-40.050729 -2.791411)'))) / (select extract(epoch from '2026-06-13 09:36:07'::timestamp) - extract(epoch from '2026-06-13 09:36:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050765 -2.791437)'), GeomFromEWKT('SRID=4674;POINT (-40.050729 -2.791411)'))) / (select extract(epoch from '2026-06-13 09:36:07'::timestamp) - extract(epoch from '2026-06-13 09:36: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'), 46944, 'SRID=4674;POINT (-40.050626 -2.791409)', '2026-06-13 09:36:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050729 -2.791411)'), GeomFromEWKT('SRID=4674;POINT (-40.050626 -2.791409)'))) / (select extract(epoch from '2026-06-13 09:36:18'::timestamp) - extract(epoch from '2026-06-13 09:36:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050729 -2.791411)'), GeomFromEWKT('SRID=4674;POINT (-40.050626 -2.791409)'))) / (select extract(epoch from '2026-06-13 09:36:18'::timestamp) - extract(epoch from '2026-06-13 09:36:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050585 -2.791403)', '2026-06-13 09:36:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050626 -2.791409)'), GeomFromEWKT('SRID=4674;POINT (-40.050585 -2.791403)'))) / (select extract(epoch from '2026-06-13 09:36:27'::timestamp) - extract(epoch from '2026-06-13 09:36:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050626 -2.791409)'), GeomFromEWKT('SRID=4674;POINT (-40.050585 -2.791403)'))) / (select extract(epoch from '2026-06-13 09:36:27'::timestamp) - extract(epoch from '2026-06-13 09:36:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050546 -2.791422)', '2026-06-13 09:36:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050585 -2.791403)'), GeomFromEWKT('SRID=4674;POINT (-40.050546 -2.791422)'))) / (select extract(epoch from '2026-06-13 09:36:38'::timestamp) - extract(epoch from '2026-06-13 09:36:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050585 -2.791403)'), GeomFromEWKT('SRID=4674;POINT (-40.050546 -2.791422)'))) / (select extract(epoch from '2026-06-13 09:36:38'::timestamp) - extract(epoch from '2026-06-13 09:36: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'), 46944, 'SRID=4674;POINT (-40.050562 -2.791477)', '2026-06-13 09:36:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050546 -2.791422)'), GeomFromEWKT('SRID=4674;POINT (-40.050562 -2.791477)'))) / (select extract(epoch from '2026-06-13 09:36:48'::timestamp) - extract(epoch from '2026-06-13 09:36:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050546 -2.791422)'), GeomFromEWKT('SRID=4674;POINT (-40.050562 -2.791477)'))) / (select extract(epoch from '2026-06-13 09:36:48'::timestamp) - extract(epoch from '2026-06-13 09:36: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'), 46944, 'SRID=4674;POINT (-40.050594 -2.791515)', '2026-06-13 09:36:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050562 -2.791477)'), GeomFromEWKT('SRID=4674;POINT (-40.050594 -2.791515)'))) / (select extract(epoch from '2026-06-13 09:36:54'::timestamp) - extract(epoch from '2026-06-13 09:36:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050562 -2.791477)'), GeomFromEWKT('SRID=4674;POINT (-40.050594 -2.791515)'))) / (select extract(epoch from '2026-06-13 09:36:54'::timestamp) - extract(epoch from '2026-06-13 09:36: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'), 46944, 'SRID=4674;POINT (-40.05061 -2.791526)', '2026-06-13 09:36:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050594 -2.791515)'), GeomFromEWKT('SRID=4674;POINT (-40.05061 -2.791526)'))) / (select extract(epoch from '2026-06-13 09:36:56'::timestamp) - extract(epoch from '2026-06-13 09:36:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050594 -2.791515)'), GeomFromEWKT('SRID=4674;POINT (-40.05061 -2.791526)'))) / (select extract(epoch from '2026-06-13 09:36:56'::timestamp) - extract(epoch from '2026-06-13 09:36: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'), 46944, 'SRID=4674;POINT (-40.050628 -2.791537)', '2026-06-13 09:36:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05061 -2.791526)'), GeomFromEWKT('SRID=4674;POINT (-40.050628 -2.791537)'))) / (select extract(epoch from '2026-06-13 09:36:58'::timestamp) - extract(epoch from '2026-06-13 09:36:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05061 -2.791526)'), GeomFromEWKT('SRID=4674;POINT (-40.050628 -2.791537)'))) / (select extract(epoch from '2026-06-13 09:36:58'::timestamp) - extract(epoch from '2026-06-13 09:36: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'), 46944, 'SRID=4674;POINT (-40.050645 -2.791548)', '2026-06-13 09:37:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050628 -2.791537)'), GeomFromEWKT('SRID=4674;POINT (-40.050645 -2.791548)'))) / (select extract(epoch from '2026-06-13 09:37:00'::timestamp) - extract(epoch from '2026-06-13 09:36:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050628 -2.791537)'), GeomFromEWKT('SRID=4674;POINT (-40.050645 -2.791548)'))) / (select extract(epoch from '2026-06-13 09:37:00'::timestamp) - extract(epoch from '2026-06-13 09:36:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050658 -2.791562)', '2026-06-13 09:37:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050645 -2.791548)'), GeomFromEWKT('SRID=4674;POINT (-40.050658 -2.791562)'))) / (select extract(epoch from '2026-06-13 09:37:02'::timestamp) - extract(epoch from '2026-06-13 09:37:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050645 -2.791548)'), GeomFromEWKT('SRID=4674;POINT (-40.050658 -2.791562)'))) / (select extract(epoch from '2026-06-13 09:37:02'::timestamp) - extract(epoch from '2026-06-13 09:37:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050686 -2.791585)', '2026-06-13 09:37:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050658 -2.791562)'), GeomFromEWKT('SRID=4674;POINT (-40.050686 -2.791585)'))) / (select extract(epoch from '2026-06-13 09:37:05'::timestamp) - extract(epoch from '2026-06-13 09:37:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050658 -2.791562)'), GeomFromEWKT('SRID=4674;POINT (-40.050686 -2.791585)'))) / (select extract(epoch from '2026-06-13 09:37:05'::timestamp) - extract(epoch from '2026-06-13 09:37: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'), 46944, 'SRID=4674;POINT (-40.050695 -2.791604)', '2026-06-13 09:37:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050686 -2.791585)'), GeomFromEWKT('SRID=4674;POINT (-40.050695 -2.791604)'))) / (select extract(epoch from '2026-06-13 09:37:07'::timestamp) - extract(epoch from '2026-06-13 09:37:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050686 -2.791585)'), GeomFromEWKT('SRID=4674;POINT (-40.050695 -2.791604)'))) / (select extract(epoch from '2026-06-13 09:37:07'::timestamp) - extract(epoch from '2026-06-13 09:37: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'), 46944, 'SRID=4674;POINT (-40.050697 -2.791625)', '2026-06-13 09:37:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050695 -2.791604)'), GeomFromEWKT('SRID=4674;POINT (-40.050697 -2.791625)'))) / (select extract(epoch from '2026-06-13 09:37:09'::timestamp) - extract(epoch from '2026-06-13 09:37:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050695 -2.791604)'), GeomFromEWKT('SRID=4674;POINT (-40.050697 -2.791625)'))) / (select extract(epoch from '2026-06-13 09:37:09'::timestamp) - extract(epoch from '2026-06-13 09:37:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050693 -2.791636)', '2026-06-13 09:37:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050697 -2.791625)'), GeomFromEWKT('SRID=4674;POINT (-40.050693 -2.791636)'))) / (select extract(epoch from '2026-06-13 09:37:10'::timestamp) - extract(epoch from '2026-06-13 09:37:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050697 -2.791625)'), GeomFromEWKT('SRID=4674;POINT (-40.050693 -2.791636)'))) / (select extract(epoch from '2026-06-13 09:37:10'::timestamp) - extract(epoch from '2026-06-13 09:37:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050682 -2.791651)', '2026-06-13 09:37:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050693 -2.791636)'), GeomFromEWKT('SRID=4674;POINT (-40.050682 -2.791651)'))) / (select extract(epoch from '2026-06-13 09:37:13'::timestamp) - extract(epoch from '2026-06-13 09:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050693 -2.791636)'), GeomFromEWKT('SRID=4674;POINT (-40.050682 -2.791651)'))) / (select extract(epoch from '2026-06-13 09:37:13'::timestamp) - extract(epoch from '2026-06-13 09:37:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050644 -2.791661)', '2026-06-13 09:37:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050682 -2.791651)'), GeomFromEWKT('SRID=4674;POINT (-40.050644 -2.791661)'))) / (select extract(epoch from '2026-06-13 09:37:21'::timestamp) - extract(epoch from '2026-06-13 09:37:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050682 -2.791651)'), GeomFromEWKT('SRID=4674;POINT (-40.050644 -2.791661)'))) / (select extract(epoch from '2026-06-13 09:37:21'::timestamp) - extract(epoch from '2026-06-13 09:37: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'), 46944, 'SRID=4674;POINT (-40.05065 -2.791609)', '2026-06-13 09:37:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050644 -2.791661)'), GeomFromEWKT('SRID=4674;POINT (-40.05065 -2.791609)'))) / (select extract(epoch from '2026-06-13 09:37:29'::timestamp) - extract(epoch from '2026-06-13 09:37:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050644 -2.791661)'), GeomFromEWKT('SRID=4674;POINT (-40.05065 -2.791609)'))) / (select extract(epoch from '2026-06-13 09:37:29'::timestamp) - extract(epoch from '2026-06-13 09:37:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.05068 -2.791569)', '2026-06-13 09:37:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05065 -2.791609)'), GeomFromEWKT('SRID=4674;POINT (-40.05068 -2.791569)'))) / (select extract(epoch from '2026-06-13 09:37:38'::timestamp) - extract(epoch from '2026-06-13 09:37:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05065 -2.791609)'), GeomFromEWKT('SRID=4674;POINT (-40.05068 -2.791569)'))) / (select extract(epoch from '2026-06-13 09:37:38'::timestamp) - extract(epoch from '2026-06-13 09:37: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'), 46944, 'SRID=4674;POINT (-40.050711 -2.791523)', '2026-06-13 09:37:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05068 -2.791569)'), GeomFromEWKT('SRID=4674;POINT (-40.050711 -2.791523)'))) / (select extract(epoch from '2026-06-13 09:37:45'::timestamp) - extract(epoch from '2026-06-13 09:37:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05068 -2.791569)'), GeomFromEWKT('SRID=4674;POINT (-40.050711 -2.791523)'))) / (select extract(epoch from '2026-06-13 09:37:45'::timestamp) - extract(epoch from '2026-06-13 09:37:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050716 -2.791513)', '2026-06-13 09:37:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050711 -2.791523)'), GeomFromEWKT('SRID=4674;POINT (-40.050716 -2.791513)'))) / (select extract(epoch from '2026-06-13 09:37:46'::timestamp) - extract(epoch from '2026-06-13 09:37:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050711 -2.791523)'), GeomFromEWKT('SRID=4674;POINT (-40.050716 -2.791513)'))) / (select extract(epoch from '2026-06-13 09:37:46'::timestamp) - extract(epoch from '2026-06-13 09:37: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'), 46944, 'SRID=4674;POINT (-40.050808 -2.791469)', '2026-06-13 09:37:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050716 -2.791513)'), GeomFromEWKT('SRID=4674;POINT (-40.050808 -2.791469)'))) / (select extract(epoch from '2026-06-13 09:37:53'::timestamp) - extract(epoch from '2026-06-13 09:37:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050716 -2.791513)'), GeomFromEWKT('SRID=4674;POINT (-40.050808 -2.791469)'))) / (select extract(epoch from '2026-06-13 09:37:53'::timestamp) - extract(epoch from '2026-06-13 09:37:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050878 -2.791506)', '2026-06-13 09:37:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050808 -2.791469)'), GeomFromEWKT('SRID=4674;POINT (-40.050878 -2.791506)'))) / (select extract(epoch from '2026-06-13 09:37:59'::timestamp) - extract(epoch from '2026-06-13 09:37:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050808 -2.791469)'), GeomFromEWKT('SRID=4674;POINT (-40.050878 -2.791506)'))) / (select extract(epoch from '2026-06-13 09:37:59'::timestamp) - extract(epoch from '2026-06-13 09:37: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'), 46944, 'SRID=4674;POINT (-40.050903 -2.791578)', '2026-06-13 09:38:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050878 -2.791506)'), GeomFromEWKT('SRID=4674;POINT (-40.050903 -2.791578)'))) / (select extract(epoch from '2026-06-13 09:38:06'::timestamp) - extract(epoch from '2026-06-13 09:37:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050878 -2.791506)'), GeomFromEWKT('SRID=4674;POINT (-40.050903 -2.791578)'))) / (select extract(epoch from '2026-06-13 09:38:06'::timestamp) - extract(epoch from '2026-06-13 09:37: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'), 46944, 'SRID=4674;POINT (-40.050864 -2.791662)', '2026-06-13 09:38:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050903 -2.791578)'), GeomFromEWKT('SRID=4674;POINT (-40.050864 -2.791662)'))) / (select extract(epoch from '2026-06-13 09:38:14'::timestamp) - extract(epoch from '2026-06-13 09:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050903 -2.791578)'), GeomFromEWKT('SRID=4674;POINT (-40.050864 -2.791662)'))) / (select extract(epoch from '2026-06-13 09:38:14'::timestamp) - extract(epoch from '2026-06-13 09:38: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'), 46944, 'SRID=4674;POINT (-40.050844 -2.791687)', '2026-06-13 09:38:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050864 -2.791662)'), GeomFromEWKT('SRID=4674;POINT (-40.050844 -2.791687)'))) / (select extract(epoch from '2026-06-13 09:38:17'::timestamp) - extract(epoch from '2026-06-13 09:38:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050864 -2.791662)'), GeomFromEWKT('SRID=4674;POINT (-40.050844 -2.791687)'))) / (select extract(epoch from '2026-06-13 09:38:17'::timestamp) - extract(epoch from '2026-06-13 09:38: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'), 46944, 'SRID=4674;POINT (-40.050833 -2.791717)', '2026-06-13 09:38:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050844 -2.791687)'), GeomFromEWKT('SRID=4674;POINT (-40.050833 -2.791717)'))) / (select extract(epoch from '2026-06-13 09:38:20'::timestamp) - extract(epoch from '2026-06-13 09:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050844 -2.791687)'), GeomFromEWKT('SRID=4674;POINT (-40.050833 -2.791717)'))) / (select extract(epoch from '2026-06-13 09:38:20'::timestamp) - extract(epoch from '2026-06-13 09:38:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050802 -2.791781)', '2026-06-13 09:38:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050833 -2.791717)'), GeomFromEWKT('SRID=4674;POINT (-40.050802 -2.791781)'))) / (select extract(epoch from '2026-06-13 09:38:27'::timestamp) - extract(epoch from '2026-06-13 09:38:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050833 -2.791717)'), GeomFromEWKT('SRID=4674;POINT (-40.050802 -2.791781)'))) / (select extract(epoch from '2026-06-13 09:38:27'::timestamp) - extract(epoch from '2026-06-13 09:38: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'), 46944, 'SRID=4674;POINT (-40.050804 -2.79182)', '2026-06-13 09:38:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050802 -2.791781)'), GeomFromEWKT('SRID=4674;POINT (-40.050804 -2.79182)'))) / (select extract(epoch from '2026-06-13 09:38:34'::timestamp) - extract(epoch from '2026-06-13 09:38:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050802 -2.791781)'), GeomFromEWKT('SRID=4674;POINT (-40.050804 -2.79182)'))) / (select extract(epoch from '2026-06-13 09:38:34'::timestamp) - extract(epoch from '2026-06-13 09:38:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050823 -2.791869)', '2026-06-13 09:38:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050804 -2.79182)'), GeomFromEWKT('SRID=4674;POINT (-40.050823 -2.791869)'))) / (select extract(epoch from '2026-06-13 09:38:43'::timestamp) - extract(epoch from '2026-06-13 09:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050804 -2.79182)'), GeomFromEWKT('SRID=4674;POINT (-40.050823 -2.791869)'))) / (select extract(epoch from '2026-06-13 09:38:43'::timestamp) - extract(epoch from '2026-06-13 09:38: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'), 46944, 'SRID=4674;POINT (-40.050843 -2.79188)', '2026-06-13 09:38:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050823 -2.791869)'), GeomFromEWKT('SRID=4674;POINT (-40.050843 -2.79188)'))) / (select extract(epoch from '2026-06-13 09:38:52'::timestamp) - extract(epoch from '2026-06-13 09:38:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050823 -2.791869)'), GeomFromEWKT('SRID=4674;POINT (-40.050843 -2.79188)'))) / (select extract(epoch from '2026-06-13 09:38:52'::timestamp) - extract(epoch from '2026-06-13 09:38:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050875 -2.791908)', '2026-06-13 09:38:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050843 -2.79188)'), GeomFromEWKT('SRID=4674;POINT (-40.050875 -2.791908)'))) / (select extract(epoch from '2026-06-13 09:38:58'::timestamp) - extract(epoch from '2026-06-13 09:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050843 -2.79188)'), GeomFromEWKT('SRID=4674;POINT (-40.050875 -2.791908)'))) / (select extract(epoch from '2026-06-13 09:38:58'::timestamp) - extract(epoch from '2026-06-13 09:38: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'), 46944, 'SRID=4674;POINT (-40.050892 -2.791974)', '2026-06-13 09:39:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050875 -2.791908)'), GeomFromEWKT('SRID=4674;POINT (-40.050892 -2.791974)'))) / (select extract(epoch from '2026-06-13 09:39:05'::timestamp) - extract(epoch from '2026-06-13 09:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050875 -2.791908)'), GeomFromEWKT('SRID=4674;POINT (-40.050892 -2.791974)'))) / (select extract(epoch from '2026-06-13 09:39:05'::timestamp) - extract(epoch from '2026-06-13 09:38: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'), 46944, 'SRID=4674;POINT (-40.050885 -2.79199)', '2026-06-13 09:39:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050892 -2.791974)'), GeomFromEWKT('SRID=4674;POINT (-40.050885 -2.79199)'))) / (select extract(epoch from '2026-06-13 09:39:07'::timestamp) - extract(epoch from '2026-06-13 09:39:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050892 -2.791974)'), GeomFromEWKT('SRID=4674;POINT (-40.050885 -2.79199)'))) / (select extract(epoch from '2026-06-13 09:39:07'::timestamp) - extract(epoch from '2026-06-13 09:39: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'), 46944, 'SRID=4674;POINT (-40.05087 -2.792003)', '2026-06-13 09:39:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050885 -2.79199)'), GeomFromEWKT('SRID=4674;POINT (-40.05087 -2.792003)'))) / (select extract(epoch from '2026-06-13 09:39:11'::timestamp) - extract(epoch from '2026-06-13 09:39:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050885 -2.79199)'), GeomFromEWKT('SRID=4674;POINT (-40.05087 -2.792003)'))) / (select extract(epoch from '2026-06-13 09:39:11'::timestamp) - extract(epoch from '2026-06-13 09:39: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'), 46944, 'SRID=4674;POINT (-40.050852 -2.791972)', '2026-06-13 09:39:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05087 -2.792003)'), GeomFromEWKT('SRID=4674;POINT (-40.050852 -2.791972)'))) / (select extract(epoch from '2026-06-13 09:39:20'::timestamp) - extract(epoch from '2026-06-13 09:39:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05087 -2.792003)'), GeomFromEWKT('SRID=4674;POINT (-40.050852 -2.791972)'))) / (select extract(epoch from '2026-06-13 09:39:20'::timestamp) - extract(epoch from '2026-06-13 09:39:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050876 -2.791875)', '2026-06-13 09:39:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050852 -2.791972)'), GeomFromEWKT('SRID=4674;POINT (-40.050876 -2.791875)'))) / (select extract(epoch from '2026-06-13 09:39:31'::timestamp) - extract(epoch from '2026-06-13 09:39:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050852 -2.791972)'), GeomFromEWKT('SRID=4674;POINT (-40.050876 -2.791875)'))) / (select extract(epoch from '2026-06-13 09:39:31'::timestamp) - extract(epoch from '2026-06-13 09:39: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'), 46944, 'SRID=4674;POINT (-40.050896 -2.791827)', '2026-06-13 09:39:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050876 -2.791875)'), GeomFromEWKT('SRID=4674;POINT (-40.050896 -2.791827)'))) / (select extract(epoch from '2026-06-13 09:39:38'::timestamp) - extract(epoch from '2026-06-13 09:39:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050876 -2.791875)'), GeomFromEWKT('SRID=4674;POINT (-40.050896 -2.791827)'))) / (select extract(epoch from '2026-06-13 09:39:38'::timestamp) - extract(epoch from '2026-06-13 09:39: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'), 46944, 'SRID=4674;POINT (-40.050924 -2.791792)', '2026-06-13 09:39:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050896 -2.791827)'), GeomFromEWKT('SRID=4674;POINT (-40.050924 -2.791792)'))) / (select extract(epoch from '2026-06-13 09:39:46'::timestamp) - extract(epoch from '2026-06-13 09:39:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050896 -2.791827)'), GeomFromEWKT('SRID=4674;POINT (-40.050924 -2.791792)'))) / (select extract(epoch from '2026-06-13 09:39:46'::timestamp) - extract(epoch from '2026-06-13 09:39: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'), 46944, 'SRID=4674;POINT (-40.050943 -2.791723)', '2026-06-13 09:39:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050924 -2.791792)'), GeomFromEWKT('SRID=4674;POINT (-40.050943 -2.791723)'))) / (select extract(epoch from '2026-06-13 09:39:55'::timestamp) - extract(epoch from '2026-06-13 09:39:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050924 -2.791792)'), GeomFromEWKT('SRID=4674;POINT (-40.050943 -2.791723)'))) / (select extract(epoch from '2026-06-13 09:39:55'::timestamp) - extract(epoch from '2026-06-13 09:39: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'), 46944, 'SRID=4674;POINT (-40.050941 -2.791715)', '2026-06-13 09:39:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050943 -2.791723)'), GeomFromEWKT('SRID=4674;POINT (-40.050941 -2.791715)'))) / (select extract(epoch from '2026-06-13 09:39:56'::timestamp) - extract(epoch from '2026-06-13 09:39:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050943 -2.791723)'), GeomFromEWKT('SRID=4674;POINT (-40.050941 -2.791715)'))) / (select extract(epoch from '2026-06-13 09:39:56'::timestamp) - extract(epoch from '2026-06-13 09:39: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'), 46944, 'SRID=4674;POINT (-40.050905 -2.791691)', '2026-06-13 09:40:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050941 -2.791715)'), GeomFromEWKT('SRID=4674;POINT (-40.050905 -2.791691)'))) / (select extract(epoch from '2026-06-13 09:40:03'::timestamp) - extract(epoch from '2026-06-13 09:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050941 -2.791715)'), GeomFromEWKT('SRID=4674;POINT (-40.050905 -2.791691)'))) / (select extract(epoch from '2026-06-13 09:40:03'::timestamp) - extract(epoch from '2026-06-13 09:39: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'), 46944, 'SRID=4674;POINT (-40.050852 -2.791745)', '2026-06-13 09:40:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050905 -2.791691)'), GeomFromEWKT('SRID=4674;POINT (-40.050852 -2.791745)'))) / (select extract(epoch from '2026-06-13 09:40:12'::timestamp) - extract(epoch from '2026-06-13 09:40:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050905 -2.791691)'), GeomFromEWKT('SRID=4674;POINT (-40.050852 -2.791745)'))) / (select extract(epoch from '2026-06-13 09:40:12'::timestamp) - extract(epoch from '2026-06-13 09:40: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'), 46944, 'SRID=4674;POINT (-40.05084 -2.791767)', '2026-06-13 09:40:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050852 -2.791745)'), GeomFromEWKT('SRID=4674;POINT (-40.05084 -2.791767)'))) / (select extract(epoch from '2026-06-13 09:40:14'::timestamp) - extract(epoch from '2026-06-13 09:40:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050852 -2.791745)'), GeomFromEWKT('SRID=4674;POINT (-40.05084 -2.791767)'))) / (select extract(epoch from '2026-06-13 09:40:14'::timestamp) - extract(epoch from '2026-06-13 09:40:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050818 -2.791793)', '2026-06-13 09:40:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05084 -2.791767)'), GeomFromEWKT('SRID=4674;POINT (-40.050818 -2.791793)'))) / (select extract(epoch from '2026-06-13 09:40:17'::timestamp) - extract(epoch from '2026-06-13 09:40:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05084 -2.791767)'), GeomFromEWKT('SRID=4674;POINT (-40.050818 -2.791793)'))) / (select extract(epoch from '2026-06-13 09:40:17'::timestamp) - extract(epoch from '2026-06-13 09:40: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'), 46944, 'SRID=4674;POINT (-40.050794 -2.791822)', '2026-06-13 09:40:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050818 -2.791793)'), GeomFromEWKT('SRID=4674;POINT (-40.050794 -2.791822)'))) / (select extract(epoch from '2026-06-13 09:40:21'::timestamp) - extract(epoch from '2026-06-13 09:40:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050818 -2.791793)'), GeomFromEWKT('SRID=4674;POINT (-40.050794 -2.791822)'))) / (select extract(epoch from '2026-06-13 09:40:21'::timestamp) - extract(epoch from '2026-06-13 09:40: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'), 46944, 'SRID=4674;POINT (-40.050776 -2.791839)', '2026-06-13 09:40:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050794 -2.791822)'), GeomFromEWKT('SRID=4674;POINT (-40.050776 -2.791839)'))) / (select extract(epoch from '2026-06-13 09:40:23'::timestamp) - extract(epoch from '2026-06-13 09:40:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050794 -2.791822)'), GeomFromEWKT('SRID=4674;POINT (-40.050776 -2.791839)'))) / (select extract(epoch from '2026-06-13 09:40:23'::timestamp) - extract(epoch from '2026-06-13 09:40: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'), 46944, 'SRID=4674;POINT (-40.050722 -2.791883)', '2026-06-13 09:40:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050776 -2.791839)'), GeomFromEWKT('SRID=4674;POINT (-40.050722 -2.791883)'))) / (select extract(epoch from '2026-06-13 09:40:29'::timestamp) - extract(epoch from '2026-06-13 09:40:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050776 -2.791839)'), GeomFromEWKT('SRID=4674;POINT (-40.050722 -2.791883)'))) / (select extract(epoch from '2026-06-13 09:40:29'::timestamp) - extract(epoch from '2026-06-13 09:40: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'), 46944, 'SRID=4674;POINT (-40.050658 -2.791957)', '2026-06-13 09:40:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050722 -2.791883)'), GeomFromEWKT('SRID=4674;POINT (-40.050658 -2.791957)'))) / (select extract(epoch from '2026-06-13 09:40:37'::timestamp) - extract(epoch from '2026-06-13 09:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050722 -2.791883)'), GeomFromEWKT('SRID=4674;POINT (-40.050658 -2.791957)'))) / (select extract(epoch from '2026-06-13 09:40:37'::timestamp) - extract(epoch from '2026-06-13 09:40: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'), 46944, 'SRID=4674;POINT (-40.050597 -2.792031)', '2026-06-13 09:40:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050658 -2.791957)'), GeomFromEWKT('SRID=4674;POINT (-40.050597 -2.792031)'))) / (select extract(epoch from '2026-06-13 09:40:46'::timestamp) - extract(epoch from '2026-06-13 09:40:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050658 -2.791957)'), GeomFromEWKT('SRID=4674;POINT (-40.050597 -2.792031)'))) / (select extract(epoch from '2026-06-13 09:40:46'::timestamp) - extract(epoch from '2026-06-13 09:40: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'), 46944, 'SRID=4674;POINT (-40.050571 -2.792068)', '2026-06-13 09:40:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050597 -2.792031)'), GeomFromEWKT('SRID=4674;POINT (-40.050571 -2.792068)'))) / (select extract(epoch from '2026-06-13 09:40:50'::timestamp) - extract(epoch from '2026-06-13 09:40:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050597 -2.792031)'), GeomFromEWKT('SRID=4674;POINT (-40.050571 -2.792068)'))) / (select extract(epoch from '2026-06-13 09:40:50'::timestamp) - extract(epoch from '2026-06-13 09:40:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050554 -2.7921)', '2026-06-13 09:40:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050571 -2.792068)'), GeomFromEWKT('SRID=4674;POINT (-40.050554 -2.7921)'))) / (select extract(epoch from '2026-06-13 09:40:54'::timestamp) - extract(epoch from '2026-06-13 09:40:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050571 -2.792068)'), GeomFromEWKT('SRID=4674;POINT (-40.050554 -2.7921)'))) / (select extract(epoch from '2026-06-13 09:40:54'::timestamp) - extract(epoch from '2026-06-13 09:40: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'), 46944, 'SRID=4674;POINT (-40.050487 -2.792157)', '2026-06-13 09:41:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050554 -2.7921)'), GeomFromEWKT('SRID=4674;POINT (-40.050487 -2.792157)'))) / (select extract(epoch from '2026-06-13 09:41:02'::timestamp) - extract(epoch from '2026-06-13 09:40:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050554 -2.7921)'), GeomFromEWKT('SRID=4674;POINT (-40.050487 -2.792157)'))) / (select extract(epoch from '2026-06-13 09:41:02'::timestamp) - extract(epoch from '2026-06-13 09:40: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'), 46944, 'SRID=4674;POINT (-40.050458 -2.792206)', '2026-06-13 09:41:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050487 -2.792157)'), GeomFromEWKT('SRID=4674;POINT (-40.050458 -2.792206)'))) / (select extract(epoch from '2026-06-13 09:41:09'::timestamp) - extract(epoch from '2026-06-13 09:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050487 -2.792157)'), GeomFromEWKT('SRID=4674;POINT (-40.050458 -2.792206)'))) / (select extract(epoch from '2026-06-13 09:41:09'::timestamp) - extract(epoch from '2026-06-13 09:41: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'), 46944, 'SRID=4674;POINT (-40.050415 -2.792265)', '2026-06-13 09:41:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050458 -2.792206)'), GeomFromEWKT('SRID=4674;POINT (-40.050415 -2.792265)'))) / (select extract(epoch from '2026-06-13 09:41:16'::timestamp) - extract(epoch from '2026-06-13 09:41:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050458 -2.792206)'), GeomFromEWKT('SRID=4674;POINT (-40.050415 -2.792265)'))) / (select extract(epoch from '2026-06-13 09:41:16'::timestamp) - extract(epoch from '2026-06-13 09:41: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'), 46944, 'SRID=4674;POINT (-40.050356 -2.79233)', '2026-06-13 09:41:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050415 -2.792265)'), GeomFromEWKT('SRID=4674;POINT (-40.050356 -2.79233)'))) / (select extract(epoch from '2026-06-13 09:41:23'::timestamp) - extract(epoch from '2026-06-13 09:41:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050415 -2.792265)'), GeomFromEWKT('SRID=4674;POINT (-40.050356 -2.79233)'))) / (select extract(epoch from '2026-06-13 09:41:23'::timestamp) - extract(epoch from '2026-06-13 09:41: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'), 46944, 'SRID=4674;POINT (-40.050342 -2.792348)', '2026-06-13 09:41:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050356 -2.79233)'), GeomFromEWKT('SRID=4674;POINT (-40.050342 -2.792348)'))) / (select extract(epoch from '2026-06-13 09:41:25'::timestamp) - extract(epoch from '2026-06-13 09:41:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050356 -2.79233)'), GeomFromEWKT('SRID=4674;POINT (-40.050342 -2.792348)'))) / (select extract(epoch from '2026-06-13 09:41:25'::timestamp) - extract(epoch from '2026-06-13 09:41:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050333 -2.792365)', '2026-06-13 09:41:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050342 -2.792348)'), GeomFromEWKT('SRID=4674;POINT (-40.050333 -2.792365)'))) / (select extract(epoch from '2026-06-13 09:41:27'::timestamp) - extract(epoch from '2026-06-13 09:41:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050342 -2.792348)'), GeomFromEWKT('SRID=4674;POINT (-40.050333 -2.792365)'))) / (select extract(epoch from '2026-06-13 09:41:27'::timestamp) - extract(epoch from '2026-06-13 09:41:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050329 -2.792375)', '2026-06-13 09:41:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050333 -2.792365)'), GeomFromEWKT('SRID=4674;POINT (-40.050329 -2.792375)'))) / (select extract(epoch from '2026-06-13 09:41:28'::timestamp) - extract(epoch from '2026-06-13 09:41:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050333 -2.792365)'), GeomFromEWKT('SRID=4674;POINT (-40.050329 -2.792375)'))) / (select extract(epoch from '2026-06-13 09:41:28'::timestamp) - extract(epoch from '2026-06-13 09:41: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'), 46944, 'SRID=4674;POINT (-40.050273 -2.792468)', '2026-06-13 09:41:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050329 -2.792375)'), GeomFromEWKT('SRID=4674;POINT (-40.050273 -2.792468)'))) / (select extract(epoch from '2026-06-13 09:41:37'::timestamp) - extract(epoch from '2026-06-13 09:41:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050329 -2.792375)'), GeomFromEWKT('SRID=4674;POINT (-40.050273 -2.792468)'))) / (select extract(epoch from '2026-06-13 09:41:37'::timestamp) - extract(epoch from '2026-06-13 09:41:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050229 -2.792532)', '2026-06-13 09:41:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050273 -2.792468)'), GeomFromEWKT('SRID=4674;POINT (-40.050229 -2.792532)'))) / (select extract(epoch from '2026-06-13 09:41:44'::timestamp) - extract(epoch from '2026-06-13 09:41:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050273 -2.792468)'), GeomFromEWKT('SRID=4674;POINT (-40.050229 -2.792532)'))) / (select extract(epoch from '2026-06-13 09:41:44'::timestamp) - extract(epoch from '2026-06-13 09:41: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'), 46944, 'SRID=4674;POINT (-40.050153 -2.792604)', '2026-06-13 09:41:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050229 -2.792532)'), GeomFromEWKT('SRID=4674;POINT (-40.050153 -2.792604)'))) / (select extract(epoch from '2026-06-13 09:41:53'::timestamp) - extract(epoch from '2026-06-13 09:41:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050229 -2.792532)'), GeomFromEWKT('SRID=4674;POINT (-40.050153 -2.792604)'))) / (select extract(epoch from '2026-06-13 09:41:53'::timestamp) - extract(epoch from '2026-06-13 09:41: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'), 46944, 'SRID=4674;POINT (-40.050134 -2.792641)', '2026-06-13 09:41:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050153 -2.792604)'), GeomFromEWKT('SRID=4674;POINT (-40.050134 -2.792641)'))) / (select extract(epoch from '2026-06-13 09:41:56'::timestamp) - extract(epoch from '2026-06-13 09:41:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050153 -2.792604)'), GeomFromEWKT('SRID=4674;POINT (-40.050134 -2.792641)'))) / (select extract(epoch from '2026-06-13 09:41:56'::timestamp) - extract(epoch from '2026-06-13 09:41: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'), 46944, 'SRID=4674;POINT (-40.050122 -2.792667)', '2026-06-13 09:41:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050134 -2.792641)'), GeomFromEWKT('SRID=4674;POINT (-40.050122 -2.792667)'))) / (select extract(epoch from '2026-06-13 09:41:58'::timestamp) - extract(epoch from '2026-06-13 09:41:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050134 -2.792641)'), GeomFromEWKT('SRID=4674;POINT (-40.050122 -2.792667)'))) / (select extract(epoch from '2026-06-13 09:41:58'::timestamp) - extract(epoch from '2026-06-13 09:41:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.05008 -2.792746)', '2026-06-13 09:42:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050122 -2.792667)'), GeomFromEWKT('SRID=4674;POINT (-40.05008 -2.792746)'))) / (select extract(epoch from '2026-06-13 09:42:05'::timestamp) - extract(epoch from '2026-06-13 09:41:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050122 -2.792667)'), GeomFromEWKT('SRID=4674;POINT (-40.05008 -2.792746)'))) / (select extract(epoch from '2026-06-13 09:42:05'::timestamp) - extract(epoch from '2026-06-13 09:41: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'), 46944, 'SRID=4674;POINT (-40.050034 -2.792813)', '2026-06-13 09:42:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05008 -2.792746)'), GeomFromEWKT('SRID=4674;POINT (-40.050034 -2.792813)'))) / (select extract(epoch from '2026-06-13 09:42:11'::timestamp) - extract(epoch from '2026-06-13 09:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05008 -2.792746)'), GeomFromEWKT('SRID=4674;POINT (-40.050034 -2.792813)'))) / (select extract(epoch from '2026-06-13 09:42:11'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46944, 'SRID=4674;POINT (-40.050027 -2.792824)', '2026-06-13 09:42:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050034 -2.792813)'), GeomFromEWKT('SRID=4674;POINT (-40.050027 -2.792824)'))) / (select extract(epoch from '2026-06-13 09:42:12'::timestamp) - extract(epoch from '2026-06-13 09:42:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050034 -2.792813)'), GeomFromEWKT('SRID=4674;POINT (-40.050027 -2.792824)'))) / (select extract(epoch from '2026-06-13 09:42:12'::timestamp) - extract(epoch from '2026-06-13 09:42: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'), 46944, 'SRID=4674;POINT (-40.050022 -2.792836)', '2026-06-13 09:42:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050027 -2.792824)'), GeomFromEWKT('SRID=4674;POINT (-40.050022 -2.792836)'))) / (select extract(epoch from '2026-06-13 09:42:13'::timestamp) - extract(epoch from '2026-06-13 09:42:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050027 -2.792824)'), GeomFromEWKT('SRID=4674;POINT (-40.050022 -2.792836)'))) / (select extract(epoch from '2026-06-13 09:42:13'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46944, 'SRID=4674;POINT (-40.05002 -2.792861)', '2026-06-13 09:42:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050022 -2.792836)'), GeomFromEWKT('SRID=4674;POINT (-40.05002 -2.792861)'))) / (select extract(epoch from '2026-06-13 09:42:15'::timestamp) - extract(epoch from '2026-06-13 09:42:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050022 -2.792836)'), GeomFromEWKT('SRID=4674;POINT (-40.05002 -2.792861)'))) / (select extract(epoch from '2026-06-13 09:42:15'::timestamp) - extract(epoch from '2026-06-13 09:42: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'), 46944, 'SRID=4674;POINT (-40.050022 -2.792887)', '2026-06-13 09:42:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05002 -2.792861)'), GeomFromEWKT('SRID=4674;POINT (-40.050022 -2.792887)'))) / (select extract(epoch from '2026-06-13 09:42:17'::timestamp) - extract(epoch from '2026-06-13 09:42:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05002 -2.792861)'), GeomFromEWKT('SRID=4674;POINT (-40.050022 -2.792887)'))) / (select extract(epoch from '2026-06-13 09:42:17'::timestamp) - extract(epoch from '2026-06-13 09:42:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.05003 -2.792931)', '2026-06-13 09:42:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050022 -2.792887)'), GeomFromEWKT('SRID=4674;POINT (-40.05003 -2.792931)'))) / (select extract(epoch from '2026-06-13 09:42:20'::timestamp) - extract(epoch from '2026-06-13 09:42:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050022 -2.792887)'), GeomFromEWKT('SRID=4674;POINT (-40.05003 -2.792931)'))) / (select extract(epoch from '2026-06-13 09:42:20'::timestamp) - extract(epoch from '2026-06-13 09:42: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'), 46944, 'SRID=4674;POINT (-40.050036 -2.792972)', '2026-06-13 09:42:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05003 -2.792931)'), GeomFromEWKT('SRID=4674;POINT (-40.050036 -2.792972)'))) / (select extract(epoch from '2026-06-13 09:42:23'::timestamp) - extract(epoch from '2026-06-13 09:42:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05003 -2.792931)'), GeomFromEWKT('SRID=4674;POINT (-40.050036 -2.792972)'))) / (select extract(epoch from '2026-06-13 09:42:23'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46944, 'SRID=4674;POINT (-40.050034 -2.792984)', '2026-06-13 09:42:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050036 -2.792972)'), GeomFromEWKT('SRID=4674;POINT (-40.050034 -2.792984)'))) / (select extract(epoch from '2026-06-13 09:42:24'::timestamp) - extract(epoch from '2026-06-13 09:42:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050036 -2.792972)'), GeomFromEWKT('SRID=4674;POINT (-40.050034 -2.792984)'))) / (select extract(epoch from '2026-06-13 09:42:24'::timestamp) - extract(epoch from '2026-06-13 09:42:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050029 -2.793004)', '2026-06-13 09:42:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050034 -2.792984)'), GeomFromEWKT('SRID=4674;POINT (-40.050029 -2.793004)'))) / (select extract(epoch from '2026-06-13 09:42:26'::timestamp) - extract(epoch from '2026-06-13 09:42:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050034 -2.792984)'), GeomFromEWKT('SRID=4674;POINT (-40.050029 -2.793004)'))) / (select extract(epoch from '2026-06-13 09:42:26'::timestamp) - extract(epoch from '2026-06-13 09:42:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050024 -2.793011)', '2026-06-13 09:42:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050029 -2.793004)'), GeomFromEWKT('SRID=4674;POINT (-40.050024 -2.793011)'))) / (select extract(epoch from '2026-06-13 09:42:27'::timestamp) - extract(epoch from '2026-06-13 09:42:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050029 -2.793004)'), GeomFromEWKT('SRID=4674;POINT (-40.050024 -2.793011)'))) / (select extract(epoch from '2026-06-13 09:42:27'::timestamp) - extract(epoch from '2026-06-13 09:42: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'), 46944, 'SRID=4674;POINT (-40.050014 -2.793066)', '2026-06-13 09:42:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050024 -2.793011)'), GeomFromEWKT('SRID=4674;POINT (-40.050014 -2.793066)'))) / (select extract(epoch from '2026-06-13 09:42:34'::timestamp) - extract(epoch from '2026-06-13 09:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050024 -2.793011)'), GeomFromEWKT('SRID=4674;POINT (-40.050014 -2.793066)'))) / (select extract(epoch from '2026-06-13 09:42:34'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46944, 'SRID=4674;POINT (-40.050009 -2.793103)', '2026-06-13 09:42:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050014 -2.793066)'), GeomFromEWKT('SRID=4674;POINT (-40.050009 -2.793103)'))) / (select extract(epoch from '2026-06-13 09:42:42'::timestamp) - extract(epoch from '2026-06-13 09:42:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050014 -2.793066)'), GeomFromEWKT('SRID=4674;POINT (-40.050009 -2.793103)'))) / (select extract(epoch from '2026-06-13 09:42:42'::timestamp) - extract(epoch from '2026-06-13 09:42:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.05 -2.793131)', '2026-06-13 09:42:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050009 -2.793103)'), GeomFromEWKT('SRID=4674;POINT (-40.05 -2.793131)'))) / (select extract(epoch from '2026-06-13 09:42:52'::timestamp) - extract(epoch from '2026-06-13 09:42:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050009 -2.793103)'), GeomFromEWKT('SRID=4674;POINT (-40.05 -2.793131)'))) / (select extract(epoch from '2026-06-13 09:42:52'::timestamp) - extract(epoch from '2026-06-13 09:42:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050008 -2.793183)', '2026-06-13 09:43:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05 -2.793131)'), GeomFromEWKT('SRID=4674;POINT (-40.050008 -2.793183)'))) / (select extract(epoch from '2026-06-13 09:43:06'::timestamp) - extract(epoch from '2026-06-13 09:42:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05 -2.793131)'), GeomFromEWKT('SRID=4674;POINT (-40.050008 -2.793183)'))) / (select extract(epoch from '2026-06-13 09:43:06'::timestamp) - extract(epoch from '2026-06-13 09:42: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'), 46944, 'SRID=4674;POINT (-40.049994 -2.793183)', '2026-06-13 09:43:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050008 -2.793183)'), GeomFromEWKT('SRID=4674;POINT (-40.049994 -2.793183)'))) / (select extract(epoch from '2026-06-13 09:43:22'::timestamp) - extract(epoch from '2026-06-13 09:43:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050008 -2.793183)'), GeomFromEWKT('SRID=4674;POINT (-40.049994 -2.793183)'))) / (select extract(epoch from '2026-06-13 09:43:22'::timestamp) - extract(epoch from '2026-06-13 09:43:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050013 -2.793136)', '2026-06-13 09:43:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049994 -2.793183)'), GeomFromEWKT('SRID=4674;POINT (-40.050013 -2.793136)'))) / (select extract(epoch from '2026-06-13 09:43:32'::timestamp) - extract(epoch from '2026-06-13 09:43:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049994 -2.793183)'), GeomFromEWKT('SRID=4674;POINT (-40.050013 -2.793136)'))) / (select extract(epoch from '2026-06-13 09:43:32'::timestamp) - extract(epoch from '2026-06-13 09:43:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050023 -2.793087)', '2026-06-13 09:43:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050013 -2.793136)'), GeomFromEWKT('SRID=4674;POINT (-40.050023 -2.793087)'))) / (select extract(epoch from '2026-06-13 09:43:37'::timestamp) - extract(epoch from '2026-06-13 09:43:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050013 -2.793136)'), GeomFromEWKT('SRID=4674;POINT (-40.050023 -2.793087)'))) / (select extract(epoch from '2026-06-13 09:43:37'::timestamp) - extract(epoch from '2026-06-13 09:43: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'), 46944, 'SRID=4674;POINT (-40.050048 -2.793053)', '2026-06-13 09:43:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050023 -2.793087)'), GeomFromEWKT('SRID=4674;POINT (-40.050048 -2.793053)'))) / (select extract(epoch from '2026-06-13 09:43:40'::timestamp) - extract(epoch from '2026-06-13 09:43:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050023 -2.793087)'), GeomFromEWKT('SRID=4674;POINT (-40.050048 -2.793053)'))) / (select extract(epoch from '2026-06-13 09:43:40'::timestamp) - extract(epoch from '2026-06-13 09:43:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050133 -2.793046)', '2026-06-13 09:43:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050048 -2.793053)'), GeomFromEWKT('SRID=4674;POINT (-40.050133 -2.793046)'))) / (select extract(epoch from '2026-06-13 09:43:46'::timestamp) - extract(epoch from '2026-06-13 09:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050048 -2.793053)'), GeomFromEWKT('SRID=4674;POINT (-40.050133 -2.793046)'))) / (select extract(epoch from '2026-06-13 09:43:46'::timestamp) - extract(epoch from '2026-06-13 09:43:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.05018 -2.793076)', '2026-06-13 09:43:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050133 -2.793046)'), GeomFromEWKT('SRID=4674;POINT (-40.05018 -2.793076)'))) / (select extract(epoch from '2026-06-13 09:43:51'::timestamp) - extract(epoch from '2026-06-13 09:43:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050133 -2.793046)'), GeomFromEWKT('SRID=4674;POINT (-40.05018 -2.793076)'))) / (select extract(epoch from '2026-06-13 09:43:51'::timestamp) - extract(epoch from '2026-06-13 09:43: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'), 46944, 'SRID=4674;POINT (-40.050197 -2.793139)', '2026-06-13 09:43:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05018 -2.793076)'), GeomFromEWKT('SRID=4674;POINT (-40.050197 -2.793139)'))) / (select extract(epoch from '2026-06-13 09:43:58'::timestamp) - extract(epoch from '2026-06-13 09:43:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05018 -2.793076)'), GeomFromEWKT('SRID=4674;POINT (-40.050197 -2.793139)'))) / (select extract(epoch from '2026-06-13 09:43:58'::timestamp) - extract(epoch from '2026-06-13 09:43:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050165 -2.793193)', '2026-06-13 09:44:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050197 -2.793139)'), GeomFromEWKT('SRID=4674;POINT (-40.050165 -2.793193)'))) / (select extract(epoch from '2026-06-13 09:44:05'::timestamp) - extract(epoch from '2026-06-13 09:43:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050197 -2.793139)'), GeomFromEWKT('SRID=4674;POINT (-40.050165 -2.793193)'))) / (select extract(epoch from '2026-06-13 09:44:05'::timestamp) - extract(epoch from '2026-06-13 09:43: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'), 46944, 'SRID=4674;POINT (-40.050137 -2.793191)', '2026-06-13 09:44:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050165 -2.793193)'), GeomFromEWKT('SRID=4674;POINT (-40.050137 -2.793191)'))) / (select extract(epoch from '2026-06-13 09:44:14'::timestamp) - extract(epoch from '2026-06-13 09:44:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050165 -2.793193)'), GeomFromEWKT('SRID=4674;POINT (-40.050137 -2.793191)'))) / (select extract(epoch from '2026-06-13 09:44:14'::timestamp) - extract(epoch from '2026-06-13 09:44: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'), 46944, 'SRID=4674;POINT (-40.05012 -2.793126)', '2026-06-13 09:44:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050137 -2.793191)'), GeomFromEWKT('SRID=4674;POINT (-40.05012 -2.793126)'))) / (select extract(epoch from '2026-06-13 09:44:23'::timestamp) - extract(epoch from '2026-06-13 09:44:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050137 -2.793191)'), GeomFromEWKT('SRID=4674;POINT (-40.05012 -2.793126)'))) / (select extract(epoch from '2026-06-13 09:44:23'::timestamp) - extract(epoch from '2026-06-13 09:44:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.05008 -2.793069)', '2026-06-13 09:44:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05012 -2.793126)'), GeomFromEWKT('SRID=4674;POINT (-40.05008 -2.793069)'))) / (select extract(epoch from '2026-06-13 09:44:33'::timestamp) - extract(epoch from '2026-06-13 09:44:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05012 -2.793126)'), GeomFromEWKT('SRID=4674;POINT (-40.05008 -2.793069)'))) / (select extract(epoch from '2026-06-13 09:44:33'::timestamp) - extract(epoch from '2026-06-13 09:44:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050013 -2.793071)', '2026-06-13 09:44:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05008 -2.793069)'), GeomFromEWKT('SRID=4674;POINT (-40.050013 -2.793071)'))) / (select extract(epoch from '2026-06-13 09:44:46'::timestamp) - extract(epoch from '2026-06-13 09:44:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05008 -2.793069)'), GeomFromEWKT('SRID=4674;POINT (-40.050013 -2.793071)'))) / (select extract(epoch from '2026-06-13 09:44:46'::timestamp) - extract(epoch from '2026-06-13 09:44: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'), 46944, 'SRID=4674;POINT (-40.050004 -2.793073)', '2026-06-13 09:44:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050013 -2.793071)'), GeomFromEWKT('SRID=4674;POINT (-40.050004 -2.793073)'))) / (select extract(epoch from '2026-06-13 09:44:59'::timestamp) - extract(epoch from '2026-06-13 09:44:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050013 -2.793071)'), GeomFromEWKT('SRID=4674;POINT (-40.050004 -2.793073)'))) / (select extract(epoch from '2026-06-13 09:44:59'::timestamp) - extract(epoch from '2026-06-13 09:44: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'), 46944, 'SRID=4674;POINT (-40.049954 -2.793158)', '2026-06-13 09:45:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050004 -2.793073)'), GeomFromEWKT('SRID=4674;POINT (-40.049954 -2.793158)'))) / (select extract(epoch from '2026-06-13 09:45:15'::timestamp) - extract(epoch from '2026-06-13 09:44:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050004 -2.793073)'), GeomFromEWKT('SRID=4674;POINT (-40.049954 -2.793158)'))) / (select extract(epoch from '2026-06-13 09:45:15'::timestamp) - extract(epoch from '2026-06-13 09:44: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'), 46944, 'SRID=4674;POINT (-40.049934 -2.793158)', '2026-06-13 09:45:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049954 -2.793158)'), GeomFromEWKT('SRID=4674;POINT (-40.049934 -2.793158)'))) / (select extract(epoch from '2026-06-13 09:45:22'::timestamp) - extract(epoch from '2026-06-13 09:45:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049954 -2.793158)'), GeomFromEWKT('SRID=4674;POINT (-40.049934 -2.793158)'))) / (select extract(epoch from '2026-06-13 09:45:22'::timestamp) - extract(epoch from '2026-06-13 09:45: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'), 46944, 'SRID=4674;POINT (-40.049894 -2.793152)', '2026-06-13 09:45:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049934 -2.793158)'), GeomFromEWKT('SRID=4674;POINT (-40.049894 -2.793152)'))) / (select extract(epoch from '2026-06-13 09:45:33'::timestamp) - extract(epoch from '2026-06-13 09:45:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049934 -2.793158)'), GeomFromEWKT('SRID=4674;POINT (-40.049894 -2.793152)'))) / (select extract(epoch from '2026-06-13 09:45:33'::timestamp) - extract(epoch from '2026-06-13 09:45: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'), 46944, 'SRID=4674;POINT (-40.049883 -2.793151)', '2026-06-13 09:45:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049894 -2.793152)'), GeomFromEWKT('SRID=4674;POINT (-40.049883 -2.793151)'))) / (select extract(epoch from '2026-06-13 09:45:45'::timestamp) - extract(epoch from '2026-06-13 09:45:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049894 -2.793152)'), GeomFromEWKT('SRID=4674;POINT (-40.049883 -2.793151)'))) / (select extract(epoch from '2026-06-13 09:45:45'::timestamp) - extract(epoch from '2026-06-13 09:45: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'), 46944, 'SRID=4674;POINT (-40.04995 -2.793133)', '2026-06-13 09:45:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049883 -2.793151)'), GeomFromEWKT('SRID=4674;POINT (-40.04995 -2.793133)'))) / (select extract(epoch from '2026-06-13 09:45:56'::timestamp) - extract(epoch from '2026-06-13 09:45:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049883 -2.793151)'), GeomFromEWKT('SRID=4674;POINT (-40.04995 -2.793133)'))) / (select extract(epoch from '2026-06-13 09:45:56'::timestamp) - extract(epoch from '2026-06-13 09:45: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'), 46944, 'SRID=4674;POINT (-40.049988 -2.793117)', '2026-06-13 09:46:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04995 -2.793133)'), GeomFromEWKT('SRID=4674;POINT (-40.049988 -2.793117)'))) / (select extract(epoch from '2026-06-13 09:46:06'::timestamp) - extract(epoch from '2026-06-13 09:45:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04995 -2.793133)'), GeomFromEWKT('SRID=4674;POINT (-40.049988 -2.793117)'))) / (select extract(epoch from '2026-06-13 09:46:06'::timestamp) - extract(epoch from '2026-06-13 09:45:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.049999 -2.79311)', '2026-06-13 09:46:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049988 -2.793117)'), GeomFromEWKT('SRID=4674;POINT (-40.049999 -2.79311)'))) / (select extract(epoch from '2026-06-13 09:46:21'::timestamp) - extract(epoch from '2026-06-13 09:46:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049988 -2.793117)'), GeomFromEWKT('SRID=4674;POINT (-40.049999 -2.79311)'))) / (select extract(epoch from '2026-06-13 09:46:21'::timestamp) - extract(epoch from '2026-06-13 09:46: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'), 46944, 'SRID=4674;POINT (-40.050071 -2.79311)', '2026-06-13 09:47:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049999 -2.79311)'), GeomFromEWKT('SRID=4674;POINT (-40.050071 -2.79311)'))) / (select extract(epoch from '2026-06-13 09:47:22'::timestamp) - extract(epoch from '2026-06-13 09:46:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049999 -2.79311)'), GeomFromEWKT('SRID=4674;POINT (-40.050071 -2.79311)'))) / (select extract(epoch from '2026-06-13 09:47:22'::timestamp) - extract(epoch from '2026-06-13 09:46:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.049988 -2.793128)', '2026-06-13 09:49:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050071 -2.79311)'), GeomFromEWKT('SRID=4674;POINT (-40.049988 -2.793128)'))) / (select extract(epoch from '2026-06-13 09:49:25'::timestamp) - extract(epoch from '2026-06-13 09:47:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050071 -2.79311)'), GeomFromEWKT('SRID=4674;POINT (-40.049988 -2.793128)'))) / (select extract(epoch from '2026-06-13 09:49:25'::timestamp) - extract(epoch from '2026-06-13 09:47: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'), 46944, 'SRID=4674;POINT (-40.049907 -2.79315)', '2026-06-13 09:49:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049988 -2.793128)'), GeomFromEWKT('SRID=4674;POINT (-40.049907 -2.79315)'))) / (select extract(epoch from '2026-06-13 09:49:32'::timestamp) - extract(epoch from '2026-06-13 09:49:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049988 -2.793128)'), GeomFromEWKT('SRID=4674;POINT (-40.049907 -2.79315)'))) / (select extract(epoch from '2026-06-13 09:49:32'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46944, 'SRID=4674;POINT (-40.049862 -2.793159)', '2026-06-13 09:49:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049907 -2.79315)'), GeomFromEWKT('SRID=4674;POINT (-40.049862 -2.793159)'))) / (select extract(epoch from '2026-06-13 09:49:41'::timestamp) - extract(epoch from '2026-06-13 09:49:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049907 -2.79315)'), GeomFromEWKT('SRID=4674;POINT (-40.049862 -2.793159)'))) / (select extract(epoch from '2026-06-13 09:49:41'::timestamp) - extract(epoch from '2026-06-13 09:49:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.04982 -2.793183)', '2026-06-13 09:49:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049862 -2.793159)'), GeomFromEWKT('SRID=4674;POINT (-40.04982 -2.793183)'))) / (select extract(epoch from '2026-06-13 09:49:48'::timestamp) - extract(epoch from '2026-06-13 09:49:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049862 -2.793159)'), GeomFromEWKT('SRID=4674;POINT (-40.04982 -2.793183)'))) / (select extract(epoch from '2026-06-13 09:49:48'::timestamp) - extract(epoch from '2026-06-13 09:49: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'), 46944, 'SRID=4674;POINT (-40.049791 -2.79326)', '2026-06-13 09:49:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04982 -2.793183)'), GeomFromEWKT('SRID=4674;POINT (-40.049791 -2.79326)'))) / (select extract(epoch from '2026-06-13 09:49:55'::timestamp) - extract(epoch from '2026-06-13 09:49:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04982 -2.793183)'), GeomFromEWKT('SRID=4674;POINT (-40.049791 -2.79326)'))) / (select extract(epoch from '2026-06-13 09:49:55'::timestamp) - extract(epoch from '2026-06-13 09:49:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.049793 -2.793361)', '2026-06-13 09:50:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049791 -2.79326)'), GeomFromEWKT('SRID=4674;POINT (-40.049793 -2.793361)'))) / (select extract(epoch from '2026-06-13 09:50:01'::timestamp) - extract(epoch from '2026-06-13 09:49:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049791 -2.79326)'), GeomFromEWKT('SRID=4674;POINT (-40.049793 -2.793361)'))) / (select extract(epoch from '2026-06-13 09:50:01'::timestamp) - extract(epoch from '2026-06-13 09:49:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.049789 -2.793442)', '2026-06-13 09:50:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049793 -2.793361)'), GeomFromEWKT('SRID=4674;POINT (-40.049789 -2.793442)'))) / (select extract(epoch from '2026-06-13 09:50:06'::timestamp) - extract(epoch from '2026-06-13 09:50:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049793 -2.793361)'), GeomFromEWKT('SRID=4674;POINT (-40.049789 -2.793442)'))) / (select extract(epoch from '2026-06-13 09:50:06'::timestamp) - extract(epoch from '2026-06-13 09:50: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'), 46944, 'SRID=4674;POINT (-40.049783 -2.79349)', '2026-06-13 09:50:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049789 -2.793442)'), GeomFromEWKT('SRID=4674;POINT (-40.049783 -2.79349)'))) / (select extract(epoch from '2026-06-13 09:50:09'::timestamp) - extract(epoch from '2026-06-13 09:50:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049789 -2.793442)'), GeomFromEWKT('SRID=4674;POINT (-40.049783 -2.79349)'))) / (select extract(epoch from '2026-06-13 09:50:09'::timestamp) - extract(epoch from '2026-06-13 09:50:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.04978 -2.793525)', '2026-06-13 09:50:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049783 -2.79349)'), GeomFromEWKT('SRID=4674;POINT (-40.04978 -2.793525)'))) / (select extract(epoch from '2026-06-13 09:50:11'::timestamp) - extract(epoch from '2026-06-13 09:50:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049783 -2.79349)'), GeomFromEWKT('SRID=4674;POINT (-40.04978 -2.793525)'))) / (select extract(epoch from '2026-06-13 09:50:11'::timestamp) - extract(epoch from '2026-06-13 09:50:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.049772 -2.793647)', '2026-06-13 09:50:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04978 -2.793525)'), GeomFromEWKT('SRID=4674;POINT (-40.049772 -2.793647)'))) / (select extract(epoch from '2026-06-13 09:50:18'::timestamp) - extract(epoch from '2026-06-13 09:50:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04978 -2.793525)'), GeomFromEWKT('SRID=4674;POINT (-40.049772 -2.793647)'))) / (select extract(epoch from '2026-06-13 09:50:18'::timestamp) - extract(epoch from '2026-06-13 09:50:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.049796 -2.793772)', '2026-06-13 09:50:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049772 -2.793647)'), GeomFromEWKT('SRID=4674;POINT (-40.049796 -2.793772)'))) / (select extract(epoch from '2026-06-13 09:50:25'::timestamp) - extract(epoch from '2026-06-13 09:50:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049772 -2.793647)'), GeomFromEWKT('SRID=4674;POINT (-40.049796 -2.793772)'))) / (select extract(epoch from '2026-06-13 09:50:25'::timestamp) - extract(epoch from '2026-06-13 09:50:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.049828 -2.793879)', '2026-06-13 09:50:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049796 -2.793772)'), GeomFromEWKT('SRID=4674;POINT (-40.049828 -2.793879)'))) / (select extract(epoch from '2026-06-13 09:50:31'::timestamp) - extract(epoch from '2026-06-13 09:50:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049796 -2.793772)'), GeomFromEWKT('SRID=4674;POINT (-40.049828 -2.793879)'))) / (select extract(epoch from '2026-06-13 09:50:31'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46944, 'SRID=4674;POINT (-40.049834 -2.79391)', '2026-06-13 09:50:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049828 -2.793879)'), GeomFromEWKT('SRID=4674;POINT (-40.049834 -2.79391)'))) / (select extract(epoch from '2026-06-13 09:50:33'::timestamp) - extract(epoch from '2026-06-13 09:50:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049828 -2.793879)'), GeomFromEWKT('SRID=4674;POINT (-40.049834 -2.79391)'))) / (select extract(epoch from '2026-06-13 09:50:33'::timestamp) - extract(epoch from '2026-06-13 09:50: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'), 46944, 'SRID=4674;POINT (-40.049852 -2.793962)', '2026-06-13 09:50:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049834 -2.79391)'), GeomFromEWKT('SRID=4674;POINT (-40.049852 -2.793962)'))) / (select extract(epoch from '2026-06-13 09:50:36'::timestamp) - extract(epoch from '2026-06-13 09:50:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049834 -2.79391)'), GeomFromEWKT('SRID=4674;POINT (-40.049852 -2.793962)'))) / (select extract(epoch from '2026-06-13 09:50:36'::timestamp) - extract(epoch from '2026-06-13 09:50: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'), 46944, 'SRID=4674;POINT (-40.049882 -2.794062)', '2026-06-13 09:50:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049852 -2.793962)'), GeomFromEWKT('SRID=4674;POINT (-40.049882 -2.794062)'))) / (select extract(epoch from '2026-06-13 09:50:42'::timestamp) - extract(epoch from '2026-06-13 09:50:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049852 -2.793962)'), GeomFromEWKT('SRID=4674;POINT (-40.049882 -2.794062)'))) / (select extract(epoch from '2026-06-13 09:50:42'::timestamp) - extract(epoch from '2026-06-13 09:50:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.049917 -2.794153)', '2026-06-13 09:50:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049882 -2.794062)'), GeomFromEWKT('SRID=4674;POINT (-40.049917 -2.794153)'))) / (select extract(epoch from '2026-06-13 09:50:47'::timestamp) - extract(epoch from '2026-06-13 09:50:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049882 -2.794062)'), GeomFromEWKT('SRID=4674;POINT (-40.049917 -2.794153)'))) / (select extract(epoch from '2026-06-13 09:50:47'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46944, 'SRID=4674;POINT (-40.049961 -2.794265)', '2026-06-13 09:50:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049917 -2.794153)'), GeomFromEWKT('SRID=4674;POINT (-40.049961 -2.794265)'))) / (select extract(epoch from '2026-06-13 09:50:53'::timestamp) - extract(epoch from '2026-06-13 09:50:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049917 -2.794153)'), GeomFromEWKT('SRID=4674;POINT (-40.049961 -2.794265)'))) / (select extract(epoch from '2026-06-13 09:50:53'::timestamp) - extract(epoch from '2026-06-13 09:50: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'), 46944, 'SRID=4674;POINT (-40.050039 -2.79437)', '2026-06-13 09:51:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049961 -2.794265)'), GeomFromEWKT('SRID=4674;POINT (-40.050039 -2.79437)'))) / (select extract(epoch from '2026-06-13 09:51:00'::timestamp) - extract(epoch from '2026-06-13 09:50:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049961 -2.794265)'), GeomFromEWKT('SRID=4674;POINT (-40.050039 -2.79437)'))) / (select extract(epoch from '2026-06-13 09:51:00'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46944, 'SRID=4674;POINT (-40.050133 -2.794441)', '2026-06-13 09:51:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050039 -2.79437)'), GeomFromEWKT('SRID=4674;POINT (-40.050133 -2.794441)'))) / (select extract(epoch from '2026-06-13 09:51:07'::timestamp) - extract(epoch from '2026-06-13 09:51:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050039 -2.79437)'), GeomFromEWKT('SRID=4674;POINT (-40.050133 -2.794441)'))) / (select extract(epoch from '2026-06-13 09:51:07'::timestamp) - extract(epoch from '2026-06-13 09:51:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050174 -2.794482)', '2026-06-13 09:51:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050133 -2.794441)'), GeomFromEWKT('SRID=4674;POINT (-40.050174 -2.794482)'))) / (select extract(epoch from '2026-06-13 09:51:11'::timestamp) - extract(epoch from '2026-06-13 09:51:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050133 -2.794441)'), GeomFromEWKT('SRID=4674;POINT (-40.050174 -2.794482)'))) / (select extract(epoch from '2026-06-13 09:51:11'::timestamp) - extract(epoch from '2026-06-13 09:51:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050183 -2.794492)', '2026-06-13 09:51:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050174 -2.794482)'), GeomFromEWKT('SRID=4674;POINT (-40.050183 -2.794492)'))) / (select extract(epoch from '2026-06-13 09:51:12'::timestamp) - extract(epoch from '2026-06-13 09:51:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050174 -2.794482)'), GeomFromEWKT('SRID=4674;POINT (-40.050183 -2.794492)'))) / (select extract(epoch from '2026-06-13 09:51:12'::timestamp) - extract(epoch from '2026-06-13 09:51: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'), 46944, 'SRID=4674;POINT (-40.05019 -2.794501)', '2026-06-13 09:51:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050183 -2.794492)'), GeomFromEWKT('SRID=4674;POINT (-40.05019 -2.794501)'))) / (select extract(epoch from '2026-06-13 09:51:13'::timestamp) - extract(epoch from '2026-06-13 09:51:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050183 -2.794492)'), GeomFromEWKT('SRID=4674;POINT (-40.05019 -2.794501)'))) / (select extract(epoch from '2026-06-13 09:51:13'::timestamp) - extract(epoch from '2026-06-13 09:51: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'), 46944, 'SRID=4674;POINT (-40.050208 -2.794524)', '2026-06-13 09:51:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05019 -2.794501)'), GeomFromEWKT('SRID=4674;POINT (-40.050208 -2.794524)'))) / (select extract(epoch from '2026-06-13 09:51:16'::timestamp) - extract(epoch from '2026-06-13 09:51:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05019 -2.794501)'), GeomFromEWKT('SRID=4674;POINT (-40.050208 -2.794524)'))) / (select extract(epoch from '2026-06-13 09:51:16'::timestamp) - extract(epoch from '2026-06-13 09:51:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050215 -2.794537)', '2026-06-13 09:51:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050208 -2.794524)'), GeomFromEWKT('SRID=4674;POINT (-40.050215 -2.794537)'))) / (select extract(epoch from '2026-06-13 09:51:18'::timestamp) - extract(epoch from '2026-06-13 09:51:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050208 -2.794524)'), GeomFromEWKT('SRID=4674;POINT (-40.050215 -2.794537)'))) / (select extract(epoch from '2026-06-13 09:51:18'::timestamp) - extract(epoch from '2026-06-13 09:51: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'), 46944, 'SRID=4674;POINT (-40.050204 -2.79458)', '2026-06-13 09:51:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050215 -2.794537)'), GeomFromEWKT('SRID=4674;POINT (-40.050204 -2.79458)'))) / (select extract(epoch from '2026-06-13 09:51:25'::timestamp) - extract(epoch from '2026-06-13 09:51:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050215 -2.794537)'), GeomFromEWKT('SRID=4674;POINT (-40.050204 -2.79458)'))) / (select extract(epoch from '2026-06-13 09:51:25'::timestamp) - extract(epoch from '2026-06-13 09:51: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'), 46944, 'SRID=4674;POINT (-40.050187 -2.794604)', '2026-06-13 09:51:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050204 -2.79458)'), GeomFromEWKT('SRID=4674;POINT (-40.050187 -2.794604)'))) / (select extract(epoch from '2026-06-13 09:51:35'::timestamp) - extract(epoch from '2026-06-13 09:51:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050204 -2.79458)'), GeomFromEWKT('SRID=4674;POINT (-40.050187 -2.794604)'))) / (select extract(epoch from '2026-06-13 09:51:35'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46944, 'SRID=4674;POINT (-40.050173 -2.794589)', '2026-06-13 09:51:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050187 -2.794604)'), GeomFromEWKT('SRID=4674;POINT (-40.050173 -2.794589)'))) / (select extract(epoch from '2026-06-13 09:51:42'::timestamp) - extract(epoch from '2026-06-13 09:51:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050187 -2.794604)'), GeomFromEWKT('SRID=4674;POINT (-40.050173 -2.794589)'))) / (select extract(epoch from '2026-06-13 09:51:42'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46944, 'SRID=4674;POINT (-40.050201 -2.794549)', '2026-06-13 09:51:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050173 -2.794589)'), GeomFromEWKT('SRID=4674;POINT (-40.050201 -2.794549)'))) / (select extract(epoch from '2026-06-13 09:51:47'::timestamp) - extract(epoch from '2026-06-13 09:51:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050173 -2.794589)'), GeomFromEWKT('SRID=4674;POINT (-40.050201 -2.794549)'))) / (select extract(epoch from '2026-06-13 09:51:47'::timestamp) - extract(epoch from '2026-06-13 09:51: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'), 46944, 'SRID=4674;POINT (-40.050207 -2.794542)', '2026-06-13 09:51:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050201 -2.794549)'), GeomFromEWKT('SRID=4674;POINT (-40.050207 -2.794542)'))) / (select extract(epoch from '2026-06-13 09:51:48'::timestamp) - extract(epoch from '2026-06-13 09:51:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050201 -2.794549)'), GeomFromEWKT('SRID=4674;POINT (-40.050207 -2.794542)'))) / (select extract(epoch from '2026-06-13 09:51:48'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46944, 'SRID=4674;POINT (-40.050232 -2.7945)', '2026-06-13 09:51:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050207 -2.794542)'), GeomFromEWKT('SRID=4674;POINT (-40.050232 -2.7945)'))) / (select extract(epoch from '2026-06-13 09:51:54'::timestamp) - extract(epoch from '2026-06-13 09:51:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050207 -2.794542)'), GeomFromEWKT('SRID=4674;POINT (-40.050232 -2.7945)'))) / (select extract(epoch from '2026-06-13 09:51:54'::timestamp) - extract(epoch from '2026-06-13 09:51:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050218 -2.794446)', '2026-06-13 09:52:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050232 -2.7945)'), GeomFromEWKT('SRID=4674;POINT (-40.050218 -2.794446)'))) / (select extract(epoch from '2026-06-13 09:52:02'::timestamp) - extract(epoch from '2026-06-13 09:51:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050232 -2.7945)'), GeomFromEWKT('SRID=4674;POINT (-40.050218 -2.794446)'))) / (select extract(epoch from '2026-06-13 09:52:02'::timestamp) - extract(epoch from '2026-06-13 09:51: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'), 46944, 'SRID=4674;POINT (-40.050212 -2.794437)', '2026-06-13 09:52:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050218 -2.794446)'), GeomFromEWKT('SRID=4674;POINT (-40.050212 -2.794437)'))) / (select extract(epoch from '2026-06-13 09:52:11'::timestamp) - extract(epoch from '2026-06-13 09:52:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050218 -2.794446)'), GeomFromEWKT('SRID=4674;POINT (-40.050212 -2.794437)'))) / (select extract(epoch from '2026-06-13 09:52:11'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46944, 'SRID=4674;POINT (-40.0502 -2.794421)', '2026-06-13 09:52:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050212 -2.794437)'), GeomFromEWKT('SRID=4674;POINT (-40.0502 -2.794421)'))) / (select extract(epoch from '2026-06-13 09:52:18'::timestamp) - extract(epoch from '2026-06-13 09:52:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050212 -2.794437)'), GeomFromEWKT('SRID=4674;POINT (-40.0502 -2.794421)'))) / (select extract(epoch from '2026-06-13 09:52:18'::timestamp) - extract(epoch from '2026-06-13 09:52: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'), 46944, 'SRID=4674;POINT (-40.050219 -2.794472)', '2026-06-13 09:52:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0502 -2.794421)'), GeomFromEWKT('SRID=4674;POINT (-40.050219 -2.794472)'))) / (select extract(epoch from '2026-06-13 09:52:27'::timestamp) - extract(epoch from '2026-06-13 09:52:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0502 -2.794421)'), GeomFromEWKT('SRID=4674;POINT (-40.050219 -2.794472)'))) / (select extract(epoch from '2026-06-13 09:52:27'::timestamp) - extract(epoch from '2026-06-13 09:52: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'), 46944, 'SRID=4674;POINT (-40.050216 -2.794543)', '2026-06-13 09:52:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050219 -2.794472)'), GeomFromEWKT('SRID=4674;POINT (-40.050216 -2.794543)'))) / (select extract(epoch from '2026-06-13 09:52:35'::timestamp) - extract(epoch from '2026-06-13 09:52:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050219 -2.794472)'), GeomFromEWKT('SRID=4674;POINT (-40.050216 -2.794543)'))) / (select extract(epoch from '2026-06-13 09:52:35'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46944, 'SRID=4674;POINT (-40.050219 -2.794566)', '2026-06-13 09:52:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050216 -2.794543)'), GeomFromEWKT('SRID=4674;POINT (-40.050219 -2.794566)'))) / (select extract(epoch from '2026-06-13 09:52:45'::timestamp) - extract(epoch from '2026-06-13 09:52:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050216 -2.794543)'), GeomFromEWKT('SRID=4674;POINT (-40.050219 -2.794566)'))) / (select extract(epoch from '2026-06-13 09:52:45'::timestamp) - extract(epoch from '2026-06-13 09:52: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'), 46944, 'SRID=4674;POINT (-40.050184 -2.794614)', '2026-06-13 09:52:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050219 -2.794566)'), GeomFromEWKT('SRID=4674;POINT (-40.050184 -2.794614)'))) / (select extract(epoch from '2026-06-13 09:52:59'::timestamp) - extract(epoch from '2026-06-13 09:52:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050219 -2.794566)'), GeomFromEWKT('SRID=4674;POINT (-40.050184 -2.794614)'))) / (select extract(epoch from '2026-06-13 09:52:59'::timestamp) - extract(epoch from '2026-06-13 09:52:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050162 -2.79451)', '2026-06-13 09:53:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050184 -2.794614)'), GeomFromEWKT('SRID=4674;POINT (-40.050162 -2.79451)'))) / (select extract(epoch from '2026-06-13 09:53:31'::timestamp) - extract(epoch from '2026-06-13 09:52:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050184 -2.794614)'), GeomFromEWKT('SRID=4674;POINT (-40.050162 -2.79451)'))) / (select extract(epoch from '2026-06-13 09:53:31'::timestamp) - extract(epoch from '2026-06-13 09:52:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050171 -2.794499)', '2026-06-13 09:53:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050162 -2.79451)'), GeomFromEWKT('SRID=4674;POINT (-40.050171 -2.794499)'))) / (select extract(epoch from '2026-06-13 09:53:32'::timestamp) - extract(epoch from '2026-06-13 09:53:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050162 -2.79451)'), GeomFromEWKT('SRID=4674;POINT (-40.050171 -2.794499)'))) / (select extract(epoch from '2026-06-13 09:53:32'::timestamp) - extract(epoch from '2026-06-13 09:53: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'), 46944, 'SRID=4674;POINT (-40.050261 -2.794428)', '2026-06-13 09:53:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050171 -2.794499)'), GeomFromEWKT('SRID=4674;POINT (-40.050261 -2.794428)'))) / (select extract(epoch from '2026-06-13 09:53:40'::timestamp) - extract(epoch from '2026-06-13 09:53:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050171 -2.794499)'), GeomFromEWKT('SRID=4674;POINT (-40.050261 -2.794428)'))) / (select extract(epoch from '2026-06-13 09:53:40'::timestamp) - extract(epoch from '2026-06-13 09:53: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'), 46944, 'SRID=4674;POINT (-40.050344 -2.794402)', '2026-06-13 09:53:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050261 -2.794428)'), GeomFromEWKT('SRID=4674;POINT (-40.050344 -2.794402)'))) / (select extract(epoch from '2026-06-13 09:53:46'::timestamp) - extract(epoch from '2026-06-13 09:53:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050261 -2.794428)'), GeomFromEWKT('SRID=4674;POINT (-40.050344 -2.794402)'))) / (select extract(epoch from '2026-06-13 09:53:46'::timestamp) - extract(epoch from '2026-06-13 09:53: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'), 46944, 'SRID=4674;POINT (-40.0504 -2.79445)', '2026-06-13 09:53:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050344 -2.794402)'), GeomFromEWKT('SRID=4674;POINT (-40.0504 -2.79445)'))) / (select extract(epoch from '2026-06-13 09:53:51'::timestamp) - extract(epoch from '2026-06-13 09:53:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050344 -2.794402)'), GeomFromEWKT('SRID=4674;POINT (-40.0504 -2.79445)'))) / (select extract(epoch from '2026-06-13 09:53:51'::timestamp) - extract(epoch from '2026-06-13 09:53: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'), 46944, 'SRID=4674;POINT (-40.050403 -2.794463)', '2026-06-13 09:53:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0504 -2.79445)'), GeomFromEWKT('SRID=4674;POINT (-40.050403 -2.794463)'))) / (select extract(epoch from '2026-06-13 09:53:52'::timestamp) - extract(epoch from '2026-06-13 09:53:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0504 -2.79445)'), GeomFromEWKT('SRID=4674;POINT (-40.050403 -2.794463)'))) / (select extract(epoch from '2026-06-13 09:53:52'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46944, 'SRID=4674;POINT (-40.050413 -2.794529)', '2026-06-13 09:53:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050403 -2.794463)'), GeomFromEWKT('SRID=4674;POINT (-40.050413 -2.794529)'))) / (select extract(epoch from '2026-06-13 09:53:58'::timestamp) - extract(epoch from '2026-06-13 09:53:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050403 -2.794463)'), GeomFromEWKT('SRID=4674;POINT (-40.050413 -2.794529)'))) / (select extract(epoch from '2026-06-13 09:53:58'::timestamp) - extract(epoch from '2026-06-13 09:53: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'), 46944, 'SRID=4674;POINT (-40.050413 -2.794589)', '2026-06-13 09:54:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050413 -2.794529)'), GeomFromEWKT('SRID=4674;POINT (-40.050413 -2.794589)'))) / (select extract(epoch from '2026-06-13 09:54:06'::timestamp) - extract(epoch from '2026-06-13 09:53:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050413 -2.794529)'), GeomFromEWKT('SRID=4674;POINT (-40.050413 -2.794589)'))) / (select extract(epoch from '2026-06-13 09:54:06'::timestamp) - extract(epoch from '2026-06-13 09:53: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'), 46944, 'SRID=4674;POINT (-40.050411 -2.794615)', '2026-06-13 09:54:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050413 -2.794589)'), GeomFromEWKT('SRID=4674;POINT (-40.050411 -2.794615)'))) / (select extract(epoch from '2026-06-13 09:54:16'::timestamp) - extract(epoch from '2026-06-13 09:54:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050413 -2.794589)'), GeomFromEWKT('SRID=4674;POINT (-40.050411 -2.794615)'))) / (select extract(epoch from '2026-06-13 09:54:16'::timestamp) - extract(epoch from '2026-06-13 09:54: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'), 46944, 'SRID=4674;POINT (-40.050375 -2.794672)', '2026-06-13 09:54:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050411 -2.794615)'), GeomFromEWKT('SRID=4674;POINT (-40.050375 -2.794672)'))) / (select extract(epoch from '2026-06-13 09:54:25'::timestamp) - extract(epoch from '2026-06-13 09:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050411 -2.794615)'), GeomFromEWKT('SRID=4674;POINT (-40.050375 -2.794672)'))) / (select extract(epoch from '2026-06-13 09:54:25'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46944, 'SRID=4674;POINT (-40.050324 -2.794669)', '2026-06-13 09:54:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050375 -2.794672)'), GeomFromEWKT('SRID=4674;POINT (-40.050324 -2.794669)'))) / (select extract(epoch from '2026-06-13 09:54:35'::timestamp) - extract(epoch from '2026-06-13 09:54:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050375 -2.794672)'), GeomFromEWKT('SRID=4674;POINT (-40.050324 -2.794669)'))) / (select extract(epoch from '2026-06-13 09:54:35'::timestamp) - extract(epoch from '2026-06-13 09:54: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'), 46944, 'SRID=4674;POINT (-40.050245 -2.794636)', '2026-06-13 09:54:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050324 -2.794669)'), GeomFromEWKT('SRID=4674;POINT (-40.050245 -2.794636)'))) / (select extract(epoch from '2026-06-13 09:54:46'::timestamp) - extract(epoch from '2026-06-13 09:54:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050324 -2.794669)'), GeomFromEWKT('SRID=4674;POINT (-40.050245 -2.794636)'))) / (select extract(epoch from '2026-06-13 09:54:46'::timestamp) - extract(epoch from '2026-06-13 09:54: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'), 46944, 'SRID=4674;POINT (-40.050186 -2.794627)', '2026-06-13 09:54:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050245 -2.794636)'), GeomFromEWKT('SRID=4674;POINT (-40.050186 -2.794627)'))) / (select extract(epoch from '2026-06-13 09:54:56'::timestamp) - extract(epoch from '2026-06-13 09:54:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050245 -2.794636)'), GeomFromEWKT('SRID=4674;POINT (-40.050186 -2.794627)'))) / (select extract(epoch from '2026-06-13 09:54:56'::timestamp) - extract(epoch from '2026-06-13 09:54: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'), 46944, 'SRID=4674;POINT (-40.050169 -2.794581)', '2026-06-13 09:55:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050186 -2.794627)'), GeomFromEWKT('SRID=4674;POINT (-40.050169 -2.794581)'))) / (select extract(epoch from '2026-06-13 09:55:07'::timestamp) - extract(epoch from '2026-06-13 09:54:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050186 -2.794627)'), GeomFromEWKT('SRID=4674;POINT (-40.050169 -2.794581)'))) / (select extract(epoch from '2026-06-13 09:55:07'::timestamp) - extract(epoch from '2026-06-13 09:54: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'), 46944, 'SRID=4674;POINT (-40.050156 -2.794513)', '2026-06-13 09:55:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050169 -2.794581)'), GeomFromEWKT('SRID=4674;POINT (-40.050156 -2.794513)'))) / (select extract(epoch from '2026-06-13 09:55:15'::timestamp) - extract(epoch from '2026-06-13 09:55:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050169 -2.794581)'), GeomFromEWKT('SRID=4674;POINT (-40.050156 -2.794513)'))) / (select extract(epoch from '2026-06-13 09:55:15'::timestamp) - extract(epoch from '2026-06-13 09:55: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'), 46944, 'SRID=4674;POINT (-40.05016 -2.794476)', '2026-06-13 09:55:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050156 -2.794513)'), GeomFromEWKT('SRID=4674;POINT (-40.05016 -2.794476)'))) / (select extract(epoch from '2026-06-13 09:55:24'::timestamp) - extract(epoch from '2026-06-13 09:55:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050156 -2.794513)'), GeomFromEWKT('SRID=4674;POINT (-40.05016 -2.794476)'))) / (select extract(epoch from '2026-06-13 09:55:24'::timestamp) - extract(epoch from '2026-06-13 09:55: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'), 46944, 'SRID=4674;POINT (-40.050195 -2.794438)', '2026-06-13 09:55:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05016 -2.794476)'), GeomFromEWKT('SRID=4674;POINT (-40.050195 -2.794438)'))) / (select extract(epoch from '2026-06-13 09:55:32'::timestamp) - extract(epoch from '2026-06-13 09:55:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05016 -2.794476)'), GeomFromEWKT('SRID=4674;POINT (-40.050195 -2.794438)'))) / (select extract(epoch from '2026-06-13 09:55:32'::timestamp) - extract(epoch from '2026-06-13 09:55: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'), 46944, 'SRID=4674;POINT (-40.050232 -2.794373)', '2026-06-13 09:55:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050195 -2.794438)'), GeomFromEWKT('SRID=4674;POINT (-40.050232 -2.794373)'))) / (select extract(epoch from '2026-06-13 09:55:45'::timestamp) - extract(epoch from '2026-06-13 09:55:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050195 -2.794438)'), GeomFromEWKT('SRID=4674;POINT (-40.050232 -2.794373)'))) / (select extract(epoch from '2026-06-13 09:55:45'::timestamp) - extract(epoch from '2026-06-13 09:55:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050194 -2.794342)', '2026-06-13 09:55:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050232 -2.794373)'), GeomFromEWKT('SRID=4674;POINT (-40.050194 -2.794342)'))) / (select extract(epoch from '2026-06-13 09:55:52'::timestamp) - extract(epoch from '2026-06-13 09:55:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050232 -2.794373)'), GeomFromEWKT('SRID=4674;POINT (-40.050194 -2.794342)'))) / (select extract(epoch from '2026-06-13 09:55:52'::timestamp) - extract(epoch from '2026-06-13 09:55: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'), 46944, 'SRID=4674;POINT (-40.050138 -2.79437)', '2026-06-13 09:56:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050194 -2.794342)'), GeomFromEWKT('SRID=4674;POINT (-40.050138 -2.79437)'))) / (select extract(epoch from '2026-06-13 09:56:01'::timestamp) - extract(epoch from '2026-06-13 09:55:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050194 -2.794342)'), GeomFromEWKT('SRID=4674;POINT (-40.050138 -2.79437)'))) / (select extract(epoch from '2026-06-13 09:56:01'::timestamp) - extract(epoch from '2026-06-13 09:55: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'), 46944, 'SRID=4674;POINT (-40.050115 -2.79443)', '2026-06-13 09:56:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050138 -2.79437)'), GeomFromEWKT('SRID=4674;POINT (-40.050115 -2.79443)'))) / (select extract(epoch from '2026-06-13 09:56:08'::timestamp) - extract(epoch from '2026-06-13 09:56:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050138 -2.79437)'), GeomFromEWKT('SRID=4674;POINT (-40.050115 -2.79443)'))) / (select extract(epoch from '2026-06-13 09:56:08'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46944, 'SRID=4674;POINT (-40.050093 -2.794489)', '2026-06-13 09:56:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050115 -2.79443)'), GeomFromEWKT('SRID=4674;POINT (-40.050093 -2.794489)'))) / (select extract(epoch from '2026-06-13 09:56:16'::timestamp) - extract(epoch from '2026-06-13 09:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050115 -2.79443)'), GeomFromEWKT('SRID=4674;POINT (-40.050093 -2.794489)'))) / (select extract(epoch from '2026-06-13 09:56:16'::timestamp) - extract(epoch from '2026-06-13 09:56:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050086 -2.794495)', '2026-06-13 09:56:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050093 -2.794489)'), GeomFromEWKT('SRID=4674;POINT (-40.050086 -2.794495)'))) / (select extract(epoch from '2026-06-13 09:56:17'::timestamp) - extract(epoch from '2026-06-13 09:56:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050093 -2.794489)'), GeomFromEWKT('SRID=4674;POINT (-40.050086 -2.794495)'))) / (select extract(epoch from '2026-06-13 09:56:17'::timestamp) - extract(epoch from '2026-06-13 09:56: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'), 46944, 'SRID=4674;POINT (-40.050043 -2.794525)', '2026-06-13 09:56:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050086 -2.794495)'), GeomFromEWKT('SRID=4674;POINT (-40.050043 -2.794525)'))) / (select extract(epoch from '2026-06-13 09:56:24'::timestamp) - extract(epoch from '2026-06-13 09:56:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050086 -2.794495)'), GeomFromEWKT('SRID=4674;POINT (-40.050043 -2.794525)'))) / (select extract(epoch from '2026-06-13 09:56:24'::timestamp) - extract(epoch from '2026-06-13 09:56: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'), 46944, 'SRID=4674;POINT (-40.050006 -2.794534)', '2026-06-13 09:56:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050043 -2.794525)'), GeomFromEWKT('SRID=4674;POINT (-40.050006 -2.794534)'))) / (select extract(epoch from '2026-06-13 09:56:34'::timestamp) - extract(epoch from '2026-06-13 09:56:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050043 -2.794525)'), GeomFromEWKT('SRID=4674;POINT (-40.050006 -2.794534)'))) / (select extract(epoch from '2026-06-13 09:56:34'::timestamp) - extract(epoch from '2026-06-13 09:56: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'), 46944, 'SRID=4674;POINT (-40.049997 -2.794484)', '2026-06-13 09:56:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050006 -2.794534)'), GeomFromEWKT('SRID=4674;POINT (-40.049997 -2.794484)'))) / (select extract(epoch from '2026-06-13 09:56:48'::timestamp) - extract(epoch from '2026-06-13 09:56:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050006 -2.794534)'), GeomFromEWKT('SRID=4674;POINT (-40.049997 -2.794484)'))) / (select extract(epoch from '2026-06-13 09:56:48'::timestamp) - extract(epoch from '2026-06-13 09:56: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'), 46944, 'SRID=4674;POINT (-40.049999 -2.794412)', '2026-06-13 09:56:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049997 -2.794484)'), GeomFromEWKT('SRID=4674;POINT (-40.049999 -2.794412)'))) / (select extract(epoch from '2026-06-13 09:56:57'::timestamp) - extract(epoch from '2026-06-13 09:56:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049997 -2.794484)'), GeomFromEWKT('SRID=4674;POINT (-40.049999 -2.794412)'))) / (select extract(epoch from '2026-06-13 09:56:57'::timestamp) - extract(epoch from '2026-06-13 09:56: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'), 46944, 'SRID=4674;POINT (-40.050004 -2.794402)', '2026-06-13 09:56:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049999 -2.794412)'), GeomFromEWKT('SRID=4674;POINT (-40.050004 -2.794402)'))) / (select extract(epoch from '2026-06-13 09:56:58'::timestamp) - extract(epoch from '2026-06-13 09:56:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049999 -2.794412)'), GeomFromEWKT('SRID=4674;POINT (-40.050004 -2.794402)'))) / (select extract(epoch from '2026-06-13 09:56:58'::timestamp) - extract(epoch from '2026-06-13 09:56: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'), 46944, 'SRID=4674;POINT (-40.050018 -2.794385)', '2026-06-13 09:57:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050004 -2.794402)'), GeomFromEWKT('SRID=4674;POINT (-40.050018 -2.794385)'))) / (select extract(epoch from '2026-06-13 09:57:00'::timestamp) - extract(epoch from '2026-06-13 09:56:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050004 -2.794402)'), GeomFromEWKT('SRID=4674;POINT (-40.050018 -2.794385)'))) / (select extract(epoch from '2026-06-13 09:57:00'::timestamp) - extract(epoch from '2026-06-13 09:56: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'), 46944, 'SRID=4674;POINT (-40.050036 -2.794371)', '2026-06-13 09:57:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050018 -2.794385)'), GeomFromEWKT('SRID=4674;POINT (-40.050036 -2.794371)'))) / (select extract(epoch from '2026-06-13 09:57:02'::timestamp) - extract(epoch from '2026-06-13 09:57:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050018 -2.794385)'), GeomFromEWKT('SRID=4674;POINT (-40.050036 -2.794371)'))) / (select extract(epoch from '2026-06-13 09:57:02'::timestamp) - extract(epoch from '2026-06-13 09:57: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'), 46944, 'SRID=4674;POINT (-40.050103 -2.794365)', '2026-06-13 09:57:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050036 -2.794371)'), GeomFromEWKT('SRID=4674;POINT (-40.050103 -2.794365)'))) / (select extract(epoch from '2026-06-13 09:57:07'::timestamp) - extract(epoch from '2026-06-13 09:57:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050036 -2.794371)'), GeomFromEWKT('SRID=4674;POINT (-40.050103 -2.794365)'))) / (select extract(epoch from '2026-06-13 09:57:07'::timestamp) - extract(epoch from '2026-06-13 09:57: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'), 46944, 'SRID=4674;POINT (-40.050154 -2.7944)', '2026-06-13 09:57:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050103 -2.794365)'), GeomFromEWKT('SRID=4674;POINT (-40.050154 -2.7944)'))) / (select extract(epoch from '2026-06-13 09:57:13'::timestamp) - extract(epoch from '2026-06-13 09:57:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050103 -2.794365)'), GeomFromEWKT('SRID=4674;POINT (-40.050154 -2.7944)'))) / (select extract(epoch from '2026-06-13 09:57:13'::timestamp) - extract(epoch from '2026-06-13 09:57:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050161 -2.794454)', '2026-06-13 09:57:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050154 -2.7944)'), GeomFromEWKT('SRID=4674;POINT (-40.050161 -2.794454)'))) / (select extract(epoch from '2026-06-13 09:57:19'::timestamp) - extract(epoch from '2026-06-13 09:57:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050154 -2.7944)'), GeomFromEWKT('SRID=4674;POINT (-40.050161 -2.794454)'))) / (select extract(epoch from '2026-06-13 09:57:19'::timestamp) - extract(epoch from '2026-06-13 09:57: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'), 46944, 'SRID=4674;POINT (-40.050156 -2.794459)', '2026-06-13 09:57:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050161 -2.794454)'), GeomFromEWKT('SRID=4674;POINT (-40.050156 -2.794459)'))) / (select extract(epoch from '2026-06-13 09:57:20'::timestamp) - extract(epoch from '2026-06-13 09:57:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050161 -2.794454)'), GeomFromEWKT('SRID=4674;POINT (-40.050156 -2.794459)'))) / (select extract(epoch from '2026-06-13 09:57:20'::timestamp) - extract(epoch from '2026-06-13 09:57: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'), 46944, 'SRID=4674;POINT (-40.05015 -2.794473)', '2026-06-13 09:57:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050156 -2.794459)'), GeomFromEWKT('SRID=4674;POINT (-40.05015 -2.794473)'))) / (select extract(epoch from '2026-06-13 09:57:26'::timestamp) - extract(epoch from '2026-06-13 09:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050156 -2.794459)'), GeomFromEWKT('SRID=4674;POINT (-40.05015 -2.794473)'))) / (select extract(epoch from '2026-06-13 09:57:26'::timestamp) - extract(epoch from '2026-06-13 09:57: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'), 46944, 'SRID=4674;POINT (-40.050112 -2.794451)', '2026-06-13 09:57:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05015 -2.794473)'), GeomFromEWKT('SRID=4674;POINT (-40.050112 -2.794451)'))) / (select extract(epoch from '2026-06-13 09:57:46'::timestamp) - extract(epoch from '2026-06-13 09:57:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05015 -2.794473)'), GeomFromEWKT('SRID=4674;POINT (-40.050112 -2.794451)'))) / (select extract(epoch from '2026-06-13 09:57:46'::timestamp) - extract(epoch from '2026-06-13 09:57: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'), 46944, 'SRID=4674;POINT (-40.050078 -2.794509)', '2026-06-13 09:57:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050112 -2.794451)'), GeomFromEWKT('SRID=4674;POINT (-40.050078 -2.794509)'))) / (select extract(epoch from '2026-06-13 09:57:52'::timestamp) - extract(epoch from '2026-06-13 09:57:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050112 -2.794451)'), GeomFromEWKT('SRID=4674;POINT (-40.050078 -2.794509)'))) / (select extract(epoch from '2026-06-13 09:57:52'::timestamp) - extract(epoch from '2026-06-13 09:57: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'), 46944, 'SRID=4674;POINT (-40.050054 -2.794618)', '2026-06-13 09:58:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050078 -2.794509)'), GeomFromEWKT('SRID=4674;POINT (-40.050054 -2.794618)'))) / (select extract(epoch from '2026-06-13 09:58:00'::timestamp) - extract(epoch from '2026-06-13 09:57:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050078 -2.794509)'), GeomFromEWKT('SRID=4674;POINT (-40.050054 -2.794618)'))) / (select extract(epoch from '2026-06-13 09:58:00'::timestamp) - extract(epoch from '2026-06-13 09:57: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'), 46944, 'SRID=4674;POINT (-40.050047 -2.794666)', '2026-06-13 09:58:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050054 -2.794618)'), GeomFromEWKT('SRID=4674;POINT (-40.050047 -2.794666)'))) / (select extract(epoch from '2026-06-13 09:58:03'::timestamp) - extract(epoch from '2026-06-13 09:58:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050054 -2.794618)'), GeomFromEWKT('SRID=4674;POINT (-40.050047 -2.794666)'))) / (select extract(epoch from '2026-06-13 09:58:03'::timestamp) - extract(epoch from '2026-06-13 09:58:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050048 -2.794716)', '2026-06-13 09:58:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050047 -2.794666)'), GeomFromEWKT('SRID=4674;POINT (-40.050048 -2.794716)'))) / (select extract(epoch from '2026-06-13 09:58:06'::timestamp) - extract(epoch from '2026-06-13 09:58:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050047 -2.794666)'), GeomFromEWKT('SRID=4674;POINT (-40.050048 -2.794716)'))) / (select extract(epoch from '2026-06-13 09:58:06'::timestamp) - extract(epoch from '2026-06-13 09:58: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'), 46944, 'SRID=4674;POINT (-40.050063 -2.794858)', '2026-06-13 09:58:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050048 -2.794716)'), GeomFromEWKT('SRID=4674;POINT (-40.050063 -2.794858)'))) / (select extract(epoch from '2026-06-13 09:58:14'::timestamp) - extract(epoch from '2026-06-13 09:58:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050048 -2.794716)'), GeomFromEWKT('SRID=4674;POINT (-40.050063 -2.794858)'))) / (select extract(epoch from '2026-06-13 09:58:14'::timestamp) - extract(epoch from '2026-06-13 09:58:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050073 -2.794967)', '2026-06-13 09:58:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050063 -2.794858)'), GeomFromEWKT('SRID=4674;POINT (-40.050073 -2.794967)'))) / (select extract(epoch from '2026-06-13 09:58:20'::timestamp) - extract(epoch from '2026-06-13 09:58:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050063 -2.794858)'), GeomFromEWKT('SRID=4674;POINT (-40.050073 -2.794967)'))) / (select extract(epoch from '2026-06-13 09:58:20'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46944, 'SRID=4674;POINT (-40.050084 -2.795091)', '2026-06-13 09:58:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050073 -2.794967)'), GeomFromEWKT('SRID=4674;POINT (-40.050084 -2.795091)'))) / (select extract(epoch from '2026-06-13 09:58:27'::timestamp) - extract(epoch from '2026-06-13 09:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050073 -2.794967)'), GeomFromEWKT('SRID=4674;POINT (-40.050084 -2.795091)'))) / (select extract(epoch from '2026-06-13 09:58:27'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46944, 'SRID=4674;POINT (-40.050102 -2.795177)', '2026-06-13 09:58:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050084 -2.795091)'), GeomFromEWKT('SRID=4674;POINT (-40.050102 -2.795177)'))) / (select extract(epoch from '2026-06-13 09:58:32'::timestamp) - extract(epoch from '2026-06-13 09:58:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050084 -2.795091)'), GeomFromEWKT('SRID=4674;POINT (-40.050102 -2.795177)'))) / (select extract(epoch from '2026-06-13 09:58:32'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46944, 'SRID=4674;POINT (-40.050134 -2.795285)', '2026-06-13 09:58:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050102 -2.795177)'), GeomFromEWKT('SRID=4674;POINT (-40.050134 -2.795285)'))) / (select extract(epoch from '2026-06-13 09:58:38'::timestamp) - extract(epoch from '2026-06-13 09:58:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050102 -2.795177)'), GeomFromEWKT('SRID=4674;POINT (-40.050134 -2.795285)'))) / (select extract(epoch from '2026-06-13 09:58:38'::timestamp) - extract(epoch from '2026-06-13 09:58: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'), 46944, 'SRID=4674;POINT (-40.050155 -2.795375)', '2026-06-13 09:58:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050134 -2.795285)'), GeomFromEWKT('SRID=4674;POINT (-40.050155 -2.795375)'))) / (select extract(epoch from '2026-06-13 09:58:43'::timestamp) - extract(epoch from '2026-06-13 09:58:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050134 -2.795285)'), GeomFromEWKT('SRID=4674;POINT (-40.050155 -2.795375)'))) / (select extract(epoch from '2026-06-13 09:58:43'::timestamp) - extract(epoch from '2026-06-13 09:58: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'), 46944, 'SRID=4674;POINT (-40.050172 -2.795471)', '2026-06-13 09:58:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050155 -2.795375)'), GeomFromEWKT('SRID=4674;POINT (-40.050172 -2.795471)'))) / (select extract(epoch from '2026-06-13 09:58:48'::timestamp) - extract(epoch from '2026-06-13 09:58:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050155 -2.795375)'), GeomFromEWKT('SRID=4674;POINT (-40.050172 -2.795471)'))) / (select extract(epoch from '2026-06-13 09:58:48'::timestamp) - extract(epoch from '2026-06-13 09:58: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'), 46944, 'SRID=4674;POINT (-40.050194 -2.795582)', '2026-06-13 09:58:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050172 -2.795471)'), GeomFromEWKT('SRID=4674;POINT (-40.050194 -2.795582)'))) / (select extract(epoch from '2026-06-13 09:58:54'::timestamp) - extract(epoch from '2026-06-13 09:58:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050172 -2.795471)'), GeomFromEWKT('SRID=4674;POINT (-40.050194 -2.795582)'))) / (select extract(epoch from '2026-06-13 09:58:54'::timestamp) - extract(epoch from '2026-06-13 09:58: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'), 46944, 'SRID=4674;POINT (-40.050219 -2.79569)', '2026-06-13 09:59:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050194 -2.795582)'), GeomFromEWKT('SRID=4674;POINT (-40.050219 -2.79569)'))) / (select extract(epoch from '2026-06-13 09:59:00'::timestamp) - extract(epoch from '2026-06-13 09:58:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050194 -2.795582)'), GeomFromEWKT('SRID=4674;POINT (-40.050219 -2.79569)'))) / (select extract(epoch from '2026-06-13 09:59:00'::timestamp) - extract(epoch from '2026-06-13 09:58: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'), 46944, 'SRID=4674;POINT (-40.050262 -2.795835)', '2026-06-13 09:59:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050219 -2.79569)'), GeomFromEWKT('SRID=4674;POINT (-40.050262 -2.795835)'))) / (select extract(epoch from '2026-06-13 09:59:08'::timestamp) - extract(epoch from '2026-06-13 09:59:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050219 -2.79569)'), GeomFromEWKT('SRID=4674;POINT (-40.050262 -2.795835)'))) / (select extract(epoch from '2026-06-13 09:59:08'::timestamp) - extract(epoch from '2026-06-13 09:59: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'), 46944, 'SRID=4674;POINT (-40.050303 -2.795943)', '2026-06-13 09:59:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050262 -2.795835)'), GeomFromEWKT('SRID=4674;POINT (-40.050303 -2.795943)'))) / (select extract(epoch from '2026-06-13 09:59:14'::timestamp) - extract(epoch from '2026-06-13 09:59:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050262 -2.795835)'), GeomFromEWKT('SRID=4674;POINT (-40.050303 -2.795943)'))) / (select extract(epoch from '2026-06-13 09:59:14'::timestamp) - extract(epoch from '2026-06-13 09:59:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050327 -2.79603)', '2026-06-13 09:59:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050303 -2.795943)'), GeomFromEWKT('SRID=4674;POINT (-40.050327 -2.79603)'))) / (select extract(epoch from '2026-06-13 09:59:19'::timestamp) - extract(epoch from '2026-06-13 09:59:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050303 -2.795943)'), GeomFromEWKT('SRID=4674;POINT (-40.050327 -2.79603)'))) / (select extract(epoch from '2026-06-13 09:59:19'::timestamp) - extract(epoch from '2026-06-13 09:59: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'), 46944, 'SRID=4674;POINT (-40.050367 -2.796098)', '2026-06-13 09:59:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050327 -2.79603)'), GeomFromEWKT('SRID=4674;POINT (-40.050367 -2.796098)'))) / (select extract(epoch from '2026-06-13 09:59:24'::timestamp) - extract(epoch from '2026-06-13 09:59:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050327 -2.79603)'), GeomFromEWKT('SRID=4674;POINT (-40.050367 -2.796098)'))) / (select extract(epoch from '2026-06-13 09:59:24'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46944, 'SRID=4674;POINT (-40.050441 -2.796165)', '2026-06-13 09:59:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050367 -2.796098)'), GeomFromEWKT('SRID=4674;POINT (-40.050441 -2.796165)'))) / (select extract(epoch from '2026-06-13 09:59:31'::timestamp) - extract(epoch from '2026-06-13 09:59:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050367 -2.796098)'), GeomFromEWKT('SRID=4674;POINT (-40.050441 -2.796165)'))) / (select extract(epoch from '2026-06-13 09:59:31'::timestamp) - extract(epoch from '2026-06-13 09:59: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'), 46944, 'SRID=4674;POINT (-40.050497 -2.796208)', '2026-06-13 09:59:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050441 -2.796165)'), GeomFromEWKT('SRID=4674;POINT (-40.050497 -2.796208)'))) / (select extract(epoch from '2026-06-13 09:59:36'::timestamp) - extract(epoch from '2026-06-13 09:59:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050441 -2.796165)'), GeomFromEWKT('SRID=4674;POINT (-40.050497 -2.796208)'))) / (select extract(epoch from '2026-06-13 09:59:36'::timestamp) - extract(epoch from '2026-06-13 09:59:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050504 -2.796219)', '2026-06-13 09:59:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050497 -2.796208)'), GeomFromEWKT('SRID=4674;POINT (-40.050504 -2.796219)'))) / (select extract(epoch from '2026-06-13 09:59:37'::timestamp) - extract(epoch from '2026-06-13 09:59:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050497 -2.796208)'), GeomFromEWKT('SRID=4674;POINT (-40.050504 -2.796219)'))) / (select extract(epoch from '2026-06-13 09:59:37'::timestamp) - extract(epoch from '2026-06-13 09:59: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'), 46944, 'SRID=4674;POINT (-40.05052 -2.796248)', '2026-06-13 09:59:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050504 -2.796219)'), GeomFromEWKT('SRID=4674;POINT (-40.05052 -2.796248)'))) / (select extract(epoch from '2026-06-13 09:59:40'::timestamp) - extract(epoch from '2026-06-13 09:59:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050504 -2.796219)'), GeomFromEWKT('SRID=4674;POINT (-40.05052 -2.796248)'))) / (select extract(epoch from '2026-06-13 09:59:40'::timestamp) - extract(epoch from '2026-06-13 09:59: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'), 46944, 'SRID=4674;POINT (-40.050532 -2.79628)', '2026-06-13 09:59:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05052 -2.796248)'), GeomFromEWKT('SRID=4674;POINT (-40.050532 -2.79628)'))) / (select extract(epoch from '2026-06-13 09:59:44'::timestamp) - extract(epoch from '2026-06-13 09:59:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05052 -2.796248)'), GeomFromEWKT('SRID=4674;POINT (-40.050532 -2.79628)'))) / (select extract(epoch from '2026-06-13 09:59:44'::timestamp) - extract(epoch from '2026-06-13 09: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'), 46944, 'SRID=4674;POINT (-40.050533 -2.796293)', '2026-06-13 09:59:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050532 -2.79628)'), GeomFromEWKT('SRID=4674;POINT (-40.050533 -2.796293)'))) / (select extract(epoch from '2026-06-13 09:59:46'::timestamp) - extract(epoch from '2026-06-13 09:59:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050532 -2.79628)'), GeomFromEWKT('SRID=4674;POINT (-40.050533 -2.796293)'))) / (select extract(epoch from '2026-06-13 09:59:46'::timestamp) - extract(epoch from '2026-06-13 09:59: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'), 46944, 'SRID=4674;POINT (-40.05052 -2.796321)', '2026-06-13 09:59:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050533 -2.796293)'), GeomFromEWKT('SRID=4674;POINT (-40.05052 -2.796321)'))) / (select extract(epoch from '2026-06-13 09:59:49'::timestamp) - extract(epoch from '2026-06-13 09:59:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050533 -2.796293)'), GeomFromEWKT('SRID=4674;POINT (-40.05052 -2.796321)'))) / (select extract(epoch from '2026-06-13 09:59:49'::timestamp) - extract(epoch from '2026-06-13 09:59: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'), 46944, 'SRID=4674;POINT (-40.050482 -2.79633)', '2026-06-13 09:59:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05052 -2.796321)'), GeomFromEWKT('SRID=4674;POINT (-40.050482 -2.79633)'))) / (select extract(epoch from '2026-06-13 09:59:56'::timestamp) - extract(epoch from '2026-06-13 09:59:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05052 -2.796321)'), GeomFromEWKT('SRID=4674;POINT (-40.050482 -2.79633)'))) / (select extract(epoch from '2026-06-13 09:59:56'::timestamp) - extract(epoch from '2026-06-13 09:59:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050506 -2.796277)', '2026-06-13 10:00:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050482 -2.79633)'), GeomFromEWKT('SRID=4674;POINT (-40.050506 -2.796277)'))) / (select extract(epoch from '2026-06-13 10:00:03'::timestamp) - extract(epoch from '2026-06-13 09:59:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050482 -2.79633)'), GeomFromEWKT('SRID=4674;POINT (-40.050506 -2.796277)'))) / (select extract(epoch from '2026-06-13 10:00:03'::timestamp) - extract(epoch from '2026-06-13 09:59: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'), 46944, 'SRID=4674;POINT (-40.050506 -2.7962)', '2026-06-13 10:00:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050506 -2.796277)'), GeomFromEWKT('SRID=4674;POINT (-40.050506 -2.7962)'))) / (select extract(epoch from '2026-06-13 10:00:11'::timestamp) - extract(epoch from '2026-06-13 10:00:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050506 -2.796277)'), GeomFromEWKT('SRID=4674;POINT (-40.050506 -2.7962)'))) / (select extract(epoch from '2026-06-13 10:00:11'::timestamp) - extract(epoch from '2026-06-13 10:00: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'), 46944, 'SRID=4674;POINT (-40.050501 -2.796216)', '2026-06-13 10:00:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050506 -2.7962)'), GeomFromEWKT('SRID=4674;POINT (-40.050501 -2.796216)'))) / (select extract(epoch from '2026-06-13 10:00:30'::timestamp) - extract(epoch from '2026-06-13 10:00:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050506 -2.7962)'), GeomFromEWKT('SRID=4674;POINT (-40.050501 -2.796216)'))) / (select extract(epoch from '2026-06-13 10:00:30'::timestamp) - extract(epoch from '2026-06-13 10:00: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'), 46944, 'SRID=4674;POINT (-40.050532 -2.796278)', '2026-06-13 10:00:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050501 -2.796216)'), GeomFromEWKT('SRID=4674;POINT (-40.050532 -2.796278)'))) / (select extract(epoch from '2026-06-13 10:00:39'::timestamp) - extract(epoch from '2026-06-13 10:00:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050501 -2.796216)'), GeomFromEWKT('SRID=4674;POINT (-40.050532 -2.796278)'))) / (select extract(epoch from '2026-06-13 10:00:39'::timestamp) - extract(epoch from '2026-06-13 10:00: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'), 46944, 'SRID=4674;POINT (-40.050549 -2.796329)', '2026-06-13 10:00:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050532 -2.796278)'), GeomFromEWKT('SRID=4674;POINT (-40.050549 -2.796329)'))) / (select extract(epoch from '2026-06-13 10:00:46'::timestamp) - extract(epoch from '2026-06-13 10:00:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050532 -2.796278)'), GeomFromEWKT('SRID=4674;POINT (-40.050549 -2.796329)'))) / (select extract(epoch from '2026-06-13 10:00:46'::timestamp) - extract(epoch from '2026-06-13 10:00: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'), 46944, 'SRID=4674;POINT (-40.050556 -2.796387)', '2026-06-13 10:00:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050549 -2.796329)'), GeomFromEWKT('SRID=4674;POINT (-40.050556 -2.796387)'))) / (select extract(epoch from '2026-06-13 10:00:55'::timestamp) - extract(epoch from '2026-06-13 10:00:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050549 -2.796329)'), GeomFromEWKT('SRID=4674;POINT (-40.050556 -2.796387)'))) / (select extract(epoch from '2026-06-13 10:00:55'::timestamp) - extract(epoch from '2026-06-13 10: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'), 46944, 'SRID=4674;POINT (-40.050558 -2.796434)', '2026-06-13 10:01:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050556 -2.796387)'), GeomFromEWKT('SRID=4674;POINT (-40.050558 -2.796434)'))) / (select extract(epoch from '2026-06-13 10:01:04'::timestamp) - extract(epoch from '2026-06-13 10:00:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050556 -2.796387)'), GeomFromEWKT('SRID=4674;POINT (-40.050558 -2.796434)'))) / (select extract(epoch from '2026-06-13 10:01:04'::timestamp) - extract(epoch from '2026-06-13 10:00: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'), 46944, 'SRID=4674;POINT (-40.050539 -2.79646)', '2026-06-13 10:01:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050558 -2.796434)'), GeomFromEWKT('SRID=4674;POINT (-40.050539 -2.79646)'))) / (select extract(epoch from '2026-06-13 10:01:08'::timestamp) - extract(epoch from '2026-06-13 10:01:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050558 -2.796434)'), GeomFromEWKT('SRID=4674;POINT (-40.050539 -2.79646)'))) / (select extract(epoch from '2026-06-13 10:01:08'::timestamp) - extract(epoch from '2026-06-13 10:01: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'), 46944, 'SRID=4674;POINT (-40.050518 -2.796484)', '2026-06-13 10:01:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050539 -2.79646)'), GeomFromEWKT('SRID=4674;POINT (-40.050518 -2.796484)'))) / (select extract(epoch from '2026-06-13 10:01:11'::timestamp) - extract(epoch from '2026-06-13 10:01:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050539 -2.79646)'), GeomFromEWKT('SRID=4674;POINT (-40.050518 -2.796484)'))) / (select extract(epoch from '2026-06-13 10:01:11'::timestamp) - extract(epoch from '2026-06-13 10:01:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050468 -2.796586)', '2026-06-13 10:01:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050518 -2.796484)'), GeomFromEWKT('SRID=4674;POINT (-40.050468 -2.796586)'))) / (select extract(epoch from '2026-06-13 10:01:19'::timestamp) - extract(epoch from '2026-06-13 10:01:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050518 -2.796484)'), GeomFromEWKT('SRID=4674;POINT (-40.050468 -2.796586)'))) / (select extract(epoch from '2026-06-13 10:01:19'::timestamp) - extract(epoch from '2026-06-13 10:01: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'), 46944, 'SRID=4674;POINT (-40.050452 -2.796685)', '2026-06-13 10:01:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050468 -2.796586)'), GeomFromEWKT('SRID=4674;POINT (-40.050452 -2.796685)'))) / (select extract(epoch from '2026-06-13 10:01:25'::timestamp) - extract(epoch from '2026-06-13 10:01:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050468 -2.796586)'), GeomFromEWKT('SRID=4674;POINT (-40.050452 -2.796685)'))) / (select extract(epoch from '2026-06-13 10:01:25'::timestamp) - extract(epoch from '2026-06-13 10:01: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'), 46944, 'SRID=4674;POINT (-40.05044 -2.796768)', '2026-06-13 10:01:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050452 -2.796685)'), GeomFromEWKT('SRID=4674;POINT (-40.05044 -2.796768)'))) / (select extract(epoch from '2026-06-13 10:01:30'::timestamp) - extract(epoch from '2026-06-13 10:01:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050452 -2.796685)'), GeomFromEWKT('SRID=4674;POINT (-40.05044 -2.796768)'))) / (select extract(epoch from '2026-06-13 10:01:30'::timestamp) - extract(epoch from '2026-06-13 10:01: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'), 46944, 'SRID=4674;POINT (-40.050437 -2.796784)', '2026-06-13 10:01:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05044 -2.796768)'), GeomFromEWKT('SRID=4674;POINT (-40.050437 -2.796784)'))) / (select extract(epoch from '2026-06-13 10:01:31'::timestamp) - extract(epoch from '2026-06-13 10:01:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05044 -2.796768)'), GeomFromEWKT('SRID=4674;POINT (-40.050437 -2.796784)'))) / (select extract(epoch from '2026-06-13 10:01:31'::timestamp) - extract(epoch from '2026-06-13 10:01: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'), 46944, 'SRID=4674;POINT (-40.050424 -2.796847)', '2026-06-13 10:01:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050437 -2.796784)'), GeomFromEWKT('SRID=4674;POINT (-40.050424 -2.796847)'))) / (select extract(epoch from '2026-06-13 10:01:35'::timestamp) - extract(epoch from '2026-06-13 10:01:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050437 -2.796784)'), GeomFromEWKT('SRID=4674;POINT (-40.050424 -2.796847)'))) / (select extract(epoch from '2026-06-13 10:01:35'::timestamp) - extract(epoch from '2026-06-13 10:01: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'), 46944, 'SRID=4674;POINT (-40.050442 -2.796977)', '2026-06-13 10:01:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050424 -2.796847)'), GeomFromEWKT('SRID=4674;POINT (-40.050442 -2.796977)'))) / (select extract(epoch from '2026-06-13 10:01:42'::timestamp) - extract(epoch from '2026-06-13 10:01:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050424 -2.796847)'), GeomFromEWKT('SRID=4674;POINT (-40.050442 -2.796977)'))) / (select extract(epoch from '2026-06-13 10:01:42'::timestamp) - extract(epoch from '2026-06-13 10:01: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'), 46944, 'SRID=4674;POINT (-40.050455 -2.797011)', '2026-06-13 10:01:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050442 -2.796977)'), GeomFromEWKT('SRID=4674;POINT (-40.050455 -2.797011)'))) / (select extract(epoch from '2026-06-13 10:01:44'::timestamp) - extract(epoch from '2026-06-13 10:01:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050442 -2.796977)'), GeomFromEWKT('SRID=4674;POINT (-40.050455 -2.797011)'))) / (select extract(epoch from '2026-06-13 10:01:44'::timestamp) - extract(epoch from '2026-06-13 10:01: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'), 46944, 'SRID=4674;POINT (-40.050486 -2.79706)', '2026-06-13 10:01:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050455 -2.797011)'), GeomFromEWKT('SRID=4674;POINT (-40.050486 -2.79706)'))) / (select extract(epoch from '2026-06-13 10:01:47'::timestamp) - extract(epoch from '2026-06-13 10:01:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050455 -2.797011)'), GeomFromEWKT('SRID=4674;POINT (-40.050486 -2.79706)'))) / (select extract(epoch from '2026-06-13 10:01:47'::timestamp) - extract(epoch from '2026-06-13 10:01: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'), 46944, 'SRID=4674;POINT (-40.050541 -2.797192)', '2026-06-13 10:01:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050486 -2.79706)'), GeomFromEWKT('SRID=4674;POINT (-40.050541 -2.797192)'))) / (select extract(epoch from '2026-06-13 10:01:55'::timestamp) - extract(epoch from '2026-06-13 10:01:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050486 -2.79706)'), GeomFromEWKT('SRID=4674;POINT (-40.050541 -2.797192)'))) / (select extract(epoch from '2026-06-13 10:01:55'::timestamp) - extract(epoch from '2026-06-13 10: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'), 46944, 'SRID=4674;POINT (-40.050533 -2.797232)', '2026-06-13 10:01:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050541 -2.797192)'), GeomFromEWKT('SRID=4674;POINT (-40.050533 -2.797232)'))) / (select extract(epoch from '2026-06-13 10:01:58'::timestamp) - extract(epoch from '2026-06-13 10:01:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050541 -2.797192)'), GeomFromEWKT('SRID=4674;POINT (-40.050533 -2.797232)'))) / (select extract(epoch from '2026-06-13 10:01:58'::timestamp) - extract(epoch from '2026-06-13 10:01: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'), 46944, 'SRID=4674;POINT (-40.050534 -2.79729)', '2026-06-13 10:02:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050533 -2.797232)'), GeomFromEWKT('SRID=4674;POINT (-40.050534 -2.79729)'))) / (select extract(epoch from '2026-06-13 10:02:02'::timestamp) - extract(epoch from '2026-06-13 10:01:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050533 -2.797232)'), GeomFromEWKT('SRID=4674;POINT (-40.050534 -2.79729)'))) / (select extract(epoch from '2026-06-13 10:02:02'::timestamp) - extract(epoch from '2026-06-13 10: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'), 46944, 'SRID=4674;POINT (-40.050589 -2.797379)', '2026-06-13 10:02:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050534 -2.79729)'), GeomFromEWKT('SRID=4674;POINT (-40.050589 -2.797379)'))) / (select extract(epoch from '2026-06-13 10:02:10'::timestamp) - extract(epoch from '2026-06-13 10:02:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050534 -2.79729)'), GeomFromEWKT('SRID=4674;POINT (-40.050589 -2.797379)'))) / (select extract(epoch from '2026-06-13 10:02:10'::timestamp) - extract(epoch from '2026-06-13 10:02: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'), 46944, 'SRID=4674;POINT (-40.050687 -2.79746)', '2026-06-13 10:02:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050589 -2.797379)'), GeomFromEWKT('SRID=4674;POINT (-40.050687 -2.79746)'))) / (select extract(epoch from '2026-06-13 10:02:19'::timestamp) - extract(epoch from '2026-06-13 10:02:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050589 -2.797379)'), GeomFromEWKT('SRID=4674;POINT (-40.050687 -2.79746)'))) / (select extract(epoch from '2026-06-13 10:02:19'::timestamp) - extract(epoch from '2026-06-13 10:02:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050694 -2.797509)', '2026-06-13 10:02:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050687 -2.79746)'), GeomFromEWKT('SRID=4674;POINT (-40.050694 -2.797509)'))) / (select extract(epoch from '2026-06-13 10:02:24'::timestamp) - extract(epoch from '2026-06-13 10:02:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050687 -2.79746)'), GeomFromEWKT('SRID=4674;POINT (-40.050694 -2.797509)'))) / (select extract(epoch from '2026-06-13 10:02:24'::timestamp) - extract(epoch from '2026-06-13 10:02:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050697 -2.797519)', '2026-06-13 10:02:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050694 -2.797509)'), GeomFromEWKT('SRID=4674;POINT (-40.050697 -2.797519)'))) / (select extract(epoch from '2026-06-13 10:02:25'::timestamp) - extract(epoch from '2026-06-13 10:02:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050694 -2.797509)'), GeomFromEWKT('SRID=4674;POINT (-40.050697 -2.797519)'))) / (select extract(epoch from '2026-06-13 10:02:25'::timestamp) - extract(epoch from '2026-06-13 10:02: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'), 46944, 'SRID=4674;POINT (-40.050701 -2.797528)', '2026-06-13 10:02:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050697 -2.797519)'), GeomFromEWKT('SRID=4674;POINT (-40.050701 -2.797528)'))) / (select extract(epoch from '2026-06-13 10:02:26'::timestamp) - extract(epoch from '2026-06-13 10:02:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050697 -2.797519)'), GeomFromEWKT('SRID=4674;POINT (-40.050701 -2.797528)'))) / (select extract(epoch from '2026-06-13 10:02:26'::timestamp) - extract(epoch from '2026-06-13 10:02: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'), 46944, 'SRID=4674;POINT (-40.050721 -2.797577)', '2026-06-13 10:02:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050701 -2.797528)'), GeomFromEWKT('SRID=4674;POINT (-40.050721 -2.797577)'))) / (select extract(epoch from '2026-06-13 10:02:31'::timestamp) - extract(epoch from '2026-06-13 10:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050701 -2.797528)'), GeomFromEWKT('SRID=4674;POINT (-40.050721 -2.797577)'))) / (select extract(epoch from '2026-06-13 10:02:31'::timestamp) - extract(epoch from '2026-06-13 10:02:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050731 -2.797616)', '2026-06-13 10:02:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050721 -2.797577)'), GeomFromEWKT('SRID=4674;POINT (-40.050731 -2.797616)'))) / (select extract(epoch from '2026-06-13 10:02:36'::timestamp) - extract(epoch from '2026-06-13 10:02:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050721 -2.797577)'), GeomFromEWKT('SRID=4674;POINT (-40.050731 -2.797616)'))) / (select extract(epoch from '2026-06-13 10:02:36'::timestamp) - extract(epoch from '2026-06-13 10:02: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'), 46944, 'SRID=4674;POINT (-40.050737 -2.797653)', '2026-06-13 10:02:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050731 -2.797616)'), GeomFromEWKT('SRID=4674;POINT (-40.050737 -2.797653)'))) / (select extract(epoch from '2026-06-13 10:02:43'::timestamp) - extract(epoch from '2026-06-13 10:02:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050731 -2.797616)'), GeomFromEWKT('SRID=4674;POINT (-40.050737 -2.797653)'))) / (select extract(epoch from '2026-06-13 10:02:43'::timestamp) - extract(epoch from '2026-06-13 10: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'), 46944, 'SRID=4674;POINT (-40.050705 -2.797677)', '2026-06-13 10:02:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050737 -2.797653)'), GeomFromEWKT('SRID=4674;POINT (-40.050705 -2.797677)'))) / (select extract(epoch from '2026-06-13 10:02:51'::timestamp) - extract(epoch from '2026-06-13 10:02:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050737 -2.797653)'), GeomFromEWKT('SRID=4674;POINT (-40.050705 -2.797677)'))) / (select extract(epoch from '2026-06-13 10:02:51'::timestamp) - extract(epoch from '2026-06-13 10: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'), 46944, 'SRID=4674;POINT (-40.050683 -2.797636)', '2026-06-13 10:02:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050705 -2.797677)'), GeomFromEWKT('SRID=4674;POINT (-40.050683 -2.797636)'))) / (select extract(epoch from '2026-06-13 10:02:59'::timestamp) - extract(epoch from '2026-06-13 10:02:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050705 -2.797677)'), GeomFromEWKT('SRID=4674;POINT (-40.050683 -2.797636)'))) / (select extract(epoch from '2026-06-13 10:02:59'::timestamp) - extract(epoch from '2026-06-13 10:02: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'), 46944, 'SRID=4674;POINT (-40.050722 -2.79753)', '2026-06-13 10:03:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050683 -2.797636)'), GeomFromEWKT('SRID=4674;POINT (-40.050722 -2.79753)'))) / (select extract(epoch from '2026-06-13 10:03:14'::timestamp) - extract(epoch from '2026-06-13 10:02:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050683 -2.797636)'), GeomFromEWKT('SRID=4674;POINT (-40.050722 -2.79753)'))) / (select extract(epoch from '2026-06-13 10:03:14'::timestamp) - extract(epoch from '2026-06-13 10:02: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'), 46944, 'SRID=4674;POINT (-40.050769 -2.797487)', '2026-06-13 10:03:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050722 -2.79753)'), GeomFromEWKT('SRID=4674;POINT (-40.050769 -2.797487)'))) / (select extract(epoch from '2026-06-13 10:03:24'::timestamp) - extract(epoch from '2026-06-13 10:03:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050722 -2.79753)'), GeomFromEWKT('SRID=4674;POINT (-40.050769 -2.797487)'))) / (select extract(epoch from '2026-06-13 10:03:24'::timestamp) - extract(epoch from '2026-06-13 10: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'), 46944, 'SRID=4674;POINT (-40.050823 -2.797427)', '2026-06-13 10:03:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050769 -2.797487)'), GeomFromEWKT('SRID=4674;POINT (-40.050823 -2.797427)'))) / (select extract(epoch from '2026-06-13 10:03:37'::timestamp) - extract(epoch from '2026-06-13 10:03:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050769 -2.797487)'), GeomFromEWKT('SRID=4674;POINT (-40.050823 -2.797427)'))) / (select extract(epoch from '2026-06-13 10:03:37'::timestamp) - extract(epoch from '2026-06-13 10:03: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'), 46944, 'SRID=4674;POINT (-40.050829 -2.797393)', '2026-06-13 10:03:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050823 -2.797427)'), GeomFromEWKT('SRID=4674;POINT (-40.050829 -2.797393)'))) / (select extract(epoch from '2026-06-13 10:03:43'::timestamp) - extract(epoch from '2026-06-13 10:03:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050823 -2.797427)'), GeomFromEWKT('SRID=4674;POINT (-40.050829 -2.797393)'))) / (select extract(epoch from '2026-06-13 10:03:43'::timestamp) - extract(epoch from '2026-06-13 10:03: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'), 46944, 'SRID=4674;POINT (-40.050829 -2.797363)', '2026-06-13 10:03:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050829 -2.797393)'), GeomFromEWKT('SRID=4674;POINT (-40.050829 -2.797363)'))) / (select extract(epoch from '2026-06-13 10:03:50'::timestamp) - extract(epoch from '2026-06-13 10:03:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050829 -2.797393)'), GeomFromEWKT('SRID=4674;POINT (-40.050829 -2.797363)'))) / (select extract(epoch from '2026-06-13 10:03:50'::timestamp) - extract(epoch from '2026-06-13 10: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'), 46944, 'SRID=4674;POINT (-40.050803 -2.797342)', '2026-06-13 10:04:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050829 -2.797363)'), GeomFromEWKT('SRID=4674;POINT (-40.050803 -2.797342)'))) / (select extract(epoch from '2026-06-13 10:04:01'::timestamp) - extract(epoch from '2026-06-13 10:03:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050829 -2.797363)'), GeomFromEWKT('SRID=4674;POINT (-40.050803 -2.797342)'))) / (select extract(epoch from '2026-06-13 10:04:01'::timestamp) - extract(epoch from '2026-06-13 10:03: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'), 46944, 'SRID=4674;POINT (-40.050732 -2.797382)', '2026-06-13 10:04:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050803 -2.797342)'), GeomFromEWKT('SRID=4674;POINT (-40.050732 -2.797382)'))) / (select extract(epoch from '2026-06-13 10:04:15'::timestamp) - extract(epoch from '2026-06-13 10:04:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050803 -2.797342)'), GeomFromEWKT('SRID=4674;POINT (-40.050732 -2.797382)'))) / (select extract(epoch from '2026-06-13 10:04:15'::timestamp) - extract(epoch from '2026-06-13 10:04:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050595 -2.797434)', '2026-06-13 10:04:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050732 -2.797382)'), GeomFromEWKT('SRID=4674;POINT (-40.050595 -2.797434)'))) / (select extract(epoch from '2026-06-13 10:04:27'::timestamp) - extract(epoch from '2026-06-13 10:04:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050732 -2.797382)'), GeomFromEWKT('SRID=4674;POINT (-40.050595 -2.797434)'))) / (select extract(epoch from '2026-06-13 10:04:27'::timestamp) - extract(epoch from '2026-06-13 10:04: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'), 46944, 'SRID=4674;POINT (-40.050516 -2.797466)', '2026-06-13 10:04:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050595 -2.797434)'), GeomFromEWKT('SRID=4674;POINT (-40.050516 -2.797466)'))) / (select extract(epoch from '2026-06-13 10:04:35'::timestamp) - extract(epoch from '2026-06-13 10:04:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050595 -2.797434)'), GeomFromEWKT('SRID=4674;POINT (-40.050516 -2.797466)'))) / (select extract(epoch from '2026-06-13 10:04:35'::timestamp) - extract(epoch from '2026-06-13 10:04: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'), 46944, 'SRID=4674;POINT (-40.050533 -2.797477)', '2026-06-13 10:04:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050516 -2.797466)'), GeomFromEWKT('SRID=4674;POINT (-40.050533 -2.797477)'))) / (select extract(epoch from '2026-06-13 10:04:44'::timestamp) - extract(epoch from '2026-06-13 10:04:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050516 -2.797466)'), GeomFromEWKT('SRID=4674;POINT (-40.050533 -2.797477)'))) / (select extract(epoch from '2026-06-13 10:04:44'::timestamp) - extract(epoch from '2026-06-13 10:04:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050614 -2.79748)', '2026-06-13 10:05:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050533 -2.797477)'), GeomFromEWKT('SRID=4674;POINT (-40.050614 -2.79748)'))) / (select extract(epoch from '2026-06-13 10:05:02'::timestamp) - extract(epoch from '2026-06-13 10:04:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050533 -2.797477)'), GeomFromEWKT('SRID=4674;POINT (-40.050614 -2.79748)'))) / (select extract(epoch from '2026-06-13 10:05:02'::timestamp) - extract(epoch from '2026-06-13 10:04: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'), 46944, 'SRID=4674;POINT (-40.05072 -2.797499)', '2026-06-13 10:05:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050614 -2.79748)'), GeomFromEWKT('SRID=4674;POINT (-40.05072 -2.797499)'))) / (select extract(epoch from '2026-06-13 10:05:27'::timestamp) - extract(epoch from '2026-06-13 10:05:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050614 -2.79748)'), GeomFromEWKT('SRID=4674;POINT (-40.05072 -2.797499)'))) / (select extract(epoch from '2026-06-13 10:05:27'::timestamp) - extract(epoch from '2026-06-13 10: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'), 46944, 'SRID=4674;POINT (-40.050762 -2.797495)', '2026-06-13 10:05:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05072 -2.797499)'), GeomFromEWKT('SRID=4674;POINT (-40.050762 -2.797495)'))) / (select extract(epoch from '2026-06-13 10:05:44'::timestamp) - extract(epoch from '2026-06-13 10:05:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05072 -2.797499)'), GeomFromEWKT('SRID=4674;POINT (-40.050762 -2.797495)'))) / (select extract(epoch from '2026-06-13 10:05:44'::timestamp) - extract(epoch from '2026-06-13 10:05: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'), 46944, 'SRID=4674;POINT (-40.050724 -2.797537)', '2026-06-13 10:16:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050762 -2.797495)'), GeomFromEWKT('SRID=4674;POINT (-40.050724 -2.797537)'))) / (select extract(epoch from '2026-06-13 10:16:22'::timestamp) - extract(epoch from '2026-06-13 10:05:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050762 -2.797495)'), GeomFromEWKT('SRID=4674;POINT (-40.050724 -2.797537)'))) / (select extract(epoch from '2026-06-13 10:16:22'::timestamp) - extract(epoch from '2026-06-13 10:05: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'), 46944, 'SRID=4674;POINT (-40.050664 -2.797537)', '2026-06-13 10:16:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050724 -2.797537)'), GeomFromEWKT('SRID=4674;POINT (-40.050664 -2.797537)'))) / (select extract(epoch from '2026-06-13 10:16:32'::timestamp) - extract(epoch from '2026-06-13 10:16:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050724 -2.797537)'), GeomFromEWKT('SRID=4674;POINT (-40.050664 -2.797537)'))) / (select extract(epoch from '2026-06-13 10:16:32'::timestamp) - extract(epoch from '2026-06-13 10: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'), 46944, 'SRID=4674;POINT (-40.05058 -2.7975)', '2026-06-13 10:16:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050664 -2.797537)'), GeomFromEWKT('SRID=4674;POINT (-40.05058 -2.7975)'))) / (select extract(epoch from '2026-06-13 10:16:42'::timestamp) - extract(epoch from '2026-06-13 10:16:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050664 -2.797537)'), GeomFromEWKT('SRID=4674;POINT (-40.05058 -2.7975)'))) / (select extract(epoch from '2026-06-13 10:16:42'::timestamp) - extract(epoch from '2026-06-13 10:16: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'), 46944, 'SRID=4674;POINT (-40.050521 -2.797492)', '2026-06-13 10:16:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05058 -2.7975)'), GeomFromEWKT('SRID=4674;POINT (-40.050521 -2.797492)'))) / (select extract(epoch from '2026-06-13 10:16:51'::timestamp) - extract(epoch from '2026-06-13 10:16:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05058 -2.7975)'), GeomFromEWKT('SRID=4674;POINT (-40.050521 -2.797492)'))) / (select extract(epoch from '2026-06-13 10:16:51'::timestamp) - extract(epoch from '2026-06-13 10:16: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'), 46944, 'SRID=4674;POINT (-40.050478 -2.797558)', '2026-06-13 10:17:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050521 -2.797492)'), GeomFromEWKT('SRID=4674;POINT (-40.050478 -2.797558)'))) / (select extract(epoch from '2026-06-13 10:17:12'::timestamp) - extract(epoch from '2026-06-13 10:16:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050521 -2.797492)'), GeomFromEWKT('SRID=4674;POINT (-40.050478 -2.797558)'))) / (select extract(epoch from '2026-06-13 10:17:12'::timestamp) - extract(epoch from '2026-06-13 10:16:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050464 -2.797636)', '2026-06-13 10:17:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050478 -2.797558)'), GeomFromEWKT('SRID=4674;POINT (-40.050464 -2.797636)'))) / (select extract(epoch from '2026-06-13 10:17:18'::timestamp) - extract(epoch from '2026-06-13 10:17:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050478 -2.797558)'), GeomFromEWKT('SRID=4674;POINT (-40.050464 -2.797636)'))) / (select extract(epoch from '2026-06-13 10:17:18'::timestamp) - extract(epoch from '2026-06-13 10:17:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050439 -2.797785)', '2026-06-13 10:17:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050464 -2.797636)'), GeomFromEWKT('SRID=4674;POINT (-40.050439 -2.797785)'))) / (select extract(epoch from '2026-06-13 10:17:29'::timestamp) - extract(epoch from '2026-06-13 10:17:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050464 -2.797636)'), GeomFromEWKT('SRID=4674;POINT (-40.050439 -2.797785)'))) / (select extract(epoch from '2026-06-13 10:17:29'::timestamp) - extract(epoch from '2026-06-13 10:17:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.05043 -2.797884)', '2026-06-13 10:17:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050439 -2.797785)'), GeomFromEWKT('SRID=4674;POINT (-40.05043 -2.797884)'))) / (select extract(epoch from '2026-06-13 10:17:37'::timestamp) - extract(epoch from '2026-06-13 10:17:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050439 -2.797785)'), GeomFromEWKT('SRID=4674;POINT (-40.05043 -2.797884)'))) / (select extract(epoch from '2026-06-13 10:17:37'::timestamp) - extract(epoch from '2026-06-13 10:17:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050434 -2.797976)', '2026-06-13 10:17:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05043 -2.797884)'), GeomFromEWKT('SRID=4674;POINT (-40.050434 -2.797976)'))) / (select extract(epoch from '2026-06-13 10:17:43'::timestamp) - extract(epoch from '2026-06-13 10:17:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05043 -2.797884)'), GeomFromEWKT('SRID=4674;POINT (-40.050434 -2.797976)'))) / (select extract(epoch from '2026-06-13 10:17:43'::timestamp) - extract(epoch from '2026-06-13 10:17:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.05046 -2.798127)', '2026-06-13 10:17:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050434 -2.797976)'), GeomFromEWKT('SRID=4674;POINT (-40.05046 -2.798127)'))) / (select extract(epoch from '2026-06-13 10:17:52'::timestamp) - extract(epoch from '2026-06-13 10:17:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050434 -2.797976)'), GeomFromEWKT('SRID=4674;POINT (-40.05046 -2.798127)'))) / (select extract(epoch from '2026-06-13 10:17:52'::timestamp) - extract(epoch from '2026-06-13 10:17:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050453 -2.798223)', '2026-06-13 10:17:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05046 -2.798127)'), GeomFromEWKT('SRID=4674;POINT (-40.050453 -2.798223)'))) / (select extract(epoch from '2026-06-13 10:17:58'::timestamp) - extract(epoch from '2026-06-13 10:17:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05046 -2.798127)'), GeomFromEWKT('SRID=4674;POINT (-40.050453 -2.798223)'))) / (select extract(epoch from '2026-06-13 10:17:58'::timestamp) - extract(epoch from '2026-06-13 10:17:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050413 -2.798269)', '2026-06-13 10:18:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050453 -2.798223)'), GeomFromEWKT('SRID=4674;POINT (-40.050413 -2.798269)'))) / (select extract(epoch from '2026-06-13 10:18:03'::timestamp) - extract(epoch from '2026-06-13 10:17:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050453 -2.798223)'), GeomFromEWKT('SRID=4674;POINT (-40.050413 -2.798269)'))) / (select extract(epoch from '2026-06-13 10:18:03'::timestamp) - extract(epoch from '2026-06-13 10:17:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050405 -2.798278)', '2026-06-13 10:18:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050413 -2.798269)'), GeomFromEWKT('SRID=4674;POINT (-40.050405 -2.798278)'))) / (select extract(epoch from '2026-06-13 10:18:04'::timestamp) - extract(epoch from '2026-06-13 10:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050413 -2.798269)'), GeomFromEWKT('SRID=4674;POINT (-40.050405 -2.798278)'))) / (select extract(epoch from '2026-06-13 10:18:04'::timestamp) - extract(epoch from '2026-06-13 10:18:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050397 -2.798285)', '2026-06-13 10:18:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050405 -2.798278)'), GeomFromEWKT('SRID=4674;POINT (-40.050397 -2.798285)'))) / (select extract(epoch from '2026-06-13 10:18:05'::timestamp) - extract(epoch from '2026-06-13 10:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050405 -2.798278)'), GeomFromEWKT('SRID=4674;POINT (-40.050397 -2.798285)'))) / (select extract(epoch from '2026-06-13 10:18:05'::timestamp) - extract(epoch from '2026-06-13 10: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'), 46944, 'SRID=4674;POINT (-40.050359 -2.798318)', '2026-06-13 10:18:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050397 -2.798285)'), GeomFromEWKT('SRID=4674;POINT (-40.050359 -2.798318)'))) / (select extract(epoch from '2026-06-13 10:18:09'::timestamp) - extract(epoch from '2026-06-13 10:18:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050397 -2.798285)'), GeomFromEWKT('SRID=4674;POINT (-40.050359 -2.798318)'))) / (select extract(epoch from '2026-06-13 10:18:09'::timestamp) - extract(epoch from '2026-06-13 10:18:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050304 -2.798374)', '2026-06-13 10:18:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050359 -2.798318)'), GeomFromEWKT('SRID=4674;POINT (-40.050304 -2.798374)'))) / (select extract(epoch from '2026-06-13 10:18:15'::timestamp) - extract(epoch from '2026-06-13 10:18:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050359 -2.798318)'), GeomFromEWKT('SRID=4674;POINT (-40.050304 -2.798374)'))) / (select extract(epoch from '2026-06-13 10:18:15'::timestamp) - extract(epoch from '2026-06-13 10:18:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050298 -2.798385)', '2026-06-13 10:18:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050304 -2.798374)'), GeomFromEWKT('SRID=4674;POINT (-40.050298 -2.798385)'))) / (select extract(epoch from '2026-06-13 10:18:16'::timestamp) - extract(epoch from '2026-06-13 10:18:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050304 -2.798374)'), GeomFromEWKT('SRID=4674;POINT (-40.050298 -2.798385)'))) / (select extract(epoch from '2026-06-13 10:18:16'::timestamp) - extract(epoch from '2026-06-13 10:18:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050263 -2.798481)', '2026-06-13 10:18:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050298 -2.798385)'), GeomFromEWKT('SRID=4674;POINT (-40.050263 -2.798481)'))) / (select extract(epoch from '2026-06-13 10:18:23'::timestamp) - extract(epoch from '2026-06-13 10:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050298 -2.798385)'), GeomFromEWKT('SRID=4674;POINT (-40.050263 -2.798481)'))) / (select extract(epoch from '2026-06-13 10:18:23'::timestamp) - extract(epoch from '2026-06-13 10:18:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050217 -2.7986)', '2026-06-13 10:18:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050263 -2.798481)'), GeomFromEWKT('SRID=4674;POINT (-40.050217 -2.7986)'))) / (select extract(epoch from '2026-06-13 10:18:31'::timestamp) - extract(epoch from '2026-06-13 10:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050263 -2.798481)'), GeomFromEWKT('SRID=4674;POINT (-40.050217 -2.7986)'))) / (select extract(epoch from '2026-06-13 10:18:31'::timestamp) - extract(epoch from '2026-06-13 10: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'), 46944, 'SRID=4674;POINT (-40.050182 -2.798687)', '2026-06-13 10:18:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050217 -2.7986)'), GeomFromEWKT('SRID=4674;POINT (-40.050182 -2.798687)'))) / (select extract(epoch from '2026-06-13 10:18:37'::timestamp) - extract(epoch from '2026-06-13 10:18:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050217 -2.7986)'), GeomFromEWKT('SRID=4674;POINT (-40.050182 -2.798687)'))) / (select extract(epoch from '2026-06-13 10:18:37'::timestamp) - extract(epoch from '2026-06-13 10: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'), 46944, 'SRID=4674;POINT (-40.050177 -2.798701)', '2026-06-13 10:18:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050182 -2.798687)'), GeomFromEWKT('SRID=4674;POINT (-40.050177 -2.798701)'))) / (select extract(epoch from '2026-06-13 10:18:38'::timestamp) - extract(epoch from '2026-06-13 10:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050182 -2.798687)'), GeomFromEWKT('SRID=4674;POINT (-40.050177 -2.798701)'))) / (select extract(epoch from '2026-06-13 10:18:38'::timestamp) - extract(epoch from '2026-06-13 10: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'), 46944, 'SRID=4674;POINT (-40.050165 -2.798742)', '2026-06-13 10:18:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050177 -2.798701)'), GeomFromEWKT('SRID=4674;POINT (-40.050165 -2.798742)'))) / (select extract(epoch from '2026-06-13 10:18:41'::timestamp) - extract(epoch from '2026-06-13 10:18:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050177 -2.798701)'), GeomFromEWKT('SRID=4674;POINT (-40.050165 -2.798742)'))) / (select extract(epoch from '2026-06-13 10:18:41'::timestamp) - extract(epoch from '2026-06-13 10:18:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050152 -2.798768)', '2026-06-13 10:18:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050165 -2.798742)'), GeomFromEWKT('SRID=4674;POINT (-40.050152 -2.798768)'))) / (select extract(epoch from '2026-06-13 10:18:43'::timestamp) - extract(epoch from '2026-06-13 10:18:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050165 -2.798742)'), GeomFromEWKT('SRID=4674;POINT (-40.050152 -2.798768)'))) / (select extract(epoch from '2026-06-13 10:18:43'::timestamp) - extract(epoch from '2026-06-13 10:18:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050132 -2.798802)', '2026-06-13 10:18:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050152 -2.798768)'), GeomFromEWKT('SRID=4674;POINT (-40.050132 -2.798802)'))) / (select extract(epoch from '2026-06-13 10:18:46'::timestamp) - extract(epoch from '2026-06-13 10:18:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050152 -2.798768)'), GeomFromEWKT('SRID=4674;POINT (-40.050132 -2.798802)'))) / (select extract(epoch from '2026-06-13 10:18:46'::timestamp) - extract(epoch from '2026-06-13 10:18:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050122 -2.798905)', '2026-06-13 10:18:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050132 -2.798802)'), GeomFromEWKT('SRID=4674;POINT (-40.050122 -2.798905)'))) / (select extract(epoch from '2026-06-13 10:18:54'::timestamp) - extract(epoch from '2026-06-13 10:18:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050132 -2.798802)'), GeomFromEWKT('SRID=4674;POINT (-40.050122 -2.798905)'))) / (select extract(epoch from '2026-06-13 10:18:54'::timestamp) - extract(epoch from '2026-06-13 10: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'), 46944, 'SRID=4674;POINT (-40.050127 -2.79899)', '2026-06-13 10:19:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050122 -2.798905)'), GeomFromEWKT('SRID=4674;POINT (-40.050127 -2.79899)'))) / (select extract(epoch from '2026-06-13 10:19:01'::timestamp) - extract(epoch from '2026-06-13 10:18:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050122 -2.798905)'), GeomFromEWKT('SRID=4674;POINT (-40.050127 -2.79899)'))) / (select extract(epoch from '2026-06-13 10:19:01'::timestamp) - extract(epoch from '2026-06-13 10:18:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.050112 -2.799048)', '2026-06-13 10:19:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050127 -2.79899)'), GeomFromEWKT('SRID=4674;POINT (-40.050112 -2.799048)'))) / (select extract(epoch from '2026-06-13 10:19:09'::timestamp) - extract(epoch from '2026-06-13 10:19:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050127 -2.79899)'), GeomFromEWKT('SRID=4674;POINT (-40.050112 -2.799048)'))) / (select extract(epoch from '2026-06-13 10:19:09'::timestamp) - extract(epoch from '2026-06-13 10: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'), 46944, 'SRID=4674;POINT (-40.050104 -2.799066)', '2026-06-13 10:19:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050112 -2.799048)'), GeomFromEWKT('SRID=4674;POINT (-40.050104 -2.799066)'))) / (select extract(epoch from '2026-06-13 10:19:17'::timestamp) - extract(epoch from '2026-06-13 10:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050112 -2.799048)'), GeomFromEWKT('SRID=4674;POINT (-40.050104 -2.799066)'))) / (select extract(epoch from '2026-06-13 10:19:17'::timestamp) - extract(epoch from '2026-06-13 10: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'), 46944, 'SRID=4674;POINT (-40.050032 -2.799051)', '2026-06-13 10:19:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050104 -2.799066)'), GeomFromEWKT('SRID=4674;POINT (-40.050032 -2.799051)'))) / (select extract(epoch from '2026-06-13 10:19:34'::timestamp) - extract(epoch from '2026-06-13 10:19:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050104 -2.799066)'), GeomFromEWKT('SRID=4674;POINT (-40.050032 -2.799051)'))) / (select extract(epoch from '2026-06-13 10:19:34'::timestamp) - extract(epoch from '2026-06-13 10:19:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.049959 -2.799031)', '2026-06-13 10:19:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050032 -2.799051)'), GeomFromEWKT('SRID=4674;POINT (-40.049959 -2.799031)'))) / (select extract(epoch from '2026-06-13 10:19:44'::timestamp) - extract(epoch from '2026-06-13 10:19:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050032 -2.799051)'), GeomFromEWKT('SRID=4674;POINT (-40.049959 -2.799031)'))) / (select extract(epoch from '2026-06-13 10:19:44'::timestamp) - extract(epoch from '2026-06-13 10:19:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.04987 -2.798988)', '2026-06-13 10:19:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049959 -2.799031)'), GeomFromEWKT('SRID=4674;POINT (-40.04987 -2.798988)'))) / (select extract(epoch from '2026-06-13 10:19:53'::timestamp) - extract(epoch from '2026-06-13 10:19:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049959 -2.799031)'), GeomFromEWKT('SRID=4674;POINT (-40.04987 -2.798988)'))) / (select extract(epoch from '2026-06-13 10:19:53'::timestamp) - extract(epoch from '2026-06-13 10:19: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'), 46944, 'SRID=4674;POINT (-40.049837 -2.798961)', '2026-06-13 10:20:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04987 -2.798988)'), GeomFromEWKT('SRID=4674;POINT (-40.049837 -2.798961)'))) / (select extract(epoch from '2026-06-13 10:20:01'::timestamp) - extract(epoch from '2026-06-13 10:19:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04987 -2.798988)'), GeomFromEWKT('SRID=4674;POINT (-40.049837 -2.798961)'))) / (select extract(epoch from '2026-06-13 10:20:01'::timestamp) - extract(epoch from '2026-06-13 10:19:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46944, 'SRID=4674;POINT (-40.049913 -2.79894)', '2026-06-13 10:20:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049837 -2.798961)'), GeomFromEWKT('SRID=4674;POINT (-40.049913 -2.79894)'))) / (select extract(epoch from '2026-06-13 10:20:27'::timestamp) - extract(epoch from '2026-06-13 10:20:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049837 -2.798961)'), GeomFromEWKT('SRID=4674;POINT (-40.049913 -2.79894)'))) / (select extract(epoch from '2026-06-13 10:20:27'::timestamp) - extract(epoch from '2026-06-13 10:20:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
