 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.416373 -2.811437)', '2026-07-11 05:38:34', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416553 -2.811406)'), GeomFromEWKT('SRID=4674;POINT (-40.416373 -2.811437)'))) / (select extract(epoch from '2026-07-11 05:38:34'::timestamp) - extract(epoch from '2026-07-11 05:38:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416553 -2.811406)'), GeomFromEWKT('SRID=4674;POINT (-40.416373 -2.811437)'))) / (select extract(epoch from '2026-07-11 05:38:34'::timestamp) - extract(epoch from '2026-07-11 05:38:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.416188 -2.811471)', '2026-07-11 05:38:43', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416373 -2.811437)'), GeomFromEWKT('SRID=4674;POINT (-40.416188 -2.811471)'))) / (select extract(epoch from '2026-07-11 05:38:43'::timestamp) - extract(epoch from '2026-07-11 05:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416373 -2.811437)'), GeomFromEWKT('SRID=4674;POINT (-40.416188 -2.811471)'))) / (select extract(epoch from '2026-07-11 05:38:43'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47635, 'SRID=4674;POINT (-40.415986 -2.811505)', '2026-07-11 05:38:53', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416188 -2.811471)'), GeomFromEWKT('SRID=4674;POINT (-40.415986 -2.811505)'))) / (select extract(epoch from '2026-07-11 05:38:53'::timestamp) - extract(epoch from '2026-07-11 05:38:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416188 -2.811471)'), GeomFromEWKT('SRID=4674;POINT (-40.415986 -2.811505)'))) / (select extract(epoch from '2026-07-11 05:38:53'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47635, 'SRID=4674;POINT (-40.415782 -2.811523)', '2026-07-11 05:39:03', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415986 -2.811505)'), GeomFromEWKT('SRID=4674;POINT (-40.415782 -2.811523)'))) / (select extract(epoch from '2026-07-11 05:39:03'::timestamp) - extract(epoch from '2026-07-11 05:38:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415986 -2.811505)'), GeomFromEWKT('SRID=4674;POINT (-40.415782 -2.811523)'))) / (select extract(epoch from '2026-07-11 05:39:03'::timestamp) - extract(epoch from '2026-07-11 05:38:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.415592 -2.811565)', '2026-07-11 05:39:12', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415782 -2.811523)'), GeomFromEWKT('SRID=4674;POINT (-40.415592 -2.811565)'))) / (select extract(epoch from '2026-07-11 05:39:12'::timestamp) - extract(epoch from '2026-07-11 05:39:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415782 -2.811523)'), GeomFromEWKT('SRID=4674;POINT (-40.415592 -2.811565)'))) / (select extract(epoch from '2026-07-11 05:39:12'::timestamp) - extract(epoch from '2026-07-11 05:39:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.415405 -2.811593)', '2026-07-11 05:39:21', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415592 -2.811565)'), GeomFromEWKT('SRID=4674;POINT (-40.415405 -2.811593)'))) / (select extract(epoch from '2026-07-11 05:39:21'::timestamp) - extract(epoch from '2026-07-11 05:39:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415592 -2.811565)'), GeomFromEWKT('SRID=4674;POINT (-40.415405 -2.811593)'))) / (select extract(epoch from '2026-07-11 05:39:21'::timestamp) - extract(epoch from '2026-07-11 05:39:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.415208 -2.811608)', '2026-07-11 05:39:31', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415405 -2.811593)'), GeomFromEWKT('SRID=4674;POINT (-40.415208 -2.811608)'))) / (select extract(epoch from '2026-07-11 05:39:31'::timestamp) - extract(epoch from '2026-07-11 05:39:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415405 -2.811593)'), GeomFromEWKT('SRID=4674;POINT (-40.415208 -2.811608)'))) / (select extract(epoch from '2026-07-11 05:39:31'::timestamp) - extract(epoch from '2026-07-11 05:39:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.41505 -2.811606)', '2026-07-11 05:39:39', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415208 -2.811608)'), GeomFromEWKT('SRID=4674;POINT (-40.41505 -2.811606)'))) / (select extract(epoch from '2026-07-11 05:39:39'::timestamp) - extract(epoch from '2026-07-11 05:39:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415208 -2.811608)'), GeomFromEWKT('SRID=4674;POINT (-40.41505 -2.811606)'))) / (select extract(epoch from '2026-07-11 05:39:39'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47635, 'SRID=4674;POINT (-40.414886 -2.811594)', '2026-07-11 05:39:47', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41505 -2.811606)'), GeomFromEWKT('SRID=4674;POINT (-40.414886 -2.811594)'))) / (select extract(epoch from '2026-07-11 05:39:47'::timestamp) - extract(epoch from '2026-07-11 05:39:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41505 -2.811606)'), GeomFromEWKT('SRID=4674;POINT (-40.414886 -2.811594)'))) / (select extract(epoch from '2026-07-11 05:39:47'::timestamp) - extract(epoch from '2026-07-11 05:39:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.414692 -2.8116)', '2026-07-11 05:39:56', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414886 -2.811594)'), GeomFromEWKT('SRID=4674;POINT (-40.414692 -2.8116)'))) / (select extract(epoch from '2026-07-11 05:39:56'::timestamp) - extract(epoch from '2026-07-11 05:39:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414886 -2.811594)'), GeomFromEWKT('SRID=4674;POINT (-40.414692 -2.8116)'))) / (select extract(epoch from '2026-07-11 05:39:56'::timestamp) - extract(epoch from '2026-07-11 05:39:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.414531 -2.811621)', '2026-07-11 05:40:04', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414692 -2.8116)'), GeomFromEWKT('SRID=4674;POINT (-40.414531 -2.811621)'))) / (select extract(epoch from '2026-07-11 05:40:04'::timestamp) - extract(epoch from '2026-07-11 05:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414692 -2.8116)'), GeomFromEWKT('SRID=4674;POINT (-40.414531 -2.811621)'))) / (select extract(epoch from '2026-07-11 05:40:04'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47635, 'SRID=4674;POINT (-40.414368 -2.811641)', '2026-07-11 05:40:12', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414531 -2.811621)'), GeomFromEWKT('SRID=4674;POINT (-40.414368 -2.811641)'))) / (select extract(epoch from '2026-07-11 05:40:12'::timestamp) - extract(epoch from '2026-07-11 05:40:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414531 -2.811621)'), GeomFromEWKT('SRID=4674;POINT (-40.414368 -2.811641)'))) / (select extract(epoch from '2026-07-11 05:40:12'::timestamp) - extract(epoch from '2026-07-11 05:40:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.414224 -2.811652)', '2026-07-11 05:40:19', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414368 -2.811641)'), GeomFromEWKT('SRID=4674;POINT (-40.414224 -2.811652)'))) / (select extract(epoch from '2026-07-11 05:40:19'::timestamp) - extract(epoch from '2026-07-11 05:40:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414368 -2.811641)'), GeomFromEWKT('SRID=4674;POINT (-40.414224 -2.811652)'))) / (select extract(epoch from '2026-07-11 05:40:19'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47635, 'SRID=4674;POINT (-40.41408 -2.811651)', '2026-07-11 05:40:26', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414224 -2.811652)'), GeomFromEWKT('SRID=4674;POINT (-40.41408 -2.811651)'))) / (select extract(epoch from '2026-07-11 05:40:26'::timestamp) - extract(epoch from '2026-07-11 05:40:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414224 -2.811652)'), GeomFromEWKT('SRID=4674;POINT (-40.41408 -2.811651)'))) / (select extract(epoch from '2026-07-11 05:40:26'::timestamp) - extract(epoch from '2026-07-11 05:40:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.413921 -2.81168)', '2026-07-11 05:40:34', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41408 -2.811651)'), GeomFromEWKT('SRID=4674;POINT (-40.413921 -2.81168)'))) / (select extract(epoch from '2026-07-11 05:40:34'::timestamp) - extract(epoch from '2026-07-11 05:40:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41408 -2.811651)'), GeomFromEWKT('SRID=4674;POINT (-40.413921 -2.81168)'))) / (select extract(epoch from '2026-07-11 05:40:34'::timestamp) - extract(epoch from '2026-07-11 05:40:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.41373 -2.811717)', '2026-07-11 05:40:43', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413921 -2.81168)'), GeomFromEWKT('SRID=4674;POINT (-40.41373 -2.811717)'))) / (select extract(epoch from '2026-07-11 05:40:43'::timestamp) - extract(epoch from '2026-07-11 05:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413921 -2.81168)'), GeomFromEWKT('SRID=4674;POINT (-40.41373 -2.811717)'))) / (select extract(epoch from '2026-07-11 05:40:43'::timestamp) - extract(epoch from '2026-07-11 05:40:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.413569 -2.811742)', '2026-07-11 05:40:51', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41373 -2.811717)'), GeomFromEWKT('SRID=4674;POINT (-40.413569 -2.811742)'))) / (select extract(epoch from '2026-07-11 05:40:51'::timestamp) - extract(epoch from '2026-07-11 05:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41373 -2.811717)'), GeomFromEWKT('SRID=4674;POINT (-40.413569 -2.811742)'))) / (select extract(epoch from '2026-07-11 05:40:51'::timestamp) - extract(epoch from '2026-07-11 05:40:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.413465 -2.81175)', '2026-07-11 05:40:56', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413569 -2.811742)'), GeomFromEWKT('SRID=4674;POINT (-40.413465 -2.81175)'))) / (select extract(epoch from '2026-07-11 05:40:56'::timestamp) - extract(epoch from '2026-07-11 05:40:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413569 -2.811742)'), GeomFromEWKT('SRID=4674;POINT (-40.413465 -2.81175)'))) / (select extract(epoch from '2026-07-11 05:40:56'::timestamp) - extract(epoch from '2026-07-11 05:40:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.413253 -2.811762)', '2026-07-11 05:41:06', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413465 -2.81175)'), GeomFromEWKT('SRID=4674;POINT (-40.413253 -2.811762)'))) / (select extract(epoch from '2026-07-11 05:41:06'::timestamp) - extract(epoch from '2026-07-11 05:40:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413465 -2.81175)'), GeomFromEWKT('SRID=4674;POINT (-40.413253 -2.811762)'))) / (select extract(epoch from '2026-07-11 05:41:06'::timestamp) - extract(epoch from '2026-07-11 05:40:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.413085 -2.811777)', '2026-07-11 05:41:14', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413253 -2.811762)'), GeomFromEWKT('SRID=4674;POINT (-40.413085 -2.811777)'))) / (select extract(epoch from '2026-07-11 05:41:14'::timestamp) - extract(epoch from '2026-07-11 05:41:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413253 -2.811762)'), GeomFromEWKT('SRID=4674;POINT (-40.413085 -2.811777)'))) / (select extract(epoch from '2026-07-11 05:41:14'::timestamp) - extract(epoch from '2026-07-11 05:41:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.412939 -2.811796)', '2026-07-11 05:41:21', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413085 -2.811777)'), GeomFromEWKT('SRID=4674;POINT (-40.412939 -2.811796)'))) / (select extract(epoch from '2026-07-11 05:41:21'::timestamp) - extract(epoch from '2026-07-11 05:41:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413085 -2.811777)'), GeomFromEWKT('SRID=4674;POINT (-40.412939 -2.811796)'))) / (select extract(epoch from '2026-07-11 05:41:21'::timestamp) - extract(epoch from '2026-07-11 05:41:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.412702 -2.811804)', '2026-07-11 05:41:32', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412939 -2.811796)'), GeomFromEWKT('SRID=4674;POINT (-40.412702 -2.811804)'))) / (select extract(epoch from '2026-07-11 05:41:32'::timestamp) - extract(epoch from '2026-07-11 05:41:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412939 -2.811796)'), GeomFromEWKT('SRID=4674;POINT (-40.412702 -2.811804)'))) / (select extract(epoch from '2026-07-11 05:41:32'::timestamp) - extract(epoch from '2026-07-11 05:41:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.412533 -2.811823)', '2026-07-11 05:41:40', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412702 -2.811804)'), GeomFromEWKT('SRID=4674;POINT (-40.412533 -2.811823)'))) / (select extract(epoch from '2026-07-11 05:41:40'::timestamp) - extract(epoch from '2026-07-11 05:41:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412702 -2.811804)'), GeomFromEWKT('SRID=4674;POINT (-40.412533 -2.811823)'))) / (select extract(epoch from '2026-07-11 05:41:40'::timestamp) - extract(epoch from '2026-07-11 05:41:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.412351 -2.811849)', '2026-07-11 05:41:49', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412533 -2.811823)'), GeomFromEWKT('SRID=4674;POINT (-40.412351 -2.811849)'))) / (select extract(epoch from '2026-07-11 05:41:49'::timestamp) - extract(epoch from '2026-07-11 05:41:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412533 -2.811823)'), GeomFromEWKT('SRID=4674;POINT (-40.412351 -2.811849)'))) / (select extract(epoch from '2026-07-11 05:41:49'::timestamp) - extract(epoch from '2026-07-11 05:41:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.412178 -2.811866)', '2026-07-11 05:41:57', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412351 -2.811849)'), GeomFromEWKT('SRID=4674;POINT (-40.412178 -2.811866)'))) / (select extract(epoch from '2026-07-11 05:41:57'::timestamp) - extract(epoch from '2026-07-11 05:41:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412351 -2.811849)'), GeomFromEWKT('SRID=4674;POINT (-40.412178 -2.811866)'))) / (select extract(epoch from '2026-07-11 05:41:57'::timestamp) - extract(epoch from '2026-07-11 05:41:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.412035 -2.811893)', '2026-07-11 05:42:04', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412178 -2.811866)'), GeomFromEWKT('SRID=4674;POINT (-40.412035 -2.811893)'))) / (select extract(epoch from '2026-07-11 05:42:04'::timestamp) - extract(epoch from '2026-07-11 05:41:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412178 -2.811866)'), GeomFromEWKT('SRID=4674;POINT (-40.412035 -2.811893)'))) / (select extract(epoch from '2026-07-11 05:42:04'::timestamp) - extract(epoch from '2026-07-11 05:41:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.41185 -2.811914)', '2026-07-11 05:42:13', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412035 -2.811893)'), GeomFromEWKT('SRID=4674;POINT (-40.41185 -2.811914)'))) / (select extract(epoch from '2026-07-11 05:42:13'::timestamp) - extract(epoch from '2026-07-11 05:42:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412035 -2.811893)'), GeomFromEWKT('SRID=4674;POINT (-40.41185 -2.811914)'))) / (select extract(epoch from '2026-07-11 05:42:13'::timestamp) - extract(epoch from '2026-07-11 05:42:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.411743 -2.811921)', '2026-07-11 05:42:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41185 -2.811914)'), GeomFromEWKT('SRID=4674;POINT (-40.411743 -2.811921)'))) / (select extract(epoch from '2026-07-11 05:42:20'::timestamp) - extract(epoch from '2026-07-11 05:42:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41185 -2.811914)'), GeomFromEWKT('SRID=4674;POINT (-40.411743 -2.811921)'))) / (select extract(epoch from '2026-07-11 05:42:20'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47635, 'SRID=4674;POINT (-40.411646 -2.811911)', '2026-07-11 05:42:30', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411743 -2.811921)'), GeomFromEWKT('SRID=4674;POINT (-40.411646 -2.811911)'))) / (select extract(epoch from '2026-07-11 05:42:30'::timestamp) - extract(epoch from '2026-07-11 05:42:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411743 -2.811921)'), GeomFromEWKT('SRID=4674;POINT (-40.411646 -2.811911)'))) / (select extract(epoch from '2026-07-11 05:42:30'::timestamp) - extract(epoch from '2026-07-11 05:42:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.411605 -2.8119)', '2026-07-11 05:42:36', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411646 -2.811911)'), GeomFromEWKT('SRID=4674;POINT (-40.411605 -2.8119)'))) / (select extract(epoch from '2026-07-11 05:42:36'::timestamp) - extract(epoch from '2026-07-11 05:42:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411646 -2.811911)'), GeomFromEWKT('SRID=4674;POINT (-40.411605 -2.8119)'))) / (select extract(epoch from '2026-07-11 05:42:36'::timestamp) - extract(epoch from '2026-07-11 05:42:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.411531 -2.811857)', '2026-07-11 05:42:53', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411605 -2.8119)'), GeomFromEWKT('SRID=4674;POINT (-40.411531 -2.811857)'))) / (select extract(epoch from '2026-07-11 05:42:53'::timestamp) - extract(epoch from '2026-07-11 05:42:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411605 -2.8119)'), GeomFromEWKT('SRID=4674;POINT (-40.411531 -2.811857)'))) / (select extract(epoch from '2026-07-11 05:42:53'::timestamp) - extract(epoch from '2026-07-11 05:42:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.411523 -2.811842)', '2026-07-11 05:43:04', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411531 -2.811857)'), GeomFromEWKT('SRID=4674;POINT (-40.411523 -2.811842)'))) / (select extract(epoch from '2026-07-11 05:43:04'::timestamp) - extract(epoch from '2026-07-11 05:42:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411531 -2.811857)'), GeomFromEWKT('SRID=4674;POINT (-40.411523 -2.811842)'))) / (select extract(epoch from '2026-07-11 05:43:04'::timestamp) - extract(epoch from '2026-07-11 05:42:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.411567 -2.811756)', '2026-07-11 05:44:10', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411523 -2.811842)'), GeomFromEWKT('SRID=4674;POINT (-40.411567 -2.811756)'))) / (select extract(epoch from '2026-07-11 05:44:10'::timestamp) - extract(epoch from '2026-07-11 05:43:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411523 -2.811842)'), GeomFromEWKT('SRID=4674;POINT (-40.411567 -2.811756)'))) / (select extract(epoch from '2026-07-11 05:44:10'::timestamp) - extract(epoch from '2026-07-11 05:43:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.411664 -2.811764)', '2026-07-11 05:44:44', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411567 -2.811756)'), GeomFromEWKT('SRID=4674;POINT (-40.411664 -2.811764)'))) / (select extract(epoch from '2026-07-11 05:44:44'::timestamp) - extract(epoch from '2026-07-11 05:44:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411567 -2.811756)'), GeomFromEWKT('SRID=4674;POINT (-40.411664 -2.811764)'))) / (select extract(epoch from '2026-07-11 05:44:44'::timestamp) - extract(epoch from '2026-07-11 05:44:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.411743 -2.811688)', '2026-07-11 05:45:22', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411664 -2.811764)'), GeomFromEWKT('SRID=4674;POINT (-40.411743 -2.811688)'))) / (select extract(epoch from '2026-07-11 05:45:22'::timestamp) - extract(epoch from '2026-07-11 05:44:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411664 -2.811764)'), GeomFromEWKT('SRID=4674;POINT (-40.411743 -2.811688)'))) / (select extract(epoch from '2026-07-11 05:45:22'::timestamp) - extract(epoch from '2026-07-11 05:44:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.411682 -2.811589)', '2026-07-11 05:45:32', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411743 -2.811688)'), GeomFromEWKT('SRID=4674;POINT (-40.411682 -2.811589)'))) / (select extract(epoch from '2026-07-11 05:45:32'::timestamp) - extract(epoch from '2026-07-11 05:45:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411743 -2.811688)'), GeomFromEWKT('SRID=4674;POINT (-40.411682 -2.811589)'))) / (select extract(epoch from '2026-07-11 05:45:32'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47635, 'SRID=4674;POINT (-40.411553 -2.811578)', '2026-07-11 05:45:40', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411682 -2.811589)'), GeomFromEWKT('SRID=4674;POINT (-40.411553 -2.811578)'))) / (select extract(epoch from '2026-07-11 05:45:40'::timestamp) - extract(epoch from '2026-07-11 05:45:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411682 -2.811589)'), GeomFromEWKT('SRID=4674;POINT (-40.411553 -2.811578)'))) / (select extract(epoch from '2026-07-11 05:45:40'::timestamp) - extract(epoch from '2026-07-11 05:45:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.411334 -2.811604)', '2026-07-11 05:45:51', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411553 -2.811578)'), GeomFromEWKT('SRID=4674;POINT (-40.411334 -2.811604)'))) / (select extract(epoch from '2026-07-11 05:45:51'::timestamp) - extract(epoch from '2026-07-11 05:45:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411553 -2.811578)'), GeomFromEWKT('SRID=4674;POINT (-40.411334 -2.811604)'))) / (select extract(epoch from '2026-07-11 05:45:51'::timestamp) - extract(epoch from '2026-07-11 05:45:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.411197 -2.811629)', '2026-07-11 05:45:58', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411334 -2.811604)'), GeomFromEWKT('SRID=4674;POINT (-40.411197 -2.811629)'))) / (select extract(epoch from '2026-07-11 05:45:58'::timestamp) - extract(epoch from '2026-07-11 05:45:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411334 -2.811604)'), GeomFromEWKT('SRID=4674;POINT (-40.411197 -2.811629)'))) / (select extract(epoch from '2026-07-11 05:45:58'::timestamp) - extract(epoch from '2026-07-11 05:45:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.411084 -2.81165)', '2026-07-11 05:46:04', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411197 -2.811629)'), GeomFromEWKT('SRID=4674;POINT (-40.411084 -2.81165)'))) / (select extract(epoch from '2026-07-11 05:46:04'::timestamp) - extract(epoch from '2026-07-11 05:45:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411197 -2.811629)'), GeomFromEWKT('SRID=4674;POINT (-40.411084 -2.81165)'))) / (select extract(epoch from '2026-07-11 05:46:04'::timestamp) - extract(epoch from '2026-07-11 05:45:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.410957 -2.811681)', '2026-07-11 05:46:11', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411084 -2.81165)'), GeomFromEWKT('SRID=4674;POINT (-40.410957 -2.811681)'))) / (select extract(epoch from '2026-07-11 05:46:11'::timestamp) - extract(epoch from '2026-07-11 05:46:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411084 -2.81165)'), GeomFromEWKT('SRID=4674;POINT (-40.410957 -2.811681)'))) / (select extract(epoch from '2026-07-11 05:46:11'::timestamp) - extract(epoch from '2026-07-11 05:46:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.410761 -2.811716)', '2026-07-11 05:46:21', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410957 -2.811681)'), GeomFromEWKT('SRID=4674;POINT (-40.410761 -2.811716)'))) / (select extract(epoch from '2026-07-11 05:46:21'::timestamp) - extract(epoch from '2026-07-11 05:46:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410957 -2.811681)'), GeomFromEWKT('SRID=4674;POINT (-40.410761 -2.811716)'))) / (select extract(epoch from '2026-07-11 05:46:21'::timestamp) - extract(epoch from '2026-07-11 05:46:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.410587 -2.811749)', '2026-07-11 05:46:30', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410761 -2.811716)'), GeomFromEWKT('SRID=4674;POINT (-40.410587 -2.811749)'))) / (select extract(epoch from '2026-07-11 05:46:30'::timestamp) - extract(epoch from '2026-07-11 05:46:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410761 -2.811716)'), GeomFromEWKT('SRID=4674;POINT (-40.410587 -2.811749)'))) / (select extract(epoch from '2026-07-11 05:46:30'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47635, 'SRID=4674;POINT (-40.410428 -2.811779)', '2026-07-11 05:46:39', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410587 -2.811749)'), GeomFromEWKT('SRID=4674;POINT (-40.410428 -2.811779)'))) / (select extract(epoch from '2026-07-11 05:46:39'::timestamp) - extract(epoch from '2026-07-11 05:46:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410587 -2.811749)'), GeomFromEWKT('SRID=4674;POINT (-40.410428 -2.811779)'))) / (select extract(epoch from '2026-07-11 05:46:39'::timestamp) - extract(epoch from '2026-07-11 05:46:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.410266 -2.8118)', '2026-07-11 05:46:48', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410428 -2.811779)'), GeomFromEWKT('SRID=4674;POINT (-40.410266 -2.8118)'))) / (select extract(epoch from '2026-07-11 05:46:48'::timestamp) - extract(epoch from '2026-07-11 05:46:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410428 -2.811779)'), GeomFromEWKT('SRID=4674;POINT (-40.410266 -2.8118)'))) / (select extract(epoch from '2026-07-11 05:46:48'::timestamp) - extract(epoch from '2026-07-11 05:46:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.410091 -2.811821)', '2026-07-11 05:46:57', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410266 -2.8118)'), GeomFromEWKT('SRID=4674;POINT (-40.410091 -2.811821)'))) / (select extract(epoch from '2026-07-11 05:46:57'::timestamp) - extract(epoch from '2026-07-11 05:46:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410266 -2.8118)'), GeomFromEWKT('SRID=4674;POINT (-40.410091 -2.811821)'))) / (select extract(epoch from '2026-07-11 05:46:57'::timestamp) - extract(epoch from '2026-07-11 05:46:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.409956 -2.811833)', '2026-07-11 05:47:04', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410091 -2.811821)'), GeomFromEWKT('SRID=4674;POINT (-40.409956 -2.811833)'))) / (select extract(epoch from '2026-07-11 05:47:04'::timestamp) - extract(epoch from '2026-07-11 05:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410091 -2.811821)'), GeomFromEWKT('SRID=4674;POINT (-40.409956 -2.811833)'))) / (select extract(epoch from '2026-07-11 05:47:04'::timestamp) - extract(epoch from '2026-07-11 05:46:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.40982 -2.811863)', '2026-07-11 05:47:11', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409956 -2.811833)'), GeomFromEWKT('SRID=4674;POINT (-40.40982 -2.811863)'))) / (select extract(epoch from '2026-07-11 05:47:11'::timestamp) - extract(epoch from '2026-07-11 05:47:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409956 -2.811833)'), GeomFromEWKT('SRID=4674;POINT (-40.40982 -2.811863)'))) / (select extract(epoch from '2026-07-11 05:47:11'::timestamp) - extract(epoch from '2026-07-11 05:47:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.409653 -2.811894)', '2026-07-11 05:47:20', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40982 -2.811863)'), GeomFromEWKT('SRID=4674;POINT (-40.409653 -2.811894)'))) / (select extract(epoch from '2026-07-11 05:47:20'::timestamp) - extract(epoch from '2026-07-11 05:47:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40982 -2.811863)'), GeomFromEWKT('SRID=4674;POINT (-40.409653 -2.811894)'))) / (select extract(epoch from '2026-07-11 05:47:20'::timestamp) - extract(epoch from '2026-07-11 05:47:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.409507 -2.811935)', '2026-07-11 05:47:28', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409653 -2.811894)'), GeomFromEWKT('SRID=4674;POINT (-40.409507 -2.811935)'))) / (select extract(epoch from '2026-07-11 05:47:28'::timestamp) - extract(epoch from '2026-07-11 05:47:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409653 -2.811894)'), GeomFromEWKT('SRID=4674;POINT (-40.409507 -2.811935)'))) / (select extract(epoch from '2026-07-11 05:47:28'::timestamp) - extract(epoch from '2026-07-11 05:47:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.409324 -2.811953)', '2026-07-11 05:47:38', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409507 -2.811935)'), GeomFromEWKT('SRID=4674;POINT (-40.409324 -2.811953)'))) / (select extract(epoch from '2026-07-11 05:47:38'::timestamp) - extract(epoch from '2026-07-11 05:47:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409507 -2.811935)'), GeomFromEWKT('SRID=4674;POINT (-40.409324 -2.811953)'))) / (select extract(epoch from '2026-07-11 05:47:38'::timestamp) - extract(epoch from '2026-07-11 05:47:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.409158 -2.811976)', '2026-07-11 05:47:46', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409324 -2.811953)'), GeomFromEWKT('SRID=4674;POINT (-40.409158 -2.811976)'))) / (select extract(epoch from '2026-07-11 05:47:46'::timestamp) - extract(epoch from '2026-07-11 05:47:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409324 -2.811953)'), GeomFromEWKT('SRID=4674;POINT (-40.409158 -2.811976)'))) / (select extract(epoch from '2026-07-11 05:47:46'::timestamp) - extract(epoch from '2026-07-11 05:47:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.408979 -2.812005)', '2026-07-11 05:47:55', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409158 -2.811976)'), GeomFromEWKT('SRID=4674;POINT (-40.408979 -2.812005)'))) / (select extract(epoch from '2026-07-11 05:47:55'::timestamp) - extract(epoch from '2026-07-11 05:47:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409158 -2.811976)'), GeomFromEWKT('SRID=4674;POINT (-40.408979 -2.812005)'))) / (select extract(epoch from '2026-07-11 05:47:55'::timestamp) - extract(epoch from '2026-07-11 05:47:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.408816 -2.812051)', '2026-07-11 05:48:03', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408979 -2.812005)'), GeomFromEWKT('SRID=4674;POINT (-40.408816 -2.812051)'))) / (select extract(epoch from '2026-07-11 05:48:03'::timestamp) - extract(epoch from '2026-07-11 05:47:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408979 -2.812005)'), GeomFromEWKT('SRID=4674;POINT (-40.408816 -2.812051)'))) / (select extract(epoch from '2026-07-11 05:48:03'::timestamp) - extract(epoch from '2026-07-11 05:47:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.40869 -2.812075)', '2026-07-11 05:48:10', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408816 -2.812051)'), GeomFromEWKT('SRID=4674;POINT (-40.40869 -2.812075)'))) / (select extract(epoch from '2026-07-11 05:48:10'::timestamp) - extract(epoch from '2026-07-11 05:48:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408816 -2.812051)'), GeomFromEWKT('SRID=4674;POINT (-40.40869 -2.812075)'))) / (select extract(epoch from '2026-07-11 05:48:10'::timestamp) - extract(epoch from '2026-07-11 05:48:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.408528 -2.812087)', '2026-07-11 05:48:18', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40869 -2.812075)'), GeomFromEWKT('SRID=4674;POINT (-40.408528 -2.812087)'))) / (select extract(epoch from '2026-07-11 05:48:18'::timestamp) - extract(epoch from '2026-07-11 05:48:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40869 -2.812075)'), GeomFromEWKT('SRID=4674;POINT (-40.408528 -2.812087)'))) / (select extract(epoch from '2026-07-11 05:48:18'::timestamp) - extract(epoch from '2026-07-11 05:48:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.40831 -2.812121)', '2026-07-11 05:48:28', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408528 -2.812087)'), GeomFromEWKT('SRID=4674;POINT (-40.40831 -2.812121)'))) / (select extract(epoch from '2026-07-11 05:48:28'::timestamp) - extract(epoch from '2026-07-11 05:48:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408528 -2.812087)'), GeomFromEWKT('SRID=4674;POINT (-40.40831 -2.812121)'))) / (select extract(epoch from '2026-07-11 05:48:28'::timestamp) - extract(epoch from '2026-07-11 05:48:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.408157 -2.812138)', '2026-07-11 05:48:36', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40831 -2.812121)'), GeomFromEWKT('SRID=4674;POINT (-40.408157 -2.812138)'))) / (select extract(epoch from '2026-07-11 05:48:36'::timestamp) - extract(epoch from '2026-07-11 05:48:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40831 -2.812121)'), GeomFromEWKT('SRID=4674;POINT (-40.408157 -2.812138)'))) / (select extract(epoch from '2026-07-11 05:48:36'::timestamp) - extract(epoch from '2026-07-11 05:48:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.408014 -2.812144)', '2026-07-11 05:48:43', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408157 -2.812138)'), GeomFromEWKT('SRID=4674;POINT (-40.408014 -2.812144)'))) / (select extract(epoch from '2026-07-11 05:48:43'::timestamp) - extract(epoch from '2026-07-11 05:48:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408157 -2.812138)'), GeomFromEWKT('SRID=4674;POINT (-40.408014 -2.812144)'))) / (select extract(epoch from '2026-07-11 05:48:43'::timestamp) - extract(epoch from '2026-07-11 05:48:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.407846 -2.812159)', '2026-07-11 05:48:51', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408014 -2.812144)'), GeomFromEWKT('SRID=4674;POINT (-40.407846 -2.812159)'))) / (select extract(epoch from '2026-07-11 05:48:51'::timestamp) - extract(epoch from '2026-07-11 05:48:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408014 -2.812144)'), GeomFromEWKT('SRID=4674;POINT (-40.407846 -2.812159)'))) / (select extract(epoch from '2026-07-11 05:48:51'::timestamp) - extract(epoch from '2026-07-11 05:48:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.407693 -2.812175)', '2026-07-11 05:48:59', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407846 -2.812159)'), GeomFromEWKT('SRID=4674;POINT (-40.407693 -2.812175)'))) / (select extract(epoch from '2026-07-11 05:48:59'::timestamp) - extract(epoch from '2026-07-11 05:48:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407846 -2.812159)'), GeomFromEWKT('SRID=4674;POINT (-40.407693 -2.812175)'))) / (select extract(epoch from '2026-07-11 05:48:59'::timestamp) - extract(epoch from '2026-07-11 05:48:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.407547 -2.812191)', '2026-07-11 05:49:06', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407693 -2.812175)'), GeomFromEWKT('SRID=4674;POINT (-40.407547 -2.812191)'))) / (select extract(epoch from '2026-07-11 05:49:06'::timestamp) - extract(epoch from '2026-07-11 05:48:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407693 -2.812175)'), GeomFromEWKT('SRID=4674;POINT (-40.407547 -2.812191)'))) / (select extract(epoch from '2026-07-11 05:49:06'::timestamp) - extract(epoch from '2026-07-11 05:48:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.407367 -2.812204)', '2026-07-11 05:49:15', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407547 -2.812191)'), GeomFromEWKT('SRID=4674;POINT (-40.407367 -2.812204)'))) / (select extract(epoch from '2026-07-11 05:49:15'::timestamp) - extract(epoch from '2026-07-11 05:49:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407547 -2.812191)'), GeomFromEWKT('SRID=4674;POINT (-40.407367 -2.812204)'))) / (select extract(epoch from '2026-07-11 05:49:15'::timestamp) - extract(epoch from '2026-07-11 05:49:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.407208 -2.81224)', '2026-07-11 05:49:23', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407367 -2.812204)'), GeomFromEWKT('SRID=4674;POINT (-40.407208 -2.81224)'))) / (select extract(epoch from '2026-07-11 05:49:23'::timestamp) - extract(epoch from '2026-07-11 05:49:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407367 -2.812204)'), GeomFromEWKT('SRID=4674;POINT (-40.407208 -2.81224)'))) / (select extract(epoch from '2026-07-11 05:49:23'::timestamp) - extract(epoch from '2026-07-11 05:49:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.407065 -2.812252)', '2026-07-11 05:49:30', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407208 -2.81224)'), GeomFromEWKT('SRID=4674;POINT (-40.407065 -2.812252)'))) / (select extract(epoch from '2026-07-11 05:49:30'::timestamp) - extract(epoch from '2026-07-11 05:49:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407208 -2.81224)'), GeomFromEWKT('SRID=4674;POINT (-40.407065 -2.812252)'))) / (select extract(epoch from '2026-07-11 05:49:30'::timestamp) - extract(epoch from '2026-07-11 05:49:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.406951 -2.812251)', '2026-07-11 05:49:36', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407065 -2.812252)'), GeomFromEWKT('SRID=4674;POINT (-40.406951 -2.812251)'))) / (select extract(epoch from '2026-07-11 05:49:36'::timestamp) - extract(epoch from '2026-07-11 05:49:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407065 -2.812252)'), GeomFromEWKT('SRID=4674;POINT (-40.406951 -2.812251)'))) / (select extract(epoch from '2026-07-11 05:49:36'::timestamp) - extract(epoch from '2026-07-11 05:49:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.406805 -2.812272)', '2026-07-11 05:49:44', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406951 -2.812251)'), GeomFromEWKT('SRID=4674;POINT (-40.406805 -2.812272)'))) / (select extract(epoch from '2026-07-11 05:49:44'::timestamp) - extract(epoch from '2026-07-11 05:49:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406951 -2.812251)'), GeomFromEWKT('SRID=4674;POINT (-40.406805 -2.812272)'))) / (select extract(epoch from '2026-07-11 05:49:44'::timestamp) - extract(epoch from '2026-07-11 05:49:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.406617 -2.812288)', '2026-07-11 05:49:53', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406805 -2.812272)'), GeomFromEWKT('SRID=4674;POINT (-40.406617 -2.812288)'))) / (select extract(epoch from '2026-07-11 05:49:53'::timestamp) - extract(epoch from '2026-07-11 05:49:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406805 -2.812272)'), GeomFromEWKT('SRID=4674;POINT (-40.406617 -2.812288)'))) / (select extract(epoch from '2026-07-11 05:49:53'::timestamp) - extract(epoch from '2026-07-11 05:49:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.406502 -2.812289)', '2026-07-11 05:49:59', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406617 -2.812288)'), GeomFromEWKT('SRID=4674;POINT (-40.406502 -2.812289)'))) / (select extract(epoch from '2026-07-11 05:49:59'::timestamp) - extract(epoch from '2026-07-11 05:49:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406617 -2.812288)'), GeomFromEWKT('SRID=4674;POINT (-40.406502 -2.812289)'))) / (select extract(epoch from '2026-07-11 05:49:59'::timestamp) - extract(epoch from '2026-07-11 05:49:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.406382 -2.812291)', '2026-07-11 05:50:05', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406502 -2.812289)'), GeomFromEWKT('SRID=4674;POINT (-40.406382 -2.812291)'))) / (select extract(epoch from '2026-07-11 05:50:05'::timestamp) - extract(epoch from '2026-07-11 05:49:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406502 -2.812289)'), GeomFromEWKT('SRID=4674;POINT (-40.406382 -2.812291)'))) / (select extract(epoch from '2026-07-11 05:50:05'::timestamp) - extract(epoch from '2026-07-11 05:49:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.406239 -2.812296)', '2026-07-11 05:50:12', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406382 -2.812291)'), GeomFromEWKT('SRID=4674;POINT (-40.406239 -2.812296)'))) / (select extract(epoch from '2026-07-11 05:50:12'::timestamp) - extract(epoch from '2026-07-11 05:50:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406382 -2.812291)'), GeomFromEWKT('SRID=4674;POINT (-40.406239 -2.812296)'))) / (select extract(epoch from '2026-07-11 05:50:12'::timestamp) - extract(epoch from '2026-07-11 05:50:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.406081 -2.812313)', '2026-07-11 05:50:20', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406239 -2.812296)'), GeomFromEWKT('SRID=4674;POINT (-40.406081 -2.812313)'))) / (select extract(epoch from '2026-07-11 05:50:20'::timestamp) - extract(epoch from '2026-07-11 05:50:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406239 -2.812296)'), GeomFromEWKT('SRID=4674;POINT (-40.406081 -2.812313)'))) / (select extract(epoch from '2026-07-11 05:50:20'::timestamp) - extract(epoch from '2026-07-11 05:50:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.405938 -2.812319)', '2026-07-11 05:50:27', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406081 -2.812313)'), GeomFromEWKT('SRID=4674;POINT (-40.405938 -2.812319)'))) / (select extract(epoch from '2026-07-11 05:50:27'::timestamp) - extract(epoch from '2026-07-11 05:50:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406081 -2.812313)'), GeomFromEWKT('SRID=4674;POINT (-40.405938 -2.812319)'))) / (select extract(epoch from '2026-07-11 05:50:27'::timestamp) - extract(epoch from '2026-07-11 05:50:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.405756 -2.812331)', '2026-07-11 05:50:36', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405938 -2.812319)'), GeomFromEWKT('SRID=4674;POINT (-40.405756 -2.812331)'))) / (select extract(epoch from '2026-07-11 05:50:36'::timestamp) - extract(epoch from '2026-07-11 05:50:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405938 -2.812319)'), GeomFromEWKT('SRID=4674;POINT (-40.405756 -2.812331)'))) / (select extract(epoch from '2026-07-11 05:50:36'::timestamp) - extract(epoch from '2026-07-11 05:50:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.405587 -2.812343)', '2026-07-11 05:50:44', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405756 -2.812331)'), GeomFromEWKT('SRID=4674;POINT (-40.405587 -2.812343)'))) / (select extract(epoch from '2026-07-11 05:50:44'::timestamp) - extract(epoch from '2026-07-11 05:50:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405756 -2.812331)'), GeomFromEWKT('SRID=4674;POINT (-40.405587 -2.812343)'))) / (select extract(epoch from '2026-07-11 05:50:44'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47635, 'SRID=4674;POINT (-40.405406 -2.812359)', '2026-07-11 05:50:53', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405587 -2.812343)'), GeomFromEWKT('SRID=4674;POINT (-40.405406 -2.812359)'))) / (select extract(epoch from '2026-07-11 05:50:53'::timestamp) - extract(epoch from '2026-07-11 05:50:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405587 -2.812343)'), GeomFromEWKT('SRID=4674;POINT (-40.405406 -2.812359)'))) / (select extract(epoch from '2026-07-11 05:50:53'::timestamp) - extract(epoch from '2026-07-11 05:50:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.405236 -2.81236)', '2026-07-11 05:51:01', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405406 -2.812359)'), GeomFromEWKT('SRID=4674;POINT (-40.405236 -2.81236)'))) / (select extract(epoch from '2026-07-11 05:51:01'::timestamp) - extract(epoch from '2026-07-11 05:50:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405406 -2.812359)'), GeomFromEWKT('SRID=4674;POINT (-40.405236 -2.81236)'))) / (select extract(epoch from '2026-07-11 05:51:01'::timestamp) - extract(epoch from '2026-07-11 05:50:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.405094 -2.812354)', '2026-07-11 05:51:08', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405236 -2.81236)'), GeomFromEWKT('SRID=4674;POINT (-40.405094 -2.812354)'))) / (select extract(epoch from '2026-07-11 05:51:08'::timestamp) - extract(epoch from '2026-07-11 05:51:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405236 -2.81236)'), GeomFromEWKT('SRID=4674;POINT (-40.405094 -2.812354)'))) / (select extract(epoch from '2026-07-11 05:51:08'::timestamp) - extract(epoch from '2026-07-11 05:51:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.404928 -2.812349)', '2026-07-11 05:51:16', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405094 -2.812354)'), GeomFromEWKT('SRID=4674;POINT (-40.404928 -2.812349)'))) / (select extract(epoch from '2026-07-11 05:51:16'::timestamp) - extract(epoch from '2026-07-11 05:51:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405094 -2.812354)'), GeomFromEWKT('SRID=4674;POINT (-40.404928 -2.812349)'))) / (select extract(epoch from '2026-07-11 05:51:16'::timestamp) - extract(epoch from '2026-07-11 05:51:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.404726 -2.81234)', '2026-07-11 05:51:26', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404928 -2.812349)'), GeomFromEWKT('SRID=4674;POINT (-40.404726 -2.81234)'))) / (select extract(epoch from '2026-07-11 05:51:26'::timestamp) - extract(epoch from '2026-07-11 05:51:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404928 -2.812349)'), GeomFromEWKT('SRID=4674;POINT (-40.404726 -2.81234)'))) / (select extract(epoch from '2026-07-11 05:51:26'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47635, 'SRID=4674;POINT (-40.404542 -2.812363)', '2026-07-11 05:51:35', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404726 -2.81234)'), GeomFromEWKT('SRID=4674;POINT (-40.404542 -2.812363)'))) / (select extract(epoch from '2026-07-11 05:51:35'::timestamp) - extract(epoch from '2026-07-11 05:51:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404726 -2.81234)'), GeomFromEWKT('SRID=4674;POINT (-40.404542 -2.812363)'))) / (select extract(epoch from '2026-07-11 05:51:35'::timestamp) - extract(epoch from '2026-07-11 05:51:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.404383 -2.812382)', '2026-07-11 05:51:43', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404542 -2.812363)'), GeomFromEWKT('SRID=4674;POINT (-40.404383 -2.812382)'))) / (select extract(epoch from '2026-07-11 05:51:43'::timestamp) - extract(epoch from '2026-07-11 05:51:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404542 -2.812363)'), GeomFromEWKT('SRID=4674;POINT (-40.404383 -2.812382)'))) / (select extract(epoch from '2026-07-11 05:51:43'::timestamp) - extract(epoch from '2026-07-11 05:51:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.404237 -2.812385)', '2026-07-11 05:51:50', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404383 -2.812382)'), GeomFromEWKT('SRID=4674;POINT (-40.404237 -2.812385)'))) / (select extract(epoch from '2026-07-11 05:51:50'::timestamp) - extract(epoch from '2026-07-11 05:51:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404383 -2.812382)'), GeomFromEWKT('SRID=4674;POINT (-40.404237 -2.812385)'))) / (select extract(epoch from '2026-07-11 05:51:50'::timestamp) - extract(epoch from '2026-07-11 05:51:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.404067 -2.812364)', '2026-07-11 05:51:59', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404237 -2.812385)'), GeomFromEWKT('SRID=4674;POINT (-40.404067 -2.812364)'))) / (select extract(epoch from '2026-07-11 05:51:59'::timestamp) - extract(epoch from '2026-07-11 05:51:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404237 -2.812385)'), GeomFromEWKT('SRID=4674;POINT (-40.404067 -2.812364)'))) / (select extract(epoch from '2026-07-11 05:51:59'::timestamp) - extract(epoch from '2026-07-11 05:51:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.40392 -2.812364)', '2026-07-11 05:52:06', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404067 -2.812364)'), GeomFromEWKT('SRID=4674;POINT (-40.40392 -2.812364)'))) / (select extract(epoch from '2026-07-11 05:52:06'::timestamp) - extract(epoch from '2026-07-11 05:51:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404067 -2.812364)'), GeomFromEWKT('SRID=4674;POINT (-40.40392 -2.812364)'))) / (select extract(epoch from '2026-07-11 05:52:06'::timestamp) - extract(epoch from '2026-07-11 05:51:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.40376 -2.812361)', '2026-07-11 05:52:14', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40392 -2.812364)'), GeomFromEWKT('SRID=4674;POINT (-40.40376 -2.812361)'))) / (select extract(epoch from '2026-07-11 05:52:14'::timestamp) - extract(epoch from '2026-07-11 05:52:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40392 -2.812364)'), GeomFromEWKT('SRID=4674;POINT (-40.40376 -2.812361)'))) / (select extract(epoch from '2026-07-11 05:52:14'::timestamp) - extract(epoch from '2026-07-11 05:52:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.403577 -2.812352)', '2026-07-11 05:52:23', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40376 -2.812361)'), GeomFromEWKT('SRID=4674;POINT (-40.403577 -2.812352)'))) / (select extract(epoch from '2026-07-11 05:52:23'::timestamp) - extract(epoch from '2026-07-11 05:52:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40376 -2.812361)'), GeomFromEWKT('SRID=4674;POINT (-40.403577 -2.812352)'))) / (select extract(epoch from '2026-07-11 05:52:23'::timestamp) - extract(epoch from '2026-07-11 05:52:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.40341 -2.812356)', '2026-07-11 05:52:31', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403577 -2.812352)'), GeomFromEWKT('SRID=4674;POINT (-40.40341 -2.812356)'))) / (select extract(epoch from '2026-07-11 05:52:31'::timestamp) - extract(epoch from '2026-07-11 05:52:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403577 -2.812352)'), GeomFromEWKT('SRID=4674;POINT (-40.40341 -2.812356)'))) / (select extract(epoch from '2026-07-11 05:52:31'::timestamp) - extract(epoch from '2026-07-11 05:52:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.403176 -2.812367)', '2026-07-11 05:52:42', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40341 -2.812356)'), GeomFromEWKT('SRID=4674;POINT (-40.403176 -2.812367)'))) / (select extract(epoch from '2026-07-11 05:52:42'::timestamp) - extract(epoch from '2026-07-11 05:52:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40341 -2.812356)'), GeomFromEWKT('SRID=4674;POINT (-40.403176 -2.812367)'))) / (select extract(epoch from '2026-07-11 05:52:42'::timestamp) - extract(epoch from '2026-07-11 05:52:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.403036 -2.81238)', '2026-07-11 05:52:49', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403176 -2.812367)'), GeomFromEWKT('SRID=4674;POINT (-40.403036 -2.81238)'))) / (select extract(epoch from '2026-07-11 05:52:49'::timestamp) - extract(epoch from '2026-07-11 05:52:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403176 -2.812367)'), GeomFromEWKT('SRID=4674;POINT (-40.403036 -2.81238)'))) / (select extract(epoch from '2026-07-11 05:52:49'::timestamp) - extract(epoch from '2026-07-11 05:52:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.402883 -2.812382)', '2026-07-11 05:52:57', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403036 -2.81238)'), GeomFromEWKT('SRID=4674;POINT (-40.402883 -2.812382)'))) / (select extract(epoch from '2026-07-11 05:52:57'::timestamp) - extract(epoch from '2026-07-11 05:52:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403036 -2.81238)'), GeomFromEWKT('SRID=4674;POINT (-40.402883 -2.812382)'))) / (select extract(epoch from '2026-07-11 05:52:57'::timestamp) - extract(epoch from '2026-07-11 05:52:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.402766 -2.812374)', '2026-07-11 05:53:03', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402883 -2.812382)'), GeomFromEWKT('SRID=4674;POINT (-40.402766 -2.812374)'))) / (select extract(epoch from '2026-07-11 05:53:03'::timestamp) - extract(epoch from '2026-07-11 05:52:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402883 -2.812382)'), GeomFromEWKT('SRID=4674;POINT (-40.402766 -2.812374)'))) / (select extract(epoch from '2026-07-11 05:53:03'::timestamp) - extract(epoch from '2026-07-11 05:52:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.402542 -2.812368)', '2026-07-11 05:53:14', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402766 -2.812374)'), GeomFromEWKT('SRID=4674;POINT (-40.402542 -2.812368)'))) / (select extract(epoch from '2026-07-11 05:53:14'::timestamp) - extract(epoch from '2026-07-11 05:53:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402766 -2.812374)'), GeomFromEWKT('SRID=4674;POINT (-40.402542 -2.812368)'))) / (select extract(epoch from '2026-07-11 05:53:14'::timestamp) - extract(epoch from '2026-07-11 05:53:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.402372 -2.812372)', '2026-07-11 05:53:22', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402542 -2.812368)'), GeomFromEWKT('SRID=4674;POINT (-40.402372 -2.812372)'))) / (select extract(epoch from '2026-07-11 05:53:22'::timestamp) - extract(epoch from '2026-07-11 05:53:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402542 -2.812368)'), GeomFromEWKT('SRID=4674;POINT (-40.402372 -2.812372)'))) / (select extract(epoch from '2026-07-11 05:53:22'::timestamp) - extract(epoch from '2026-07-11 05:53:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.402209 -2.812391)', '2026-07-11 05:53:30', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402372 -2.812372)'), GeomFromEWKT('SRID=4674;POINT (-40.402209 -2.812391)'))) / (select extract(epoch from '2026-07-11 05:53:30'::timestamp) - extract(epoch from '2026-07-11 05:53:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402372 -2.812372)'), GeomFromEWKT('SRID=4674;POINT (-40.402209 -2.812391)'))) / (select extract(epoch from '2026-07-11 05:53:30'::timestamp) - extract(epoch from '2026-07-11 05:53:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.402022 -2.812403)', '2026-07-11 05:53:39', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402209 -2.812391)'), GeomFromEWKT('SRID=4674;POINT (-40.402022 -2.812403)'))) / (select extract(epoch from '2026-07-11 05:53:39'::timestamp) - extract(epoch from '2026-07-11 05:53:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402209 -2.812391)'), GeomFromEWKT('SRID=4674;POINT (-40.402022 -2.812403)'))) / (select extract(epoch from '2026-07-11 05:53:39'::timestamp) - extract(epoch from '2026-07-11 05:53:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.401832 -2.8124)', '2026-07-11 05:53:48', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402022 -2.812403)'), GeomFromEWKT('SRID=4674;POINT (-40.401832 -2.8124)'))) / (select extract(epoch from '2026-07-11 05:53:48'::timestamp) - extract(epoch from '2026-07-11 05:53:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402022 -2.812403)'), GeomFromEWKT('SRID=4674;POINT (-40.401832 -2.8124)'))) / (select extract(epoch from '2026-07-11 05:53:48'::timestamp) - extract(epoch from '2026-07-11 05:53:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.401649 -2.812397)', '2026-07-11 05:53:57', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401832 -2.8124)'), GeomFromEWKT('SRID=4674;POINT (-40.401649 -2.812397)'))) / (select extract(epoch from '2026-07-11 05:53:57'::timestamp) - extract(epoch from '2026-07-11 05:53:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401832 -2.8124)'), GeomFromEWKT('SRID=4674;POINT (-40.401649 -2.812397)'))) / (select extract(epoch from '2026-07-11 05:53:57'::timestamp) - extract(epoch from '2026-07-11 05:53:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.401461 -2.812396)', '2026-07-11 05:54:06', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401649 -2.812397)'), GeomFromEWKT('SRID=4674;POINT (-40.401461 -2.812396)'))) / (select extract(epoch from '2026-07-11 05:54:06'::timestamp) - extract(epoch from '2026-07-11 05:53:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401649 -2.812397)'), GeomFromEWKT('SRID=4674;POINT (-40.401461 -2.812396)'))) / (select extract(epoch from '2026-07-11 05:54:06'::timestamp) - extract(epoch from '2026-07-11 05:53:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.401228 -2.812407)', '2026-07-11 05:54:16', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401461 -2.812396)'), GeomFromEWKT('SRID=4674;POINT (-40.401228 -2.812407)'))) / (select extract(epoch from '2026-07-11 05:54:16'::timestamp) - extract(epoch from '2026-07-11 05:54:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401461 -2.812396)'), GeomFromEWKT('SRID=4674;POINT (-40.401228 -2.812407)'))) / (select extract(epoch from '2026-07-11 05:54:16'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47635, 'SRID=4674;POINT (-40.401089 -2.812395)', '2026-07-11 05:54:23', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401228 -2.812407)'), GeomFromEWKT('SRID=4674;POINT (-40.401089 -2.812395)'))) / (select extract(epoch from '2026-07-11 05:54:23'::timestamp) - extract(epoch from '2026-07-11 05:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401228 -2.812407)'), GeomFromEWKT('SRID=4674;POINT (-40.401089 -2.812395)'))) / (select extract(epoch from '2026-07-11 05:54:23'::timestamp) - extract(epoch from '2026-07-11 05:54:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.400963 -2.81239)', '2026-07-11 05:54:33', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401089 -2.812395)'), GeomFromEWKT('SRID=4674;POINT (-40.400963 -2.81239)'))) / (select extract(epoch from '2026-07-11 05:54:33'::timestamp) - extract(epoch from '2026-07-11 05:54:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401089 -2.812395)'), GeomFromEWKT('SRID=4674;POINT (-40.400963 -2.81239)'))) / (select extract(epoch from '2026-07-11 05:54:33'::timestamp) - extract(epoch from '2026-07-11 05:54:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.400886 -2.812377)', '2026-07-11 05:54:44', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400963 -2.81239)'), GeomFromEWKT('SRID=4674;POINT (-40.400886 -2.812377)'))) / (select extract(epoch from '2026-07-11 05:54:44'::timestamp) - extract(epoch from '2026-07-11 05:54:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400963 -2.81239)'), GeomFromEWKT('SRID=4674;POINT (-40.400886 -2.812377)'))) / (select extract(epoch from '2026-07-11 05:54:44'::timestamp) - extract(epoch from '2026-07-11 05:54:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.400834 -2.812373)', '2026-07-11 05:54:55', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400886 -2.812377)'), GeomFromEWKT('SRID=4674;POINT (-40.400834 -2.812373)'))) / (select extract(epoch from '2026-07-11 05:54:55'::timestamp) - extract(epoch from '2026-07-11 05:54:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400886 -2.812377)'), GeomFromEWKT('SRID=4674;POINT (-40.400834 -2.812373)'))) / (select extract(epoch from '2026-07-11 05:54:55'::timestamp) - extract(epoch from '2026-07-11 05:54:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.400818 -2.812362)', '2026-07-11 05:55:03', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400834 -2.812373)'), GeomFromEWKT('SRID=4674;POINT (-40.400818 -2.812362)'))) / (select extract(epoch from '2026-07-11 05:55:03'::timestamp) - extract(epoch from '2026-07-11 05:54:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400834 -2.812373)'), GeomFromEWKT('SRID=4674;POINT (-40.400818 -2.812362)'))) / (select extract(epoch from '2026-07-11 05:55:03'::timestamp) - extract(epoch from '2026-07-11 05:54:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.400894 -2.81226)', '2026-07-11 05:56:39', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400818 -2.812362)'), GeomFromEWKT('SRID=4674;POINT (-40.400894 -2.81226)'))) / (select extract(epoch from '2026-07-11 05:56:39'::timestamp) - extract(epoch from '2026-07-11 05:55:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400818 -2.812362)'), GeomFromEWKT('SRID=4674;POINT (-40.400894 -2.81226)'))) / (select extract(epoch from '2026-07-11 05:56:39'::timestamp) - extract(epoch from '2026-07-11 05:55:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.400923 -2.812244)', '2026-07-11 05:56:49', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400894 -2.81226)'), GeomFromEWKT('SRID=4674;POINT (-40.400923 -2.812244)'))) / (select extract(epoch from '2026-07-11 05:56:49'::timestamp) - extract(epoch from '2026-07-11 05:56:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400894 -2.81226)'), GeomFromEWKT('SRID=4674;POINT (-40.400923 -2.812244)'))) / (select extract(epoch from '2026-07-11 05:56:49'::timestamp) - extract(epoch from '2026-07-11 05:56:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.400961 -2.812224)', '2026-07-11 05:57:01', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400923 -2.812244)'), GeomFromEWKT('SRID=4674;POINT (-40.400961 -2.812224)'))) / (select extract(epoch from '2026-07-11 05:57:01'::timestamp) - extract(epoch from '2026-07-11 05:56:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400923 -2.812244)'), GeomFromEWKT('SRID=4674;POINT (-40.400961 -2.812224)'))) / (select extract(epoch from '2026-07-11 05:57:01'::timestamp) - extract(epoch from '2026-07-11 05:56:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.40101 -2.812196)', '2026-07-11 05:57:16', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400961 -2.812224)'), GeomFromEWKT('SRID=4674;POINT (-40.40101 -2.812196)'))) / (select extract(epoch from '2026-07-11 05:57:16'::timestamp) - extract(epoch from '2026-07-11 05:57:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400961 -2.812224)'), GeomFromEWKT('SRID=4674;POINT (-40.40101 -2.812196)'))) / (select extract(epoch from '2026-07-11 05:57:16'::timestamp) - extract(epoch from '2026-07-11 05:57:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.401038 -2.812182)', '2026-07-11 05:57:26', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40101 -2.812196)'), GeomFromEWKT('SRID=4674;POINT (-40.401038 -2.812182)'))) / (select extract(epoch from '2026-07-11 05:57:26'::timestamp) - extract(epoch from '2026-07-11 05:57:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40101 -2.812196)'), GeomFromEWKT('SRID=4674;POINT (-40.401038 -2.812182)'))) / (select extract(epoch from '2026-07-11 05:57:26'::timestamp) - extract(epoch from '2026-07-11 05:57:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.401072 -2.812162)', '2026-07-11 05:57:38', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401038 -2.812182)'), GeomFromEWKT('SRID=4674;POINT (-40.401072 -2.812162)'))) / (select extract(epoch from '2026-07-11 05:57:38'::timestamp) - extract(epoch from '2026-07-11 05:57:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401038 -2.812182)'), GeomFromEWKT('SRID=4674;POINT (-40.401072 -2.812162)'))) / (select extract(epoch from '2026-07-11 05:57:38'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47635, 'SRID=4674;POINT (-40.401085 -2.812159)', '2026-07-11 05:57:49', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401072 -2.812162)'), GeomFromEWKT('SRID=4674;POINT (-40.401085 -2.812159)'))) / (select extract(epoch from '2026-07-11 05:57:49'::timestamp) - extract(epoch from '2026-07-11 05:57:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401072 -2.812162)'), GeomFromEWKT('SRID=4674;POINT (-40.401085 -2.812159)'))) / (select extract(epoch from '2026-07-11 05:57:49'::timestamp) - extract(epoch from '2026-07-11 05:57:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.401074 -2.812205)', '2026-07-11 05:57:55', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401085 -2.812159)'), GeomFromEWKT('SRID=4674;POINT (-40.401074 -2.812205)'))) / (select extract(epoch from '2026-07-11 05:57:55'::timestamp) - extract(epoch from '2026-07-11 05:57:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401085 -2.812159)'), GeomFromEWKT('SRID=4674;POINT (-40.401074 -2.812205)'))) / (select extract(epoch from '2026-07-11 05:57:55'::timestamp) - extract(epoch from '2026-07-11 05:57:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.400971 -2.812234)', '2026-07-11 05:58:02', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401074 -2.812205)'), GeomFromEWKT('SRID=4674;POINT (-40.400971 -2.812234)'))) / (select extract(epoch from '2026-07-11 05:58:02'::timestamp) - extract(epoch from '2026-07-11 05:57:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401074 -2.812205)'), GeomFromEWKT('SRID=4674;POINT (-40.400971 -2.812234)'))) / (select extract(epoch from '2026-07-11 05:58:02'::timestamp) - extract(epoch from '2026-07-11 05:57:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.400827 -2.812239)', '2026-07-11 05:58:09', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400971 -2.812234)'), GeomFromEWKT('SRID=4674;POINT (-40.400827 -2.812239)'))) / (select extract(epoch from '2026-07-11 05:58:09'::timestamp) - extract(epoch from '2026-07-11 05:58:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400971 -2.812234)'), GeomFromEWKT('SRID=4674;POINT (-40.400827 -2.812239)'))) / (select extract(epoch from '2026-07-11 05:58:09'::timestamp) - extract(epoch from '2026-07-11 05:58:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.400679 -2.812251)', '2026-07-11 05:58:16', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400827 -2.812239)'), GeomFromEWKT('SRID=4674;POINT (-40.400679 -2.812251)'))) / (select extract(epoch from '2026-07-11 05:58:16'::timestamp) - extract(epoch from '2026-07-11 05:58:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400827 -2.812239)'), GeomFromEWKT('SRID=4674;POINT (-40.400679 -2.812251)'))) / (select extract(epoch from '2026-07-11 05:58:16'::timestamp) - extract(epoch from '2026-07-11 05:58:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.400494 -2.812268)', '2026-07-11 05:58:25', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400679 -2.812251)'), GeomFromEWKT('SRID=4674;POINT (-40.400494 -2.812268)'))) / (select extract(epoch from '2026-07-11 05:58:25'::timestamp) - extract(epoch from '2026-07-11 05:58:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400679 -2.812251)'), GeomFromEWKT('SRID=4674;POINT (-40.400494 -2.812268)'))) / (select extract(epoch from '2026-07-11 05:58:25'::timestamp) - extract(epoch from '2026-07-11 05:58:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.400324 -2.812275)', '2026-07-11 05:58:33', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400494 -2.812268)'), GeomFromEWKT('SRID=4674;POINT (-40.400324 -2.812275)'))) / (select extract(epoch from '2026-07-11 05:58:33'::timestamp) - extract(epoch from '2026-07-11 05:58:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400494 -2.812268)'), GeomFromEWKT('SRID=4674;POINT (-40.400324 -2.812275)'))) / (select extract(epoch from '2026-07-11 05:58:33'::timestamp) - extract(epoch from '2026-07-11 05:58:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.400131 -2.812308)', '2026-07-11 05:58:42', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400324 -2.812275)'), GeomFromEWKT('SRID=4674;POINT (-40.400131 -2.812308)'))) / (select extract(epoch from '2026-07-11 05:58:42'::timestamp) - extract(epoch from '2026-07-11 05:58:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400324 -2.812275)'), GeomFromEWKT('SRID=4674;POINT (-40.400131 -2.812308)'))) / (select extract(epoch from '2026-07-11 05:58:42'::timestamp) - extract(epoch from '2026-07-11 05:58:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.399958 -2.812333)', '2026-07-11 05:58:50', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400131 -2.812308)'), GeomFromEWKT('SRID=4674;POINT (-40.399958 -2.812333)'))) / (select extract(epoch from '2026-07-11 05:58:50'::timestamp) - extract(epoch from '2026-07-11 05:58:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400131 -2.812308)'), GeomFromEWKT('SRID=4674;POINT (-40.399958 -2.812333)'))) / (select extract(epoch from '2026-07-11 05:58:50'::timestamp) - extract(epoch from '2026-07-11 05:58:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.39974 -2.812362)', '2026-07-11 05:59:00', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399958 -2.812333)'), GeomFromEWKT('SRID=4674;POINT (-40.39974 -2.812362)'))) / (select extract(epoch from '2026-07-11 05:59:00'::timestamp) - extract(epoch from '2026-07-11 05:58:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399958 -2.812333)'), GeomFromEWKT('SRID=4674;POINT (-40.39974 -2.812362)'))) / (select extract(epoch from '2026-07-11 05:59:00'::timestamp) - extract(epoch from '2026-07-11 05:58:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.399544 -2.812386)', '2026-07-11 05:59:09', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39974 -2.812362)'), GeomFromEWKT('SRID=4674;POINT (-40.399544 -2.812386)'))) / (select extract(epoch from '2026-07-11 05:59:09'::timestamp) - extract(epoch from '2026-07-11 05:59:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39974 -2.812362)'), GeomFromEWKT('SRID=4674;POINT (-40.399544 -2.812386)'))) / (select extract(epoch from '2026-07-11 05:59:09'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47635, 'SRID=4674;POINT (-40.399373 -2.812408)', '2026-07-11 05:59:17', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399544 -2.812386)'), GeomFromEWKT('SRID=4674;POINT (-40.399373 -2.812408)'))) / (select extract(epoch from '2026-07-11 05:59:17'::timestamp) - extract(epoch from '2026-07-11 05:59:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399544 -2.812386)'), GeomFromEWKT('SRID=4674;POINT (-40.399373 -2.812408)'))) / (select extract(epoch from '2026-07-11 05:59:17'::timestamp) - extract(epoch from '2026-07-11 05:59:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.399173 -2.812433)', '2026-07-11 05:59:27', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399373 -2.812408)'), GeomFromEWKT('SRID=4674;POINT (-40.399173 -2.812433)'))) / (select extract(epoch from '2026-07-11 05:59:27'::timestamp) - extract(epoch from '2026-07-11 05:59:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399373 -2.812408)'), GeomFromEWKT('SRID=4674;POINT (-40.399173 -2.812433)'))) / (select extract(epoch from '2026-07-11 05:59:27'::timestamp) - extract(epoch from '2026-07-11 05:59:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.399008 -2.812464)', '2026-07-11 05:59:35', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399173 -2.812433)'), GeomFromEWKT('SRID=4674;POINT (-40.399008 -2.812464)'))) / (select extract(epoch from '2026-07-11 05:59:35'::timestamp) - extract(epoch from '2026-07-11 05:59:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399173 -2.812433)'), GeomFromEWKT('SRID=4674;POINT (-40.399008 -2.812464)'))) / (select extract(epoch from '2026-07-11 05:59:35'::timestamp) - extract(epoch from '2026-07-11 05:59:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.398805 -2.81249)', '2026-07-11 05:59:45', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399008 -2.812464)'), GeomFromEWKT('SRID=4674;POINT (-40.398805 -2.81249)'))) / (select extract(epoch from '2026-07-11 05:59:45'::timestamp) - extract(epoch from '2026-07-11 05:59:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399008 -2.812464)'), GeomFromEWKT('SRID=4674;POINT (-40.398805 -2.81249)'))) / (select extract(epoch from '2026-07-11 05:59:45'::timestamp) - extract(epoch from '2026-07-11 05:59:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.398621 -2.812471)', '2026-07-11 05:59:54', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398805 -2.81249)'), GeomFromEWKT('SRID=4674;POINT (-40.398621 -2.812471)'))) / (select extract(epoch from '2026-07-11 05:59:54'::timestamp) - extract(epoch from '2026-07-11 05:59:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398805 -2.81249)'), GeomFromEWKT('SRID=4674;POINT (-40.398621 -2.812471)'))) / (select extract(epoch from '2026-07-11 05:59:54'::timestamp) - extract(epoch from '2026-07-11 05:59:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.398414 -2.812449)', '2026-07-11 06:00:04', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398621 -2.812471)'), GeomFromEWKT('SRID=4674;POINT (-40.398414 -2.812449)'))) / (select extract(epoch from '2026-07-11 06:00:04'::timestamp) - extract(epoch from '2026-07-11 05:59:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398621 -2.812471)'), GeomFromEWKT('SRID=4674;POINT (-40.398414 -2.812449)'))) / (select extract(epoch from '2026-07-11 06:00:04'::timestamp) - extract(epoch from '2026-07-11 05:59:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.398246 -2.812447)', '2026-07-11 06:00:12', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398414 -2.812449)'), GeomFromEWKT('SRID=4674;POINT (-40.398246 -2.812447)'))) / (select extract(epoch from '2026-07-11 06:00:12'::timestamp) - extract(epoch from '2026-07-11 06:00:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398414 -2.812449)'), GeomFromEWKT('SRID=4674;POINT (-40.398246 -2.812447)'))) / (select extract(epoch from '2026-07-11 06:00:12'::timestamp) - extract(epoch from '2026-07-11 06:00:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.398052 -2.812431)', '2026-07-11 06:00:21', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398246 -2.812447)'), GeomFromEWKT('SRID=4674;POINT (-40.398052 -2.812431)'))) / (select extract(epoch from '2026-07-11 06:00:21'::timestamp) - extract(epoch from '2026-07-11 06:00:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398246 -2.812447)'), GeomFromEWKT('SRID=4674;POINT (-40.398052 -2.812431)'))) / (select extract(epoch from '2026-07-11 06:00:21'::timestamp) - extract(epoch from '2026-07-11 06:00:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.397872 -2.812426)', '2026-07-11 06:00:30', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398052 -2.812431)'), GeomFromEWKT('SRID=4674;POINT (-40.397872 -2.812426)'))) / (select extract(epoch from '2026-07-11 06:00:30'::timestamp) - extract(epoch from '2026-07-11 06:00:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398052 -2.812431)'), GeomFromEWKT('SRID=4674;POINT (-40.397872 -2.812426)'))) / (select extract(epoch from '2026-07-11 06:00:30'::timestamp) - extract(epoch from '2026-07-11 06:00:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.397685 -2.812451)', '2026-07-11 06:00:39', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397872 -2.812426)'), GeomFromEWKT('SRID=4674;POINT (-40.397685 -2.812451)'))) / (select extract(epoch from '2026-07-11 06:00:39'::timestamp) - extract(epoch from '2026-07-11 06:00:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397872 -2.812426)'), GeomFromEWKT('SRID=4674;POINT (-40.397685 -2.812451)'))) / (select extract(epoch from '2026-07-11 06:00:39'::timestamp) - extract(epoch from '2026-07-11 06: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'), 47635, 'SRID=4674;POINT (-40.397475 -2.812452)', '2026-07-11 06:00:49', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397685 -2.812451)'), GeomFromEWKT('SRID=4674;POINT (-40.397475 -2.812452)'))) / (select extract(epoch from '2026-07-11 06:00:49'::timestamp) - extract(epoch from '2026-07-11 06:00:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397685 -2.812451)'), GeomFromEWKT('SRID=4674;POINT (-40.397475 -2.812452)'))) / (select extract(epoch from '2026-07-11 06:00:49'::timestamp) - extract(epoch from '2026-07-11 06: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'), 47635, 'SRID=4674;POINT (-40.397301 -2.812457)', '2026-07-11 06:00:57', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397475 -2.812452)'), GeomFromEWKT('SRID=4674;POINT (-40.397301 -2.812457)'))) / (select extract(epoch from '2026-07-11 06:00:57'::timestamp) - extract(epoch from '2026-07-11 06:00:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397475 -2.812452)'), GeomFromEWKT('SRID=4674;POINT (-40.397301 -2.812457)'))) / (select extract(epoch from '2026-07-11 06:00:57'::timestamp) - extract(epoch from '2026-07-11 06:00:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.397135 -2.812469)', '2026-07-11 06:01:05', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397301 -2.812457)'), GeomFromEWKT('SRID=4674;POINT (-40.397135 -2.812469)'))) / (select extract(epoch from '2026-07-11 06:01:05'::timestamp) - extract(epoch from '2026-07-11 06:00:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397301 -2.812457)'), GeomFromEWKT('SRID=4674;POINT (-40.397135 -2.812469)'))) / (select extract(epoch from '2026-07-11 06:01:05'::timestamp) - extract(epoch from '2026-07-11 06:00:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.396943 -2.812474)', '2026-07-11 06:01:14', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397135 -2.812469)'), GeomFromEWKT('SRID=4674;POINT (-40.396943 -2.812474)'))) / (select extract(epoch from '2026-07-11 06:01:14'::timestamp) - extract(epoch from '2026-07-11 06:01:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397135 -2.812469)'), GeomFromEWKT('SRID=4674;POINT (-40.396943 -2.812474)'))) / (select extract(epoch from '2026-07-11 06:01:14'::timestamp) - extract(epoch from '2026-07-11 06:01:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.396781 -2.812465)', '2026-07-11 06:01:22', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396943 -2.812474)'), GeomFromEWKT('SRID=4674;POINT (-40.396781 -2.812465)'))) / (select extract(epoch from '2026-07-11 06:01:22'::timestamp) - extract(epoch from '2026-07-11 06:01:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396943 -2.812474)'), GeomFromEWKT('SRID=4674;POINT (-40.396781 -2.812465)'))) / (select extract(epoch from '2026-07-11 06:01:22'::timestamp) - extract(epoch from '2026-07-11 06:01:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.396569 -2.812458)', '2026-07-11 06:01:32', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396781 -2.812465)'), GeomFromEWKT('SRID=4674;POINT (-40.396569 -2.812458)'))) / (select extract(epoch from '2026-07-11 06:01:32'::timestamp) - extract(epoch from '2026-07-11 06:01:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396781 -2.812465)'), GeomFromEWKT('SRID=4674;POINT (-40.396569 -2.812458)'))) / (select extract(epoch from '2026-07-11 06:01:32'::timestamp) - extract(epoch from '2026-07-11 06:01:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.396379 -2.812461)', '2026-07-11 06:01:41', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396569 -2.812458)'), GeomFromEWKT('SRID=4674;POINT (-40.396379 -2.812461)'))) / (select extract(epoch from '2026-07-11 06:01:41'::timestamp) - extract(epoch from '2026-07-11 06:01:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396569 -2.812458)'), GeomFromEWKT('SRID=4674;POINT (-40.396379 -2.812461)'))) / (select extract(epoch from '2026-07-11 06:01:41'::timestamp) - extract(epoch from '2026-07-11 06:01:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.396231 -2.812472)', '2026-07-11 06:01:48', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396379 -2.812461)'), GeomFromEWKT('SRID=4674;POINT (-40.396231 -2.812472)'))) / (select extract(epoch from '2026-07-11 06:01:48'::timestamp) - extract(epoch from '2026-07-11 06:01:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396379 -2.812461)'), GeomFromEWKT('SRID=4674;POINT (-40.396231 -2.812472)'))) / (select extract(epoch from '2026-07-11 06:01:48'::timestamp) - extract(epoch from '2026-07-11 06:01:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.39602 -2.812502)', '2026-07-11 06:01:58', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396231 -2.812472)'), GeomFromEWKT('SRID=4674;POINT (-40.39602 -2.812502)'))) / (select extract(epoch from '2026-07-11 06:01:58'::timestamp) - extract(epoch from '2026-07-11 06:01:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396231 -2.812472)'), GeomFromEWKT('SRID=4674;POINT (-40.39602 -2.812502)'))) / (select extract(epoch from '2026-07-11 06:01:58'::timestamp) - extract(epoch from '2026-07-11 06:01:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.395851 -2.812527)', '2026-07-11 06:02:06', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39602 -2.812502)'), GeomFromEWKT('SRID=4674;POINT (-40.395851 -2.812527)'))) / (select extract(epoch from '2026-07-11 06:02:06'::timestamp) - extract(epoch from '2026-07-11 06:01:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39602 -2.812502)'), GeomFromEWKT('SRID=4674;POINT (-40.395851 -2.812527)'))) / (select extract(epoch from '2026-07-11 06:02:06'::timestamp) - extract(epoch from '2026-07-11 06:01:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.395657 -2.812553)', '2026-07-11 06:02:15', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395851 -2.812527)'), GeomFromEWKT('SRID=4674;POINT (-40.395657 -2.812553)'))) / (select extract(epoch from '2026-07-11 06:02:15'::timestamp) - extract(epoch from '2026-07-11 06:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395851 -2.812527)'), GeomFromEWKT('SRID=4674;POINT (-40.395657 -2.812553)'))) / (select extract(epoch from '2026-07-11 06:02:15'::timestamp) - extract(epoch from '2026-07-11 06:02:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.395473 -2.812611)', '2026-07-11 06:02:24', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395657 -2.812553)'), GeomFromEWKT('SRID=4674;POINT (-40.395473 -2.812611)'))) / (select extract(epoch from '2026-07-11 06:02:24'::timestamp) - extract(epoch from '2026-07-11 06:02:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395657 -2.812553)'), GeomFromEWKT('SRID=4674;POINT (-40.395473 -2.812611)'))) / (select extract(epoch from '2026-07-11 06:02:24'::timestamp) - extract(epoch from '2026-07-11 06:02:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.395329 -2.812626)', '2026-07-11 06:02:31', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395473 -2.812611)'), GeomFromEWKT('SRID=4674;POINT (-40.395329 -2.812626)'))) / (select extract(epoch from '2026-07-11 06:02:31'::timestamp) - extract(epoch from '2026-07-11 06:02:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395473 -2.812611)'), GeomFromEWKT('SRID=4674;POINT (-40.395329 -2.812626)'))) / (select extract(epoch from '2026-07-11 06:02:31'::timestamp) - extract(epoch from '2026-07-11 06: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'), 47635, 'SRID=4674;POINT (-40.395139 -2.812625)', '2026-07-11 06:02:40', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395329 -2.812626)'), GeomFromEWKT('SRID=4674;POINT (-40.395139 -2.812625)'))) / (select extract(epoch from '2026-07-11 06:02:40'::timestamp) - extract(epoch from '2026-07-11 06:02:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395329 -2.812626)'), GeomFromEWKT('SRID=4674;POINT (-40.395139 -2.812625)'))) / (select extract(epoch from '2026-07-11 06:02:40'::timestamp) - extract(epoch from '2026-07-11 06: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'), 47635, 'SRID=4674;POINT (-40.394954 -2.812632)', '2026-07-11 06:02:49', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395139 -2.812625)'), GeomFromEWKT('SRID=4674;POINT (-40.394954 -2.812632)'))) / (select extract(epoch from '2026-07-11 06:02:49'::timestamp) - extract(epoch from '2026-07-11 06:02:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395139 -2.812625)'), GeomFromEWKT('SRID=4674;POINT (-40.394954 -2.812632)'))) / (select extract(epoch from '2026-07-11 06:02:49'::timestamp) - extract(epoch from '2026-07-11 06:02:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.394775 -2.81268)', '2026-07-11 06:02:58', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394954 -2.812632)'), GeomFromEWKT('SRID=4674;POINT (-40.394775 -2.81268)'))) / (select extract(epoch from '2026-07-11 06:02:58'::timestamp) - extract(epoch from '2026-07-11 06:02:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394954 -2.812632)'), GeomFromEWKT('SRID=4674;POINT (-40.394775 -2.81268)'))) / (select extract(epoch from '2026-07-11 06:02:58'::timestamp) - extract(epoch from '2026-07-11 06:02:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.394566 -2.812685)', '2026-07-11 06:03:08', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394775 -2.81268)'), GeomFromEWKT('SRID=4674;POINT (-40.394566 -2.812685)'))) / (select extract(epoch from '2026-07-11 06:03:08'::timestamp) - extract(epoch from '2026-07-11 06:02:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394775 -2.81268)'), GeomFromEWKT('SRID=4674;POINT (-40.394566 -2.812685)'))) / (select extract(epoch from '2026-07-11 06:03:08'::timestamp) - extract(epoch from '2026-07-11 06:02:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.394371 -2.812683)', '2026-07-11 06:03:17', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394566 -2.812685)'), GeomFromEWKT('SRID=4674;POINT (-40.394371 -2.812683)'))) / (select extract(epoch from '2026-07-11 06:03:17'::timestamp) - extract(epoch from '2026-07-11 06:03:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394566 -2.812685)'), GeomFromEWKT('SRID=4674;POINT (-40.394371 -2.812683)'))) / (select extract(epoch from '2026-07-11 06:03:17'::timestamp) - extract(epoch from '2026-07-11 06:03:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.394174 -2.812665)', '2026-07-11 06:03:26', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394371 -2.812683)'), GeomFromEWKT('SRID=4674;POINT (-40.394174 -2.812665)'))) / (select extract(epoch from '2026-07-11 06:03:26'::timestamp) - extract(epoch from '2026-07-11 06:03:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394371 -2.812683)'), GeomFromEWKT('SRID=4674;POINT (-40.394174 -2.812665)'))) / (select extract(epoch from '2026-07-11 06:03:26'::timestamp) - extract(epoch from '2026-07-11 06:03:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.394049 -2.812644)', '2026-07-11 06:03:32', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394174 -2.812665)'), GeomFromEWKT('SRID=4674;POINT (-40.394049 -2.812644)'))) / (select extract(epoch from '2026-07-11 06:03:32'::timestamp) - extract(epoch from '2026-07-11 06:03:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394174 -2.812665)'), GeomFromEWKT('SRID=4674;POINT (-40.394049 -2.812644)'))) / (select extract(epoch from '2026-07-11 06:03:32'::timestamp) - extract(epoch from '2026-07-11 06:03:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.393854 -2.812635)', '2026-07-11 06:03:41', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394049 -2.812644)'), GeomFromEWKT('SRID=4674;POINT (-40.393854 -2.812635)'))) / (select extract(epoch from '2026-07-11 06:03:41'::timestamp) - extract(epoch from '2026-07-11 06:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394049 -2.812644)'), GeomFromEWKT('SRID=4674;POINT (-40.393854 -2.812635)'))) / (select extract(epoch from '2026-07-11 06:03:41'::timestamp) - extract(epoch from '2026-07-11 06:03:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.393709 -2.812618)', '2026-07-11 06:03:48', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393854 -2.812635)'), GeomFromEWKT('SRID=4674;POINT (-40.393709 -2.812618)'))) / (select extract(epoch from '2026-07-11 06:03:48'::timestamp) - extract(epoch from '2026-07-11 06:03:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393854 -2.812635)'), GeomFromEWKT('SRID=4674;POINT (-40.393709 -2.812618)'))) / (select extract(epoch from '2026-07-11 06:03:48'::timestamp) - extract(epoch from '2026-07-11 06:03:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.393519 -2.812606)', '2026-07-11 06:03:57', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393709 -2.812618)'), GeomFromEWKT('SRID=4674;POINT (-40.393519 -2.812606)'))) / (select extract(epoch from '2026-07-11 06:03:57'::timestamp) - extract(epoch from '2026-07-11 06:03:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393709 -2.812618)'), GeomFromEWKT('SRID=4674;POINT (-40.393519 -2.812606)'))) / (select extract(epoch from '2026-07-11 06:03:57'::timestamp) - extract(epoch from '2026-07-11 06:03:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.393331 -2.812592)', '2026-07-11 06:04:06', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393519 -2.812606)'), GeomFromEWKT('SRID=4674;POINT (-40.393331 -2.812592)'))) / (select extract(epoch from '2026-07-11 06:04:06'::timestamp) - extract(epoch from '2026-07-11 06:03:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393519 -2.812606)'), GeomFromEWKT('SRID=4674;POINT (-40.393331 -2.812592)'))) / (select extract(epoch from '2026-07-11 06:04:06'::timestamp) - extract(epoch from '2026-07-11 06:03:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.393182 -2.81258)', '2026-07-11 06:04:13', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393331 -2.812592)'), GeomFromEWKT('SRID=4674;POINT (-40.393182 -2.81258)'))) / (select extract(epoch from '2026-07-11 06:04:13'::timestamp) - extract(epoch from '2026-07-11 06:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393331 -2.812592)'), GeomFromEWKT('SRID=4674;POINT (-40.393182 -2.81258)'))) / (select extract(epoch from '2026-07-11 06:04:13'::timestamp) - extract(epoch from '2026-07-11 06:04:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.393 -2.812556)', '2026-07-11 06:04:22', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393182 -2.81258)'), GeomFromEWKT('SRID=4674;POINT (-40.393 -2.812556)'))) / (select extract(epoch from '2026-07-11 06:04:22'::timestamp) - extract(epoch from '2026-07-11 06:04:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393182 -2.81258)'), GeomFromEWKT('SRID=4674;POINT (-40.393 -2.812556)'))) / (select extract(epoch from '2026-07-11 06:04:22'::timestamp) - extract(epoch from '2026-07-11 06:04:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.39283 -2.812545)', '2026-07-11 06:04:30', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393 -2.812556)'), GeomFromEWKT('SRID=4674;POINT (-40.39283 -2.812545)'))) / (select extract(epoch from '2026-07-11 06:04:30'::timestamp) - extract(epoch from '2026-07-11 06:04:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393 -2.812556)'), GeomFromEWKT('SRID=4674;POINT (-40.39283 -2.812545)'))) / (select extract(epoch from '2026-07-11 06:04:30'::timestamp) - extract(epoch from '2026-07-11 06:04:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.392622 -2.812549)', '2026-07-11 06:04:40', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39283 -2.812545)'), GeomFromEWKT('SRID=4674;POINT (-40.392622 -2.812549)'))) / (select extract(epoch from '2026-07-11 06:04:40'::timestamp) - extract(epoch from '2026-07-11 06:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39283 -2.812545)'), GeomFromEWKT('SRID=4674;POINT (-40.392622 -2.812549)'))) / (select extract(epoch from '2026-07-11 06:04:40'::timestamp) - extract(epoch from '2026-07-11 06:04:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.39241 -2.812522)', '2026-07-11 06:04:50', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392622 -2.812549)'), GeomFromEWKT('SRID=4674;POINT (-40.39241 -2.812522)'))) / (select extract(epoch from '2026-07-11 06:04:50'::timestamp) - extract(epoch from '2026-07-11 06:04:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392622 -2.812549)'), GeomFromEWKT('SRID=4674;POINT (-40.39241 -2.812522)'))) / (select extract(epoch from '2026-07-11 06:04:50'::timestamp) - extract(epoch from '2026-07-11 06:04:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.392264 -2.812498)', '2026-07-11 06:04:57', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39241 -2.812522)'), GeomFromEWKT('SRID=4674;POINT (-40.392264 -2.812498)'))) / (select extract(epoch from '2026-07-11 06:04:57'::timestamp) - extract(epoch from '2026-07-11 06:04:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39241 -2.812522)'), GeomFromEWKT('SRID=4674;POINT (-40.392264 -2.812498)'))) / (select extract(epoch from '2026-07-11 06:04:57'::timestamp) - extract(epoch from '2026-07-11 06:04:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.392049 -2.812482)', '2026-07-11 06:05:07', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392264 -2.812498)'), GeomFromEWKT('SRID=4674;POINT (-40.392049 -2.812482)'))) / (select extract(epoch from '2026-07-11 06:05:07'::timestamp) - extract(epoch from '2026-07-11 06:04:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392264 -2.812498)'), GeomFromEWKT('SRID=4674;POINT (-40.392049 -2.812482)'))) / (select extract(epoch from '2026-07-11 06:05:07'::timestamp) - extract(epoch from '2026-07-11 06:04:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.391838 -2.812463)', '2026-07-11 06:05:17', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392049 -2.812482)'), GeomFromEWKT('SRID=4674;POINT (-40.391838 -2.812463)'))) / (select extract(epoch from '2026-07-11 06:05:17'::timestamp) - extract(epoch from '2026-07-11 06:05:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392049 -2.812482)'), GeomFromEWKT('SRID=4674;POINT (-40.391838 -2.812463)'))) / (select extract(epoch from '2026-07-11 06:05:17'::timestamp) - extract(epoch from '2026-07-11 06:05:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.391647 -2.812435)', '2026-07-11 06:05:26', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391838 -2.812463)'), GeomFromEWKT('SRID=4674;POINT (-40.391647 -2.812435)'))) / (select extract(epoch from '2026-07-11 06:05:26'::timestamp) - extract(epoch from '2026-07-11 06:05:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391838 -2.812463)'), GeomFromEWKT('SRID=4674;POINT (-40.391647 -2.812435)'))) / (select extract(epoch from '2026-07-11 06:05:26'::timestamp) - extract(epoch from '2026-07-11 06:05:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.391482 -2.812419)', '2026-07-11 06:05:34', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391647 -2.812435)'), GeomFromEWKT('SRID=4674;POINT (-40.391482 -2.812419)'))) / (select extract(epoch from '2026-07-11 06:05:34'::timestamp) - extract(epoch from '2026-07-11 06:05:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391647 -2.812435)'), GeomFromEWKT('SRID=4674;POINT (-40.391482 -2.812419)'))) / (select extract(epoch from '2026-07-11 06:05:34'::timestamp) - extract(epoch from '2026-07-11 06:05:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.39125 -2.812411)', '2026-07-11 06:05:45', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391482 -2.812419)'), GeomFromEWKT('SRID=4674;POINT (-40.39125 -2.812411)'))) / (select extract(epoch from '2026-07-11 06:05:45'::timestamp) - extract(epoch from '2026-07-11 06:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391482 -2.812419)'), GeomFromEWKT('SRID=4674;POINT (-40.39125 -2.812411)'))) / (select extract(epoch from '2026-07-11 06:05:45'::timestamp) - extract(epoch from '2026-07-11 06:05:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.391078 -2.812374)', '2026-07-11 06:05:53', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39125 -2.812411)'), GeomFromEWKT('SRID=4674;POINT (-40.391078 -2.812374)'))) / (select extract(epoch from '2026-07-11 06:05:53'::timestamp) - extract(epoch from '2026-07-11 06:05:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39125 -2.812411)'), GeomFromEWKT('SRID=4674;POINT (-40.391078 -2.812374)'))) / (select extract(epoch from '2026-07-11 06:05:53'::timestamp) - extract(epoch from '2026-07-11 06:05:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.390907 -2.812346)', '2026-07-11 06:06:02', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391078 -2.812374)'), GeomFromEWKT('SRID=4674;POINT (-40.390907 -2.812346)'))) / (select extract(epoch from '2026-07-11 06:06:02'::timestamp) - extract(epoch from '2026-07-11 06:05:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391078 -2.812374)'), GeomFromEWKT('SRID=4674;POINT (-40.390907 -2.812346)'))) / (select extract(epoch from '2026-07-11 06:06:02'::timestamp) - extract(epoch from '2026-07-11 06:05:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.390675 -2.812321)', '2026-07-11 06:06:12', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390907 -2.812346)'), GeomFromEWKT('SRID=4674;POINT (-40.390675 -2.812321)'))) / (select extract(epoch from '2026-07-11 06:06:12'::timestamp) - extract(epoch from '2026-07-11 06:06:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390907 -2.812346)'), GeomFromEWKT('SRID=4674;POINT (-40.390675 -2.812321)'))) / (select extract(epoch from '2026-07-11 06:06:12'::timestamp) - extract(epoch from '2026-07-11 06:06:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.39049 -2.81232)', '2026-07-11 06:06:21', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390675 -2.812321)'), GeomFromEWKT('SRID=4674;POINT (-40.39049 -2.81232)'))) / (select extract(epoch from '2026-07-11 06:06:21'::timestamp) - extract(epoch from '2026-07-11 06:06:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390675 -2.812321)'), GeomFromEWKT('SRID=4674;POINT (-40.39049 -2.81232)'))) / (select extract(epoch from '2026-07-11 06:06:21'::timestamp) - extract(epoch from '2026-07-11 06:06:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.390312 -2.812293)', '2026-07-11 06:06:30', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39049 -2.81232)'), GeomFromEWKT('SRID=4674;POINT (-40.390312 -2.812293)'))) / (select extract(epoch from '2026-07-11 06:06:30'::timestamp) - extract(epoch from '2026-07-11 06:06:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39049 -2.81232)'), GeomFromEWKT('SRID=4674;POINT (-40.390312 -2.812293)'))) / (select extract(epoch from '2026-07-11 06:06:30'::timestamp) - extract(epoch from '2026-07-11 06:06:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.39019 -2.812264)', '2026-07-11 06:06:39', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390312 -2.812293)'), GeomFromEWKT('SRID=4674;POINT (-40.39019 -2.812264)'))) / (select extract(epoch from '2026-07-11 06:06:39'::timestamp) - extract(epoch from '2026-07-11 06:06:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390312 -2.812293)'), GeomFromEWKT('SRID=4674;POINT (-40.39019 -2.812264)'))) / (select extract(epoch from '2026-07-11 06:06:39'::timestamp) - extract(epoch from '2026-07-11 06:06:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.390148 -2.812258)', '2026-07-11 06:06:43', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39019 -2.812264)'), GeomFromEWKT('SRID=4674;POINT (-40.390148 -2.812258)'))) / (select extract(epoch from '2026-07-11 06:06:43'::timestamp) - extract(epoch from '2026-07-11 06:06:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39019 -2.812264)'), GeomFromEWKT('SRID=4674;POINT (-40.390148 -2.812258)'))) / (select extract(epoch from '2026-07-11 06:06:43'::timestamp) - extract(epoch from '2026-07-11 06:06:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.390103 -2.812261)', '2026-07-11 06:06:48', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390148 -2.812258)'), GeomFromEWKT('SRID=4674;POINT (-40.390103 -2.812261)'))) / (select extract(epoch from '2026-07-11 06:06:48'::timestamp) - extract(epoch from '2026-07-11 06:06:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390148 -2.812258)'), GeomFromEWKT('SRID=4674;POINT (-40.390103 -2.812261)'))) / (select extract(epoch from '2026-07-11 06:06:48'::timestamp) - extract(epoch from '2026-07-11 06:06:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.390028 -2.812283)', '2026-07-11 06:07:01', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390103 -2.812261)'), GeomFromEWKT('SRID=4674;POINT (-40.390028 -2.812283)'))) / (select extract(epoch from '2026-07-11 06:07:01'::timestamp) - extract(epoch from '2026-07-11 06:06:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390103 -2.812261)'), GeomFromEWKT('SRID=4674;POINT (-40.390028 -2.812283)'))) / (select extract(epoch from '2026-07-11 06:07:01'::timestamp) - extract(epoch from '2026-07-11 06:06:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.390007 -2.812297)', '2026-07-11 06:07:10', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390028 -2.812283)'), GeomFromEWKT('SRID=4674;POINT (-40.390007 -2.812297)'))) / (select extract(epoch from '2026-07-11 06:07:10'::timestamp) - extract(epoch from '2026-07-11 06:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390028 -2.812283)'), GeomFromEWKT('SRID=4674;POINT (-40.390007 -2.812297)'))) / (select extract(epoch from '2026-07-11 06:07:10'::timestamp) - extract(epoch from '2026-07-11 06:07:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.390001 -2.812298)', '2026-07-11 06:07:23', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390007 -2.812297)'), GeomFromEWKT('SRID=4674;POINT (-40.390001 -2.812298)'))) / (select extract(epoch from '2026-07-11 06:07:23'::timestamp) - extract(epoch from '2026-07-11 06:07:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390007 -2.812297)'), GeomFromEWKT('SRID=4674;POINT (-40.390001 -2.812298)'))) / (select extract(epoch from '2026-07-11 06:07:23'::timestamp) - extract(epoch from '2026-07-11 06:07:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.389984 -2.812331)', '2026-07-11 06:07:38', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390001 -2.812298)'), GeomFromEWKT('SRID=4674;POINT (-40.389984 -2.812331)'))) / (select extract(epoch from '2026-07-11 06:07:38'::timestamp) - extract(epoch from '2026-07-11 06:07:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390001 -2.812298)'), GeomFromEWKT('SRID=4674;POINT (-40.389984 -2.812331)'))) / (select extract(epoch from '2026-07-11 06:07:38'::timestamp) - extract(epoch from '2026-07-11 06:07:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.390081 -2.812341)', '2026-07-11 06:08:50', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389984 -2.812331)'), GeomFromEWKT('SRID=4674;POINT (-40.390081 -2.812341)'))) / (select extract(epoch from '2026-07-11 06:08:50'::timestamp) - extract(epoch from '2026-07-11 06:07:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389984 -2.812331)'), GeomFromEWKT('SRID=4674;POINT (-40.390081 -2.812341)'))) / (select extract(epoch from '2026-07-11 06:08:50'::timestamp) - extract(epoch from '2026-07-11 06:07:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.390152 -2.812311)', '2026-07-11 06:09:31', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390081 -2.812341)'), GeomFromEWKT('SRID=4674;POINT (-40.390152 -2.812311)'))) / (select extract(epoch from '2026-07-11 06:09:31'::timestamp) - extract(epoch from '2026-07-11 06:08:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390081 -2.812341)'), GeomFromEWKT('SRID=4674;POINT (-40.390152 -2.812311)'))) / (select extract(epoch from '2026-07-11 06:09:31'::timestamp) - extract(epoch from '2026-07-11 06:08:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.390132 -2.812306)', '2026-07-11 06:09:33', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390152 -2.812311)'), GeomFromEWKT('SRID=4674;POINT (-40.390132 -2.812306)'))) / (select extract(epoch from '2026-07-11 06:09:33'::timestamp) - extract(epoch from '2026-07-11 06:09:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390152 -2.812311)'), GeomFromEWKT('SRID=4674;POINT (-40.390132 -2.812306)'))) / (select extract(epoch from '2026-07-11 06:09:33'::timestamp) - extract(epoch from '2026-07-11 06:09:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.390066 -2.8123)', '2026-07-11 06:09:38', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390132 -2.812306)'), GeomFromEWKT('SRID=4674;POINT (-40.390066 -2.8123)'))) / (select extract(epoch from '2026-07-11 06:09:38'::timestamp) - extract(epoch from '2026-07-11 06:09:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390132 -2.812306)'), GeomFromEWKT('SRID=4674;POINT (-40.390066 -2.8123)'))) / (select extract(epoch from '2026-07-11 06:09:38'::timestamp) - extract(epoch from '2026-07-11 06:09:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.389911 -2.812289)', '2026-07-11 06:09:47', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390066 -2.8123)'), GeomFromEWKT('SRID=4674;POINT (-40.389911 -2.812289)'))) / (select extract(epoch from '2026-07-11 06:09:47'::timestamp) - extract(epoch from '2026-07-11 06:09:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390066 -2.8123)'), GeomFromEWKT('SRID=4674;POINT (-40.389911 -2.812289)'))) / (select extract(epoch from '2026-07-11 06:09:47'::timestamp) - extract(epoch from '2026-07-11 06:09:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.389761 -2.812255)', '2026-07-11 06:09:55', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389911 -2.812289)'), GeomFromEWKT('SRID=4674;POINT (-40.389761 -2.812255)'))) / (select extract(epoch from '2026-07-11 06:09:55'::timestamp) - extract(epoch from '2026-07-11 06:09:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389911 -2.812289)'), GeomFromEWKT('SRID=4674;POINT (-40.389761 -2.812255)'))) / (select extract(epoch from '2026-07-11 06:09:55'::timestamp) - extract(epoch from '2026-07-11 06:09:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.389544 -2.81222)', '2026-07-11 06:10:06', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389761 -2.812255)'), GeomFromEWKT('SRID=4674;POINT (-40.389544 -2.81222)'))) / (select extract(epoch from '2026-07-11 06:10:06'::timestamp) - extract(epoch from '2026-07-11 06:09:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389761 -2.812255)'), GeomFromEWKT('SRID=4674;POINT (-40.389544 -2.81222)'))) / (select extract(epoch from '2026-07-11 06:10:06'::timestamp) - extract(epoch from '2026-07-11 06:09:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.389348 -2.812211)', '2026-07-11 06:10:16', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389544 -2.81222)'), GeomFromEWKT('SRID=4674;POINT (-40.389348 -2.812211)'))) / (select extract(epoch from '2026-07-11 06:10:16'::timestamp) - extract(epoch from '2026-07-11 06:10:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389544 -2.81222)'), GeomFromEWKT('SRID=4674;POINT (-40.389348 -2.812211)'))) / (select extract(epoch from '2026-07-11 06:10:16'::timestamp) - extract(epoch from '2026-07-11 06:10:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.389141 -2.812188)', '2026-07-11 06:10:26', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389348 -2.812211)'), GeomFromEWKT('SRID=4674;POINT (-40.389141 -2.812188)'))) / (select extract(epoch from '2026-07-11 06:10:26'::timestamp) - extract(epoch from '2026-07-11 06:10:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389348 -2.812211)'), GeomFromEWKT('SRID=4674;POINT (-40.389141 -2.812188)'))) / (select extract(epoch from '2026-07-11 06:10:26'::timestamp) - extract(epoch from '2026-07-11 06:10:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.388971 -2.812212)', '2026-07-11 06:10:35', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389141 -2.812188)'), GeomFromEWKT('SRID=4674;POINT (-40.388971 -2.812212)'))) / (select extract(epoch from '2026-07-11 06:10:35'::timestamp) - extract(epoch from '2026-07-11 06:10:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389141 -2.812188)'), GeomFromEWKT('SRID=4674;POINT (-40.388971 -2.812212)'))) / (select extract(epoch from '2026-07-11 06:10:35'::timestamp) - extract(epoch from '2026-07-11 06:10:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.388815 -2.812225)', '2026-07-11 06:10:43', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388971 -2.812212)'), GeomFromEWKT('SRID=4674;POINT (-40.388815 -2.812225)'))) / (select extract(epoch from '2026-07-11 06:10:43'::timestamp) - extract(epoch from '2026-07-11 06:10:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388971 -2.812212)'), GeomFromEWKT('SRID=4674;POINT (-40.388815 -2.812225)'))) / (select extract(epoch from '2026-07-11 06:10:43'::timestamp) - extract(epoch from '2026-07-11 06:10:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.388635 -2.812215)', '2026-07-11 06:10:52', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388815 -2.812225)'), GeomFromEWKT('SRID=4674;POINT (-40.388635 -2.812215)'))) / (select extract(epoch from '2026-07-11 06:10:52'::timestamp) - extract(epoch from '2026-07-11 06:10:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388815 -2.812225)'), GeomFromEWKT('SRID=4674;POINT (-40.388635 -2.812215)'))) / (select extract(epoch from '2026-07-11 06:10:52'::timestamp) - extract(epoch from '2026-07-11 06:10:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.388417 -2.812204)', '2026-07-11 06:11:03', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388635 -2.812215)'), GeomFromEWKT('SRID=4674;POINT (-40.388417 -2.812204)'))) / (select extract(epoch from '2026-07-11 06:11:03'::timestamp) - extract(epoch from '2026-07-11 06:10:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388635 -2.812215)'), GeomFromEWKT('SRID=4674;POINT (-40.388417 -2.812204)'))) / (select extract(epoch from '2026-07-11 06:11:03'::timestamp) - extract(epoch from '2026-07-11 06:10:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.38824 -2.812198)', '2026-07-11 06:11:12', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388417 -2.812204)'), GeomFromEWKT('SRID=4674;POINT (-40.38824 -2.812198)'))) / (select extract(epoch from '2026-07-11 06:11:12'::timestamp) - extract(epoch from '2026-07-11 06:11:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388417 -2.812204)'), GeomFromEWKT('SRID=4674;POINT (-40.38824 -2.812198)'))) / (select extract(epoch from '2026-07-11 06:11:12'::timestamp) - extract(epoch from '2026-07-11 06:11:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.388064 -2.812202)', '2026-07-11 06:11:21', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38824 -2.812198)'), GeomFromEWKT('SRID=4674;POINT (-40.388064 -2.812202)'))) / (select extract(epoch from '2026-07-11 06:11:21'::timestamp) - extract(epoch from '2026-07-11 06:11:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38824 -2.812198)'), GeomFromEWKT('SRID=4674;POINT (-40.388064 -2.812202)'))) / (select extract(epoch from '2026-07-11 06:11:21'::timestamp) - extract(epoch from '2026-07-11 06:11:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.387895 -2.812195)', '2026-07-11 06:11:30', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388064 -2.812202)'), GeomFromEWKT('SRID=4674;POINT (-40.387895 -2.812195)'))) / (select extract(epoch from '2026-07-11 06:11:30'::timestamp) - extract(epoch from '2026-07-11 06:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388064 -2.812202)'), GeomFromEWKT('SRID=4674;POINT (-40.387895 -2.812195)'))) / (select extract(epoch from '2026-07-11 06:11:30'::timestamp) - extract(epoch from '2026-07-11 06:11:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.387721 -2.812202)', '2026-07-11 06:11:39', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387895 -2.812195)'), GeomFromEWKT('SRID=4674;POINT (-40.387721 -2.812202)'))) / (select extract(epoch from '2026-07-11 06:11:39'::timestamp) - extract(epoch from '2026-07-11 06:11:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387895 -2.812195)'), GeomFromEWKT('SRID=4674;POINT (-40.387721 -2.812202)'))) / (select extract(epoch from '2026-07-11 06:11:39'::timestamp) - extract(epoch from '2026-07-11 06:11:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.387519 -2.812202)', '2026-07-11 06:11:49', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387721 -2.812202)'), GeomFromEWKT('SRID=4674;POINT (-40.387519 -2.812202)'))) / (select extract(epoch from '2026-07-11 06:11:49'::timestamp) - extract(epoch from '2026-07-11 06:11:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387721 -2.812202)'), GeomFromEWKT('SRID=4674;POINT (-40.387519 -2.812202)'))) / (select extract(epoch from '2026-07-11 06:11:49'::timestamp) - extract(epoch from '2026-07-11 06:11:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.387335 -2.81219)', '2026-07-11 06:11:58', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387519 -2.812202)'), GeomFromEWKT('SRID=4674;POINT (-40.387335 -2.81219)'))) / (select extract(epoch from '2026-07-11 06:11:58'::timestamp) - extract(epoch from '2026-07-11 06:11:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387519 -2.812202)'), GeomFromEWKT('SRID=4674;POINT (-40.387335 -2.81219)'))) / (select extract(epoch from '2026-07-11 06:11:58'::timestamp) - extract(epoch from '2026-07-11 06:11:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.387146 -2.81219)', '2026-07-11 06:12:08', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387335 -2.81219)'), GeomFromEWKT('SRID=4674;POINT (-40.387146 -2.81219)'))) / (select extract(epoch from '2026-07-11 06:12:08'::timestamp) - extract(epoch from '2026-07-11 06:11:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387335 -2.81219)'), GeomFromEWKT('SRID=4674;POINT (-40.387146 -2.81219)'))) / (select extract(epoch from '2026-07-11 06:12:08'::timestamp) - extract(epoch from '2026-07-11 06:11:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.386966 -2.812176)', '2026-07-11 06:12:17', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387146 -2.81219)'), GeomFromEWKT('SRID=4674;POINT (-40.386966 -2.812176)'))) / (select extract(epoch from '2026-07-11 06:12:17'::timestamp) - extract(epoch from '2026-07-11 06:12:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387146 -2.81219)'), GeomFromEWKT('SRID=4674;POINT (-40.386966 -2.812176)'))) / (select extract(epoch from '2026-07-11 06:12:17'::timestamp) - extract(epoch from '2026-07-11 06:12:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.3868 -2.812164)', '2026-07-11 06:12:25', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386966 -2.812176)'), GeomFromEWKT('SRID=4674;POINT (-40.3868 -2.812164)'))) / (select extract(epoch from '2026-07-11 06:12:25'::timestamp) - extract(epoch from '2026-07-11 06:12:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386966 -2.812176)'), GeomFromEWKT('SRID=4674;POINT (-40.3868 -2.812164)'))) / (select extract(epoch from '2026-07-11 06:12:25'::timestamp) - extract(epoch from '2026-07-11 06:12:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.386619 -2.812139)', '2026-07-11 06:12:34', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3868 -2.812164)'), GeomFromEWKT('SRID=4674;POINT (-40.386619 -2.812139)'))) / (select extract(epoch from '2026-07-11 06:12:34'::timestamp) - extract(epoch from '2026-07-11 06:12:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3868 -2.812164)'), GeomFromEWKT('SRID=4674;POINT (-40.386619 -2.812139)'))) / (select extract(epoch from '2026-07-11 06:12:34'::timestamp) - extract(epoch from '2026-07-11 06:12:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.386462 -2.812118)', '2026-07-11 06:12:42', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386619 -2.812139)'), GeomFromEWKT('SRID=4674;POINT (-40.386462 -2.812118)'))) / (select extract(epoch from '2026-07-11 06:12:42'::timestamp) - extract(epoch from '2026-07-11 06:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386619 -2.812139)'), GeomFromEWKT('SRID=4674;POINT (-40.386462 -2.812118)'))) / (select extract(epoch from '2026-07-11 06:12:42'::timestamp) - extract(epoch from '2026-07-11 06:12:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.38626 -2.812083)', '2026-07-11 06:12:52', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386462 -2.812118)'), GeomFromEWKT('SRID=4674;POINT (-40.38626 -2.812083)'))) / (select extract(epoch from '2026-07-11 06:12:52'::timestamp) - extract(epoch from '2026-07-11 06:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386462 -2.812118)'), GeomFromEWKT('SRID=4674;POINT (-40.38626 -2.812083)'))) / (select extract(epoch from '2026-07-11 06:12:52'::timestamp) - extract(epoch from '2026-07-11 06:12:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.386058 -2.812071)', '2026-07-11 06:13:02', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38626 -2.812083)'), GeomFromEWKT('SRID=4674;POINT (-40.386058 -2.812071)'))) / (select extract(epoch from '2026-07-11 06:13:02'::timestamp) - extract(epoch from '2026-07-11 06:12:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38626 -2.812083)'), GeomFromEWKT('SRID=4674;POINT (-40.386058 -2.812071)'))) / (select extract(epoch from '2026-07-11 06:13:02'::timestamp) - extract(epoch from '2026-07-11 06:12:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.385869 -2.81207)', '2026-07-11 06:13:11', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386058 -2.812071)'), GeomFromEWKT('SRID=4674;POINT (-40.385869 -2.81207)'))) / (select extract(epoch from '2026-07-11 06:13:11'::timestamp) - extract(epoch from '2026-07-11 06:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386058 -2.812071)'), GeomFromEWKT('SRID=4674;POINT (-40.385869 -2.81207)'))) / (select extract(epoch from '2026-07-11 06:13:11'::timestamp) - extract(epoch from '2026-07-11 06:13:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.385711 -2.812044)', '2026-07-11 06:13:19', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385869 -2.81207)'), GeomFromEWKT('SRID=4674;POINT (-40.385711 -2.812044)'))) / (select extract(epoch from '2026-07-11 06:13:19'::timestamp) - extract(epoch from '2026-07-11 06:13:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385869 -2.81207)'), GeomFromEWKT('SRID=4674;POINT (-40.385711 -2.812044)'))) / (select extract(epoch from '2026-07-11 06:13:19'::timestamp) - extract(epoch from '2026-07-11 06:13:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.385493 -2.812008)', '2026-07-11 06:13:30', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385711 -2.812044)'), GeomFromEWKT('SRID=4674;POINT (-40.385493 -2.812008)'))) / (select extract(epoch from '2026-07-11 06:13:30'::timestamp) - extract(epoch from '2026-07-11 06:13:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385711 -2.812044)'), GeomFromEWKT('SRID=4674;POINT (-40.385493 -2.812008)'))) / (select extract(epoch from '2026-07-11 06:13:30'::timestamp) - extract(epoch from '2026-07-11 06:13:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.385355 -2.812003)', '2026-07-11 06:13:37', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385493 -2.812008)'), GeomFromEWKT('SRID=4674;POINT (-40.385355 -2.812003)'))) / (select extract(epoch from '2026-07-11 06:13:37'::timestamp) - extract(epoch from '2026-07-11 06:13:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385493 -2.812008)'), GeomFromEWKT('SRID=4674;POINT (-40.385355 -2.812003)'))) / (select extract(epoch from '2026-07-11 06:13:37'::timestamp) - extract(epoch from '2026-07-11 06:13:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.385129 -2.811994)', '2026-07-11 06:13:48', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385355 -2.812003)'), GeomFromEWKT('SRID=4674;POINT (-40.385129 -2.811994)'))) / (select extract(epoch from '2026-07-11 06:13:48'::timestamp) - extract(epoch from '2026-07-11 06:13:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385355 -2.812003)'), GeomFromEWKT('SRID=4674;POINT (-40.385129 -2.811994)'))) / (select extract(epoch from '2026-07-11 06:13:48'::timestamp) - extract(epoch from '2026-07-11 06:13:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.384942 -2.811988)', '2026-07-11 06:13:57', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385129 -2.811994)'), GeomFromEWKT('SRID=4674;POINT (-40.384942 -2.811988)'))) / (select extract(epoch from '2026-07-11 06:13:57'::timestamp) - extract(epoch from '2026-07-11 06:13:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385129 -2.811994)'), GeomFromEWKT('SRID=4674;POINT (-40.384942 -2.811988)'))) / (select extract(epoch from '2026-07-11 06:13:57'::timestamp) - extract(epoch from '2026-07-11 06:13:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.384722 -2.812002)', '2026-07-11 06:14:08', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384942 -2.811988)'), GeomFromEWKT('SRID=4674;POINT (-40.384722 -2.812002)'))) / (select extract(epoch from '2026-07-11 06:14:08'::timestamp) - extract(epoch from '2026-07-11 06:13:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384942 -2.811988)'), GeomFromEWKT('SRID=4674;POINT (-40.384722 -2.812002)'))) / (select extract(epoch from '2026-07-11 06:14:08'::timestamp) - extract(epoch from '2026-07-11 06:13:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.384521 -2.811982)', '2026-07-11 06:14:18', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384722 -2.812002)'), GeomFromEWKT('SRID=4674;POINT (-40.384521 -2.811982)'))) / (select extract(epoch from '2026-07-11 06:14:18'::timestamp) - extract(epoch from '2026-07-11 06:14:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384722 -2.812002)'), GeomFromEWKT('SRID=4674;POINT (-40.384521 -2.811982)'))) / (select extract(epoch from '2026-07-11 06:14:18'::timestamp) - extract(epoch from '2026-07-11 06:14:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.384303 -2.811985)', '2026-07-11 06:14:29', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384521 -2.811982)'), GeomFromEWKT('SRID=4674;POINT (-40.384303 -2.811985)'))) / (select extract(epoch from '2026-07-11 06:14:29'::timestamp) - extract(epoch from '2026-07-11 06:14:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384521 -2.811982)'), GeomFromEWKT('SRID=4674;POINT (-40.384303 -2.811985)'))) / (select extract(epoch from '2026-07-11 06:14:29'::timestamp) - extract(epoch from '2026-07-11 06:14:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.384173 -2.811967)', '2026-07-11 06:14:36', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384303 -2.811985)'), GeomFromEWKT('SRID=4674;POINT (-40.384173 -2.811967)'))) / (select extract(epoch from '2026-07-11 06:14:36'::timestamp) - extract(epoch from '2026-07-11 06:14:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384303 -2.811985)'), GeomFromEWKT('SRID=4674;POINT (-40.384173 -2.811967)'))) / (select extract(epoch from '2026-07-11 06:14:36'::timestamp) - extract(epoch from '2026-07-11 06:14:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.383994 -2.811954)', '2026-07-11 06:14:45', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384173 -2.811967)'), GeomFromEWKT('SRID=4674;POINT (-40.383994 -2.811954)'))) / (select extract(epoch from '2026-07-11 06:14:45'::timestamp) - extract(epoch from '2026-07-11 06:14:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384173 -2.811967)'), GeomFromEWKT('SRID=4674;POINT (-40.383994 -2.811954)'))) / (select extract(epoch from '2026-07-11 06:14:45'::timestamp) - extract(epoch from '2026-07-11 06:14:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.383806 -2.811958)', '2026-07-11 06:14:54', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383994 -2.811954)'), GeomFromEWKT('SRID=4674;POINT (-40.383806 -2.811958)'))) / (select extract(epoch from '2026-07-11 06:14:54'::timestamp) - extract(epoch from '2026-07-11 06:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383994 -2.811954)'), GeomFromEWKT('SRID=4674;POINT (-40.383806 -2.811958)'))) / (select extract(epoch from '2026-07-11 06:14:54'::timestamp) - extract(epoch from '2026-07-11 06:14:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.383639 -2.811944)', '2026-07-11 06:15:02', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383806 -2.811958)'), GeomFromEWKT('SRID=4674;POINT (-40.383639 -2.811944)'))) / (select extract(epoch from '2026-07-11 06:15:02'::timestamp) - extract(epoch from '2026-07-11 06:14:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383806 -2.811958)'), GeomFromEWKT('SRID=4674;POINT (-40.383639 -2.811944)'))) / (select extract(epoch from '2026-07-11 06:15:02'::timestamp) - extract(epoch from '2026-07-11 06:14:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.383447 -2.811922)', '2026-07-11 06:15:12', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383639 -2.811944)'), GeomFromEWKT('SRID=4674;POINT (-40.383447 -2.811922)'))) / (select extract(epoch from '2026-07-11 06:15:12'::timestamp) - extract(epoch from '2026-07-11 06:15:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383639 -2.811944)'), GeomFromEWKT('SRID=4674;POINT (-40.383447 -2.811922)'))) / (select extract(epoch from '2026-07-11 06:15:12'::timestamp) - extract(epoch from '2026-07-11 06:15:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.383288 -2.811907)', '2026-07-11 06:15:20', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383447 -2.811922)'), GeomFromEWKT('SRID=4674;POINT (-40.383288 -2.811907)'))) / (select extract(epoch from '2026-07-11 06:15:20'::timestamp) - extract(epoch from '2026-07-11 06:15:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383447 -2.811922)'), GeomFromEWKT('SRID=4674;POINT (-40.383288 -2.811907)'))) / (select extract(epoch from '2026-07-11 06:15:20'::timestamp) - extract(epoch from '2026-07-11 06: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'), 47635, 'SRID=4674;POINT (-40.383126 -2.811903)', '2026-07-11 06:15:28', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383288 -2.811907)'), GeomFromEWKT('SRID=4674;POINT (-40.383126 -2.811903)'))) / (select extract(epoch from '2026-07-11 06:15:28'::timestamp) - extract(epoch from '2026-07-11 06:15:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383288 -2.811907)'), GeomFromEWKT('SRID=4674;POINT (-40.383126 -2.811903)'))) / (select extract(epoch from '2026-07-11 06:15:28'::timestamp) - extract(epoch from '2026-07-11 06:15:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.382969 -2.811902)', '2026-07-11 06:15:36', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383126 -2.811903)'), GeomFromEWKT('SRID=4674;POINT (-40.382969 -2.811902)'))) / (select extract(epoch from '2026-07-11 06:15:36'::timestamp) - extract(epoch from '2026-07-11 06:15:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383126 -2.811903)'), GeomFromEWKT('SRID=4674;POINT (-40.382969 -2.811902)'))) / (select extract(epoch from '2026-07-11 06:15:36'::timestamp) - extract(epoch from '2026-07-11 06:15:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.382789 -2.81191)', '2026-07-11 06:15:45', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382969 -2.811902)'), GeomFromEWKT('SRID=4674;POINT (-40.382789 -2.81191)'))) / (select extract(epoch from '2026-07-11 06:15:45'::timestamp) - extract(epoch from '2026-07-11 06:15:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382969 -2.811902)'), GeomFromEWKT('SRID=4674;POINT (-40.382789 -2.81191)'))) / (select extract(epoch from '2026-07-11 06:15:45'::timestamp) - extract(epoch from '2026-07-11 06:15:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.382656 -2.81189)', '2026-07-11 06:15:52', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382789 -2.81191)'), GeomFromEWKT('SRID=4674;POINT (-40.382656 -2.81189)'))) / (select extract(epoch from '2026-07-11 06:15:52'::timestamp) - extract(epoch from '2026-07-11 06:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382789 -2.81191)'), GeomFromEWKT('SRID=4674;POINT (-40.382656 -2.81189)'))) / (select extract(epoch from '2026-07-11 06:15:52'::timestamp) - extract(epoch from '2026-07-11 06:15:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.382509 -2.811872)', '2026-07-11 06:15:59', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382656 -2.81189)'), GeomFromEWKT('SRID=4674;POINT (-40.382509 -2.811872)'))) / (select extract(epoch from '2026-07-11 06:15:59'::timestamp) - extract(epoch from '2026-07-11 06:15:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382656 -2.81189)'), GeomFromEWKT('SRID=4674;POINT (-40.382509 -2.811872)'))) / (select extract(epoch from '2026-07-11 06:15:59'::timestamp) - extract(epoch from '2026-07-11 06:15:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.382351 -2.811854)', '2026-07-11 06:16:07', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382509 -2.811872)'), GeomFromEWKT('SRID=4674;POINT (-40.382351 -2.811854)'))) / (select extract(epoch from '2026-07-11 06:16:07'::timestamp) - extract(epoch from '2026-07-11 06:15:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382509 -2.811872)'), GeomFromEWKT('SRID=4674;POINT (-40.382351 -2.811854)'))) / (select extract(epoch from '2026-07-11 06:16:07'::timestamp) - extract(epoch from '2026-07-11 06:15:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.382191 -2.811832)', '2026-07-11 06:16:15', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382351 -2.811854)'), GeomFromEWKT('SRID=4674;POINT (-40.382191 -2.811832)'))) / (select extract(epoch from '2026-07-11 06:16:15'::timestamp) - extract(epoch from '2026-07-11 06:16:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382351 -2.811854)'), GeomFromEWKT('SRID=4674;POINT (-40.382191 -2.811832)'))) / (select extract(epoch from '2026-07-11 06:16:15'::timestamp) - extract(epoch from '2026-07-11 06:16:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.382032 -2.811825)', '2026-07-11 06:16:23', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382191 -2.811832)'), GeomFromEWKT('SRID=4674;POINT (-40.382032 -2.811825)'))) / (select extract(epoch from '2026-07-11 06:16:23'::timestamp) - extract(epoch from '2026-07-11 06:16:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382191 -2.811832)'), GeomFromEWKT('SRID=4674;POINT (-40.382032 -2.811825)'))) / (select extract(epoch from '2026-07-11 06:16:23'::timestamp) - extract(epoch from '2026-07-11 06:16:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.381868 -2.81181)', '2026-07-11 06:16:31', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382032 -2.811825)'), GeomFromEWKT('SRID=4674;POINT (-40.381868 -2.81181)'))) / (select extract(epoch from '2026-07-11 06:16:31'::timestamp) - extract(epoch from '2026-07-11 06:16:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382032 -2.811825)'), GeomFromEWKT('SRID=4674;POINT (-40.381868 -2.81181)'))) / (select extract(epoch from '2026-07-11 06:16:31'::timestamp) - extract(epoch from '2026-07-11 06:16:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.381707 -2.811792)', '2026-07-11 06:16:39', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381868 -2.81181)'), GeomFromEWKT('SRID=4674;POINT (-40.381707 -2.811792)'))) / (select extract(epoch from '2026-07-11 06:16:39'::timestamp) - extract(epoch from '2026-07-11 06:16:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381868 -2.81181)'), GeomFromEWKT('SRID=4674;POINT (-40.381707 -2.811792)'))) / (select extract(epoch from '2026-07-11 06:16:39'::timestamp) - extract(epoch from '2026-07-11 06:16:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.381552 -2.811781)', '2026-07-11 06:16:47', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381707 -2.811792)'), GeomFromEWKT('SRID=4674;POINT (-40.381552 -2.811781)'))) / (select extract(epoch from '2026-07-11 06:16:47'::timestamp) - extract(epoch from '2026-07-11 06:16:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381707 -2.811792)'), GeomFromEWKT('SRID=4674;POINT (-40.381552 -2.811781)'))) / (select extract(epoch from '2026-07-11 06:16:47'::timestamp) - extract(epoch from '2026-07-11 06:16:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.381396 -2.811789)', '2026-07-11 06:16:55', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381552 -2.811781)'), GeomFromEWKT('SRID=4674;POINT (-40.381396 -2.811789)'))) / (select extract(epoch from '2026-07-11 06:16:55'::timestamp) - extract(epoch from '2026-07-11 06:16:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381552 -2.811781)'), GeomFromEWKT('SRID=4674;POINT (-40.381396 -2.811789)'))) / (select extract(epoch from '2026-07-11 06:16:55'::timestamp) - extract(epoch from '2026-07-11 06:16:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.381235 -2.811794)', '2026-07-11 06:17:03', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381396 -2.811789)'), GeomFromEWKT('SRID=4674;POINT (-40.381235 -2.811794)'))) / (select extract(epoch from '2026-07-11 06:17:03'::timestamp) - extract(epoch from '2026-07-11 06:16:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381396 -2.811789)'), GeomFromEWKT('SRID=4674;POINT (-40.381235 -2.811794)'))) / (select extract(epoch from '2026-07-11 06:17:03'::timestamp) - extract(epoch from '2026-07-11 06:16:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.381076 -2.811788)', '2026-07-11 06:17:11', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381235 -2.811794)'), GeomFromEWKT('SRID=4674;POINT (-40.381076 -2.811788)'))) / (select extract(epoch from '2026-07-11 06:17:11'::timestamp) - extract(epoch from '2026-07-11 06:17:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381235 -2.811794)'), GeomFromEWKT('SRID=4674;POINT (-40.381076 -2.811788)'))) / (select extract(epoch from '2026-07-11 06:17:11'::timestamp) - extract(epoch from '2026-07-11 06:17:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.380899 -2.811799)', '2026-07-11 06:17:20', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381076 -2.811788)'), GeomFromEWKT('SRID=4674;POINT (-40.380899 -2.811799)'))) / (select extract(epoch from '2026-07-11 06:17:20'::timestamp) - extract(epoch from '2026-07-11 06:17:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381076 -2.811788)'), GeomFromEWKT('SRID=4674;POINT (-40.380899 -2.811799)'))) / (select extract(epoch from '2026-07-11 06:17:20'::timestamp) - extract(epoch from '2026-07-11 06:17:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.380735 -2.811807)', '2026-07-11 06:17:28', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380899 -2.811799)'), GeomFromEWKT('SRID=4674;POINT (-40.380735 -2.811807)'))) / (select extract(epoch from '2026-07-11 06:17:28'::timestamp) - extract(epoch from '2026-07-11 06:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380899 -2.811799)'), GeomFromEWKT('SRID=4674;POINT (-40.380735 -2.811807)'))) / (select extract(epoch from '2026-07-11 06:17:28'::timestamp) - extract(epoch from '2026-07-11 06:17:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.380564 -2.811805)', '2026-07-11 06:17:36', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380735 -2.811807)'), GeomFromEWKT('SRID=4674;POINT (-40.380564 -2.811805)'))) / (select extract(epoch from '2026-07-11 06:17:36'::timestamp) - extract(epoch from '2026-07-11 06:17:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380735 -2.811807)'), GeomFromEWKT('SRID=4674;POINT (-40.380564 -2.811805)'))) / (select extract(epoch from '2026-07-11 06:17:36'::timestamp) - extract(epoch from '2026-07-11 06:17:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.380385 -2.811797)', '2026-07-11 06:17:45', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380564 -2.811805)'), GeomFromEWKT('SRID=4674;POINT (-40.380385 -2.811797)'))) / (select extract(epoch from '2026-07-11 06:17:45'::timestamp) - extract(epoch from '2026-07-11 06:17:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380564 -2.811805)'), GeomFromEWKT('SRID=4674;POINT (-40.380385 -2.811797)'))) / (select extract(epoch from '2026-07-11 06:17:45'::timestamp) - extract(epoch from '2026-07-11 06:17:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.380247 -2.811782)', '2026-07-11 06:17:52', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380385 -2.811797)'), GeomFromEWKT('SRID=4674;POINT (-40.380247 -2.811782)'))) / (select extract(epoch from '2026-07-11 06:17:52'::timestamp) - extract(epoch from '2026-07-11 06:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380385 -2.811797)'), GeomFromEWKT('SRID=4674;POINT (-40.380247 -2.811782)'))) / (select extract(epoch from '2026-07-11 06:17:52'::timestamp) - extract(epoch from '2026-07-11 06:17:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.380103 -2.811792)', '2026-07-11 06:17:59', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380247 -2.811782)'), GeomFromEWKT('SRID=4674;POINT (-40.380103 -2.811792)'))) / (select extract(epoch from '2026-07-11 06:17:59'::timestamp) - extract(epoch from '2026-07-11 06:17:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380247 -2.811782)'), GeomFromEWKT('SRID=4674;POINT (-40.380103 -2.811792)'))) / (select extract(epoch from '2026-07-11 06:17:59'::timestamp) - extract(epoch from '2026-07-11 06: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'), 47635, 'SRID=4674;POINT (-40.379962 -2.811795)', '2026-07-11 06:18:06', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380103 -2.811792)'), GeomFromEWKT('SRID=4674;POINT (-40.379962 -2.811795)'))) / (select extract(epoch from '2026-07-11 06:18:06'::timestamp) - extract(epoch from '2026-07-11 06:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380103 -2.811792)'), GeomFromEWKT('SRID=4674;POINT (-40.379962 -2.811795)'))) / (select extract(epoch from '2026-07-11 06:18:06'::timestamp) - extract(epoch from '2026-07-11 06:17:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.379824 -2.811799)', '2026-07-11 06:18:13', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379962 -2.811795)'), GeomFromEWKT('SRID=4674;POINT (-40.379824 -2.811799)'))) / (select extract(epoch from '2026-07-11 06:18:13'::timestamp) - extract(epoch from '2026-07-11 06:18:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379962 -2.811795)'), GeomFromEWKT('SRID=4674;POINT (-40.379824 -2.811799)'))) / (select extract(epoch from '2026-07-11 06:18:13'::timestamp) - extract(epoch from '2026-07-11 06:18:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.379673 -2.81181)', '2026-07-11 06:18:21', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379824 -2.811799)'), GeomFromEWKT('SRID=4674;POINT (-40.379673 -2.81181)'))) / (select extract(epoch from '2026-07-11 06:18:21'::timestamp) - extract(epoch from '2026-07-11 06:18:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379824 -2.811799)'), GeomFromEWKT('SRID=4674;POINT (-40.379673 -2.81181)'))) / (select extract(epoch from '2026-07-11 06:18:21'::timestamp) - extract(epoch from '2026-07-11 06:18:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.379512 -2.811831)', '2026-07-11 06:18:29', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379673 -2.81181)'), GeomFromEWKT('SRID=4674;POINT (-40.379512 -2.811831)'))) / (select extract(epoch from '2026-07-11 06:18:29'::timestamp) - extract(epoch from '2026-07-11 06:18:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379673 -2.81181)'), GeomFromEWKT('SRID=4674;POINT (-40.379512 -2.811831)'))) / (select extract(epoch from '2026-07-11 06:18:29'::timestamp) - extract(epoch from '2026-07-11 06:18:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.37935 -2.811861)', '2026-07-11 06:18:37', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379512 -2.811831)'), GeomFromEWKT('SRID=4674;POINT (-40.37935 -2.811861)'))) / (select extract(epoch from '2026-07-11 06:18:37'::timestamp) - extract(epoch from '2026-07-11 06:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379512 -2.811831)'), GeomFromEWKT('SRID=4674;POINT (-40.37935 -2.811861)'))) / (select extract(epoch from '2026-07-11 06:18:37'::timestamp) - extract(epoch from '2026-07-11 06:18:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.37921 -2.811873)', '2026-07-11 06:18:44', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37935 -2.811861)'), GeomFromEWKT('SRID=4674;POINT (-40.37921 -2.811873)'))) / (select extract(epoch from '2026-07-11 06:18:44'::timestamp) - extract(epoch from '2026-07-11 06:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37935 -2.811861)'), GeomFromEWKT('SRID=4674;POINT (-40.37921 -2.811873)'))) / (select extract(epoch from '2026-07-11 06:18:44'::timestamp) - extract(epoch from '2026-07-11 06:18:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.379006 -2.811886)', '2026-07-11 06:18:54', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37921 -2.811873)'), GeomFromEWKT('SRID=4674;POINT (-40.379006 -2.811886)'))) / (select extract(epoch from '2026-07-11 06:18:54'::timestamp) - extract(epoch from '2026-07-11 06:18:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37921 -2.811873)'), GeomFromEWKT('SRID=4674;POINT (-40.379006 -2.811886)'))) / (select extract(epoch from '2026-07-11 06:18:54'::timestamp) - extract(epoch from '2026-07-11 06:18:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.378853 -2.811899)', '2026-07-11 06:19:02', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379006 -2.811886)'), GeomFromEWKT('SRID=4674;POINT (-40.378853 -2.811899)'))) / (select extract(epoch from '2026-07-11 06:19:02'::timestamp) - extract(epoch from '2026-07-11 06:18:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379006 -2.811886)'), GeomFromEWKT('SRID=4674;POINT (-40.378853 -2.811899)'))) / (select extract(epoch from '2026-07-11 06:19:02'::timestamp) - extract(epoch from '2026-07-11 06: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'), 47635, 'SRID=4674;POINT (-40.378708 -2.811887)', '2026-07-11 06:19:10', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378853 -2.811899)'), GeomFromEWKT('SRID=4674;POINT (-40.378708 -2.811887)'))) / (select extract(epoch from '2026-07-11 06:19:10'::timestamp) - extract(epoch from '2026-07-11 06:19:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378853 -2.811899)'), GeomFromEWKT('SRID=4674;POINT (-40.378708 -2.811887)'))) / (select extract(epoch from '2026-07-11 06:19:10'::timestamp) - extract(epoch from '2026-07-11 06:19:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.378519 -2.811887)', '2026-07-11 06:19:19', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378708 -2.811887)'), GeomFromEWKT('SRID=4674;POINT (-40.378519 -2.811887)'))) / (select extract(epoch from '2026-07-11 06:19:19'::timestamp) - extract(epoch from '2026-07-11 06:19:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378708 -2.811887)'), GeomFromEWKT('SRID=4674;POINT (-40.378519 -2.811887)'))) / (select extract(epoch from '2026-07-11 06:19:19'::timestamp) - extract(epoch from '2026-07-11 06:19:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.378343 -2.811894)', '2026-07-11 06:19:28', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378519 -2.811887)'), GeomFromEWKT('SRID=4674;POINT (-40.378343 -2.811894)'))) / (select extract(epoch from '2026-07-11 06:19:28'::timestamp) - extract(epoch from '2026-07-11 06:19:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378519 -2.811887)'), GeomFromEWKT('SRID=4674;POINT (-40.378343 -2.811894)'))) / (select extract(epoch from '2026-07-11 06:19:28'::timestamp) - extract(epoch from '2026-07-11 06:19:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.378181 -2.811891)', '2026-07-11 06:19:36', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378343 -2.811894)'), GeomFromEWKT('SRID=4674;POINT (-40.378181 -2.811891)'))) / (select extract(epoch from '2026-07-11 06:19:36'::timestamp) - extract(epoch from '2026-07-11 06:19:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378343 -2.811894)'), GeomFromEWKT('SRID=4674;POINT (-40.378181 -2.811891)'))) / (select extract(epoch from '2026-07-11 06:19:36'::timestamp) - extract(epoch from '2026-07-11 06:19:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.378004 -2.811884)', '2026-07-11 06:19:45', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378181 -2.811891)'), GeomFromEWKT('SRID=4674;POINT (-40.378004 -2.811884)'))) / (select extract(epoch from '2026-07-11 06:19:45'::timestamp) - extract(epoch from '2026-07-11 06:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378181 -2.811891)'), GeomFromEWKT('SRID=4674;POINT (-40.378004 -2.811884)'))) / (select extract(epoch from '2026-07-11 06:19:45'::timestamp) - extract(epoch from '2026-07-11 06:19:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.377781 -2.811884)', '2026-07-11 06:19:56', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378004 -2.811884)'), GeomFromEWKT('SRID=4674;POINT (-40.377781 -2.811884)'))) / (select extract(epoch from '2026-07-11 06:19:56'::timestamp) - extract(epoch from '2026-07-11 06:19:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378004 -2.811884)'), GeomFromEWKT('SRID=4674;POINT (-40.377781 -2.811884)'))) / (select extract(epoch from '2026-07-11 06:19:56'::timestamp) - extract(epoch from '2026-07-11 06:19:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.377619 -2.811877)', '2026-07-11 06:20:04', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377781 -2.811884)'), GeomFromEWKT('SRID=4674;POINT (-40.377619 -2.811877)'))) / (select extract(epoch from '2026-07-11 06:20:04'::timestamp) - extract(epoch from '2026-07-11 06:19:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377781 -2.811884)'), GeomFromEWKT('SRID=4674;POINT (-40.377619 -2.811877)'))) / (select extract(epoch from '2026-07-11 06:20:04'::timestamp) - extract(epoch from '2026-07-11 06:19:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.377459 -2.811875)', '2026-07-11 06:20:12', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377619 -2.811877)'), GeomFromEWKT('SRID=4674;POINT (-40.377459 -2.811875)'))) / (select extract(epoch from '2026-07-11 06:20:12'::timestamp) - extract(epoch from '2026-07-11 06:20:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377619 -2.811877)'), GeomFromEWKT('SRID=4674;POINT (-40.377459 -2.811875)'))) / (select extract(epoch from '2026-07-11 06:20:12'::timestamp) - extract(epoch from '2026-07-11 06:20:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.377258 -2.81186)', '2026-07-11 06:20:22', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377459 -2.811875)'), GeomFromEWKT('SRID=4674;POINT (-40.377258 -2.81186)'))) / (select extract(epoch from '2026-07-11 06:20:22'::timestamp) - extract(epoch from '2026-07-11 06:20:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377459 -2.811875)'), GeomFromEWKT('SRID=4674;POINT (-40.377258 -2.81186)'))) / (select extract(epoch from '2026-07-11 06:20:22'::timestamp) - extract(epoch from '2026-07-11 06:20:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.377107 -2.81185)', '2026-07-11 06:20:30', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377258 -2.81186)'), GeomFromEWKT('SRID=4674;POINT (-40.377107 -2.81185)'))) / (select extract(epoch from '2026-07-11 06:20:30'::timestamp) - extract(epoch from '2026-07-11 06:20:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377258 -2.81186)'), GeomFromEWKT('SRID=4674;POINT (-40.377107 -2.81185)'))) / (select extract(epoch from '2026-07-11 06:20:30'::timestamp) - extract(epoch from '2026-07-11 06:20:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.376935 -2.811838)', '2026-07-11 06:20:39', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377107 -2.81185)'), GeomFromEWKT('SRID=4674;POINT (-40.376935 -2.811838)'))) / (select extract(epoch from '2026-07-11 06:20:39'::timestamp) - extract(epoch from '2026-07-11 06:20:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377107 -2.81185)'), GeomFromEWKT('SRID=4674;POINT (-40.376935 -2.811838)'))) / (select extract(epoch from '2026-07-11 06:20:39'::timestamp) - extract(epoch from '2026-07-11 06:20:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.376793 -2.811833)', '2026-07-11 06:20:46', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376935 -2.811838)'), GeomFromEWKT('SRID=4674;POINT (-40.376793 -2.811833)'))) / (select extract(epoch from '2026-07-11 06:20:46'::timestamp) - extract(epoch from '2026-07-11 06:20:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376935 -2.811838)'), GeomFromEWKT('SRID=4674;POINT (-40.376793 -2.811833)'))) / (select extract(epoch from '2026-07-11 06:20:46'::timestamp) - extract(epoch from '2026-07-11 06:20:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.376593 -2.811814)', '2026-07-11 06:20:56', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376793 -2.811833)'), GeomFromEWKT('SRID=4674;POINT (-40.376593 -2.811814)'))) / (select extract(epoch from '2026-07-11 06:20:56'::timestamp) - extract(epoch from '2026-07-11 06:20:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376793 -2.811833)'), GeomFromEWKT('SRID=4674;POINT (-40.376593 -2.811814)'))) / (select extract(epoch from '2026-07-11 06:20:56'::timestamp) - extract(epoch from '2026-07-11 06:20:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.376417 -2.811792)', '2026-07-11 06:21:05', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376593 -2.811814)'), GeomFromEWKT('SRID=4674;POINT (-40.376417 -2.811792)'))) / (select extract(epoch from '2026-07-11 06:21:05'::timestamp) - extract(epoch from '2026-07-11 06:20:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376593 -2.811814)'), GeomFromEWKT('SRID=4674;POINT (-40.376417 -2.811792)'))) / (select extract(epoch from '2026-07-11 06:21:05'::timestamp) - extract(epoch from '2026-07-11 06:20:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.376276 -2.811787)', '2026-07-11 06:21:12', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376417 -2.811792)'), GeomFromEWKT('SRID=4674;POINT (-40.376276 -2.811787)'))) / (select extract(epoch from '2026-07-11 06:21:12'::timestamp) - extract(epoch from '2026-07-11 06:21:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376417 -2.811792)'), GeomFromEWKT('SRID=4674;POINT (-40.376276 -2.811787)'))) / (select extract(epoch from '2026-07-11 06:21:12'::timestamp) - extract(epoch from '2026-07-11 06:21:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.376123 -2.811757)', '2026-07-11 06:21:20', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376276 -2.811787)'), GeomFromEWKT('SRID=4674;POINT (-40.376123 -2.811757)'))) / (select extract(epoch from '2026-07-11 06:21:20'::timestamp) - extract(epoch from '2026-07-11 06:21:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376276 -2.811787)'), GeomFromEWKT('SRID=4674;POINT (-40.376123 -2.811757)'))) / (select extract(epoch from '2026-07-11 06:21:20'::timestamp) - extract(epoch from '2026-07-11 06: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'), 47635, 'SRID=4674;POINT (-40.375939 -2.811732)', '2026-07-11 06:21:29', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376123 -2.811757)'), GeomFromEWKT('SRID=4674;POINT (-40.375939 -2.811732)'))) / (select extract(epoch from '2026-07-11 06:21:29'::timestamp) - extract(epoch from '2026-07-11 06:21:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376123 -2.811757)'), GeomFromEWKT('SRID=4674;POINT (-40.375939 -2.811732)'))) / (select extract(epoch from '2026-07-11 06:21:29'::timestamp) - extract(epoch from '2026-07-11 06:21:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.375802 -2.811722)', '2026-07-11 06:21:37', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375939 -2.811732)'), GeomFromEWKT('SRID=4674;POINT (-40.375802 -2.811722)'))) / (select extract(epoch from '2026-07-11 06:21:37'::timestamp) - extract(epoch from '2026-07-11 06:21:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375939 -2.811732)'), GeomFromEWKT('SRID=4674;POINT (-40.375802 -2.811722)'))) / (select extract(epoch from '2026-07-11 06:21:37'::timestamp) - extract(epoch from '2026-07-11 06:21:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.37571 -2.811727)', '2026-07-11 06:21:44', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375802 -2.811722)'), GeomFromEWKT('SRID=4674;POINT (-40.37571 -2.811727)'))) / (select extract(epoch from '2026-07-11 06:21:44'::timestamp) - extract(epoch from '2026-07-11 06:21:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375802 -2.811722)'), GeomFromEWKT('SRID=4674;POINT (-40.37571 -2.811727)'))) / (select extract(epoch from '2026-07-11 06:21:44'::timestamp) - extract(epoch from '2026-07-11 06:21:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.37566 -2.81172)', '2026-07-11 06:21:53', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37571 -2.811727)'), GeomFromEWKT('SRID=4674;POINT (-40.37566 -2.81172)'))) / (select extract(epoch from '2026-07-11 06:21:53'::timestamp) - extract(epoch from '2026-07-11 06:21:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37571 -2.811727)'), GeomFromEWKT('SRID=4674;POINT (-40.37566 -2.81172)'))) / (select extract(epoch from '2026-07-11 06:21:53'::timestamp) - extract(epoch from '2026-07-11 06: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'), 47635, 'SRID=4674;POINT (-40.375691 -2.811746)', '2026-07-11 06:21:59', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37566 -2.81172)'), GeomFromEWKT('SRID=4674;POINT (-40.375691 -2.811746)'))) / (select extract(epoch from '2026-07-11 06:21:59'::timestamp) - extract(epoch from '2026-07-11 06:21:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37566 -2.81172)'), GeomFromEWKT('SRID=4674;POINT (-40.375691 -2.811746)'))) / (select extract(epoch from '2026-07-11 06:21:59'::timestamp) - extract(epoch from '2026-07-11 06:21:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.375683 -2.811809)', '2026-07-11 06:22:07', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375691 -2.811746)'), GeomFromEWKT('SRID=4674;POINT (-40.375683 -2.811809)'))) / (select extract(epoch from '2026-07-11 06:22:07'::timestamp) - extract(epoch from '2026-07-11 06:21:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375691 -2.811746)'), GeomFromEWKT('SRID=4674;POINT (-40.375683 -2.811809)'))) / (select extract(epoch from '2026-07-11 06:22:07'::timestamp) - extract(epoch from '2026-07-11 06:21:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.375611 -2.811862)', '2026-07-11 06:22:14', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375683 -2.811809)'), GeomFromEWKT('SRID=4674;POINT (-40.375611 -2.811862)'))) / (select extract(epoch from '2026-07-11 06:22:14'::timestamp) - extract(epoch from '2026-07-11 06:22:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375683 -2.811809)'), GeomFromEWKT('SRID=4674;POINT (-40.375611 -2.811862)'))) / (select extract(epoch from '2026-07-11 06:22:14'::timestamp) - extract(epoch from '2026-07-11 06:22:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.375507 -2.811847)', '2026-07-11 06:22:22', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375611 -2.811862)'), GeomFromEWKT('SRID=4674;POINT (-40.375507 -2.811847)'))) / (select extract(epoch from '2026-07-11 06:22:22'::timestamp) - extract(epoch from '2026-07-11 06:22:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375611 -2.811862)'), GeomFromEWKT('SRID=4674;POINT (-40.375507 -2.811847)'))) / (select extract(epoch from '2026-07-11 06:22:22'::timestamp) - extract(epoch from '2026-07-11 06:22:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.375397 -2.811777)', '2026-07-11 06:22:30', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375507 -2.811847)'), GeomFromEWKT('SRID=4674;POINT (-40.375397 -2.811777)'))) / (select extract(epoch from '2026-07-11 06:22:30'::timestamp) - extract(epoch from '2026-07-11 06:22:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375507 -2.811847)'), GeomFromEWKT('SRID=4674;POINT (-40.375397 -2.811777)'))) / (select extract(epoch from '2026-07-11 06:22:30'::timestamp) - extract(epoch from '2026-07-11 06:22:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.375259 -2.81171)', '2026-07-11 06:22:38', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375397 -2.811777)'), GeomFromEWKT('SRID=4674;POINT (-40.375259 -2.81171)'))) / (select extract(epoch from '2026-07-11 06:22:38'::timestamp) - extract(epoch from '2026-07-11 06:22:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375397 -2.811777)'), GeomFromEWKT('SRID=4674;POINT (-40.375259 -2.81171)'))) / (select extract(epoch from '2026-07-11 06:22:38'::timestamp) - extract(epoch from '2026-07-11 06:22:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.375114 -2.811663)', '2026-07-11 06:22:46', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375259 -2.81171)'), GeomFromEWKT('SRID=4674;POINT (-40.375114 -2.811663)'))) / (select extract(epoch from '2026-07-11 06:22:46'::timestamp) - extract(epoch from '2026-07-11 06:22:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375259 -2.81171)'), GeomFromEWKT('SRID=4674;POINT (-40.375114 -2.811663)'))) / (select extract(epoch from '2026-07-11 06:22:46'::timestamp) - extract(epoch from '2026-07-11 06:22:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.374915 -2.811607)', '2026-07-11 06:22:56', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375114 -2.811663)'), GeomFromEWKT('SRID=4674;POINT (-40.374915 -2.811607)'))) / (select extract(epoch from '2026-07-11 06:22:56'::timestamp) - extract(epoch from '2026-07-11 06:22:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375114 -2.811663)'), GeomFromEWKT('SRID=4674;POINT (-40.374915 -2.811607)'))) / (select extract(epoch from '2026-07-11 06:22:56'::timestamp) - extract(epoch from '2026-07-11 06: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'), 47635, 'SRID=4674;POINT (-40.37478 -2.811579)', '2026-07-11 06:23:03', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374915 -2.811607)'), GeomFromEWKT('SRID=4674;POINT (-40.37478 -2.811579)'))) / (select extract(epoch from '2026-07-11 06:23:03'::timestamp) - extract(epoch from '2026-07-11 06:22:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374915 -2.811607)'), GeomFromEWKT('SRID=4674;POINT (-40.37478 -2.811579)'))) / (select extract(epoch from '2026-07-11 06:23:03'::timestamp) - extract(epoch from '2026-07-11 06:22:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.374626 -2.811531)', '2026-07-11 06:23:11', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37478 -2.811579)'), GeomFromEWKT('SRID=4674;POINT (-40.374626 -2.811531)'))) / (select extract(epoch from '2026-07-11 06:23:11'::timestamp) - extract(epoch from '2026-07-11 06:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37478 -2.811579)'), GeomFromEWKT('SRID=4674;POINT (-40.374626 -2.811531)'))) / (select extract(epoch from '2026-07-11 06:23:11'::timestamp) - extract(epoch from '2026-07-11 06:23:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.374477 -2.811484)', '2026-07-11 06:23:19', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374626 -2.811531)'), GeomFromEWKT('SRID=4674;POINT (-40.374477 -2.811484)'))) / (select extract(epoch from '2026-07-11 06:23:19'::timestamp) - extract(epoch from '2026-07-11 06:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374626 -2.811531)'), GeomFromEWKT('SRID=4674;POINT (-40.374477 -2.811484)'))) / (select extract(epoch from '2026-07-11 06:23:19'::timestamp) - extract(epoch from '2026-07-11 06:23:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.374327 -2.811404)', '2026-07-11 06:23:28', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374477 -2.811484)'), GeomFromEWKT('SRID=4674;POINT (-40.374327 -2.811404)'))) / (select extract(epoch from '2026-07-11 06:23:28'::timestamp) - extract(epoch from '2026-07-11 06:23:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374477 -2.811484)'), GeomFromEWKT('SRID=4674;POINT (-40.374327 -2.811404)'))) / (select extract(epoch from '2026-07-11 06:23:28'::timestamp) - extract(epoch from '2026-07-11 06:23:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.37418 -2.811305)', '2026-07-11 06:23:37', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374327 -2.811404)'), GeomFromEWKT('SRID=4674;POINT (-40.37418 -2.811305)'))) / (select extract(epoch from '2026-07-11 06:23:37'::timestamp) - extract(epoch from '2026-07-11 06:23:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374327 -2.811404)'), GeomFromEWKT('SRID=4674;POINT (-40.37418 -2.811305)'))) / (select extract(epoch from '2026-07-11 06:23:37'::timestamp) - extract(epoch from '2026-07-11 06:23:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.374043 -2.811226)', '2026-07-11 06:23:45', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37418 -2.811305)'), GeomFromEWKT('SRID=4674;POINT (-40.374043 -2.811226)'))) / (select extract(epoch from '2026-07-11 06:23:45'::timestamp) - extract(epoch from '2026-07-11 06:23:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37418 -2.811305)'), GeomFromEWKT('SRID=4674;POINT (-40.374043 -2.811226)'))) / (select extract(epoch from '2026-07-11 06:23:45'::timestamp) - extract(epoch from '2026-07-11 06:23:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.373867 -2.811167)', '2026-07-11 06:23:54', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374043 -2.811226)'), GeomFromEWKT('SRID=4674;POINT (-40.373867 -2.811167)'))) / (select extract(epoch from '2026-07-11 06:23:54'::timestamp) - extract(epoch from '2026-07-11 06:23:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374043 -2.811226)'), GeomFromEWKT('SRID=4674;POINT (-40.373867 -2.811167)'))) / (select extract(epoch from '2026-07-11 06:23:54'::timestamp) - extract(epoch from '2026-07-11 06:23:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.373706 -2.811128)', '2026-07-11 06:24:02', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373867 -2.811167)'), GeomFromEWKT('SRID=4674;POINT (-40.373706 -2.811128)'))) / (select extract(epoch from '2026-07-11 06:24:02'::timestamp) - extract(epoch from '2026-07-11 06:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373867 -2.811167)'), GeomFromEWKT('SRID=4674;POINT (-40.373706 -2.811128)'))) / (select extract(epoch from '2026-07-11 06:24:02'::timestamp) - extract(epoch from '2026-07-11 06:23:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.373545 -2.811095)', '2026-07-11 06:24:10', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373706 -2.811128)'), GeomFromEWKT('SRID=4674;POINT (-40.373545 -2.811095)'))) / (select extract(epoch from '2026-07-11 06:24:10'::timestamp) - extract(epoch from '2026-07-11 06:24:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373706 -2.811128)'), GeomFromEWKT('SRID=4674;POINT (-40.373545 -2.811095)'))) / (select extract(epoch from '2026-07-11 06:24:10'::timestamp) - extract(epoch from '2026-07-11 06:24:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.373376 -2.811061)', '2026-07-11 06:24:19', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373545 -2.811095)'), GeomFromEWKT('SRID=4674;POINT (-40.373376 -2.811061)'))) / (select extract(epoch from '2026-07-11 06:24:19'::timestamp) - extract(epoch from '2026-07-11 06:24:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373545 -2.811095)'), GeomFromEWKT('SRID=4674;POINT (-40.373376 -2.811061)'))) / (select extract(epoch from '2026-07-11 06:24:19'::timestamp) - extract(epoch from '2026-07-11 06:24:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.373277 -2.81104)', '2026-07-11 06:24:24', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373376 -2.811061)'), GeomFromEWKT('SRID=4674;POINT (-40.373277 -2.81104)'))) / (select extract(epoch from '2026-07-11 06:24:24'::timestamp) - extract(epoch from '2026-07-11 06:24:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373376 -2.811061)'), GeomFromEWKT('SRID=4674;POINT (-40.373277 -2.81104)'))) / (select extract(epoch from '2026-07-11 06:24:24'::timestamp) - extract(epoch from '2026-07-11 06:24:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.373142 -2.811015)', '2026-07-11 06:24:31', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373277 -2.81104)'), GeomFromEWKT('SRID=4674;POINT (-40.373142 -2.811015)'))) / (select extract(epoch from '2026-07-11 06:24:31'::timestamp) - extract(epoch from '2026-07-11 06:24:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373277 -2.81104)'), GeomFromEWKT('SRID=4674;POINT (-40.373142 -2.811015)'))) / (select extract(epoch from '2026-07-11 06:24:31'::timestamp) - extract(epoch from '2026-07-11 06:24:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.372988 -2.810976)', '2026-07-11 06:24:39', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373142 -2.811015)'), GeomFromEWKT('SRID=4674;POINT (-40.372988 -2.810976)'))) / (select extract(epoch from '2026-07-11 06:24:39'::timestamp) - extract(epoch from '2026-07-11 06:24:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373142 -2.811015)'), GeomFromEWKT('SRID=4674;POINT (-40.372988 -2.810976)'))) / (select extract(epoch from '2026-07-11 06:24:39'::timestamp) - extract(epoch from '2026-07-11 06:24:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.372834 -2.810934)', '2026-07-11 06:24:47', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372988 -2.810976)'), GeomFromEWKT('SRID=4674;POINT (-40.372834 -2.810934)'))) / (select extract(epoch from '2026-07-11 06:24:47'::timestamp) - extract(epoch from '2026-07-11 06:24:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372988 -2.810976)'), GeomFromEWKT('SRID=4674;POINT (-40.372834 -2.810934)'))) / (select extract(epoch from '2026-07-11 06:24:47'::timestamp) - extract(epoch from '2026-07-11 06:24:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.372675 -2.810906)', '2026-07-11 06:24:55', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372834 -2.810934)'), GeomFromEWKT('SRID=4674;POINT (-40.372675 -2.810906)'))) / (select extract(epoch from '2026-07-11 06:24:55'::timestamp) - extract(epoch from '2026-07-11 06:24:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372834 -2.810934)'), GeomFromEWKT('SRID=4674;POINT (-40.372675 -2.810906)'))) / (select extract(epoch from '2026-07-11 06:24:55'::timestamp) - extract(epoch from '2026-07-11 06:24:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.372463 -2.81086)', '2026-07-11 06:25:06', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372675 -2.810906)'), GeomFromEWKT('SRID=4674;POINT (-40.372463 -2.81086)'))) / (select extract(epoch from '2026-07-11 06:25:06'::timestamp) - extract(epoch from '2026-07-11 06:24:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372675 -2.810906)'), GeomFromEWKT('SRID=4674;POINT (-40.372463 -2.81086)'))) / (select extract(epoch from '2026-07-11 06:25:06'::timestamp) - extract(epoch from '2026-07-11 06:24:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.37228 -2.81082)', '2026-07-11 06:25:15', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372463 -2.81086)'), GeomFromEWKT('SRID=4674;POINT (-40.37228 -2.81082)'))) / (select extract(epoch from '2026-07-11 06:25:15'::timestamp) - extract(epoch from '2026-07-11 06:25:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372463 -2.81086)'), GeomFromEWKT('SRID=4674;POINT (-40.37228 -2.81082)'))) / (select extract(epoch from '2026-07-11 06:25:15'::timestamp) - extract(epoch from '2026-07-11 06:25:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.37212 -2.810789)', '2026-07-11 06:25:23', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37228 -2.81082)'), GeomFromEWKT('SRID=4674;POINT (-40.37212 -2.810789)'))) / (select extract(epoch from '2026-07-11 06:25:23'::timestamp) - extract(epoch from '2026-07-11 06:25:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37228 -2.81082)'), GeomFromEWKT('SRID=4674;POINT (-40.37212 -2.810789)'))) / (select extract(epoch from '2026-07-11 06:25:23'::timestamp) - extract(epoch from '2026-07-11 06: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'), 47635, 'SRID=4674;POINT (-40.371981 -2.810765)', '2026-07-11 06:25:30', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37212 -2.810789)'), GeomFromEWKT('SRID=4674;POINT (-40.371981 -2.810765)'))) / (select extract(epoch from '2026-07-11 06:25:30'::timestamp) - extract(epoch from '2026-07-11 06:25:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37212 -2.810789)'), GeomFromEWKT('SRID=4674;POINT (-40.371981 -2.810765)'))) / (select extract(epoch from '2026-07-11 06:25:30'::timestamp) - extract(epoch from '2026-07-11 06: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'), 47635, 'SRID=4674;POINT (-40.371826 -2.810745)', '2026-07-11 06:25:38', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371981 -2.810765)'), GeomFromEWKT('SRID=4674;POINT (-40.371826 -2.810745)'))) / (select extract(epoch from '2026-07-11 06:25:38'::timestamp) - extract(epoch from '2026-07-11 06:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371981 -2.810765)'), GeomFromEWKT('SRID=4674;POINT (-40.371826 -2.810745)'))) / (select extract(epoch from '2026-07-11 06:25:38'::timestamp) - extract(epoch from '2026-07-11 06:25:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.371678 -2.810726)', '2026-07-11 06:25:45', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371826 -2.810745)'), GeomFromEWKT('SRID=4674;POINT (-40.371678 -2.810726)'))) / (select extract(epoch from '2026-07-11 06:25:45'::timestamp) - extract(epoch from '2026-07-11 06:25:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371826 -2.810745)'), GeomFromEWKT('SRID=4674;POINT (-40.371678 -2.810726)'))) / (select extract(epoch from '2026-07-11 06:25:45'::timestamp) - extract(epoch from '2026-07-11 06:25:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.371518 -2.810698)', '2026-07-11 06:25:53', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371678 -2.810726)'), GeomFromEWKT('SRID=4674;POINT (-40.371518 -2.810698)'))) / (select extract(epoch from '2026-07-11 06:25:53'::timestamp) - extract(epoch from '2026-07-11 06:25:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371678 -2.810726)'), GeomFromEWKT('SRID=4674;POINT (-40.371518 -2.810698)'))) / (select extract(epoch from '2026-07-11 06:25:53'::timestamp) - extract(epoch from '2026-07-11 06:25:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.371353 -2.810687)', '2026-07-11 06:26:01', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371518 -2.810698)'), GeomFromEWKT('SRID=4674;POINT (-40.371353 -2.810687)'))) / (select extract(epoch from '2026-07-11 06:26:01'::timestamp) - extract(epoch from '2026-07-11 06:25:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371518 -2.810698)'), GeomFromEWKT('SRID=4674;POINT (-40.371353 -2.810687)'))) / (select extract(epoch from '2026-07-11 06:26:01'::timestamp) - extract(epoch from '2026-07-11 06:25:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.371211 -2.810669)', '2026-07-11 06:26:08', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371353 -2.810687)'), GeomFromEWKT('SRID=4674;POINT (-40.371211 -2.810669)'))) / (select extract(epoch from '2026-07-11 06:26:08'::timestamp) - extract(epoch from '2026-07-11 06:26:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371353 -2.810687)'), GeomFromEWKT('SRID=4674;POINT (-40.371211 -2.810669)'))) / (select extract(epoch from '2026-07-11 06:26:08'::timestamp) - extract(epoch from '2026-07-11 06: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'), 47635, 'SRID=4674;POINT (-40.371052 -2.810655)', '2026-07-11 06:26:16', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371211 -2.810669)'), GeomFromEWKT('SRID=4674;POINT (-40.371052 -2.810655)'))) / (select extract(epoch from '2026-07-11 06:26:16'::timestamp) - extract(epoch from '2026-07-11 06:26:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371211 -2.810669)'), GeomFromEWKT('SRID=4674;POINT (-40.371052 -2.810655)'))) / (select extract(epoch from '2026-07-11 06:26:16'::timestamp) - extract(epoch from '2026-07-11 06:26:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.370875 -2.810601)', '2026-07-11 06:26:26', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371052 -2.810655)'), GeomFromEWKT('SRID=4674;POINT (-40.370875 -2.810601)'))) / (select extract(epoch from '2026-07-11 06:26:26'::timestamp) - extract(epoch from '2026-07-11 06:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371052 -2.810655)'), GeomFromEWKT('SRID=4674;POINT (-40.370875 -2.810601)'))) / (select extract(epoch from '2026-07-11 06:26:26'::timestamp) - extract(epoch from '2026-07-11 06:26:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.370768 -2.810543)', '2026-07-11 06:26:33', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370875 -2.810601)'), GeomFromEWKT('SRID=4674;POINT (-40.370768 -2.810543)'))) / (select extract(epoch from '2026-07-11 06:26:33'::timestamp) - extract(epoch from '2026-07-11 06:26:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370875 -2.810601)'), GeomFromEWKT('SRID=4674;POINT (-40.370768 -2.810543)'))) / (select extract(epoch from '2026-07-11 06:26:33'::timestamp) - extract(epoch from '2026-07-11 06: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'), 47635, 'SRID=4674;POINT (-40.370642 -2.810492)', '2026-07-11 06:26:40', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370768 -2.810543)'), GeomFromEWKT('SRID=4674;POINT (-40.370642 -2.810492)'))) / (select extract(epoch from '2026-07-11 06:26:40'::timestamp) - extract(epoch from '2026-07-11 06:26:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370768 -2.810543)'), GeomFromEWKT('SRID=4674;POINT (-40.370642 -2.810492)'))) / (select extract(epoch from '2026-07-11 06:26:40'::timestamp) - extract(epoch from '2026-07-11 06:26:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.370517 -2.810435)', '2026-07-11 06:26:47', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370642 -2.810492)'), GeomFromEWKT('SRID=4674;POINT (-40.370517 -2.810435)'))) / (select extract(epoch from '2026-07-11 06:26:47'::timestamp) - extract(epoch from '2026-07-11 06:26:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370642 -2.810492)'), GeomFromEWKT('SRID=4674;POINT (-40.370517 -2.810435)'))) / (select extract(epoch from '2026-07-11 06:26:47'::timestamp) - extract(epoch from '2026-07-11 06:26:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.370374 -2.810363)', '2026-07-11 06:26:55', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370517 -2.810435)'), GeomFromEWKT('SRID=4674;POINT (-40.370374 -2.810363)'))) / (select extract(epoch from '2026-07-11 06:26:55'::timestamp) - extract(epoch from '2026-07-11 06:26:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370517 -2.810435)'), GeomFromEWKT('SRID=4674;POINT (-40.370374 -2.810363)'))) / (select extract(epoch from '2026-07-11 06:26:55'::timestamp) - extract(epoch from '2026-07-11 06:26:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.370245 -2.810308)', '2026-07-11 06:27:02', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370374 -2.810363)'), GeomFromEWKT('SRID=4674;POINT (-40.370245 -2.810308)'))) / (select extract(epoch from '2026-07-11 06:27:02'::timestamp) - extract(epoch from '2026-07-11 06:26:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370374 -2.810363)'), GeomFromEWKT('SRID=4674;POINT (-40.370245 -2.810308)'))) / (select extract(epoch from '2026-07-11 06:27:02'::timestamp) - extract(epoch from '2026-07-11 06:26:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.370094 -2.810199)', '2026-07-11 06:27:12', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370245 -2.810308)'), GeomFromEWKT('SRID=4674;POINT (-40.370094 -2.810199)'))) / (select extract(epoch from '2026-07-11 06:27:12'::timestamp) - extract(epoch from '2026-07-11 06:27:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370245 -2.810308)'), GeomFromEWKT('SRID=4674;POINT (-40.370094 -2.810199)'))) / (select extract(epoch from '2026-07-11 06:27:12'::timestamp) - extract(epoch from '2026-07-11 06:27:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.369976 -2.810084)', '2026-07-11 06:27:20', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370094 -2.810199)'), GeomFromEWKT('SRID=4674;POINT (-40.369976 -2.810084)'))) / (select extract(epoch from '2026-07-11 06:27:20'::timestamp) - extract(epoch from '2026-07-11 06:27:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370094 -2.810199)'), GeomFromEWKT('SRID=4674;POINT (-40.369976 -2.810084)'))) / (select extract(epoch from '2026-07-11 06:27:20'::timestamp) - extract(epoch from '2026-07-11 06:27:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.369851 -2.809974)', '2026-07-11 06:27:28', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369976 -2.810084)'), GeomFromEWKT('SRID=4674;POINT (-40.369851 -2.809974)'))) / (select extract(epoch from '2026-07-11 06:27:28'::timestamp) - extract(epoch from '2026-07-11 06:27:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369976 -2.810084)'), GeomFromEWKT('SRID=4674;POINT (-40.369851 -2.809974)'))) / (select extract(epoch from '2026-07-11 06:27:28'::timestamp) - extract(epoch from '2026-07-11 06:27:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.369687 -2.809855)', '2026-07-11 06:27:38', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369851 -2.809974)'), GeomFromEWKT('SRID=4674;POINT (-40.369687 -2.809855)'))) / (select extract(epoch from '2026-07-11 06:27:38'::timestamp) - extract(epoch from '2026-07-11 06:27:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369851 -2.809974)'), GeomFromEWKT('SRID=4674;POINT (-40.369687 -2.809855)'))) / (select extract(epoch from '2026-07-11 06:27:38'::timestamp) - extract(epoch from '2026-07-11 06:27:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.369567 -2.809776)', '2026-07-11 06:27:45', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369687 -2.809855)'), GeomFromEWKT('SRID=4674;POINT (-40.369567 -2.809776)'))) / (select extract(epoch from '2026-07-11 06:27:45'::timestamp) - extract(epoch from '2026-07-11 06:27:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369687 -2.809855)'), GeomFromEWKT('SRID=4674;POINT (-40.369567 -2.809776)'))) / (select extract(epoch from '2026-07-11 06:27:45'::timestamp) - extract(epoch from '2026-07-11 06:27:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.369387 -2.809685)', '2026-07-11 06:27:54', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369567 -2.809776)'), GeomFromEWKT('SRID=4674;POINT (-40.369387 -2.809685)'))) / (select extract(epoch from '2026-07-11 06:27:54'::timestamp) - extract(epoch from '2026-07-11 06:27:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369567 -2.809776)'), GeomFromEWKT('SRID=4674;POINT (-40.369387 -2.809685)'))) / (select extract(epoch from '2026-07-11 06:27:54'::timestamp) - extract(epoch from '2026-07-11 06:27:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.369216 -2.809615)', '2026-07-11 06:28:03', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369387 -2.809685)'), GeomFromEWKT('SRID=4674;POINT (-40.369216 -2.809615)'))) / (select extract(epoch from '2026-07-11 06:28:03'::timestamp) - extract(epoch from '2026-07-11 06:27:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369387 -2.809685)'), GeomFromEWKT('SRID=4674;POINT (-40.369216 -2.809615)'))) / (select extract(epoch from '2026-07-11 06:28:03'::timestamp) - extract(epoch from '2026-07-11 06:27:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.369018 -2.809537)', '2026-07-11 06:28:13', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369216 -2.809615)'), GeomFromEWKT('SRID=4674;POINT (-40.369018 -2.809537)'))) / (select extract(epoch from '2026-07-11 06:28:13'::timestamp) - extract(epoch from '2026-07-11 06:28:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369216 -2.809615)'), GeomFromEWKT('SRID=4674;POINT (-40.369018 -2.809537)'))) / (select extract(epoch from '2026-07-11 06:28:13'::timestamp) - extract(epoch from '2026-07-11 06: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'), 47635, 'SRID=4674;POINT (-40.368839 -2.809471)', '2026-07-11 06:28:22', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369018 -2.809537)'), GeomFromEWKT('SRID=4674;POINT (-40.368839 -2.809471)'))) / (select extract(epoch from '2026-07-11 06:28:22'::timestamp) - extract(epoch from '2026-07-11 06:28:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369018 -2.809537)'), GeomFromEWKT('SRID=4674;POINT (-40.368839 -2.809471)'))) / (select extract(epoch from '2026-07-11 06:28:22'::timestamp) - extract(epoch from '2026-07-11 06:28:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.368678 -2.809417)', '2026-07-11 06:28:30', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368839 -2.809471)'), GeomFromEWKT('SRID=4674;POINT (-40.368678 -2.809417)'))) / (select extract(epoch from '2026-07-11 06:28:30'::timestamp) - extract(epoch from '2026-07-11 06:28:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368839 -2.809471)'), GeomFromEWKT('SRID=4674;POINT (-40.368678 -2.809417)'))) / (select extract(epoch from '2026-07-11 06:28:30'::timestamp) - extract(epoch from '2026-07-11 06:28:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.368495 -2.809357)', '2026-07-11 06:28:39', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368678 -2.809417)'), GeomFromEWKT('SRID=4674;POINT (-40.368495 -2.809357)'))) / (select extract(epoch from '2026-07-11 06:28:39'::timestamp) - extract(epoch from '2026-07-11 06:28:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368678 -2.809417)'), GeomFromEWKT('SRID=4674;POINT (-40.368495 -2.809357)'))) / (select extract(epoch from '2026-07-11 06:28:39'::timestamp) - extract(epoch from '2026-07-11 06:28:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.36832 -2.809301)', '2026-07-11 06:28:48', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368495 -2.809357)'), GeomFromEWKT('SRID=4674;POINT (-40.36832 -2.809301)'))) / (select extract(epoch from '2026-07-11 06:28:48'::timestamp) - extract(epoch from '2026-07-11 06:28:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368495 -2.809357)'), GeomFromEWKT('SRID=4674;POINT (-40.36832 -2.809301)'))) / (select extract(epoch from '2026-07-11 06:28:48'::timestamp) - extract(epoch from '2026-07-11 06:28:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.368137 -2.809252)', '2026-07-11 06:28:57', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36832 -2.809301)'), GeomFromEWKT('SRID=4674;POINT (-40.368137 -2.809252)'))) / (select extract(epoch from '2026-07-11 06:28:57'::timestamp) - extract(epoch from '2026-07-11 06:28:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36832 -2.809301)'), GeomFromEWKT('SRID=4674;POINT (-40.368137 -2.809252)'))) / (select extract(epoch from '2026-07-11 06:28:57'::timestamp) - extract(epoch from '2026-07-11 06:28:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.367984 -2.8092)', '2026-07-11 06:29:05', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368137 -2.809252)'), GeomFromEWKT('SRID=4674;POINT (-40.367984 -2.8092)'))) / (select extract(epoch from '2026-07-11 06:29:05'::timestamp) - extract(epoch from '2026-07-11 06:28:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368137 -2.809252)'), GeomFromEWKT('SRID=4674;POINT (-40.367984 -2.8092)'))) / (select extract(epoch from '2026-07-11 06:29:05'::timestamp) - extract(epoch from '2026-07-11 06: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'), 47635, 'SRID=4674;POINT (-40.367848 -2.80916)', '2026-07-11 06:29:12', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367984 -2.8092)'), GeomFromEWKT('SRID=4674;POINT (-40.367848 -2.80916)'))) / (select extract(epoch from '2026-07-11 06:29:12'::timestamp) - extract(epoch from '2026-07-11 06:29:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367984 -2.8092)'), GeomFromEWKT('SRID=4674;POINT (-40.367848 -2.80916)'))) / (select extract(epoch from '2026-07-11 06:29:12'::timestamp) - extract(epoch from '2026-07-11 06:29:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.367741 -2.809132)', '2026-07-11 06:29:18', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367848 -2.80916)'), GeomFromEWKT('SRID=4674;POINT (-40.367741 -2.809132)'))) / (select extract(epoch from '2026-07-11 06:29:18'::timestamp) - extract(epoch from '2026-07-11 06:29:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367848 -2.80916)'), GeomFromEWKT('SRID=4674;POINT (-40.367741 -2.809132)'))) / (select extract(epoch from '2026-07-11 06:29:18'::timestamp) - extract(epoch from '2026-07-11 06:29:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.367603 -2.809089)', '2026-07-11 06:29:26', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367741 -2.809132)'), GeomFromEWKT('SRID=4674;POINT (-40.367603 -2.809089)'))) / (select extract(epoch from '2026-07-11 06:29:26'::timestamp) - extract(epoch from '2026-07-11 06:29:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367741 -2.809132)'), GeomFromEWKT('SRID=4674;POINT (-40.367603 -2.809089)'))) / (select extract(epoch from '2026-07-11 06:29:26'::timestamp) - extract(epoch from '2026-07-11 06:29:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.367466 -2.809035)', '2026-07-11 06:29:34', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367603 -2.809089)'), GeomFromEWKT('SRID=4674;POINT (-40.367466 -2.809035)'))) / (select extract(epoch from '2026-07-11 06:29:34'::timestamp) - extract(epoch from '2026-07-11 06:29:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367603 -2.809089)'), GeomFromEWKT('SRID=4674;POINT (-40.367466 -2.809035)'))) / (select extract(epoch from '2026-07-11 06:29:34'::timestamp) - extract(epoch from '2026-07-11 06:29:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.367349 -2.808979)', '2026-07-11 06:29:41', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367466 -2.809035)'), GeomFromEWKT('SRID=4674;POINT (-40.367349 -2.808979)'))) / (select extract(epoch from '2026-07-11 06:29:41'::timestamp) - extract(epoch from '2026-07-11 06:29:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367466 -2.809035)'), GeomFromEWKT('SRID=4674;POINT (-40.367349 -2.808979)'))) / (select extract(epoch from '2026-07-11 06:29:41'::timestamp) - extract(epoch from '2026-07-11 06:29:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.36721 -2.80889)', '2026-07-11 06:29:50', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367349 -2.808979)'), GeomFromEWKT('SRID=4674;POINT (-40.36721 -2.80889)'))) / (select extract(epoch from '2026-07-11 06:29:50'::timestamp) - extract(epoch from '2026-07-11 06:29:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367349 -2.808979)'), GeomFromEWKT('SRID=4674;POINT (-40.36721 -2.80889)'))) / (select extract(epoch from '2026-07-11 06:29:50'::timestamp) - extract(epoch from '2026-07-11 06:29:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
