 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.382578 -2.79881)', '2026-07-29 04:13:07', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382536 -2.798828)'), GeomFromEWKT('SRID=4674;POINT (-40.382578 -2.79881)'))) / (select extract(epoch from '2026-07-29 04:13:07'::timestamp) - extract(epoch from '2026-07-29 04:13:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382536 -2.798828)'), GeomFromEWKT('SRID=4674;POINT (-40.382578 -2.79881)'))) / (select extract(epoch from '2026-07-29 04:13:07'::timestamp) - extract(epoch from '2026-07-29 04:13:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.382627 -2.798788)', '2026-07-29 04:13:17', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382578 -2.79881)'), GeomFromEWKT('SRID=4674;POINT (-40.382627 -2.798788)'))) / (select extract(epoch from '2026-07-29 04:13:17'::timestamp) - extract(epoch from '2026-07-29 04:13:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382578 -2.79881)'), GeomFromEWKT('SRID=4674;POINT (-40.382627 -2.798788)'))) / (select extract(epoch from '2026-07-29 04:13:17'::timestamp) - extract(epoch from '2026-07-29 04:13: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'), 47641, 'SRID=4674;POINT (-40.382662 -2.798779)', '2026-07-29 04:13:24', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382627 -2.798788)'), GeomFromEWKT('SRID=4674;POINT (-40.382662 -2.798779)'))) / (select extract(epoch from '2026-07-29 04:13:24'::timestamp) - extract(epoch from '2026-07-29 04:13:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382627 -2.798788)'), GeomFromEWKT('SRID=4674;POINT (-40.382662 -2.798779)'))) / (select extract(epoch from '2026-07-29 04:13:24'::timestamp) - extract(epoch from '2026-07-29 04:13: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'), 47641, 'SRID=4674;POINT (-40.382722 -2.79875)', '2026-07-29 04:13:35', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382662 -2.798779)'), GeomFromEWKT('SRID=4674;POINT (-40.382722 -2.79875)'))) / (select extract(epoch from '2026-07-29 04:13:35'::timestamp) - extract(epoch from '2026-07-29 04:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382662 -2.798779)'), GeomFromEWKT('SRID=4674;POINT (-40.382722 -2.79875)'))) / (select extract(epoch from '2026-07-29 04:13:35'::timestamp) - extract(epoch from '2026-07-29 04:13: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'), 47641, 'SRID=4674;POINT (-40.382769 -2.798725)', '2026-07-29 04:13:45', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382722 -2.79875)'), GeomFromEWKT('SRID=4674;POINT (-40.382769 -2.798725)'))) / (select extract(epoch from '2026-07-29 04:13:45'::timestamp) - extract(epoch from '2026-07-29 04:13:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382722 -2.79875)'), GeomFromEWKT('SRID=4674;POINT (-40.382769 -2.798725)'))) / (select extract(epoch from '2026-07-29 04:13:45'::timestamp) - extract(epoch from '2026-07-29 04:13:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.382808 -2.798705)', '2026-07-29 04:13:52', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382769 -2.798725)'), GeomFromEWKT('SRID=4674;POINT (-40.382808 -2.798705)'))) / (select extract(epoch from '2026-07-29 04:13:52'::timestamp) - extract(epoch from '2026-07-29 04:13:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382769 -2.798725)'), GeomFromEWKT('SRID=4674;POINT (-40.382808 -2.798705)'))) / (select extract(epoch from '2026-07-29 04:13:52'::timestamp) - extract(epoch from '2026-07-29 04:13: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'), 47641, 'SRID=4674;POINT (-40.382868 -2.798677)', '2026-07-29 04:14:02', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382808 -2.798705)'), GeomFromEWKT('SRID=4674;POINT (-40.382868 -2.798677)'))) / (select extract(epoch from '2026-07-29 04:14:02'::timestamp) - extract(epoch from '2026-07-29 04:13:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382808 -2.798705)'), GeomFromEWKT('SRID=4674;POINT (-40.382868 -2.798677)'))) / (select extract(epoch from '2026-07-29 04:14:02'::timestamp) - extract(epoch from '2026-07-29 04:13: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'), 47641, 'SRID=4674;POINT (-40.382923 -2.798653)', '2026-07-29 04:14:11', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382868 -2.798677)'), GeomFromEWKT('SRID=4674;POINT (-40.382923 -2.798653)'))) / (select extract(epoch from '2026-07-29 04:14:11'::timestamp) - extract(epoch from '2026-07-29 04:14:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382868 -2.798677)'), GeomFromEWKT('SRID=4674;POINT (-40.382923 -2.798653)'))) / (select extract(epoch from '2026-07-29 04:14:11'::timestamp) - extract(epoch from '2026-07-29 04:14:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.382986 -2.798628)', '2026-07-29 04:14:22', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382923 -2.798653)'), GeomFromEWKT('SRID=4674;POINT (-40.382986 -2.798628)'))) / (select extract(epoch from '2026-07-29 04:14:22'::timestamp) - extract(epoch from '2026-07-29 04:14:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382923 -2.798653)'), GeomFromEWKT('SRID=4674;POINT (-40.382986 -2.798628)'))) / (select extract(epoch from '2026-07-29 04:14:22'::timestamp) - extract(epoch from '2026-07-29 04:14:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.38303 -2.798608)', '2026-07-29 04:14:30', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382986 -2.798628)'), GeomFromEWKT('SRID=4674;POINT (-40.38303 -2.798608)'))) / (select extract(epoch from '2026-07-29 04:14:30'::timestamp) - extract(epoch from '2026-07-29 04:14:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382986 -2.798628)'), GeomFromEWKT('SRID=4674;POINT (-40.38303 -2.798608)'))) / (select extract(epoch from '2026-07-29 04:14:30'::timestamp) - extract(epoch from '2026-07-29 04:14:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.383078 -2.798585)', '2026-07-29 04:14:39', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38303 -2.798608)'), GeomFromEWKT('SRID=4674;POINT (-40.383078 -2.798585)'))) / (select extract(epoch from '2026-07-29 04:14:39'::timestamp) - extract(epoch from '2026-07-29 04:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38303 -2.798608)'), GeomFromEWKT('SRID=4674;POINT (-40.383078 -2.798585)'))) / (select extract(epoch from '2026-07-29 04:14:39'::timestamp) - extract(epoch from '2026-07-29 04:14: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'), 47641, 'SRID=4674;POINT (-40.383123 -2.798559)', '2026-07-29 04:14:49', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383078 -2.798585)'), GeomFromEWKT('SRID=4674;POINT (-40.383123 -2.798559)'))) / (select extract(epoch from '2026-07-29 04:14:49'::timestamp) - extract(epoch from '2026-07-29 04:14:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383078 -2.798585)'), GeomFromEWKT('SRID=4674;POINT (-40.383123 -2.798559)'))) / (select extract(epoch from '2026-07-29 04:14:49'::timestamp) - extract(epoch from '2026-07-29 04:14:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.383162 -2.798536)', '2026-07-29 04:14:59', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383123 -2.798559)'), GeomFromEWKT('SRID=4674;POINT (-40.383162 -2.798536)'))) / (select extract(epoch from '2026-07-29 04:14:59'::timestamp) - extract(epoch from '2026-07-29 04:14:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383123 -2.798559)'), GeomFromEWKT('SRID=4674;POINT (-40.383162 -2.798536)'))) / (select extract(epoch from '2026-07-29 04:14:59'::timestamp) - extract(epoch from '2026-07-29 04:14: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'), 47641, 'SRID=4674;POINT (-40.38319 -2.798517)', '2026-07-29 04:15:10', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383162 -2.798536)'), GeomFromEWKT('SRID=4674;POINT (-40.38319 -2.798517)'))) / (select extract(epoch from '2026-07-29 04:15:10'::timestamp) - extract(epoch from '2026-07-29 04:14:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383162 -2.798536)'), GeomFromEWKT('SRID=4674;POINT (-40.38319 -2.798517)'))) / (select extract(epoch from '2026-07-29 04:15:10'::timestamp) - extract(epoch from '2026-07-29 04:14: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'), 47641, 'SRID=4674;POINT (-40.383202 -2.798513)', '2026-07-29 04:15:19', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38319 -2.798517)'), GeomFromEWKT('SRID=4674;POINT (-40.383202 -2.798513)'))) / (select extract(epoch from '2026-07-29 04:15:19'::timestamp) - extract(epoch from '2026-07-29 04:15:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38319 -2.798517)'), GeomFromEWKT('SRID=4674;POINT (-40.383202 -2.798513)'))) / (select extract(epoch from '2026-07-29 04:15:19'::timestamp) - extract(epoch from '2026-07-29 04:15: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'), 47641, 'SRID=4674;POINT (-40.383231 -2.798505)', '2026-07-29 04:15:28', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383202 -2.798513)'), GeomFromEWKT('SRID=4674;POINT (-40.383231 -2.798505)'))) / (select extract(epoch from '2026-07-29 04:15:28'::timestamp) - extract(epoch from '2026-07-29 04:15:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383202 -2.798513)'), GeomFromEWKT('SRID=4674;POINT (-40.383231 -2.798505)'))) / (select extract(epoch from '2026-07-29 04:15:28'::timestamp) - extract(epoch from '2026-07-29 04:15:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.383266 -2.798485)', '2026-07-29 04:15:37', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383231 -2.798505)'), GeomFromEWKT('SRID=4674;POINT (-40.383266 -2.798485)'))) / (select extract(epoch from '2026-07-29 04:15:37'::timestamp) - extract(epoch from '2026-07-29 04:15:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383231 -2.798505)'), GeomFromEWKT('SRID=4674;POINT (-40.383266 -2.798485)'))) / (select extract(epoch from '2026-07-29 04:15:37'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47641, 'SRID=4674;POINT (-40.383311 -2.798462)', '2026-07-29 04:15:46', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383266 -2.798485)'), GeomFromEWKT('SRID=4674;POINT (-40.383311 -2.798462)'))) / (select extract(epoch from '2026-07-29 04:15:46'::timestamp) - extract(epoch from '2026-07-29 04:15:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383266 -2.798485)'), GeomFromEWKT('SRID=4674;POINT (-40.383311 -2.798462)'))) / (select extract(epoch from '2026-07-29 04:15:46'::timestamp) - extract(epoch from '2026-07-29 04:15: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'), 47641, 'SRID=4674;POINT (-40.383359 -2.798441)', '2026-07-29 04:15:57', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383311 -2.798462)'), GeomFromEWKT('SRID=4674;POINT (-40.383359 -2.798441)'))) / (select extract(epoch from '2026-07-29 04:15:57'::timestamp) - extract(epoch from '2026-07-29 04:15:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383311 -2.798462)'), GeomFromEWKT('SRID=4674;POINT (-40.383359 -2.798441)'))) / (select extract(epoch from '2026-07-29 04:15:57'::timestamp) - extract(epoch from '2026-07-29 04:15:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.383408 -2.798424)', '2026-07-29 04:16:09', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383359 -2.798441)'), GeomFromEWKT('SRID=4674;POINT (-40.383408 -2.798424)'))) / (select extract(epoch from '2026-07-29 04:16:09'::timestamp) - extract(epoch from '2026-07-29 04:15:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383359 -2.798441)'), GeomFromEWKT('SRID=4674;POINT (-40.383408 -2.798424)'))) / (select extract(epoch from '2026-07-29 04:16:09'::timestamp) - extract(epoch from '2026-07-29 04:15: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'), 47641, 'SRID=4674;POINT (-40.383453 -2.798407)', '2026-07-29 04:16:19', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383408 -2.798424)'), GeomFromEWKT('SRID=4674;POINT (-40.383453 -2.798407)'))) / (select extract(epoch from '2026-07-29 04:16:19'::timestamp) - extract(epoch from '2026-07-29 04:16:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383408 -2.798424)'), GeomFromEWKT('SRID=4674;POINT (-40.383453 -2.798407)'))) / (select extract(epoch from '2026-07-29 04:16:19'::timestamp) - extract(epoch from '2026-07-29 04:16:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.383498 -2.798391)', '2026-07-29 04:16:30', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383453 -2.798407)'), GeomFromEWKT('SRID=4674;POINT (-40.383498 -2.798391)'))) / (select extract(epoch from '2026-07-29 04:16:30'::timestamp) - extract(epoch from '2026-07-29 04:16:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383453 -2.798407)'), GeomFromEWKT('SRID=4674;POINT (-40.383498 -2.798391)'))) / (select extract(epoch from '2026-07-29 04:16:30'::timestamp) - extract(epoch from '2026-07-29 04:16:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.383549 -2.798369)', '2026-07-29 04:16:40', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383498 -2.798391)'), GeomFromEWKT('SRID=4674;POINT (-40.383549 -2.798369)'))) / (select extract(epoch from '2026-07-29 04:16:40'::timestamp) - extract(epoch from '2026-07-29 04:16:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383498 -2.798391)'), GeomFromEWKT('SRID=4674;POINT (-40.383549 -2.798369)'))) / (select extract(epoch from '2026-07-29 04:16:40'::timestamp) - extract(epoch from '2026-07-29 04:16:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.383602 -2.798352)', '2026-07-29 04:16:50', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383549 -2.798369)'), GeomFromEWKT('SRID=4674;POINT (-40.383602 -2.798352)'))) / (select extract(epoch from '2026-07-29 04:16:50'::timestamp) - extract(epoch from '2026-07-29 04:16:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383549 -2.798369)'), GeomFromEWKT('SRID=4674;POINT (-40.383602 -2.798352)'))) / (select extract(epoch from '2026-07-29 04:16:50'::timestamp) - extract(epoch from '2026-07-29 04:16: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'), 47641, 'SRID=4674;POINT (-40.38366 -2.798327)', '2026-07-29 04:17:01', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383602 -2.798352)'), GeomFromEWKT('SRID=4674;POINT (-40.38366 -2.798327)'))) / (select extract(epoch from '2026-07-29 04:17:01'::timestamp) - extract(epoch from '2026-07-29 04:16:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383602 -2.798352)'), GeomFromEWKT('SRID=4674;POINT (-40.38366 -2.798327)'))) / (select extract(epoch from '2026-07-29 04:17:01'::timestamp) - extract(epoch from '2026-07-29 04:16:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.383703 -2.798306)', '2026-07-29 04:17:10', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38366 -2.798327)'), GeomFromEWKT('SRID=4674;POINT (-40.383703 -2.798306)'))) / (select extract(epoch from '2026-07-29 04:17:10'::timestamp) - extract(epoch from '2026-07-29 04:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38366 -2.798327)'), GeomFromEWKT('SRID=4674;POINT (-40.383703 -2.798306)'))) / (select extract(epoch from '2026-07-29 04:17:10'::timestamp) - extract(epoch from '2026-07-29 04:17:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.383758 -2.798285)', '2026-07-29 04:17:20', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383703 -2.798306)'), GeomFromEWKT('SRID=4674;POINT (-40.383758 -2.798285)'))) / (select extract(epoch from '2026-07-29 04:17:20'::timestamp) - extract(epoch from '2026-07-29 04:17:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383703 -2.798306)'), GeomFromEWKT('SRID=4674;POINT (-40.383758 -2.798285)'))) / (select extract(epoch from '2026-07-29 04:17:20'::timestamp) - extract(epoch from '2026-07-29 04:17:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.383809 -2.798257)', '2026-07-29 04:17:30', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383758 -2.798285)'), GeomFromEWKT('SRID=4674;POINT (-40.383809 -2.798257)'))) / (select extract(epoch from '2026-07-29 04:17:30'::timestamp) - extract(epoch from '2026-07-29 04:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383758 -2.798285)'), GeomFromEWKT('SRID=4674;POINT (-40.383809 -2.798257)'))) / (select extract(epoch from '2026-07-29 04:17:30'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47641, 'SRID=4674;POINT (-40.38386 -2.798231)', '2026-07-29 04:17:40', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383809 -2.798257)'), GeomFromEWKT('SRID=4674;POINT (-40.38386 -2.798231)'))) / (select extract(epoch from '2026-07-29 04:17:40'::timestamp) - extract(epoch from '2026-07-29 04:17:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383809 -2.798257)'), GeomFromEWKT('SRID=4674;POINT (-40.38386 -2.798231)'))) / (select extract(epoch from '2026-07-29 04:17:40'::timestamp) - extract(epoch from '2026-07-29 04:17:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.383909 -2.798215)', '2026-07-29 04:17:49', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38386 -2.798231)'), GeomFromEWKT('SRID=4674;POINT (-40.383909 -2.798215)'))) / (select extract(epoch from '2026-07-29 04:17:49'::timestamp) - extract(epoch from '2026-07-29 04:17:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38386 -2.798231)'), GeomFromEWKT('SRID=4674;POINT (-40.383909 -2.798215)'))) / (select extract(epoch from '2026-07-29 04:17:49'::timestamp) - extract(epoch from '2026-07-29 04:17:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.383953 -2.79819)', '2026-07-29 04:17:58', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383909 -2.798215)'), GeomFromEWKT('SRID=4674;POINT (-40.383953 -2.79819)'))) / (select extract(epoch from '2026-07-29 04:17:58'::timestamp) - extract(epoch from '2026-07-29 04:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383909 -2.798215)'), GeomFromEWKT('SRID=4674;POINT (-40.383953 -2.79819)'))) / (select extract(epoch from '2026-07-29 04:17:58'::timestamp) - extract(epoch from '2026-07-29 04:17:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.383992 -2.798178)', '2026-07-29 04:18:06', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383953 -2.79819)'), GeomFromEWKT('SRID=4674;POINT (-40.383992 -2.798178)'))) / (select extract(epoch from '2026-07-29 04:18:06'::timestamp) - extract(epoch from '2026-07-29 04:17:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383953 -2.79819)'), GeomFromEWKT('SRID=4674;POINT (-40.383992 -2.798178)'))) / (select extract(epoch from '2026-07-29 04:18:06'::timestamp) - extract(epoch from '2026-07-29 04:17:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.384031 -2.798151)', '2026-07-29 04:18:14', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383992 -2.798178)'), GeomFromEWKT('SRID=4674;POINT (-40.384031 -2.798151)'))) / (select extract(epoch from '2026-07-29 04:18:14'::timestamp) - extract(epoch from '2026-07-29 04:18:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383992 -2.798178)'), GeomFromEWKT('SRID=4674;POINT (-40.384031 -2.798151)'))) / (select extract(epoch from '2026-07-29 04:18:14'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47641, 'SRID=4674;POINT (-40.384075 -2.798136)', '2026-07-29 04:18:22', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384031 -2.798151)'), GeomFromEWKT('SRID=4674;POINT (-40.384075 -2.798136)'))) / (select extract(epoch from '2026-07-29 04:18:22'::timestamp) - extract(epoch from '2026-07-29 04:18:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384031 -2.798151)'), GeomFromEWKT('SRID=4674;POINT (-40.384075 -2.798136)'))) / (select extract(epoch from '2026-07-29 04:18:22'::timestamp) - extract(epoch from '2026-07-29 04:18:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.384129 -2.798108)', '2026-07-29 04:18:33', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384075 -2.798136)'), GeomFromEWKT('SRID=4674;POINT (-40.384129 -2.798108)'))) / (select extract(epoch from '2026-07-29 04:18:33'::timestamp) - extract(epoch from '2026-07-29 04:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384075 -2.798136)'), GeomFromEWKT('SRID=4674;POINT (-40.384129 -2.798108)'))) / (select extract(epoch from '2026-07-29 04:18:33'::timestamp) - extract(epoch from '2026-07-29 04:18:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.384175 -2.798093)', '2026-07-29 04:18:42', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384129 -2.798108)'), GeomFromEWKT('SRID=4674;POINT (-40.384175 -2.798093)'))) / (select extract(epoch from '2026-07-29 04:18:42'::timestamp) - extract(epoch from '2026-07-29 04:18:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384129 -2.798108)'), GeomFromEWKT('SRID=4674;POINT (-40.384175 -2.798093)'))) / (select extract(epoch from '2026-07-29 04:18:42'::timestamp) - extract(epoch from '2026-07-29 04:18:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.384215 -2.798071)', '2026-07-29 04:18:51', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384175 -2.798093)'), GeomFromEWKT('SRID=4674;POINT (-40.384215 -2.798071)'))) / (select extract(epoch from '2026-07-29 04:18:51'::timestamp) - extract(epoch from '2026-07-29 04:18:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384175 -2.798093)'), GeomFromEWKT('SRID=4674;POINT (-40.384215 -2.798071)'))) / (select extract(epoch from '2026-07-29 04:18:51'::timestamp) - extract(epoch from '2026-07-29 04:18:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.384278 -2.79805)', '2026-07-29 04:19:03', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384215 -2.798071)'), GeomFromEWKT('SRID=4674;POINT (-40.384278 -2.79805)'))) / (select extract(epoch from '2026-07-29 04:19:03'::timestamp) - extract(epoch from '2026-07-29 04:18:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384215 -2.798071)'), GeomFromEWKT('SRID=4674;POINT (-40.384278 -2.79805)'))) / (select extract(epoch from '2026-07-29 04:19:03'::timestamp) - extract(epoch from '2026-07-29 04:18:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.384333 -2.798024)', '2026-07-29 04:19:13', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384278 -2.79805)'), GeomFromEWKT('SRID=4674;POINT (-40.384333 -2.798024)'))) / (select extract(epoch from '2026-07-29 04:19:13'::timestamp) - extract(epoch from '2026-07-29 04:19:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384278 -2.79805)'), GeomFromEWKT('SRID=4674;POINT (-40.384333 -2.798024)'))) / (select extract(epoch from '2026-07-29 04:19:13'::timestamp) - extract(epoch from '2026-07-29 04:19:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.384372 -2.798011)', '2026-07-29 04:19:21', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384333 -2.798024)'), GeomFromEWKT('SRID=4674;POINT (-40.384372 -2.798011)'))) / (select extract(epoch from '2026-07-29 04:19:21'::timestamp) - extract(epoch from '2026-07-29 04:19:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384333 -2.798024)'), GeomFromEWKT('SRID=4674;POINT (-40.384372 -2.798011)'))) / (select extract(epoch from '2026-07-29 04:19:21'::timestamp) - extract(epoch from '2026-07-29 04:19:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.384414 -2.797995)', '2026-07-29 04:19:30', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384372 -2.798011)'), GeomFromEWKT('SRID=4674;POINT (-40.384414 -2.797995)'))) / (select extract(epoch from '2026-07-29 04:19:30'::timestamp) - extract(epoch from '2026-07-29 04:19:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384372 -2.798011)'), GeomFromEWKT('SRID=4674;POINT (-40.384414 -2.797995)'))) / (select extract(epoch from '2026-07-29 04:19:30'::timestamp) - extract(epoch from '2026-07-29 04:19: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'), 47641, 'SRID=4674;POINT (-40.38444 -2.797989)', '2026-07-29 04:19:36', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384414 -2.797995)'), GeomFromEWKT('SRID=4674;POINT (-40.38444 -2.797989)'))) / (select extract(epoch from '2026-07-29 04:19:36'::timestamp) - extract(epoch from '2026-07-29 04:19:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384414 -2.797995)'), GeomFromEWKT('SRID=4674;POINT (-40.38444 -2.797989)'))) / (select extract(epoch from '2026-07-29 04:19:36'::timestamp) - extract(epoch from '2026-07-29 04:19:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.384454 -2.797988)', '2026-07-29 04:19:38', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38444 -2.797989)'), GeomFromEWKT('SRID=4674;POINT (-40.384454 -2.797988)'))) / (select extract(epoch from '2026-07-29 04:19:38'::timestamp) - extract(epoch from '2026-07-29 04:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38444 -2.797989)'), GeomFromEWKT('SRID=4674;POINT (-40.384454 -2.797988)'))) / (select extract(epoch from '2026-07-29 04:19:38'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47641, 'SRID=4674;POINT (-40.384493 -2.797975)', '2026-07-29 04:19:45', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384454 -2.797988)'), GeomFromEWKT('SRID=4674;POINT (-40.384493 -2.797975)'))) / (select extract(epoch from '2026-07-29 04:19:45'::timestamp) - extract(epoch from '2026-07-29 04:19:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384454 -2.797988)'), GeomFromEWKT('SRID=4674;POINT (-40.384493 -2.797975)'))) / (select extract(epoch from '2026-07-29 04:19:45'::timestamp) - extract(epoch from '2026-07-29 04:19: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'), 47641, 'SRID=4674;POINT (-40.384538 -2.797948)', '2026-07-29 04:19:55', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384493 -2.797975)'), GeomFromEWKT('SRID=4674;POINT (-40.384538 -2.797948)'))) / (select extract(epoch from '2026-07-29 04:19:55'::timestamp) - extract(epoch from '2026-07-29 04:19:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384493 -2.797975)'), GeomFromEWKT('SRID=4674;POINT (-40.384538 -2.797948)'))) / (select extract(epoch from '2026-07-29 04:19:55'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47641, 'SRID=4674;POINT (-40.384577 -2.797922)', '2026-07-29 04:20:04', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384538 -2.797948)'), GeomFromEWKT('SRID=4674;POINT (-40.384577 -2.797922)'))) / (select extract(epoch from '2026-07-29 04:20:04'::timestamp) - extract(epoch from '2026-07-29 04:19:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384538 -2.797948)'), GeomFromEWKT('SRID=4674;POINT (-40.384577 -2.797922)'))) / (select extract(epoch from '2026-07-29 04:20:04'::timestamp) - extract(epoch from '2026-07-29 04:19: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'), 47641, 'SRID=4674;POINT (-40.384627 -2.797896)', '2026-07-29 04:20:15', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384577 -2.797922)'), GeomFromEWKT('SRID=4674;POINT (-40.384627 -2.797896)'))) / (select extract(epoch from '2026-07-29 04:20:15'::timestamp) - extract(epoch from '2026-07-29 04:20:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384577 -2.797922)'), GeomFromEWKT('SRID=4674;POINT (-40.384627 -2.797896)'))) / (select extract(epoch from '2026-07-29 04:20:15'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47641, 'SRID=4674;POINT (-40.38468 -2.797877)', '2026-07-29 04:20:26', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384627 -2.797896)'), GeomFromEWKT('SRID=4674;POINT (-40.38468 -2.797877)'))) / (select extract(epoch from '2026-07-29 04:20:26'::timestamp) - extract(epoch from '2026-07-29 04:20:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384627 -2.797896)'), GeomFromEWKT('SRID=4674;POINT (-40.38468 -2.797877)'))) / (select extract(epoch from '2026-07-29 04:20:26'::timestamp) - extract(epoch from '2026-07-29 04:20: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'), 47641, 'SRID=4674;POINT (-40.384729 -2.797855)', '2026-07-29 04:20:38', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38468 -2.797877)'), GeomFromEWKT('SRID=4674;POINT (-40.384729 -2.797855)'))) / (select extract(epoch from '2026-07-29 04:20:38'::timestamp) - extract(epoch from '2026-07-29 04:20:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38468 -2.797877)'), GeomFromEWKT('SRID=4674;POINT (-40.384729 -2.797855)'))) / (select extract(epoch from '2026-07-29 04:20:38'::timestamp) - extract(epoch from '2026-07-29 04:20: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'), 47641, 'SRID=4674;POINT (-40.384767 -2.797834)', '2026-07-29 04:20:47', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384729 -2.797855)'), GeomFromEWKT('SRID=4674;POINT (-40.384767 -2.797834)'))) / (select extract(epoch from '2026-07-29 04:20:47'::timestamp) - extract(epoch from '2026-07-29 04:20:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384729 -2.797855)'), GeomFromEWKT('SRID=4674;POINT (-40.384767 -2.797834)'))) / (select extract(epoch from '2026-07-29 04:20:47'::timestamp) - extract(epoch from '2026-07-29 04:20:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.384808 -2.797803)', '2026-07-29 04:20:57', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384767 -2.797834)'), GeomFromEWKT('SRID=4674;POINT (-40.384808 -2.797803)'))) / (select extract(epoch from '2026-07-29 04:20:57'::timestamp) - extract(epoch from '2026-07-29 04:20:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384767 -2.797834)'), GeomFromEWKT('SRID=4674;POINT (-40.384808 -2.797803)'))) / (select extract(epoch from '2026-07-29 04:20:57'::timestamp) - extract(epoch from '2026-07-29 04:20: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'), 47641, 'SRID=4674;POINT (-40.384865 -2.797768)', '2026-07-29 04:21:10', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384808 -2.797803)'), GeomFromEWKT('SRID=4674;POINT (-40.384865 -2.797768)'))) / (select extract(epoch from '2026-07-29 04:21:10'::timestamp) - extract(epoch from '2026-07-29 04:20:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384808 -2.797803)'), GeomFromEWKT('SRID=4674;POINT (-40.384865 -2.797768)'))) / (select extract(epoch from '2026-07-29 04:21:10'::timestamp) - extract(epoch from '2026-07-29 04:20: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'), 47641, 'SRID=4674;POINT (-40.384904 -2.797739)', '2026-07-29 04:21:20', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384865 -2.797768)'), GeomFromEWKT('SRID=4674;POINT (-40.384904 -2.797739)'))) / (select extract(epoch from '2026-07-29 04:21:20'::timestamp) - extract(epoch from '2026-07-29 04:21:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384865 -2.797768)'), GeomFromEWKT('SRID=4674;POINT (-40.384904 -2.797739)'))) / (select extract(epoch from '2026-07-29 04:21:20'::timestamp) - extract(epoch from '2026-07-29 04:21:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.384946 -2.797725)', '2026-07-29 04:21:29', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384904 -2.797739)'), GeomFromEWKT('SRID=4674;POINT (-40.384946 -2.797725)'))) / (select extract(epoch from '2026-07-29 04:21:29'::timestamp) - extract(epoch from '2026-07-29 04:21:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384904 -2.797739)'), GeomFromEWKT('SRID=4674;POINT (-40.384946 -2.797725)'))) / (select extract(epoch from '2026-07-29 04:21:29'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47641, 'SRID=4674;POINT (-40.384978 -2.797708)', '2026-07-29 04:21:38', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384946 -2.797725)'), GeomFromEWKT('SRID=4674;POINT (-40.384978 -2.797708)'))) / (select extract(epoch from '2026-07-29 04:21:38'::timestamp) - extract(epoch from '2026-07-29 04:21:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384946 -2.797725)'), GeomFromEWKT('SRID=4674;POINT (-40.384978 -2.797708)'))) / (select extract(epoch from '2026-07-29 04:21:38'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47641, 'SRID=4674;POINT (-40.385012 -2.797701)', '2026-07-29 04:21:46', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384978 -2.797708)'), GeomFromEWKT('SRID=4674;POINT (-40.385012 -2.797701)'))) / (select extract(epoch from '2026-07-29 04:21:46'::timestamp) - extract(epoch from '2026-07-29 04:21:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384978 -2.797708)'), GeomFromEWKT('SRID=4674;POINT (-40.385012 -2.797701)'))) / (select extract(epoch from '2026-07-29 04:21:46'::timestamp) - extract(epoch from '2026-07-29 04:21:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.385035 -2.79769)', '2026-07-29 04:21:52', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385012 -2.797701)'), GeomFromEWKT('SRID=4674;POINT (-40.385035 -2.79769)'))) / (select extract(epoch from '2026-07-29 04:21:52'::timestamp) - extract(epoch from '2026-07-29 04:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385012 -2.797701)'), GeomFromEWKT('SRID=4674;POINT (-40.385035 -2.79769)'))) / (select extract(epoch from '2026-07-29 04:21:52'::timestamp) - extract(epoch from '2026-07-29 04:21:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.385083 -2.797676)', '2026-07-29 04:22:03', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385035 -2.79769)'), GeomFromEWKT('SRID=4674;POINT (-40.385083 -2.797676)'))) / (select extract(epoch from '2026-07-29 04:22:03'::timestamp) - extract(epoch from '2026-07-29 04:21:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385035 -2.79769)'), GeomFromEWKT('SRID=4674;POINT (-40.385083 -2.797676)'))) / (select extract(epoch from '2026-07-29 04:22:03'::timestamp) - extract(epoch from '2026-07-29 04:21: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'), 47641, 'SRID=4674;POINT (-40.385119 -2.797657)', '2026-07-29 04:22:12', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385083 -2.797676)'), GeomFromEWKT('SRID=4674;POINT (-40.385119 -2.797657)'))) / (select extract(epoch from '2026-07-29 04:22:12'::timestamp) - extract(epoch from '2026-07-29 04:22:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385083 -2.797676)'), GeomFromEWKT('SRID=4674;POINT (-40.385119 -2.797657)'))) / (select extract(epoch from '2026-07-29 04:22:12'::timestamp) - extract(epoch from '2026-07-29 04:22: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'), 47641, 'SRID=4674;POINT (-40.385169 -2.797635)', '2026-07-29 04:22:22', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385119 -2.797657)'), GeomFromEWKT('SRID=4674;POINT (-40.385169 -2.797635)'))) / (select extract(epoch from '2026-07-29 04:22:22'::timestamp) - extract(epoch from '2026-07-29 04:22:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385119 -2.797657)'), GeomFromEWKT('SRID=4674;POINT (-40.385169 -2.797635)'))) / (select extract(epoch from '2026-07-29 04:22:22'::timestamp) - extract(epoch from '2026-07-29 04:22: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'), 47641, 'SRID=4674;POINT (-40.385211 -2.79762)', '2026-07-29 04:22:31', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385169 -2.797635)'), GeomFromEWKT('SRID=4674;POINT (-40.385211 -2.79762)'))) / (select extract(epoch from '2026-07-29 04:22:31'::timestamp) - extract(epoch from '2026-07-29 04:22:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385169 -2.797635)'), GeomFromEWKT('SRID=4674;POINT (-40.385211 -2.79762)'))) / (select extract(epoch from '2026-07-29 04:22:31'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47641, 'SRID=4674;POINT (-40.385252 -2.797604)', '2026-07-29 04:22:39', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385211 -2.79762)'), GeomFromEWKT('SRID=4674;POINT (-40.385252 -2.797604)'))) / (select extract(epoch from '2026-07-29 04:22:39'::timestamp) - extract(epoch from '2026-07-29 04:22:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385211 -2.79762)'), GeomFromEWKT('SRID=4674;POINT (-40.385252 -2.797604)'))) / (select extract(epoch from '2026-07-29 04:22:39'::timestamp) - extract(epoch from '2026-07-29 04:22: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'), 47641, 'SRID=4674;POINT (-40.385307 -2.797573)', '2026-07-29 04:22:50', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385252 -2.797604)'), GeomFromEWKT('SRID=4674;POINT (-40.385307 -2.797573)'))) / (select extract(epoch from '2026-07-29 04:22:50'::timestamp) - extract(epoch from '2026-07-29 04:22:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385252 -2.797604)'), GeomFromEWKT('SRID=4674;POINT (-40.385307 -2.797573)'))) / (select extract(epoch from '2026-07-29 04:22:50'::timestamp) - extract(epoch from '2026-07-29 04:22: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'), 47641, 'SRID=4674;POINT (-40.385339 -2.797559)', '2026-07-29 04:22:57', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385307 -2.797573)'), GeomFromEWKT('SRID=4674;POINT (-40.385339 -2.797559)'))) / (select extract(epoch from '2026-07-29 04:22:57'::timestamp) - extract(epoch from '2026-07-29 04:22:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385307 -2.797573)'), GeomFromEWKT('SRID=4674;POINT (-40.385339 -2.797559)'))) / (select extract(epoch from '2026-07-29 04:22:57'::timestamp) - extract(epoch from '2026-07-29 04:22:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.385402 -2.797528)', '2026-07-29 04:23:09', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385339 -2.797559)'), GeomFromEWKT('SRID=4674;POINT (-40.385402 -2.797528)'))) / (select extract(epoch from '2026-07-29 04:23:09'::timestamp) - extract(epoch from '2026-07-29 04:22:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385339 -2.797559)'), GeomFromEWKT('SRID=4674;POINT (-40.385402 -2.797528)'))) / (select extract(epoch from '2026-07-29 04:23:09'::timestamp) - extract(epoch from '2026-07-29 04:22: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'), 47641, 'SRID=4674;POINT (-40.38545 -2.797502)', '2026-07-29 04:23:20', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385402 -2.797528)'), GeomFromEWKT('SRID=4674;POINT (-40.38545 -2.797502)'))) / (select extract(epoch from '2026-07-29 04:23:20'::timestamp) - extract(epoch from '2026-07-29 04:23:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385402 -2.797528)'), GeomFromEWKT('SRID=4674;POINT (-40.38545 -2.797502)'))) / (select extract(epoch from '2026-07-29 04:23:20'::timestamp) - extract(epoch from '2026-07-29 04:23: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'), 47641, 'SRID=4674;POINT (-40.385505 -2.797484)', '2026-07-29 04:23:31', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38545 -2.797502)'), GeomFromEWKT('SRID=4674;POINT (-40.385505 -2.797484)'))) / (select extract(epoch from '2026-07-29 04:23:31'::timestamp) - extract(epoch from '2026-07-29 04:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38545 -2.797502)'), GeomFromEWKT('SRID=4674;POINT (-40.385505 -2.797484)'))) / (select extract(epoch from '2026-07-29 04:23:31'::timestamp) - extract(epoch from '2026-07-29 04:23:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.385556 -2.797468)', '2026-07-29 04:23:41', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385505 -2.797484)'), GeomFromEWKT('SRID=4674;POINT (-40.385556 -2.797468)'))) / (select extract(epoch from '2026-07-29 04:23:41'::timestamp) - extract(epoch from '2026-07-29 04:23:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385505 -2.797484)'), GeomFromEWKT('SRID=4674;POINT (-40.385556 -2.797468)'))) / (select extract(epoch from '2026-07-29 04:23:41'::timestamp) - extract(epoch from '2026-07-29 04:23: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'), 47641, 'SRID=4674;POINT (-40.385601 -2.797447)', '2026-07-29 04:23:53', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385556 -2.797468)'), GeomFromEWKT('SRID=4674;POINT (-40.385601 -2.797447)'))) / (select extract(epoch from '2026-07-29 04:23:53'::timestamp) - extract(epoch from '2026-07-29 04:23:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385556 -2.797468)'), GeomFromEWKT('SRID=4674;POINT (-40.385601 -2.797447)'))) / (select extract(epoch from '2026-07-29 04:23:53'::timestamp) - extract(epoch from '2026-07-29 04:23: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'), 47641, 'SRID=4674;POINT (-40.385649 -2.797424)', '2026-07-29 04:24:05', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385601 -2.797447)'), GeomFromEWKT('SRID=4674;POINT (-40.385649 -2.797424)'))) / (select extract(epoch from '2026-07-29 04:24:05'::timestamp) - extract(epoch from '2026-07-29 04:23:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385601 -2.797447)'), GeomFromEWKT('SRID=4674;POINT (-40.385649 -2.797424)'))) / (select extract(epoch from '2026-07-29 04:24:05'::timestamp) - extract(epoch from '2026-07-29 04:23: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'), 47641, 'SRID=4674;POINT (-40.385691 -2.797398)', '2026-07-29 04:24:16', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385649 -2.797424)'), GeomFromEWKT('SRID=4674;POINT (-40.385691 -2.797398)'))) / (select extract(epoch from '2026-07-29 04:24:16'::timestamp) - extract(epoch from '2026-07-29 04:24:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385649 -2.797424)'), GeomFromEWKT('SRID=4674;POINT (-40.385691 -2.797398)'))) / (select extract(epoch from '2026-07-29 04:24:16'::timestamp) - extract(epoch from '2026-07-29 04:24: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'), 47641, 'SRID=4674;POINT (-40.385735 -2.797372)', '2026-07-29 04:24:27', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385691 -2.797398)'), GeomFromEWKT('SRID=4674;POINT (-40.385735 -2.797372)'))) / (select extract(epoch from '2026-07-29 04:24:27'::timestamp) - extract(epoch from '2026-07-29 04:24:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385691 -2.797398)'), GeomFromEWKT('SRID=4674;POINT (-40.385735 -2.797372)'))) / (select extract(epoch from '2026-07-29 04:24:27'::timestamp) - extract(epoch from '2026-07-29 04:24:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.385773 -2.79736)', '2026-07-29 04:24:35', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385735 -2.797372)'), GeomFromEWKT('SRID=4674;POINT (-40.385773 -2.79736)'))) / (select extract(epoch from '2026-07-29 04:24:35'::timestamp) - extract(epoch from '2026-07-29 04:24:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385735 -2.797372)'), GeomFromEWKT('SRID=4674;POINT (-40.385773 -2.79736)'))) / (select extract(epoch from '2026-07-29 04:24:35'::timestamp) - extract(epoch from '2026-07-29 04:24: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'), 47641, 'SRID=4674;POINT (-40.385827 -2.797344)', '2026-07-29 04:24:47', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385773 -2.79736)'), GeomFromEWKT('SRID=4674;POINT (-40.385827 -2.797344)'))) / (select extract(epoch from '2026-07-29 04:24:47'::timestamp) - extract(epoch from '2026-07-29 04:24:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385773 -2.79736)'), GeomFromEWKT('SRID=4674;POINT (-40.385827 -2.797344)'))) / (select extract(epoch from '2026-07-29 04:24:47'::timestamp) - extract(epoch from '2026-07-29 04:24:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.385873 -2.797326)', '2026-07-29 04:24:56', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385827 -2.797344)'), GeomFromEWKT('SRID=4674;POINT (-40.385873 -2.797326)'))) / (select extract(epoch from '2026-07-29 04:24:56'::timestamp) - extract(epoch from '2026-07-29 04:24:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385827 -2.797344)'), GeomFromEWKT('SRID=4674;POINT (-40.385873 -2.797326)'))) / (select extract(epoch from '2026-07-29 04:24:56'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47641, 'SRID=4674;POINT (-40.385923 -2.79731)', '2026-07-29 04:25:07', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385873 -2.797326)'), GeomFromEWKT('SRID=4674;POINT (-40.385923 -2.79731)'))) / (select extract(epoch from '2026-07-29 04:25:07'::timestamp) - extract(epoch from '2026-07-29 04:24:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385873 -2.797326)'), GeomFromEWKT('SRID=4674;POINT (-40.385923 -2.79731)'))) / (select extract(epoch from '2026-07-29 04:25:07'::timestamp) - extract(epoch from '2026-07-29 04:24:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.385957 -2.797305)', '2026-07-29 04:25:14', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385923 -2.79731)'), GeomFromEWKT('SRID=4674;POINT (-40.385957 -2.797305)'))) / (select extract(epoch from '2026-07-29 04:25:14'::timestamp) - extract(epoch from '2026-07-29 04:25:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385923 -2.79731)'), GeomFromEWKT('SRID=4674;POINT (-40.385957 -2.797305)'))) / (select extract(epoch from '2026-07-29 04:25:14'::timestamp) - extract(epoch from '2026-07-29 04:25:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.385999 -2.79729)', '2026-07-29 04:25:23', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385957 -2.797305)'), GeomFromEWKT('SRID=4674;POINT (-40.385999 -2.79729)'))) / (select extract(epoch from '2026-07-29 04:25:23'::timestamp) - extract(epoch from '2026-07-29 04:25:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385957 -2.797305)'), GeomFromEWKT('SRID=4674;POINT (-40.385999 -2.79729)'))) / (select extract(epoch from '2026-07-29 04:25:23'::timestamp) - extract(epoch from '2026-07-29 04:25: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'), 47641, 'SRID=4674;POINT (-40.386051 -2.797267)', '2026-07-29 04:25:34', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385999 -2.79729)'), GeomFromEWKT('SRID=4674;POINT (-40.386051 -2.797267)'))) / (select extract(epoch from '2026-07-29 04:25:34'::timestamp) - extract(epoch from '2026-07-29 04:25:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385999 -2.79729)'), GeomFromEWKT('SRID=4674;POINT (-40.386051 -2.797267)'))) / (select extract(epoch from '2026-07-29 04:25:34'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47641, 'SRID=4674;POINT (-40.386099 -2.797249)', '2026-07-29 04:25:43', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386051 -2.797267)'), GeomFromEWKT('SRID=4674;POINT (-40.386099 -2.797249)'))) / (select extract(epoch from '2026-07-29 04:25:43'::timestamp) - extract(epoch from '2026-07-29 04:25:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386051 -2.797267)'), GeomFromEWKT('SRID=4674;POINT (-40.386099 -2.797249)'))) / (select extract(epoch from '2026-07-29 04:25:43'::timestamp) - extract(epoch from '2026-07-29 04:25:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.386154 -2.797213)', '2026-07-29 04:25:54', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386099 -2.797249)'), GeomFromEWKT('SRID=4674;POINT (-40.386154 -2.797213)'))) / (select extract(epoch from '2026-07-29 04:25:54'::timestamp) - extract(epoch from '2026-07-29 04:25:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386099 -2.797249)'), GeomFromEWKT('SRID=4674;POINT (-40.386154 -2.797213)'))) / (select extract(epoch from '2026-07-29 04:25:54'::timestamp) - extract(epoch from '2026-07-29 04:25: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'), 47641, 'SRID=4674;POINT (-40.386217 -2.797183)', '2026-07-29 04:26:06', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386154 -2.797213)'), GeomFromEWKT('SRID=4674;POINT (-40.386217 -2.797183)'))) / (select extract(epoch from '2026-07-29 04:26:06'::timestamp) - extract(epoch from '2026-07-29 04:25:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386154 -2.797213)'), GeomFromEWKT('SRID=4674;POINT (-40.386217 -2.797183)'))) / (select extract(epoch from '2026-07-29 04:26:06'::timestamp) - extract(epoch from '2026-07-29 04:25:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.386269 -2.797164)', '2026-07-29 04:26:16', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386217 -2.797183)'), GeomFromEWKT('SRID=4674;POINT (-40.386269 -2.797164)'))) / (select extract(epoch from '2026-07-29 04:26:16'::timestamp) - extract(epoch from '2026-07-29 04:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386217 -2.797183)'), GeomFromEWKT('SRID=4674;POINT (-40.386269 -2.797164)'))) / (select extract(epoch from '2026-07-29 04:26:16'::timestamp) - extract(epoch from '2026-07-29 04:26:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.386295 -2.797156)', '2026-07-29 04:26:21', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386269 -2.797164)'), GeomFromEWKT('SRID=4674;POINT (-40.386295 -2.797156)'))) / (select extract(epoch from '2026-07-29 04:26:21'::timestamp) - extract(epoch from '2026-07-29 04:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386269 -2.797164)'), GeomFromEWKT('SRID=4674;POINT (-40.386295 -2.797156)'))) / (select extract(epoch from '2026-07-29 04:26:21'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47641, 'SRID=4674;POINT (-40.386353 -2.79712)', '2026-07-29 04:26:33', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386295 -2.797156)'), GeomFromEWKT('SRID=4674;POINT (-40.386353 -2.79712)'))) / (select extract(epoch from '2026-07-29 04:26:33'::timestamp) - extract(epoch from '2026-07-29 04:26:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386295 -2.797156)'), GeomFromEWKT('SRID=4674;POINT (-40.386353 -2.79712)'))) / (select extract(epoch from '2026-07-29 04:26:33'::timestamp) - extract(epoch from '2026-07-29 04:26: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'), 47641, 'SRID=4674;POINT (-40.386388 -2.797104)', '2026-07-29 04:26:42', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386353 -2.79712)'), GeomFromEWKT('SRID=4674;POINT (-40.386388 -2.797104)'))) / (select extract(epoch from '2026-07-29 04:26:42'::timestamp) - extract(epoch from '2026-07-29 04:26:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386353 -2.79712)'), GeomFromEWKT('SRID=4674;POINT (-40.386388 -2.797104)'))) / (select extract(epoch from '2026-07-29 04:26:42'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47641, 'SRID=4674;POINT (-40.386438 -2.797084)', '2026-07-29 04:26:54', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386388 -2.797104)'), GeomFromEWKT('SRID=4674;POINT (-40.386438 -2.797084)'))) / (select extract(epoch from '2026-07-29 04:26:54'::timestamp) - extract(epoch from '2026-07-29 04:26:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386388 -2.797104)'), GeomFromEWKT('SRID=4674;POINT (-40.386438 -2.797084)'))) / (select extract(epoch from '2026-07-29 04:26:54'::timestamp) - extract(epoch from '2026-07-29 04:26:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.386465 -2.797073)', '2026-07-29 04:27:02', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386438 -2.797084)'), GeomFromEWKT('SRID=4674;POINT (-40.386465 -2.797073)'))) / (select extract(epoch from '2026-07-29 04:27:02'::timestamp) - extract(epoch from '2026-07-29 04:26:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386438 -2.797084)'), GeomFromEWKT('SRID=4674;POINT (-40.386465 -2.797073)'))) / (select extract(epoch from '2026-07-29 04:27:02'::timestamp) - extract(epoch from '2026-07-29 04:26: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'), 47641, 'SRID=4674;POINT (-40.386502 -2.797058)', '2026-07-29 04:27:11', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386465 -2.797073)'), GeomFromEWKT('SRID=4674;POINT (-40.386502 -2.797058)'))) / (select extract(epoch from '2026-07-29 04:27:11'::timestamp) - extract(epoch from '2026-07-29 04:27:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386465 -2.797073)'), GeomFromEWKT('SRID=4674;POINT (-40.386502 -2.797058)'))) / (select extract(epoch from '2026-07-29 04:27:11'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47641, 'SRID=4674;POINT (-40.386538 -2.797041)', '2026-07-29 04:27:21', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386502 -2.797058)'), GeomFromEWKT('SRID=4674;POINT (-40.386538 -2.797041)'))) / (select extract(epoch from '2026-07-29 04:27:21'::timestamp) - extract(epoch from '2026-07-29 04:27:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386502 -2.797058)'), GeomFromEWKT('SRID=4674;POINT (-40.386538 -2.797041)'))) / (select extract(epoch from '2026-07-29 04:27:21'::timestamp) - extract(epoch from '2026-07-29 04:27: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'), 47641, 'SRID=4674;POINT (-40.386585 -2.797024)', '2026-07-29 04:27:33', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386538 -2.797041)'), GeomFromEWKT('SRID=4674;POINT (-40.386585 -2.797024)'))) / (select extract(epoch from '2026-07-29 04:27:33'::timestamp) - extract(epoch from '2026-07-29 04:27:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386538 -2.797041)'), GeomFromEWKT('SRID=4674;POINT (-40.386585 -2.797024)'))) / (select extract(epoch from '2026-07-29 04:27:33'::timestamp) - extract(epoch from '2026-07-29 04:27:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.386615 -2.797014)', '2026-07-29 04:27:40', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386585 -2.797024)'), GeomFromEWKT('SRID=4674;POINT (-40.386615 -2.797014)'))) / (select extract(epoch from '2026-07-29 04:27:40'::timestamp) - extract(epoch from '2026-07-29 04:27:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386585 -2.797024)'), GeomFromEWKT('SRID=4674;POINT (-40.386615 -2.797014)'))) / (select extract(epoch from '2026-07-29 04:27:40'::timestamp) - extract(epoch from '2026-07-29 04:27:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.38665 -2.797001)', '2026-07-29 04:27:50', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386615 -2.797014)'), GeomFromEWKT('SRID=4674;POINT (-40.38665 -2.797001)'))) / (select extract(epoch from '2026-07-29 04:27:50'::timestamp) - extract(epoch from '2026-07-29 04:27:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386615 -2.797014)'), GeomFromEWKT('SRID=4674;POINT (-40.38665 -2.797001)'))) / (select extract(epoch from '2026-07-29 04:27:50'::timestamp) - extract(epoch from '2026-07-29 04:27: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'), 47641, 'SRID=4674;POINT (-40.386677 -2.796991)', '2026-07-29 04:27:56', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38665 -2.797001)'), GeomFromEWKT('SRID=4674;POINT (-40.386677 -2.796991)'))) / (select extract(epoch from '2026-07-29 04:27:56'::timestamp) - extract(epoch from '2026-07-29 04:27:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38665 -2.797001)'), GeomFromEWKT('SRID=4674;POINT (-40.386677 -2.796991)'))) / (select extract(epoch from '2026-07-29 04:27:56'::timestamp) - extract(epoch from '2026-07-29 04:27: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'), 47641, 'SRID=4674;POINT (-40.386729 -2.79698)', '2026-07-29 04:28:09', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386677 -2.796991)'), GeomFromEWKT('SRID=4674;POINT (-40.386729 -2.79698)'))) / (select extract(epoch from '2026-07-29 04:28:09'::timestamp) - extract(epoch from '2026-07-29 04:27:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386677 -2.796991)'), GeomFromEWKT('SRID=4674;POINT (-40.386729 -2.79698)'))) / (select extract(epoch from '2026-07-29 04:28:09'::timestamp) - extract(epoch from '2026-07-29 04:27:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.386774 -2.796961)', '2026-07-29 04:28:18', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386729 -2.79698)'), GeomFromEWKT('SRID=4674;POINT (-40.386774 -2.796961)'))) / (select extract(epoch from '2026-07-29 04:28:18'::timestamp) - extract(epoch from '2026-07-29 04:28:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386729 -2.79698)'), GeomFromEWKT('SRID=4674;POINT (-40.386774 -2.796961)'))) / (select extract(epoch from '2026-07-29 04:28:18'::timestamp) - extract(epoch from '2026-07-29 04:28:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.386833 -2.796938)', '2026-07-29 04:28:30', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386774 -2.796961)'), GeomFromEWKT('SRID=4674;POINT (-40.386833 -2.796938)'))) / (select extract(epoch from '2026-07-29 04:28:30'::timestamp) - extract(epoch from '2026-07-29 04:28:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386774 -2.796961)'), GeomFromEWKT('SRID=4674;POINT (-40.386833 -2.796938)'))) / (select extract(epoch from '2026-07-29 04:28:30'::timestamp) - extract(epoch from '2026-07-29 04:28:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.386888 -2.796924)', '2026-07-29 04:28:40', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386833 -2.796938)'), GeomFromEWKT('SRID=4674;POINT (-40.386888 -2.796924)'))) / (select extract(epoch from '2026-07-29 04:28:40'::timestamp) - extract(epoch from '2026-07-29 04:28:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386833 -2.796938)'), GeomFromEWKT('SRID=4674;POINT (-40.386888 -2.796924)'))) / (select extract(epoch from '2026-07-29 04:28:40'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47641, 'SRID=4674;POINT (-40.386923 -2.796913)', '2026-07-29 04:28:47', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386888 -2.796924)'), GeomFromEWKT('SRID=4674;POINT (-40.386923 -2.796913)'))) / (select extract(epoch from '2026-07-29 04:28:47'::timestamp) - extract(epoch from '2026-07-29 04:28:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386888 -2.796924)'), GeomFromEWKT('SRID=4674;POINT (-40.386923 -2.796913)'))) / (select extract(epoch from '2026-07-29 04:28:47'::timestamp) - extract(epoch from '2026-07-29 04:28:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.386958 -2.796897)', '2026-07-29 04:28:56', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386923 -2.796913)'), GeomFromEWKT('SRID=4674;POINT (-40.386958 -2.796897)'))) / (select extract(epoch from '2026-07-29 04:28:56'::timestamp) - extract(epoch from '2026-07-29 04:28:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386923 -2.796913)'), GeomFromEWKT('SRID=4674;POINT (-40.386958 -2.796897)'))) / (select extract(epoch from '2026-07-29 04:28:56'::timestamp) - extract(epoch from '2026-07-29 04:28: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'), 47641, 'SRID=4674;POINT (-40.387006 -2.796874)', '2026-07-29 04:29:07', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386958 -2.796897)'), GeomFromEWKT('SRID=4674;POINT (-40.387006 -2.796874)'))) / (select extract(epoch from '2026-07-29 04:29:07'::timestamp) - extract(epoch from '2026-07-29 04:28:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386958 -2.796897)'), GeomFromEWKT('SRID=4674;POINT (-40.387006 -2.796874)'))) / (select extract(epoch from '2026-07-29 04:29:07'::timestamp) - extract(epoch from '2026-07-29 04:28:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.387039 -2.796866)', '2026-07-29 04:29:14', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387006 -2.796874)'), GeomFromEWKT('SRID=4674;POINT (-40.387039 -2.796866)'))) / (select extract(epoch from '2026-07-29 04:29:14'::timestamp) - extract(epoch from '2026-07-29 04:29:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387006 -2.796874)'), GeomFromEWKT('SRID=4674;POINT (-40.387039 -2.796866)'))) / (select extract(epoch from '2026-07-29 04:29:14'::timestamp) - extract(epoch from '2026-07-29 04:29:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.387092 -2.796849)', '2026-07-29 04:29:25', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387039 -2.796866)'), GeomFromEWKT('SRID=4674;POINT (-40.387092 -2.796849)'))) / (select extract(epoch from '2026-07-29 04:29:25'::timestamp) - extract(epoch from '2026-07-29 04:29:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387039 -2.796866)'), GeomFromEWKT('SRID=4674;POINT (-40.387092 -2.796849)'))) / (select extract(epoch from '2026-07-29 04:29:25'::timestamp) - extract(epoch from '2026-07-29 04:29:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.387133 -2.796839)', '2026-07-29 04:29:33', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387092 -2.796849)'), GeomFromEWKT('SRID=4674;POINT (-40.387133 -2.796839)'))) / (select extract(epoch from '2026-07-29 04:29:33'::timestamp) - extract(epoch from '2026-07-29 04:29:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387092 -2.796849)'), GeomFromEWKT('SRID=4674;POINT (-40.387133 -2.796839)'))) / (select extract(epoch from '2026-07-29 04:29:33'::timestamp) - extract(epoch from '2026-07-29 04:29:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.387176 -2.796827)', '2026-07-29 04:29:42', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387133 -2.796839)'), GeomFromEWKT('SRID=4674;POINT (-40.387176 -2.796827)'))) / (select extract(epoch from '2026-07-29 04:29:42'::timestamp) - extract(epoch from '2026-07-29 04:29:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387133 -2.796839)'), GeomFromEWKT('SRID=4674;POINT (-40.387176 -2.796827)'))) / (select extract(epoch from '2026-07-29 04:29:42'::timestamp) - extract(epoch from '2026-07-29 04:29:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.387217 -2.796809)', '2026-07-29 04:29:52', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387176 -2.796827)'), GeomFromEWKT('SRID=4674;POINT (-40.387217 -2.796809)'))) / (select extract(epoch from '2026-07-29 04:29:52'::timestamp) - extract(epoch from '2026-07-29 04:29:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387176 -2.796827)'), GeomFromEWKT('SRID=4674;POINT (-40.387217 -2.796809)'))) / (select extract(epoch from '2026-07-29 04:29:52'::timestamp) - extract(epoch from '2026-07-29 04:29: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'), 47641, 'SRID=4674;POINT (-40.387262 -2.796787)', '2026-07-29 04:30:02', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387217 -2.796809)'), GeomFromEWKT('SRID=4674;POINT (-40.387262 -2.796787)'))) / (select extract(epoch from '2026-07-29 04:30:02'::timestamp) - extract(epoch from '2026-07-29 04:29:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387217 -2.796809)'), GeomFromEWKT('SRID=4674;POINT (-40.387262 -2.796787)'))) / (select extract(epoch from '2026-07-29 04:30:02'::timestamp) - extract(epoch from '2026-07-29 04:29:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.387301 -2.796773)', '2026-07-29 04:30:11', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387262 -2.796787)'), GeomFromEWKT('SRID=4674;POINT (-40.387301 -2.796773)'))) / (select extract(epoch from '2026-07-29 04:30:11'::timestamp) - extract(epoch from '2026-07-29 04:30:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387262 -2.796787)'), GeomFromEWKT('SRID=4674;POINT (-40.387301 -2.796773)'))) / (select extract(epoch from '2026-07-29 04:30:11'::timestamp) - extract(epoch from '2026-07-29 04:30: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'), 47641, 'SRID=4674;POINT (-40.38734 -2.796763)', '2026-07-29 04:30:19', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387301 -2.796773)'), GeomFromEWKT('SRID=4674;POINT (-40.38734 -2.796763)'))) / (select extract(epoch from '2026-07-29 04:30:19'::timestamp) - extract(epoch from '2026-07-29 04:30:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387301 -2.796773)'), GeomFromEWKT('SRID=4674;POINT (-40.38734 -2.796763)'))) / (select extract(epoch from '2026-07-29 04:30:19'::timestamp) - extract(epoch from '2026-07-29 04:30: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'), 47641, 'SRID=4674;POINT (-40.387379 -2.796744)', '2026-07-29 04:30:28', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38734 -2.796763)'), GeomFromEWKT('SRID=4674;POINT (-40.387379 -2.796744)'))) / (select extract(epoch from '2026-07-29 04:30:28'::timestamp) - extract(epoch from '2026-07-29 04:30:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38734 -2.796763)'), GeomFromEWKT('SRID=4674;POINT (-40.387379 -2.796744)'))) / (select extract(epoch from '2026-07-29 04:30:28'::timestamp) - extract(epoch from '2026-07-29 04:30:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.387428 -2.796726)', '2026-07-29 04:30:39', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387379 -2.796744)'), GeomFromEWKT('SRID=4674;POINT (-40.387428 -2.796726)'))) / (select extract(epoch from '2026-07-29 04:30:39'::timestamp) - extract(epoch from '2026-07-29 04:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387379 -2.796744)'), GeomFromEWKT('SRID=4674;POINT (-40.387428 -2.796726)'))) / (select extract(epoch from '2026-07-29 04:30:39'::timestamp) - extract(epoch from '2026-07-29 04:30: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'), 47641, 'SRID=4674;POINT (-40.387473 -2.796708)', '2026-07-29 04:30:49', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387428 -2.796726)'), GeomFromEWKT('SRID=4674;POINT (-40.387473 -2.796708)'))) / (select extract(epoch from '2026-07-29 04:30:49'::timestamp) - extract(epoch from '2026-07-29 04:30:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387428 -2.796726)'), GeomFromEWKT('SRID=4674;POINT (-40.387473 -2.796708)'))) / (select extract(epoch from '2026-07-29 04:30:49'::timestamp) - extract(epoch from '2026-07-29 04:30:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.387524 -2.796686)', '2026-07-29 04:31:02', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387473 -2.796708)'), GeomFromEWKT('SRID=4674;POINT (-40.387524 -2.796686)'))) / (select extract(epoch from '2026-07-29 04:31:02'::timestamp) - extract(epoch from '2026-07-29 04:30:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387473 -2.796708)'), GeomFromEWKT('SRID=4674;POINT (-40.387524 -2.796686)'))) / (select extract(epoch from '2026-07-29 04:31:02'::timestamp) - extract(epoch from '2026-07-29 04:30:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.387578 -2.79668)', '2026-07-29 04:31:14', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387524 -2.796686)'), GeomFromEWKT('SRID=4674;POINT (-40.387578 -2.79668)'))) / (select extract(epoch from '2026-07-29 04:31:14'::timestamp) - extract(epoch from '2026-07-29 04:31:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387524 -2.796686)'), GeomFromEWKT('SRID=4674;POINT (-40.387578 -2.79668)'))) / (select extract(epoch from '2026-07-29 04:31:14'::timestamp) - extract(epoch from '2026-07-29 04:31: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'), 47641, 'SRID=4674;POINT (-40.387613 -2.796668)', '2026-07-29 04:31:23', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387578 -2.79668)'), GeomFromEWKT('SRID=4674;POINT (-40.387613 -2.796668)'))) / (select extract(epoch from '2026-07-29 04:31:23'::timestamp) - extract(epoch from '2026-07-29 04:31:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387578 -2.79668)'), GeomFromEWKT('SRID=4674;POINT (-40.387613 -2.796668)'))) / (select extract(epoch from '2026-07-29 04:31:23'::timestamp) - extract(epoch from '2026-07-29 04:31: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'), 47641, 'SRID=4674;POINT (-40.387652 -2.796657)', '2026-07-29 04:31:32', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387613 -2.796668)'), GeomFromEWKT('SRID=4674;POINT (-40.387652 -2.796657)'))) / (select extract(epoch from '2026-07-29 04:31:32'::timestamp) - extract(epoch from '2026-07-29 04:31:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387613 -2.796668)'), GeomFromEWKT('SRID=4674;POINT (-40.387652 -2.796657)'))) / (select extract(epoch from '2026-07-29 04:31:32'::timestamp) - extract(epoch from '2026-07-29 04:31:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.387701 -2.796646)', '2026-07-29 04:31:43', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387652 -2.796657)'), GeomFromEWKT('SRID=4674;POINT (-40.387701 -2.796646)'))) / (select extract(epoch from '2026-07-29 04:31:43'::timestamp) - extract(epoch from '2026-07-29 04:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387652 -2.796657)'), GeomFromEWKT('SRID=4674;POINT (-40.387701 -2.796646)'))) / (select extract(epoch from '2026-07-29 04:31:43'::timestamp) - extract(epoch from '2026-07-29 04:31: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'), 47641, 'SRID=4674;POINT (-40.387748 -2.796633)', '2026-07-29 04:31:55', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387701 -2.796646)'), GeomFromEWKT('SRID=4674;POINT (-40.387748 -2.796633)'))) / (select extract(epoch from '2026-07-29 04:31:55'::timestamp) - extract(epoch from '2026-07-29 04:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387701 -2.796646)'), GeomFromEWKT('SRID=4674;POINT (-40.387748 -2.796633)'))) / (select extract(epoch from '2026-07-29 04:31:55'::timestamp) - extract(epoch from '2026-07-29 04:31: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'), 47641, 'SRID=4674;POINT (-40.387783 -2.796616)', '2026-07-29 04:32:04', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387748 -2.796633)'), GeomFromEWKT('SRID=4674;POINT (-40.387783 -2.796616)'))) / (select extract(epoch from '2026-07-29 04:32:04'::timestamp) - extract(epoch from '2026-07-29 04:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387748 -2.796633)'), GeomFromEWKT('SRID=4674;POINT (-40.387783 -2.796616)'))) / (select extract(epoch from '2026-07-29 04:32:04'::timestamp) - extract(epoch from '2026-07-29 04:31: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'), 47641, 'SRID=4674;POINT (-40.387821 -2.796602)', '2026-07-29 04:32:13', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387783 -2.796616)'), GeomFromEWKT('SRID=4674;POINT (-40.387821 -2.796602)'))) / (select extract(epoch from '2026-07-29 04:32:13'::timestamp) - extract(epoch from '2026-07-29 04:32:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387783 -2.796616)'), GeomFromEWKT('SRID=4674;POINT (-40.387821 -2.796602)'))) / (select extract(epoch from '2026-07-29 04:32:13'::timestamp) - extract(epoch from '2026-07-29 04:32: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'), 47641, 'SRID=4674;POINT (-40.387866 -2.796588)', '2026-07-29 04:32:24', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387821 -2.796602)'), GeomFromEWKT('SRID=4674;POINT (-40.387866 -2.796588)'))) / (select extract(epoch from '2026-07-29 04:32:24'::timestamp) - extract(epoch from '2026-07-29 04:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387821 -2.796602)'), GeomFromEWKT('SRID=4674;POINT (-40.387866 -2.796588)'))) / (select extract(epoch from '2026-07-29 04:32:24'::timestamp) - extract(epoch from '2026-07-29 04:32: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'), 47641, 'SRID=4674;POINT (-40.387899 -2.796582)', '2026-07-29 04:32:32', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387866 -2.796588)'), GeomFromEWKT('SRID=4674;POINT (-40.387899 -2.796582)'))) / (select extract(epoch from '2026-07-29 04:32:32'::timestamp) - extract(epoch from '2026-07-29 04:32:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387866 -2.796588)'), GeomFromEWKT('SRID=4674;POINT (-40.387899 -2.796582)'))) / (select extract(epoch from '2026-07-29 04:32:32'::timestamp) - extract(epoch from '2026-07-29 04:32: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'), 47641, 'SRID=4674;POINT (-40.387949 -2.796576)', '2026-07-29 04:32:41', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387899 -2.796582)'), GeomFromEWKT('SRID=4674;POINT (-40.387949 -2.796576)'))) / (select extract(epoch from '2026-07-29 04:32:41'::timestamp) - extract(epoch from '2026-07-29 04:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387899 -2.796582)'), GeomFromEWKT('SRID=4674;POINT (-40.387949 -2.796576)'))) / (select extract(epoch from '2026-07-29 04:32:41'::timestamp) - extract(epoch from '2026-07-29 04:32:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.387995 -2.796563)', '2026-07-29 04:32:51', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387949 -2.796576)'), GeomFromEWKT('SRID=4674;POINT (-40.387995 -2.796563)'))) / (select extract(epoch from '2026-07-29 04:32:51'::timestamp) - extract(epoch from '2026-07-29 04:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387949 -2.796576)'), GeomFromEWKT('SRID=4674;POINT (-40.387995 -2.796563)'))) / (select extract(epoch from '2026-07-29 04:32:51'::timestamp) - extract(epoch from '2026-07-29 04:32:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388039 -2.796542)', '2026-07-29 04:33:00', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387995 -2.796563)'), GeomFromEWKT('SRID=4674;POINT (-40.388039 -2.796542)'))) / (select extract(epoch from '2026-07-29 04:33:00'::timestamp) - extract(epoch from '2026-07-29 04:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387995 -2.796563)'), GeomFromEWKT('SRID=4674;POINT (-40.388039 -2.796542)'))) / (select extract(epoch from '2026-07-29 04:33:00'::timestamp) - extract(epoch from '2026-07-29 04:32:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388088 -2.796523)', '2026-07-29 04:33:10', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388039 -2.796542)'), GeomFromEWKT('SRID=4674;POINT (-40.388088 -2.796523)'))) / (select extract(epoch from '2026-07-29 04:33:10'::timestamp) - extract(epoch from '2026-07-29 04:33:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388039 -2.796542)'), GeomFromEWKT('SRID=4674;POINT (-40.388088 -2.796523)'))) / (select extract(epoch from '2026-07-29 04:33:10'::timestamp) - extract(epoch from '2026-07-29 04:33: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'), 47641, 'SRID=4674;POINT (-40.388137 -2.796502)', '2026-07-29 04:33:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388088 -2.796523)'), GeomFromEWKT('SRID=4674;POINT (-40.388137 -2.796502)'))) / (select extract(epoch from '2026-07-29 04:33:20'::timestamp) - extract(epoch from '2026-07-29 04:33:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388088 -2.796523)'), GeomFromEWKT('SRID=4674;POINT (-40.388137 -2.796502)'))) / (select extract(epoch from '2026-07-29 04:33:20'::timestamp) - extract(epoch from '2026-07-29 04:33:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.38818 -2.796486)', '2026-07-29 04:33:30', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388137 -2.796502)'), GeomFromEWKT('SRID=4674;POINT (-40.38818 -2.796486)'))) / (select extract(epoch from '2026-07-29 04:33:30'::timestamp) - extract(epoch from '2026-07-29 04:33:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388137 -2.796502)'), GeomFromEWKT('SRID=4674;POINT (-40.38818 -2.796486)'))) / (select extract(epoch from '2026-07-29 04:33:30'::timestamp) - extract(epoch from '2026-07-29 04:33: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'), 47641, 'SRID=4674;POINT (-40.388218 -2.796476)', '2026-07-29 04:33:40', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38818 -2.796486)'), GeomFromEWKT('SRID=4674;POINT (-40.388218 -2.796476)'))) / (select extract(epoch from '2026-07-29 04:33:40'::timestamp) - extract(epoch from '2026-07-29 04:33:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38818 -2.796486)'), GeomFromEWKT('SRID=4674;POINT (-40.388218 -2.796476)'))) / (select extract(epoch from '2026-07-29 04:33:40'::timestamp) - extract(epoch from '2026-07-29 04:33:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388249 -2.79647)', '2026-07-29 04:33:50', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388218 -2.796476)'), GeomFromEWKT('SRID=4674;POINT (-40.388249 -2.79647)'))) / (select extract(epoch from '2026-07-29 04:33:50'::timestamp) - extract(epoch from '2026-07-29 04:33:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388218 -2.796476)'), GeomFromEWKT('SRID=4674;POINT (-40.388249 -2.79647)'))) / (select extract(epoch from '2026-07-29 04:33:50'::timestamp) - extract(epoch from '2026-07-29 04:33:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388297 -2.796455)', '2026-07-29 04:34:03', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388249 -2.79647)'), GeomFromEWKT('SRID=4674;POINT (-40.388297 -2.796455)'))) / (select extract(epoch from '2026-07-29 04:34:03'::timestamp) - extract(epoch from '2026-07-29 04:33:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388249 -2.79647)'), GeomFromEWKT('SRID=4674;POINT (-40.388297 -2.796455)'))) / (select extract(epoch from '2026-07-29 04:34:03'::timestamp) - extract(epoch from '2026-07-29 04:33:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388341 -2.79644)', '2026-07-29 04:34:13', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388297 -2.796455)'), GeomFromEWKT('SRID=4674;POINT (-40.388341 -2.79644)'))) / (select extract(epoch from '2026-07-29 04:34:13'::timestamp) - extract(epoch from '2026-07-29 04:34:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388297 -2.796455)'), GeomFromEWKT('SRID=4674;POINT (-40.388341 -2.79644)'))) / (select extract(epoch from '2026-07-29 04:34:13'::timestamp) - extract(epoch from '2026-07-29 04:34:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.3884 -2.796432)', '2026-07-29 04:34:25', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388341 -2.79644)'), GeomFromEWKT('SRID=4674;POINT (-40.3884 -2.796432)'))) / (select extract(epoch from '2026-07-29 04:34:25'::timestamp) - extract(epoch from '2026-07-29 04:34:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388341 -2.79644)'), GeomFromEWKT('SRID=4674;POINT (-40.3884 -2.796432)'))) / (select extract(epoch from '2026-07-29 04:34:25'::timestamp) - extract(epoch from '2026-07-29 04:34: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'), 47641, 'SRID=4674;POINT (-40.388436 -2.796438)', '2026-07-29 04:34:35', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3884 -2.796432)'), GeomFromEWKT('SRID=4674;POINT (-40.388436 -2.796438)'))) / (select extract(epoch from '2026-07-29 04:34:35'::timestamp) - extract(epoch from '2026-07-29 04:34:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3884 -2.796432)'), GeomFromEWKT('SRID=4674;POINT (-40.388436 -2.796438)'))) / (select extract(epoch from '2026-07-29 04:34:35'::timestamp) - extract(epoch from '2026-07-29 04:34: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'), 47641, 'SRID=4674;POINT (-40.388462 -2.796451)', '2026-07-29 04:34:43', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388436 -2.796438)'), GeomFromEWKT('SRID=4674;POINT (-40.388462 -2.796451)'))) / (select extract(epoch from '2026-07-29 04:34:43'::timestamp) - extract(epoch from '2026-07-29 04:34:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388436 -2.796438)'), GeomFromEWKT('SRID=4674;POINT (-40.388462 -2.796451)'))) / (select extract(epoch from '2026-07-29 04:34:43'::timestamp) - extract(epoch from '2026-07-29 04:34: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'), 47641, 'SRID=4674;POINT (-40.38848 -2.796458)', '2026-07-29 04:34:53', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388462 -2.796451)'), GeomFromEWKT('SRID=4674;POINT (-40.38848 -2.796458)'))) / (select extract(epoch from '2026-07-29 04:34:53'::timestamp) - extract(epoch from '2026-07-29 04:34:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388462 -2.796451)'), GeomFromEWKT('SRID=4674;POINT (-40.38848 -2.796458)'))) / (select extract(epoch from '2026-07-29 04:34:53'::timestamp) - extract(epoch from '2026-07-29 04:34: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'), 47641, 'SRID=4674;POINT (-40.388515 -2.796462)', '2026-07-29 04:35:08', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38848 -2.796458)'), GeomFromEWKT('SRID=4674;POINT (-40.388515 -2.796462)'))) / (select extract(epoch from '2026-07-29 04:35:08'::timestamp) - extract(epoch from '2026-07-29 04:34:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38848 -2.796458)'), GeomFromEWKT('SRID=4674;POINT (-40.388515 -2.796462)'))) / (select extract(epoch from '2026-07-29 04:35:08'::timestamp) - extract(epoch from '2026-07-29 04:34:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388547 -2.796462)', '2026-07-29 04:35:22', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388515 -2.796462)'), GeomFromEWKT('SRID=4674;POINT (-40.388547 -2.796462)'))) / (select extract(epoch from '2026-07-29 04:35:22'::timestamp) - extract(epoch from '2026-07-29 04:35:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388515 -2.796462)'), GeomFromEWKT('SRID=4674;POINT (-40.388547 -2.796462)'))) / (select extract(epoch from '2026-07-29 04:35:22'::timestamp) - extract(epoch from '2026-07-29 04:35: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'), 47641, 'SRID=4674;POINT (-40.388564 -2.796463)', '2026-07-29 04:35:31', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388547 -2.796462)'), GeomFromEWKT('SRID=4674;POINT (-40.388564 -2.796463)'))) / (select extract(epoch from '2026-07-29 04:35:31'::timestamp) - extract(epoch from '2026-07-29 04:35:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388547 -2.796462)'), GeomFromEWKT('SRID=4674;POINT (-40.388564 -2.796463)'))) / (select extract(epoch from '2026-07-29 04:35:31'::timestamp) - extract(epoch from '2026-07-29 04:35: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'), 47641, 'SRID=4674;POINT (-40.388587 -2.796455)', '2026-07-29 04:35:42', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388564 -2.796463)'), GeomFromEWKT('SRID=4674;POINT (-40.388587 -2.796455)'))) / (select extract(epoch from '2026-07-29 04:35:42'::timestamp) - extract(epoch from '2026-07-29 04:35:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388564 -2.796463)'), GeomFromEWKT('SRID=4674;POINT (-40.388587 -2.796455)'))) / (select extract(epoch from '2026-07-29 04:35:42'::timestamp) - extract(epoch from '2026-07-29 04:35: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'), 47641, 'SRID=4674;POINT (-40.388614 -2.796452)', '2026-07-29 04:35:55', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388587 -2.796455)'), GeomFromEWKT('SRID=4674;POINT (-40.388614 -2.796452)'))) / (select extract(epoch from '2026-07-29 04:35:55'::timestamp) - extract(epoch from '2026-07-29 04:35:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388587 -2.796455)'), GeomFromEWKT('SRID=4674;POINT (-40.388614 -2.796452)'))) / (select extract(epoch from '2026-07-29 04:35:55'::timestamp) - extract(epoch from '2026-07-29 04:35:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388633 -2.796456)', '2026-07-29 04:36:03', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388614 -2.796452)'), GeomFromEWKT('SRID=4674;POINT (-40.388633 -2.796456)'))) / (select extract(epoch from '2026-07-29 04:36:03'::timestamp) - extract(epoch from '2026-07-29 04:35:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388614 -2.796452)'), GeomFromEWKT('SRID=4674;POINT (-40.388633 -2.796456)'))) / (select extract(epoch from '2026-07-29 04:36:03'::timestamp) - extract(epoch from '2026-07-29 04:35: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'), 47641, 'SRID=4674;POINT (-40.388647 -2.796456)', '2026-07-29 04:36:11', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388633 -2.796456)'), GeomFromEWKT('SRID=4674;POINT (-40.388647 -2.796456)'))) / (select extract(epoch from '2026-07-29 04:36:11'::timestamp) - extract(epoch from '2026-07-29 04:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388633 -2.796456)'), GeomFromEWKT('SRID=4674;POINT (-40.388647 -2.796456)'))) / (select extract(epoch from '2026-07-29 04:36:11'::timestamp) - extract(epoch from '2026-07-29 04:36:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388668 -2.79645)', '2026-07-29 04:36:24', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388647 -2.796456)'), GeomFromEWKT('SRID=4674;POINT (-40.388668 -2.79645)'))) / (select extract(epoch from '2026-07-29 04:36:24'::timestamp) - extract(epoch from '2026-07-29 04:36:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388647 -2.796456)'), GeomFromEWKT('SRID=4674;POINT (-40.388668 -2.79645)'))) / (select extract(epoch from '2026-07-29 04:36:24'::timestamp) - extract(epoch from '2026-07-29 04:36: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'), 47641, 'SRID=4674;POINT (-40.388679 -2.796446)', '2026-07-29 04:36:49', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388668 -2.79645)'), GeomFromEWKT('SRID=4674;POINT (-40.388679 -2.796446)'))) / (select extract(epoch from '2026-07-29 04:36:49'::timestamp) - extract(epoch from '2026-07-29 04:36:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388668 -2.79645)'), GeomFromEWKT('SRID=4674;POINT (-40.388679 -2.796446)'))) / (select extract(epoch from '2026-07-29 04:36:49'::timestamp) - extract(epoch from '2026-07-29 04:36:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388682 -2.796413)', '2026-07-29 04:37:13', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388679 -2.796446)'), GeomFromEWKT('SRID=4674;POINT (-40.388682 -2.796413)'))) / (select extract(epoch from '2026-07-29 04:37:13'::timestamp) - extract(epoch from '2026-07-29 04:36:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388679 -2.796446)'), GeomFromEWKT('SRID=4674;POINT (-40.388682 -2.796413)'))) / (select extract(epoch from '2026-07-29 04:37:13'::timestamp) - extract(epoch from '2026-07-29 04:36:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388679 -2.796402)', '2026-07-29 04:37:48', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388682 -2.796413)'), GeomFromEWKT('SRID=4674;POINT (-40.388679 -2.796402)'))) / (select extract(epoch from '2026-07-29 04:37:48'::timestamp) - extract(epoch from '2026-07-29 04:37:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388682 -2.796413)'), GeomFromEWKT('SRID=4674;POINT (-40.388679 -2.796402)'))) / (select extract(epoch from '2026-07-29 04:37:48'::timestamp) - extract(epoch from '2026-07-29 04:37:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388675 -2.796396)', '2026-07-29 04:38:01', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388679 -2.796402)'), GeomFromEWKT('SRID=4674;POINT (-40.388675 -2.796396)'))) / (select extract(epoch from '2026-07-29 04:38:01'::timestamp) - extract(epoch from '2026-07-29 04:37:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388679 -2.796402)'), GeomFromEWKT('SRID=4674;POINT (-40.388675 -2.796396)'))) / (select extract(epoch from '2026-07-29 04:38:01'::timestamp) - extract(epoch from '2026-07-29 04:37: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'), 47641, 'SRID=4674;POINT (-40.388672 -2.796393)', '2026-07-29 04:38:12', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388675 -2.796396)'), GeomFromEWKT('SRID=4674;POINT (-40.388672 -2.796393)'))) / (select extract(epoch from '2026-07-29 04:38:12'::timestamp) - extract(epoch from '2026-07-29 04:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388675 -2.796396)'), GeomFromEWKT('SRID=4674;POINT (-40.388672 -2.796393)'))) / (select extract(epoch from '2026-07-29 04:38:12'::timestamp) - extract(epoch from '2026-07-29 04:38: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'), 47641, 'SRID=4674;POINT (-40.388679 -2.796393)', '2026-07-29 04:38:19', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388672 -2.796393)'), GeomFromEWKT('SRID=4674;POINT (-40.388679 -2.796393)'))) / (select extract(epoch from '2026-07-29 04:38:19'::timestamp) - extract(epoch from '2026-07-29 04:38:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388672 -2.796393)'), GeomFromEWKT('SRID=4674;POINT (-40.388679 -2.796393)'))) / (select extract(epoch from '2026-07-29 04:38:19'::timestamp) - extract(epoch from '2026-07-29 04:38: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'), 47641, 'SRID=4674;POINT (-40.38868 -2.796397)', '2026-07-29 04:38:32', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388679 -2.796393)'), GeomFromEWKT('SRID=4674;POINT (-40.38868 -2.796397)'))) / (select extract(epoch from '2026-07-29 04:38:32'::timestamp) - extract(epoch from '2026-07-29 04:38:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388679 -2.796393)'), GeomFromEWKT('SRID=4674;POINT (-40.38868 -2.796397)'))) / (select extract(epoch from '2026-07-29 04:38:32'::timestamp) - extract(epoch from '2026-07-29 04:38: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'), 47641, 'SRID=4674;POINT (-40.388678 -2.796398)', '2026-07-29 04:38:45', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38868 -2.796397)'), GeomFromEWKT('SRID=4674;POINT (-40.388678 -2.796398)'))) / (select extract(epoch from '2026-07-29 04:38:45'::timestamp) - extract(epoch from '2026-07-29 04:38:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38868 -2.796397)'), GeomFromEWKT('SRID=4674;POINT (-40.388678 -2.796398)'))) / (select extract(epoch from '2026-07-29 04:38:45'::timestamp) - extract(epoch from '2026-07-29 04:38: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'), 47641, 'SRID=4674;POINT (-40.388676 -2.796394)', '2026-07-29 04:38:56', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388678 -2.796398)'), GeomFromEWKT('SRID=4674;POINT (-40.388676 -2.796394)'))) / (select extract(epoch from '2026-07-29 04:38:56'::timestamp) - extract(epoch from '2026-07-29 04:38:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388678 -2.796398)'), GeomFromEWKT('SRID=4674;POINT (-40.388676 -2.796394)'))) / (select extract(epoch from '2026-07-29 04:38:56'::timestamp) - extract(epoch from '2026-07-29 04:38: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'), 47641, 'SRID=4674;POINT (-40.388677 -2.796394)', '2026-07-29 04:39:07', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388676 -2.796394)'), GeomFromEWKT('SRID=4674;POINT (-40.388677 -2.796394)'))) / (select extract(epoch from '2026-07-29 04:39:07'::timestamp) - extract(epoch from '2026-07-29 04:38:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388676 -2.796394)'), GeomFromEWKT('SRID=4674;POINT (-40.388677 -2.796394)'))) / (select extract(epoch from '2026-07-29 04:39:07'::timestamp) - extract(epoch from '2026-07-29 04:38: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'), 47641, 'SRID=4674;POINT (-40.38869 -2.796403)', '2026-07-29 04:39:14', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388677 -2.796394)'), GeomFromEWKT('SRID=4674;POINT (-40.38869 -2.796403)'))) / (select extract(epoch from '2026-07-29 04:39:14'::timestamp) - extract(epoch from '2026-07-29 04:39:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388677 -2.796394)'), GeomFromEWKT('SRID=4674;POINT (-40.38869 -2.796403)'))) / (select extract(epoch from '2026-07-29 04:39:14'::timestamp) - extract(epoch from '2026-07-29 04:39:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.38868 -2.796408)', '2026-07-29 04:39:26', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38869 -2.796403)'), GeomFromEWKT('SRID=4674;POINT (-40.38868 -2.796408)'))) / (select extract(epoch from '2026-07-29 04:39:26'::timestamp) - extract(epoch from '2026-07-29 04:39:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38869 -2.796403)'), GeomFromEWKT('SRID=4674;POINT (-40.38868 -2.796408)'))) / (select extract(epoch from '2026-07-29 04:39:26'::timestamp) - extract(epoch from '2026-07-29 04:39: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'), 47641, 'SRID=4674;POINT (-40.388687 -2.796399)', '2026-07-29 04:39:46', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38868 -2.796408)'), GeomFromEWKT('SRID=4674;POINT (-40.388687 -2.796399)'))) / (select extract(epoch from '2026-07-29 04:39:46'::timestamp) - extract(epoch from '2026-07-29 04:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38868 -2.796408)'), GeomFromEWKT('SRID=4674;POINT (-40.388687 -2.796399)'))) / (select extract(epoch from '2026-07-29 04:39:46'::timestamp) - extract(epoch from '2026-07-29 04:39: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'), 47641, 'SRID=4674;POINT (-40.388689 -2.796394)', '2026-07-29 04:40:02', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388687 -2.796399)'), GeomFromEWKT('SRID=4674;POINT (-40.388689 -2.796394)'))) / (select extract(epoch from '2026-07-29 04:40:02'::timestamp) - extract(epoch from '2026-07-29 04:39:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388687 -2.796399)'), GeomFromEWKT('SRID=4674;POINT (-40.388689 -2.796394)'))) / (select extract(epoch from '2026-07-29 04:40:02'::timestamp) - extract(epoch from '2026-07-29 04:39:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388691 -2.796384)', '2026-07-29 04:40:23', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388689 -2.796394)'), GeomFromEWKT('SRID=4674;POINT (-40.388691 -2.796384)'))) / (select extract(epoch from '2026-07-29 04:40:23'::timestamp) - extract(epoch from '2026-07-29 04:40:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388689 -2.796394)'), GeomFromEWKT('SRID=4674;POINT (-40.388691 -2.796384)'))) / (select extract(epoch from '2026-07-29 04:40:23'::timestamp) - extract(epoch from '2026-07-29 04:40: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'), 47641, 'SRID=4674;POINT (-40.388685 -2.796379)', '2026-07-29 04:40:42', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388691 -2.796384)'), GeomFromEWKT('SRID=4674;POINT (-40.388685 -2.796379)'))) / (select extract(epoch from '2026-07-29 04:40:42'::timestamp) - extract(epoch from '2026-07-29 04:40:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388691 -2.796384)'), GeomFromEWKT('SRID=4674;POINT (-40.388685 -2.796379)'))) / (select extract(epoch from '2026-07-29 04:40:42'::timestamp) - extract(epoch from '2026-07-29 04:40:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388686 -2.796377)', '2026-07-29 04:40:57', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388685 -2.796379)'), GeomFromEWKT('SRID=4674;POINT (-40.388686 -2.796377)'))) / (select extract(epoch from '2026-07-29 04:40:57'::timestamp) - extract(epoch from '2026-07-29 04:40:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388685 -2.796379)'), GeomFromEWKT('SRID=4674;POINT (-40.388686 -2.796377)'))) / (select extract(epoch from '2026-07-29 04:40:57'::timestamp) - extract(epoch from '2026-07-29 04:40:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388685 -2.796371)', '2026-07-29 04:41:12', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388686 -2.796377)'), GeomFromEWKT('SRID=4674;POINT (-40.388685 -2.796371)'))) / (select extract(epoch from '2026-07-29 04:41:12'::timestamp) - extract(epoch from '2026-07-29 04:40:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388686 -2.796377)'), GeomFromEWKT('SRID=4674;POINT (-40.388685 -2.796371)'))) / (select extract(epoch from '2026-07-29 04:41:12'::timestamp) - extract(epoch from '2026-07-29 04:40:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388685 -2.796379)', '2026-07-29 04:41:27', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388685 -2.796371)'), GeomFromEWKT('SRID=4674;POINT (-40.388685 -2.796379)'))) / (select extract(epoch from '2026-07-29 04:41:27'::timestamp) - extract(epoch from '2026-07-29 04:41:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388685 -2.796371)'), GeomFromEWKT('SRID=4674;POINT (-40.388685 -2.796379)'))) / (select extract(epoch from '2026-07-29 04:41:27'::timestamp) - extract(epoch from '2026-07-29 04:41:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388686 -2.796369)', '2026-07-29 04:41:43', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388685 -2.796379)'), GeomFromEWKT('SRID=4674;POINT (-40.388686 -2.796369)'))) / (select extract(epoch from '2026-07-29 04:41:43'::timestamp) - extract(epoch from '2026-07-29 04:41:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388685 -2.796379)'), GeomFromEWKT('SRID=4674;POINT (-40.388686 -2.796369)'))) / (select extract(epoch from '2026-07-29 04:41:43'::timestamp) - extract(epoch from '2026-07-29 04:41:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388679 -2.796366)', '2026-07-29 04:41:59', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388686 -2.796369)'), GeomFromEWKT('SRID=4674;POINT (-40.388679 -2.796366)'))) / (select extract(epoch from '2026-07-29 04:41:59'::timestamp) - extract(epoch from '2026-07-29 04:41:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388686 -2.796369)'), GeomFromEWKT('SRID=4674;POINT (-40.388679 -2.796366)'))) / (select extract(epoch from '2026-07-29 04:41:59'::timestamp) - extract(epoch from '2026-07-29 04:41: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'), 47641, 'SRID=4674;POINT (-40.388677 -2.796367)', '2026-07-29 04:42:12', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388679 -2.796366)'), GeomFromEWKT('SRID=4674;POINT (-40.388677 -2.796367)'))) / (select extract(epoch from '2026-07-29 04:42:12'::timestamp) - extract(epoch from '2026-07-29 04:41:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388679 -2.796366)'), GeomFromEWKT('SRID=4674;POINT (-40.388677 -2.796367)'))) / (select extract(epoch from '2026-07-29 04:42:12'::timestamp) - extract(epoch from '2026-07-29 04:41: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'), 47641, 'SRID=4674;POINT (-40.388686 -2.796356)', '2026-07-29 04:42:23', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388677 -2.796367)'), GeomFromEWKT('SRID=4674;POINT (-40.388686 -2.796356)'))) / (select extract(epoch from '2026-07-29 04:42:23'::timestamp) - extract(epoch from '2026-07-29 04:42:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388677 -2.796367)'), GeomFromEWKT('SRID=4674;POINT (-40.388686 -2.796356)'))) / (select extract(epoch from '2026-07-29 04:42:23'::timestamp) - extract(epoch from '2026-07-29 04:42:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388684 -2.796348)', '2026-07-29 04:42:36', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388686 -2.796356)'), GeomFromEWKT('SRID=4674;POINT (-40.388684 -2.796348)'))) / (select extract(epoch from '2026-07-29 04:42:36'::timestamp) - extract(epoch from '2026-07-29 04:42:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388686 -2.796356)'), GeomFromEWKT('SRID=4674;POINT (-40.388684 -2.796348)'))) / (select extract(epoch from '2026-07-29 04:42:36'::timestamp) - extract(epoch from '2026-07-29 04:42:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388689 -2.796344)', '2026-07-29 04:42:47', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388684 -2.796348)'), GeomFromEWKT('SRID=4674;POINT (-40.388689 -2.796344)'))) / (select extract(epoch from '2026-07-29 04:42:47'::timestamp) - extract(epoch from '2026-07-29 04:42:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388684 -2.796348)'), GeomFromEWKT('SRID=4674;POINT (-40.388689 -2.796344)'))) / (select extract(epoch from '2026-07-29 04:42:47'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47641, 'SRID=4674;POINT (-40.38868 -2.796333)', '2026-07-29 04:43:04', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388689 -2.796344)'), GeomFromEWKT('SRID=4674;POINT (-40.38868 -2.796333)'))) / (select extract(epoch from '2026-07-29 04:43:04'::timestamp) - extract(epoch from '2026-07-29 04:42:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388689 -2.796344)'), GeomFromEWKT('SRID=4674;POINT (-40.38868 -2.796333)'))) / (select extract(epoch from '2026-07-29 04:43:04'::timestamp) - extract(epoch from '2026-07-29 04:42: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'), 47641, 'SRID=4674;POINT (-40.388679 -2.796334)', '2026-07-29 04:43:21', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38868 -2.796333)'), GeomFromEWKT('SRID=4674;POINT (-40.388679 -2.796334)'))) / (select extract(epoch from '2026-07-29 04:43:21'::timestamp) - extract(epoch from '2026-07-29 04:43:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38868 -2.796333)'), GeomFromEWKT('SRID=4674;POINT (-40.388679 -2.796334)'))) / (select extract(epoch from '2026-07-29 04:43:21'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47641, 'SRID=4674;POINT (-40.388681 -2.796335)', '2026-07-29 04:43:43', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388679 -2.796334)'), GeomFromEWKT('SRID=4674;POINT (-40.388681 -2.796335)'))) / (select extract(epoch from '2026-07-29 04:43:43'::timestamp) - extract(epoch from '2026-07-29 04:43:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388679 -2.796334)'), GeomFromEWKT('SRID=4674;POINT (-40.388681 -2.796335)'))) / (select extract(epoch from '2026-07-29 04:43:43'::timestamp) - extract(epoch from '2026-07-29 04:43:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388665 -2.796317)', '2026-07-29 04:44:04', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388681 -2.796335)'), GeomFromEWKT('SRID=4674;POINT (-40.388665 -2.796317)'))) / (select extract(epoch from '2026-07-29 04:44:04'::timestamp) - extract(epoch from '2026-07-29 04:43:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388681 -2.796335)'), GeomFromEWKT('SRID=4674;POINT (-40.388665 -2.796317)'))) / (select extract(epoch from '2026-07-29 04:44:04'::timestamp) - extract(epoch from '2026-07-29 04:43: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'), 47641, 'SRID=4674;POINT (-40.388671 -2.796324)', '2026-07-29 04:44:17', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388665 -2.796317)'), GeomFromEWKT('SRID=4674;POINT (-40.388671 -2.796324)'))) / (select extract(epoch from '2026-07-29 04:44:17'::timestamp) - extract(epoch from '2026-07-29 04:44:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388665 -2.796317)'), GeomFromEWKT('SRID=4674;POINT (-40.388671 -2.796324)'))) / (select extract(epoch from '2026-07-29 04:44:17'::timestamp) - extract(epoch from '2026-07-29 04:44: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'), 47641, 'SRID=4674;POINT (-40.388682 -2.796323)', '2026-07-29 04:44:37', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388671 -2.796324)'), GeomFromEWKT('SRID=4674;POINT (-40.388682 -2.796323)'))) / (select extract(epoch from '2026-07-29 04:44:37'::timestamp) - extract(epoch from '2026-07-29 04:44:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388671 -2.796324)'), GeomFromEWKT('SRID=4674;POINT (-40.388682 -2.796323)'))) / (select extract(epoch from '2026-07-29 04:44:37'::timestamp) - extract(epoch from '2026-07-29 04:44: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'), 47641, 'SRID=4674;POINT (-40.388682 -2.796322)', '2026-07-29 04:44:48', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388682 -2.796323)'), GeomFromEWKT('SRID=4674;POINT (-40.388682 -2.796322)'))) / (select extract(epoch from '2026-07-29 04:44:48'::timestamp) - extract(epoch from '2026-07-29 04:44:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388682 -2.796323)'), GeomFromEWKT('SRID=4674;POINT (-40.388682 -2.796322)'))) / (select extract(epoch from '2026-07-29 04:44:48'::timestamp) - extract(epoch from '2026-07-29 04:44: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'), 47641, 'SRID=4674;POINT (-40.388688 -2.796317)', '2026-07-29 04:45:00', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388682 -2.796322)'), GeomFromEWKT('SRID=4674;POINT (-40.388688 -2.796317)'))) / (select extract(epoch from '2026-07-29 04:45:00'::timestamp) - extract(epoch from '2026-07-29 04:44:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388682 -2.796322)'), GeomFromEWKT('SRID=4674;POINT (-40.388688 -2.796317)'))) / (select extract(epoch from '2026-07-29 04:45:00'::timestamp) - extract(epoch from '2026-07-29 04:44:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388685 -2.796306)', '2026-07-29 04:45:18', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388688 -2.796317)'), GeomFromEWKT('SRID=4674;POINT (-40.388685 -2.796306)'))) / (select extract(epoch from '2026-07-29 04:45:18'::timestamp) - extract(epoch from '2026-07-29 04:45:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388688 -2.796317)'), GeomFromEWKT('SRID=4674;POINT (-40.388685 -2.796306)'))) / (select extract(epoch from '2026-07-29 04:45:18'::timestamp) - extract(epoch from '2026-07-29 04:45: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'), 47641, 'SRID=4674;POINT (-40.388694 -2.796316)', '2026-07-29 04:45:36', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388685 -2.796306)'), GeomFromEWKT('SRID=4674;POINT (-40.388694 -2.796316)'))) / (select extract(epoch from '2026-07-29 04:45:36'::timestamp) - extract(epoch from '2026-07-29 04:45:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388685 -2.796306)'), GeomFromEWKT('SRID=4674;POINT (-40.388694 -2.796316)'))) / (select extract(epoch from '2026-07-29 04:45:36'::timestamp) - extract(epoch from '2026-07-29 04:45: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'), 47641, 'SRID=4674;POINT (-40.388691 -2.796322)', '2026-07-29 04:45:55', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388694 -2.796316)'), GeomFromEWKT('SRID=4674;POINT (-40.388691 -2.796322)'))) / (select extract(epoch from '2026-07-29 04:45:55'::timestamp) - extract(epoch from '2026-07-29 04:45:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388694 -2.796316)'), GeomFromEWKT('SRID=4674;POINT (-40.388691 -2.796322)'))) / (select extract(epoch from '2026-07-29 04:45:55'::timestamp) - extract(epoch from '2026-07-29 04:45:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388696 -2.796321)', '2026-07-29 04:46:10', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388691 -2.796322)'), GeomFromEWKT('SRID=4674;POINT (-40.388696 -2.796321)'))) / (select extract(epoch from '2026-07-29 04:46:10'::timestamp) - extract(epoch from '2026-07-29 04:45:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388691 -2.796322)'), GeomFromEWKT('SRID=4674;POINT (-40.388696 -2.796321)'))) / (select extract(epoch from '2026-07-29 04:46:10'::timestamp) - extract(epoch from '2026-07-29 04:45:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388692 -2.79632)', '2026-07-29 04:46:25', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388696 -2.796321)'), GeomFromEWKT('SRID=4674;POINT (-40.388692 -2.79632)'))) / (select extract(epoch from '2026-07-29 04:46:25'::timestamp) - extract(epoch from '2026-07-29 04:46:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388696 -2.796321)'), GeomFromEWKT('SRID=4674;POINT (-40.388692 -2.79632)'))) / (select extract(epoch from '2026-07-29 04:46:25'::timestamp) - extract(epoch from '2026-07-29 04:46:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388692 -2.796321)', '2026-07-29 04:46:34', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388692 -2.79632)'), GeomFromEWKT('SRID=4674;POINT (-40.388692 -2.796321)'))) / (select extract(epoch from '2026-07-29 04:46:34'::timestamp) - extract(epoch from '2026-07-29 04:46:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388692 -2.79632)'), GeomFromEWKT('SRID=4674;POINT (-40.388692 -2.796321)'))) / (select extract(epoch from '2026-07-29 04:46:34'::timestamp) - extract(epoch from '2026-07-29 04:46: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'), 47641, 'SRID=4674;POINT (-40.388683 -2.796303)', '2026-07-29 04:46:50', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388692 -2.796321)'), GeomFromEWKT('SRID=4674;POINT (-40.388683 -2.796303)'))) / (select extract(epoch from '2026-07-29 04:46:50'::timestamp) - extract(epoch from '2026-07-29 04:46:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388692 -2.796321)'), GeomFromEWKT('SRID=4674;POINT (-40.388683 -2.796303)'))) / (select extract(epoch from '2026-07-29 04:46:50'::timestamp) - extract(epoch from '2026-07-29 04:46:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388671 -2.796281)', '2026-07-29 04:47:06', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388683 -2.796303)'), GeomFromEWKT('SRID=4674;POINT (-40.388671 -2.796281)'))) / (select extract(epoch from '2026-07-29 04:47:06'::timestamp) - extract(epoch from '2026-07-29 04:46:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388683 -2.796303)'), GeomFromEWKT('SRID=4674;POINT (-40.388671 -2.796281)'))) / (select extract(epoch from '2026-07-29 04:47:06'::timestamp) - extract(epoch from '2026-07-29 04:46: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'), 47641, 'SRID=4674;POINT (-40.38866 -2.796287)', '2026-07-29 04:47:22', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388671 -2.796281)'), GeomFromEWKT('SRID=4674;POINT (-40.38866 -2.796287)'))) / (select extract(epoch from '2026-07-29 04:47:22'::timestamp) - extract(epoch from '2026-07-29 04:47:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388671 -2.796281)'), GeomFromEWKT('SRID=4674;POINT (-40.38866 -2.796287)'))) / (select extract(epoch from '2026-07-29 04:47:22'::timestamp) - extract(epoch from '2026-07-29 04:47: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'), 47641, 'SRID=4674;POINT (-40.388658 -2.796295)', '2026-07-29 04:47:36', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38866 -2.796287)'), GeomFromEWKT('SRID=4674;POINT (-40.388658 -2.796295)'))) / (select extract(epoch from '2026-07-29 04:47:36'::timestamp) - extract(epoch from '2026-07-29 04:47:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38866 -2.796287)'), GeomFromEWKT('SRID=4674;POINT (-40.388658 -2.796295)'))) / (select extract(epoch from '2026-07-29 04:47:36'::timestamp) - extract(epoch from '2026-07-29 04:47:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388656 -2.796298)', '2026-07-29 04:47:45', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388658 -2.796295)'), GeomFromEWKT('SRID=4674;POINT (-40.388656 -2.796298)'))) / (select extract(epoch from '2026-07-29 04:47:45'::timestamp) - extract(epoch from '2026-07-29 04:47:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388658 -2.796295)'), GeomFromEWKT('SRID=4674;POINT (-40.388656 -2.796298)'))) / (select extract(epoch from '2026-07-29 04:47:45'::timestamp) - extract(epoch from '2026-07-29 04:47:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388654 -2.796305)', '2026-07-29 04:48:05', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388656 -2.796298)'), GeomFromEWKT('SRID=4674;POINT (-40.388654 -2.796305)'))) / (select extract(epoch from '2026-07-29 04:48:05'::timestamp) - extract(epoch from '2026-07-29 04:47:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388656 -2.796298)'), GeomFromEWKT('SRID=4674;POINT (-40.388654 -2.796305)'))) / (select extract(epoch from '2026-07-29 04:48:05'::timestamp) - extract(epoch from '2026-07-29 04:47:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388654 -2.796319)', '2026-07-29 04:48:28', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388654 -2.796305)'), GeomFromEWKT('SRID=4674;POINT (-40.388654 -2.796319)'))) / (select extract(epoch from '2026-07-29 04:48:28'::timestamp) - extract(epoch from '2026-07-29 04:48:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388654 -2.796305)'), GeomFromEWKT('SRID=4674;POINT (-40.388654 -2.796319)'))) / (select extract(epoch from '2026-07-29 04:48:28'::timestamp) - extract(epoch from '2026-07-29 04:48: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'), 47641, 'SRID=4674;POINT (-40.388648 -2.796336)', '2026-07-29 04:48:43', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388654 -2.796319)'), GeomFromEWKT('SRID=4674;POINT (-40.388648 -2.796336)'))) / (select extract(epoch from '2026-07-29 04:48:43'::timestamp) - extract(epoch from '2026-07-29 04:48:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388654 -2.796319)'), GeomFromEWKT('SRID=4674;POINT (-40.388648 -2.796336)'))) / (select extract(epoch from '2026-07-29 04:48:43'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47641, 'SRID=4674;POINT (-40.388646 -2.796338)', '2026-07-29 04:48:55', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388648 -2.796336)'), GeomFromEWKT('SRID=4674;POINT (-40.388646 -2.796338)'))) / (select extract(epoch from '2026-07-29 04:48:55'::timestamp) - extract(epoch from '2026-07-29 04:48:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388648 -2.796336)'), GeomFromEWKT('SRID=4674;POINT (-40.388646 -2.796338)'))) / (select extract(epoch from '2026-07-29 04:48:55'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47641, 'SRID=4674;POINT (-40.388639 -2.796326)', '2026-07-29 04:49:08', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388646 -2.796338)'), GeomFromEWKT('SRID=4674;POINT (-40.388639 -2.796326)'))) / (select extract(epoch from '2026-07-29 04:49:08'::timestamp) - extract(epoch from '2026-07-29 04:48:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388646 -2.796338)'), GeomFromEWKT('SRID=4674;POINT (-40.388639 -2.796326)'))) / (select extract(epoch from '2026-07-29 04:49:08'::timestamp) - extract(epoch from '2026-07-29 04:48: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'), 47641, 'SRID=4674;POINT (-40.388642 -2.796318)', '2026-07-29 04:49:21', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388639 -2.796326)'), GeomFromEWKT('SRID=4674;POINT (-40.388642 -2.796318)'))) / (select extract(epoch from '2026-07-29 04:49:21'::timestamp) - extract(epoch from '2026-07-29 04:49:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388639 -2.796326)'), GeomFromEWKT('SRID=4674;POINT (-40.388642 -2.796318)'))) / (select extract(epoch from '2026-07-29 04:49:21'::timestamp) - extract(epoch from '2026-07-29 04:49: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'), 47641, 'SRID=4674;POINT (-40.388651 -2.796309)', '2026-07-29 04:49:35', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388642 -2.796318)'), GeomFromEWKT('SRID=4674;POINT (-40.388651 -2.796309)'))) / (select extract(epoch from '2026-07-29 04:49:35'::timestamp) - extract(epoch from '2026-07-29 04:49:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388642 -2.796318)'), GeomFromEWKT('SRID=4674;POINT (-40.388651 -2.796309)'))) / (select extract(epoch from '2026-07-29 04:49:35'::timestamp) - extract(epoch from '2026-07-29 04:49: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'), 47641, 'SRID=4674;POINT (-40.38865 -2.796303)', '2026-07-29 04:49:50', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388651 -2.796309)'), GeomFromEWKT('SRID=4674;POINT (-40.38865 -2.796303)'))) / (select extract(epoch from '2026-07-29 04:49:50'::timestamp) - extract(epoch from '2026-07-29 04:49:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388651 -2.796309)'), GeomFromEWKT('SRID=4674;POINT (-40.38865 -2.796303)'))) / (select extract(epoch from '2026-07-29 04:49:50'::timestamp) - extract(epoch from '2026-07-29 04:49: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'), 47641, 'SRID=4674;POINT (-40.388636 -2.7963)', '2026-07-29 04:50:12', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38865 -2.796303)'), GeomFromEWKT('SRID=4674;POINT (-40.388636 -2.7963)'))) / (select extract(epoch from '2026-07-29 04:50:12'::timestamp) - extract(epoch from '2026-07-29 04:49:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38865 -2.796303)'), GeomFromEWKT('SRID=4674;POINT (-40.388636 -2.7963)'))) / (select extract(epoch from '2026-07-29 04:50:12'::timestamp) - extract(epoch from '2026-07-29 04:49: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'), 47641, 'SRID=4674;POINT (-40.388631 -2.79629)', '2026-07-29 04:50:30', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388636 -2.7963)'), GeomFromEWKT('SRID=4674;POINT (-40.388631 -2.79629)'))) / (select extract(epoch from '2026-07-29 04:50:30'::timestamp) - extract(epoch from '2026-07-29 04:50:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388636 -2.7963)'), GeomFromEWKT('SRID=4674;POINT (-40.388631 -2.79629)'))) / (select extract(epoch from '2026-07-29 04:50:30'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47641, 'SRID=4674;POINT (-40.388631 -2.796286)', '2026-07-29 04:50:41', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388631 -2.79629)'), GeomFromEWKT('SRID=4674;POINT (-40.388631 -2.796286)'))) / (select extract(epoch from '2026-07-29 04:50:41'::timestamp) - extract(epoch from '2026-07-29 04:50:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388631 -2.79629)'), GeomFromEWKT('SRID=4674;POINT (-40.388631 -2.796286)'))) / (select extract(epoch from '2026-07-29 04:50:41'::timestamp) - extract(epoch from '2026-07-29 04:50: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'), 47641, 'SRID=4674;POINT (-40.388639 -2.796295)', '2026-07-29 04:50:58', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388631 -2.796286)'), GeomFromEWKT('SRID=4674;POINT (-40.388639 -2.796295)'))) / (select extract(epoch from '2026-07-29 04:50:58'::timestamp) - extract(epoch from '2026-07-29 04:50:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388631 -2.796286)'), GeomFromEWKT('SRID=4674;POINT (-40.388639 -2.796295)'))) / (select extract(epoch from '2026-07-29 04:50:58'::timestamp) - extract(epoch from '2026-07-29 04:50: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'), 47641, 'SRID=4674;POINT (-40.388633 -2.796293)', '2026-07-29 04:51:16', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388639 -2.796295)'), GeomFromEWKT('SRID=4674;POINT (-40.388633 -2.796293)'))) / (select extract(epoch from '2026-07-29 04:51:16'::timestamp) - extract(epoch from '2026-07-29 04:50:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388639 -2.796295)'), GeomFromEWKT('SRID=4674;POINT (-40.388633 -2.796293)'))) / (select extract(epoch from '2026-07-29 04:51:16'::timestamp) - extract(epoch from '2026-07-29 04:50:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388632 -2.796295)', '2026-07-29 04:51:37', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388633 -2.796293)'), GeomFromEWKT('SRID=4674;POINT (-40.388632 -2.796295)'))) / (select extract(epoch from '2026-07-29 04:51:37'::timestamp) - extract(epoch from '2026-07-29 04:51:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388633 -2.796293)'), GeomFromEWKT('SRID=4674;POINT (-40.388632 -2.796295)'))) / (select extract(epoch from '2026-07-29 04:51:37'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47641, 'SRID=4674;POINT (-40.388637 -2.796296)', '2026-07-29 04:52:02', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388632 -2.796295)'), GeomFromEWKT('SRID=4674;POINT (-40.388637 -2.796296)'))) / (select extract(epoch from '2026-07-29 04:52:02'::timestamp) - extract(epoch from '2026-07-29 04:51:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388632 -2.796295)'), GeomFromEWKT('SRID=4674;POINT (-40.388637 -2.796296)'))) / (select extract(epoch from '2026-07-29 04:52:02'::timestamp) - extract(epoch from '2026-07-29 04:51: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'), 47641, 'SRID=4674;POINT (-40.388643 -2.796289)', '2026-07-29 04:52:16', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388637 -2.796296)'), GeomFromEWKT('SRID=4674;POINT (-40.388643 -2.796289)'))) / (select extract(epoch from '2026-07-29 04:52:16'::timestamp) - extract(epoch from '2026-07-29 04:52:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388637 -2.796296)'), GeomFromEWKT('SRID=4674;POINT (-40.388643 -2.796289)'))) / (select extract(epoch from '2026-07-29 04:52:16'::timestamp) - extract(epoch from '2026-07-29 04:52:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.38864 -2.796288)', '2026-07-29 04:52:35', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388643 -2.796289)'), GeomFromEWKT('SRID=4674;POINT (-40.38864 -2.796288)'))) / (select extract(epoch from '2026-07-29 04:52:35'::timestamp) - extract(epoch from '2026-07-29 04:52:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388643 -2.796289)'), GeomFromEWKT('SRID=4674;POINT (-40.38864 -2.796288)'))) / (select extract(epoch from '2026-07-29 04:52:35'::timestamp) - extract(epoch from '2026-07-29 04:52: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'), 47641, 'SRID=4674;POINT (-40.388626 -2.796293)', '2026-07-29 04:52:49', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38864 -2.796288)'), GeomFromEWKT('SRID=4674;POINT (-40.388626 -2.796293)'))) / (select extract(epoch from '2026-07-29 04:52:49'::timestamp) - extract(epoch from '2026-07-29 04:52:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38864 -2.796288)'), GeomFromEWKT('SRID=4674;POINT (-40.388626 -2.796293)'))) / (select extract(epoch from '2026-07-29 04:52:49'::timestamp) - extract(epoch from '2026-07-29 04:52:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388634 -2.796301)', '2026-07-29 04:53:08', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388626 -2.796293)'), GeomFromEWKT('SRID=4674;POINT (-40.388634 -2.796301)'))) / (select extract(epoch from '2026-07-29 04:53:08'::timestamp) - extract(epoch from '2026-07-29 04:52:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388626 -2.796293)'), GeomFromEWKT('SRID=4674;POINT (-40.388634 -2.796301)'))) / (select extract(epoch from '2026-07-29 04:53:08'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47641, 'SRID=4674;POINT (-40.38864 -2.796317)', '2026-07-29 04:53:26', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388634 -2.796301)'), GeomFromEWKT('SRID=4674;POINT (-40.38864 -2.796317)'))) / (select extract(epoch from '2026-07-29 04:53:26'::timestamp) - extract(epoch from '2026-07-29 04:53:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388634 -2.796301)'), GeomFromEWKT('SRID=4674;POINT (-40.38864 -2.796317)'))) / (select extract(epoch from '2026-07-29 04:53:26'::timestamp) - extract(epoch from '2026-07-29 04:53: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'), 47641, 'SRID=4674;POINT (-40.388646 -2.796322)', '2026-07-29 04:53:39', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38864 -2.796317)'), GeomFromEWKT('SRID=4674;POINT (-40.388646 -2.796322)'))) / (select extract(epoch from '2026-07-29 04:53:39'::timestamp) - extract(epoch from '2026-07-29 04:53:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38864 -2.796317)'), GeomFromEWKT('SRID=4674;POINT (-40.388646 -2.796322)'))) / (select extract(epoch from '2026-07-29 04:53:39'::timestamp) - extract(epoch from '2026-07-29 04:53: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'), 47641, 'SRID=4674;POINT (-40.38864 -2.79632)', '2026-07-29 04:53:58', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388646 -2.796322)'), GeomFromEWKT('SRID=4674;POINT (-40.38864 -2.79632)'))) / (select extract(epoch from '2026-07-29 04:53:58'::timestamp) - extract(epoch from '2026-07-29 04:53:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388646 -2.796322)'), GeomFromEWKT('SRID=4674;POINT (-40.38864 -2.79632)'))) / (select extract(epoch from '2026-07-29 04:53:58'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47641, 'SRID=4674;POINT (-40.388641 -2.796321)', '2026-07-29 04:54:11', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38864 -2.79632)'), GeomFromEWKT('SRID=4674;POINT (-40.388641 -2.796321)'))) / (select extract(epoch from '2026-07-29 04:54:11'::timestamp) - extract(epoch from '2026-07-29 04:53:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38864 -2.79632)'), GeomFromEWKT('SRID=4674;POINT (-40.388641 -2.796321)'))) / (select extract(epoch from '2026-07-29 04:54:11'::timestamp) - extract(epoch from '2026-07-29 04:53:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388644 -2.796326)', '2026-07-29 04:54:27', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388641 -2.796321)'), GeomFromEWKT('SRID=4674;POINT (-40.388644 -2.796326)'))) / (select extract(epoch from '2026-07-29 04:54:27'::timestamp) - extract(epoch from '2026-07-29 04:54:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388641 -2.796321)'), GeomFromEWKT('SRID=4674;POINT (-40.388644 -2.796326)'))) / (select extract(epoch from '2026-07-29 04:54:27'::timestamp) - extract(epoch from '2026-07-29 04:54: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'), 47641, 'SRID=4674;POINT (-40.38864 -2.796333)', '2026-07-29 04:54:46', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388644 -2.796326)'), GeomFromEWKT('SRID=4674;POINT (-40.38864 -2.796333)'))) / (select extract(epoch from '2026-07-29 04:54:46'::timestamp) - extract(epoch from '2026-07-29 04:54:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388644 -2.796326)'), GeomFromEWKT('SRID=4674;POINT (-40.38864 -2.796333)'))) / (select extract(epoch from '2026-07-29 04:54:46'::timestamp) - extract(epoch from '2026-07-29 04:54: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'), 47641, 'SRID=4674;POINT (-40.388633 -2.796341)', '2026-07-29 04:55:02', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38864 -2.796333)'), GeomFromEWKT('SRID=4674;POINT (-40.388633 -2.796341)'))) / (select extract(epoch from '2026-07-29 04:55:02'::timestamp) - extract(epoch from '2026-07-29 04:54:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38864 -2.796333)'), GeomFromEWKT('SRID=4674;POINT (-40.388633 -2.796341)'))) / (select extract(epoch from '2026-07-29 04:55:02'::timestamp) - extract(epoch from '2026-07-29 04:54:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388642 -2.796347)', '2026-07-29 04:55:14', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388633 -2.796341)'), GeomFromEWKT('SRID=4674;POINT (-40.388642 -2.796347)'))) / (select extract(epoch from '2026-07-29 04:55:14'::timestamp) - extract(epoch from '2026-07-29 04:55:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388633 -2.796341)'), GeomFromEWKT('SRID=4674;POINT (-40.388642 -2.796347)'))) / (select extract(epoch from '2026-07-29 04:55:14'::timestamp) - extract(epoch from '2026-07-29 04:55: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'), 47641, 'SRID=4674;POINT (-40.388643 -2.796342)', '2026-07-29 04:55:28', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388642 -2.796347)'), GeomFromEWKT('SRID=4674;POINT (-40.388643 -2.796342)'))) / (select extract(epoch from '2026-07-29 04:55:28'::timestamp) - extract(epoch from '2026-07-29 04:55:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388642 -2.796347)'), GeomFromEWKT('SRID=4674;POINT (-40.388643 -2.796342)'))) / (select extract(epoch from '2026-07-29 04:55:28'::timestamp) - extract(epoch from '2026-07-29 04:55: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'), 47641, 'SRID=4674;POINT (-40.388661 -2.796354)', '2026-07-29 04:55:46', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388643 -2.796342)'), GeomFromEWKT('SRID=4674;POINT (-40.388661 -2.796354)'))) / (select extract(epoch from '2026-07-29 04:55:46'::timestamp) - extract(epoch from '2026-07-29 04:55:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388643 -2.796342)'), GeomFromEWKT('SRID=4674;POINT (-40.388661 -2.796354)'))) / (select extract(epoch from '2026-07-29 04:55:46'::timestamp) - extract(epoch from '2026-07-29 04:55: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'), 47641, 'SRID=4674;POINT (-40.388651 -2.79635)', '2026-07-29 04:56:04', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388661 -2.796354)'), GeomFromEWKT('SRID=4674;POINT (-40.388651 -2.79635)'))) / (select extract(epoch from '2026-07-29 04:56:04'::timestamp) - extract(epoch from '2026-07-29 04:55:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388661 -2.796354)'), GeomFromEWKT('SRID=4674;POINT (-40.388651 -2.79635)'))) / (select extract(epoch from '2026-07-29 04:56:04'::timestamp) - extract(epoch from '2026-07-29 04:55:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388646 -2.796339)', '2026-07-29 04:56:21', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388651 -2.79635)'), GeomFromEWKT('SRID=4674;POINT (-40.388646 -2.796339)'))) / (select extract(epoch from '2026-07-29 04:56:21'::timestamp) - extract(epoch from '2026-07-29 04:56:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388651 -2.79635)'), GeomFromEWKT('SRID=4674;POINT (-40.388646 -2.796339)'))) / (select extract(epoch from '2026-07-29 04:56:21'::timestamp) - extract(epoch from '2026-07-29 04:56: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'), 47641, 'SRID=4674;POINT (-40.388651 -2.79635)', '2026-07-29 04:56:37', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388646 -2.796339)'), GeomFromEWKT('SRID=4674;POINT (-40.388651 -2.79635)'))) / (select extract(epoch from '2026-07-29 04:56:37'::timestamp) - extract(epoch from '2026-07-29 04:56:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388646 -2.796339)'), GeomFromEWKT('SRID=4674;POINT (-40.388651 -2.79635)'))) / (select extract(epoch from '2026-07-29 04:56:37'::timestamp) - extract(epoch from '2026-07-29 04:56:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388651 -2.796343)', '2026-07-29 04:57:02', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388651 -2.79635)'), GeomFromEWKT('SRID=4674;POINT (-40.388651 -2.796343)'))) / (select extract(epoch from '2026-07-29 04:57:02'::timestamp) - extract(epoch from '2026-07-29 04:56:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388651 -2.79635)'), GeomFromEWKT('SRID=4674;POINT (-40.388651 -2.796343)'))) / (select extract(epoch from '2026-07-29 04:57:02'::timestamp) - extract(epoch from '2026-07-29 04:56: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'), 47641, 'SRID=4674;POINT (-40.388636 -2.796329)', '2026-07-29 04:57:23', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388651 -2.796343)'), GeomFromEWKT('SRID=4674;POINT (-40.388636 -2.796329)'))) / (select extract(epoch from '2026-07-29 04:57:23'::timestamp) - extract(epoch from '2026-07-29 04:57:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388651 -2.796343)'), GeomFromEWKT('SRID=4674;POINT (-40.388636 -2.796329)'))) / (select extract(epoch from '2026-07-29 04:57:23'::timestamp) - extract(epoch from '2026-07-29 04:57:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388638 -2.79632)', '2026-07-29 04:57:41', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388636 -2.796329)'), GeomFromEWKT('SRID=4674;POINT (-40.388638 -2.79632)'))) / (select extract(epoch from '2026-07-29 04:57:41'::timestamp) - extract(epoch from '2026-07-29 04:57:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388636 -2.796329)'), GeomFromEWKT('SRID=4674;POINT (-40.388638 -2.79632)'))) / (select extract(epoch from '2026-07-29 04:57:41'::timestamp) - extract(epoch from '2026-07-29 04:57: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'), 47641, 'SRID=4674;POINT (-40.388638 -2.796328)', '2026-07-29 04:57:55', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388638 -2.79632)'), GeomFromEWKT('SRID=4674;POINT (-40.388638 -2.796328)'))) / (select extract(epoch from '2026-07-29 04:57:55'::timestamp) - extract(epoch from '2026-07-29 04:57:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388638 -2.79632)'), GeomFromEWKT('SRID=4674;POINT (-40.388638 -2.796328)'))) / (select extract(epoch from '2026-07-29 04:57:55'::timestamp) - extract(epoch from '2026-07-29 04:57: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'), 47641, 'SRID=4674;POINT (-40.388637 -2.796325)', '2026-07-29 04:58:07', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388638 -2.796328)'), GeomFromEWKT('SRID=4674;POINT (-40.388637 -2.796325)'))) / (select extract(epoch from '2026-07-29 04:58:07'::timestamp) - extract(epoch from '2026-07-29 04:57:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388638 -2.796328)'), GeomFromEWKT('SRID=4674;POINT (-40.388637 -2.796325)'))) / (select extract(epoch from '2026-07-29 04:58:07'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47641, 'SRID=4674;POINT (-40.388642 -2.796328)', '2026-07-29 04:58:26', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388637 -2.796325)'), GeomFromEWKT('SRID=4674;POINT (-40.388642 -2.796328)'))) / (select extract(epoch from '2026-07-29 04:58:26'::timestamp) - extract(epoch from '2026-07-29 04:58:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388637 -2.796325)'), GeomFromEWKT('SRID=4674;POINT (-40.388642 -2.796328)'))) / (select extract(epoch from '2026-07-29 04:58:26'::timestamp) - extract(epoch from '2026-07-29 04:58:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388648 -2.79633)', '2026-07-29 04:58:41', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388642 -2.796328)'), GeomFromEWKT('SRID=4674;POINT (-40.388648 -2.79633)'))) / (select extract(epoch from '2026-07-29 04:58:41'::timestamp) - extract(epoch from '2026-07-29 04:58:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388642 -2.796328)'), GeomFromEWKT('SRID=4674;POINT (-40.388648 -2.79633)'))) / (select extract(epoch from '2026-07-29 04:58:41'::timestamp) - extract(epoch from '2026-07-29 04:58: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'), 47641, 'SRID=4674;POINT (-40.388647 -2.796323)', '2026-07-29 04:58:53', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388648 -2.79633)'), GeomFromEWKT('SRID=4674;POINT (-40.388647 -2.796323)'))) / (select extract(epoch from '2026-07-29 04:58:53'::timestamp) - extract(epoch from '2026-07-29 04:58:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388648 -2.79633)'), GeomFromEWKT('SRID=4674;POINT (-40.388647 -2.796323)'))) / (select extract(epoch from '2026-07-29 04:58:53'::timestamp) - extract(epoch from '2026-07-29 04:58: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'), 47641, 'SRID=4674;POINT (-40.388645 -2.796303)', '2026-07-29 04:59:06', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388647 -2.796323)'), GeomFromEWKT('SRID=4674;POINT (-40.388645 -2.796303)'))) / (select extract(epoch from '2026-07-29 04:59:06'::timestamp) - extract(epoch from '2026-07-29 04:58:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388647 -2.796323)'), GeomFromEWKT('SRID=4674;POINT (-40.388645 -2.796303)'))) / (select extract(epoch from '2026-07-29 04:59:06'::timestamp) - extract(epoch from '2026-07-29 04:58: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'), 47641, 'SRID=4674;POINT (-40.388634 -2.796302)', '2026-07-29 04:59:24', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388645 -2.796303)'), GeomFromEWKT('SRID=4674;POINT (-40.388634 -2.796302)'))) / (select extract(epoch from '2026-07-29 04:59:24'::timestamp) - extract(epoch from '2026-07-29 04:59:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388645 -2.796303)'), GeomFromEWKT('SRID=4674;POINT (-40.388634 -2.796302)'))) / (select extract(epoch from '2026-07-29 04:59:24'::timestamp) - extract(epoch from '2026-07-29 04:59: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'), 47641, 'SRID=4674;POINT (-40.388639 -2.796293)', '2026-07-29 04:59:38', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388634 -2.796302)'), GeomFromEWKT('SRID=4674;POINT (-40.388639 -2.796293)'))) / (select extract(epoch from '2026-07-29 04:59:38'::timestamp) - extract(epoch from '2026-07-29 04:59:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388634 -2.796302)'), GeomFromEWKT('SRID=4674;POINT (-40.388639 -2.796293)'))) / (select extract(epoch from '2026-07-29 04:59:38'::timestamp) - extract(epoch from '2026-07-29 04:59:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388633 -2.796274)', '2026-07-29 05:00:00', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388639 -2.796293)'), GeomFromEWKT('SRID=4674;POINT (-40.388633 -2.796274)'))) / (select extract(epoch from '2026-07-29 05:00:00'::timestamp) - extract(epoch from '2026-07-29 04:59:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388639 -2.796293)'), GeomFromEWKT('SRID=4674;POINT (-40.388633 -2.796274)'))) / (select extract(epoch from '2026-07-29 05:00:00'::timestamp) - extract(epoch from '2026-07-29 04:59: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'), 47641, 'SRID=4674;POINT (-40.38864 -2.79627)', '2026-07-29 05:00:16', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388633 -2.796274)'), GeomFromEWKT('SRID=4674;POINT (-40.38864 -2.79627)'))) / (select extract(epoch from '2026-07-29 05:00:16'::timestamp) - extract(epoch from '2026-07-29 05:00:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388633 -2.796274)'), GeomFromEWKT('SRID=4674;POINT (-40.38864 -2.79627)'))) / (select extract(epoch from '2026-07-29 05:00:16'::timestamp) - extract(epoch from '2026-07-29 05:00: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'), 47641, 'SRID=4674;POINT (-40.38864 -2.796277)', '2026-07-29 05:00:34', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38864 -2.79627)'), GeomFromEWKT('SRID=4674;POINT (-40.38864 -2.796277)'))) / (select extract(epoch from '2026-07-29 05:00:34'::timestamp) - extract(epoch from '2026-07-29 05:00:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38864 -2.79627)'), GeomFromEWKT('SRID=4674;POINT (-40.38864 -2.796277)'))) / (select extract(epoch from '2026-07-29 05:00:34'::timestamp) - extract(epoch from '2026-07-29 05:00: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'), 47641, 'SRID=4674;POINT (-40.388634 -2.796273)', '2026-07-29 05:00:47', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38864 -2.796277)'), GeomFromEWKT('SRID=4674;POINT (-40.388634 -2.796273)'))) / (select extract(epoch from '2026-07-29 05:00:47'::timestamp) - extract(epoch from '2026-07-29 05:00:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38864 -2.796277)'), GeomFromEWKT('SRID=4674;POINT (-40.388634 -2.796273)'))) / (select extract(epoch from '2026-07-29 05:00:47'::timestamp) - extract(epoch from '2026-07-29 05:00: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'), 47641, 'SRID=4674;POINT (-40.388626 -2.796263)', '2026-07-29 05:01:01', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388634 -2.796273)'), GeomFromEWKT('SRID=4674;POINT (-40.388626 -2.796263)'))) / (select extract(epoch from '2026-07-29 05:01:01'::timestamp) - extract(epoch from '2026-07-29 05:00:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388634 -2.796273)'), GeomFromEWKT('SRID=4674;POINT (-40.388626 -2.796263)'))) / (select extract(epoch from '2026-07-29 05:01:01'::timestamp) - extract(epoch from '2026-07-29 05:00: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'), 47641, 'SRID=4674;POINT (-40.388631 -2.796269)', '2026-07-29 05:01:15', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388626 -2.796263)'), GeomFromEWKT('SRID=4674;POINT (-40.388631 -2.796269)'))) / (select extract(epoch from '2026-07-29 05:01:15'::timestamp) - extract(epoch from '2026-07-29 05:01:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388626 -2.796263)'), GeomFromEWKT('SRID=4674;POINT (-40.388631 -2.796269)'))) / (select extract(epoch from '2026-07-29 05:01:15'::timestamp) - extract(epoch from '2026-07-29 05:01:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.38864 -2.796277)', '2026-07-29 05:01:31', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388631 -2.796269)'), GeomFromEWKT('SRID=4674;POINT (-40.38864 -2.796277)'))) / (select extract(epoch from '2026-07-29 05:01:31'::timestamp) - extract(epoch from '2026-07-29 05:01:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388631 -2.796269)'), GeomFromEWKT('SRID=4674;POINT (-40.38864 -2.796277)'))) / (select extract(epoch from '2026-07-29 05:01:31'::timestamp) - extract(epoch from '2026-07-29 05:01:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388636 -2.796282)', '2026-07-29 05:01:50', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38864 -2.796277)'), GeomFromEWKT('SRID=4674;POINT (-40.388636 -2.796282)'))) / (select extract(epoch from '2026-07-29 05:01:50'::timestamp) - extract(epoch from '2026-07-29 05:01:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38864 -2.796277)'), GeomFromEWKT('SRID=4674;POINT (-40.388636 -2.796282)'))) / (select extract(epoch from '2026-07-29 05:01:50'::timestamp) - extract(epoch from '2026-07-29 05:01:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388628 -2.796279)', '2026-07-29 05:02:08', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388636 -2.796282)'), GeomFromEWKT('SRID=4674;POINT (-40.388628 -2.796279)'))) / (select extract(epoch from '2026-07-29 05:02:08'::timestamp) - extract(epoch from '2026-07-29 05:01:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388636 -2.796282)'), GeomFromEWKT('SRID=4674;POINT (-40.388628 -2.796279)'))) / (select extract(epoch from '2026-07-29 05:02:08'::timestamp) - extract(epoch from '2026-07-29 05:01: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'), 47641, 'SRID=4674;POINT (-40.388633 -2.796292)', '2026-07-29 05:02:21', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388628 -2.796279)'), GeomFromEWKT('SRID=4674;POINT (-40.388633 -2.796292)'))) / (select extract(epoch from '2026-07-29 05:02:21'::timestamp) - extract(epoch from '2026-07-29 05:02:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388628 -2.796279)'), GeomFromEWKT('SRID=4674;POINT (-40.388633 -2.796292)'))) / (select extract(epoch from '2026-07-29 05:02:21'::timestamp) - extract(epoch from '2026-07-29 05:02: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'), 47641, 'SRID=4674;POINT (-40.388628 -2.796301)', '2026-07-29 05:02:37', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388633 -2.796292)'), GeomFromEWKT('SRID=4674;POINT (-40.388628 -2.796301)'))) / (select extract(epoch from '2026-07-29 05:02:37'::timestamp) - extract(epoch from '2026-07-29 05:02:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388633 -2.796292)'), GeomFromEWKT('SRID=4674;POINT (-40.388628 -2.796301)'))) / (select extract(epoch from '2026-07-29 05:02:37'::timestamp) - extract(epoch from '2026-07-29 05:02:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388625 -2.796292)', '2026-07-29 05:02:46', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388628 -2.796301)'), GeomFromEWKT('SRID=4674;POINT (-40.388625 -2.796292)'))) / (select extract(epoch from '2026-07-29 05:02:46'::timestamp) - extract(epoch from '2026-07-29 05:02:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388628 -2.796301)'), GeomFromEWKT('SRID=4674;POINT (-40.388625 -2.796292)'))) / (select extract(epoch from '2026-07-29 05:02:46'::timestamp) - extract(epoch from '2026-07-29 05:02: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'), 47641, 'SRID=4674;POINT (-40.388627 -2.796284)', '2026-07-29 05:03:00', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388625 -2.796292)'), GeomFromEWKT('SRID=4674;POINT (-40.388627 -2.796284)'))) / (select extract(epoch from '2026-07-29 05:03:00'::timestamp) - extract(epoch from '2026-07-29 05:02:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388625 -2.796292)'), GeomFromEWKT('SRID=4674;POINT (-40.388627 -2.796284)'))) / (select extract(epoch from '2026-07-29 05:03:00'::timestamp) - extract(epoch from '2026-07-29 05:02: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'), 47641, 'SRID=4674;POINT (-40.38862 -2.796279)', '2026-07-29 05:03:13', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388627 -2.796284)'), GeomFromEWKT('SRID=4674;POINT (-40.38862 -2.796279)'))) / (select extract(epoch from '2026-07-29 05:03:13'::timestamp) - extract(epoch from '2026-07-29 05:03:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388627 -2.796284)'), GeomFromEWKT('SRID=4674;POINT (-40.38862 -2.796279)'))) / (select extract(epoch from '2026-07-29 05:03:13'::timestamp) - extract(epoch from '2026-07-29 05:03:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388618 -2.796276)', '2026-07-29 05:03:30', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38862 -2.796279)'), GeomFromEWKT('SRID=4674;POINT (-40.388618 -2.796276)'))) / (select extract(epoch from '2026-07-29 05:03:30'::timestamp) - extract(epoch from '2026-07-29 05:03:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38862 -2.796279)'), GeomFromEWKT('SRID=4674;POINT (-40.388618 -2.796276)'))) / (select extract(epoch from '2026-07-29 05:03:30'::timestamp) - extract(epoch from '2026-07-29 05:03: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'), 47641, 'SRID=4674;POINT (-40.388619 -2.79628)', '2026-07-29 05:03:41', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388618 -2.796276)'), GeomFromEWKT('SRID=4674;POINT (-40.388619 -2.79628)'))) / (select extract(epoch from '2026-07-29 05:03:41'::timestamp) - extract(epoch from '2026-07-29 05:03:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388618 -2.796276)'), GeomFromEWKT('SRID=4674;POINT (-40.388619 -2.79628)'))) / (select extract(epoch from '2026-07-29 05:03:41'::timestamp) - extract(epoch from '2026-07-29 05:03: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'), 47641, 'SRID=4674;POINT (-40.388625 -2.796277)', '2026-07-29 05:03:55', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388619 -2.79628)'), GeomFromEWKT('SRID=4674;POINT (-40.388625 -2.796277)'))) / (select extract(epoch from '2026-07-29 05:03:55'::timestamp) - extract(epoch from '2026-07-29 05:03:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388619 -2.79628)'), GeomFromEWKT('SRID=4674;POINT (-40.388625 -2.796277)'))) / (select extract(epoch from '2026-07-29 05:03:55'::timestamp) - extract(epoch from '2026-07-29 05: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'), 47641, 'SRID=4674;POINT (-40.388627 -2.796285)', '2026-07-29 05:04:06', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388625 -2.796277)'), GeomFromEWKT('SRID=4674;POINT (-40.388627 -2.796285)'))) / (select extract(epoch from '2026-07-29 05:04:06'::timestamp) - extract(epoch from '2026-07-29 05:03:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388625 -2.796277)'), GeomFromEWKT('SRID=4674;POINT (-40.388627 -2.796285)'))) / (select extract(epoch from '2026-07-29 05:04:06'::timestamp) - extract(epoch from '2026-07-29 05:03: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'), 47641, 'SRID=4674;POINT (-40.388629 -2.796289)', '2026-07-29 05:04:24', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388627 -2.796285)'), GeomFromEWKT('SRID=4674;POINT (-40.388629 -2.796289)'))) / (select extract(epoch from '2026-07-29 05:04:24'::timestamp) - extract(epoch from '2026-07-29 05:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388627 -2.796285)'), GeomFromEWKT('SRID=4674;POINT (-40.388629 -2.796289)'))) / (select extract(epoch from '2026-07-29 05:04:24'::timestamp) - extract(epoch from '2026-07-29 05: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'), 47641, 'SRID=4674;POINT (-40.388642 -2.796299)', '2026-07-29 05:04:41', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388629 -2.796289)'), GeomFromEWKT('SRID=4674;POINT (-40.388642 -2.796299)'))) / (select extract(epoch from '2026-07-29 05:04:41'::timestamp) - extract(epoch from '2026-07-29 05:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388629 -2.796289)'), GeomFromEWKT('SRID=4674;POINT (-40.388642 -2.796299)'))) / (select extract(epoch from '2026-07-29 05:04:41'::timestamp) - extract(epoch from '2026-07-29 05:04: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'), 47641, 'SRID=4674;POINT (-40.388645 -2.796292)', '2026-07-29 05:04:57', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388642 -2.796299)'), GeomFromEWKT('SRID=4674;POINT (-40.388645 -2.796292)'))) / (select extract(epoch from '2026-07-29 05:04:57'::timestamp) - extract(epoch from '2026-07-29 05:04:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388642 -2.796299)'), GeomFromEWKT('SRID=4674;POINT (-40.388645 -2.796292)'))) / (select extract(epoch from '2026-07-29 05:04:57'::timestamp) - extract(epoch from '2026-07-29 05:04:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388649 -2.796281)', '2026-07-29 05:05:06', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388645 -2.796292)'), GeomFromEWKT('SRID=4674;POINT (-40.388649 -2.796281)'))) / (select extract(epoch from '2026-07-29 05:05:06'::timestamp) - extract(epoch from '2026-07-29 05:04:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388645 -2.796292)'), GeomFromEWKT('SRID=4674;POINT (-40.388649 -2.796281)'))) / (select extract(epoch from '2026-07-29 05:05:06'::timestamp) - extract(epoch from '2026-07-29 05: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'), 47641, 'SRID=4674;POINT (-40.388647 -2.796268)', '2026-07-29 05:05:29', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388649 -2.796281)'), GeomFromEWKT('SRID=4674;POINT (-40.388647 -2.796268)'))) / (select extract(epoch from '2026-07-29 05:05:29'::timestamp) - extract(epoch from '2026-07-29 05:05:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388649 -2.796281)'), GeomFromEWKT('SRID=4674;POINT (-40.388647 -2.796268)'))) / (select extract(epoch from '2026-07-29 05:05:29'::timestamp) - extract(epoch from '2026-07-29 05:05: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'), 47641, 'SRID=4674;POINT (-40.388641 -2.796273)', '2026-07-29 05:05:46', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388647 -2.796268)'), GeomFromEWKT('SRID=4674;POINT (-40.388641 -2.796273)'))) / (select extract(epoch from '2026-07-29 05:05:46'::timestamp) - extract(epoch from '2026-07-29 05:05:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388647 -2.796268)'), GeomFromEWKT('SRID=4674;POINT (-40.388641 -2.796273)'))) / (select extract(epoch from '2026-07-29 05:05:46'::timestamp) - extract(epoch from '2026-07-29 05:05: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'), 47641, 'SRID=4674;POINT (-40.388646 -2.79626)', '2026-07-29 05:05:56', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388641 -2.796273)'), GeomFromEWKT('SRID=4674;POINT (-40.388646 -2.79626)'))) / (select extract(epoch from '2026-07-29 05:05:56'::timestamp) - extract(epoch from '2026-07-29 05:05:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388641 -2.796273)'), GeomFromEWKT('SRID=4674;POINT (-40.388646 -2.79626)'))) / (select extract(epoch from '2026-07-29 05:05:56'::timestamp) - extract(epoch from '2026-07-29 05:05: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'), 47641, 'SRID=4674;POINT (-40.388645 -2.796261)', '2026-07-29 05:06:14', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388646 -2.79626)'), GeomFromEWKT('SRID=4674;POINT (-40.388645 -2.796261)'))) / (select extract(epoch from '2026-07-29 05:06:14'::timestamp) - extract(epoch from '2026-07-29 05:05:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388646 -2.79626)'), GeomFromEWKT('SRID=4674;POINT (-40.388645 -2.796261)'))) / (select extract(epoch from '2026-07-29 05:06:14'::timestamp) - extract(epoch from '2026-07-29 05:05: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'), 47641, 'SRID=4674;POINT (-40.388649 -2.796257)', '2026-07-29 05:06:26', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388645 -2.796261)'), GeomFromEWKT('SRID=4674;POINT (-40.388649 -2.796257)'))) / (select extract(epoch from '2026-07-29 05:06:26'::timestamp) - extract(epoch from '2026-07-29 05:06:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388645 -2.796261)'), GeomFromEWKT('SRID=4674;POINT (-40.388649 -2.796257)'))) / (select extract(epoch from '2026-07-29 05:06:26'::timestamp) - extract(epoch from '2026-07-29 05:06: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'), 47641, 'SRID=4674;POINT (-40.388655 -2.796277)', '2026-07-29 05:06:46', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388649 -2.796257)'), GeomFromEWKT('SRID=4674;POINT (-40.388655 -2.796277)'))) / (select extract(epoch from '2026-07-29 05:06:46'::timestamp) - extract(epoch from '2026-07-29 05:06:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388649 -2.796257)'), GeomFromEWKT('SRID=4674;POINT (-40.388655 -2.796277)'))) / (select extract(epoch from '2026-07-29 05:06:46'::timestamp) - extract(epoch from '2026-07-29 05:06:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388651 -2.796284)', '2026-07-29 05:07:02', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388655 -2.796277)'), GeomFromEWKT('SRID=4674;POINT (-40.388651 -2.796284)'))) / (select extract(epoch from '2026-07-29 05:07:02'::timestamp) - extract(epoch from '2026-07-29 05:06:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388655 -2.796277)'), GeomFromEWKT('SRID=4674;POINT (-40.388651 -2.796284)'))) / (select extract(epoch from '2026-07-29 05:07:02'::timestamp) - extract(epoch from '2026-07-29 05:06: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'), 47641, 'SRID=4674;POINT (-40.388651 -2.796287)', '2026-07-29 05:07:13', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388651 -2.796284)'), GeomFromEWKT('SRID=4674;POINT (-40.388651 -2.796287)'))) / (select extract(epoch from '2026-07-29 05:07:13'::timestamp) - extract(epoch from '2026-07-29 05:07:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388651 -2.796284)'), GeomFromEWKT('SRID=4674;POINT (-40.388651 -2.796287)'))) / (select extract(epoch from '2026-07-29 05:07:13'::timestamp) - extract(epoch from '2026-07-29 05:07:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388652 -2.796277)', '2026-07-29 05:07:27', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388651 -2.796287)'), GeomFromEWKT('SRID=4674;POINT (-40.388652 -2.796277)'))) / (select extract(epoch from '2026-07-29 05:07:27'::timestamp) - extract(epoch from '2026-07-29 05:07:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388651 -2.796287)'), GeomFromEWKT('SRID=4674;POINT (-40.388652 -2.796277)'))) / (select extract(epoch from '2026-07-29 05:07:27'::timestamp) - extract(epoch from '2026-07-29 05:07: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'), 47641, 'SRID=4674;POINT (-40.388649 -2.796281)', '2026-07-29 05:07:37', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388652 -2.796277)'), GeomFromEWKT('SRID=4674;POINT (-40.388649 -2.796281)'))) / (select extract(epoch from '2026-07-29 05:07:37'::timestamp) - extract(epoch from '2026-07-29 05:07:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388652 -2.796277)'), GeomFromEWKT('SRID=4674;POINT (-40.388649 -2.796281)'))) / (select extract(epoch from '2026-07-29 05:07:37'::timestamp) - extract(epoch from '2026-07-29 05:07: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'), 47641, 'SRID=4674;POINT (-40.388653 -2.796275)', '2026-07-29 05:07:51', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388649 -2.796281)'), GeomFromEWKT('SRID=4674;POINT (-40.388653 -2.796275)'))) / (select extract(epoch from '2026-07-29 05:07:51'::timestamp) - extract(epoch from '2026-07-29 05:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388649 -2.796281)'), GeomFromEWKT('SRID=4674;POINT (-40.388653 -2.796275)'))) / (select extract(epoch from '2026-07-29 05:07:51'::timestamp) - extract(epoch from '2026-07-29 05:07: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'), 47641, 'SRID=4674;POINT (-40.388643 -2.796267)', '2026-07-29 05:08:10', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388653 -2.796275)'), GeomFromEWKT('SRID=4674;POINT (-40.388643 -2.796267)'))) / (select extract(epoch from '2026-07-29 05:08:10'::timestamp) - extract(epoch from '2026-07-29 05:07:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388653 -2.796275)'), GeomFromEWKT('SRID=4674;POINT (-40.388643 -2.796267)'))) / (select extract(epoch from '2026-07-29 05:08:10'::timestamp) - extract(epoch from '2026-07-29 05:07: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'), 47641, 'SRID=4674;POINT (-40.388634 -2.796267)', '2026-07-29 05:08:30', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388643 -2.796267)'), GeomFromEWKT('SRID=4674;POINT (-40.388634 -2.796267)'))) / (select extract(epoch from '2026-07-29 05:08:30'::timestamp) - extract(epoch from '2026-07-29 05:08:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388643 -2.796267)'), GeomFromEWKT('SRID=4674;POINT (-40.388634 -2.796267)'))) / (select extract(epoch from '2026-07-29 05:08:30'::timestamp) - extract(epoch from '2026-07-29 05:08:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388636 -2.796265)', '2026-07-29 05:08:45', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388634 -2.796267)'), GeomFromEWKT('SRID=4674;POINT (-40.388636 -2.796265)'))) / (select extract(epoch from '2026-07-29 05:08:45'::timestamp) - extract(epoch from '2026-07-29 05:08:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388634 -2.796267)'), GeomFromEWKT('SRID=4674;POINT (-40.388636 -2.796265)'))) / (select extract(epoch from '2026-07-29 05:08:45'::timestamp) - extract(epoch from '2026-07-29 05:08: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'), 47641, 'SRID=4674;POINT (-40.388636 -2.796266)', '2026-07-29 05:09:07', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388636 -2.796265)'), GeomFromEWKT('SRID=4674;POINT (-40.388636 -2.796266)'))) / (select extract(epoch from '2026-07-29 05:09:07'::timestamp) - extract(epoch from '2026-07-29 05:08:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388636 -2.796265)'), GeomFromEWKT('SRID=4674;POINT (-40.388636 -2.796266)'))) / (select extract(epoch from '2026-07-29 05:09:07'::timestamp) - extract(epoch from '2026-07-29 05:08: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'), 47641, 'SRID=4674;POINT (-40.388639 -2.796266)', '2026-07-29 05:09:20', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388636 -2.796266)'), GeomFromEWKT('SRID=4674;POINT (-40.388639 -2.796266)'))) / (select extract(epoch from '2026-07-29 05:09:20'::timestamp) - extract(epoch from '2026-07-29 05:09:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388636 -2.796266)'), GeomFromEWKT('SRID=4674;POINT (-40.388639 -2.796266)'))) / (select extract(epoch from '2026-07-29 05:09:20'::timestamp) - extract(epoch from '2026-07-29 05:09: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'), 47641, 'SRID=4674;POINT (-40.388639 -2.796259)', '2026-07-29 05:09:40', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388639 -2.796266)'), GeomFromEWKT('SRID=4674;POINT (-40.388639 -2.796259)'))) / (select extract(epoch from '2026-07-29 05:09:40'::timestamp) - extract(epoch from '2026-07-29 05:09:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388639 -2.796266)'), GeomFromEWKT('SRID=4674;POINT (-40.388639 -2.796259)'))) / (select extract(epoch from '2026-07-29 05:09:40'::timestamp) - extract(epoch from '2026-07-29 05:09: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'), 47641, 'SRID=4674;POINT (-40.388653 -2.796274)', '2026-07-29 05:09:59', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388639 -2.796259)'), GeomFromEWKT('SRID=4674;POINT (-40.388653 -2.796274)'))) / (select extract(epoch from '2026-07-29 05:09:59'::timestamp) - extract(epoch from '2026-07-29 05:09:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388639 -2.796259)'), GeomFromEWKT('SRID=4674;POINT (-40.388653 -2.796274)'))) / (select extract(epoch from '2026-07-29 05:09:59'::timestamp) - extract(epoch from '2026-07-29 05:09: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'), 47641, 'SRID=4674;POINT (-40.38865 -2.796276)', '2026-07-29 05:10:16', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388653 -2.796274)'), GeomFromEWKT('SRID=4674;POINT (-40.38865 -2.796276)'))) / (select extract(epoch from '2026-07-29 05:10:16'::timestamp) - extract(epoch from '2026-07-29 05:09:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388653 -2.796274)'), GeomFromEWKT('SRID=4674;POINT (-40.38865 -2.796276)'))) / (select extract(epoch from '2026-07-29 05:10:16'::timestamp) - extract(epoch from '2026-07-29 05:09:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388645 -2.796261)', '2026-07-29 05:10:34', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38865 -2.796276)'), GeomFromEWKT('SRID=4674;POINT (-40.388645 -2.796261)'))) / (select extract(epoch from '2026-07-29 05:10:34'::timestamp) - extract(epoch from '2026-07-29 05:10:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38865 -2.796276)'), GeomFromEWKT('SRID=4674;POINT (-40.388645 -2.796261)'))) / (select extract(epoch from '2026-07-29 05:10:34'::timestamp) - extract(epoch from '2026-07-29 05: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'), 47641, 'SRID=4674;POINT (-40.388632 -2.796251)', '2026-07-29 05:10:52', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388645 -2.796261)'), GeomFromEWKT('SRID=4674;POINT (-40.388632 -2.796251)'))) / (select extract(epoch from '2026-07-29 05:10:52'::timestamp) - extract(epoch from '2026-07-29 05:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388645 -2.796261)'), GeomFromEWKT('SRID=4674;POINT (-40.388632 -2.796251)'))) / (select extract(epoch from '2026-07-29 05:10:52'::timestamp) - extract(epoch from '2026-07-29 05:10:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388627 -2.796247)', '2026-07-29 05:11:08', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388632 -2.796251)'), GeomFromEWKT('SRID=4674;POINT (-40.388627 -2.796247)'))) / (select extract(epoch from '2026-07-29 05:11:08'::timestamp) - extract(epoch from '2026-07-29 05:10:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388632 -2.796251)'), GeomFromEWKT('SRID=4674;POINT (-40.388627 -2.796247)'))) / (select extract(epoch from '2026-07-29 05:11:08'::timestamp) - extract(epoch from '2026-07-29 05: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'), 47641, 'SRID=4674;POINT (-40.388629 -2.796253)', '2026-07-29 05:11:25', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388627 -2.796247)'), GeomFromEWKT('SRID=4674;POINT (-40.388629 -2.796253)'))) / (select extract(epoch from '2026-07-29 05:11:25'::timestamp) - extract(epoch from '2026-07-29 05:11:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388627 -2.796247)'), GeomFromEWKT('SRID=4674;POINT (-40.388629 -2.796253)'))) / (select extract(epoch from '2026-07-29 05:11:25'::timestamp) - extract(epoch from '2026-07-29 05:11:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388626 -2.79626)', '2026-07-29 05:11:44', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388629 -2.796253)'), GeomFromEWKT('SRID=4674;POINT (-40.388626 -2.79626)'))) / (select extract(epoch from '2026-07-29 05:11:44'::timestamp) - extract(epoch from '2026-07-29 05:11:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388629 -2.796253)'), GeomFromEWKT('SRID=4674;POINT (-40.388626 -2.79626)'))) / (select extract(epoch from '2026-07-29 05:11:44'::timestamp) - extract(epoch from '2026-07-29 05:11:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388633 -2.796261)', '2026-07-29 05:11:59', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388626 -2.79626)'), GeomFromEWKT('SRID=4674;POINT (-40.388633 -2.796261)'))) / (select extract(epoch from '2026-07-29 05:11:59'::timestamp) - extract(epoch from '2026-07-29 05:11:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388626 -2.79626)'), GeomFromEWKT('SRID=4674;POINT (-40.388633 -2.796261)'))) / (select extract(epoch from '2026-07-29 05:11:59'::timestamp) - extract(epoch from '2026-07-29 05:11:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388647 -2.796264)', '2026-07-29 05:12:10', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388633 -2.796261)'), GeomFromEWKT('SRID=4674;POINT (-40.388647 -2.796264)'))) / (select extract(epoch from '2026-07-29 05:12:10'::timestamp) - extract(epoch from '2026-07-29 05:11:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388633 -2.796261)'), GeomFromEWKT('SRID=4674;POINT (-40.388647 -2.796264)'))) / (select extract(epoch from '2026-07-29 05:12:10'::timestamp) - extract(epoch from '2026-07-29 05:11: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'), 47641, 'SRID=4674;POINT (-40.388643 -2.796272)', '2026-07-29 05:12:24', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388647 -2.796264)'), GeomFromEWKT('SRID=4674;POINT (-40.388643 -2.796272)'))) / (select extract(epoch from '2026-07-29 05:12:24'::timestamp) - extract(epoch from '2026-07-29 05:12:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388647 -2.796264)'), GeomFromEWKT('SRID=4674;POINT (-40.388643 -2.796272)'))) / (select extract(epoch from '2026-07-29 05:12:24'::timestamp) - extract(epoch from '2026-07-29 05:12: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'), 47641, 'SRID=4674;POINT (-40.388647 -2.796263)', '2026-07-29 05:12:43', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388643 -2.796272)'), GeomFromEWKT('SRID=4674;POINT (-40.388647 -2.796263)'))) / (select extract(epoch from '2026-07-29 05:12:43'::timestamp) - extract(epoch from '2026-07-29 05:12:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388643 -2.796272)'), GeomFromEWKT('SRID=4674;POINT (-40.388647 -2.796263)'))) / (select extract(epoch from '2026-07-29 05:12:43'::timestamp) - extract(epoch from '2026-07-29 05:12: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'), 47641, 'SRID=4674;POINT (-40.388648 -2.796258)', '2026-07-29 05:12:57', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388647 -2.796263)'), GeomFromEWKT('SRID=4674;POINT (-40.388648 -2.796258)'))) / (select extract(epoch from '2026-07-29 05:12:57'::timestamp) - extract(epoch from '2026-07-29 05:12:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388647 -2.796263)'), GeomFromEWKT('SRID=4674;POINT (-40.388648 -2.796258)'))) / (select extract(epoch from '2026-07-29 05:12:57'::timestamp) - extract(epoch from '2026-07-29 05:12: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'), 47641, 'SRID=4674;POINT (-40.388644 -2.796251)', '2026-07-29 05:13:12', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388648 -2.796258)'), GeomFromEWKT('SRID=4674;POINT (-40.388644 -2.796251)'))) / (select extract(epoch from '2026-07-29 05:13:12'::timestamp) - extract(epoch from '2026-07-29 05:12:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388648 -2.796258)'), GeomFromEWKT('SRID=4674;POINT (-40.388644 -2.796251)'))) / (select extract(epoch from '2026-07-29 05:13:12'::timestamp) - extract(epoch from '2026-07-29 05:12:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388641 -2.796258)', '2026-07-29 05:13:33', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388644 -2.796251)'), GeomFromEWKT('SRID=4674;POINT (-40.388641 -2.796258)'))) / (select extract(epoch from '2026-07-29 05:13:33'::timestamp) - extract(epoch from '2026-07-29 05:13:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388644 -2.796251)'), GeomFromEWKT('SRID=4674;POINT (-40.388641 -2.796258)'))) / (select extract(epoch from '2026-07-29 05:13:33'::timestamp) - extract(epoch from '2026-07-29 05:13: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'), 47641, 'SRID=4674;POINT (-40.388634 -2.796257)', '2026-07-29 05:13:48', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388641 -2.796258)'), GeomFromEWKT('SRID=4674;POINT (-40.388634 -2.796257)'))) / (select extract(epoch from '2026-07-29 05:13:48'::timestamp) - extract(epoch from '2026-07-29 05:13:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388641 -2.796258)'), GeomFromEWKT('SRID=4674;POINT (-40.388634 -2.796257)'))) / (select extract(epoch from '2026-07-29 05:13:48'::timestamp) - extract(epoch from '2026-07-29 05:13:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388634 -2.796253)', '2026-07-29 05:14:01', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388634 -2.796257)'), GeomFromEWKT('SRID=4674;POINT (-40.388634 -2.796253)'))) / (select extract(epoch from '2026-07-29 05:14:01'::timestamp) - extract(epoch from '2026-07-29 05:13:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388634 -2.796257)'), GeomFromEWKT('SRID=4674;POINT (-40.388634 -2.796253)'))) / (select extract(epoch from '2026-07-29 05:14:01'::timestamp) - extract(epoch from '2026-07-29 05: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'), 47641, 'SRID=4674;POINT (-40.38863 -2.796251)', '2026-07-29 05:14:20', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388634 -2.796253)'), GeomFromEWKT('SRID=4674;POINT (-40.38863 -2.796251)'))) / (select extract(epoch from '2026-07-29 05:14:20'::timestamp) - extract(epoch from '2026-07-29 05:14:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388634 -2.796253)'), GeomFromEWKT('SRID=4674;POINT (-40.38863 -2.796251)'))) / (select extract(epoch from '2026-07-29 05:14:20'::timestamp) - extract(epoch from '2026-07-29 05:14: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'), 47641, 'SRID=4674;POINT (-40.388629 -2.796248)', '2026-07-29 05:14:28', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38863 -2.796251)'), GeomFromEWKT('SRID=4674;POINT (-40.388629 -2.796248)'))) / (select extract(epoch from '2026-07-29 05:14:28'::timestamp) - extract(epoch from '2026-07-29 05:14:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38863 -2.796251)'), GeomFromEWKT('SRID=4674;POINT (-40.388629 -2.796248)'))) / (select extract(epoch from '2026-07-29 05:14:28'::timestamp) - extract(epoch from '2026-07-29 05:14: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'), 47641, 'SRID=4674;POINT (-40.388632 -2.796246)', '2026-07-29 05:14:46', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388629 -2.796248)'), GeomFromEWKT('SRID=4674;POINT (-40.388632 -2.796246)'))) / (select extract(epoch from '2026-07-29 05:14:46'::timestamp) - extract(epoch from '2026-07-29 05:14:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388629 -2.796248)'), GeomFromEWKT('SRID=4674;POINT (-40.388632 -2.796246)'))) / (select extract(epoch from '2026-07-29 05:14:46'::timestamp) - extract(epoch from '2026-07-29 05:14:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388638 -2.796249)', '2026-07-29 05:15:00', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388632 -2.796246)'), GeomFromEWKT('SRID=4674;POINT (-40.388638 -2.796249)'))) / (select extract(epoch from '2026-07-29 05:15:00'::timestamp) - extract(epoch from '2026-07-29 05:14:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388632 -2.796246)'), GeomFromEWKT('SRID=4674;POINT (-40.388638 -2.796249)'))) / (select extract(epoch from '2026-07-29 05:15:00'::timestamp) - extract(epoch from '2026-07-29 05:14: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'), 47641, 'SRID=4674;POINT (-40.38864 -2.796254)', '2026-07-29 05:15:23', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388638 -2.796249)'), GeomFromEWKT('SRID=4674;POINT (-40.38864 -2.796254)'))) / (select extract(epoch from '2026-07-29 05:15:23'::timestamp) - extract(epoch from '2026-07-29 05:15:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388638 -2.796249)'), GeomFromEWKT('SRID=4674;POINT (-40.38864 -2.796254)'))) / (select extract(epoch from '2026-07-29 05:15:23'::timestamp) - extract(epoch from '2026-07-29 05:15: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'), 47641, 'SRID=4674;POINT (-40.38864 -2.796244)', '2026-07-29 05:15:43', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38864 -2.796254)'), GeomFromEWKT('SRID=4674;POINT (-40.38864 -2.796244)'))) / (select extract(epoch from '2026-07-29 05:15:43'::timestamp) - extract(epoch from '2026-07-29 05:15:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38864 -2.796254)'), GeomFromEWKT('SRID=4674;POINT (-40.38864 -2.796244)'))) / (select extract(epoch from '2026-07-29 05:15:43'::timestamp) - extract(epoch from '2026-07-29 05:15: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'), 47641, 'SRID=4674;POINT (-40.388644 -2.796255)', '2026-07-29 05:16:00', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38864 -2.796244)'), GeomFromEWKT('SRID=4674;POINT (-40.388644 -2.796255)'))) / (select extract(epoch from '2026-07-29 05:16:00'::timestamp) - extract(epoch from '2026-07-29 05:15:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38864 -2.796244)'), GeomFromEWKT('SRID=4674;POINT (-40.388644 -2.796255)'))) / (select extract(epoch from '2026-07-29 05:16:00'::timestamp) - extract(epoch from '2026-07-29 05:15:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388645 -2.796257)', '2026-07-29 05:16:13', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388644 -2.796255)'), GeomFromEWKT('SRID=4674;POINT (-40.388645 -2.796257)'))) / (select extract(epoch from '2026-07-29 05:16:13'::timestamp) - extract(epoch from '2026-07-29 05:16:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388644 -2.796255)'), GeomFromEWKT('SRID=4674;POINT (-40.388645 -2.796257)'))) / (select extract(epoch from '2026-07-29 05:16:13'::timestamp) - extract(epoch from '2026-07-29 05:16:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388648 -2.796265)', '2026-07-29 05:16:29', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388645 -2.796257)'), GeomFromEWKT('SRID=4674;POINT (-40.388648 -2.796265)'))) / (select extract(epoch from '2026-07-29 05:16:29'::timestamp) - extract(epoch from '2026-07-29 05:16:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388645 -2.796257)'), GeomFromEWKT('SRID=4674;POINT (-40.388648 -2.796265)'))) / (select extract(epoch from '2026-07-29 05:16:29'::timestamp) - extract(epoch from '2026-07-29 05:16:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388644 -2.796257)', '2026-07-29 05:16:44', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388648 -2.796265)'), GeomFromEWKT('SRID=4674;POINT (-40.388644 -2.796257)'))) / (select extract(epoch from '2026-07-29 05:16:44'::timestamp) - extract(epoch from '2026-07-29 05:16:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388648 -2.796265)'), GeomFromEWKT('SRID=4674;POINT (-40.388644 -2.796257)'))) / (select extract(epoch from '2026-07-29 05:16:44'::timestamp) - extract(epoch from '2026-07-29 05:16: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'), 47641, 'SRID=4674;POINT (-40.388652 -2.796246)', '2026-07-29 05:16:59', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388644 -2.796257)'), GeomFromEWKT('SRID=4674;POINT (-40.388652 -2.796246)'))) / (select extract(epoch from '2026-07-29 05:16:59'::timestamp) - extract(epoch from '2026-07-29 05:16:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388644 -2.796257)'), GeomFromEWKT('SRID=4674;POINT (-40.388652 -2.796246)'))) / (select extract(epoch from '2026-07-29 05:16:59'::timestamp) - extract(epoch from '2026-07-29 05:16:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.38865 -2.796242)', '2026-07-29 05:17:19', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388652 -2.796246)'), GeomFromEWKT('SRID=4674;POINT (-40.38865 -2.796242)'))) / (select extract(epoch from '2026-07-29 05:17:19'::timestamp) - extract(epoch from '2026-07-29 05:16:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388652 -2.796246)'), GeomFromEWKT('SRID=4674;POINT (-40.38865 -2.796242)'))) / (select extract(epoch from '2026-07-29 05:17:19'::timestamp) - extract(epoch from '2026-07-29 05:16:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388657 -2.796248)', '2026-07-29 05:17:35', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38865 -2.796242)'), GeomFromEWKT('SRID=4674;POINT (-40.388657 -2.796248)'))) / (select extract(epoch from '2026-07-29 05:17:35'::timestamp) - extract(epoch from '2026-07-29 05:17:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38865 -2.796242)'), GeomFromEWKT('SRID=4674;POINT (-40.388657 -2.796248)'))) / (select extract(epoch from '2026-07-29 05:17:35'::timestamp) - extract(epoch from '2026-07-29 05:17:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388655 -2.796255)', '2026-07-29 05:17:50', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388657 -2.796248)'), GeomFromEWKT('SRID=4674;POINT (-40.388655 -2.796255)'))) / (select extract(epoch from '2026-07-29 05:17:50'::timestamp) - extract(epoch from '2026-07-29 05:17:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388657 -2.796248)'), GeomFromEWKT('SRID=4674;POINT (-40.388655 -2.796255)'))) / (select extract(epoch from '2026-07-29 05:17:50'::timestamp) - extract(epoch from '2026-07-29 05:17:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388652 -2.796241)', '2026-07-29 05:18:05', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388655 -2.796255)'), GeomFromEWKT('SRID=4674;POINT (-40.388652 -2.796241)'))) / (select extract(epoch from '2026-07-29 05:18:05'::timestamp) - extract(epoch from '2026-07-29 05:17:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388655 -2.796255)'), GeomFromEWKT('SRID=4674;POINT (-40.388652 -2.796241)'))) / (select extract(epoch from '2026-07-29 05:18:05'::timestamp) - extract(epoch from '2026-07-29 05:17:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.38866 -2.796259)', '2026-07-29 05:18:18', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388652 -2.796241)'), GeomFromEWKT('SRID=4674;POINT (-40.38866 -2.796259)'))) / (select extract(epoch from '2026-07-29 05:18:18'::timestamp) - extract(epoch from '2026-07-29 05:18:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388652 -2.796241)'), GeomFromEWKT('SRID=4674;POINT (-40.38866 -2.796259)'))) / (select extract(epoch from '2026-07-29 05:18:18'::timestamp) - extract(epoch from '2026-07-29 05:18:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388661 -2.796275)', '2026-07-29 05:18:37', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38866 -2.796259)'), GeomFromEWKT('SRID=4674;POINT (-40.388661 -2.796275)'))) / (select extract(epoch from '2026-07-29 05:18:37'::timestamp) - extract(epoch from '2026-07-29 05:18:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38866 -2.796259)'), GeomFromEWKT('SRID=4674;POINT (-40.388661 -2.796275)'))) / (select extract(epoch from '2026-07-29 05:18:37'::timestamp) - extract(epoch from '2026-07-29 05:18:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388665 -2.796274)', '2026-07-29 05:18:54', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388661 -2.796275)'), GeomFromEWKT('SRID=4674;POINT (-40.388665 -2.796274)'))) / (select extract(epoch from '2026-07-29 05:18:54'::timestamp) - extract(epoch from '2026-07-29 05:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388661 -2.796275)'), GeomFromEWKT('SRID=4674;POINT (-40.388665 -2.796274)'))) / (select extract(epoch from '2026-07-29 05:18:54'::timestamp) - extract(epoch from '2026-07-29 05: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'), 47641, 'SRID=4674;POINT (-40.388662 -2.796284)', '2026-07-29 05:19:08', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388665 -2.796274)'), GeomFromEWKT('SRID=4674;POINT (-40.388662 -2.796284)'))) / (select extract(epoch from '2026-07-29 05:19:08'::timestamp) - extract(epoch from '2026-07-29 05:18:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388665 -2.796274)'), GeomFromEWKT('SRID=4674;POINT (-40.388662 -2.796284)'))) / (select extract(epoch from '2026-07-29 05:19:08'::timestamp) - extract(epoch from '2026-07-29 05: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'), 47641, 'SRID=4674;POINT (-40.388667 -2.796285)', '2026-07-29 05:19:24', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388662 -2.796284)'), GeomFromEWKT('SRID=4674;POINT (-40.388667 -2.796285)'))) / (select extract(epoch from '2026-07-29 05:19:24'::timestamp) - extract(epoch from '2026-07-29 05:19:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388662 -2.796284)'), GeomFromEWKT('SRID=4674;POINT (-40.388667 -2.796285)'))) / (select extract(epoch from '2026-07-29 05:19:24'::timestamp) - extract(epoch from '2026-07-29 05:19:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388663 -2.796288)', '2026-07-29 05:19:43', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388667 -2.796285)'), GeomFromEWKT('SRID=4674;POINT (-40.388663 -2.796288)'))) / (select extract(epoch from '2026-07-29 05:19:43'::timestamp) - extract(epoch from '2026-07-29 05:19:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388667 -2.796285)'), GeomFromEWKT('SRID=4674;POINT (-40.388663 -2.796288)'))) / (select extract(epoch from '2026-07-29 05:19:43'::timestamp) - extract(epoch from '2026-07-29 05:19: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'), 47641, 'SRID=4674;POINT (-40.388664 -2.796288)', '2026-07-29 05:19:56', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388663 -2.796288)'), GeomFromEWKT('SRID=4674;POINT (-40.388664 -2.796288)'))) / (select extract(epoch from '2026-07-29 05:19:56'::timestamp) - extract(epoch from '2026-07-29 05:19:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388663 -2.796288)'), GeomFromEWKT('SRID=4674;POINT (-40.388664 -2.796288)'))) / (select extract(epoch from '2026-07-29 05:19:56'::timestamp) - extract(epoch from '2026-07-29 05:19: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'), 47641, 'SRID=4674;POINT (-40.388662 -2.79629)', '2026-07-29 05:20:08', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388664 -2.796288)'), GeomFromEWKT('SRID=4674;POINT (-40.388662 -2.79629)'))) / (select extract(epoch from '2026-07-29 05:20:08'::timestamp) - extract(epoch from '2026-07-29 05:19:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388664 -2.796288)'), GeomFromEWKT('SRID=4674;POINT (-40.388662 -2.79629)'))) / (select extract(epoch from '2026-07-29 05:20:08'::timestamp) - extract(epoch from '2026-07-29 05: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'), 47641, 'SRID=4674;POINT (-40.388655 -2.796289)', '2026-07-29 05:20:24', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388662 -2.79629)'), GeomFromEWKT('SRID=4674;POINT (-40.388655 -2.796289)'))) / (select extract(epoch from '2026-07-29 05:20:24'::timestamp) - extract(epoch from '2026-07-29 05:20:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388662 -2.79629)'), GeomFromEWKT('SRID=4674;POINT (-40.388655 -2.796289)'))) / (select extract(epoch from '2026-07-29 05:20:24'::timestamp) - extract(epoch from '2026-07-29 05:20:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388641 -2.796288)', '2026-07-29 05:20:43', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388655 -2.796289)'), GeomFromEWKT('SRID=4674;POINT (-40.388641 -2.796288)'))) / (select extract(epoch from '2026-07-29 05:20:43'::timestamp) - extract(epoch from '2026-07-29 05:20:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388655 -2.796289)'), GeomFromEWKT('SRID=4674;POINT (-40.388641 -2.796288)'))) / (select extract(epoch from '2026-07-29 05:20:43'::timestamp) - extract(epoch from '2026-07-29 05:20: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'), 47641, 'SRID=4674;POINT (-40.388643 -2.796285)', '2026-07-29 05:20:52', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388641 -2.796288)'), GeomFromEWKT('SRID=4674;POINT (-40.388643 -2.796285)'))) / (select extract(epoch from '2026-07-29 05:20:52'::timestamp) - extract(epoch from '2026-07-29 05:20:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388641 -2.796288)'), GeomFromEWKT('SRID=4674;POINT (-40.388643 -2.796285)'))) / (select extract(epoch from '2026-07-29 05:20:52'::timestamp) - extract(epoch from '2026-07-29 05:20: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'), 47641, 'SRID=4674;POINT (-40.388639 -2.796285)', '2026-07-29 05:21:09', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388643 -2.796285)'), GeomFromEWKT('SRID=4674;POINT (-40.388639 -2.796285)'))) / (select extract(epoch from '2026-07-29 05:21:09'::timestamp) - extract(epoch from '2026-07-29 05:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388643 -2.796285)'), GeomFromEWKT('SRID=4674;POINT (-40.388639 -2.796285)'))) / (select extract(epoch from '2026-07-29 05:21:09'::timestamp) - extract(epoch from '2026-07-29 05:20: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'), 47641, 'SRID=4674;POINT (-40.388647 -2.796294)', '2026-07-29 05:21:29', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388639 -2.796285)'), GeomFromEWKT('SRID=4674;POINT (-40.388647 -2.796294)'))) / (select extract(epoch from '2026-07-29 05:21:29'::timestamp) - extract(epoch from '2026-07-29 05:21:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388639 -2.796285)'), GeomFromEWKT('SRID=4674;POINT (-40.388647 -2.796294)'))) / (select extract(epoch from '2026-07-29 05:21:29'::timestamp) - extract(epoch from '2026-07-29 05:21: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'), 47641, 'SRID=4674;POINT (-40.388644 -2.796293)', '2026-07-29 05:21:42', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388647 -2.796294)'), GeomFromEWKT('SRID=4674;POINT (-40.388644 -2.796293)'))) / (select extract(epoch from '2026-07-29 05:21:42'::timestamp) - extract(epoch from '2026-07-29 05:21:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388647 -2.796294)'), GeomFromEWKT('SRID=4674;POINT (-40.388644 -2.796293)'))) / (select extract(epoch from '2026-07-29 05:21:42'::timestamp) - extract(epoch from '2026-07-29 05: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'), 47641, 'SRID=4674;POINT (-40.388646 -2.796295)', '2026-07-29 05:21:58', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388644 -2.796293)'), GeomFromEWKT('SRID=4674;POINT (-40.388646 -2.796295)'))) / (select extract(epoch from '2026-07-29 05:21:58'::timestamp) - extract(epoch from '2026-07-29 05:21:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388644 -2.796293)'), GeomFromEWKT('SRID=4674;POINT (-40.388646 -2.796295)'))) / (select extract(epoch from '2026-07-29 05:21:58'::timestamp) - extract(epoch from '2026-07-29 05:21: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'), 47641, 'SRID=4674;POINT (-40.388637 -2.796293)', '2026-07-29 05:22:17', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388646 -2.796295)'), GeomFromEWKT('SRID=4674;POINT (-40.388637 -2.796293)'))) / (select extract(epoch from '2026-07-29 05:22:17'::timestamp) - extract(epoch from '2026-07-29 05:21:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388646 -2.796295)'), GeomFromEWKT('SRID=4674;POINT (-40.388637 -2.796293)'))) / (select extract(epoch from '2026-07-29 05:22:17'::timestamp) - extract(epoch from '2026-07-29 05:21: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'), 47641, 'SRID=4674;POINT (-40.388644 -2.796304)', '2026-07-29 05:22:34', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388637 -2.796293)'), GeomFromEWKT('SRID=4674;POINT (-40.388644 -2.796304)'))) / (select extract(epoch from '2026-07-29 05:22:34'::timestamp) - extract(epoch from '2026-07-29 05:22:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388637 -2.796293)'), GeomFromEWKT('SRID=4674;POINT (-40.388644 -2.796304)'))) / (select extract(epoch from '2026-07-29 05:22:34'::timestamp) - extract(epoch from '2026-07-29 05:22: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'), 47641, 'SRID=4674;POINT (-40.388641 -2.7963)', '2026-07-29 05:22:47', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388644 -2.796304)'), GeomFromEWKT('SRID=4674;POINT (-40.388641 -2.7963)'))) / (select extract(epoch from '2026-07-29 05:22:47'::timestamp) - extract(epoch from '2026-07-29 05:22:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388644 -2.796304)'), GeomFromEWKT('SRID=4674;POINT (-40.388641 -2.7963)'))) / (select extract(epoch from '2026-07-29 05:22:47'::timestamp) - extract(epoch from '2026-07-29 05:22:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388645 -2.796292)', '2026-07-29 05:23:08', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388641 -2.7963)'), GeomFromEWKT('SRID=4674;POINT (-40.388645 -2.796292)'))) / (select extract(epoch from '2026-07-29 05:23:08'::timestamp) - extract(epoch from '2026-07-29 05:22:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388641 -2.7963)'), GeomFromEWKT('SRID=4674;POINT (-40.388645 -2.796292)'))) / (select extract(epoch from '2026-07-29 05:23:08'::timestamp) - extract(epoch from '2026-07-29 05:22: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'), 47641, 'SRID=4674;POINT (-40.388637 -2.796281)', '2026-07-29 05:23:23', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388645 -2.796292)'), GeomFromEWKT('SRID=4674;POINT (-40.388637 -2.796281)'))) / (select extract(epoch from '2026-07-29 05:23:23'::timestamp) - extract(epoch from '2026-07-29 05:23:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388645 -2.796292)'), GeomFromEWKT('SRID=4674;POINT (-40.388637 -2.796281)'))) / (select extract(epoch from '2026-07-29 05:23:23'::timestamp) - extract(epoch from '2026-07-29 05:23: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'), 47641, 'SRID=4674;POINT (-40.388635 -2.796277)', '2026-07-29 05:23:35', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388637 -2.796281)'), GeomFromEWKT('SRID=4674;POINT (-40.388635 -2.796277)'))) / (select extract(epoch from '2026-07-29 05:23:35'::timestamp) - extract(epoch from '2026-07-29 05:23:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388637 -2.796281)'), GeomFromEWKT('SRID=4674;POINT (-40.388635 -2.796277)'))) / (select extract(epoch from '2026-07-29 05:23:35'::timestamp) - extract(epoch from '2026-07-29 05:23:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.38864 -2.796279)', '2026-07-29 05:23:47', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388635 -2.796277)'), GeomFromEWKT('SRID=4674;POINT (-40.38864 -2.796279)'))) / (select extract(epoch from '2026-07-29 05:23:47'::timestamp) - extract(epoch from '2026-07-29 05:23:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388635 -2.796277)'), GeomFromEWKT('SRID=4674;POINT (-40.38864 -2.796279)'))) / (select extract(epoch from '2026-07-29 05:23:47'::timestamp) - extract(epoch from '2026-07-29 05:23: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'), 47641, 'SRID=4674;POINT (-40.388649 -2.796281)', '2026-07-29 05:24:04', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38864 -2.796279)'), GeomFromEWKT('SRID=4674;POINT (-40.388649 -2.796281)'))) / (select extract(epoch from '2026-07-29 05:24:04'::timestamp) - extract(epoch from '2026-07-29 05:23:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38864 -2.796279)'), GeomFromEWKT('SRID=4674;POINT (-40.388649 -2.796281)'))) / (select extract(epoch from '2026-07-29 05:24:04'::timestamp) - extract(epoch from '2026-07-29 05:23: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'), 47641, 'SRID=4674;POINT (-40.388654 -2.796272)', '2026-07-29 05:24:22', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388649 -2.796281)'), GeomFromEWKT('SRID=4674;POINT (-40.388654 -2.796272)'))) / (select extract(epoch from '2026-07-29 05:24:22'::timestamp) - extract(epoch from '2026-07-29 05:24:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388649 -2.796281)'), GeomFromEWKT('SRID=4674;POINT (-40.388654 -2.796272)'))) / (select extract(epoch from '2026-07-29 05:24:22'::timestamp) - extract(epoch from '2026-07-29 05:24: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'), 47641, 'SRID=4674;POINT (-40.38866 -2.796283)', '2026-07-29 05:24:36', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388654 -2.796272)'), GeomFromEWKT('SRID=4674;POINT (-40.38866 -2.796283)'))) / (select extract(epoch from '2026-07-29 05:24:36'::timestamp) - extract(epoch from '2026-07-29 05:24:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388654 -2.796272)'), GeomFromEWKT('SRID=4674;POINT (-40.38866 -2.796283)'))) / (select extract(epoch from '2026-07-29 05:24:36'::timestamp) - extract(epoch from '2026-07-29 05:24:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388667 -2.79629)', '2026-07-29 05:24:48', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38866 -2.796283)'), GeomFromEWKT('SRID=4674;POINT (-40.388667 -2.79629)'))) / (select extract(epoch from '2026-07-29 05:24:48'::timestamp) - extract(epoch from '2026-07-29 05:24:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38866 -2.796283)'), GeomFromEWKT('SRID=4674;POINT (-40.388667 -2.79629)'))) / (select extract(epoch from '2026-07-29 05:24:48'::timestamp) - extract(epoch from '2026-07-29 05:24:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.38867 -2.79628)', '2026-07-29 05:25:07', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388667 -2.79629)'), GeomFromEWKT('SRID=4674;POINT (-40.38867 -2.79628)'))) / (select extract(epoch from '2026-07-29 05:25:07'::timestamp) - extract(epoch from '2026-07-29 05:24:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388667 -2.79629)'), GeomFromEWKT('SRID=4674;POINT (-40.38867 -2.79628)'))) / (select extract(epoch from '2026-07-29 05:25:07'::timestamp) - extract(epoch from '2026-07-29 05:24: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'), 47641, 'SRID=4674;POINT (-40.388685 -2.796284)', '2026-07-29 05:25:24', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38867 -2.79628)'), GeomFromEWKT('SRID=4674;POINT (-40.388685 -2.796284)'))) / (select extract(epoch from '2026-07-29 05:25:24'::timestamp) - extract(epoch from '2026-07-29 05:25:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38867 -2.79628)'), GeomFromEWKT('SRID=4674;POINT (-40.388685 -2.796284)'))) / (select extract(epoch from '2026-07-29 05:25:24'::timestamp) - extract(epoch from '2026-07-29 05:25:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.38868 -2.796278)', '2026-07-29 05:25:37', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388685 -2.796284)'), GeomFromEWKT('SRID=4674;POINT (-40.38868 -2.796278)'))) / (select extract(epoch from '2026-07-29 05:25:37'::timestamp) - extract(epoch from '2026-07-29 05:25:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388685 -2.796284)'), GeomFromEWKT('SRID=4674;POINT (-40.38868 -2.796278)'))) / (select extract(epoch from '2026-07-29 05:25:37'::timestamp) - extract(epoch from '2026-07-29 05:25:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388676 -2.796276)', '2026-07-29 05:25:54', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38868 -2.796278)'), GeomFromEWKT('SRID=4674;POINT (-40.388676 -2.796276)'))) / (select extract(epoch from '2026-07-29 05:25:54'::timestamp) - extract(epoch from '2026-07-29 05:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38868 -2.796278)'), GeomFromEWKT('SRID=4674;POINT (-40.388676 -2.796276)'))) / (select extract(epoch from '2026-07-29 05:25:54'::timestamp) - extract(epoch from '2026-07-29 05:25:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388673 -2.796275)', '2026-07-29 05:26:09', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388676 -2.796276)'), GeomFromEWKT('SRID=4674;POINT (-40.388673 -2.796275)'))) / (select extract(epoch from '2026-07-29 05:26:09'::timestamp) - extract(epoch from '2026-07-29 05:25:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388676 -2.796276)'), GeomFromEWKT('SRID=4674;POINT (-40.388673 -2.796275)'))) / (select extract(epoch from '2026-07-29 05:26:09'::timestamp) - extract(epoch from '2026-07-29 05:25:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388674 -2.796267)', '2026-07-29 05:26:25', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388673 -2.796275)'), GeomFromEWKT('SRID=4674;POINT (-40.388674 -2.796267)'))) / (select extract(epoch from '2026-07-29 05:26:25'::timestamp) - extract(epoch from '2026-07-29 05:26:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388673 -2.796275)'), GeomFromEWKT('SRID=4674;POINT (-40.388674 -2.796267)'))) / (select extract(epoch from '2026-07-29 05:26:25'::timestamp) - extract(epoch from '2026-07-29 05:26:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388668 -2.79627)', '2026-07-29 05:26:44', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388674 -2.796267)'), GeomFromEWKT('SRID=4674;POINT (-40.388668 -2.79627)'))) / (select extract(epoch from '2026-07-29 05:26:44'::timestamp) - extract(epoch from '2026-07-29 05:26:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388674 -2.796267)'), GeomFromEWKT('SRID=4674;POINT (-40.388668 -2.79627)'))) / (select extract(epoch from '2026-07-29 05:26:44'::timestamp) - extract(epoch from '2026-07-29 05:26:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388667 -2.796292)', '2026-07-29 05:26:57', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388668 -2.79627)'), GeomFromEWKT('SRID=4674;POINT (-40.388667 -2.796292)'))) / (select extract(epoch from '2026-07-29 05:26:57'::timestamp) - extract(epoch from '2026-07-29 05:26:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388668 -2.79627)'), GeomFromEWKT('SRID=4674;POINT (-40.388667 -2.796292)'))) / (select extract(epoch from '2026-07-29 05:26:57'::timestamp) - extract(epoch from '2026-07-29 05:26:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388662 -2.79629)', '2026-07-29 05:27:14', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388667 -2.796292)'), GeomFromEWKT('SRID=4674;POINT (-40.388662 -2.79629)'))) / (select extract(epoch from '2026-07-29 05:27:14'::timestamp) - extract(epoch from '2026-07-29 05:26:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388667 -2.796292)'), GeomFromEWKT('SRID=4674;POINT (-40.388662 -2.79629)'))) / (select extract(epoch from '2026-07-29 05:27:14'::timestamp) - extract(epoch from '2026-07-29 05:26: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'), 47641, 'SRID=4674;POINT (-40.388659 -2.796279)', '2026-07-29 05:27:27', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388662 -2.79629)'), GeomFromEWKT('SRID=4674;POINT (-40.388659 -2.796279)'))) / (select extract(epoch from '2026-07-29 05:27:27'::timestamp) - extract(epoch from '2026-07-29 05:27:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388662 -2.79629)'), GeomFromEWKT('SRID=4674;POINT (-40.388659 -2.796279)'))) / (select extract(epoch from '2026-07-29 05:27:27'::timestamp) - extract(epoch from '2026-07-29 05:27: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'), 47641, 'SRID=4674;POINT (-40.388652 -2.796274)', '2026-07-29 05:27:50', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388659 -2.796279)'), GeomFromEWKT('SRID=4674;POINT (-40.388652 -2.796274)'))) / (select extract(epoch from '2026-07-29 05:27:50'::timestamp) - extract(epoch from '2026-07-29 05:27:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388659 -2.796279)'), GeomFromEWKT('SRID=4674;POINT (-40.388652 -2.796274)'))) / (select extract(epoch from '2026-07-29 05:27:50'::timestamp) - extract(epoch from '2026-07-29 05:27:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388662 -2.79628)', '2026-07-29 05:28:04', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388652 -2.796274)'), GeomFromEWKT('SRID=4674;POINT (-40.388662 -2.79628)'))) / (select extract(epoch from '2026-07-29 05:28:04'::timestamp) - extract(epoch from '2026-07-29 05:27:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388652 -2.796274)'), GeomFromEWKT('SRID=4674;POINT (-40.388662 -2.79628)'))) / (select extract(epoch from '2026-07-29 05:28:04'::timestamp) - extract(epoch from '2026-07-29 05:27: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'), 47641, 'SRID=4674;POINT (-40.388676 -2.796281)', '2026-07-29 05:28:20', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388662 -2.79628)'), GeomFromEWKT('SRID=4674;POINT (-40.388676 -2.796281)'))) / (select extract(epoch from '2026-07-29 05:28:20'::timestamp) - extract(epoch from '2026-07-29 05:28:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388662 -2.79628)'), GeomFromEWKT('SRID=4674;POINT (-40.388676 -2.796281)'))) / (select extract(epoch from '2026-07-29 05:28:20'::timestamp) - extract(epoch from '2026-07-29 05:28: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'), 47641, 'SRID=4674;POINT (-40.388678 -2.796275)', '2026-07-29 05:28:35', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388676 -2.796281)'), GeomFromEWKT('SRID=4674;POINT (-40.388678 -2.796275)'))) / (select extract(epoch from '2026-07-29 05:28:35'::timestamp) - extract(epoch from '2026-07-29 05:28:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388676 -2.796281)'), GeomFromEWKT('SRID=4674;POINT (-40.388678 -2.796275)'))) / (select extract(epoch from '2026-07-29 05:28:35'::timestamp) - extract(epoch from '2026-07-29 05:28:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388681 -2.796275)', '2026-07-29 05:28:49', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388678 -2.796275)'), GeomFromEWKT('SRID=4674;POINT (-40.388681 -2.796275)'))) / (select extract(epoch from '2026-07-29 05:28:49'::timestamp) - extract(epoch from '2026-07-29 05:28:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388678 -2.796275)'), GeomFromEWKT('SRID=4674;POINT (-40.388681 -2.796275)'))) / (select extract(epoch from '2026-07-29 05:28:49'::timestamp) - extract(epoch from '2026-07-29 05:28:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388686 -2.79628)', '2026-07-29 05:29:06', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388681 -2.796275)'), GeomFromEWKT('SRID=4674;POINT (-40.388686 -2.79628)'))) / (select extract(epoch from '2026-07-29 05:29:06'::timestamp) - extract(epoch from '2026-07-29 05:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388681 -2.796275)'), GeomFromEWKT('SRID=4674;POINT (-40.388686 -2.79628)'))) / (select extract(epoch from '2026-07-29 05:29:06'::timestamp) - extract(epoch from '2026-07-29 05:28: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'), 47641, 'SRID=4674;POINT (-40.38869 -2.796281)', '2026-07-29 05:29:14', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388686 -2.79628)'), GeomFromEWKT('SRID=4674;POINT (-40.38869 -2.796281)'))) / (select extract(epoch from '2026-07-29 05:29:14'::timestamp) - extract(epoch from '2026-07-29 05:29:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388686 -2.79628)'), GeomFromEWKT('SRID=4674;POINT (-40.38869 -2.796281)'))) / (select extract(epoch from '2026-07-29 05:29:14'::timestamp) - extract(epoch from '2026-07-29 05:29: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'), 47641, 'SRID=4674;POINT (-40.38869 -2.796287)', '2026-07-29 05:29:30', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38869 -2.796281)'), GeomFromEWKT('SRID=4674;POINT (-40.38869 -2.796287)'))) / (select extract(epoch from '2026-07-29 05:29:30'::timestamp) - extract(epoch from '2026-07-29 05:29:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38869 -2.796281)'), GeomFromEWKT('SRID=4674;POINT (-40.38869 -2.796287)'))) / (select extract(epoch from '2026-07-29 05:29:30'::timestamp) - extract(epoch from '2026-07-29 05:29:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388679 -2.796283)', '2026-07-29 05:29:47', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38869 -2.796287)'), GeomFromEWKT('SRID=4674;POINT (-40.388679 -2.796283)'))) / (select extract(epoch from '2026-07-29 05:29:47'::timestamp) - extract(epoch from '2026-07-29 05:29:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38869 -2.796287)'), GeomFromEWKT('SRID=4674;POINT (-40.388679 -2.796283)'))) / (select extract(epoch from '2026-07-29 05:29:47'::timestamp) - extract(epoch from '2026-07-29 05:29: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'), 47641, 'SRID=4674;POINT (-40.388673 -2.796289)', '2026-07-29 05:30:00', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388679 -2.796283)'), GeomFromEWKT('SRID=4674;POINT (-40.388673 -2.796289)'))) / (select extract(epoch from '2026-07-29 05:30:00'::timestamp) - extract(epoch from '2026-07-29 05:29:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388679 -2.796283)'), GeomFromEWKT('SRID=4674;POINT (-40.388673 -2.796289)'))) / (select extract(epoch from '2026-07-29 05:30:00'::timestamp) - extract(epoch from '2026-07-29 05:29: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'), 47641, 'SRID=4674;POINT (-40.388681 -2.796282)', '2026-07-29 05:30:13', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388673 -2.796289)'), GeomFromEWKT('SRID=4674;POINT (-40.388681 -2.796282)'))) / (select extract(epoch from '2026-07-29 05:30:13'::timestamp) - extract(epoch from '2026-07-29 05:30:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388673 -2.796289)'), GeomFromEWKT('SRID=4674;POINT (-40.388681 -2.796282)'))) / (select extract(epoch from '2026-07-29 05:30:13'::timestamp) - extract(epoch from '2026-07-29 05:30: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'), 47641, 'SRID=4674;POINT (-40.388677 -2.796268)', '2026-07-29 05:30:31', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388681 -2.796282)'), GeomFromEWKT('SRID=4674;POINT (-40.388677 -2.796268)'))) / (select extract(epoch from '2026-07-29 05:30:31'::timestamp) - extract(epoch from '2026-07-29 05:30:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388681 -2.796282)'), GeomFromEWKT('SRID=4674;POINT (-40.388677 -2.796268)'))) / (select extract(epoch from '2026-07-29 05:30:31'::timestamp) - extract(epoch from '2026-07-29 05:30: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'), 47641, 'SRID=4674;POINT (-40.388674 -2.796273)', '2026-07-29 05:30:47', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388677 -2.796268)'), GeomFromEWKT('SRID=4674;POINT (-40.388674 -2.796273)'))) / (select extract(epoch from '2026-07-29 05:30:47'::timestamp) - extract(epoch from '2026-07-29 05:30:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388677 -2.796268)'), GeomFromEWKT('SRID=4674;POINT (-40.388674 -2.796273)'))) / (select extract(epoch from '2026-07-29 05:30:47'::timestamp) - extract(epoch from '2026-07-29 05:30:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388673 -2.796274)', '2026-07-29 05:31:13', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388674 -2.796273)'), GeomFromEWKT('SRID=4674;POINT (-40.388673 -2.796274)'))) / (select extract(epoch from '2026-07-29 05:31:13'::timestamp) - extract(epoch from '2026-07-29 05:30:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388674 -2.796273)'), GeomFromEWKT('SRID=4674;POINT (-40.388673 -2.796274)'))) / (select extract(epoch from '2026-07-29 05:31:13'::timestamp) - extract(epoch from '2026-07-29 05:30: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'), 47641, 'SRID=4674;POINT (-40.388667 -2.796276)', '2026-07-29 05:31:26', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388673 -2.796274)'), GeomFromEWKT('SRID=4674;POINT (-40.388667 -2.796276)'))) / (select extract(epoch from '2026-07-29 05:31:26'::timestamp) - extract(epoch from '2026-07-29 05:31:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388673 -2.796274)'), GeomFromEWKT('SRID=4674;POINT (-40.388667 -2.796276)'))) / (select extract(epoch from '2026-07-29 05:31:26'::timestamp) - extract(epoch from '2026-07-29 05:31: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'), 47641, 'SRID=4674;POINT (-40.388672 -2.796276)', '2026-07-29 05:31:42', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388667 -2.796276)'), GeomFromEWKT('SRID=4674;POINT (-40.388672 -2.796276)'))) / (select extract(epoch from '2026-07-29 05:31:42'::timestamp) - extract(epoch from '2026-07-29 05:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388667 -2.796276)'), GeomFromEWKT('SRID=4674;POINT (-40.388672 -2.796276)'))) / (select extract(epoch from '2026-07-29 05:31:42'::timestamp) - extract(epoch from '2026-07-29 05:31: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'), 47641, 'SRID=4674;POINT (-40.38867 -2.796286)', '2026-07-29 05:32:00', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388672 -2.796276)'), GeomFromEWKT('SRID=4674;POINT (-40.38867 -2.796286)'))) / (select extract(epoch from '2026-07-29 05:32:00'::timestamp) - extract(epoch from '2026-07-29 05:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388672 -2.796276)'), GeomFromEWKT('SRID=4674;POINT (-40.38867 -2.796286)'))) / (select extract(epoch from '2026-07-29 05:32:00'::timestamp) - extract(epoch from '2026-07-29 05:31:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388659 -2.796285)', '2026-07-29 05:32:09', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38867 -2.796286)'), GeomFromEWKT('SRID=4674;POINT (-40.388659 -2.796285)'))) / (select extract(epoch from '2026-07-29 05:32:09'::timestamp) - extract(epoch from '2026-07-29 05:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38867 -2.796286)'), GeomFromEWKT('SRID=4674;POINT (-40.388659 -2.796285)'))) / (select extract(epoch from '2026-07-29 05:32:09'::timestamp) - extract(epoch from '2026-07-29 05:32:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388659 -2.796281)', '2026-07-29 05:32:20', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388659 -2.796285)'), GeomFromEWKT('SRID=4674;POINT (-40.388659 -2.796281)'))) / (select extract(epoch from '2026-07-29 05:32:20'::timestamp) - extract(epoch from '2026-07-29 05:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388659 -2.796285)'), GeomFromEWKT('SRID=4674;POINT (-40.388659 -2.796281)'))) / (select extract(epoch from '2026-07-29 05:32:20'::timestamp) - extract(epoch from '2026-07-29 05:32: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'), 47641, 'SRID=4674;POINT (-40.388651 -2.796272)', '2026-07-29 05:32:37', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388659 -2.796281)'), GeomFromEWKT('SRID=4674;POINT (-40.388651 -2.796272)'))) / (select extract(epoch from '2026-07-29 05:32:37'::timestamp) - extract(epoch from '2026-07-29 05:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388659 -2.796281)'), GeomFromEWKT('SRID=4674;POINT (-40.388651 -2.796272)'))) / (select extract(epoch from '2026-07-29 05:32:37'::timestamp) - extract(epoch from '2026-07-29 05:32: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'), 47641, 'SRID=4674;POINT (-40.388648 -2.796271)', '2026-07-29 05:32:49', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388651 -2.796272)'), GeomFromEWKT('SRID=4674;POINT (-40.388648 -2.796271)'))) / (select extract(epoch from '2026-07-29 05:32:49'::timestamp) - extract(epoch from '2026-07-29 05:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388651 -2.796272)'), GeomFromEWKT('SRID=4674;POINT (-40.388648 -2.796271)'))) / (select extract(epoch from '2026-07-29 05:32:49'::timestamp) - extract(epoch from '2026-07-29 05:32: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'), 47641, 'SRID=4674;POINT (-40.388645 -2.796274)', '2026-07-29 05:33:08', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388648 -2.796271)'), GeomFromEWKT('SRID=4674;POINT (-40.388645 -2.796274)'))) / (select extract(epoch from '2026-07-29 05:33:08'::timestamp) - extract(epoch from '2026-07-29 05:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388648 -2.796271)'), GeomFromEWKT('SRID=4674;POINT (-40.388645 -2.796274)'))) / (select extract(epoch from '2026-07-29 05:33:08'::timestamp) - extract(epoch from '2026-07-29 05:32: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'), 47641, 'SRID=4674;POINT (-40.388651 -2.796268)', '2026-07-29 05:33:25', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388645 -2.796274)'), GeomFromEWKT('SRID=4674;POINT (-40.388651 -2.796268)'))) / (select extract(epoch from '2026-07-29 05:33:25'::timestamp) - extract(epoch from '2026-07-29 05:33:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388645 -2.796274)'), GeomFromEWKT('SRID=4674;POINT (-40.388651 -2.796268)'))) / (select extract(epoch from '2026-07-29 05:33:25'::timestamp) - extract(epoch from '2026-07-29 05:33: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'), 47641, 'SRID=4674;POINT (-40.388654 -2.79626)', '2026-07-29 05:33:44', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388651 -2.796268)'), GeomFromEWKT('SRID=4674;POINT (-40.388654 -2.79626)'))) / (select extract(epoch from '2026-07-29 05:33:44'::timestamp) - extract(epoch from '2026-07-29 05:33:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388651 -2.796268)'), GeomFromEWKT('SRID=4674;POINT (-40.388654 -2.79626)'))) / (select extract(epoch from '2026-07-29 05:33:44'::timestamp) - extract(epoch from '2026-07-29 05:33: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'), 47641, 'SRID=4674;POINT (-40.38865 -2.796265)', '2026-07-29 05:34:01', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388654 -2.79626)'), GeomFromEWKT('SRID=4674;POINT (-40.38865 -2.796265)'))) / (select extract(epoch from '2026-07-29 05:34:01'::timestamp) - extract(epoch from '2026-07-29 05:33:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388654 -2.79626)'), GeomFromEWKT('SRID=4674;POINT (-40.38865 -2.796265)'))) / (select extract(epoch from '2026-07-29 05:34:01'::timestamp) - extract(epoch from '2026-07-29 05:33:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388651 -2.796261)', '2026-07-29 05:34:18', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38865 -2.796265)'), GeomFromEWKT('SRID=4674;POINT (-40.388651 -2.796261)'))) / (select extract(epoch from '2026-07-29 05:34:18'::timestamp) - extract(epoch from '2026-07-29 05:34:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38865 -2.796265)'), GeomFromEWKT('SRID=4674;POINT (-40.388651 -2.796261)'))) / (select extract(epoch from '2026-07-29 05:34:18'::timestamp) - extract(epoch from '2026-07-29 05:34:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388649 -2.796259)', '2026-07-29 05:34:34', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388651 -2.796261)'), GeomFromEWKT('SRID=4674;POINT (-40.388649 -2.796259)'))) / (select extract(epoch from '2026-07-29 05:34:34'::timestamp) - extract(epoch from '2026-07-29 05:34:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388651 -2.796261)'), GeomFromEWKT('SRID=4674;POINT (-40.388649 -2.796259)'))) / (select extract(epoch from '2026-07-29 05:34:34'::timestamp) - extract(epoch from '2026-07-29 05:34:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388649 -2.796253)', '2026-07-29 05:34:46', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388649 -2.796259)'), GeomFromEWKT('SRID=4674;POINT (-40.388649 -2.796253)'))) / (select extract(epoch from '2026-07-29 05:34:46'::timestamp) - extract(epoch from '2026-07-29 05:34:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388649 -2.796259)'), GeomFromEWKT('SRID=4674;POINT (-40.388649 -2.796253)'))) / (select extract(epoch from '2026-07-29 05:34:46'::timestamp) - extract(epoch from '2026-07-29 05:34:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388638 -2.796256)', '2026-07-29 05:35:01', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388649 -2.796253)'), GeomFromEWKT('SRID=4674;POINT (-40.388638 -2.796256)'))) / (select extract(epoch from '2026-07-29 05:35:01'::timestamp) - extract(epoch from '2026-07-29 05:34:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388649 -2.796253)'), GeomFromEWKT('SRID=4674;POINT (-40.388638 -2.796256)'))) / (select extract(epoch from '2026-07-29 05:35:01'::timestamp) - extract(epoch from '2026-07-29 05:34: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'), 47641, 'SRID=4674;POINT (-40.388644 -2.796257)', '2026-07-29 05:35:15', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388638 -2.796256)'), GeomFromEWKT('SRID=4674;POINT (-40.388644 -2.796257)'))) / (select extract(epoch from '2026-07-29 05:35:15'::timestamp) - extract(epoch from '2026-07-29 05:35:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388638 -2.796256)'), GeomFromEWKT('SRID=4674;POINT (-40.388644 -2.796257)'))) / (select extract(epoch from '2026-07-29 05:35:15'::timestamp) - extract(epoch from '2026-07-29 05:35: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'), 47641, 'SRID=4674;POINT (-40.38865 -2.796265)', '2026-07-29 05:35:35', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388644 -2.796257)'), GeomFromEWKT('SRID=4674;POINT (-40.38865 -2.796265)'))) / (select extract(epoch from '2026-07-29 05:35:35'::timestamp) - extract(epoch from '2026-07-29 05:35:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388644 -2.796257)'), GeomFromEWKT('SRID=4674;POINT (-40.38865 -2.796265)'))) / (select extract(epoch from '2026-07-29 05:35:35'::timestamp) - extract(epoch from '2026-07-29 05:35: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'), 47641, 'SRID=4674;POINT (-40.388644 -2.796262)', '2026-07-29 05:35:56', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38865 -2.796265)'), GeomFromEWKT('SRID=4674;POINT (-40.388644 -2.796262)'))) / (select extract(epoch from '2026-07-29 05:35:56'::timestamp) - extract(epoch from '2026-07-29 05:35:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38865 -2.796265)'), GeomFromEWKT('SRID=4674;POINT (-40.388644 -2.796262)'))) / (select extract(epoch from '2026-07-29 05:35:56'::timestamp) - extract(epoch from '2026-07-29 05:35:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388649 -2.796269)', '2026-07-29 05:36:17', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388644 -2.796262)'), GeomFromEWKT('SRID=4674;POINT (-40.388649 -2.796269)'))) / (select extract(epoch from '2026-07-29 05:36:17'::timestamp) - extract(epoch from '2026-07-29 05:35:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388644 -2.796262)'), GeomFromEWKT('SRID=4674;POINT (-40.388649 -2.796269)'))) / (select extract(epoch from '2026-07-29 05:36:17'::timestamp) - extract(epoch from '2026-07-29 05:35:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388643 -2.796275)', '2026-07-29 05:36:33', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388649 -2.796269)'), GeomFromEWKT('SRID=4674;POINT (-40.388643 -2.796275)'))) / (select extract(epoch from '2026-07-29 05:36:33'::timestamp) - extract(epoch from '2026-07-29 05:36:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388649 -2.796269)'), GeomFromEWKT('SRID=4674;POINT (-40.388643 -2.796275)'))) / (select extract(epoch from '2026-07-29 05:36:33'::timestamp) - extract(epoch from '2026-07-29 05:36:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388631 -2.796266)', '2026-07-29 05:36:49', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388643 -2.796275)'), GeomFromEWKT('SRID=4674;POINT (-40.388631 -2.796266)'))) / (select extract(epoch from '2026-07-29 05:36:49'::timestamp) - extract(epoch from '2026-07-29 05:36:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388643 -2.796275)'), GeomFromEWKT('SRID=4674;POINT (-40.388631 -2.796266)'))) / (select extract(epoch from '2026-07-29 05:36:49'::timestamp) - extract(epoch from '2026-07-29 05:36: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'), 47641, 'SRID=4674;POINT (-40.388632 -2.796265)', '2026-07-29 05:37:05', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388631 -2.796266)'), GeomFromEWKT('SRID=4674;POINT (-40.388632 -2.796265)'))) / (select extract(epoch from '2026-07-29 05:37:05'::timestamp) - extract(epoch from '2026-07-29 05:36:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388631 -2.796266)'), GeomFromEWKT('SRID=4674;POINT (-40.388632 -2.796265)'))) / (select extract(epoch from '2026-07-29 05:37:05'::timestamp) - extract(epoch from '2026-07-29 05:36:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388642 -2.796271)', '2026-07-29 05:37:21', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388632 -2.796265)'), GeomFromEWKT('SRID=4674;POINT (-40.388642 -2.796271)'))) / (select extract(epoch from '2026-07-29 05:37:21'::timestamp) - extract(epoch from '2026-07-29 05:37:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388632 -2.796265)'), GeomFromEWKT('SRID=4674;POINT (-40.388642 -2.796271)'))) / (select extract(epoch from '2026-07-29 05:37:21'::timestamp) - extract(epoch from '2026-07-29 05:37:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388655 -2.79628)', '2026-07-29 05:37:38', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388642 -2.796271)'), GeomFromEWKT('SRID=4674;POINT (-40.388655 -2.79628)'))) / (select extract(epoch from '2026-07-29 05:37:38'::timestamp) - extract(epoch from '2026-07-29 05:37:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388642 -2.796271)'), GeomFromEWKT('SRID=4674;POINT (-40.388655 -2.79628)'))) / (select extract(epoch from '2026-07-29 05:37:38'::timestamp) - extract(epoch from '2026-07-29 05:37:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388654 -2.796268)', '2026-07-29 05:37:55', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388655 -2.79628)'), GeomFromEWKT('SRID=4674;POINT (-40.388654 -2.796268)'))) / (select extract(epoch from '2026-07-29 05:37:55'::timestamp) - extract(epoch from '2026-07-29 05:37:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388655 -2.79628)'), GeomFromEWKT('SRID=4674;POINT (-40.388654 -2.796268)'))) / (select extract(epoch from '2026-07-29 05:37:55'::timestamp) - extract(epoch from '2026-07-29 05:37:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388657 -2.79627)', '2026-07-29 05:38:15', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388654 -2.796268)'), GeomFromEWKT('SRID=4674;POINT (-40.388657 -2.79627)'))) / (select extract(epoch from '2026-07-29 05:38:15'::timestamp) - extract(epoch from '2026-07-29 05:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388654 -2.796268)'), GeomFromEWKT('SRID=4674;POINT (-40.388657 -2.79627)'))) / (select extract(epoch from '2026-07-29 05:38:15'::timestamp) - extract(epoch from '2026-07-29 05:37: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'), 47641, 'SRID=4674;POINT (-40.388654 -2.796274)', '2026-07-29 05:38:30', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388657 -2.79627)'), GeomFromEWKT('SRID=4674;POINT (-40.388654 -2.796274)'))) / (select extract(epoch from '2026-07-29 05:38:30'::timestamp) - extract(epoch from '2026-07-29 05:38:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388657 -2.79627)'), GeomFromEWKT('SRID=4674;POINT (-40.388654 -2.796274)'))) / (select extract(epoch from '2026-07-29 05:38:30'::timestamp) - extract(epoch from '2026-07-29 05:38: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'), 47641, 'SRID=4674;POINT (-40.38866 -2.796286)', '2026-07-29 05:38:42', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388654 -2.796274)'), GeomFromEWKT('SRID=4674;POINT (-40.38866 -2.796286)'))) / (select extract(epoch from '2026-07-29 05:38:42'::timestamp) - extract(epoch from '2026-07-29 05:38:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388654 -2.796274)'), GeomFromEWKT('SRID=4674;POINT (-40.38866 -2.796286)'))) / (select extract(epoch from '2026-07-29 05:38:42'::timestamp) - extract(epoch from '2026-07-29 05:38: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'), 47641, 'SRID=4674;POINT (-40.388656 -2.796286)', '2026-07-29 05:39:00', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38866 -2.796286)'), GeomFromEWKT('SRID=4674;POINT (-40.388656 -2.796286)'))) / (select extract(epoch from '2026-07-29 05:39:00'::timestamp) - extract(epoch from '2026-07-29 05:38:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38866 -2.796286)'), GeomFromEWKT('SRID=4674;POINT (-40.388656 -2.796286)'))) / (select extract(epoch from '2026-07-29 05:39:00'::timestamp) - extract(epoch from '2026-07-29 05:38: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'), 47641, 'SRID=4674;POINT (-40.388654 -2.79628)', '2026-07-29 05:39:17', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388656 -2.796286)'), GeomFromEWKT('SRID=4674;POINT (-40.388654 -2.79628)'))) / (select extract(epoch from '2026-07-29 05:39:17'::timestamp) - extract(epoch from '2026-07-29 05:39:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388656 -2.796286)'), GeomFromEWKT('SRID=4674;POINT (-40.388654 -2.79628)'))) / (select extract(epoch from '2026-07-29 05:39:17'::timestamp) - extract(epoch from '2026-07-29 05:39: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'), 47641, 'SRID=4674;POINT (-40.388657 -2.796285)', '2026-07-29 05:39:34', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388654 -2.79628)'), GeomFromEWKT('SRID=4674;POINT (-40.388657 -2.796285)'))) / (select extract(epoch from '2026-07-29 05:39:34'::timestamp) - extract(epoch from '2026-07-29 05:39:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388654 -2.79628)'), GeomFromEWKT('SRID=4674;POINT (-40.388657 -2.796285)'))) / (select extract(epoch from '2026-07-29 05:39:34'::timestamp) - extract(epoch from '2026-07-29 05:39: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'), 47641, 'SRID=4674;POINT (-40.388662 -2.796294)', '2026-07-29 05:39:50', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388657 -2.796285)'), GeomFromEWKT('SRID=4674;POINT (-40.388662 -2.796294)'))) / (select extract(epoch from '2026-07-29 05:39:50'::timestamp) - extract(epoch from '2026-07-29 05:39:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388657 -2.796285)'), GeomFromEWKT('SRID=4674;POINT (-40.388662 -2.796294)'))) / (select extract(epoch from '2026-07-29 05:39:50'::timestamp) - extract(epoch from '2026-07-29 05:39: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'), 47641, 'SRID=4674;POINT (-40.388671 -2.796303)', '2026-07-29 05:40:00', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388662 -2.796294)'), GeomFromEWKT('SRID=4674;POINT (-40.388671 -2.796303)'))) / (select extract(epoch from '2026-07-29 05:40:00'::timestamp) - extract(epoch from '2026-07-29 05:39:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388662 -2.796294)'), GeomFromEWKT('SRID=4674;POINT (-40.388671 -2.796303)'))) / (select extract(epoch from '2026-07-29 05:40:00'::timestamp) - extract(epoch from '2026-07-29 05:39: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'), 47641, 'SRID=4674;POINT (-40.388655 -2.796324)', '2026-07-29 05:40:17', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388671 -2.796303)'), GeomFromEWKT('SRID=4674;POINT (-40.388655 -2.796324)'))) / (select extract(epoch from '2026-07-29 05:40:17'::timestamp) - extract(epoch from '2026-07-29 05:40:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388671 -2.796303)'), GeomFromEWKT('SRID=4674;POINT (-40.388655 -2.796324)'))) / (select extract(epoch from '2026-07-29 05:40:17'::timestamp) - extract(epoch from '2026-07-29 05:40: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'), 47641, 'SRID=4674;POINT (-40.388584 -2.796348)', '2026-07-29 05:40:29', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388655 -2.796324)'), GeomFromEWKT('SRID=4674;POINT (-40.388584 -2.796348)'))) / (select extract(epoch from '2026-07-29 05:40:29'::timestamp) - extract(epoch from '2026-07-29 05:40:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388655 -2.796324)'), GeomFromEWKT('SRID=4674;POINT (-40.388584 -2.796348)'))) / (select extract(epoch from '2026-07-29 05:40:29'::timestamp) - extract(epoch from '2026-07-29 05:40:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388518 -2.79639)', '2026-07-29 05:40:43', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388584 -2.796348)'), GeomFromEWKT('SRID=4674;POINT (-40.388518 -2.79639)'))) / (select extract(epoch from '2026-07-29 05:40:43'::timestamp) - extract(epoch from '2026-07-29 05:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388584 -2.796348)'), GeomFromEWKT('SRID=4674;POINT (-40.388518 -2.79639)'))) / (select extract(epoch from '2026-07-29 05:40:43'::timestamp) - extract(epoch from '2026-07-29 05:40:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388505 -2.796431)', '2026-07-29 05:40:53', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388518 -2.79639)'), GeomFromEWKT('SRID=4674;POINT (-40.388505 -2.796431)'))) / (select extract(epoch from '2026-07-29 05:40:53'::timestamp) - extract(epoch from '2026-07-29 05:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388518 -2.79639)'), GeomFromEWKT('SRID=4674;POINT (-40.388505 -2.796431)'))) / (select extract(epoch from '2026-07-29 05:40:53'::timestamp) - extract(epoch from '2026-07-29 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'), 47641, 'SRID=4674;POINT (-40.388519 -2.796436)', '2026-07-29 05:41:08', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388505 -2.796431)'), GeomFromEWKT('SRID=4674;POINT (-40.388519 -2.796436)'))) / (select extract(epoch from '2026-07-29 05:41:08'::timestamp) - extract(epoch from '2026-07-29 05:40:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388505 -2.796431)'), GeomFromEWKT('SRID=4674;POINT (-40.388519 -2.796436)'))) / (select extract(epoch from '2026-07-29 05:41:08'::timestamp) - extract(epoch from '2026-07-29 05:40: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'), 47641, 'SRID=4674;POINT (-40.388545 -2.796418)', '2026-07-29 05:41:21', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388519 -2.796436)'), GeomFromEWKT('SRID=4674;POINT (-40.388545 -2.796418)'))) / (select extract(epoch from '2026-07-29 05:41:21'::timestamp) - extract(epoch from '2026-07-29 05:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388519 -2.796436)'), GeomFromEWKT('SRID=4674;POINT (-40.388545 -2.796418)'))) / (select extract(epoch from '2026-07-29 05:41:21'::timestamp) - extract(epoch from '2026-07-29 05:41:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.38857 -2.796391)', '2026-07-29 05:41:36', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388545 -2.796418)'), GeomFromEWKT('SRID=4674;POINT (-40.38857 -2.796391)'))) / (select extract(epoch from '2026-07-29 05:41:36'::timestamp) - extract(epoch from '2026-07-29 05:41:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388545 -2.796418)'), GeomFromEWKT('SRID=4674;POINT (-40.38857 -2.796391)'))) / (select extract(epoch from '2026-07-29 05:41:36'::timestamp) - extract(epoch from '2026-07-29 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'), 47641, 'SRID=4674;POINT (-40.38855 -2.796362)', '2026-07-29 05:41:51', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38857 -2.796391)'), GeomFromEWKT('SRID=4674;POINT (-40.38855 -2.796362)'))) / (select extract(epoch from '2026-07-29 05:41:51'::timestamp) - extract(epoch from '2026-07-29 05:41:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38857 -2.796391)'), GeomFromEWKT('SRID=4674;POINT (-40.38855 -2.796362)'))) / (select extract(epoch from '2026-07-29 05:41:51'::timestamp) - extract(epoch from '2026-07-29 05:41: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'), 47641, 'SRID=4674;POINT (-40.388468 -2.796377)', '2026-07-29 05:42:05', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38855 -2.796362)'), GeomFromEWKT('SRID=4674;POINT (-40.388468 -2.796377)'))) / (select extract(epoch from '2026-07-29 05:42:05'::timestamp) - extract(epoch from '2026-07-29 05:41:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38855 -2.796362)'), GeomFromEWKT('SRID=4674;POINT (-40.388468 -2.796377)'))) / (select extract(epoch from '2026-07-29 05:42:05'::timestamp) - extract(epoch from '2026-07-29 05:41: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'), 47641, 'SRID=4674;POINT (-40.388374 -2.796402)', '2026-07-29 05:42:20', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388468 -2.796377)'), GeomFromEWKT('SRID=4674;POINT (-40.388374 -2.796402)'))) / (select extract(epoch from '2026-07-29 05:42:20'::timestamp) - extract(epoch from '2026-07-29 05:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388468 -2.796377)'), GeomFromEWKT('SRID=4674;POINT (-40.388374 -2.796402)'))) / (select extract(epoch from '2026-07-29 05:42:20'::timestamp) - extract(epoch from '2026-07-29 05:42:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.388281 -2.796441)', '2026-07-29 05:42:36', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388374 -2.796402)'), GeomFromEWKT('SRID=4674;POINT (-40.388281 -2.796441)'))) / (select extract(epoch from '2026-07-29 05:42:36'::timestamp) - extract(epoch from '2026-07-29 05:42:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388374 -2.796402)'), GeomFromEWKT('SRID=4674;POINT (-40.388281 -2.796441)'))) / (select extract(epoch from '2026-07-29 05:42:36'::timestamp) - extract(epoch from '2026-07-29 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'), 47641, 'SRID=4674;POINT (-40.388219 -2.796452)', '2026-07-29 05:42:50', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388281 -2.796441)'), GeomFromEWKT('SRID=4674;POINT (-40.388219 -2.796452)'))) / (select extract(epoch from '2026-07-29 05:42:50'::timestamp) - extract(epoch from '2026-07-29 05:42:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388281 -2.796441)'), GeomFromEWKT('SRID=4674;POINT (-40.388219 -2.796452)'))) / (select extract(epoch from '2026-07-29 05:42:50'::timestamp) - extract(epoch from '2026-07-29 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'), 47641, 'SRID=4674;POINT (-40.388182 -2.796466)', '2026-07-29 05:43:04', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388219 -2.796452)'), GeomFromEWKT('SRID=4674;POINT (-40.388182 -2.796466)'))) / (select extract(epoch from '2026-07-29 05:43:04'::timestamp) - extract(epoch from '2026-07-29 05:42:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388219 -2.796452)'), GeomFromEWKT('SRID=4674;POINT (-40.388182 -2.796466)'))) / (select extract(epoch from '2026-07-29 05:43:04'::timestamp) - extract(epoch from '2026-07-29 05:42: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'), 47641, 'SRID=4674;POINT (-40.388124 -2.796492)', '2026-07-29 05:43:20', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388182 -2.796466)'), GeomFromEWKT('SRID=4674;POINT (-40.388124 -2.796492)'))) / (select extract(epoch from '2026-07-29 05:43:20'::timestamp) - extract(epoch from '2026-07-29 05:43:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388182 -2.796466)'), GeomFromEWKT('SRID=4674;POINT (-40.388124 -2.796492)'))) / (select extract(epoch from '2026-07-29 05:43:20'::timestamp) - extract(epoch from '2026-07-29 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'), 47641, 'SRID=4674;POINT (-40.388112 -2.796484)', '2026-07-29 05:43:33', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388124 -2.796492)'), GeomFromEWKT('SRID=4674;POINT (-40.388112 -2.796484)'))) / (select extract(epoch from '2026-07-29 05:43:33'::timestamp) - extract(epoch from '2026-07-29 05:43:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388124 -2.796492)'), GeomFromEWKT('SRID=4674;POINT (-40.388112 -2.796484)'))) / (select extract(epoch from '2026-07-29 05:43:33'::timestamp) - extract(epoch from '2026-07-29 05:43: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'), 47641, 'SRID=4674;POINT (-40.388101 -2.796486)', '2026-07-29 05:43:41', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388112 -2.796484)'), GeomFromEWKT('SRID=4674;POINT (-40.388101 -2.796486)'))) / (select extract(epoch from '2026-07-29 05:43:41'::timestamp) - extract(epoch from '2026-07-29 05:43:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388112 -2.796484)'), GeomFromEWKT('SRID=4674;POINT (-40.388101 -2.796486)'))) / (select extract(epoch from '2026-07-29 05:43:41'::timestamp) - extract(epoch from '2026-07-29 05:43: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'), 47641, 'SRID=4674;POINT (-40.388057 -2.796509)', '2026-07-29 05:43:51', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388101 -2.796486)'), GeomFromEWKT('SRID=4674;POINT (-40.388057 -2.796509)'))) / (select extract(epoch from '2026-07-29 05:43:51'::timestamp) - extract(epoch from '2026-07-29 05:43:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388101 -2.796486)'), GeomFromEWKT('SRID=4674;POINT (-40.388057 -2.796509)'))) / (select extract(epoch from '2026-07-29 05:43:51'::timestamp) - extract(epoch from '2026-07-29 05:43: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'), 47641, 'SRID=4674;POINT (-40.387972 -2.796543)', '2026-07-29 05:44:06', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388057 -2.796509)'), GeomFromEWKT('SRID=4674;POINT (-40.387972 -2.796543)'))) / (select extract(epoch from '2026-07-29 05:44:06'::timestamp) - extract(epoch from '2026-07-29 05:43:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388057 -2.796509)'), GeomFromEWKT('SRID=4674;POINT (-40.387972 -2.796543)'))) / (select extract(epoch from '2026-07-29 05:44:06'::timestamp) - extract(epoch from '2026-07-29 05:43:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.387871 -2.796583)', '2026-07-29 05:44:20', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387972 -2.796543)'), GeomFromEWKT('SRID=4674;POINT (-40.387871 -2.796583)'))) / (select extract(epoch from '2026-07-29 05:44:20'::timestamp) - extract(epoch from '2026-07-29 05:44:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387972 -2.796543)'), GeomFromEWKT('SRID=4674;POINT (-40.387871 -2.796583)'))) / (select extract(epoch from '2026-07-29 05:44:20'::timestamp) - extract(epoch from '2026-07-29 05:44: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'), 47641, 'SRID=4674;POINT (-40.387806 -2.796624)', '2026-07-29 05:44:34', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387871 -2.796583)'), GeomFromEWKT('SRID=4674;POINT (-40.387806 -2.796624)'))) / (select extract(epoch from '2026-07-29 05:44:34'::timestamp) - extract(epoch from '2026-07-29 05:44:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387871 -2.796583)'), GeomFromEWKT('SRID=4674;POINT (-40.387806 -2.796624)'))) / (select extract(epoch from '2026-07-29 05:44:34'::timestamp) - extract(epoch from '2026-07-29 05:44: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'), 47641, 'SRID=4674;POINT (-40.387766 -2.796647)', '2026-07-29 05:44:48', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387806 -2.796624)'), GeomFromEWKT('SRID=4674;POINT (-40.387766 -2.796647)'))) / (select extract(epoch from '2026-07-29 05:44:48'::timestamp) - extract(epoch from '2026-07-29 05:44:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387806 -2.796624)'), GeomFromEWKT('SRID=4674;POINT (-40.387766 -2.796647)'))) / (select extract(epoch from '2026-07-29 05:44:48'::timestamp) - extract(epoch from '2026-07-29 05:44: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'), 47641, 'SRID=4674;POINT (-40.387709 -2.796651)', '2026-07-29 05:45:05', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387766 -2.796647)'), GeomFromEWKT('SRID=4674;POINT (-40.387709 -2.796651)'))) / (select extract(epoch from '2026-07-29 05:45:05'::timestamp) - extract(epoch from '2026-07-29 05:44:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387766 -2.796647)'), GeomFromEWKT('SRID=4674;POINT (-40.387709 -2.796651)'))) / (select extract(epoch from '2026-07-29 05:45:05'::timestamp) - extract(epoch from '2026-07-29 05:44:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.387633 -2.79665)', '2026-07-29 05:45:20', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387709 -2.796651)'), GeomFromEWKT('SRID=4674;POINT (-40.387633 -2.79665)'))) / (select extract(epoch from '2026-07-29 05:45:20'::timestamp) - extract(epoch from '2026-07-29 05:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387709 -2.796651)'), GeomFromEWKT('SRID=4674;POINT (-40.387633 -2.79665)'))) / (select extract(epoch from '2026-07-29 05:45:20'::timestamp) - extract(epoch from '2026-07-29 05:45: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'), 47641, 'SRID=4674;POINT (-40.387554 -2.796688)', '2026-07-29 05:45:33', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387633 -2.79665)'), GeomFromEWKT('SRID=4674;POINT (-40.387554 -2.796688)'))) / (select extract(epoch from '2026-07-29 05:45:33'::timestamp) - extract(epoch from '2026-07-29 05:45:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387633 -2.79665)'), GeomFromEWKT('SRID=4674;POINT (-40.387554 -2.796688)'))) / (select extract(epoch from '2026-07-29 05:45:33'::timestamp) - extract(epoch from '2026-07-29 05:45:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.387494 -2.796724)', '2026-07-29 05:45:46', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387554 -2.796688)'), GeomFromEWKT('SRID=4674;POINT (-40.387494 -2.796724)'))) / (select extract(epoch from '2026-07-29 05:45:46'::timestamp) - extract(epoch from '2026-07-29 05:45:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387554 -2.796688)'), GeomFromEWKT('SRID=4674;POINT (-40.387494 -2.796724)'))) / (select extract(epoch from '2026-07-29 05:45:46'::timestamp) - extract(epoch from '2026-07-29 05:45:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.387416 -2.796731)', '2026-07-29 05:46:01', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387494 -2.796724)'), GeomFromEWKT('SRID=4674;POINT (-40.387416 -2.796731)'))) / (select extract(epoch from '2026-07-29 05:46:01'::timestamp) - extract(epoch from '2026-07-29 05:45:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387494 -2.796724)'), GeomFromEWKT('SRID=4674;POINT (-40.387416 -2.796731)'))) / (select extract(epoch from '2026-07-29 05:46:01'::timestamp) - extract(epoch from '2026-07-29 05:45: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'), 47641, 'SRID=4674;POINT (-40.387392 -2.796732)', '2026-07-29 05:46:14', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387416 -2.796731)'), GeomFromEWKT('SRID=4674;POINT (-40.387392 -2.796732)'))) / (select extract(epoch from '2026-07-29 05:46:14'::timestamp) - extract(epoch from '2026-07-29 05:46:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387416 -2.796731)'), GeomFromEWKT('SRID=4674;POINT (-40.387392 -2.796732)'))) / (select extract(epoch from '2026-07-29 05:46:14'::timestamp) - extract(epoch from '2026-07-29 05:46: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'), 47641, 'SRID=4674;POINT (-40.387371 -2.79674)', '2026-07-29 05:46:27', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387392 -2.796732)'), GeomFromEWKT('SRID=4674;POINT (-40.387371 -2.79674)'))) / (select extract(epoch from '2026-07-29 05:46:27'::timestamp) - extract(epoch from '2026-07-29 05:46:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387392 -2.796732)'), GeomFromEWKT('SRID=4674;POINT (-40.387371 -2.79674)'))) / (select extract(epoch from '2026-07-29 05:46:27'::timestamp) - extract(epoch from '2026-07-29 05:46: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'), 47641, 'SRID=4674;POINT (-40.387298 -2.796776)', '2026-07-29 05:46:42', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387371 -2.79674)'), GeomFromEWKT('SRID=4674;POINT (-40.387298 -2.796776)'))) / (select extract(epoch from '2026-07-29 05:46:42'::timestamp) - extract(epoch from '2026-07-29 05:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387371 -2.79674)'), GeomFromEWKT('SRID=4674;POINT (-40.387298 -2.796776)'))) / (select extract(epoch from '2026-07-29 05:46:42'::timestamp) - extract(epoch from '2026-07-29 05:46: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'), 47641, 'SRID=4674;POINT (-40.387248 -2.796795)', '2026-07-29 05:46:55', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387298 -2.796776)'), GeomFromEWKT('SRID=4674;POINT (-40.387248 -2.796795)'))) / (select extract(epoch from '2026-07-29 05:46:55'::timestamp) - extract(epoch from '2026-07-29 05:46:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387298 -2.796776)'), GeomFromEWKT('SRID=4674;POINT (-40.387248 -2.796795)'))) / (select extract(epoch from '2026-07-29 05:46:55'::timestamp) - extract(epoch from '2026-07-29 05:46: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'), 47641, 'SRID=4674;POINT (-40.387204 -2.796811)', '2026-07-29 05:47:07', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387248 -2.796795)'), GeomFromEWKT('SRID=4674;POINT (-40.387204 -2.796811)'))) / (select extract(epoch from '2026-07-29 05:47:07'::timestamp) - extract(epoch from '2026-07-29 05:46:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387248 -2.796795)'), GeomFromEWKT('SRID=4674;POINT (-40.387204 -2.796811)'))) / (select extract(epoch from '2026-07-29 05:47:07'::timestamp) - extract(epoch from '2026-07-29 05:46:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.387155 -2.796833)', '2026-07-29 05:47:19', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387204 -2.796811)'), GeomFromEWKT('SRID=4674;POINT (-40.387155 -2.796833)'))) / (select extract(epoch from '2026-07-29 05:47:19'::timestamp) - extract(epoch from '2026-07-29 05:47:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387204 -2.796811)'), GeomFromEWKT('SRID=4674;POINT (-40.387155 -2.796833)'))) / (select extract(epoch from '2026-07-29 05:47:19'::timestamp) - extract(epoch from '2026-07-29 05:47: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'), 47641, 'SRID=4674;POINT (-40.38707 -2.796868)', '2026-07-29 05:47:34', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387155 -2.796833)'), GeomFromEWKT('SRID=4674;POINT (-40.38707 -2.796868)'))) / (select extract(epoch from '2026-07-29 05:47:34'::timestamp) - extract(epoch from '2026-07-29 05:47:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387155 -2.796833)'), GeomFromEWKT('SRID=4674;POINT (-40.38707 -2.796868)'))) / (select extract(epoch from '2026-07-29 05:47:34'::timestamp) - extract(epoch from '2026-07-29 05:47: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'), 47641, 'SRID=4674;POINT (-40.387012 -2.796895)', '2026-07-29 05:47:46', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38707 -2.796868)'), GeomFromEWKT('SRID=4674;POINT (-40.387012 -2.796895)'))) / (select extract(epoch from '2026-07-29 05:47:46'::timestamp) - extract(epoch from '2026-07-29 05:47:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38707 -2.796868)'), GeomFromEWKT('SRID=4674;POINT (-40.387012 -2.796895)'))) / (select extract(epoch from '2026-07-29 05:47:46'::timestamp) - extract(epoch from '2026-07-29 05:47: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'), 47641, 'SRID=4674;POINT (-40.386953 -2.796886)', '2026-07-29 05:48:02', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387012 -2.796895)'), GeomFromEWKT('SRID=4674;POINT (-40.386953 -2.796886)'))) / (select extract(epoch from '2026-07-29 05:48:02'::timestamp) - extract(epoch from '2026-07-29 05:47:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387012 -2.796895)'), GeomFromEWKT('SRID=4674;POINT (-40.386953 -2.796886)'))) / (select extract(epoch from '2026-07-29 05:48:02'::timestamp) - extract(epoch from '2026-07-29 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'), 47641, 'SRID=4674;POINT (-40.386922 -2.796903)', '2026-07-29 05:48:14', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386953 -2.796886)'), GeomFromEWKT('SRID=4674;POINT (-40.386922 -2.796903)'))) / (select extract(epoch from '2026-07-29 05:48:14'::timestamp) - extract(epoch from '2026-07-29 05:48:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386953 -2.796886)'), GeomFromEWKT('SRID=4674;POINT (-40.386922 -2.796903)'))) / (select extract(epoch from '2026-07-29 05:48:14'::timestamp) - extract(epoch from '2026-07-29 05:48: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'), 47641, 'SRID=4674;POINT (-40.386849 -2.796944)', '2026-07-29 05:48:27', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386922 -2.796903)'), GeomFromEWKT('SRID=4674;POINT (-40.386849 -2.796944)'))) / (select extract(epoch from '2026-07-29 05:48:27'::timestamp) - extract(epoch from '2026-07-29 05:48:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386922 -2.796903)'), GeomFromEWKT('SRID=4674;POINT (-40.386849 -2.796944)'))) / (select extract(epoch from '2026-07-29 05:48:27'::timestamp) - extract(epoch from '2026-07-29 05:48: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'), 47641, 'SRID=4674;POINT (-40.386762 -2.796972)', '2026-07-29 05:48:41', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386849 -2.796944)'), GeomFromEWKT('SRID=4674;POINT (-40.386762 -2.796972)'))) / (select extract(epoch from '2026-07-29 05:48:41'::timestamp) - extract(epoch from '2026-07-29 05:48:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386849 -2.796944)'), GeomFromEWKT('SRID=4674;POINT (-40.386762 -2.796972)'))) / (select extract(epoch from '2026-07-29 05:48:41'::timestamp) - extract(epoch from '2026-07-29 05:48: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'), 47641, 'SRID=4674;POINT (-40.386707 -2.797001)', '2026-07-29 05:48:55', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386762 -2.796972)'), GeomFromEWKT('SRID=4674;POINT (-40.386707 -2.797001)'))) / (select extract(epoch from '2026-07-29 05:48:55'::timestamp) - extract(epoch from '2026-07-29 05:48:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386762 -2.796972)'), GeomFromEWKT('SRID=4674;POINT (-40.386707 -2.797001)'))) / (select extract(epoch from '2026-07-29 05:48:55'::timestamp) - extract(epoch from '2026-07-29 05:48: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'), 47641, 'SRID=4674;POINT (-40.386629 -2.797038)', '2026-07-29 05:49:11', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386707 -2.797001)'), GeomFromEWKT('SRID=4674;POINT (-40.386629 -2.797038)'))) / (select extract(epoch from '2026-07-29 05:49:11'::timestamp) - extract(epoch from '2026-07-29 05:48:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386707 -2.797001)'), GeomFromEWKT('SRID=4674;POINT (-40.386629 -2.797038)'))) / (select extract(epoch from '2026-07-29 05:49:11'::timestamp) - extract(epoch from '2026-07-29 05:48: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'), 47641, 'SRID=4674;POINT (-40.386539 -2.797064)', '2026-07-29 05:49:26', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386629 -2.797038)'), GeomFromEWKT('SRID=4674;POINT (-40.386539 -2.797064)'))) / (select extract(epoch from '2026-07-29 05:49:26'::timestamp) - extract(epoch from '2026-07-29 05:49:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386629 -2.797038)'), GeomFromEWKT('SRID=4674;POINT (-40.386539 -2.797064)'))) / (select extract(epoch from '2026-07-29 05:49:26'::timestamp) - extract(epoch from '2026-07-29 05:49: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'), 47641, 'SRID=4674;POINT (-40.386478 -2.79708)', '2026-07-29 05:49:40', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386539 -2.797064)'), GeomFromEWKT('SRID=4674;POINT (-40.386478 -2.79708)'))) / (select extract(epoch from '2026-07-29 05:49:40'::timestamp) - extract(epoch from '2026-07-29 05:49:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386539 -2.797064)'), GeomFromEWKT('SRID=4674;POINT (-40.386478 -2.79708)'))) / (select extract(epoch from '2026-07-29 05:49:40'::timestamp) - extract(epoch from '2026-07-29 05:49: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'), 47641, 'SRID=4674;POINT (-40.386447 -2.797104)', '2026-07-29 05:49:52', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386478 -2.79708)'), GeomFromEWKT('SRID=4674;POINT (-40.386447 -2.797104)'))) / (select extract(epoch from '2026-07-29 05:49:52'::timestamp) - extract(epoch from '2026-07-29 05:49:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386478 -2.79708)'), GeomFromEWKT('SRID=4674;POINT (-40.386447 -2.797104)'))) / (select extract(epoch from '2026-07-29 05:49:52'::timestamp) - extract(epoch from '2026-07-29 05:49: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'), 47641, 'SRID=4674;POINT (-40.386429 -2.797124)', '2026-07-29 05:50:02', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386447 -2.797104)'), GeomFromEWKT('SRID=4674;POINT (-40.386429 -2.797124)'))) / (select extract(epoch from '2026-07-29 05:50:02'::timestamp) - extract(epoch from '2026-07-29 05:49:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386447 -2.797104)'), GeomFromEWKT('SRID=4674;POINT (-40.386429 -2.797124)'))) / (select extract(epoch from '2026-07-29 05:50:02'::timestamp) - extract(epoch from '2026-07-29 05:49: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'), 47641, 'SRID=4674;POINT (-40.386383 -2.797136)', '2026-07-29 05:50:17', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386429 -2.797124)'), GeomFromEWKT('SRID=4674;POINT (-40.386383 -2.797136)'))) / (select extract(epoch from '2026-07-29 05:50:17'::timestamp) - extract(epoch from '2026-07-29 05:50:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386429 -2.797124)'), GeomFromEWKT('SRID=4674;POINT (-40.386383 -2.797136)'))) / (select extract(epoch from '2026-07-29 05:50:17'::timestamp) - extract(epoch from '2026-07-29 05:50: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'), 47641, 'SRID=4674;POINT (-40.386326 -2.797141)', '2026-07-29 05:50:30', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386383 -2.797136)'), GeomFromEWKT('SRID=4674;POINT (-40.386326 -2.797141)'))) / (select extract(epoch from '2026-07-29 05:50:30'::timestamp) - extract(epoch from '2026-07-29 05:50:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386383 -2.797136)'), GeomFromEWKT('SRID=4674;POINT (-40.386326 -2.797141)'))) / (select extract(epoch from '2026-07-29 05:50:30'::timestamp) - extract(epoch from '2026-07-29 05:50: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'), 47641, 'SRID=4674;POINT (-40.386241 -2.797168)', '2026-07-29 05:50:46', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386326 -2.797141)'), GeomFromEWKT('SRID=4674;POINT (-40.386241 -2.797168)'))) / (select extract(epoch from '2026-07-29 05:50:46'::timestamp) - extract(epoch from '2026-07-29 05:50:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386326 -2.797141)'), GeomFromEWKT('SRID=4674;POINT (-40.386241 -2.797168)'))) / (select extract(epoch from '2026-07-29 05:50:46'::timestamp) - extract(epoch from '2026-07-29 05:50: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'), 47641, 'SRID=4674;POINT (-40.386201 -2.797199)', '2026-07-29 05:50:58', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386241 -2.797168)'), GeomFromEWKT('SRID=4674;POINT (-40.386201 -2.797199)'))) / (select extract(epoch from '2026-07-29 05:50:58'::timestamp) - extract(epoch from '2026-07-29 05:50:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386241 -2.797168)'), GeomFromEWKT('SRID=4674;POINT (-40.386201 -2.797199)'))) / (select extract(epoch from '2026-07-29 05:50:58'::timestamp) - extract(epoch from '2026-07-29 05:50: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'), 47641, 'SRID=4674;POINT (-40.386159 -2.797219)', '2026-07-29 05:51:12', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386201 -2.797199)'), GeomFromEWKT('SRID=4674;POINT (-40.386159 -2.797219)'))) / (select extract(epoch from '2026-07-29 05:51:12'::timestamp) - extract(epoch from '2026-07-29 05:50:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386201 -2.797199)'), GeomFromEWKT('SRID=4674;POINT (-40.386159 -2.797219)'))) / (select extract(epoch from '2026-07-29 05:51:12'::timestamp) - extract(epoch from '2026-07-29 05:50:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.386101 -2.797224)', '2026-07-29 05:51:27', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386159 -2.797219)'), GeomFromEWKT('SRID=4674;POINT (-40.386101 -2.797224)'))) / (select extract(epoch from '2026-07-29 05:51:27'::timestamp) - extract(epoch from '2026-07-29 05:51:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386159 -2.797219)'), GeomFromEWKT('SRID=4674;POINT (-40.386101 -2.797224)'))) / (select extract(epoch from '2026-07-29 05:51:27'::timestamp) - extract(epoch from '2026-07-29 05:51:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.386051 -2.797237)', '2026-07-29 05:51:40', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386101 -2.797224)'), GeomFromEWKT('SRID=4674;POINT (-40.386051 -2.797237)'))) / (select extract(epoch from '2026-07-29 05:51:40'::timestamp) - extract(epoch from '2026-07-29 05:51:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386101 -2.797224)'), GeomFromEWKT('SRID=4674;POINT (-40.386051 -2.797237)'))) / (select extract(epoch from '2026-07-29 05:51:40'::timestamp) - extract(epoch from '2026-07-29 05:51: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'), 47641, 'SRID=4674;POINT (-40.385986 -2.797258)', '2026-07-29 05:51:53', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386051 -2.797237)'), GeomFromEWKT('SRID=4674;POINT (-40.385986 -2.797258)'))) / (select extract(epoch from '2026-07-29 05:51:53'::timestamp) - extract(epoch from '2026-07-29 05:51:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386051 -2.797237)'), GeomFromEWKT('SRID=4674;POINT (-40.385986 -2.797258)'))) / (select extract(epoch from '2026-07-29 05:51:53'::timestamp) - extract(epoch from '2026-07-29 05:51: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'), 47641, 'SRID=4674;POINT (-40.385914 -2.797277)', '2026-07-29 05:52:08', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385986 -2.797258)'), GeomFromEWKT('SRID=4674;POINT (-40.385914 -2.797277)'))) / (select extract(epoch from '2026-07-29 05:52:08'::timestamp) - extract(epoch from '2026-07-29 05:51:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385986 -2.797258)'), GeomFromEWKT('SRID=4674;POINT (-40.385914 -2.797277)'))) / (select extract(epoch from '2026-07-29 05:52:08'::timestamp) - extract(epoch from '2026-07-29 05:51:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.385847 -2.79732)', '2026-07-29 05:52:25', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385914 -2.797277)'), GeomFromEWKT('SRID=4674;POINT (-40.385847 -2.79732)'))) / (select extract(epoch from '2026-07-29 05:52:25'::timestamp) - extract(epoch from '2026-07-29 05:52:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385914 -2.797277)'), GeomFromEWKT('SRID=4674;POINT (-40.385847 -2.79732)'))) / (select extract(epoch from '2026-07-29 05:52:25'::timestamp) - extract(epoch from '2026-07-29 05:52: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'), 47641, 'SRID=4674;POINT (-40.385764 -2.797332)', '2026-07-29 05:52:41', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385847 -2.79732)'), GeomFromEWKT('SRID=4674;POINT (-40.385764 -2.797332)'))) / (select extract(epoch from '2026-07-29 05:52:41'::timestamp) - extract(epoch from '2026-07-29 05:52:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385847 -2.79732)'), GeomFromEWKT('SRID=4674;POINT (-40.385764 -2.797332)'))) / (select extract(epoch from '2026-07-29 05:52:41'::timestamp) - extract(epoch from '2026-07-29 05:52: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'), 47641, 'SRID=4674;POINT (-40.385713 -2.797363)', '2026-07-29 05:52:54', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385764 -2.797332)'), GeomFromEWKT('SRID=4674;POINT (-40.385713 -2.797363)'))) / (select extract(epoch from '2026-07-29 05:52:54'::timestamp) - extract(epoch from '2026-07-29 05:52:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385764 -2.797332)'), GeomFromEWKT('SRID=4674;POINT (-40.385713 -2.797363)'))) / (select extract(epoch from '2026-07-29 05:52:54'::timestamp) - extract(epoch from '2026-07-29 05:52: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'), 47641, 'SRID=4674;POINT (-40.385674 -2.797381)', '2026-07-29 05:53:06', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385713 -2.797363)'), GeomFromEWKT('SRID=4674;POINT (-40.385674 -2.797381)'))) / (select extract(epoch from '2026-07-29 05:53:06'::timestamp) - extract(epoch from '2026-07-29 05:52:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385713 -2.797363)'), GeomFromEWKT('SRID=4674;POINT (-40.385674 -2.797381)'))) / (select extract(epoch from '2026-07-29 05:53:06'::timestamp) - extract(epoch from '2026-07-29 05:52:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.385623 -2.797403)', '2026-07-29 05:53:21', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385674 -2.797381)'), GeomFromEWKT('SRID=4674;POINT (-40.385623 -2.797403)'))) / (select extract(epoch from '2026-07-29 05:53:21'::timestamp) - extract(epoch from '2026-07-29 05:53:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385674 -2.797381)'), GeomFromEWKT('SRID=4674;POINT (-40.385623 -2.797403)'))) / (select extract(epoch from '2026-07-29 05:53:21'::timestamp) - extract(epoch from '2026-07-29 05:53: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'), 47641, 'SRID=4674;POINT (-40.385593 -2.797401)', '2026-07-29 05:53:34', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385623 -2.797403)'), GeomFromEWKT('SRID=4674;POINT (-40.385593 -2.797401)'))) / (select extract(epoch from '2026-07-29 05:53:34'::timestamp) - extract(epoch from '2026-07-29 05:53:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385623 -2.797403)'), GeomFromEWKT('SRID=4674;POINT (-40.385593 -2.797401)'))) / (select extract(epoch from '2026-07-29 05:53:34'::timestamp) - extract(epoch from '2026-07-29 05:53: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'), 47641, 'SRID=4674;POINT (-40.385554 -2.797418)', '2026-07-29 05:53:47', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385593 -2.797401)'), GeomFromEWKT('SRID=4674;POINT (-40.385554 -2.797418)'))) / (select extract(epoch from '2026-07-29 05:53:47'::timestamp) - extract(epoch from '2026-07-29 05:53:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385593 -2.797401)'), GeomFromEWKT('SRID=4674;POINT (-40.385554 -2.797418)'))) / (select extract(epoch from '2026-07-29 05:53:47'::timestamp) - extract(epoch from '2026-07-29 05:53: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'), 47641, 'SRID=4674;POINT (-40.385509 -2.797439)', '2026-07-29 05:54:00', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385554 -2.797418)'), GeomFromEWKT('SRID=4674;POINT (-40.385509 -2.797439)'))) / (select extract(epoch from '2026-07-29 05:54:00'::timestamp) - extract(epoch from '2026-07-29 05:53:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385554 -2.797418)'), GeomFromEWKT('SRID=4674;POINT (-40.385509 -2.797439)'))) / (select extract(epoch from '2026-07-29 05:54:00'::timestamp) - extract(epoch from '2026-07-29 05:53: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'), 47641, 'SRID=4674;POINT (-40.385468 -2.797453)', '2026-07-29 05:54:16', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385509 -2.797439)'), GeomFromEWKT('SRID=4674;POINT (-40.385468 -2.797453)'))) / (select extract(epoch from '2026-07-29 05:54:16'::timestamp) - extract(epoch from '2026-07-29 05:54:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385509 -2.797439)'), GeomFromEWKT('SRID=4674;POINT (-40.385468 -2.797453)'))) / (select extract(epoch from '2026-07-29 05:54:16'::timestamp) - extract(epoch from '2026-07-29 05:54: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'), 47641, 'SRID=4674;POINT (-40.385439 -2.797463)', '2026-07-29 05:54:29', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385468 -2.797453)'), GeomFromEWKT('SRID=4674;POINT (-40.385439 -2.797463)'))) / (select extract(epoch from '2026-07-29 05:54:29'::timestamp) - extract(epoch from '2026-07-29 05:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385468 -2.797453)'), GeomFromEWKT('SRID=4674;POINT (-40.385439 -2.797463)'))) / (select extract(epoch from '2026-07-29 05:54:29'::timestamp) - extract(epoch from '2026-07-29 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'), 47641, 'SRID=4674;POINT (-40.385408 -2.797485)', '2026-07-29 05:54:40', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385439 -2.797463)'), GeomFromEWKT('SRID=4674;POINT (-40.385408 -2.797485)'))) / (select extract(epoch from '2026-07-29 05:54:40'::timestamp) - extract(epoch from '2026-07-29 05:54:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385439 -2.797463)'), GeomFromEWKT('SRID=4674;POINT (-40.385408 -2.797485)'))) / (select extract(epoch from '2026-07-29 05:54:40'::timestamp) - extract(epoch from '2026-07-29 05:54: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'), 47641, 'SRID=4674;POINT (-40.385346 -2.797505)', '2026-07-29 05:54:53', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385408 -2.797485)'), GeomFromEWKT('SRID=4674;POINT (-40.385346 -2.797505)'))) / (select extract(epoch from '2026-07-29 05:54:53'::timestamp) - extract(epoch from '2026-07-29 05:54:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385408 -2.797485)'), GeomFromEWKT('SRID=4674;POINT (-40.385346 -2.797505)'))) / (select extract(epoch from '2026-07-29 05:54:53'::timestamp) - extract(epoch from '2026-07-29 05:54: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'), 47641, 'SRID=4674;POINT (-40.385288 -2.797534)', '2026-07-29 05:55:09', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385346 -2.797505)'), GeomFromEWKT('SRID=4674;POINT (-40.385288 -2.797534)'))) / (select extract(epoch from '2026-07-29 05:55:09'::timestamp) - extract(epoch from '2026-07-29 05:54:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385346 -2.797505)'), GeomFromEWKT('SRID=4674;POINT (-40.385288 -2.797534)'))) / (select extract(epoch from '2026-07-29 05:55:09'::timestamp) - extract(epoch from '2026-07-29 05:54: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'), 47641, 'SRID=4674;POINT (-40.385231 -2.797566)', '2026-07-29 05:55:23', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385288 -2.797534)'), GeomFromEWKT('SRID=4674;POINT (-40.385231 -2.797566)'))) / (select extract(epoch from '2026-07-29 05:55:23'::timestamp) - extract(epoch from '2026-07-29 05:55:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385288 -2.797534)'), GeomFromEWKT('SRID=4674;POINT (-40.385231 -2.797566)'))) / (select extract(epoch from '2026-07-29 05:55:23'::timestamp) - extract(epoch from '2026-07-29 05:55: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'), 47641, 'SRID=4674;POINT (-40.385154 -2.797584)', '2026-07-29 05:55:38', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385231 -2.797566)'), GeomFromEWKT('SRID=4674;POINT (-40.385154 -2.797584)'))) / (select extract(epoch from '2026-07-29 05:55:38'::timestamp) - extract(epoch from '2026-07-29 05:55:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385231 -2.797566)'), GeomFromEWKT('SRID=4674;POINT (-40.385154 -2.797584)'))) / (select extract(epoch from '2026-07-29 05:55:38'::timestamp) - extract(epoch from '2026-07-29 05:55: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'), 47641, 'SRID=4674;POINT (-40.385089 -2.797609)', '2026-07-29 05:55:52', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385154 -2.797584)'), GeomFromEWKT('SRID=4674;POINT (-40.385089 -2.797609)'))) / (select extract(epoch from '2026-07-29 05:55:52'::timestamp) - extract(epoch from '2026-07-29 05:55:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385154 -2.797584)'), GeomFromEWKT('SRID=4674;POINT (-40.385089 -2.797609)'))) / (select extract(epoch from '2026-07-29 05:55:52'::timestamp) - extract(epoch from '2026-07-29 05:55: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'), 47641, 'SRID=4674;POINT (-40.385047 -2.797643)', '2026-07-29 05:56:05', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385089 -2.797609)'), GeomFromEWKT('SRID=4674;POINT (-40.385047 -2.797643)'))) / (select extract(epoch from '2026-07-29 05:56:05'::timestamp) - extract(epoch from '2026-07-29 05:55:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385089 -2.797609)'), GeomFromEWKT('SRID=4674;POINT (-40.385047 -2.797643)'))) / (select extract(epoch from '2026-07-29 05:56:05'::timestamp) - extract(epoch from '2026-07-29 05:55:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.384983 -2.797672)', '2026-07-29 05:56:19', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385047 -2.797643)'), GeomFromEWKT('SRID=4674;POINT (-40.384983 -2.797672)'))) / (select extract(epoch from '2026-07-29 05:56:19'::timestamp) - extract(epoch from '2026-07-29 05:56:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385047 -2.797643)'), GeomFromEWKT('SRID=4674;POINT (-40.384983 -2.797672)'))) / (select extract(epoch from '2026-07-29 05:56:19'::timestamp) - extract(epoch from '2026-07-29 05:56: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'), 47641, 'SRID=4674;POINT (-40.384935 -2.797681)', '2026-07-29 05:56:35', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384983 -2.797672)'), GeomFromEWKT('SRID=4674;POINT (-40.384935 -2.797681)'))) / (select extract(epoch from '2026-07-29 05:56:35'::timestamp) - extract(epoch from '2026-07-29 05:56:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384983 -2.797672)'), GeomFromEWKT('SRID=4674;POINT (-40.384935 -2.797681)'))) / (select extract(epoch from '2026-07-29 05:56:35'::timestamp) - extract(epoch from '2026-07-29 05:56: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'), 47641, 'SRID=4674;POINT (-40.384924 -2.797674)', '2026-07-29 05:56:52', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384935 -2.797681)'), GeomFromEWKT('SRID=4674;POINT (-40.384924 -2.797674)'))) / (select extract(epoch from '2026-07-29 05:56:52'::timestamp) - extract(epoch from '2026-07-29 05:56:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384935 -2.797681)'), GeomFromEWKT('SRID=4674;POINT (-40.384924 -2.797674)'))) / (select extract(epoch from '2026-07-29 05:56:52'::timestamp) - extract(epoch from '2026-07-29 05:56:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.384888 -2.79769)', '2026-07-29 05:57:01', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384924 -2.797674)'), GeomFromEWKT('SRID=4674;POINT (-40.384888 -2.79769)'))) / (select extract(epoch from '2026-07-29 05:57:01'::timestamp) - extract(epoch from '2026-07-29 05:56:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384924 -2.797674)'), GeomFromEWKT('SRID=4674;POINT (-40.384888 -2.79769)'))) / (select extract(epoch from '2026-07-29 05:57:01'::timestamp) - extract(epoch from '2026-07-29 05:56: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'), 47641, 'SRID=4674;POINT (-40.384831 -2.797722)', '2026-07-29 05:57:13', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384888 -2.79769)'), GeomFromEWKT('SRID=4674;POINT (-40.384831 -2.797722)'))) / (select extract(epoch from '2026-07-29 05:57:13'::timestamp) - extract(epoch from '2026-07-29 05:57:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384888 -2.79769)'), GeomFromEWKT('SRID=4674;POINT (-40.384831 -2.797722)'))) / (select extract(epoch from '2026-07-29 05:57:13'::timestamp) - extract(epoch from '2026-07-29 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'), 47641, 'SRID=4674;POINT (-40.384762 -2.797745)', '2026-07-29 05:57:26', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384831 -2.797722)'), GeomFromEWKT('SRID=4674;POINT (-40.384762 -2.797745)'))) / (select extract(epoch from '2026-07-29 05:57:26'::timestamp) - extract(epoch from '2026-07-29 05:57:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384831 -2.797722)'), GeomFromEWKT('SRID=4674;POINT (-40.384762 -2.797745)'))) / (select extract(epoch from '2026-07-29 05:57:26'::timestamp) - extract(epoch from '2026-07-29 05:57:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.384721 -2.797773)', '2026-07-29 05:57:38', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384762 -2.797745)'), GeomFromEWKT('SRID=4674;POINT (-40.384721 -2.797773)'))) / (select extract(epoch from '2026-07-29 05:57:38'::timestamp) - extract(epoch from '2026-07-29 05:57:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384762 -2.797745)'), GeomFromEWKT('SRID=4674;POINT (-40.384721 -2.797773)'))) / (select extract(epoch from '2026-07-29 05:57:38'::timestamp) - extract(epoch from '2026-07-29 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'), 47641, 'SRID=4674;POINT (-40.38467 -2.797805)', '2026-07-29 05:57:50', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384721 -2.797773)'), GeomFromEWKT('SRID=4674;POINT (-40.38467 -2.797805)'))) / (select extract(epoch from '2026-07-29 05:57:50'::timestamp) - extract(epoch from '2026-07-29 05:57:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384721 -2.797773)'), GeomFromEWKT('SRID=4674;POINT (-40.38467 -2.797805)'))) / (select extract(epoch from '2026-07-29 05:57:50'::timestamp) - extract(epoch from '2026-07-29 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'), 47641, 'SRID=4674;POINT (-40.384565 -2.797847)', '2026-07-29 05:58:06', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38467 -2.797805)'), GeomFromEWKT('SRID=4674;POINT (-40.384565 -2.797847)'))) / (select extract(epoch from '2026-07-29 05:58:06'::timestamp) - extract(epoch from '2026-07-29 05:57:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38467 -2.797805)'), GeomFromEWKT('SRID=4674;POINT (-40.384565 -2.797847)'))) / (select extract(epoch from '2026-07-29 05:58:06'::timestamp) - extract(epoch from '2026-07-29 05:57: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'), 47641, 'SRID=4674;POINT (-40.384484 -2.797892)', '2026-07-29 05:58:21', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384565 -2.797847)'), GeomFromEWKT('SRID=4674;POINT (-40.384484 -2.797892)'))) / (select extract(epoch from '2026-07-29 05:58:21'::timestamp) - extract(epoch from '2026-07-29 05:58:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384565 -2.797847)'), GeomFromEWKT('SRID=4674;POINT (-40.384484 -2.797892)'))) / (select extract(epoch from '2026-07-29 05:58:21'::timestamp) - extract(epoch from '2026-07-29 05:58:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.384401 -2.797934)', '2026-07-29 05:58:36', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384484 -2.797892)'), GeomFromEWKT('SRID=4674;POINT (-40.384401 -2.797934)'))) / (select extract(epoch from '2026-07-29 05:58:36'::timestamp) - extract(epoch from '2026-07-29 05:58:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384484 -2.797892)'), GeomFromEWKT('SRID=4674;POINT (-40.384401 -2.797934)'))) / (select extract(epoch from '2026-07-29 05:58:36'::timestamp) - extract(epoch from '2026-07-29 05:58: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'), 47641, 'SRID=4674;POINT (-40.384322 -2.797964)', '2026-07-29 05:58:49', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384401 -2.797934)'), GeomFromEWKT('SRID=4674;POINT (-40.384322 -2.797964)'))) / (select extract(epoch from '2026-07-29 05:58:49'::timestamp) - extract(epoch from '2026-07-29 05:58:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384401 -2.797934)'), GeomFromEWKT('SRID=4674;POINT (-40.384322 -2.797964)'))) / (select extract(epoch from '2026-07-29 05:58:49'::timestamp) - extract(epoch from '2026-07-29 05:58: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'), 47641, 'SRID=4674;POINT (-40.384251 -2.797995)', '2026-07-29 05:59:04', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384322 -2.797964)'), GeomFromEWKT('SRID=4674;POINT (-40.384251 -2.797995)'))) / (select extract(epoch from '2026-07-29 05:59:04'::timestamp) - extract(epoch from '2026-07-29 05:58:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384322 -2.797964)'), GeomFromEWKT('SRID=4674;POINT (-40.384251 -2.797995)'))) / (select extract(epoch from '2026-07-29 05:59:04'::timestamp) - extract(epoch from '2026-07-29 05:58:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.384212 -2.798036)', '2026-07-29 05:59:16', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384251 -2.797995)'), GeomFromEWKT('SRID=4674;POINT (-40.384212 -2.798036)'))) / (select extract(epoch from '2026-07-29 05:59:16'::timestamp) - extract(epoch from '2026-07-29 05:59:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384251 -2.797995)'), GeomFromEWKT('SRID=4674;POINT (-40.384212 -2.798036)'))) / (select extract(epoch from '2026-07-29 05:59:16'::timestamp) - extract(epoch from '2026-07-29 05:59: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'), 47641, 'SRID=4674;POINT (-40.384159 -2.798072)', '2026-07-29 05:59:31', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384212 -2.798036)'), GeomFromEWKT('SRID=4674;POINT (-40.384159 -2.798072)'))) / (select extract(epoch from '2026-07-29 05:59:31'::timestamp) - extract(epoch from '2026-07-29 05:59:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384212 -2.798036)'), GeomFromEWKT('SRID=4674;POINT (-40.384159 -2.798072)'))) / (select extract(epoch from '2026-07-29 05:59:31'::timestamp) - extract(epoch from '2026-07-29 05:59: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'), 47641, 'SRID=4674;POINT (-40.384088 -2.798097)', '2026-07-29 05:59:47', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384159 -2.798072)'), GeomFromEWKT('SRID=4674;POINT (-40.384088 -2.798097)'))) / (select extract(epoch from '2026-07-29 05:59:47'::timestamp) - extract(epoch from '2026-07-29 05:59:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384159 -2.798072)'), GeomFromEWKT('SRID=4674;POINT (-40.384088 -2.798097)'))) / (select extract(epoch from '2026-07-29 05:59:47'::timestamp) - extract(epoch from '2026-07-29 05:59:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.383992 -2.798135)', '2026-07-29 06:00:05', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384088 -2.798097)'), GeomFromEWKT('SRID=4674;POINT (-40.383992 -2.798135)'))) / (select extract(epoch from '2026-07-29 06:00:05'::timestamp) - extract(epoch from '2026-07-29 05:59:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384088 -2.798097)'), GeomFromEWKT('SRID=4674;POINT (-40.383992 -2.798135)'))) / (select extract(epoch from '2026-07-29 06:00:05'::timestamp) - extract(epoch from '2026-07-29 05:59: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'), 47641, 'SRID=4674;POINT (-40.383906 -2.798161)', '2026-07-29 06:00:20', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383992 -2.798135)'), GeomFromEWKT('SRID=4674;POINT (-40.383906 -2.798161)'))) / (select extract(epoch from '2026-07-29 06:00:20'::timestamp) - extract(epoch from '2026-07-29 06:00:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383992 -2.798135)'), GeomFromEWKT('SRID=4674;POINT (-40.383906 -2.798161)'))) / (select extract(epoch from '2026-07-29 06:00:20'::timestamp) - extract(epoch from '2026-07-29 06:00:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
