 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.391151 -2.785377)', '2026-07-07 14:01:14', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391174 -2.785402)'), GeomFromEWKT('SRID=4674;POINT (-40.391151 -2.785377)'))) / (select extract(epoch from '2026-07-07 14:01:14'::timestamp) - extract(epoch from '2026-07-07 14:01:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391174 -2.785402)'), GeomFromEWKT('SRID=4674;POINT (-40.391151 -2.785377)'))) / (select extract(epoch from '2026-07-07 14:01:14'::timestamp) - extract(epoch from '2026-07-07 14:01:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.391123 -2.785372)', '2026-07-07 14:01:20', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391151 -2.785377)'), GeomFromEWKT('SRID=4674;POINT (-40.391123 -2.785372)'))) / (select extract(epoch from '2026-07-07 14:01:20'::timestamp) - extract(epoch from '2026-07-07 14:01:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391151 -2.785377)'), GeomFromEWKT('SRID=4674;POINT (-40.391123 -2.785372)'))) / (select extract(epoch from '2026-07-07 14:01:20'::timestamp) - extract(epoch from '2026-07-07 14:01:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.391051 -2.785363)', '2026-07-07 14:01:32', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391123 -2.785372)'), GeomFromEWKT('SRID=4674;POINT (-40.391051 -2.785363)'))) / (select extract(epoch from '2026-07-07 14:01:32'::timestamp) - extract(epoch from '2026-07-07 14:01:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391123 -2.785372)'), GeomFromEWKT('SRID=4674;POINT (-40.391051 -2.785363)'))) / (select extract(epoch from '2026-07-07 14:01:32'::timestamp) - extract(epoch from '2026-07-07 14:01: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'), 47829, 'SRID=4674;POINT (-40.391037 -2.785348)', '2026-07-07 14:01:41', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391051 -2.785363)'), GeomFromEWKT('SRID=4674;POINT (-40.391037 -2.785348)'))) / (select extract(epoch from '2026-07-07 14:01:41'::timestamp) - extract(epoch from '2026-07-07 14:01:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391051 -2.785363)'), GeomFromEWKT('SRID=4674;POINT (-40.391037 -2.785348)'))) / (select extract(epoch from '2026-07-07 14:01:41'::timestamp) - extract(epoch from '2026-07-07 14:01:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.39108 -2.785321)', '2026-07-07 14:01:57', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391037 -2.785348)'), GeomFromEWKT('SRID=4674;POINT (-40.39108 -2.785321)'))) / (select extract(epoch from '2026-07-07 14:01:57'::timestamp) - extract(epoch from '2026-07-07 14:01:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391037 -2.785348)'), GeomFromEWKT('SRID=4674;POINT (-40.39108 -2.785321)'))) / (select extract(epoch from '2026-07-07 14:01:57'::timestamp) - extract(epoch from '2026-07-07 14:01:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.391103 -2.785313)', '2026-07-07 14:02:04', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39108 -2.785321)'), GeomFromEWKT('SRID=4674;POINT (-40.391103 -2.785313)'))) / (select extract(epoch from '2026-07-07 14:02:04'::timestamp) - extract(epoch from '2026-07-07 14:01:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39108 -2.785321)'), GeomFromEWKT('SRID=4674;POINT (-40.391103 -2.785313)'))) / (select extract(epoch from '2026-07-07 14:02:04'::timestamp) - extract(epoch from '2026-07-07 14:01: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'), 47829, 'SRID=4674;POINT (-40.391137 -2.78531)', '2026-07-07 14:02:14', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391103 -2.785313)'), GeomFromEWKT('SRID=4674;POINT (-40.391137 -2.78531)'))) / (select extract(epoch from '2026-07-07 14:02:14'::timestamp) - extract(epoch from '2026-07-07 14:02:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391103 -2.785313)'), GeomFromEWKT('SRID=4674;POINT (-40.391137 -2.78531)'))) / (select extract(epoch from '2026-07-07 14:02:14'::timestamp) - extract(epoch from '2026-07-07 14:02:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.391229 -2.785352)', '2026-07-07 14:02:44', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391137 -2.78531)'), GeomFromEWKT('SRID=4674;POINT (-40.391229 -2.785352)'))) / (select extract(epoch from '2026-07-07 14:02:44'::timestamp) - extract(epoch from '2026-07-07 14:02:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391137 -2.78531)'), GeomFromEWKT('SRID=4674;POINT (-40.391229 -2.785352)'))) / (select extract(epoch from '2026-07-07 14:02:44'::timestamp) - extract(epoch from '2026-07-07 14:02: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'), 47829, 'SRID=4674;POINT (-40.391253 -2.785357)', '2026-07-07 14:02:50', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391229 -2.785352)'), GeomFromEWKT('SRID=4674;POINT (-40.391253 -2.785357)'))) / (select extract(epoch from '2026-07-07 14:02:50'::timestamp) - extract(epoch from '2026-07-07 14:02:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391229 -2.785352)'), GeomFromEWKT('SRID=4674;POINT (-40.391253 -2.785357)'))) / (select extract(epoch from '2026-07-07 14:02:50'::timestamp) - extract(epoch from '2026-07-07 14:02: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'), 47829, 'SRID=4674;POINT (-40.391284 -2.785355)', '2026-07-07 14:02:59', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391253 -2.785357)'), GeomFromEWKT('SRID=4674;POINT (-40.391284 -2.785355)'))) / (select extract(epoch from '2026-07-07 14:02:59'::timestamp) - extract(epoch from '2026-07-07 14:02:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391253 -2.785357)'), GeomFromEWKT('SRID=4674;POINT (-40.391284 -2.785355)'))) / (select extract(epoch from '2026-07-07 14:02:59'::timestamp) - extract(epoch from '2026-07-07 14:02: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'), 47829, 'SRID=4674;POINT (-40.391315 -2.785354)', '2026-07-07 14:03:06', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391284 -2.785355)'), GeomFromEWKT('SRID=4674;POINT (-40.391315 -2.785354)'))) / (select extract(epoch from '2026-07-07 14:03:06'::timestamp) - extract(epoch from '2026-07-07 14:02:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391284 -2.785355)'), GeomFromEWKT('SRID=4674;POINT (-40.391315 -2.785354)'))) / (select extract(epoch from '2026-07-07 14:03:06'::timestamp) - extract(epoch from '2026-07-07 14:02:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.391343 -2.785354)', '2026-07-07 14:03:13', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391315 -2.785354)'), GeomFromEWKT('SRID=4674;POINT (-40.391343 -2.785354)'))) / (select extract(epoch from '2026-07-07 14:03:13'::timestamp) - extract(epoch from '2026-07-07 14:03:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391315 -2.785354)'), GeomFromEWKT('SRID=4674;POINT (-40.391343 -2.785354)'))) / (select extract(epoch from '2026-07-07 14:03:13'::timestamp) - extract(epoch from '2026-07-07 14:03: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'), 47829, 'SRID=4674;POINT (-40.391367 -2.785353)', '2026-07-07 14:03:19', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391343 -2.785354)'), GeomFromEWKT('SRID=4674;POINT (-40.391367 -2.785353)'))) / (select extract(epoch from '2026-07-07 14:03:19'::timestamp) - extract(epoch from '2026-07-07 14:03:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391343 -2.785354)'), GeomFromEWKT('SRID=4674;POINT (-40.391367 -2.785353)'))) / (select extract(epoch from '2026-07-07 14:03:19'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.391408 -2.785358)', '2026-07-07 14:03:29', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391367 -2.785353)'), GeomFromEWKT('SRID=4674;POINT (-40.391408 -2.785358)'))) / (select extract(epoch from '2026-07-07 14:03:29'::timestamp) - extract(epoch from '2026-07-07 14:03:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391367 -2.785353)'), GeomFromEWKT('SRID=4674;POINT (-40.391408 -2.785358)'))) / (select extract(epoch from '2026-07-07 14:03:29'::timestamp) - extract(epoch from '2026-07-07 14:03: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'), 47829, 'SRID=4674;POINT (-40.391448 -2.785331)', '2026-07-07 14:03:35', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391408 -2.785358)'), GeomFromEWKT('SRID=4674;POINT (-40.391448 -2.785331)'))) / (select extract(epoch from '2026-07-07 14:03:35'::timestamp) - extract(epoch from '2026-07-07 14:03:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391408 -2.785358)'), GeomFromEWKT('SRID=4674;POINT (-40.391448 -2.785331)'))) / (select extract(epoch from '2026-07-07 14:03:35'::timestamp) - extract(epoch from '2026-07-07 14:03:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.391525 -2.785263)', '2026-07-07 14:03:42', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391448 -2.785331)'), GeomFromEWKT('SRID=4674;POINT (-40.391525 -2.785263)'))) / (select extract(epoch from '2026-07-07 14:03:42'::timestamp) - extract(epoch from '2026-07-07 14:03:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391448 -2.785331)'), GeomFromEWKT('SRID=4674;POINT (-40.391525 -2.785263)'))) / (select extract(epoch from '2026-07-07 14:03:42'::timestamp) - extract(epoch from '2026-07-07 14:03:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.391643 -2.785266)', '2026-07-07 14:03:49', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391525 -2.785263)'), GeomFromEWKT('SRID=4674;POINT (-40.391643 -2.785266)'))) / (select extract(epoch from '2026-07-07 14:03:49'::timestamp) - extract(epoch from '2026-07-07 14:03:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391525 -2.785263)'), GeomFromEWKT('SRID=4674;POINT (-40.391643 -2.785266)'))) / (select extract(epoch from '2026-07-07 14:03:49'::timestamp) - extract(epoch from '2026-07-07 14:03: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'), 47829, 'SRID=4674;POINT (-40.39174 -2.78534)', '2026-07-07 14:03:56', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391643 -2.785266)'), GeomFromEWKT('SRID=4674;POINT (-40.39174 -2.78534)'))) / (select extract(epoch from '2026-07-07 14:03:56'::timestamp) - extract(epoch from '2026-07-07 14:03:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391643 -2.785266)'), GeomFromEWKT('SRID=4674;POINT (-40.39174 -2.78534)'))) / (select extract(epoch from '2026-07-07 14:03:56'::timestamp) - extract(epoch from '2026-07-07 14:03:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.391809 -2.785446)', '2026-07-07 14:04:03', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39174 -2.78534)'), GeomFromEWKT('SRID=4674;POINT (-40.391809 -2.785446)'))) / (select extract(epoch from '2026-07-07 14:04:03'::timestamp) - extract(epoch from '2026-07-07 14:03:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39174 -2.78534)'), GeomFromEWKT('SRID=4674;POINT (-40.391809 -2.785446)'))) / (select extract(epoch from '2026-07-07 14:04:03'::timestamp) - extract(epoch from '2026-07-07 14:03: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'), 47829, 'SRID=4674;POINT (-40.391833 -2.785554)', '2026-07-07 14:04:09', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391809 -2.785446)'), GeomFromEWKT('SRID=4674;POINT (-40.391833 -2.785554)'))) / (select extract(epoch from '2026-07-07 14:04:09'::timestamp) - extract(epoch from '2026-07-07 14:04:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391809 -2.785446)'), GeomFromEWKT('SRID=4674;POINT (-40.391833 -2.785554)'))) / (select extract(epoch from '2026-07-07 14:04:09'::timestamp) - extract(epoch from '2026-07-07 14:04: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'), 47829, 'SRID=4674;POINT (-40.391861 -2.785658)', '2026-07-07 14:04:15', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391833 -2.785554)'), GeomFromEWKT('SRID=4674;POINT (-40.391861 -2.785658)'))) / (select extract(epoch from '2026-07-07 14:04:15'::timestamp) - extract(epoch from '2026-07-07 14:04:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391833 -2.785554)'), GeomFromEWKT('SRID=4674;POINT (-40.391861 -2.785658)'))) / (select extract(epoch from '2026-07-07 14:04:15'::timestamp) - extract(epoch from '2026-07-07 14:04: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'), 47829, 'SRID=4674;POINT (-40.3919 -2.785744)', '2026-07-07 14:04:20', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391861 -2.785658)'), GeomFromEWKT('SRID=4674;POINT (-40.3919 -2.785744)'))) / (select extract(epoch from '2026-07-07 14:04:20'::timestamp) - extract(epoch from '2026-07-07 14:04:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391861 -2.785658)'), GeomFromEWKT('SRID=4674;POINT (-40.3919 -2.785744)'))) / (select extract(epoch from '2026-07-07 14:04:20'::timestamp) - extract(epoch from '2026-07-07 14:04:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.391948 -2.78584)', '2026-07-07 14:04:26', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3919 -2.785744)'), GeomFromEWKT('SRID=4674;POINT (-40.391948 -2.78584)'))) / (select extract(epoch from '2026-07-07 14:04:26'::timestamp) - extract(epoch from '2026-07-07 14:04:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3919 -2.785744)'), GeomFromEWKT('SRID=4674;POINT (-40.391948 -2.78584)'))) / (select extract(epoch from '2026-07-07 14:04:26'::timestamp) - extract(epoch from '2026-07-07 14:04: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'), 47829, 'SRID=4674;POINT (-40.392009 -2.785896)', '2026-07-07 14:04:31', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391948 -2.78584)'), GeomFromEWKT('SRID=4674;POINT (-40.392009 -2.785896)'))) / (select extract(epoch from '2026-07-07 14:04:31'::timestamp) - extract(epoch from '2026-07-07 14:04:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391948 -2.78584)'), GeomFromEWKT('SRID=4674;POINT (-40.392009 -2.785896)'))) / (select extract(epoch from '2026-07-07 14:04:31'::timestamp) - extract(epoch from '2026-07-07 14:04:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.392061 -2.78593)', '2026-07-07 14:04:35', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392009 -2.785896)'), GeomFromEWKT('SRID=4674;POINT (-40.392061 -2.78593)'))) / (select extract(epoch from '2026-07-07 14:04:35'::timestamp) - extract(epoch from '2026-07-07 14:04:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392009 -2.785896)'), GeomFromEWKT('SRID=4674;POINT (-40.392061 -2.78593)'))) / (select extract(epoch from '2026-07-07 14:04:35'::timestamp) - extract(epoch from '2026-07-07 14:04: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'), 47829, 'SRID=4674;POINT (-40.392087 -2.785969)', '2026-07-07 14:04:39', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392061 -2.78593)'), GeomFromEWKT('SRID=4674;POINT (-40.392087 -2.785969)'))) / (select extract(epoch from '2026-07-07 14:04:39'::timestamp) - extract(epoch from '2026-07-07 14:04:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392061 -2.78593)'), GeomFromEWKT('SRID=4674;POINT (-40.392087 -2.785969)'))) / (select extract(epoch from '2026-07-07 14:04:39'::timestamp) - extract(epoch from '2026-07-07 14:04:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.392092 -2.785978)', '2026-07-07 14:04:40', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392087 -2.785969)'), GeomFromEWKT('SRID=4674;POINT (-40.392092 -2.785978)'))) / (select extract(epoch from '2026-07-07 14:04:40'::timestamp) - extract(epoch from '2026-07-07 14:04:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392087 -2.785969)'), GeomFromEWKT('SRID=4674;POINT (-40.392092 -2.785978)'))) / (select extract(epoch from '2026-07-07 14:04:40'::timestamp) - extract(epoch from '2026-07-07 14:04: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'), 47829, 'SRID=4674;POINT (-40.392111 -2.786021)', '2026-07-07 14:04:45', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392092 -2.785978)'), GeomFromEWKT('SRID=4674;POINT (-40.392111 -2.786021)'))) / (select extract(epoch from '2026-07-07 14:04:45'::timestamp) - extract(epoch from '2026-07-07 14:04:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392092 -2.785978)'), GeomFromEWKT('SRID=4674;POINT (-40.392111 -2.786021)'))) / (select extract(epoch from '2026-07-07 14:04:45'::timestamp) - extract(epoch from '2026-07-07 14:04:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.392119 -2.786027)', '2026-07-07 14:04:46', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392111 -2.786021)'), GeomFromEWKT('SRID=4674;POINT (-40.392119 -2.786027)'))) / (select extract(epoch from '2026-07-07 14:04:46'::timestamp) - extract(epoch from '2026-07-07 14:04:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392111 -2.786021)'), GeomFromEWKT('SRID=4674;POINT (-40.392119 -2.786027)'))) / (select extract(epoch from '2026-07-07 14:04:46'::timestamp) - extract(epoch from '2026-07-07 14:04: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'), 47829, 'SRID=4674;POINT (-40.392127 -2.786032)', '2026-07-07 14:04:47', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392119 -2.786027)'), GeomFromEWKT('SRID=4674;POINT (-40.392127 -2.786032)'))) / (select extract(epoch from '2026-07-07 14:04:47'::timestamp) - extract(epoch from '2026-07-07 14:04:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392119 -2.786027)'), GeomFromEWKT('SRID=4674;POINT (-40.392127 -2.786032)'))) / (select extract(epoch from '2026-07-07 14:04:47'::timestamp) - extract(epoch from '2026-07-07 14:04: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'), 47829, 'SRID=4674;POINT (-40.392174 -2.786049)', '2026-07-07 14:04:52', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392127 -2.786032)'), GeomFromEWKT('SRID=4674;POINT (-40.392174 -2.786049)'))) / (select extract(epoch from '2026-07-07 14:04:52'::timestamp) - extract(epoch from '2026-07-07 14:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392127 -2.786032)'), GeomFromEWKT('SRID=4674;POINT (-40.392174 -2.786049)'))) / (select extract(epoch from '2026-07-07 14:04:52'::timestamp) - extract(epoch from '2026-07-07 14:04:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.39222 -2.786037)', '2026-07-07 14:04:58', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392174 -2.786049)'), GeomFromEWKT('SRID=4674;POINT (-40.39222 -2.786037)'))) / (select extract(epoch from '2026-07-07 14:04:58'::timestamp) - extract(epoch from '2026-07-07 14:04:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392174 -2.786049)'), GeomFromEWKT('SRID=4674;POINT (-40.39222 -2.786037)'))) / (select extract(epoch from '2026-07-07 14:04:58'::timestamp) - extract(epoch from '2026-07-07 14:04: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'), 47829, 'SRID=4674;POINT (-40.39226 -2.785995)', '2026-07-07 14:05:06', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39222 -2.786037)'), GeomFromEWKT('SRID=4674;POINT (-40.39226 -2.785995)'))) / (select extract(epoch from '2026-07-07 14:05:06'::timestamp) - extract(epoch from '2026-07-07 14:04:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39222 -2.786037)'), GeomFromEWKT('SRID=4674;POINT (-40.39226 -2.785995)'))) / (select extract(epoch from '2026-07-07 14:05:06'::timestamp) - extract(epoch from '2026-07-07 14:04: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'), 47829, 'SRID=4674;POINT (-40.392246 -2.785947)', '2026-07-07 14:05:14', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39226 -2.785995)'), GeomFromEWKT('SRID=4674;POINT (-40.392246 -2.785947)'))) / (select extract(epoch from '2026-07-07 14:05:14'::timestamp) - extract(epoch from '2026-07-07 14:05:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39226 -2.785995)'), GeomFromEWKT('SRID=4674;POINT (-40.392246 -2.785947)'))) / (select extract(epoch from '2026-07-07 14:05:14'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.392218 -2.785948)', '2026-07-07 14:05:21', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392246 -2.785947)'), GeomFromEWKT('SRID=4674;POINT (-40.392218 -2.785948)'))) / (select extract(epoch from '2026-07-07 14:05:21'::timestamp) - extract(epoch from '2026-07-07 14:05:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392246 -2.785947)'), GeomFromEWKT('SRID=4674;POINT (-40.392218 -2.785948)'))) / (select extract(epoch from '2026-07-07 14:05:21'::timestamp) - extract(epoch from '2026-07-07 14:05: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'), 47829, 'SRID=4674;POINT (-40.392184 -2.785951)', '2026-07-07 14:05:30', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392218 -2.785948)'), GeomFromEWKT('SRID=4674;POINT (-40.392184 -2.785951)'))) / (select extract(epoch from '2026-07-07 14:05:30'::timestamp) - extract(epoch from '2026-07-07 14:05:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392218 -2.785948)'), GeomFromEWKT('SRID=4674;POINT (-40.392184 -2.785951)'))) / (select extract(epoch from '2026-07-07 14:05:30'::timestamp) - extract(epoch from '2026-07-07 14:05: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'), 47829, 'SRID=4674;POINT (-40.392121 -2.785922)', '2026-07-07 14:05:59', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392184 -2.785951)'), GeomFromEWKT('SRID=4674;POINT (-40.392121 -2.785922)'))) / (select extract(epoch from '2026-07-07 14:05:59'::timestamp) - extract(epoch from '2026-07-07 14:05:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392184 -2.785951)'), GeomFromEWKT('SRID=4674;POINT (-40.392121 -2.785922)'))) / (select extract(epoch from '2026-07-07 14:05:59'::timestamp) - extract(epoch from '2026-07-07 14:05: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'), 47829, 'SRID=4674;POINT (-40.392105 -2.78591)', '2026-07-07 14:06:06', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392121 -2.785922)'), GeomFromEWKT('SRID=4674;POINT (-40.392105 -2.78591)'))) / (select extract(epoch from '2026-07-07 14:06:06'::timestamp) - extract(epoch from '2026-07-07 14:05:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392121 -2.785922)'), GeomFromEWKT('SRID=4674;POINT (-40.392105 -2.78591)'))) / (select extract(epoch from '2026-07-07 14:06:06'::timestamp) - extract(epoch from '2026-07-07 14:05: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'), 47829, 'SRID=4674;POINT (-40.392092 -2.785906)', '2026-07-07 14:06:08', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392105 -2.78591)'), GeomFromEWKT('SRID=4674;POINT (-40.392092 -2.785906)'))) / (select extract(epoch from '2026-07-07 14:06:08'::timestamp) - extract(epoch from '2026-07-07 14:06:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392105 -2.78591)'), GeomFromEWKT('SRID=4674;POINT (-40.392092 -2.785906)'))) / (select extract(epoch from '2026-07-07 14:06:08'::timestamp) - extract(epoch from '2026-07-07 14:06: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'), 47829, 'SRID=4674;POINT (-40.392074 -2.785899)', '2026-07-07 14:06:13', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392092 -2.785906)'), GeomFromEWKT('SRID=4674;POINT (-40.392074 -2.785899)'))) / (select extract(epoch from '2026-07-07 14:06:13'::timestamp) - extract(epoch from '2026-07-07 14:06:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392092 -2.785906)'), GeomFromEWKT('SRID=4674;POINT (-40.392074 -2.785899)'))) / (select extract(epoch from '2026-07-07 14:06:13'::timestamp) - extract(epoch from '2026-07-07 14:06: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'), 47829, 'SRID=4674;POINT (-40.392117 -2.785905)', '2026-07-07 14:06:38', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392074 -2.785899)'), GeomFromEWKT('SRID=4674;POINT (-40.392117 -2.785905)'))) / (select extract(epoch from '2026-07-07 14:06:38'::timestamp) - extract(epoch from '2026-07-07 14:06:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392074 -2.785899)'), GeomFromEWKT('SRID=4674;POINT (-40.392117 -2.785905)'))) / (select extract(epoch from '2026-07-07 14:06:38'::timestamp) - extract(epoch from '2026-07-07 14:06: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'), 47829, 'SRID=4674;POINT (-40.392119 -2.785933)', '2026-07-07 14:06:48', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392117 -2.785905)'), GeomFromEWKT('SRID=4674;POINT (-40.392119 -2.785933)'))) / (select extract(epoch from '2026-07-07 14:06:48'::timestamp) - extract(epoch from '2026-07-07 14:06:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392117 -2.785905)'), GeomFromEWKT('SRID=4674;POINT (-40.392119 -2.785933)'))) / (select extract(epoch from '2026-07-07 14:06:48'::timestamp) - extract(epoch from '2026-07-07 14:06: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'), 47829, 'SRID=4674;POINT (-40.392089 -2.785953)', '2026-07-07 14:06:58', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392119 -2.785933)'), GeomFromEWKT('SRID=4674;POINT (-40.392089 -2.785953)'))) / (select extract(epoch from '2026-07-07 14:06:58'::timestamp) - extract(epoch from '2026-07-07 14:06:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392119 -2.785933)'), GeomFromEWKT('SRID=4674;POINT (-40.392089 -2.785953)'))) / (select extract(epoch from '2026-07-07 14:06:58'::timestamp) - extract(epoch from '2026-07-07 14:06:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.392193 -2.785914)', '2026-07-07 14:07:43', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392089 -2.785953)'), GeomFromEWKT('SRID=4674;POINT (-40.392193 -2.785914)'))) / (select extract(epoch from '2026-07-07 14:07:43'::timestamp) - extract(epoch from '2026-07-07 14:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392089 -2.785953)'), GeomFromEWKT('SRID=4674;POINT (-40.392193 -2.785914)'))) / (select extract(epoch from '2026-07-07 14:07:43'::timestamp) - extract(epoch from '2026-07-07 14:06: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'), 47829, 'SRID=4674;POINT (-40.392221 -2.78592)', '2026-07-07 14:07:50', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392193 -2.785914)'), GeomFromEWKT('SRID=4674;POINT (-40.392221 -2.78592)'))) / (select extract(epoch from '2026-07-07 14:07:50'::timestamp) - extract(epoch from '2026-07-07 14:07:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392193 -2.785914)'), GeomFromEWKT('SRID=4674;POINT (-40.392221 -2.78592)'))) / (select extract(epoch from '2026-07-07 14:07:50'::timestamp) - extract(epoch from '2026-07-07 14:07:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.392248 -2.785933)', '2026-07-07 14:07:58', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392221 -2.78592)'), GeomFromEWKT('SRID=4674;POINT (-40.392248 -2.785933)'))) / (select extract(epoch from '2026-07-07 14:07:58'::timestamp) - extract(epoch from '2026-07-07 14:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392221 -2.78592)'), GeomFromEWKT('SRID=4674;POINT (-40.392248 -2.785933)'))) / (select extract(epoch from '2026-07-07 14:07:58'::timestamp) - extract(epoch from '2026-07-07 14:07: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'), 47829, 'SRID=4674;POINT (-40.392274 -2.785944)', '2026-07-07 14:08:06', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392248 -2.785933)'), GeomFromEWKT('SRID=4674;POINT (-40.392274 -2.785944)'))) / (select extract(epoch from '2026-07-07 14:08:06'::timestamp) - extract(epoch from '2026-07-07 14:07:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392248 -2.785933)'), GeomFromEWKT('SRID=4674;POINT (-40.392274 -2.785944)'))) / (select extract(epoch from '2026-07-07 14:08:06'::timestamp) - extract(epoch from '2026-07-07 14:07: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'), 47829, 'SRID=4674;POINT (-40.392324 -2.785958)', '2026-07-07 14:08:16', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392274 -2.785944)'), GeomFromEWKT('SRID=4674;POINT (-40.392324 -2.785958)'))) / (select extract(epoch from '2026-07-07 14:08:16'::timestamp) - extract(epoch from '2026-07-07 14:08:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392274 -2.785944)'), GeomFromEWKT('SRID=4674;POINT (-40.392324 -2.785958)'))) / (select extract(epoch from '2026-07-07 14:08:16'::timestamp) - extract(epoch from '2026-07-07 14:08: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'), 47829, 'SRID=4674;POINT (-40.392363 -2.785958)', '2026-07-07 14:08:25', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392324 -2.785958)'), GeomFromEWKT('SRID=4674;POINT (-40.392363 -2.785958)'))) / (select extract(epoch from '2026-07-07 14:08:25'::timestamp) - extract(epoch from '2026-07-07 14:08:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392324 -2.785958)'), GeomFromEWKT('SRID=4674;POINT (-40.392363 -2.785958)'))) / (select extract(epoch from '2026-07-07 14:08:25'::timestamp) - extract(epoch from '2026-07-07 14:08: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'), 47829, 'SRID=4674;POINT (-40.3924 -2.785957)', '2026-07-07 14:08:33', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392363 -2.785958)'), GeomFromEWKT('SRID=4674;POINT (-40.3924 -2.785957)'))) / (select extract(epoch from '2026-07-07 14:08:33'::timestamp) - extract(epoch from '2026-07-07 14:08:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392363 -2.785958)'), GeomFromEWKT('SRID=4674;POINT (-40.3924 -2.785957)'))) / (select extract(epoch from '2026-07-07 14:08:33'::timestamp) - extract(epoch from '2026-07-07 14:08: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'), 47829, 'SRID=4674;POINT (-40.392432 -2.785965)', '2026-07-07 14:08:39', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3924 -2.785957)'), GeomFromEWKT('SRID=4674;POINT (-40.392432 -2.785965)'))) / (select extract(epoch from '2026-07-07 14:08:39'::timestamp) - extract(epoch from '2026-07-07 14:08:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3924 -2.785957)'), GeomFromEWKT('SRID=4674;POINT (-40.392432 -2.785965)'))) / (select extract(epoch from '2026-07-07 14:08:39'::timestamp) - extract(epoch from '2026-07-07 14:08:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.392476 -2.785963)', '2026-07-07 14:08:47', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392432 -2.785965)'), GeomFromEWKT('SRID=4674;POINT (-40.392476 -2.785963)'))) / (select extract(epoch from '2026-07-07 14:08:47'::timestamp) - extract(epoch from '2026-07-07 14:08:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392432 -2.785965)'), GeomFromEWKT('SRID=4674;POINT (-40.392476 -2.785963)'))) / (select extract(epoch from '2026-07-07 14:08:47'::timestamp) - extract(epoch from '2026-07-07 14:08:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.392495 -2.785965)', '2026-07-07 14:08:53', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392476 -2.785963)'), GeomFromEWKT('SRID=4674;POINT (-40.392495 -2.785965)'))) / (select extract(epoch from '2026-07-07 14:08:53'::timestamp) - extract(epoch from '2026-07-07 14:08:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392476 -2.785963)'), GeomFromEWKT('SRID=4674;POINT (-40.392495 -2.785965)'))) / (select extract(epoch from '2026-07-07 14:08:53'::timestamp) - extract(epoch from '2026-07-07 14:08: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'), 47829, 'SRID=4674;POINT (-40.392536 -2.785968)', '2026-07-07 14:09:00', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392495 -2.785965)'), GeomFromEWKT('SRID=4674;POINT (-40.392536 -2.785968)'))) / (select extract(epoch from '2026-07-07 14:09:00'::timestamp) - extract(epoch from '2026-07-07 14:08:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392495 -2.785965)'), GeomFromEWKT('SRID=4674;POINT (-40.392536 -2.785968)'))) / (select extract(epoch from '2026-07-07 14:09:00'::timestamp) - extract(epoch from '2026-07-07 14:08: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'), 47829, 'SRID=4674;POINT (-40.392572 -2.785969)', '2026-07-07 14:09:07', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392536 -2.785968)'), GeomFromEWKT('SRID=4674;POINT (-40.392572 -2.785969)'))) / (select extract(epoch from '2026-07-07 14:09:07'::timestamp) - extract(epoch from '2026-07-07 14:09:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392536 -2.785968)'), GeomFromEWKT('SRID=4674;POINT (-40.392572 -2.785969)'))) / (select extract(epoch from '2026-07-07 14:09:07'::timestamp) - extract(epoch from '2026-07-07 14:09: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'), 47829, 'SRID=4674;POINT (-40.392597 -2.785967)', '2026-07-07 14:09:14', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392572 -2.785969)'), GeomFromEWKT('SRID=4674;POINT (-40.392597 -2.785967)'))) / (select extract(epoch from '2026-07-07 14:09:14'::timestamp) - extract(epoch from '2026-07-07 14:09:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392572 -2.785969)'), GeomFromEWKT('SRID=4674;POINT (-40.392597 -2.785967)'))) / (select extract(epoch from '2026-07-07 14:09:14'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.392621 -2.785971)', '2026-07-07 14:09:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392597 -2.785967)'), GeomFromEWKT('SRID=4674;POINT (-40.392621 -2.785971)'))) / (select extract(epoch from '2026-07-07 14:09:20'::timestamp) - extract(epoch from '2026-07-07 14:09:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392597 -2.785967)'), GeomFromEWKT('SRID=4674;POINT (-40.392621 -2.785971)'))) / (select extract(epoch from '2026-07-07 14:09:20'::timestamp) - extract(epoch from '2026-07-07 14:09: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'), 47829, 'SRID=4674;POINT (-40.392641 -2.785972)', '2026-07-07 14:09:26', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392621 -2.785971)'), GeomFromEWKT('SRID=4674;POINT (-40.392641 -2.785972)'))) / (select extract(epoch from '2026-07-07 14:09:26'::timestamp) - extract(epoch from '2026-07-07 14:09:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392621 -2.785971)'), GeomFromEWKT('SRID=4674;POINT (-40.392641 -2.785972)'))) / (select extract(epoch from '2026-07-07 14:09:26'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.392675 -2.785977)', '2026-07-07 14:09:34', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392641 -2.785972)'), GeomFromEWKT('SRID=4674;POINT (-40.392675 -2.785977)'))) / (select extract(epoch from '2026-07-07 14:09:34'::timestamp) - extract(epoch from '2026-07-07 14:09:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392641 -2.785972)'), GeomFromEWKT('SRID=4674;POINT (-40.392675 -2.785977)'))) / (select extract(epoch from '2026-07-07 14:09:34'::timestamp) - extract(epoch from '2026-07-07 14:09: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'), 47829, 'SRID=4674;POINT (-40.392719 -2.785982)', '2026-07-07 14:09:45', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392675 -2.785977)'), GeomFromEWKT('SRID=4674;POINT (-40.392719 -2.785982)'))) / (select extract(epoch from '2026-07-07 14:09:45'::timestamp) - extract(epoch from '2026-07-07 14:09:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392675 -2.785977)'), GeomFromEWKT('SRID=4674;POINT (-40.392719 -2.785982)'))) / (select extract(epoch from '2026-07-07 14:09:45'::timestamp) - extract(epoch from '2026-07-07 14:09: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'), 47829, 'SRID=4674;POINT (-40.39277 -2.785984)', '2026-07-07 14:09:58', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392719 -2.785982)'), GeomFromEWKT('SRID=4674;POINT (-40.39277 -2.785984)'))) / (select extract(epoch from '2026-07-07 14:09:58'::timestamp) - extract(epoch from '2026-07-07 14:09:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392719 -2.785982)'), GeomFromEWKT('SRID=4674;POINT (-40.39277 -2.785984)'))) / (select extract(epoch from '2026-07-07 14:09:58'::timestamp) - extract(epoch from '2026-07-07 14:09:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.3928 -2.78599)', '2026-07-07 14:10:06', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39277 -2.785984)'), GeomFromEWKT('SRID=4674;POINT (-40.3928 -2.78599)'))) / (select extract(epoch from '2026-07-07 14:10:06'::timestamp) - extract(epoch from '2026-07-07 14:09:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39277 -2.785984)'), GeomFromEWKT('SRID=4674;POINT (-40.3928 -2.78599)'))) / (select extract(epoch from '2026-07-07 14:10:06'::timestamp) - extract(epoch from '2026-07-07 14:09: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'), 47829, 'SRID=4674;POINT (-40.392838 -2.785994)', '2026-07-07 14:10:14', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3928 -2.78599)'), GeomFromEWKT('SRID=4674;POINT (-40.392838 -2.785994)'))) / (select extract(epoch from '2026-07-07 14:10:14'::timestamp) - extract(epoch from '2026-07-07 14:10:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3928 -2.78599)'), GeomFromEWKT('SRID=4674;POINT (-40.392838 -2.785994)'))) / (select extract(epoch from '2026-07-07 14:10:14'::timestamp) - extract(epoch from '2026-07-07 14:10:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.392863 -2.785998)', '2026-07-07 14:10:22', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392838 -2.785994)'), GeomFromEWKT('SRID=4674;POINT (-40.392863 -2.785998)'))) / (select extract(epoch from '2026-07-07 14:10:22'::timestamp) - extract(epoch from '2026-07-07 14:10:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392838 -2.785994)'), GeomFromEWKT('SRID=4674;POINT (-40.392863 -2.785998)'))) / (select extract(epoch from '2026-07-07 14:10:22'::timestamp) - extract(epoch from '2026-07-07 14:10:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.39292 -2.786004)', '2026-07-07 14:10:31', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392863 -2.785998)'), GeomFromEWKT('SRID=4674;POINT (-40.39292 -2.786004)'))) / (select extract(epoch from '2026-07-07 14:10:31'::timestamp) - extract(epoch from '2026-07-07 14:10:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392863 -2.785998)'), GeomFromEWKT('SRID=4674;POINT (-40.39292 -2.786004)'))) / (select extract(epoch from '2026-07-07 14:10:31'::timestamp) - extract(epoch from '2026-07-07 14:10: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'), 47829, 'SRID=4674;POINT (-40.392988 -2.786019)', '2026-07-07 14:10:46', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39292 -2.786004)'), GeomFromEWKT('SRID=4674;POINT (-40.392988 -2.786019)'))) / (select extract(epoch from '2026-07-07 14:10:46'::timestamp) - extract(epoch from '2026-07-07 14:10:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39292 -2.786004)'), GeomFromEWKT('SRID=4674;POINT (-40.392988 -2.786019)'))) / (select extract(epoch from '2026-07-07 14:10:46'::timestamp) - extract(epoch from '2026-07-07 14:10: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'), 47829, 'SRID=4674;POINT (-40.393024 -2.786018)', '2026-07-07 14:10:54', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392988 -2.786019)'), GeomFromEWKT('SRID=4674;POINT (-40.393024 -2.786018)'))) / (select extract(epoch from '2026-07-07 14:10:54'::timestamp) - extract(epoch from '2026-07-07 14:10:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392988 -2.786019)'), GeomFromEWKT('SRID=4674;POINT (-40.393024 -2.786018)'))) / (select extract(epoch from '2026-07-07 14:10:54'::timestamp) - extract(epoch from '2026-07-07 14:10:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.393055 -2.786021)', '2026-07-07 14:11:01', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393024 -2.786018)'), GeomFromEWKT('SRID=4674;POINT (-40.393055 -2.786021)'))) / (select extract(epoch from '2026-07-07 14:11:01'::timestamp) - extract(epoch from '2026-07-07 14:10:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393024 -2.786018)'), GeomFromEWKT('SRID=4674;POINT (-40.393055 -2.786021)'))) / (select extract(epoch from '2026-07-07 14:11:01'::timestamp) - extract(epoch from '2026-07-07 14:10: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'), 47829, 'SRID=4674;POINT (-40.393094 -2.786016)', '2026-07-07 14:11:09', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393055 -2.786021)'), GeomFromEWKT('SRID=4674;POINT (-40.393094 -2.786016)'))) / (select extract(epoch from '2026-07-07 14:11:09'::timestamp) - extract(epoch from '2026-07-07 14:11:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393055 -2.786021)'), GeomFromEWKT('SRID=4674;POINT (-40.393094 -2.786016)'))) / (select extract(epoch from '2026-07-07 14:11:09'::timestamp) - extract(epoch from '2026-07-07 14:11: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'), 47829, 'SRID=4674;POINT (-40.393134 -2.786013)', '2026-07-07 14:11:18', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393094 -2.786016)'), GeomFromEWKT('SRID=4674;POINT (-40.393134 -2.786013)'))) / (select extract(epoch from '2026-07-07 14:11:18'::timestamp) - extract(epoch from '2026-07-07 14:11:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393094 -2.786016)'), GeomFromEWKT('SRID=4674;POINT (-40.393134 -2.786013)'))) / (select extract(epoch from '2026-07-07 14:11:18'::timestamp) - extract(epoch from '2026-07-07 14:11:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.393168 -2.786012)', '2026-07-07 14:11:25', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393134 -2.786013)'), GeomFromEWKT('SRID=4674;POINT (-40.393168 -2.786012)'))) / (select extract(epoch from '2026-07-07 14:11:25'::timestamp) - extract(epoch from '2026-07-07 14:11:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393134 -2.786013)'), GeomFromEWKT('SRID=4674;POINT (-40.393168 -2.786012)'))) / (select extract(epoch from '2026-07-07 14:11:25'::timestamp) - extract(epoch from '2026-07-07 14:11:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.393191 -2.786007)', '2026-07-07 14:11:31', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393168 -2.786012)'), GeomFromEWKT('SRID=4674;POINT (-40.393191 -2.786007)'))) / (select extract(epoch from '2026-07-07 14:11:31'::timestamp) - extract(epoch from '2026-07-07 14:11:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393168 -2.786012)'), GeomFromEWKT('SRID=4674;POINT (-40.393191 -2.786007)'))) / (select extract(epoch from '2026-07-07 14:11:31'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.393224 -2.786005)', '2026-07-07 14:11:38', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393191 -2.786007)'), GeomFromEWKT('SRID=4674;POINT (-40.393224 -2.786005)'))) / (select extract(epoch from '2026-07-07 14:11:38'::timestamp) - extract(epoch from '2026-07-07 14:11:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393191 -2.786007)'), GeomFromEWKT('SRID=4674;POINT (-40.393224 -2.786005)'))) / (select extract(epoch from '2026-07-07 14:11:38'::timestamp) - extract(epoch from '2026-07-07 14:11:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.393276 -2.786007)', '2026-07-07 14:11:48', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393224 -2.786005)'), GeomFromEWKT('SRID=4674;POINT (-40.393276 -2.786007)'))) / (select extract(epoch from '2026-07-07 14:11:48'::timestamp) - extract(epoch from '2026-07-07 14:11:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393224 -2.786005)'), GeomFromEWKT('SRID=4674;POINT (-40.393276 -2.786007)'))) / (select extract(epoch from '2026-07-07 14:11:48'::timestamp) - extract(epoch from '2026-07-07 14:11:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.393299 -2.786006)', '2026-07-07 14:11:55', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393276 -2.786007)'), GeomFromEWKT('SRID=4674;POINT (-40.393299 -2.786006)'))) / (select extract(epoch from '2026-07-07 14:11:55'::timestamp) - extract(epoch from '2026-07-07 14:11:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393276 -2.786007)'), GeomFromEWKT('SRID=4674;POINT (-40.393299 -2.786006)'))) / (select extract(epoch from '2026-07-07 14:11:55'::timestamp) - extract(epoch from '2026-07-07 14:11: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'), 47829, 'SRID=4674;POINT (-40.393302 -2.786007)', '2026-07-07 14:11:56', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393299 -2.786006)'), GeomFromEWKT('SRID=4674;POINT (-40.393302 -2.786007)'))) / (select extract(epoch from '2026-07-07 14:11:56'::timestamp) - extract(epoch from '2026-07-07 14:11:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393299 -2.786006)'), GeomFromEWKT('SRID=4674;POINT (-40.393302 -2.786007)'))) / (select extract(epoch from '2026-07-07 14:11:56'::timestamp) - extract(epoch from '2026-07-07 14:11:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.393353 -2.78601)', '2026-07-07 14:12:07', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393302 -2.786007)'), GeomFromEWKT('SRID=4674;POINT (-40.393353 -2.78601)'))) / (select extract(epoch from '2026-07-07 14:12:07'::timestamp) - extract(epoch from '2026-07-07 14:11:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393302 -2.786007)'), GeomFromEWKT('SRID=4674;POINT (-40.393353 -2.78601)'))) / (select extract(epoch from '2026-07-07 14:12:07'::timestamp) - extract(epoch from '2026-07-07 14:11: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'), 47829, 'SRID=4674;POINT (-40.393415 -2.786022)', '2026-07-07 14:12:23', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393353 -2.78601)'), GeomFromEWKT('SRID=4674;POINT (-40.393415 -2.786022)'))) / (select extract(epoch from '2026-07-07 14:12:23'::timestamp) - extract(epoch from '2026-07-07 14:12:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393353 -2.78601)'), GeomFromEWKT('SRID=4674;POINT (-40.393415 -2.786022)'))) / (select extract(epoch from '2026-07-07 14:12:23'::timestamp) - extract(epoch from '2026-07-07 14:12:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.393478 -2.786026)', '2026-07-07 14:12:39', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393415 -2.786022)'), GeomFromEWKT('SRID=4674;POINT (-40.393478 -2.786026)'))) / (select extract(epoch from '2026-07-07 14:12:39'::timestamp) - extract(epoch from '2026-07-07 14:12:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393415 -2.786022)'), GeomFromEWKT('SRID=4674;POINT (-40.393478 -2.786026)'))) / (select extract(epoch from '2026-07-07 14:12:39'::timestamp) - extract(epoch from '2026-07-07 14:12: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'), 47829, 'SRID=4674;POINT (-40.393517 -2.786027)', '2026-07-07 14:12:48', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393478 -2.786026)'), GeomFromEWKT('SRID=4674;POINT (-40.393517 -2.786027)'))) / (select extract(epoch from '2026-07-07 14:12:48'::timestamp) - extract(epoch from '2026-07-07 14:12:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393478 -2.786026)'), GeomFromEWKT('SRID=4674;POINT (-40.393517 -2.786027)'))) / (select extract(epoch from '2026-07-07 14:12:48'::timestamp) - extract(epoch from '2026-07-07 14:12: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'), 47829, 'SRID=4674;POINT (-40.393581 -2.78603)', '2026-07-07 14:13:03', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393517 -2.786027)'), GeomFromEWKT('SRID=4674;POINT (-40.393581 -2.78603)'))) / (select extract(epoch from '2026-07-07 14:13:03'::timestamp) - extract(epoch from '2026-07-07 14:12:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393517 -2.786027)'), GeomFromEWKT('SRID=4674;POINT (-40.393581 -2.78603)'))) / (select extract(epoch from '2026-07-07 14:13:03'::timestamp) - extract(epoch from '2026-07-07 14:12:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.393661 -2.786032)', '2026-07-07 14:13:22', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393581 -2.78603)'), GeomFromEWKT('SRID=4674;POINT (-40.393661 -2.786032)'))) / (select extract(epoch from '2026-07-07 14:13:22'::timestamp) - extract(epoch from '2026-07-07 14:13:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393581 -2.78603)'), GeomFromEWKT('SRID=4674;POINT (-40.393661 -2.786032)'))) / (select extract(epoch from '2026-07-07 14:13:22'::timestamp) - extract(epoch from '2026-07-07 14:13:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.393737 -2.786046)', '2026-07-07 14:13:37', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393661 -2.786032)'), GeomFromEWKT('SRID=4674;POINT (-40.393737 -2.786046)'))) / (select extract(epoch from '2026-07-07 14:13:37'::timestamp) - extract(epoch from '2026-07-07 14:13:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393661 -2.786032)'), GeomFromEWKT('SRID=4674;POINT (-40.393737 -2.786046)'))) / (select extract(epoch from '2026-07-07 14:13:37'::timestamp) - extract(epoch from '2026-07-07 14:13: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'), 47829, 'SRID=4674;POINT (-40.393798 -2.786013)', '2026-07-07 14:13:47', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393737 -2.786046)'), GeomFromEWKT('SRID=4674;POINT (-40.393798 -2.786013)'))) / (select extract(epoch from '2026-07-07 14:13:47'::timestamp) - extract(epoch from '2026-07-07 14:13:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393737 -2.786046)'), GeomFromEWKT('SRID=4674;POINT (-40.393798 -2.786013)'))) / (select extract(epoch from '2026-07-07 14:13:47'::timestamp) - extract(epoch from '2026-07-07 14:13:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.393805 -2.786005)', '2026-07-07 14:13:48', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393798 -2.786013)'), GeomFromEWKT('SRID=4674;POINT (-40.393805 -2.786005)'))) / (select extract(epoch from '2026-07-07 14:13:48'::timestamp) - extract(epoch from '2026-07-07 14:13:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393798 -2.786013)'), GeomFromEWKT('SRID=4674;POINT (-40.393805 -2.786005)'))) / (select extract(epoch from '2026-07-07 14:13:48'::timestamp) - extract(epoch from '2026-07-07 14:13:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.393829 -2.785963)', '2026-07-07 14:13:52', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393805 -2.786005)'), GeomFromEWKT('SRID=4674;POINT (-40.393829 -2.785963)'))) / (select extract(epoch from '2026-07-07 14:13:52'::timestamp) - extract(epoch from '2026-07-07 14:13:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393805 -2.786005)'), GeomFromEWKT('SRID=4674;POINT (-40.393829 -2.785963)'))) / (select extract(epoch from '2026-07-07 14:13:52'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.393829 -2.785912)', '2026-07-07 14:13:56', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393829 -2.785963)'), GeomFromEWKT('SRID=4674;POINT (-40.393829 -2.785912)'))) / (select extract(epoch from '2026-07-07 14:13:56'::timestamp) - extract(epoch from '2026-07-07 14:13:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393829 -2.785963)'), GeomFromEWKT('SRID=4674;POINT (-40.393829 -2.785912)'))) / (select extract(epoch from '2026-07-07 14:13:56'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.39382 -2.785889)', '2026-07-07 14:13:58', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393829 -2.785912)'), GeomFromEWKT('SRID=4674;POINT (-40.39382 -2.785889)'))) / (select extract(epoch from '2026-07-07 14:13:58'::timestamp) - extract(epoch from '2026-07-07 14:13:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393829 -2.785912)'), GeomFromEWKT('SRID=4674;POINT (-40.39382 -2.785889)'))) / (select extract(epoch from '2026-07-07 14:13:58'::timestamp) - extract(epoch from '2026-07-07 14:13: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'), 47829, 'SRID=4674;POINT (-40.393783 -2.785852)', '2026-07-07 14:14:02', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39382 -2.785889)'), GeomFromEWKT('SRID=4674;POINT (-40.393783 -2.785852)'))) / (select extract(epoch from '2026-07-07 14:14:02'::timestamp) - extract(epoch from '2026-07-07 14:13:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39382 -2.785889)'), GeomFromEWKT('SRID=4674;POINT (-40.393783 -2.785852)'))) / (select extract(epoch from '2026-07-07 14:14:02'::timestamp) - extract(epoch from '2026-07-07 14:13:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.393762 -2.785841)', '2026-07-07 14:14:04', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393783 -2.785852)'), GeomFromEWKT('SRID=4674;POINT (-40.393762 -2.785841)'))) / (select extract(epoch from '2026-07-07 14:14:04'::timestamp) - extract(epoch from '2026-07-07 14:14:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393783 -2.785852)'), GeomFromEWKT('SRID=4674;POINT (-40.393762 -2.785841)'))) / (select extract(epoch from '2026-07-07 14:14:04'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.3937 -2.785853)', '2026-07-07 14:14:09', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393762 -2.785841)'), GeomFromEWKT('SRID=4674;POINT (-40.3937 -2.785853)'))) / (select extract(epoch from '2026-07-07 14:14:09'::timestamp) - extract(epoch from '2026-07-07 14:14:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393762 -2.785841)'), GeomFromEWKT('SRID=4674;POINT (-40.3937 -2.785853)'))) / (select extract(epoch from '2026-07-07 14:14:09'::timestamp) - extract(epoch from '2026-07-07 14:14: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'), 47829, 'SRID=4674;POINT (-40.393686 -2.785861)', '2026-07-07 14:14:10', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3937 -2.785853)'), GeomFromEWKT('SRID=4674;POINT (-40.393686 -2.785861)'))) / (select extract(epoch from '2026-07-07 14:14:10'::timestamp) - extract(epoch from '2026-07-07 14:14:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3937 -2.785853)'), GeomFromEWKT('SRID=4674;POINT (-40.393686 -2.785861)'))) / (select extract(epoch from '2026-07-07 14:14:10'::timestamp) - extract(epoch from '2026-07-07 14:14:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.393603 -2.785918)', '2026-07-07 14:14:15', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393686 -2.785861)'), GeomFromEWKT('SRID=4674;POINT (-40.393603 -2.785918)'))) / (select extract(epoch from '2026-07-07 14:14:15'::timestamp) - extract(epoch from '2026-07-07 14:14:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393686 -2.785861)'), GeomFromEWKT('SRID=4674;POINT (-40.393603 -2.785918)'))) / (select extract(epoch from '2026-07-07 14:14:15'::timestamp) - extract(epoch from '2026-07-07 14:14: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'), 47829, 'SRID=4674;POINT (-40.393526 -2.785994)', '2026-07-07 14:14:20', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393603 -2.785918)'), GeomFromEWKT('SRID=4674;POINT (-40.393526 -2.785994)'))) / (select extract(epoch from '2026-07-07 14:14:20'::timestamp) - extract(epoch from '2026-07-07 14:14:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393603 -2.785918)'), GeomFromEWKT('SRID=4674;POINT (-40.393526 -2.785994)'))) / (select extract(epoch from '2026-07-07 14:14:20'::timestamp) - extract(epoch from '2026-07-07 14:14: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'), 47829, 'SRID=4674;POINT (-40.393438 -2.7861)', '2026-07-07 14:14:26', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393526 -2.785994)'), GeomFromEWKT('SRID=4674;POINT (-40.393438 -2.7861)'))) / (select extract(epoch from '2026-07-07 14:14:26'::timestamp) - extract(epoch from '2026-07-07 14:14:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393526 -2.785994)'), GeomFromEWKT('SRID=4674;POINT (-40.393438 -2.7861)'))) / (select extract(epoch from '2026-07-07 14:14:26'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.393352 -2.786179)', '2026-07-07 14:14:32', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393438 -2.7861)'), GeomFromEWKT('SRID=4674;POINT (-40.393352 -2.786179)'))) / (select extract(epoch from '2026-07-07 14:14:32'::timestamp) - extract(epoch from '2026-07-07 14:14:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393438 -2.7861)'), GeomFromEWKT('SRID=4674;POINT (-40.393352 -2.786179)'))) / (select extract(epoch from '2026-07-07 14:14:32'::timestamp) - extract(epoch from '2026-07-07 14:14: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'), 47829, 'SRID=4674;POINT (-40.393291 -2.786231)', '2026-07-07 14:14:36', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393352 -2.786179)'), GeomFromEWKT('SRID=4674;POINT (-40.393291 -2.786231)'))) / (select extract(epoch from '2026-07-07 14:14:36'::timestamp) - extract(epoch from '2026-07-07 14:14:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393352 -2.786179)'), GeomFromEWKT('SRID=4674;POINT (-40.393291 -2.786231)'))) / (select extract(epoch from '2026-07-07 14:14:36'::timestamp) - extract(epoch from '2026-07-07 14:14:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.393174 -2.78632)', '2026-07-07 14:14:43', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393291 -2.786231)'), GeomFromEWKT('SRID=4674;POINT (-40.393174 -2.78632)'))) / (select extract(epoch from '2026-07-07 14:14:43'::timestamp) - extract(epoch from '2026-07-07 14:14:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393291 -2.786231)'), GeomFromEWKT('SRID=4674;POINT (-40.393174 -2.78632)'))) / (select extract(epoch from '2026-07-07 14:14:43'::timestamp) - extract(epoch from '2026-07-07 14:14:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.393144 -2.786348)', '2026-07-07 14:14:45', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393174 -2.78632)'), GeomFromEWKT('SRID=4674;POINT (-40.393144 -2.786348)'))) / (select extract(epoch from '2026-07-07 14:14:45'::timestamp) - extract(epoch from '2026-07-07 14:14:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393174 -2.78632)'), GeomFromEWKT('SRID=4674;POINT (-40.393144 -2.786348)'))) / (select extract(epoch from '2026-07-07 14:14:45'::timestamp) - extract(epoch from '2026-07-07 14:14: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'), 47829, 'SRID=4674;POINT (-40.39309 -2.786383)', '2026-07-07 14:14:48', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393144 -2.786348)'), GeomFromEWKT('SRID=4674;POINT (-40.39309 -2.786383)'))) / (select extract(epoch from '2026-07-07 14:14:48'::timestamp) - extract(epoch from '2026-07-07 14:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393144 -2.786348)'), GeomFromEWKT('SRID=4674;POINT (-40.39309 -2.786383)'))) / (select extract(epoch from '2026-07-07 14:14:48'::timestamp) - extract(epoch from '2026-07-07 14:14:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.392952 -2.786454)', '2026-07-07 14:14:55', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39309 -2.786383)'), GeomFromEWKT('SRID=4674;POINT (-40.392952 -2.786454)'))) / (select extract(epoch from '2026-07-07 14:14:55'::timestamp) - extract(epoch from '2026-07-07 14:14:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39309 -2.786383)'), GeomFromEWKT('SRID=4674;POINT (-40.392952 -2.786454)'))) / (select extract(epoch from '2026-07-07 14:14:55'::timestamp) - extract(epoch from '2026-07-07 14:14: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'), 47829, 'SRID=4674;POINT (-40.392819 -2.786533)', '2026-07-07 14:15:02', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392952 -2.786454)'), GeomFromEWKT('SRID=4674;POINT (-40.392819 -2.786533)'))) / (select extract(epoch from '2026-07-07 14:15:02'::timestamp) - extract(epoch from '2026-07-07 14:14:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392952 -2.786454)'), GeomFromEWKT('SRID=4674;POINT (-40.392819 -2.786533)'))) / (select extract(epoch from '2026-07-07 14:15:02'::timestamp) - extract(epoch from '2026-07-07 14:14: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'), 47829, 'SRID=4674;POINT (-40.392682 -2.786612)', '2026-07-07 14:15:09', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392819 -2.786533)'), GeomFromEWKT('SRID=4674;POINT (-40.392682 -2.786612)'))) / (select extract(epoch from '2026-07-07 14:15:09'::timestamp) - extract(epoch from '2026-07-07 14:15:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392819 -2.786533)'), GeomFromEWKT('SRID=4674;POINT (-40.392682 -2.786612)'))) / (select extract(epoch from '2026-07-07 14:15:09'::timestamp) - extract(epoch from '2026-07-07 14:15:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.392563 -2.786679)', '2026-07-07 14:15:15', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392682 -2.786612)'), GeomFromEWKT('SRID=4674;POINT (-40.392563 -2.786679)'))) / (select extract(epoch from '2026-07-07 14:15:15'::timestamp) - extract(epoch from '2026-07-07 14:15:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392682 -2.786612)'), GeomFromEWKT('SRID=4674;POINT (-40.392563 -2.786679)'))) / (select extract(epoch from '2026-07-07 14:15:15'::timestamp) - extract(epoch from '2026-07-07 14:15: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'), 47829, 'SRID=4674;POINT (-40.392442 -2.78676)', '2026-07-07 14:15:22', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392563 -2.786679)'), GeomFromEWKT('SRID=4674;POINT (-40.392442 -2.78676)'))) / (select extract(epoch from '2026-07-07 14:15:22'::timestamp) - extract(epoch from '2026-07-07 14:15:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392563 -2.786679)'), GeomFromEWKT('SRID=4674;POINT (-40.392442 -2.78676)'))) / (select extract(epoch from '2026-07-07 14:15:22'::timestamp) - extract(epoch from '2026-07-07 14:15: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'), 47829, 'SRID=4674;POINT (-40.392362 -2.786817)', '2026-07-07 14:15:27', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392442 -2.78676)'), GeomFromEWKT('SRID=4674;POINT (-40.392362 -2.786817)'))) / (select extract(epoch from '2026-07-07 14:15:27'::timestamp) - extract(epoch from '2026-07-07 14:15:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392442 -2.78676)'), GeomFromEWKT('SRID=4674;POINT (-40.392362 -2.786817)'))) / (select extract(epoch from '2026-07-07 14:15:27'::timestamp) - extract(epoch from '2026-07-07 14:15: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'), 47829, 'SRID=4674;POINT (-40.392259 -2.786888)', '2026-07-07 14:15:33', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392362 -2.786817)'), GeomFromEWKT('SRID=4674;POINT (-40.392259 -2.786888)'))) / (select extract(epoch from '2026-07-07 14:15:33'::timestamp) - extract(epoch from '2026-07-07 14:15:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392362 -2.786817)'), GeomFromEWKT('SRID=4674;POINT (-40.392259 -2.786888)'))) / (select extract(epoch from '2026-07-07 14:15:33'::timestamp) - extract(epoch from '2026-07-07 14:15:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.392108 -2.786972)', '2026-07-07 14:15:41', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392259 -2.786888)'), GeomFromEWKT('SRID=4674;POINT (-40.392108 -2.786972)'))) / (select extract(epoch from '2026-07-07 14:15:41'::timestamp) - extract(epoch from '2026-07-07 14:15:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392259 -2.786888)'), GeomFromEWKT('SRID=4674;POINT (-40.392108 -2.786972)'))) / (select extract(epoch from '2026-07-07 14:15:41'::timestamp) - extract(epoch from '2026-07-07 14:15:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.391963 -2.787009)', '2026-07-07 14:15:48', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392108 -2.786972)'), GeomFromEWKT('SRID=4674;POINT (-40.391963 -2.787009)'))) / (select extract(epoch from '2026-07-07 14:15:48'::timestamp) - extract(epoch from '2026-07-07 14:15:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392108 -2.786972)'), GeomFromEWKT('SRID=4674;POINT (-40.391963 -2.787009)'))) / (select extract(epoch from '2026-07-07 14:15:48'::timestamp) - extract(epoch from '2026-07-07 14:15:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.39184 -2.787044)', '2026-07-07 14:15:54', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391963 -2.787009)'), GeomFromEWKT('SRID=4674;POINT (-40.39184 -2.787044)'))) / (select extract(epoch from '2026-07-07 14:15:54'::timestamp) - extract(epoch from '2026-07-07 14:15:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391963 -2.787009)'), GeomFromEWKT('SRID=4674;POINT (-40.39184 -2.787044)'))) / (select extract(epoch from '2026-07-07 14:15:54'::timestamp) - extract(epoch from '2026-07-07 14:15: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'), 47829, 'SRID=4674;POINT (-40.391727 -2.787097)', '2026-07-07 14:16:00', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39184 -2.787044)'), GeomFromEWKT('SRID=4674;POINT (-40.391727 -2.787097)'))) / (select extract(epoch from '2026-07-07 14:16:00'::timestamp) - extract(epoch from '2026-07-07 14:15:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39184 -2.787044)'), GeomFromEWKT('SRID=4674;POINT (-40.391727 -2.787097)'))) / (select extract(epoch from '2026-07-07 14:16:00'::timestamp) - extract(epoch from '2026-07-07 14:15: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'), 47829, 'SRID=4674;POINT (-40.391633 -2.787143)', '2026-07-07 14:16:05', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391727 -2.787097)'), GeomFromEWKT('SRID=4674;POINT (-40.391633 -2.787143)'))) / (select extract(epoch from '2026-07-07 14:16:05'::timestamp) - extract(epoch from '2026-07-07 14:16:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391727 -2.787097)'), GeomFromEWKT('SRID=4674;POINT (-40.391633 -2.787143)'))) / (select extract(epoch from '2026-07-07 14:16:05'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.39159 -2.787186)', '2026-07-07 14:16:08', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391633 -2.787143)'), GeomFromEWKT('SRID=4674;POINT (-40.39159 -2.787186)'))) / (select extract(epoch from '2026-07-07 14:16:08'::timestamp) - extract(epoch from '2026-07-07 14:16:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391633 -2.787143)'), GeomFromEWKT('SRID=4674;POINT (-40.39159 -2.787186)'))) / (select extract(epoch from '2026-07-07 14:16:08'::timestamp) - extract(epoch from '2026-07-07 14:16: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'), 47829, 'SRID=4674;POINT (-40.391563 -2.787216)', '2026-07-07 14:16:10', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39159 -2.787186)'), GeomFromEWKT('SRID=4674;POINT (-40.391563 -2.787216)'))) / (select extract(epoch from '2026-07-07 14:16:10'::timestamp) - extract(epoch from '2026-07-07 14:16:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39159 -2.787186)'), GeomFromEWKT('SRID=4674;POINT (-40.391563 -2.787216)'))) / (select extract(epoch from '2026-07-07 14:16:10'::timestamp) - extract(epoch from '2026-07-07 14:16:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.391492 -2.787288)', '2026-07-07 14:16:15', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391563 -2.787216)'), GeomFromEWKT('SRID=4674;POINT (-40.391492 -2.787288)'))) / (select extract(epoch from '2026-07-07 14:16:15'::timestamp) - extract(epoch from '2026-07-07 14:16:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391563 -2.787216)'), GeomFromEWKT('SRID=4674;POINT (-40.391492 -2.787288)'))) / (select extract(epoch from '2026-07-07 14:16:15'::timestamp) - extract(epoch from '2026-07-07 14:16: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'), 47829, 'SRID=4674;POINT (-40.391382 -2.787388)', '2026-07-07 14:16:22', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391492 -2.787288)'), GeomFromEWKT('SRID=4674;POINT (-40.391382 -2.787388)'))) / (select extract(epoch from '2026-07-07 14:16:22'::timestamp) - extract(epoch from '2026-07-07 14:16:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391492 -2.787288)'), GeomFromEWKT('SRID=4674;POINT (-40.391382 -2.787388)'))) / (select extract(epoch from '2026-07-07 14:16:22'::timestamp) - extract(epoch from '2026-07-07 14:16:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.391313 -2.787443)', '2026-07-07 14:16:26', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391382 -2.787388)'), GeomFromEWKT('SRID=4674;POINT (-40.391313 -2.787443)'))) / (select extract(epoch from '2026-07-07 14:16:26'::timestamp) - extract(epoch from '2026-07-07 14:16:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391382 -2.787388)'), GeomFromEWKT('SRID=4674;POINT (-40.391313 -2.787443)'))) / (select extract(epoch from '2026-07-07 14:16:26'::timestamp) - extract(epoch from '2026-07-07 14:16:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.391207 -2.787525)', '2026-07-07 14:16:32', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391313 -2.787443)'), GeomFromEWKT('SRID=4674;POINT (-40.391207 -2.787525)'))) / (select extract(epoch from '2026-07-07 14:16:32'::timestamp) - extract(epoch from '2026-07-07 14:16:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391313 -2.787443)'), GeomFromEWKT('SRID=4674;POINT (-40.391207 -2.787525)'))) / (select extract(epoch from '2026-07-07 14:16:32'::timestamp) - extract(epoch from '2026-07-07 14:16: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'), 47829, 'SRID=4674;POINT (-40.39112 -2.787595)', '2026-07-07 14:16:37', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391207 -2.787525)'), GeomFromEWKT('SRID=4674;POINT (-40.39112 -2.787595)'))) / (select extract(epoch from '2026-07-07 14:16:37'::timestamp) - extract(epoch from '2026-07-07 14:16:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391207 -2.787525)'), GeomFromEWKT('SRID=4674;POINT (-40.39112 -2.787595)'))) / (select extract(epoch from '2026-07-07 14:16:37'::timestamp) - extract(epoch from '2026-07-07 14:16:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.391013 -2.787699)', '2026-07-07 14:16:44', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39112 -2.787595)'), GeomFromEWKT('SRID=4674;POINT (-40.391013 -2.787699)'))) / (select extract(epoch from '2026-07-07 14:16:44'::timestamp) - extract(epoch from '2026-07-07 14:16:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39112 -2.787595)'), GeomFromEWKT('SRID=4674;POINT (-40.391013 -2.787699)'))) / (select extract(epoch from '2026-07-07 14:16:44'::timestamp) - extract(epoch from '2026-07-07 14:16:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.390882 -2.787779)', '2026-07-07 14:16:51', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391013 -2.787699)'), GeomFromEWKT('SRID=4674;POINT (-40.390882 -2.787779)'))) / (select extract(epoch from '2026-07-07 14:16:51'::timestamp) - extract(epoch from '2026-07-07 14:16:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391013 -2.787699)'), GeomFromEWKT('SRID=4674;POINT (-40.390882 -2.787779)'))) / (select extract(epoch from '2026-07-07 14:16:51'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.390791 -2.787836)', '2026-07-07 14:16:56', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390882 -2.787779)'), GeomFromEWKT('SRID=4674;POINT (-40.390791 -2.787836)'))) / (select extract(epoch from '2026-07-07 14:16:56'::timestamp) - extract(epoch from '2026-07-07 14:16:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390882 -2.787779)'), GeomFromEWKT('SRID=4674;POINT (-40.390791 -2.787836)'))) / (select extract(epoch from '2026-07-07 14:16:56'::timestamp) - extract(epoch from '2026-07-07 14:16:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.390713 -2.787893)', '2026-07-07 14:17:01', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390791 -2.787836)'), GeomFromEWKT('SRID=4674;POINT (-40.390713 -2.787893)'))) / (select extract(epoch from '2026-07-07 14:17:01'::timestamp) - extract(epoch from '2026-07-07 14:16:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390791 -2.787836)'), GeomFromEWKT('SRID=4674;POINT (-40.390713 -2.787893)'))) / (select extract(epoch from '2026-07-07 14:17:01'::timestamp) - extract(epoch from '2026-07-07 14:16:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.3906 -2.787976)', '2026-07-07 14:17:08', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390713 -2.787893)'), GeomFromEWKT('SRID=4674;POINT (-40.3906 -2.787976)'))) / (select extract(epoch from '2026-07-07 14:17:08'::timestamp) - extract(epoch from '2026-07-07 14:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390713 -2.787893)'), GeomFromEWKT('SRID=4674;POINT (-40.3906 -2.787976)'))) / (select extract(epoch from '2026-07-07 14:17:08'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.390482 -2.788102)', '2026-07-07 14:17:16', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3906 -2.787976)'), GeomFromEWKT('SRID=4674;POINT (-40.390482 -2.788102)'))) / (select extract(epoch from '2026-07-07 14:17:16'::timestamp) - extract(epoch from '2026-07-07 14:17:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3906 -2.787976)'), GeomFromEWKT('SRID=4674;POINT (-40.390482 -2.788102)'))) / (select extract(epoch from '2026-07-07 14:17:16'::timestamp) - extract(epoch from '2026-07-07 14:17:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.390405 -2.788183)', '2026-07-07 14:17:21', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390482 -2.788102)'), GeomFromEWKT('SRID=4674;POINT (-40.390405 -2.788183)'))) / (select extract(epoch from '2026-07-07 14:17:21'::timestamp) - extract(epoch from '2026-07-07 14:17:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390482 -2.788102)'), GeomFromEWKT('SRID=4674;POINT (-40.390405 -2.788183)'))) / (select extract(epoch from '2026-07-07 14:17:21'::timestamp) - extract(epoch from '2026-07-07 14:17:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.390308 -2.788304)', '2026-07-07 14:17:28', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390405 -2.788183)'), GeomFromEWKT('SRID=4674;POINT (-40.390308 -2.788304)'))) / (select extract(epoch from '2026-07-07 14:17:28'::timestamp) - extract(epoch from '2026-07-07 14:17:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390405 -2.788183)'), GeomFromEWKT('SRID=4674;POINT (-40.390308 -2.788304)'))) / (select extract(epoch from '2026-07-07 14:17:28'::timestamp) - extract(epoch from '2026-07-07 14:17:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.39019 -2.788409)', '2026-07-07 14:17:35', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390308 -2.788304)'), GeomFromEWKT('SRID=4674;POINT (-40.39019 -2.788409)'))) / (select extract(epoch from '2026-07-07 14:17:35'::timestamp) - extract(epoch from '2026-07-07 14:17:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390308 -2.788304)'), GeomFromEWKT('SRID=4674;POINT (-40.39019 -2.788409)'))) / (select extract(epoch from '2026-07-07 14:17:35'::timestamp) - extract(epoch from '2026-07-07 14:17:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.390107 -2.788478)', '2026-07-07 14:17:40', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39019 -2.788409)'), GeomFromEWKT('SRID=4674;POINT (-40.390107 -2.788478)'))) / (select extract(epoch from '2026-07-07 14:17:40'::timestamp) - extract(epoch from '2026-07-07 14:17:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39019 -2.788409)'), GeomFromEWKT('SRID=4674;POINT (-40.390107 -2.788478)'))) / (select extract(epoch from '2026-07-07 14:17:40'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.390042 -2.788555)', '2026-07-07 14:17:45', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390107 -2.788478)'), GeomFromEWKT('SRID=4674;POINT (-40.390042 -2.788555)'))) / (select extract(epoch from '2026-07-07 14:17:45'::timestamp) - extract(epoch from '2026-07-07 14:17:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390107 -2.788478)'), GeomFromEWKT('SRID=4674;POINT (-40.390042 -2.788555)'))) / (select extract(epoch from '2026-07-07 14:17:45'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.389931 -2.788675)', '2026-07-07 14:17:53', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390042 -2.788555)'), GeomFromEWKT('SRID=4674;POINT (-40.389931 -2.788675)'))) / (select extract(epoch from '2026-07-07 14:17:53'::timestamp) - extract(epoch from '2026-07-07 14:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390042 -2.788555)'), GeomFromEWKT('SRID=4674;POINT (-40.389931 -2.788675)'))) / (select extract(epoch from '2026-07-07 14:17:53'::timestamp) - extract(epoch from '2026-07-07 14:17:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.389819 -2.788783)', '2026-07-07 14:18:00', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389931 -2.788675)'), GeomFromEWKT('SRID=4674;POINT (-40.389819 -2.788783)'))) / (select extract(epoch from '2026-07-07 14:18:00'::timestamp) - extract(epoch from '2026-07-07 14:17:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389931 -2.788675)'), GeomFromEWKT('SRID=4674;POINT (-40.389819 -2.788783)'))) / (select extract(epoch from '2026-07-07 14:18:00'::timestamp) - extract(epoch from '2026-07-07 14:17:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.389696 -2.788901)', '2026-07-07 14:18:08', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389819 -2.788783)'), GeomFromEWKT('SRID=4674;POINT (-40.389696 -2.788901)'))) / (select extract(epoch from '2026-07-07 14:18:08'::timestamp) - extract(epoch from '2026-07-07 14:18:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389819 -2.788783)'), GeomFromEWKT('SRID=4674;POINT (-40.389696 -2.788901)'))) / (select extract(epoch from '2026-07-07 14:18:08'::timestamp) - extract(epoch from '2026-07-07 14:18:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.389564 -2.788997)', '2026-07-07 14:18:16', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389696 -2.788901)'), GeomFromEWKT('SRID=4674;POINT (-40.389564 -2.788997)'))) / (select extract(epoch from '2026-07-07 14:18:16'::timestamp) - extract(epoch from '2026-07-07 14:18:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389696 -2.788901)'), GeomFromEWKT('SRID=4674;POINT (-40.389564 -2.788997)'))) / (select extract(epoch from '2026-07-07 14:18:16'::timestamp) - extract(epoch from '2026-07-07 14:18:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.389421 -2.789097)', '2026-07-07 14:18:24', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389564 -2.788997)'), GeomFromEWKT('SRID=4674;POINT (-40.389421 -2.789097)'))) / (select extract(epoch from '2026-07-07 14:18:24'::timestamp) - extract(epoch from '2026-07-07 14:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389564 -2.788997)'), GeomFromEWKT('SRID=4674;POINT (-40.389421 -2.789097)'))) / (select extract(epoch from '2026-07-07 14:18:24'::timestamp) - extract(epoch from '2026-07-07 14:18:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.389282 -2.7892)', '2026-07-07 14:18:32', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389421 -2.789097)'), GeomFromEWKT('SRID=4674;POINT (-40.389282 -2.7892)'))) / (select extract(epoch from '2026-07-07 14:18:32'::timestamp) - extract(epoch from '2026-07-07 14:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389421 -2.789097)'), GeomFromEWKT('SRID=4674;POINT (-40.389282 -2.7892)'))) / (select extract(epoch from '2026-07-07 14:18:32'::timestamp) - extract(epoch from '2026-07-07 14:18:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.389197 -2.789269)', '2026-07-07 14:18:37', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389282 -2.7892)'), GeomFromEWKT('SRID=4674;POINT (-40.389197 -2.789269)'))) / (select extract(epoch from '2026-07-07 14:18:37'::timestamp) - extract(epoch from '2026-07-07 14:18:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389282 -2.7892)'), GeomFromEWKT('SRID=4674;POINT (-40.389197 -2.789269)'))) / (select extract(epoch from '2026-07-07 14:18:37'::timestamp) - extract(epoch from '2026-07-07 14:18:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.389092 -2.789354)', '2026-07-07 14:18:43', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389197 -2.789269)'), GeomFromEWKT('SRID=4674;POINT (-40.389092 -2.789354)'))) / (select extract(epoch from '2026-07-07 14:18:43'::timestamp) - extract(epoch from '2026-07-07 14:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389197 -2.789269)'), GeomFromEWKT('SRID=4674;POINT (-40.389092 -2.789354)'))) / (select extract(epoch from '2026-07-07 14:18:43'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.389003 -2.789405)', '2026-07-07 14:18:48', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389092 -2.789354)'), GeomFromEWKT('SRID=4674;POINT (-40.389003 -2.789405)'))) / (select extract(epoch from '2026-07-07 14:18:48'::timestamp) - extract(epoch from '2026-07-07 14:18:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389092 -2.789354)'), GeomFromEWKT('SRID=4674;POINT (-40.389003 -2.789405)'))) / (select extract(epoch from '2026-07-07 14:18:48'::timestamp) - extract(epoch from '2026-07-07 14:18:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.38897 -2.789432)', '2026-07-07 14:18:50', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389003 -2.789405)'), GeomFromEWKT('SRID=4674;POINT (-40.38897 -2.789432)'))) / (select extract(epoch from '2026-07-07 14:18:50'::timestamp) - extract(epoch from '2026-07-07 14:18:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389003 -2.789405)'), GeomFromEWKT('SRID=4674;POINT (-40.38897 -2.789432)'))) / (select extract(epoch from '2026-07-07 14:18:50'::timestamp) - extract(epoch from '2026-07-07 14:18:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.388936 -2.789461)', '2026-07-07 14:18:52', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38897 -2.789432)'), GeomFromEWKT('SRID=4674;POINT (-40.388936 -2.789461)'))) / (select extract(epoch from '2026-07-07 14:18:52'::timestamp) - extract(epoch from '2026-07-07 14:18:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38897 -2.789432)'), GeomFromEWKT('SRID=4674;POINT (-40.388936 -2.789461)'))) / (select extract(epoch from '2026-07-07 14:18:52'::timestamp) - extract(epoch from '2026-07-07 14:18:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.38883 -2.789536)', '2026-07-07 14:18:58', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388936 -2.789461)'), GeomFromEWKT('SRID=4674;POINT (-40.38883 -2.789536)'))) / (select extract(epoch from '2026-07-07 14:18:58'::timestamp) - extract(epoch from '2026-07-07 14:18:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388936 -2.789461)'), GeomFromEWKT('SRID=4674;POINT (-40.38883 -2.789536)'))) / (select extract(epoch from '2026-07-07 14:18:58'::timestamp) - extract(epoch from '2026-07-07 14:18:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.38876 -2.789584)', '2026-07-07 14:19:02', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38883 -2.789536)'), GeomFromEWKT('SRID=4674;POINT (-40.38876 -2.789584)'))) / (select extract(epoch from '2026-07-07 14:19:02'::timestamp) - extract(epoch from '2026-07-07 14:18:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38883 -2.789536)'), GeomFromEWKT('SRID=4674;POINT (-40.38876 -2.789584)'))) / (select extract(epoch from '2026-07-07 14:19:02'::timestamp) - extract(epoch from '2026-07-07 14:18:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.388743 -2.789597)', '2026-07-07 14:19:03', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38876 -2.789584)'), GeomFromEWKT('SRID=4674;POINT (-40.388743 -2.789597)'))) / (select extract(epoch from '2026-07-07 14:19:03'::timestamp) - extract(epoch from '2026-07-07 14:19:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38876 -2.789584)'), GeomFromEWKT('SRID=4674;POINT (-40.388743 -2.789597)'))) / (select extract(epoch from '2026-07-07 14:19:03'::timestamp) - extract(epoch from '2026-07-07 14:19:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.388654 -2.789657)', '2026-07-07 14:19:08', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388743 -2.789597)'), GeomFromEWKT('SRID=4674;POINT (-40.388654 -2.789657)'))) / (select extract(epoch from '2026-07-07 14:19:08'::timestamp) - extract(epoch from '2026-07-07 14:19:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388743 -2.789597)'), GeomFromEWKT('SRID=4674;POINT (-40.388654 -2.789657)'))) / (select extract(epoch from '2026-07-07 14:19:08'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.388496 -2.789769)', '2026-07-07 14:19:17', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388654 -2.789657)'), GeomFromEWKT('SRID=4674;POINT (-40.388496 -2.789769)'))) / (select extract(epoch from '2026-07-07 14:19:17'::timestamp) - extract(epoch from '2026-07-07 14:19:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388654 -2.789657)'), GeomFromEWKT('SRID=4674;POINT (-40.388496 -2.789769)'))) / (select extract(epoch from '2026-07-07 14:19:17'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.388396 -2.789835)', '2026-07-07 14:19:23', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388496 -2.789769)'), GeomFromEWKT('SRID=4674;POINT (-40.388396 -2.789835)'))) / (select extract(epoch from '2026-07-07 14:19:23'::timestamp) - extract(epoch from '2026-07-07 14:19:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388496 -2.789769)'), GeomFromEWKT('SRID=4674;POINT (-40.388396 -2.789835)'))) / (select extract(epoch from '2026-07-07 14:19:23'::timestamp) - extract(epoch from '2026-07-07 14:19:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.388378 -2.789848)', '2026-07-07 14:19:24', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388396 -2.789835)'), GeomFromEWKT('SRID=4674;POINT (-40.388378 -2.789848)'))) / (select extract(epoch from '2026-07-07 14:19:24'::timestamp) - extract(epoch from '2026-07-07 14:19:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388396 -2.789835)'), GeomFromEWKT('SRID=4674;POINT (-40.388378 -2.789848)'))) / (select extract(epoch from '2026-07-07 14:19:24'::timestamp) - extract(epoch from '2026-07-07 14:19: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'), 47829, 'SRID=4674;POINT (-40.38833 -2.789884)', '2026-07-07 14:19:27', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388378 -2.789848)'), GeomFromEWKT('SRID=4674;POINT (-40.38833 -2.789884)'))) / (select extract(epoch from '2026-07-07 14:19:27'::timestamp) - extract(epoch from '2026-07-07 14:19:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388378 -2.789848)'), GeomFromEWKT('SRID=4674;POINT (-40.38833 -2.789884)'))) / (select extract(epoch from '2026-07-07 14:19:27'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.388196 -2.78999)', '2026-07-07 14:19:35', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38833 -2.789884)'), GeomFromEWKT('SRID=4674;POINT (-40.388196 -2.78999)'))) / (select extract(epoch from '2026-07-07 14:19:35'::timestamp) - extract(epoch from '2026-07-07 14:19:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38833 -2.789884)'), GeomFromEWKT('SRID=4674;POINT (-40.388196 -2.78999)'))) / (select extract(epoch from '2026-07-07 14:19:35'::timestamp) - extract(epoch from '2026-07-07 14:19: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'), 47829, 'SRID=4674;POINT (-40.38804 -2.790107)', '2026-07-07 14:19:44', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388196 -2.78999)'), GeomFromEWKT('SRID=4674;POINT (-40.38804 -2.790107)'))) / (select extract(epoch from '2026-07-07 14:19:44'::timestamp) - extract(epoch from '2026-07-07 14:19:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388196 -2.78999)'), GeomFromEWKT('SRID=4674;POINT (-40.38804 -2.790107)'))) / (select extract(epoch from '2026-07-07 14:19:44'::timestamp) - extract(epoch from '2026-07-07 14:19: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'), 47829, 'SRID=4674;POINT (-40.387906 -2.790229)', '2026-07-07 14:19:52', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38804 -2.790107)'), GeomFromEWKT('SRID=4674;POINT (-40.387906 -2.790229)'))) / (select extract(epoch from '2026-07-07 14:19:52'::timestamp) - extract(epoch from '2026-07-07 14:19:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38804 -2.790107)'), GeomFromEWKT('SRID=4674;POINT (-40.387906 -2.790229)'))) / (select extract(epoch from '2026-07-07 14:19:52'::timestamp) - extract(epoch from '2026-07-07 14:19:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.387787 -2.790323)', '2026-07-07 14:19:59', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387906 -2.790229)'), GeomFromEWKT('SRID=4674;POINT (-40.387787 -2.790323)'))) / (select extract(epoch from '2026-07-07 14:19:59'::timestamp) - extract(epoch from '2026-07-07 14:19:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387906 -2.790229)'), GeomFromEWKT('SRID=4674;POINT (-40.387787 -2.790323)'))) / (select extract(epoch from '2026-07-07 14:19:59'::timestamp) - extract(epoch from '2026-07-07 14:19: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'), 47829, 'SRID=4674;POINT (-40.387684 -2.790407)', '2026-07-07 14:20:05', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387787 -2.790323)'), GeomFromEWKT('SRID=4674;POINT (-40.387684 -2.790407)'))) / (select extract(epoch from '2026-07-07 14:20:05'::timestamp) - extract(epoch from '2026-07-07 14:19:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387787 -2.790323)'), GeomFromEWKT('SRID=4674;POINT (-40.387684 -2.790407)'))) / (select extract(epoch from '2026-07-07 14:20:05'::timestamp) - extract(epoch from '2026-07-07 14:19: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'), 47829, 'SRID=4674;POINT (-40.387551 -2.790525)', '2026-07-07 14:20:13', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387684 -2.790407)'), GeomFromEWKT('SRID=4674;POINT (-40.387551 -2.790525)'))) / (select extract(epoch from '2026-07-07 14:20:13'::timestamp) - extract(epoch from '2026-07-07 14:20:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387684 -2.790407)'), GeomFromEWKT('SRID=4674;POINT (-40.387551 -2.790525)'))) / (select extract(epoch from '2026-07-07 14:20:13'::timestamp) - extract(epoch from '2026-07-07 14:20: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'), 47829, 'SRID=4674;POINT (-40.387451 -2.790609)', '2026-07-07 14:20:19', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387551 -2.790525)'), GeomFromEWKT('SRID=4674;POINT (-40.387451 -2.790609)'))) / (select extract(epoch from '2026-07-07 14:20:19'::timestamp) - extract(epoch from '2026-07-07 14:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387551 -2.790525)'), GeomFromEWKT('SRID=4674;POINT (-40.387451 -2.790609)'))) / (select extract(epoch from '2026-07-07 14:20:19'::timestamp) - extract(epoch from '2026-07-07 14:20:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.387326 -2.790687)', '2026-07-07 14:20:26', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387451 -2.790609)'), GeomFromEWKT('SRID=4674;POINT (-40.387326 -2.790687)'))) / (select extract(epoch from '2026-07-07 14:20:26'::timestamp) - extract(epoch from '2026-07-07 14:20:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387451 -2.790609)'), GeomFromEWKT('SRID=4674;POINT (-40.387326 -2.790687)'))) / (select extract(epoch from '2026-07-07 14:20:26'::timestamp) - extract(epoch from '2026-07-07 14:20:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.387222 -2.790752)', '2026-07-07 14:20:32', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387326 -2.790687)'), GeomFromEWKT('SRID=4674;POINT (-40.387222 -2.790752)'))) / (select extract(epoch from '2026-07-07 14:20:32'::timestamp) - extract(epoch from '2026-07-07 14:20:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387326 -2.790687)'), GeomFromEWKT('SRID=4674;POINT (-40.387222 -2.790752)'))) / (select extract(epoch from '2026-07-07 14:20:32'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.387128 -2.790833)', '2026-07-07 14:20:38', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387222 -2.790752)'), GeomFromEWKT('SRID=4674;POINT (-40.387128 -2.790833)'))) / (select extract(epoch from '2026-07-07 14:20:38'::timestamp) - extract(epoch from '2026-07-07 14:20:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387222 -2.790752)'), GeomFromEWKT('SRID=4674;POINT (-40.387128 -2.790833)'))) / (select extract(epoch from '2026-07-07 14:20:38'::timestamp) - extract(epoch from '2026-07-07 14:20:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.387018 -2.790937)', '2026-07-07 14:20:45', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387128 -2.790833)'), GeomFromEWKT('SRID=4674;POINT (-40.387018 -2.790937)'))) / (select extract(epoch from '2026-07-07 14:20:45'::timestamp) - extract(epoch from '2026-07-07 14:20:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387128 -2.790833)'), GeomFromEWKT('SRID=4674;POINT (-40.387018 -2.790937)'))) / (select extract(epoch from '2026-07-07 14:20:45'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.386931 -2.790999)', '2026-07-07 14:20:50', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387018 -2.790937)'), GeomFromEWKT('SRID=4674;POINT (-40.386931 -2.790999)'))) / (select extract(epoch from '2026-07-07 14:20:50'::timestamp) - extract(epoch from '2026-07-07 14:20:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387018 -2.790937)'), GeomFromEWKT('SRID=4674;POINT (-40.386931 -2.790999)'))) / (select extract(epoch from '2026-07-07 14:20:50'::timestamp) - extract(epoch from '2026-07-07 14:20:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.386826 -2.79107)', '2026-07-07 14:20:56', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386931 -2.790999)'), GeomFromEWKT('SRID=4674;POINT (-40.386826 -2.79107)'))) / (select extract(epoch from '2026-07-07 14:20:56'::timestamp) - extract(epoch from '2026-07-07 14:20:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386931 -2.790999)'), GeomFromEWKT('SRID=4674;POINT (-40.386826 -2.79107)'))) / (select extract(epoch from '2026-07-07 14:20:56'::timestamp) - extract(epoch from '2026-07-07 14:20: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'), 47829, 'SRID=4674;POINT (-40.386688 -2.79117)', '2026-07-07 14:21:04', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386826 -2.79107)'), GeomFromEWKT('SRID=4674;POINT (-40.386688 -2.79117)'))) / (select extract(epoch from '2026-07-07 14:21:04'::timestamp) - extract(epoch from '2026-07-07 14:20:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386826 -2.79107)'), GeomFromEWKT('SRID=4674;POINT (-40.386688 -2.79117)'))) / (select extract(epoch from '2026-07-07 14:21:04'::timestamp) - extract(epoch from '2026-07-07 14:20:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.386541 -2.791259)', '2026-07-07 14:21:12', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386688 -2.79117)'), GeomFromEWKT('SRID=4674;POINT (-40.386541 -2.791259)'))) / (select extract(epoch from '2026-07-07 14:21:12'::timestamp) - extract(epoch from '2026-07-07 14:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386688 -2.79117)'), GeomFromEWKT('SRID=4674;POINT (-40.386541 -2.791259)'))) / (select extract(epoch from '2026-07-07 14:21:12'::timestamp) - extract(epoch from '2026-07-07 14:21: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'), 47829, 'SRID=4674;POINT (-40.386414 -2.791368)', '2026-07-07 14:21:20', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386541 -2.791259)'), GeomFromEWKT('SRID=4674;POINT (-40.386414 -2.791368)'))) / (select extract(epoch from '2026-07-07 14:21:20'::timestamp) - extract(epoch from '2026-07-07 14:21:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386541 -2.791259)'), GeomFromEWKT('SRID=4674;POINT (-40.386414 -2.791368)'))) / (select extract(epoch from '2026-07-07 14:21:20'::timestamp) - extract(epoch from '2026-07-07 14:21:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.386317 -2.791454)', '2026-07-07 14:21:26', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386414 -2.791368)'), GeomFromEWKT('SRID=4674;POINT (-40.386317 -2.791454)'))) / (select extract(epoch from '2026-07-07 14:21:26'::timestamp) - extract(epoch from '2026-07-07 14:21:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386414 -2.791368)'), GeomFromEWKT('SRID=4674;POINT (-40.386317 -2.791454)'))) / (select extract(epoch from '2026-07-07 14:21:26'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.386201 -2.791533)', '2026-07-07 14:21:34', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386317 -2.791454)'), GeomFromEWKT('SRID=4674;POINT (-40.386201 -2.791533)'))) / (select extract(epoch from '2026-07-07 14:21:34'::timestamp) - extract(epoch from '2026-07-07 14:21:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386317 -2.791454)'), GeomFromEWKT('SRID=4674;POINT (-40.386201 -2.791533)'))) / (select extract(epoch from '2026-07-07 14:21:34'::timestamp) - extract(epoch from '2026-07-07 14:21:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.386146 -2.791555)', '2026-07-07 14:21:41', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386201 -2.791533)'), GeomFromEWKT('SRID=4674;POINT (-40.386146 -2.791555)'))) / (select extract(epoch from '2026-07-07 14:21:41'::timestamp) - extract(epoch from '2026-07-07 14:21:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386201 -2.791533)'), GeomFromEWKT('SRID=4674;POINT (-40.386146 -2.791555)'))) / (select extract(epoch from '2026-07-07 14:21:41'::timestamp) - extract(epoch from '2026-07-07 14:21: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'), 47829, 'SRID=4674;POINT (-40.386122 -2.791563)', '2026-07-07 14:21:44', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386146 -2.791555)'), GeomFromEWKT('SRID=4674;POINT (-40.386122 -2.791563)'))) / (select extract(epoch from '2026-07-07 14:21:44'::timestamp) - extract(epoch from '2026-07-07 14:21:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386146 -2.791555)'), GeomFromEWKT('SRID=4674;POINT (-40.386122 -2.791563)'))) / (select extract(epoch from '2026-07-07 14:21:44'::timestamp) - extract(epoch from '2026-07-07 14:21: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'), 47829, 'SRID=4674;POINT (-40.386105 -2.791574)', '2026-07-07 14:21:46', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386122 -2.791563)'), GeomFromEWKT('SRID=4674;POINT (-40.386105 -2.791574)'))) / (select extract(epoch from '2026-07-07 14:21:46'::timestamp) - extract(epoch from '2026-07-07 14:21:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386122 -2.791563)'), GeomFromEWKT('SRID=4674;POINT (-40.386105 -2.791574)'))) / (select extract(epoch from '2026-07-07 14:21:46'::timestamp) - extract(epoch from '2026-07-07 14:21:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.386098 -2.791585)', '2026-07-07 14:21:47', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386105 -2.791574)'), GeomFromEWKT('SRID=4674;POINT (-40.386098 -2.791585)'))) / (select extract(epoch from '2026-07-07 14:21:47'::timestamp) - extract(epoch from '2026-07-07 14:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386105 -2.791574)'), GeomFromEWKT('SRID=4674;POINT (-40.386098 -2.791585)'))) / (select extract(epoch from '2026-07-07 14:21:47'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.386073 -2.791618)', '2026-07-07 14:21:50', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386098 -2.791585)'), GeomFromEWKT('SRID=4674;POINT (-40.386073 -2.791618)'))) / (select extract(epoch from '2026-07-07 14:21:50'::timestamp) - extract(epoch from '2026-07-07 14:21:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386098 -2.791585)'), GeomFromEWKT('SRID=4674;POINT (-40.386073 -2.791618)'))) / (select extract(epoch from '2026-07-07 14:21:50'::timestamp) - extract(epoch from '2026-07-07 14:21: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'), 47829, 'SRID=4674;POINT (-40.386051 -2.791655)', '2026-07-07 14:21:53', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386073 -2.791618)'), GeomFromEWKT('SRID=4674;POINT (-40.386051 -2.791655)'))) / (select extract(epoch from '2026-07-07 14:21:53'::timestamp) - extract(epoch from '2026-07-07 14:21:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386073 -2.791618)'), GeomFromEWKT('SRID=4674;POINT (-40.386051 -2.791655)'))) / (select extract(epoch from '2026-07-07 14:21:53'::timestamp) - extract(epoch from '2026-07-07 14:21: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'), 47829, 'SRID=4674;POINT (-40.385974 -2.791751)', '2026-07-07 14:22:00', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386051 -2.791655)'), GeomFromEWKT('SRID=4674;POINT (-40.385974 -2.791751)'))) / (select extract(epoch from '2026-07-07 14:22:00'::timestamp) - extract(epoch from '2026-07-07 14:21:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386051 -2.791655)'), GeomFromEWKT('SRID=4674;POINT (-40.385974 -2.791751)'))) / (select extract(epoch from '2026-07-07 14:22:00'::timestamp) - extract(epoch from '2026-07-07 14:21:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.385907 -2.791839)', '2026-07-07 14:22:06', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385974 -2.791751)'), GeomFromEWKT('SRID=4674;POINT (-40.385907 -2.791839)'))) / (select extract(epoch from '2026-07-07 14:22:06'::timestamp) - extract(epoch from '2026-07-07 14:22:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385974 -2.791751)'), GeomFromEWKT('SRID=4674;POINT (-40.385907 -2.791839)'))) / (select extract(epoch from '2026-07-07 14:22:06'::timestamp) - extract(epoch from '2026-07-07 14:22: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'), 47829, 'SRID=4674;POINT (-40.385846 -2.791916)', '2026-07-07 14:22:11', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385907 -2.791839)'), GeomFromEWKT('SRID=4674;POINT (-40.385846 -2.791916)'))) / (select extract(epoch from '2026-07-07 14:22:11'::timestamp) - extract(epoch from '2026-07-07 14:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385907 -2.791839)'), GeomFromEWKT('SRID=4674;POINT (-40.385846 -2.791916)'))) / (select extract(epoch from '2026-07-07 14:22:11'::timestamp) - extract(epoch from '2026-07-07 14:22:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.385821 -2.791949)', '2026-07-07 14:22:13', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385846 -2.791916)'), GeomFromEWKT('SRID=4674;POINT (-40.385821 -2.791949)'))) / (select extract(epoch from '2026-07-07 14:22:13'::timestamp) - extract(epoch from '2026-07-07 14:22:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385846 -2.791916)'), GeomFromEWKT('SRID=4674;POINT (-40.385821 -2.791949)'))) / (select extract(epoch from '2026-07-07 14:22:13'::timestamp) - extract(epoch from '2026-07-07 14:22: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'), 47829, 'SRID=4674;POINT (-40.385792 -2.791977)', '2026-07-07 14:22:15', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385821 -2.791949)'), GeomFromEWKT('SRID=4674;POINT (-40.385792 -2.791977)'))) / (select extract(epoch from '2026-07-07 14:22:15'::timestamp) - extract(epoch from '2026-07-07 14:22:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385821 -2.791949)'), GeomFromEWKT('SRID=4674;POINT (-40.385792 -2.791977)'))) / (select extract(epoch from '2026-07-07 14:22:15'::timestamp) - extract(epoch from '2026-07-07 14:22:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.385689 -2.792065)', '2026-07-07 14:22:22', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385792 -2.791977)'), GeomFromEWKT('SRID=4674;POINT (-40.385689 -2.792065)'))) / (select extract(epoch from '2026-07-07 14:22:22'::timestamp) - extract(epoch from '2026-07-07 14:22:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385792 -2.791977)'), GeomFromEWKT('SRID=4674;POINT (-40.385689 -2.792065)'))) / (select extract(epoch from '2026-07-07 14:22:22'::timestamp) - extract(epoch from '2026-07-07 14:22: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'), 47829, 'SRID=4674;POINT (-40.385608 -2.792143)', '2026-07-07 14:22:28', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385689 -2.792065)'), GeomFromEWKT('SRID=4674;POINT (-40.385608 -2.792143)'))) / (select extract(epoch from '2026-07-07 14:22:28'::timestamp) - extract(epoch from '2026-07-07 14:22:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385689 -2.792065)'), GeomFromEWKT('SRID=4674;POINT (-40.385608 -2.792143)'))) / (select extract(epoch from '2026-07-07 14:22:28'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.385527 -2.792217)', '2026-07-07 14:22:34', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385608 -2.792143)'), GeomFromEWKT('SRID=4674;POINT (-40.385527 -2.792217)'))) / (select extract(epoch from '2026-07-07 14:22:34'::timestamp) - extract(epoch from '2026-07-07 14:22:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385608 -2.792143)'), GeomFromEWKT('SRID=4674;POINT (-40.385527 -2.792217)'))) / (select extract(epoch from '2026-07-07 14:22:34'::timestamp) - extract(epoch from '2026-07-07 14:22: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'), 47829, 'SRID=4674;POINT (-40.385435 -2.792304)', '2026-07-07 14:22:40', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385527 -2.792217)'), GeomFromEWKT('SRID=4674;POINT (-40.385435 -2.792304)'))) / (select extract(epoch from '2026-07-07 14:22:40'::timestamp) - extract(epoch from '2026-07-07 14:22:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385527 -2.792217)'), GeomFromEWKT('SRID=4674;POINT (-40.385435 -2.792304)'))) / (select extract(epoch from '2026-07-07 14:22:40'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.38535 -2.792388)', '2026-07-07 14:22:46', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385435 -2.792304)'), GeomFromEWKT('SRID=4674;POINT (-40.38535 -2.792388)'))) / (select extract(epoch from '2026-07-07 14:22:46'::timestamp) - extract(epoch from '2026-07-07 14:22:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385435 -2.792304)'), GeomFromEWKT('SRID=4674;POINT (-40.38535 -2.792388)'))) / (select extract(epoch from '2026-07-07 14:22:46'::timestamp) - extract(epoch from '2026-07-07 14:22:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.385236 -2.792473)', '2026-07-07 14:22:53', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38535 -2.792388)'), GeomFromEWKT('SRID=4674;POINT (-40.385236 -2.792473)'))) / (select extract(epoch from '2026-07-07 14:22:53'::timestamp) - extract(epoch from '2026-07-07 14:22:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38535 -2.792388)'), GeomFromEWKT('SRID=4674;POINT (-40.385236 -2.792473)'))) / (select extract(epoch from '2026-07-07 14:22:53'::timestamp) - extract(epoch from '2026-07-07 14:22:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.385103 -2.792572)', '2026-07-07 14:23:01', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385236 -2.792473)'), GeomFromEWKT('SRID=4674;POINT (-40.385103 -2.792572)'))) / (select extract(epoch from '2026-07-07 14:23:01'::timestamp) - extract(epoch from '2026-07-07 14:22:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385236 -2.792473)'), GeomFromEWKT('SRID=4674;POINT (-40.385103 -2.792572)'))) / (select extract(epoch from '2026-07-07 14:23:01'::timestamp) - extract(epoch from '2026-07-07 14:22: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'), 47829, 'SRID=4674;POINT (-40.384964 -2.792692)', '2026-07-07 14:23:10', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385103 -2.792572)'), GeomFromEWKT('SRID=4674;POINT (-40.384964 -2.792692)'))) / (select extract(epoch from '2026-07-07 14:23:10'::timestamp) - extract(epoch from '2026-07-07 14:23:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385103 -2.792572)'), GeomFromEWKT('SRID=4674;POINT (-40.384964 -2.792692)'))) / (select extract(epoch from '2026-07-07 14:23:10'::timestamp) - extract(epoch from '2026-07-07 14:23: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'), 47829, 'SRID=4674;POINT (-40.384849 -2.792803)', '2026-07-07 14:23:18', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384964 -2.792692)'), GeomFromEWKT('SRID=4674;POINT (-40.384849 -2.792803)'))) / (select extract(epoch from '2026-07-07 14:23:18'::timestamp) - extract(epoch from '2026-07-07 14:23:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384964 -2.792692)'), GeomFromEWKT('SRID=4674;POINT (-40.384849 -2.792803)'))) / (select extract(epoch from '2026-07-07 14:23:18'::timestamp) - extract(epoch from '2026-07-07 14:23:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.384777 -2.792877)', '2026-07-07 14:23:23', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384849 -2.792803)'), GeomFromEWKT('SRID=4674;POINT (-40.384777 -2.792877)'))) / (select extract(epoch from '2026-07-07 14:23:23'::timestamp) - extract(epoch from '2026-07-07 14:23:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384849 -2.792803)'), GeomFromEWKT('SRID=4674;POINT (-40.384777 -2.792877)'))) / (select extract(epoch from '2026-07-07 14:23:23'::timestamp) - extract(epoch from '2026-07-07 14:23: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'), 47829, 'SRID=4674;POINT (-40.384664 -2.792968)', '2026-07-07 14:23:30', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384777 -2.792877)'), GeomFromEWKT('SRID=4674;POINT (-40.384664 -2.792968)'))) / (select extract(epoch from '2026-07-07 14:23:30'::timestamp) - extract(epoch from '2026-07-07 14:23:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384777 -2.792877)'), GeomFromEWKT('SRID=4674;POINT (-40.384664 -2.792968)'))) / (select extract(epoch from '2026-07-07 14:23:30'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.384569 -2.793055)', '2026-07-07 14:23:36', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384664 -2.792968)'), GeomFromEWKT('SRID=4674;POINT (-40.384569 -2.793055)'))) / (select extract(epoch from '2026-07-07 14:23:36'::timestamp) - extract(epoch from '2026-07-07 14:23:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384664 -2.792968)'), GeomFromEWKT('SRID=4674;POINT (-40.384569 -2.793055)'))) / (select extract(epoch from '2026-07-07 14:23:36'::timestamp) - extract(epoch from '2026-07-07 14:23:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.384497 -2.793121)', '2026-07-07 14:23:41', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384569 -2.793055)'), GeomFromEWKT('SRID=4674;POINT (-40.384497 -2.793121)'))) / (select extract(epoch from '2026-07-07 14:23:41'::timestamp) - extract(epoch from '2026-07-07 14:23:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384569 -2.793055)'), GeomFromEWKT('SRID=4674;POINT (-40.384497 -2.793121)'))) / (select extract(epoch from '2026-07-07 14:23:41'::timestamp) - extract(epoch from '2026-07-07 14:23: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'), 47829, 'SRID=4674;POINT (-40.384403 -2.793209)', '2026-07-07 14:23:47', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384497 -2.793121)'), GeomFromEWKT('SRID=4674;POINT (-40.384403 -2.793209)'))) / (select extract(epoch from '2026-07-07 14:23:47'::timestamp) - extract(epoch from '2026-07-07 14:23:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384497 -2.793121)'), GeomFromEWKT('SRID=4674;POINT (-40.384403 -2.793209)'))) / (select extract(epoch from '2026-07-07 14:23:47'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.384284 -2.793343)', '2026-07-07 14:23:56', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384403 -2.793209)'), GeomFromEWKT('SRID=4674;POINT (-40.384284 -2.793343)'))) / (select extract(epoch from '2026-07-07 14:23:56'::timestamp) - extract(epoch from '2026-07-07 14:23:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384403 -2.793209)'), GeomFromEWKT('SRID=4674;POINT (-40.384284 -2.793343)'))) / (select extract(epoch from '2026-07-07 14:23:56'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.384194 -2.793423)', '2026-07-07 14:24:02', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384284 -2.793343)'), GeomFromEWKT('SRID=4674;POINT (-40.384194 -2.793423)'))) / (select extract(epoch from '2026-07-07 14:24:02'::timestamp) - extract(epoch from '2026-07-07 14:23:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384284 -2.793343)'), GeomFromEWKT('SRID=4674;POINT (-40.384194 -2.793423)'))) / (select extract(epoch from '2026-07-07 14:24:02'::timestamp) - extract(epoch from '2026-07-07 14:23: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'), 47829, 'SRID=4674;POINT (-40.384083 -2.793465)', '2026-07-07 14:24:08', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384194 -2.793423)'), GeomFromEWKT('SRID=4674;POINT (-40.384083 -2.793465)'))) / (select extract(epoch from '2026-07-07 14:24:08'::timestamp) - extract(epoch from '2026-07-07 14:24:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384194 -2.793423)'), GeomFromEWKT('SRID=4674;POINT (-40.384083 -2.793465)'))) / (select extract(epoch from '2026-07-07 14:24:08'::timestamp) - extract(epoch from '2026-07-07 14:24:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.383942 -2.793514)', '2026-07-07 14:24:15', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384083 -2.793465)'), GeomFromEWKT('SRID=4674;POINT (-40.383942 -2.793514)'))) / (select extract(epoch from '2026-07-07 14:24:15'::timestamp) - extract(epoch from '2026-07-07 14:24:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384083 -2.793465)'), GeomFromEWKT('SRID=4674;POINT (-40.383942 -2.793514)'))) / (select extract(epoch from '2026-07-07 14:24:15'::timestamp) - extract(epoch from '2026-07-07 14:24: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'), 47829, 'SRID=4674;POINT (-40.383803 -2.793551)', '2026-07-07 14:24:22', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383942 -2.793514)'), GeomFromEWKT('SRID=4674;POINT (-40.383803 -2.793551)'))) / (select extract(epoch from '2026-07-07 14:24:22'::timestamp) - extract(epoch from '2026-07-07 14:24:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383942 -2.793514)'), GeomFromEWKT('SRID=4674;POINT (-40.383803 -2.793551)'))) / (select extract(epoch from '2026-07-07 14:24:22'::timestamp) - extract(epoch from '2026-07-07 14:24: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'), 47829, 'SRID=4674;POINT (-40.383662 -2.793562)', '2026-07-07 14:24:29', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383803 -2.793551)'), GeomFromEWKT('SRID=4674;POINT (-40.383662 -2.793562)'))) / (select extract(epoch from '2026-07-07 14:24:29'::timestamp) - extract(epoch from '2026-07-07 14:24:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383803 -2.793551)'), GeomFromEWKT('SRID=4674;POINT (-40.383662 -2.793562)'))) / (select extract(epoch from '2026-07-07 14:24:29'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.383568 -2.793601)', '2026-07-07 14:24:34', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383662 -2.793562)'), GeomFromEWKT('SRID=4674;POINT (-40.383568 -2.793601)'))) / (select extract(epoch from '2026-07-07 14:24:34'::timestamp) - extract(epoch from '2026-07-07 14:24:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383662 -2.793562)'), GeomFromEWKT('SRID=4674;POINT (-40.383568 -2.793601)'))) / (select extract(epoch from '2026-07-07 14:24:34'::timestamp) - extract(epoch from '2026-07-07 14:24: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'), 47829, 'SRID=4674;POINT (-40.383437 -2.793706)', '2026-07-07 14:24:42', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383568 -2.793601)'), GeomFromEWKT('SRID=4674;POINT (-40.383437 -2.793706)'))) / (select extract(epoch from '2026-07-07 14:24:42'::timestamp) - extract(epoch from '2026-07-07 14:24:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383568 -2.793601)'), GeomFromEWKT('SRID=4674;POINT (-40.383437 -2.793706)'))) / (select extract(epoch from '2026-07-07 14:24:42'::timestamp) - extract(epoch from '2026-07-07 14:24: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'), 47829, 'SRID=4674;POINT (-40.383315 -2.79377)', '2026-07-07 14:24:49', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383437 -2.793706)'), GeomFromEWKT('SRID=4674;POINT (-40.383315 -2.79377)'))) / (select extract(epoch from '2026-07-07 14:24:49'::timestamp) - extract(epoch from '2026-07-07 14:24:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383437 -2.793706)'), GeomFromEWKT('SRID=4674;POINT (-40.383315 -2.79377)'))) / (select extract(epoch from '2026-07-07 14:24:49'::timestamp) - extract(epoch from '2026-07-07 14:24:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.383223 -2.79381)', '2026-07-07 14:24:54', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383315 -2.79377)'), GeomFromEWKT('SRID=4674;POINT (-40.383223 -2.79381)'))) / (select extract(epoch from '2026-07-07 14:24:54'::timestamp) - extract(epoch from '2026-07-07 14:24:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383315 -2.79377)'), GeomFromEWKT('SRID=4674;POINT (-40.383223 -2.79381)'))) / (select extract(epoch from '2026-07-07 14:24:54'::timestamp) - extract(epoch from '2026-07-07 14:24: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'), 47829, 'SRID=4674;POINT (-40.383116 -2.793849)', '2026-07-07 14:25:00', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383223 -2.79381)'), GeomFromEWKT('SRID=4674;POINT (-40.383116 -2.793849)'))) / (select extract(epoch from '2026-07-07 14:25:00'::timestamp) - extract(epoch from '2026-07-07 14:24:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383223 -2.79381)'), GeomFromEWKT('SRID=4674;POINT (-40.383116 -2.793849)'))) / (select extract(epoch from '2026-07-07 14:25:00'::timestamp) - extract(epoch from '2026-07-07 14:24: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'), 47829, 'SRID=4674;POINT (-40.383061 -2.793868)', '2026-07-07 14:25:03', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383116 -2.793849)'), GeomFromEWKT('SRID=4674;POINT (-40.383061 -2.793868)'))) / (select extract(epoch from '2026-07-07 14:25:03'::timestamp) - extract(epoch from '2026-07-07 14:25:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383116 -2.793849)'), GeomFromEWKT('SRID=4674;POINT (-40.383061 -2.793868)'))) / (select extract(epoch from '2026-07-07 14:25:03'::timestamp) - extract(epoch from '2026-07-07 14:25: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'), 47829, 'SRID=4674;POINT (-40.383024 -2.793884)', '2026-07-07 14:25:05', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383061 -2.793868)'), GeomFromEWKT('SRID=4674;POINT (-40.383024 -2.793884)'))) / (select extract(epoch from '2026-07-07 14:25:05'::timestamp) - extract(epoch from '2026-07-07 14:25:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383061 -2.793868)'), GeomFromEWKT('SRID=4674;POINT (-40.383024 -2.793884)'))) / (select extract(epoch from '2026-07-07 14:25:05'::timestamp) - extract(epoch from '2026-07-07 14:25:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.383007 -2.793891)', '2026-07-07 14:25:06', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383024 -2.793884)'), GeomFromEWKT('SRID=4674;POINT (-40.383007 -2.793891)'))) / (select extract(epoch from '2026-07-07 14:25:06'::timestamp) - extract(epoch from '2026-07-07 14:25:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383024 -2.793884)'), GeomFromEWKT('SRID=4674;POINT (-40.383007 -2.793891)'))) / (select extract(epoch from '2026-07-07 14:25:06'::timestamp) - extract(epoch from '2026-07-07 14:25: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'), 47829, 'SRID=4674;POINT (-40.382937 -2.793907)', '2026-07-07 14:25:10', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383007 -2.793891)'), GeomFromEWKT('SRID=4674;POINT (-40.382937 -2.793907)'))) / (select extract(epoch from '2026-07-07 14:25:10'::timestamp) - extract(epoch from '2026-07-07 14:25:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383007 -2.793891)'), GeomFromEWKT('SRID=4674;POINT (-40.382937 -2.793907)'))) / (select extract(epoch from '2026-07-07 14:25:10'::timestamp) - extract(epoch from '2026-07-07 14:25:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.382811 -2.79394)', '2026-07-07 14:25:17', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382937 -2.793907)'), GeomFromEWKT('SRID=4674;POINT (-40.382811 -2.79394)'))) / (select extract(epoch from '2026-07-07 14:25:17'::timestamp) - extract(epoch from '2026-07-07 14:25:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382937 -2.793907)'), GeomFromEWKT('SRID=4674;POINT (-40.382811 -2.79394)'))) / (select extract(epoch from '2026-07-07 14:25:17'::timestamp) - extract(epoch from '2026-07-07 14:25:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.382698 -2.79397)', '2026-07-07 14:25:23', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382811 -2.79394)'), GeomFromEWKT('SRID=4674;POINT (-40.382698 -2.79397)'))) / (select extract(epoch from '2026-07-07 14:25:23'::timestamp) - extract(epoch from '2026-07-07 14:25:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382811 -2.79394)'), GeomFromEWKT('SRID=4674;POINT (-40.382698 -2.79397)'))) / (select extract(epoch from '2026-07-07 14:25:23'::timestamp) - extract(epoch from '2026-07-07 14:25: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'), 47829, 'SRID=4674;POINT (-40.382591 -2.794005)', '2026-07-07 14:25:29', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382698 -2.79397)'), GeomFromEWKT('SRID=4674;POINT (-40.382591 -2.794005)'))) / (select extract(epoch from '2026-07-07 14:25:29'::timestamp) - extract(epoch from '2026-07-07 14:25:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382698 -2.79397)'), GeomFromEWKT('SRID=4674;POINT (-40.382591 -2.794005)'))) / (select extract(epoch from '2026-07-07 14:25:29'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.382461 -2.794048)', '2026-07-07 14:25:36', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382591 -2.794005)'), GeomFromEWKT('SRID=4674;POINT (-40.382461 -2.794048)'))) / (select extract(epoch from '2026-07-07 14:25:36'::timestamp) - extract(epoch from '2026-07-07 14:25:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382591 -2.794005)'), GeomFromEWKT('SRID=4674;POINT (-40.382461 -2.794048)'))) / (select extract(epoch from '2026-07-07 14:25:36'::timestamp) - extract(epoch from '2026-07-07 14:25:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.382347 -2.794097)', '2026-07-07 14:25:43', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382461 -2.794048)'), GeomFromEWKT('SRID=4674;POINT (-40.382347 -2.794097)'))) / (select extract(epoch from '2026-07-07 14:25:43'::timestamp) - extract(epoch from '2026-07-07 14:25:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382461 -2.794048)'), GeomFromEWKT('SRID=4674;POINT (-40.382347 -2.794097)'))) / (select extract(epoch from '2026-07-07 14:25:43'::timestamp) - extract(epoch from '2026-07-07 14:25: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'), 47829, 'SRID=4674;POINT (-40.382257 -2.794123)', '2026-07-07 14:25:48', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382347 -2.794097)'), GeomFromEWKT('SRID=4674;POINT (-40.382257 -2.794123)'))) / (select extract(epoch from '2026-07-07 14:25:48'::timestamp) - extract(epoch from '2026-07-07 14:25:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382347 -2.794097)'), GeomFromEWKT('SRID=4674;POINT (-40.382257 -2.794123)'))) / (select extract(epoch from '2026-07-07 14:25:48'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.382129 -2.794164)', '2026-07-07 14:25:55', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382257 -2.794123)'), GeomFromEWKT('SRID=4674;POINT (-40.382129 -2.794164)'))) / (select extract(epoch from '2026-07-07 14:25:55'::timestamp) - extract(epoch from '2026-07-07 14:25:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382257 -2.794123)'), GeomFromEWKT('SRID=4674;POINT (-40.382129 -2.794164)'))) / (select extract(epoch from '2026-07-07 14:25:55'::timestamp) - extract(epoch from '2026-07-07 14:25:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.382058 -2.794198)', '2026-07-07 14:26:00', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382129 -2.794164)'), GeomFromEWKT('SRID=4674;POINT (-40.382058 -2.794198)'))) / (select extract(epoch from '2026-07-07 14:26:00'::timestamp) - extract(epoch from '2026-07-07 14:25:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382129 -2.794164)'), GeomFromEWKT('SRID=4674;POINT (-40.382058 -2.794198)'))) / (select extract(epoch from '2026-07-07 14:26:00'::timestamp) - extract(epoch from '2026-07-07 14:25: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'), 47829, 'SRID=4674;POINT (-40.381954 -2.79425)', '2026-07-07 14:26:06', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382058 -2.794198)'), GeomFromEWKT('SRID=4674;POINT (-40.381954 -2.79425)'))) / (select extract(epoch from '2026-07-07 14:26:06'::timestamp) - extract(epoch from '2026-07-07 14:26:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382058 -2.794198)'), GeomFromEWKT('SRID=4674;POINT (-40.381954 -2.79425)'))) / (select extract(epoch from '2026-07-07 14:26:06'::timestamp) - extract(epoch from '2026-07-07 14:26: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'), 47829, 'SRID=4674;POINT (-40.381863 -2.794286)', '2026-07-07 14:26:11', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381954 -2.79425)'), GeomFromEWKT('SRID=4674;POINT (-40.381863 -2.794286)'))) / (select extract(epoch from '2026-07-07 14:26:11'::timestamp) - extract(epoch from '2026-07-07 14:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381954 -2.79425)'), GeomFromEWKT('SRID=4674;POINT (-40.381863 -2.794286)'))) / (select extract(epoch from '2026-07-07 14:26:11'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.381777 -2.794322)', '2026-07-07 14:26:16', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381863 -2.794286)'), GeomFromEWKT('SRID=4674;POINT (-40.381777 -2.794322)'))) / (select extract(epoch from '2026-07-07 14:26:16'::timestamp) - extract(epoch from '2026-07-07 14:26:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381863 -2.794286)'), GeomFromEWKT('SRID=4674;POINT (-40.381777 -2.794322)'))) / (select extract(epoch from '2026-07-07 14:26:16'::timestamp) - extract(epoch from '2026-07-07 14:26: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'), 47829, 'SRID=4674;POINT (-40.381688 -2.794357)', '2026-07-07 14:26:21', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381777 -2.794322)'), GeomFromEWKT('SRID=4674;POINT (-40.381688 -2.794357)'))) / (select extract(epoch from '2026-07-07 14:26:21'::timestamp) - extract(epoch from '2026-07-07 14:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381777 -2.794322)'), GeomFromEWKT('SRID=4674;POINT (-40.381688 -2.794357)'))) / (select extract(epoch from '2026-07-07 14:26:21'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.381549 -2.794412)', '2026-07-07 14:26:29', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381688 -2.794357)'), GeomFromEWKT('SRID=4674;POINT (-40.381549 -2.794412)'))) / (select extract(epoch from '2026-07-07 14:26:29'::timestamp) - extract(epoch from '2026-07-07 14:26:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381688 -2.794357)'), GeomFromEWKT('SRID=4674;POINT (-40.381549 -2.794412)'))) / (select extract(epoch from '2026-07-07 14:26:29'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.381431 -2.794441)', '2026-07-07 14:26:36', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381549 -2.794412)'), GeomFromEWKT('SRID=4674;POINT (-40.381431 -2.794441)'))) / (select extract(epoch from '2026-07-07 14:26:36'::timestamp) - extract(epoch from '2026-07-07 14:26:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381549 -2.794412)'), GeomFromEWKT('SRID=4674;POINT (-40.381431 -2.794441)'))) / (select extract(epoch from '2026-07-07 14:26:36'::timestamp) - extract(epoch from '2026-07-07 14:26: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'), 47829, 'SRID=4674;POINT (-40.38133 -2.794497)', '2026-07-07 14:26:42', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381431 -2.794441)'), GeomFromEWKT('SRID=4674;POINT (-40.38133 -2.794497)'))) / (select extract(epoch from '2026-07-07 14:26:42'::timestamp) - extract(epoch from '2026-07-07 14:26:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381431 -2.794441)'), GeomFromEWKT('SRID=4674;POINT (-40.38133 -2.794497)'))) / (select extract(epoch from '2026-07-07 14:26:42'::timestamp) - extract(epoch from '2026-07-07 14:26: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'), 47829, 'SRID=4674;POINT (-40.38122 -2.794556)', '2026-07-07 14:26:49', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38133 -2.794497)'), GeomFromEWKT('SRID=4674;POINT (-40.38122 -2.794556)'))) / (select extract(epoch from '2026-07-07 14:26:49'::timestamp) - extract(epoch from '2026-07-07 14:26:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38133 -2.794497)'), GeomFromEWKT('SRID=4674;POINT (-40.38122 -2.794556)'))) / (select extract(epoch from '2026-07-07 14:26:49'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.381128 -2.794622)', '2026-07-07 14:26:55', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38122 -2.794556)'), GeomFromEWKT('SRID=4674;POINT (-40.381128 -2.794622)'))) / (select extract(epoch from '2026-07-07 14:26:55'::timestamp) - extract(epoch from '2026-07-07 14:26:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38122 -2.794556)'), GeomFromEWKT('SRID=4674;POINT (-40.381128 -2.794622)'))) / (select extract(epoch from '2026-07-07 14:26:55'::timestamp) - extract(epoch from '2026-07-07 14:26: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'), 47829, 'SRID=4674;POINT (-40.381049 -2.794675)', '2026-07-07 14:27:00', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381128 -2.794622)'), GeomFromEWKT('SRID=4674;POINT (-40.381049 -2.794675)'))) / (select extract(epoch from '2026-07-07 14:27:00'::timestamp) - extract(epoch from '2026-07-07 14:26:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381128 -2.794622)'), GeomFromEWKT('SRID=4674;POINT (-40.381049 -2.794675)'))) / (select extract(epoch from '2026-07-07 14:27:00'::timestamp) - extract(epoch from '2026-07-07 14:26:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.380924 -2.794734)', '2026-07-07 14:27:07', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381049 -2.794675)'), GeomFromEWKT('SRID=4674;POINT (-40.380924 -2.794734)'))) / (select extract(epoch from '2026-07-07 14:27:07'::timestamp) - extract(epoch from '2026-07-07 14:27:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381049 -2.794675)'), GeomFromEWKT('SRID=4674;POINT (-40.380924 -2.794734)'))) / (select extract(epoch from '2026-07-07 14:27:07'::timestamp) - extract(epoch from '2026-07-07 14:27: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'), 47829, 'SRID=4674;POINT (-40.380819 -2.794762)', '2026-07-07 14:27:13', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380924 -2.794734)'), GeomFromEWKT('SRID=4674;POINT (-40.380819 -2.794762)'))) / (select extract(epoch from '2026-07-07 14:27:13'::timestamp) - extract(epoch from '2026-07-07 14:27:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380924 -2.794734)'), GeomFromEWKT('SRID=4674;POINT (-40.380819 -2.794762)'))) / (select extract(epoch from '2026-07-07 14:27:13'::timestamp) - extract(epoch from '2026-07-07 14:27: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'), 47829, 'SRID=4674;POINT (-40.380693 -2.794821)', '2026-07-07 14:27:20', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380819 -2.794762)'), GeomFromEWKT('SRID=4674;POINT (-40.380693 -2.794821)'))) / (select extract(epoch from '2026-07-07 14:27:20'::timestamp) - extract(epoch from '2026-07-07 14:27:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380819 -2.794762)'), GeomFromEWKT('SRID=4674;POINT (-40.380693 -2.794821)'))) / (select extract(epoch from '2026-07-07 14:27:20'::timestamp) - extract(epoch from '2026-07-07 14:27: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'), 47829, 'SRID=4674;POINT (-40.380597 -2.794871)', '2026-07-07 14:27:25', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380693 -2.794821)'), GeomFromEWKT('SRID=4674;POINT (-40.380597 -2.794871)'))) / (select extract(epoch from '2026-07-07 14:27:25'::timestamp) - extract(epoch from '2026-07-07 14:27:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380693 -2.794821)'), GeomFromEWKT('SRID=4674;POINT (-40.380597 -2.794871)'))) / (select extract(epoch from '2026-07-07 14:27:25'::timestamp) - extract(epoch from '2026-07-07 14:27:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.380491 -2.794927)', '2026-07-07 14:27:31', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380597 -2.794871)'), GeomFromEWKT('SRID=4674;POINT (-40.380491 -2.794927)'))) / (select extract(epoch from '2026-07-07 14:27:31'::timestamp) - extract(epoch from '2026-07-07 14:27:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380597 -2.794871)'), GeomFromEWKT('SRID=4674;POINT (-40.380491 -2.794927)'))) / (select extract(epoch from '2026-07-07 14:27:31'::timestamp) - extract(epoch from '2026-07-07 14:27:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.380419 -2.794973)', '2026-07-07 14:27:35', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380491 -2.794927)'), GeomFromEWKT('SRID=4674;POINT (-40.380419 -2.794973)'))) / (select extract(epoch from '2026-07-07 14:27:35'::timestamp) - extract(epoch from '2026-07-07 14:27:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380491 -2.794927)'), GeomFromEWKT('SRID=4674;POINT (-40.380419 -2.794973)'))) / (select extract(epoch from '2026-07-07 14:27:35'::timestamp) - extract(epoch from '2026-07-07 14:27: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'), 47829, 'SRID=4674;POINT (-40.380384 -2.794991)', '2026-07-07 14:27:37', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380419 -2.794973)'), GeomFromEWKT('SRID=4674;POINT (-40.380384 -2.794991)'))) / (select extract(epoch from '2026-07-07 14:27:37'::timestamp) - extract(epoch from '2026-07-07 14:27:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380419 -2.794973)'), GeomFromEWKT('SRID=4674;POINT (-40.380384 -2.794991)'))) / (select extract(epoch from '2026-07-07 14:27:37'::timestamp) - extract(epoch from '2026-07-07 14:27: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'), 47829, 'SRID=4674;POINT (-40.380352 -2.795008)', '2026-07-07 14:27:39', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380384 -2.794991)'), GeomFromEWKT('SRID=4674;POINT (-40.380352 -2.795008)'))) / (select extract(epoch from '2026-07-07 14:27:39'::timestamp) - extract(epoch from '2026-07-07 14:27:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380384 -2.794991)'), GeomFromEWKT('SRID=4674;POINT (-40.380352 -2.795008)'))) / (select extract(epoch from '2026-07-07 14:27:39'::timestamp) - extract(epoch from '2026-07-07 14:27: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'), 47829, 'SRID=4674;POINT (-40.38032 -2.79502)', '2026-07-07 14:27:41', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380352 -2.795008)'), GeomFromEWKT('SRID=4674;POINT (-40.38032 -2.79502)'))) / (select extract(epoch from '2026-07-07 14:27:41'::timestamp) - extract(epoch from '2026-07-07 14:27:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380352 -2.795008)'), GeomFromEWKT('SRID=4674;POINT (-40.38032 -2.79502)'))) / (select extract(epoch from '2026-07-07 14:27:41'::timestamp) - extract(epoch from '2026-07-07 14:27:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.38026 -2.795047)', '2026-07-07 14:27:45', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38032 -2.79502)'), GeomFromEWKT('SRID=4674;POINT (-40.38026 -2.795047)'))) / (select extract(epoch from '2026-07-07 14:27:45'::timestamp) - extract(epoch from '2026-07-07 14:27:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38032 -2.79502)'), GeomFromEWKT('SRID=4674;POINT (-40.38026 -2.795047)'))) / (select extract(epoch from '2026-07-07 14:27:45'::timestamp) - extract(epoch from '2026-07-07 14:27: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'), 47829, 'SRID=4674;POINT (-40.380162 -2.795113)', '2026-07-07 14:27:51', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38026 -2.795047)'), GeomFromEWKT('SRID=4674;POINT (-40.380162 -2.795113)'))) / (select extract(epoch from '2026-07-07 14:27:51'::timestamp) - extract(epoch from '2026-07-07 14:27:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38026 -2.795047)'), GeomFromEWKT('SRID=4674;POINT (-40.380162 -2.795113)'))) / (select extract(epoch from '2026-07-07 14:27:51'::timestamp) - extract(epoch from '2026-07-07 14:27:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.380056 -2.79518)', '2026-07-07 14:27:57', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380162 -2.795113)'), GeomFromEWKT('SRID=4674;POINT (-40.380056 -2.79518)'))) / (select extract(epoch from '2026-07-07 14:27:57'::timestamp) - extract(epoch from '2026-07-07 14:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380162 -2.795113)'), GeomFromEWKT('SRID=4674;POINT (-40.380056 -2.79518)'))) / (select extract(epoch from '2026-07-07 14:27:57'::timestamp) - extract(epoch from '2026-07-07 14:27:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.379947 -2.795249)', '2026-07-07 14:28:03', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380056 -2.79518)'), GeomFromEWKT('SRID=4674;POINT (-40.379947 -2.795249)'))) / (select extract(epoch from '2026-07-07 14:28:03'::timestamp) - extract(epoch from '2026-07-07 14:27:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380056 -2.79518)'), GeomFromEWKT('SRID=4674;POINT (-40.379947 -2.795249)'))) / (select extract(epoch from '2026-07-07 14:28:03'::timestamp) - extract(epoch from '2026-07-07 14:27:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.379868 -2.795305)', '2026-07-07 14:28:08', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379947 -2.795249)'), GeomFromEWKT('SRID=4674;POINT (-40.379868 -2.795305)'))) / (select extract(epoch from '2026-07-07 14:28:08'::timestamp) - extract(epoch from '2026-07-07 14:28:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379947 -2.795249)'), GeomFromEWKT('SRID=4674;POINT (-40.379868 -2.795305)'))) / (select extract(epoch from '2026-07-07 14:28:08'::timestamp) - extract(epoch from '2026-07-07 14:28:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.379791 -2.795366)', '2026-07-07 14:28:13', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379868 -2.795305)'), GeomFromEWKT('SRID=4674;POINT (-40.379791 -2.795366)'))) / (select extract(epoch from '2026-07-07 14:28:13'::timestamp) - extract(epoch from '2026-07-07 14:28:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379868 -2.795305)'), GeomFromEWKT('SRID=4674;POINT (-40.379791 -2.795366)'))) / (select extract(epoch from '2026-07-07 14:28:13'::timestamp) - extract(epoch from '2026-07-07 14:28: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'), 47829, 'SRID=4674;POINT (-40.379686 -2.795432)', '2026-07-07 14:28:19', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379791 -2.795366)'), GeomFromEWKT('SRID=4674;POINT (-40.379686 -2.795432)'))) / (select extract(epoch from '2026-07-07 14:28:19'::timestamp) - extract(epoch from '2026-07-07 14:28:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379791 -2.795366)'), GeomFromEWKT('SRID=4674;POINT (-40.379686 -2.795432)'))) / (select extract(epoch from '2026-07-07 14:28:19'::timestamp) - extract(epoch from '2026-07-07 14:28:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.379651 -2.795444)', '2026-07-07 14:28:21', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379686 -2.795432)'), GeomFromEWKT('SRID=4674;POINT (-40.379651 -2.795444)'))) / (select extract(epoch from '2026-07-07 14:28:21'::timestamp) - extract(epoch from '2026-07-07 14:28:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379686 -2.795432)'), GeomFromEWKT('SRID=4674;POINT (-40.379651 -2.795444)'))) / (select extract(epoch from '2026-07-07 14:28:21'::timestamp) - extract(epoch from '2026-07-07 14:28: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'), 47829, 'SRID=4674;POINT (-40.37962 -2.795456)', '2026-07-07 14:28:23', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379651 -2.795444)'), GeomFromEWKT('SRID=4674;POINT (-40.37962 -2.795456)'))) / (select extract(epoch from '2026-07-07 14:28:23'::timestamp) - extract(epoch from '2026-07-07 14:28:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379651 -2.795444)'), GeomFromEWKT('SRID=4674;POINT (-40.37962 -2.795456)'))) / (select extract(epoch from '2026-07-07 14:28:23'::timestamp) - extract(epoch from '2026-07-07 14:28: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'), 47829, 'SRID=4674;POINT (-40.379533 -2.795518)', '2026-07-07 14:28:29', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37962 -2.795456)'), GeomFromEWKT('SRID=4674;POINT (-40.379533 -2.795518)'))) / (select extract(epoch from '2026-07-07 14:28:29'::timestamp) - extract(epoch from '2026-07-07 14:28:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37962 -2.795456)'), GeomFromEWKT('SRID=4674;POINT (-40.379533 -2.795518)'))) / (select extract(epoch from '2026-07-07 14:28:29'::timestamp) - extract(epoch from '2026-07-07 14:28: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'), 47829, 'SRID=4674;POINT (-40.379429 -2.795581)', '2026-07-07 14:28:35', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379533 -2.795518)'), GeomFromEWKT('SRID=4674;POINT (-40.379429 -2.795581)'))) / (select extract(epoch from '2026-07-07 14:28:35'::timestamp) - extract(epoch from '2026-07-07 14:28:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379533 -2.795518)'), GeomFromEWKT('SRID=4674;POINT (-40.379429 -2.795581)'))) / (select extract(epoch from '2026-07-07 14:28:35'::timestamp) - extract(epoch from '2026-07-07 14:28: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'), 47829, 'SRID=4674;POINT (-40.379297 -2.795635)', '2026-07-07 14:28:42', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379429 -2.795581)'), GeomFromEWKT('SRID=4674;POINT (-40.379297 -2.795635)'))) / (select extract(epoch from '2026-07-07 14:28:42'::timestamp) - extract(epoch from '2026-07-07 14:28:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379429 -2.795581)'), GeomFromEWKT('SRID=4674;POINT (-40.379297 -2.795635)'))) / (select extract(epoch from '2026-07-07 14:28:42'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.379209 -2.795667)', '2026-07-07 14:28:47', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379297 -2.795635)'), GeomFromEWKT('SRID=4674;POINT (-40.379209 -2.795667)'))) / (select extract(epoch from '2026-07-07 14:28:47'::timestamp) - extract(epoch from '2026-07-07 14:28:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379297 -2.795635)'), GeomFromEWKT('SRID=4674;POINT (-40.379209 -2.795667)'))) / (select extract(epoch from '2026-07-07 14:28:47'::timestamp) - extract(epoch from '2026-07-07 14:28: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'), 47829, 'SRID=4674;POINT (-40.379121 -2.795704)', '2026-07-07 14:28:52', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379209 -2.795667)'), GeomFromEWKT('SRID=4674;POINT (-40.379121 -2.795704)'))) / (select extract(epoch from '2026-07-07 14:28:52'::timestamp) - extract(epoch from '2026-07-07 14:28:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379209 -2.795667)'), GeomFromEWKT('SRID=4674;POINT (-40.379121 -2.795704)'))) / (select extract(epoch from '2026-07-07 14:28:52'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.379029 -2.79576)', '2026-07-07 14:28:57', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379121 -2.795704)'), GeomFromEWKT('SRID=4674;POINT (-40.379029 -2.79576)'))) / (select extract(epoch from '2026-07-07 14:28:57'::timestamp) - extract(epoch from '2026-07-07 14:28:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379121 -2.795704)'), GeomFromEWKT('SRID=4674;POINT (-40.379029 -2.79576)'))) / (select extract(epoch from '2026-07-07 14:28:57'::timestamp) - extract(epoch from '2026-07-07 14:28: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'), 47829, 'SRID=4674;POINT (-40.378921 -2.795818)', '2026-07-07 14:29:03', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379029 -2.79576)'), GeomFromEWKT('SRID=4674;POINT (-40.378921 -2.795818)'))) / (select extract(epoch from '2026-07-07 14:29:03'::timestamp) - extract(epoch from '2026-07-07 14:28:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379029 -2.79576)'), GeomFromEWKT('SRID=4674;POINT (-40.378921 -2.795818)'))) / (select extract(epoch from '2026-07-07 14:29:03'::timestamp) - extract(epoch from '2026-07-07 14:28:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.378831 -2.795867)', '2026-07-07 14:29:08', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378921 -2.795818)'), GeomFromEWKT('SRID=4674;POINT (-40.378831 -2.795867)'))) / (select extract(epoch from '2026-07-07 14:29:08'::timestamp) - extract(epoch from '2026-07-07 14:29:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378921 -2.795818)'), GeomFromEWKT('SRID=4674;POINT (-40.378831 -2.795867)'))) / (select extract(epoch from '2026-07-07 14:29:08'::timestamp) - extract(epoch from '2026-07-07 14:29:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.378685 -2.795938)', '2026-07-07 14:29:16', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378831 -2.795867)'), GeomFromEWKT('SRID=4674;POINT (-40.378685 -2.795938)'))) / (select extract(epoch from '2026-07-07 14:29:16'::timestamp) - extract(epoch from '2026-07-07 14:29:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378831 -2.795867)'), GeomFromEWKT('SRID=4674;POINT (-40.378685 -2.795938)'))) / (select extract(epoch from '2026-07-07 14:29:16'::timestamp) - extract(epoch from '2026-07-07 14:29: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'), 47829, 'SRID=4674;POINT (-40.37859 -2.795981)', '2026-07-07 14:29:21', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378685 -2.795938)'), GeomFromEWKT('SRID=4674;POINT (-40.37859 -2.795981)'))) / (select extract(epoch from '2026-07-07 14:29:21'::timestamp) - extract(epoch from '2026-07-07 14:29:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378685 -2.795938)'), GeomFromEWKT('SRID=4674;POINT (-40.37859 -2.795981)'))) / (select extract(epoch from '2026-07-07 14:29:21'::timestamp) - extract(epoch from '2026-07-07 14:29:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.378537 -2.796008)', '2026-07-07 14:29:24', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37859 -2.795981)'), GeomFromEWKT('SRID=4674;POINT (-40.378537 -2.796008)'))) / (select extract(epoch from '2026-07-07 14:29:24'::timestamp) - extract(epoch from '2026-07-07 14:29:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37859 -2.795981)'), GeomFromEWKT('SRID=4674;POINT (-40.378537 -2.796008)'))) / (select extract(epoch from '2026-07-07 14:29:24'::timestamp) - extract(epoch from '2026-07-07 14:29: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'), 47829, 'SRID=4674;POINT (-40.378518 -2.796016)', '2026-07-07 14:29:25', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378537 -2.796008)'), GeomFromEWKT('SRID=4674;POINT (-40.378518 -2.796016)'))) / (select extract(epoch from '2026-07-07 14:29:25'::timestamp) - extract(epoch from '2026-07-07 14:29:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378537 -2.796008)'), GeomFromEWKT('SRID=4674;POINT (-40.378518 -2.796016)'))) / (select extract(epoch from '2026-07-07 14:29:25'::timestamp) - extract(epoch from '2026-07-07 14:29: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'), 47829, 'SRID=4674;POINT (-40.378501 -2.796024)', '2026-07-07 14:29:26', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378518 -2.796016)'), GeomFromEWKT('SRID=4674;POINT (-40.378501 -2.796024)'))) / (select extract(epoch from '2026-07-07 14:29:26'::timestamp) - extract(epoch from '2026-07-07 14:29:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378518 -2.796016)'), GeomFromEWKT('SRID=4674;POINT (-40.378501 -2.796024)'))) / (select extract(epoch from '2026-07-07 14:29:26'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.378451 -2.79605)', '2026-07-07 14:29:29', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378501 -2.796024)'), GeomFromEWKT('SRID=4674;POINT (-40.378451 -2.79605)'))) / (select extract(epoch from '2026-07-07 14:29:29'::timestamp) - extract(epoch from '2026-07-07 14:29:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378501 -2.796024)'), GeomFromEWKT('SRID=4674;POINT (-40.378451 -2.79605)'))) / (select extract(epoch from '2026-07-07 14:29:29'::timestamp) - extract(epoch from '2026-07-07 14:29:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.378347 -2.796089)', '2026-07-07 14:29:35', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378451 -2.79605)'), GeomFromEWKT('SRID=4674;POINT (-40.378347 -2.796089)'))) / (select extract(epoch from '2026-07-07 14:29:35'::timestamp) - extract(epoch from '2026-07-07 14:29:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378451 -2.79605)'), GeomFromEWKT('SRID=4674;POINT (-40.378347 -2.796089)'))) / (select extract(epoch from '2026-07-07 14:29:35'::timestamp) - extract(epoch from '2026-07-07 14:29: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'), 47829, 'SRID=4674;POINT (-40.378204 -2.79618)', '2026-07-07 14:29:43', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378347 -2.796089)'), GeomFromEWKT('SRID=4674;POINT (-40.378204 -2.79618)'))) / (select extract(epoch from '2026-07-07 14:29:43'::timestamp) - extract(epoch from '2026-07-07 14:29:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378347 -2.796089)'), GeomFromEWKT('SRID=4674;POINT (-40.378204 -2.79618)'))) / (select extract(epoch from '2026-07-07 14:29:43'::timestamp) - extract(epoch from '2026-07-07 14:29: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'), 47829, 'SRID=4674;POINT (-40.378103 -2.796262)', '2026-07-07 14:29:49', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378204 -2.79618)'), GeomFromEWKT('SRID=4674;POINT (-40.378103 -2.796262)'))) / (select extract(epoch from '2026-07-07 14:29:49'::timestamp) - extract(epoch from '2026-07-07 14:29:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378204 -2.79618)'), GeomFromEWKT('SRID=4674;POINT (-40.378103 -2.796262)'))) / (select extract(epoch from '2026-07-07 14:29:49'::timestamp) - extract(epoch from '2026-07-07 14:29: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'), 47829, 'SRID=4674;POINT (-40.377997 -2.796336)', '2026-07-07 14:29:55', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378103 -2.796262)'), GeomFromEWKT('SRID=4674;POINT (-40.377997 -2.796336)'))) / (select extract(epoch from '2026-07-07 14:29:55'::timestamp) - extract(epoch from '2026-07-07 14:29:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378103 -2.796262)'), GeomFromEWKT('SRID=4674;POINT (-40.377997 -2.796336)'))) / (select extract(epoch from '2026-07-07 14:29:55'::timestamp) - extract(epoch from '2026-07-07 14:29: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'), 47829, 'SRID=4674;POINT (-40.377889 -2.796387)', '2026-07-07 14:30:01', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377997 -2.796336)'), GeomFromEWKT('SRID=4674;POINT (-40.377889 -2.796387)'))) / (select extract(epoch from '2026-07-07 14:30:01'::timestamp) - extract(epoch from '2026-07-07 14:29:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377997 -2.796336)'), GeomFromEWKT('SRID=4674;POINT (-40.377889 -2.796387)'))) / (select extract(epoch from '2026-07-07 14:30:01'::timestamp) - extract(epoch from '2026-07-07 14:29: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'), 47829, 'SRID=4674;POINT (-40.377768 -2.796453)', '2026-07-07 14:30:08', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377889 -2.796387)'), GeomFromEWKT('SRID=4674;POINT (-40.377768 -2.796453)'))) / (select extract(epoch from '2026-07-07 14:30:08'::timestamp) - extract(epoch from '2026-07-07 14:30:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377889 -2.796387)'), GeomFromEWKT('SRID=4674;POINT (-40.377768 -2.796453)'))) / (select extract(epoch from '2026-07-07 14:30:08'::timestamp) - extract(epoch from '2026-07-07 14:30: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'), 47829, 'SRID=4674;POINT (-40.377657 -2.796538)', '2026-07-07 14:30:15', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377768 -2.796453)'), GeomFromEWKT('SRID=4674;POINT (-40.377657 -2.796538)'))) / (select extract(epoch from '2026-07-07 14:30:15'::timestamp) - extract(epoch from '2026-07-07 14:30:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377768 -2.796453)'), GeomFromEWKT('SRID=4674;POINT (-40.377657 -2.796538)'))) / (select extract(epoch from '2026-07-07 14:30:15'::timestamp) - extract(epoch from '2026-07-07 14:30: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'), 47829, 'SRID=4674;POINT (-40.37756 -2.796618)', '2026-07-07 14:30:21', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377657 -2.796538)'), GeomFromEWKT('SRID=4674;POINT (-40.37756 -2.796618)'))) / (select extract(epoch from '2026-07-07 14:30:21'::timestamp) - extract(epoch from '2026-07-07 14:30:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377657 -2.796538)'), GeomFromEWKT('SRID=4674;POINT (-40.37756 -2.796618)'))) / (select extract(epoch from '2026-07-07 14:30:21'::timestamp) - extract(epoch from '2026-07-07 14:30: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'), 47829, 'SRID=4674;POINT (-40.377439 -2.796702)', '2026-07-07 14:30:28', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37756 -2.796618)'), GeomFromEWKT('SRID=4674;POINT (-40.377439 -2.796702)'))) / (select extract(epoch from '2026-07-07 14:30:28'::timestamp) - extract(epoch from '2026-07-07 14:30:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37756 -2.796618)'), GeomFromEWKT('SRID=4674;POINT (-40.377439 -2.796702)'))) / (select extract(epoch from '2026-07-07 14:30:28'::timestamp) - extract(epoch from '2026-07-07 14:30: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'), 47829, 'SRID=4674;POINT (-40.377319 -2.796778)', '2026-07-07 14:30:35', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377439 -2.796702)'), GeomFromEWKT('SRID=4674;POINT (-40.377319 -2.796778)'))) / (select extract(epoch from '2026-07-07 14:30:35'::timestamp) - extract(epoch from '2026-07-07 14:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377439 -2.796702)'), GeomFromEWKT('SRID=4674;POINT (-40.377319 -2.796778)'))) / (select extract(epoch from '2026-07-07 14:30:35'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.377225 -2.796831)', '2026-07-07 14:30:40', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377319 -2.796778)'), GeomFromEWKT('SRID=4674;POINT (-40.377225 -2.796831)'))) / (select extract(epoch from '2026-07-07 14:30:40'::timestamp) - extract(epoch from '2026-07-07 14:30:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377319 -2.796778)'), GeomFromEWKT('SRID=4674;POINT (-40.377225 -2.796831)'))) / (select extract(epoch from '2026-07-07 14:30:40'::timestamp) - extract(epoch from '2026-07-07 14:30: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'), 47829, 'SRID=4674;POINT (-40.377117 -2.796896)', '2026-07-07 14:30:46', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377225 -2.796831)'), GeomFromEWKT('SRID=4674;POINT (-40.377117 -2.796896)'))) / (select extract(epoch from '2026-07-07 14:30:46'::timestamp) - extract(epoch from '2026-07-07 14:30:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377225 -2.796831)'), GeomFromEWKT('SRID=4674;POINT (-40.377117 -2.796896)'))) / (select extract(epoch from '2026-07-07 14:30:46'::timestamp) - extract(epoch from '2026-07-07 14:30: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'), 47829, 'SRID=4674;POINT (-40.376997 -2.796991)', '2026-07-07 14:30:53', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377117 -2.796896)'), GeomFromEWKT('SRID=4674;POINT (-40.376997 -2.796991)'))) / (select extract(epoch from '2026-07-07 14:30:53'::timestamp) - extract(epoch from '2026-07-07 14:30:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377117 -2.796896)'), GeomFromEWKT('SRID=4674;POINT (-40.376997 -2.796991)'))) / (select extract(epoch from '2026-07-07 14:30:53'::timestamp) - extract(epoch from '2026-07-07 14:30: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'), 47829, 'SRID=4674;POINT (-40.376932 -2.797052)', '2026-07-07 14:30:57', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376997 -2.796991)'), GeomFromEWKT('SRID=4674;POINT (-40.376932 -2.797052)'))) / (select extract(epoch from '2026-07-07 14:30:57'::timestamp) - extract(epoch from '2026-07-07 14:30:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376997 -2.796991)'), GeomFromEWKT('SRID=4674;POINT (-40.376932 -2.797052)'))) / (select extract(epoch from '2026-07-07 14:30:57'::timestamp) - extract(epoch from '2026-07-07 14:30: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'), 47829, 'SRID=4674;POINT (-40.376841 -2.797119)', '2026-07-07 14:31:03', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376932 -2.797052)'), GeomFromEWKT('SRID=4674;POINT (-40.376841 -2.797119)'))) / (select extract(epoch from '2026-07-07 14:31:03'::timestamp) - extract(epoch from '2026-07-07 14:30:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376932 -2.797052)'), GeomFromEWKT('SRID=4674;POINT (-40.376841 -2.797119)'))) / (select extract(epoch from '2026-07-07 14:31:03'::timestamp) - extract(epoch from '2026-07-07 14:30: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'), 47829, 'SRID=4674;POINT (-40.376721 -2.797188)', '2026-07-07 14:31:10', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376841 -2.797119)'), GeomFromEWKT('SRID=4674;POINT (-40.376721 -2.797188)'))) / (select extract(epoch from '2026-07-07 14:31:10'::timestamp) - extract(epoch from '2026-07-07 14:31:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376841 -2.797119)'), GeomFromEWKT('SRID=4674;POINT (-40.376721 -2.797188)'))) / (select extract(epoch from '2026-07-07 14:31:10'::timestamp) - extract(epoch from '2026-07-07 14:31:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.376637 -2.797236)', '2026-07-07 14:31:15', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376721 -2.797188)'), GeomFromEWKT('SRID=4674;POINT (-40.376637 -2.797236)'))) / (select extract(epoch from '2026-07-07 14:31:15'::timestamp) - extract(epoch from '2026-07-07 14:31:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376721 -2.797188)'), GeomFromEWKT('SRID=4674;POINT (-40.376637 -2.797236)'))) / (select extract(epoch from '2026-07-07 14:31:15'::timestamp) - extract(epoch from '2026-07-07 14:31: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'), 47829, 'SRID=4674;POINT (-40.37655 -2.797289)', '2026-07-07 14:31:20', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376637 -2.797236)'), GeomFromEWKT('SRID=4674;POINT (-40.37655 -2.797289)'))) / (select extract(epoch from '2026-07-07 14:31:20'::timestamp) - extract(epoch from '2026-07-07 14:31:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376637 -2.797236)'), GeomFromEWKT('SRID=4674;POINT (-40.37655 -2.797289)'))) / (select extract(epoch from '2026-07-07 14:31:20'::timestamp) - extract(epoch from '2026-07-07 14:31: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'), 47829, 'SRID=4674;POINT (-40.376444 -2.797327)', '2026-07-07 14:31:26', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37655 -2.797289)'), GeomFromEWKT('SRID=4674;POINT (-40.376444 -2.797327)'))) / (select extract(epoch from '2026-07-07 14:31:26'::timestamp) - extract(epoch from '2026-07-07 14:31:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37655 -2.797289)'), GeomFromEWKT('SRID=4674;POINT (-40.376444 -2.797327)'))) / (select extract(epoch from '2026-07-07 14:31:26'::timestamp) - extract(epoch from '2026-07-07 14:31: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'), 47829, 'SRID=4674;POINT (-40.376338 -2.797379)', '2026-07-07 14:31:32', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376444 -2.797327)'), GeomFromEWKT('SRID=4674;POINT (-40.376338 -2.797379)'))) / (select extract(epoch from '2026-07-07 14:31:32'::timestamp) - extract(epoch from '2026-07-07 14:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376444 -2.797327)'), GeomFromEWKT('SRID=4674;POINT (-40.376338 -2.797379)'))) / (select extract(epoch from '2026-07-07 14:31:32'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.376192 -2.797449)', '2026-07-07 14:31:40', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376338 -2.797379)'), GeomFromEWKT('SRID=4674;POINT (-40.376192 -2.797449)'))) / (select extract(epoch from '2026-07-07 14:31:40'::timestamp) - extract(epoch from '2026-07-07 14:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376338 -2.797379)'), GeomFromEWKT('SRID=4674;POINT (-40.376192 -2.797449)'))) / (select extract(epoch from '2026-07-07 14:31:40'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.37607 -2.797514)', '2026-07-07 14:31:47', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376192 -2.797449)'), GeomFromEWKT('SRID=4674;POINT (-40.37607 -2.797514)'))) / (select extract(epoch from '2026-07-07 14:31:47'::timestamp) - extract(epoch from '2026-07-07 14:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376192 -2.797449)'), GeomFromEWKT('SRID=4674;POINT (-40.37607 -2.797514)'))) / (select extract(epoch from '2026-07-07 14:31:47'::timestamp) - extract(epoch from '2026-07-07 14:31:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.375984 -2.797572)', '2026-07-07 14:31:52', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37607 -2.797514)'), GeomFromEWKT('SRID=4674;POINT (-40.375984 -2.797572)'))) / (select extract(epoch from '2026-07-07 14:31:52'::timestamp) - extract(epoch from '2026-07-07 14:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37607 -2.797514)'), GeomFromEWKT('SRID=4674;POINT (-40.375984 -2.797572)'))) / (select extract(epoch from '2026-07-07 14:31:52'::timestamp) - extract(epoch from '2026-07-07 14:31:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.375969 -2.797587)', '2026-07-07 14:31:53', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375984 -2.797572)'), GeomFromEWKT('SRID=4674;POINT (-40.375969 -2.797587)'))) / (select extract(epoch from '2026-07-07 14:31:53'::timestamp) - extract(epoch from '2026-07-07 14:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375984 -2.797572)'), GeomFromEWKT('SRID=4674;POINT (-40.375969 -2.797587)'))) / (select extract(epoch from '2026-07-07 14:31:53'::timestamp) - extract(epoch from '2026-07-07 14:31: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'), 47829, 'SRID=4674;POINT (-40.375939 -2.797612)', '2026-07-07 14:31:55', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375969 -2.797587)'), GeomFromEWKT('SRID=4674;POINT (-40.375939 -2.797612)'))) / (select extract(epoch from '2026-07-07 14:31:55'::timestamp) - extract(epoch from '2026-07-07 14:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375969 -2.797587)'), GeomFromEWKT('SRID=4674;POINT (-40.375939 -2.797612)'))) / (select extract(epoch from '2026-07-07 14:31:55'::timestamp) - extract(epoch from '2026-07-07 14:31: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'), 47829, 'SRID=4674;POINT (-40.375926 -2.797626)', '2026-07-07 14:31:56', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375939 -2.797612)'), GeomFromEWKT('SRID=4674;POINT (-40.375926 -2.797626)'))) / (select extract(epoch from '2026-07-07 14:31:56'::timestamp) - extract(epoch from '2026-07-07 14:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375939 -2.797612)'), GeomFromEWKT('SRID=4674;POINT (-40.375926 -2.797626)'))) / (select extract(epoch from '2026-07-07 14:31:56'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.375838 -2.797706)', '2026-07-07 14:32:02', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375926 -2.797626)'), GeomFromEWKT('SRID=4674;POINT (-40.375838 -2.797706)'))) / (select extract(epoch from '2026-07-07 14:32:02'::timestamp) - extract(epoch from '2026-07-07 14:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375926 -2.797626)'), GeomFromEWKT('SRID=4674;POINT (-40.375838 -2.797706)'))) / (select extract(epoch from '2026-07-07 14:32:02'::timestamp) - extract(epoch from '2026-07-07 14:31: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'), 47829, 'SRID=4674;POINT (-40.375739 -2.797779)', '2026-07-07 14:32:08', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375838 -2.797706)'), GeomFromEWKT('SRID=4674;POINT (-40.375739 -2.797779)'))) / (select extract(epoch from '2026-07-07 14:32:08'::timestamp) - extract(epoch from '2026-07-07 14:32:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375838 -2.797706)'), GeomFromEWKT('SRID=4674;POINT (-40.375739 -2.797779)'))) / (select extract(epoch from '2026-07-07 14:32:08'::timestamp) - extract(epoch from '2026-07-07 14:32: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'), 47829, 'SRID=4674;POINT (-40.375653 -2.797834)', '2026-07-07 14:32:13', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375739 -2.797779)'), GeomFromEWKT('SRID=4674;POINT (-40.375653 -2.797834)'))) / (select extract(epoch from '2026-07-07 14:32:13'::timestamp) - extract(epoch from '2026-07-07 14:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375739 -2.797779)'), GeomFromEWKT('SRID=4674;POINT (-40.375653 -2.797834)'))) / (select extract(epoch from '2026-07-07 14:32:13'::timestamp) - extract(epoch from '2026-07-07 14:32:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.375546 -2.797885)', '2026-07-07 14:32:19', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375653 -2.797834)'), GeomFromEWKT('SRID=4674;POINT (-40.375546 -2.797885)'))) / (select extract(epoch from '2026-07-07 14:32:19'::timestamp) - extract(epoch from '2026-07-07 14:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375653 -2.797834)'), GeomFromEWKT('SRID=4674;POINT (-40.375546 -2.797885)'))) / (select extract(epoch from '2026-07-07 14:32:19'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.375444 -2.797929)', '2026-07-07 14:32:25', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375546 -2.797885)'), GeomFromEWKT('SRID=4674;POINT (-40.375444 -2.797929)'))) / (select extract(epoch from '2026-07-07 14:32:25'::timestamp) - extract(epoch from '2026-07-07 14:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375546 -2.797885)'), GeomFromEWKT('SRID=4674;POINT (-40.375444 -2.797929)'))) / (select extract(epoch from '2026-07-07 14:32:25'::timestamp) - extract(epoch from '2026-07-07 14:32: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'), 47829, 'SRID=4674;POINT (-40.375307 -2.797982)', '2026-07-07 14:32:32', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375444 -2.797929)'), GeomFromEWKT('SRID=4674;POINT (-40.375307 -2.797982)'))) / (select extract(epoch from '2026-07-07 14:32:32'::timestamp) - extract(epoch from '2026-07-07 14:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375444 -2.797929)'), GeomFromEWKT('SRID=4674;POINT (-40.375307 -2.797982)'))) / (select extract(epoch from '2026-07-07 14:32:32'::timestamp) - extract(epoch from '2026-07-07 14:32:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.375198 -2.79802)', '2026-07-07 14:32:38', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375307 -2.797982)'), GeomFromEWKT('SRID=4674;POINT (-40.375198 -2.79802)'))) / (select extract(epoch from '2026-07-07 14:32:38'::timestamp) - extract(epoch from '2026-07-07 14:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375307 -2.797982)'), GeomFromEWKT('SRID=4674;POINT (-40.375198 -2.79802)'))) / (select extract(epoch from '2026-07-07 14:32:38'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.37518 -2.798027)', '2026-07-07 14:32:39', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375198 -2.79802)'), GeomFromEWKT('SRID=4674;POINT (-40.37518 -2.798027)'))) / (select extract(epoch from '2026-07-07 14:32:39'::timestamp) - extract(epoch from '2026-07-07 14:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375198 -2.79802)'), GeomFromEWKT('SRID=4674;POINT (-40.37518 -2.798027)'))) / (select extract(epoch from '2026-07-07 14:32:39'::timestamp) - extract(epoch from '2026-07-07 14:32: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'), 47829, 'SRID=4674;POINT (-40.375107 -2.798056)', '2026-07-07 14:32:43', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37518 -2.798027)'), GeomFromEWKT('SRID=4674;POINT (-40.375107 -2.798056)'))) / (select extract(epoch from '2026-07-07 14:32:43'::timestamp) - extract(epoch from '2026-07-07 14:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37518 -2.798027)'), GeomFromEWKT('SRID=4674;POINT (-40.375107 -2.798056)'))) / (select extract(epoch from '2026-07-07 14:32:43'::timestamp) - extract(epoch from '2026-07-07 14:32:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.375071 -2.798067)', '2026-07-07 14:32:45', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375107 -2.798056)'), GeomFromEWKT('SRID=4674;POINT (-40.375071 -2.798067)'))) / (select extract(epoch from '2026-07-07 14:32:45'::timestamp) - extract(epoch from '2026-07-07 14:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375107 -2.798056)'), GeomFromEWKT('SRID=4674;POINT (-40.375071 -2.798067)'))) / (select extract(epoch from '2026-07-07 14:32:45'::timestamp) - extract(epoch from '2026-07-07 14:32: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'), 47829, 'SRID=4674;POINT (-40.375014 -2.79809)', '2026-07-07 14:32:48', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375071 -2.798067)'), GeomFromEWKT('SRID=4674;POINT (-40.375014 -2.79809)'))) / (select extract(epoch from '2026-07-07 14:32:48'::timestamp) - extract(epoch from '2026-07-07 14:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375071 -2.798067)'), GeomFromEWKT('SRID=4674;POINT (-40.375014 -2.79809)'))) / (select extract(epoch from '2026-07-07 14:32:48'::timestamp) - extract(epoch from '2026-07-07 14:32: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'), 47829, 'SRID=4674;POINT (-40.374862 -2.798125)', '2026-07-07 14:32:56', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375014 -2.79809)'), GeomFromEWKT('SRID=4674;POINT (-40.374862 -2.798125)'))) / (select extract(epoch from '2026-07-07 14:32:56'::timestamp) - extract(epoch from '2026-07-07 14:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375014 -2.79809)'), GeomFromEWKT('SRID=4674;POINT (-40.374862 -2.798125)'))) / (select extract(epoch from '2026-07-07 14:32:56'::timestamp) - extract(epoch from '2026-07-07 14:32: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'), 47829, 'SRID=4674;POINT (-40.374713 -2.798193)', '2026-07-07 14:33:04', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374862 -2.798125)'), GeomFromEWKT('SRID=4674;POINT (-40.374713 -2.798193)'))) / (select extract(epoch from '2026-07-07 14:33:04'::timestamp) - extract(epoch from '2026-07-07 14:32:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374862 -2.798125)'), GeomFromEWKT('SRID=4674;POINT (-40.374713 -2.798193)'))) / (select extract(epoch from '2026-07-07 14:33:04'::timestamp) - extract(epoch from '2026-07-07 14:32:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.374598 -2.798243)', '2026-07-07 14:33:10', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374713 -2.798193)'), GeomFromEWKT('SRID=4674;POINT (-40.374598 -2.798243)'))) / (select extract(epoch from '2026-07-07 14:33:10'::timestamp) - extract(epoch from '2026-07-07 14:33:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374713 -2.798193)'), GeomFromEWKT('SRID=4674;POINT (-40.374598 -2.798243)'))) / (select extract(epoch from '2026-07-07 14:33:10'::timestamp) - extract(epoch from '2026-07-07 14:33: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'), 47829, 'SRID=4674;POINT (-40.374525 -2.798281)', '2026-07-07 14:33:14', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374598 -2.798243)'), GeomFromEWKT('SRID=4674;POINT (-40.374525 -2.798281)'))) / (select extract(epoch from '2026-07-07 14:33:14'::timestamp) - extract(epoch from '2026-07-07 14:33:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374598 -2.798243)'), GeomFromEWKT('SRID=4674;POINT (-40.374525 -2.798281)'))) / (select extract(epoch from '2026-07-07 14:33:14'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.374506 -2.798288)', '2026-07-07 14:33:15', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374525 -2.798281)'), GeomFromEWKT('SRID=4674;POINT (-40.374506 -2.798288)'))) / (select extract(epoch from '2026-07-07 14:33:15'::timestamp) - extract(epoch from '2026-07-07 14:33:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374525 -2.798281)'), GeomFromEWKT('SRID=4674;POINT (-40.374506 -2.798288)'))) / (select extract(epoch from '2026-07-07 14:33:15'::timestamp) - extract(epoch from '2026-07-07 14:33: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'), 47829, 'SRID=4674;POINT (-40.374412 -2.798322)', '2026-07-07 14:33:20', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374506 -2.798288)'), GeomFromEWKT('SRID=4674;POINT (-40.374412 -2.798322)'))) / (select extract(epoch from '2026-07-07 14:33:20'::timestamp) - extract(epoch from '2026-07-07 14:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374506 -2.798288)'), GeomFromEWKT('SRID=4674;POINT (-40.374412 -2.798322)'))) / (select extract(epoch from '2026-07-07 14:33:20'::timestamp) - extract(epoch from '2026-07-07 14:33: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'), 47829, 'SRID=4674;POINT (-40.37433 -2.798378)', '2026-07-07 14:33:25', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374412 -2.798322)'), GeomFromEWKT('SRID=4674;POINT (-40.37433 -2.798378)'))) / (select extract(epoch from '2026-07-07 14:33:25'::timestamp) - extract(epoch from '2026-07-07 14:33:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374412 -2.798322)'), GeomFromEWKT('SRID=4674;POINT (-40.37433 -2.798378)'))) / (select extract(epoch from '2026-07-07 14:33:25'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.374248 -2.798441)', '2026-07-07 14:33:30', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37433 -2.798378)'), GeomFromEWKT('SRID=4674;POINT (-40.374248 -2.798441)'))) / (select extract(epoch from '2026-07-07 14:33:30'::timestamp) - extract(epoch from '2026-07-07 14:33:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37433 -2.798378)'), GeomFromEWKT('SRID=4674;POINT (-40.374248 -2.798441)'))) / (select extract(epoch from '2026-07-07 14:33:30'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.374125 -2.798505)', '2026-07-07 14:33:37', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374248 -2.798441)'), GeomFromEWKT('SRID=4674;POINT (-40.374125 -2.798505)'))) / (select extract(epoch from '2026-07-07 14:33:37'::timestamp) - extract(epoch from '2026-07-07 14:33:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374248 -2.798441)'), GeomFromEWKT('SRID=4674;POINT (-40.374125 -2.798505)'))) / (select extract(epoch from '2026-07-07 14:33:37'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.373986 -2.798568)', '2026-07-07 14:33:45', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374125 -2.798505)'), GeomFromEWKT('SRID=4674;POINT (-40.373986 -2.798568)'))) / (select extract(epoch from '2026-07-07 14:33:45'::timestamp) - extract(epoch from '2026-07-07 14:33:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374125 -2.798505)'), GeomFromEWKT('SRID=4674;POINT (-40.373986 -2.798568)'))) / (select extract(epoch from '2026-07-07 14:33:45'::timestamp) - extract(epoch from '2026-07-07 14:33: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'), 47829, 'SRID=4674;POINT (-40.373838 -2.798647)', '2026-07-07 14:33:53', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373986 -2.798568)'), GeomFromEWKT('SRID=4674;POINT (-40.373838 -2.798647)'))) / (select extract(epoch from '2026-07-07 14:33:53'::timestamp) - extract(epoch from '2026-07-07 14:33:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373986 -2.798568)'), GeomFromEWKT('SRID=4674;POINT (-40.373838 -2.798647)'))) / (select extract(epoch from '2026-07-07 14:33:53'::timestamp) - extract(epoch from '2026-07-07 14:33:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.373729 -2.798695)', '2026-07-07 14:33:59', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373838 -2.798647)'), GeomFromEWKT('SRID=4674;POINT (-40.373729 -2.798695)'))) / (select extract(epoch from '2026-07-07 14:33:59'::timestamp) - extract(epoch from '2026-07-07 14:33:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373838 -2.798647)'), GeomFromEWKT('SRID=4674;POINT (-40.373729 -2.798695)'))) / (select extract(epoch from '2026-07-07 14:33:59'::timestamp) - extract(epoch from '2026-07-07 14:33: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'), 47829, 'SRID=4674;POINT (-40.373644 -2.79875)', '2026-07-07 14:34:04', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373729 -2.798695)'), GeomFromEWKT('SRID=4674;POINT (-40.373644 -2.79875)'))) / (select extract(epoch from '2026-07-07 14:34:04'::timestamp) - extract(epoch from '2026-07-07 14:33:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373729 -2.798695)'), GeomFromEWKT('SRID=4674;POINT (-40.373644 -2.79875)'))) / (select extract(epoch from '2026-07-07 14:34:04'::timestamp) - extract(epoch from '2026-07-07 14:33: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'), 47829, 'SRID=4674;POINT (-40.37353 -2.798833)', '2026-07-07 14:34:11', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373644 -2.79875)'), GeomFromEWKT('SRID=4674;POINT (-40.37353 -2.798833)'))) / (select extract(epoch from '2026-07-07 14:34:11'::timestamp) - extract(epoch from '2026-07-07 14:34:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373644 -2.79875)'), GeomFromEWKT('SRID=4674;POINT (-40.37353 -2.798833)'))) / (select extract(epoch from '2026-07-07 14:34:11'::timestamp) - extract(epoch from '2026-07-07 14:34: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'), 47829, 'SRID=4674;POINT (-40.37344 -2.79889)', '2026-07-07 14:34:16', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37353 -2.798833)'), GeomFromEWKT('SRID=4674;POINT (-40.37344 -2.79889)'))) / (select extract(epoch from '2026-07-07 14:34:16'::timestamp) - extract(epoch from '2026-07-07 14:34:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37353 -2.798833)'), GeomFromEWKT('SRID=4674;POINT (-40.37344 -2.79889)'))) / (select extract(epoch from '2026-07-07 14:34:16'::timestamp) - extract(epoch from '2026-07-07 14:34: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'), 47829, 'SRID=4674;POINT (-40.373333 -2.798951)', '2026-07-07 14:34:22', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37344 -2.79889)'), GeomFromEWKT('SRID=4674;POINT (-40.373333 -2.798951)'))) / (select extract(epoch from '2026-07-07 14:34:22'::timestamp) - extract(epoch from '2026-07-07 14:34:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37344 -2.79889)'), GeomFromEWKT('SRID=4674;POINT (-40.373333 -2.798951)'))) / (select extract(epoch from '2026-07-07 14:34:22'::timestamp) - extract(epoch from '2026-07-07 14:34: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'), 47829, 'SRID=4674;POINT (-40.373252 -2.79901)', '2026-07-07 14:34:27', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373333 -2.798951)'), GeomFromEWKT('SRID=4674;POINT (-40.373252 -2.79901)'))) / (select extract(epoch from '2026-07-07 14:34:27'::timestamp) - extract(epoch from '2026-07-07 14:34:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373333 -2.798951)'), GeomFromEWKT('SRID=4674;POINT (-40.373252 -2.79901)'))) / (select extract(epoch from '2026-07-07 14:34:27'::timestamp) - extract(epoch from '2026-07-07 14:34: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'), 47829, 'SRID=4674;POINT (-40.373117 -2.799107)', '2026-07-07 14:34:35', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373252 -2.79901)'), GeomFromEWKT('SRID=4674;POINT (-40.373117 -2.799107)'))) / (select extract(epoch from '2026-07-07 14:34:35'::timestamp) - extract(epoch from '2026-07-07 14:34:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373252 -2.79901)'), GeomFromEWKT('SRID=4674;POINT (-40.373117 -2.799107)'))) / (select extract(epoch from '2026-07-07 14:34:35'::timestamp) - extract(epoch from '2026-07-07 14:34: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'), 47829, 'SRID=4674;POINT (-40.373011 -2.799166)', '2026-07-07 14:34:41', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373117 -2.799107)'), GeomFromEWKT('SRID=4674;POINT (-40.373011 -2.799166)'))) / (select extract(epoch from '2026-07-07 14:34:41'::timestamp) - extract(epoch from '2026-07-07 14:34:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373117 -2.799107)'), GeomFromEWKT('SRID=4674;POINT (-40.373011 -2.799166)'))) / (select extract(epoch from '2026-07-07 14:34:41'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.372904 -2.799233)', '2026-07-07 14:34:47', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373011 -2.799166)'), GeomFromEWKT('SRID=4674;POINT (-40.372904 -2.799233)'))) / (select extract(epoch from '2026-07-07 14:34:47'::timestamp) - extract(epoch from '2026-07-07 14:34:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373011 -2.799166)'), GeomFromEWKT('SRID=4674;POINT (-40.372904 -2.799233)'))) / (select extract(epoch from '2026-07-07 14:34:47'::timestamp) - extract(epoch from '2026-07-07 14:34: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'), 47829, 'SRID=4674;POINT (-40.372801 -2.799303)', '2026-07-07 14:34:53', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372904 -2.799233)'), GeomFromEWKT('SRID=4674;POINT (-40.372801 -2.799303)'))) / (select extract(epoch from '2026-07-07 14:34:53'::timestamp) - extract(epoch from '2026-07-07 14:34:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372904 -2.799233)'), GeomFromEWKT('SRID=4674;POINT (-40.372801 -2.799303)'))) / (select extract(epoch from '2026-07-07 14:34:53'::timestamp) - extract(epoch from '2026-07-07 14:34: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'), 47829, 'SRID=4674;POINT (-40.372657 -2.799395)', '2026-07-07 14:35:01', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372801 -2.799303)'), GeomFromEWKT('SRID=4674;POINT (-40.372657 -2.799395)'))) / (select extract(epoch from '2026-07-07 14:35:01'::timestamp) - extract(epoch from '2026-07-07 14:34:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372801 -2.799303)'), GeomFromEWKT('SRID=4674;POINT (-40.372657 -2.799395)'))) / (select extract(epoch from '2026-07-07 14:35:01'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.372537 -2.79948)', '2026-07-07 14:35:08', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372657 -2.799395)'), GeomFromEWKT('SRID=4674;POINT (-40.372537 -2.79948)'))) / (select extract(epoch from '2026-07-07 14:35:08'::timestamp) - extract(epoch from '2026-07-07 14:35:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372657 -2.799395)'), GeomFromEWKT('SRID=4674;POINT (-40.372537 -2.79948)'))) / (select extract(epoch from '2026-07-07 14:35:08'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.372432 -2.799549)', '2026-07-07 14:35:14', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372537 -2.79948)'), GeomFromEWKT('SRID=4674;POINT (-40.372432 -2.799549)'))) / (select extract(epoch from '2026-07-07 14:35:14'::timestamp) - extract(epoch from '2026-07-07 14:35:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372537 -2.79948)'), GeomFromEWKT('SRID=4674;POINT (-40.372432 -2.799549)'))) / (select extract(epoch from '2026-07-07 14:35:14'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.372359 -2.799591)', '2026-07-07 14:35:18', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372432 -2.799549)'), GeomFromEWKT('SRID=4674;POINT (-40.372359 -2.799591)'))) / (select extract(epoch from '2026-07-07 14:35:18'::timestamp) - extract(epoch from '2026-07-07 14:35:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372432 -2.799549)'), GeomFromEWKT('SRID=4674;POINT (-40.372359 -2.799591)'))) / (select extract(epoch from '2026-07-07 14:35:18'::timestamp) - extract(epoch from '2026-07-07 14:35: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'), 47829, 'SRID=4674;POINT (-40.372306 -2.799619)', '2026-07-07 14:35:21', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372359 -2.799591)'), GeomFromEWKT('SRID=4674;POINT (-40.372306 -2.799619)'))) / (select extract(epoch from '2026-07-07 14:35:21'::timestamp) - extract(epoch from '2026-07-07 14:35:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372359 -2.799591)'), GeomFromEWKT('SRID=4674;POINT (-40.372306 -2.799619)'))) / (select extract(epoch from '2026-07-07 14:35:21'::timestamp) - extract(epoch from '2026-07-07 14:35: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'), 47829, 'SRID=4674;POINT (-40.372288 -2.799626)', '2026-07-07 14:35:22', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372306 -2.799619)'), GeomFromEWKT('SRID=4674;POINT (-40.372288 -2.799626)'))) / (select extract(epoch from '2026-07-07 14:35:22'::timestamp) - extract(epoch from '2026-07-07 14:35:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372306 -2.799619)'), GeomFromEWKT('SRID=4674;POINT (-40.372288 -2.799626)'))) / (select extract(epoch from '2026-07-07 14:35:22'::timestamp) - extract(epoch from '2026-07-07 14:35: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'), 47829, 'SRID=4674;POINT (-40.372198 -2.799662)', '2026-07-07 14:35:27', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372288 -2.799626)'), GeomFromEWKT('SRID=4674;POINT (-40.372198 -2.799662)'))) / (select extract(epoch from '2026-07-07 14:35:27'::timestamp) - extract(epoch from '2026-07-07 14:35:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372288 -2.799626)'), GeomFromEWKT('SRID=4674;POINT (-40.372198 -2.799662)'))) / (select extract(epoch from '2026-07-07 14:35:27'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.372084 -2.799698)', '2026-07-07 14:35:33', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372198 -2.799662)'), GeomFromEWKT('SRID=4674;POINT (-40.372084 -2.799698)'))) / (select extract(epoch from '2026-07-07 14:35:33'::timestamp) - extract(epoch from '2026-07-07 14:35:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372198 -2.799662)'), GeomFromEWKT('SRID=4674;POINT (-40.372084 -2.799698)'))) / (select extract(epoch from '2026-07-07 14:35:33'::timestamp) - extract(epoch from '2026-07-07 14:35: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'), 47829, 'SRID=4674;POINT (-40.371952 -2.799738)', '2026-07-07 14:35:40', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372084 -2.799698)'), GeomFromEWKT('SRID=4674;POINT (-40.371952 -2.799738)'))) / (select extract(epoch from '2026-07-07 14:35:40'::timestamp) - extract(epoch from '2026-07-07 14:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372084 -2.799698)'), GeomFromEWKT('SRID=4674;POINT (-40.371952 -2.799738)'))) / (select extract(epoch from '2026-07-07 14:35:40'::timestamp) - extract(epoch from '2026-07-07 14:35: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'), 47829, 'SRID=4674;POINT (-40.371859 -2.799775)', '2026-07-07 14:35:45', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371952 -2.799738)'), GeomFromEWKT('SRID=4674;POINT (-40.371859 -2.799775)'))) / (select extract(epoch from '2026-07-07 14:35:45'::timestamp) - extract(epoch from '2026-07-07 14:35:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371952 -2.799738)'), GeomFromEWKT('SRID=4674;POINT (-40.371859 -2.799775)'))) / (select extract(epoch from '2026-07-07 14:35:45'::timestamp) - extract(epoch from '2026-07-07 14:35: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'), 47829, 'SRID=4674;POINT (-40.371797 -2.799809)', '2026-07-07 14:35:49', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371859 -2.799775)'), GeomFromEWKT('SRID=4674;POINT (-40.371797 -2.799809)'))) / (select extract(epoch from '2026-07-07 14:35:49'::timestamp) - extract(epoch from '2026-07-07 14:35:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371859 -2.799775)'), GeomFromEWKT('SRID=4674;POINT (-40.371797 -2.799809)'))) / (select extract(epoch from '2026-07-07 14:35:49'::timestamp) - extract(epoch from '2026-07-07 14:35:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.371782 -2.799821)', '2026-07-07 14:35:50', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371797 -2.799809)'), GeomFromEWKT('SRID=4674;POINT (-40.371782 -2.799821)'))) / (select extract(epoch from '2026-07-07 14:35:50'::timestamp) - extract(epoch from '2026-07-07 14:35:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371797 -2.799809)'), GeomFromEWKT('SRID=4674;POINT (-40.371782 -2.799821)'))) / (select extract(epoch from '2026-07-07 14:35:50'::timestamp) - extract(epoch from '2026-07-07 14:35: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'), 47829, 'SRID=4674;POINT (-40.371661 -2.799883)', '2026-07-07 14:35:57', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371782 -2.799821)'), GeomFromEWKT('SRID=4674;POINT (-40.371661 -2.799883)'))) / (select extract(epoch from '2026-07-07 14:35:57'::timestamp) - extract(epoch from '2026-07-07 14:35:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371782 -2.799821)'), GeomFromEWKT('SRID=4674;POINT (-40.371661 -2.799883)'))) / (select extract(epoch from '2026-07-07 14:35:57'::timestamp) - extract(epoch from '2026-07-07 14:35: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'), 47829, 'SRID=4674;POINT (-40.371645 -2.799891)', '2026-07-07 14:35:58', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371661 -2.799883)'), GeomFromEWKT('SRID=4674;POINT (-40.371645 -2.799891)'))) / (select extract(epoch from '2026-07-07 14:35:58'::timestamp) - extract(epoch from '2026-07-07 14:35:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371661 -2.799883)'), GeomFromEWKT('SRID=4674;POINT (-40.371645 -2.799891)'))) / (select extract(epoch from '2026-07-07 14:35:58'::timestamp) - extract(epoch from '2026-07-07 14:35: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'), 47829, 'SRID=4674;POINT (-40.37163 -2.799898)', '2026-07-07 14:35:59', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371645 -2.799891)'), GeomFromEWKT('SRID=4674;POINT (-40.37163 -2.799898)'))) / (select extract(epoch from '2026-07-07 14:35:59'::timestamp) - extract(epoch from '2026-07-07 14:35:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371645 -2.799891)'), GeomFromEWKT('SRID=4674;POINT (-40.37163 -2.799898)'))) / (select extract(epoch from '2026-07-07 14:35:59'::timestamp) - extract(epoch from '2026-07-07 14:35: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'), 47829, 'SRID=4674;POINT (-40.371603 -2.799916)', '2026-07-07 14:36:01', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37163 -2.799898)'), GeomFromEWKT('SRID=4674;POINT (-40.371603 -2.799916)'))) / (select extract(epoch from '2026-07-07 14:36:01'::timestamp) - extract(epoch from '2026-07-07 14:35:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37163 -2.799898)'), GeomFromEWKT('SRID=4674;POINT (-40.371603 -2.799916)'))) / (select extract(epoch from '2026-07-07 14:36:01'::timestamp) - extract(epoch from '2026-07-07 14:35: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'), 47829, 'SRID=4674;POINT (-40.371589 -2.799927)', '2026-07-07 14:36:02', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371603 -2.799916)'), GeomFromEWKT('SRID=4674;POINT (-40.371589 -2.799927)'))) / (select extract(epoch from '2026-07-07 14:36:02'::timestamp) - extract(epoch from '2026-07-07 14:36:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371603 -2.799916)'), GeomFromEWKT('SRID=4674;POINT (-40.371589 -2.799927)'))) / (select extract(epoch from '2026-07-07 14:36:02'::timestamp) - extract(epoch from '2026-07-07 14:36: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'), 47829, 'SRID=4674;POINT (-40.371575 -2.799937)', '2026-07-07 14:36:03', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371589 -2.799927)'), GeomFromEWKT('SRID=4674;POINT (-40.371575 -2.799937)'))) / (select extract(epoch from '2026-07-07 14:36:03'::timestamp) - extract(epoch from '2026-07-07 14:36:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371589 -2.799927)'), GeomFromEWKT('SRID=4674;POINT (-40.371575 -2.799937)'))) / (select extract(epoch from '2026-07-07 14:36:03'::timestamp) - extract(epoch from '2026-07-07 14:36: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'), 47829, 'SRID=4674;POINT (-40.371525 -2.799967)', '2026-07-07 14:36:06', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371575 -2.799937)'), GeomFromEWKT('SRID=4674;POINT (-40.371525 -2.799967)'))) / (select extract(epoch from '2026-07-07 14:36:06'::timestamp) - extract(epoch from '2026-07-07 14:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371575 -2.799937)'), GeomFromEWKT('SRID=4674;POINT (-40.371525 -2.799967)'))) / (select extract(epoch from '2026-07-07 14:36:06'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.371508 -2.799976)', '2026-07-07 14:36:07', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371525 -2.799967)'), GeomFromEWKT('SRID=4674;POINT (-40.371508 -2.799976)'))) / (select extract(epoch from '2026-07-07 14:36:07'::timestamp) - extract(epoch from '2026-07-07 14:36:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371525 -2.799967)'), GeomFromEWKT('SRID=4674;POINT (-40.371508 -2.799976)'))) / (select extract(epoch from '2026-07-07 14:36:07'::timestamp) - extract(epoch from '2026-07-07 14:36: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'), 47829, 'SRID=4674;POINT (-40.371453 -2.799999)', '2026-07-07 14:36:10', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371508 -2.799976)'), GeomFromEWKT('SRID=4674;POINT (-40.371453 -2.799999)'))) / (select extract(epoch from '2026-07-07 14:36:10'::timestamp) - extract(epoch from '2026-07-07 14:36:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371508 -2.799976)'), GeomFromEWKT('SRID=4674;POINT (-40.371453 -2.799999)'))) / (select extract(epoch from '2026-07-07 14:36:10'::timestamp) - extract(epoch from '2026-07-07 14:36:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.371403 -2.800021)', '2026-07-07 14:36:13', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371453 -2.799999)'), GeomFromEWKT('SRID=4674;POINT (-40.371403 -2.800021)'))) / (select extract(epoch from '2026-07-07 14:36:13'::timestamp) - extract(epoch from '2026-07-07 14:36:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371453 -2.799999)'), GeomFromEWKT('SRID=4674;POINT (-40.371403 -2.800021)'))) / (select extract(epoch from '2026-07-07 14:36:13'::timestamp) - extract(epoch from '2026-07-07 14:36: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'), 47829, 'SRID=4674;POINT (-40.371373 -2.800034)', '2026-07-07 14:36:15', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371403 -2.800021)'), GeomFromEWKT('SRID=4674;POINT (-40.371373 -2.800034)'))) / (select extract(epoch from '2026-07-07 14:36:15'::timestamp) - extract(epoch from '2026-07-07 14:36:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371403 -2.800021)'), GeomFromEWKT('SRID=4674;POINT (-40.371373 -2.800034)'))) / (select extract(epoch from '2026-07-07 14:36:15'::timestamp) - extract(epoch from '2026-07-07 14:36: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'), 47829, 'SRID=4674;POINT (-40.371283 -2.800066)', '2026-07-07 14:36:20', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371373 -2.800034)'), GeomFromEWKT('SRID=4674;POINT (-40.371283 -2.800066)'))) / (select extract(epoch from '2026-07-07 14:36:20'::timestamp) - extract(epoch from '2026-07-07 14:36:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371373 -2.800034)'), GeomFromEWKT('SRID=4674;POINT (-40.371283 -2.800066)'))) / (select extract(epoch from '2026-07-07 14:36:20'::timestamp) - extract(epoch from '2026-07-07 14:36: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'), 47829, 'SRID=4674;POINT (-40.371159 -2.800112)', '2026-07-07 14:36:27', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371283 -2.800066)'), GeomFromEWKT('SRID=4674;POINT (-40.371159 -2.800112)'))) / (select extract(epoch from '2026-07-07 14:36:27'::timestamp) - extract(epoch from '2026-07-07 14:36:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371283 -2.800066)'), GeomFromEWKT('SRID=4674;POINT (-40.371159 -2.800112)'))) / (select extract(epoch from '2026-07-07 14:36:27'::timestamp) - extract(epoch from '2026-07-07 14:36: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'), 47829, 'SRID=4674;POINT (-40.371068 -2.800144)', '2026-07-07 14:36:32', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371159 -2.800112)'), GeomFromEWKT('SRID=4674;POINT (-40.371068 -2.800144)'))) / (select extract(epoch from '2026-07-07 14:36:32'::timestamp) - extract(epoch from '2026-07-07 14:36:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371159 -2.800112)'), GeomFromEWKT('SRID=4674;POINT (-40.371068 -2.800144)'))) / (select extract(epoch from '2026-07-07 14:36:32'::timestamp) - extract(epoch from '2026-07-07 14:36:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.370937 -2.800198)', '2026-07-07 14:36:39', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371068 -2.800144)'), GeomFromEWKT('SRID=4674;POINT (-40.370937 -2.800198)'))) / (select extract(epoch from '2026-07-07 14:36:39'::timestamp) - extract(epoch from '2026-07-07 14:36:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371068 -2.800144)'), GeomFromEWKT('SRID=4674;POINT (-40.370937 -2.800198)'))) / (select extract(epoch from '2026-07-07 14:36:39'::timestamp) - extract(epoch from '2026-07-07 14:36: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'), 47829, 'SRID=4674;POINT (-40.37085 -2.800239)', '2026-07-07 14:36:44', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370937 -2.800198)'), GeomFromEWKT('SRID=4674;POINT (-40.37085 -2.800239)'))) / (select extract(epoch from '2026-07-07 14:36:44'::timestamp) - extract(epoch from '2026-07-07 14:36:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370937 -2.800198)'), GeomFromEWKT('SRID=4674;POINT (-40.37085 -2.800239)'))) / (select extract(epoch from '2026-07-07 14:36:44'::timestamp) - extract(epoch from '2026-07-07 14:36: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'), 47829, 'SRID=4674;POINT (-40.370831 -2.800246)', '2026-07-07 14:36:45', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37085 -2.800239)'), GeomFromEWKT('SRID=4674;POINT (-40.370831 -2.800246)'))) / (select extract(epoch from '2026-07-07 14:36:45'::timestamp) - extract(epoch from '2026-07-07 14:36:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37085 -2.800239)'), GeomFromEWKT('SRID=4674;POINT (-40.370831 -2.800246)'))) / (select extract(epoch from '2026-07-07 14:36:45'::timestamp) - extract(epoch from '2026-07-07 14:36: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'), 47829, 'SRID=4674;POINT (-40.370743 -2.800281)', '2026-07-07 14:36:50', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370831 -2.800246)'), GeomFromEWKT('SRID=4674;POINT (-40.370743 -2.800281)'))) / (select extract(epoch from '2026-07-07 14:36:50'::timestamp) - extract(epoch from '2026-07-07 14:36:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370831 -2.800246)'), GeomFromEWKT('SRID=4674;POINT (-40.370743 -2.800281)'))) / (select extract(epoch from '2026-07-07 14:36:50'::timestamp) - extract(epoch from '2026-07-07 14:36: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'), 47829, 'SRID=4674;POINT (-40.370599 -2.800317)', '2026-07-07 14:36:58', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370743 -2.800281)'), GeomFromEWKT('SRID=4674;POINT (-40.370599 -2.800317)'))) / (select extract(epoch from '2026-07-07 14:36:58'::timestamp) - extract(epoch from '2026-07-07 14:36:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370743 -2.800281)'), GeomFromEWKT('SRID=4674;POINT (-40.370599 -2.800317)'))) / (select extract(epoch from '2026-07-07 14:36:58'::timestamp) - extract(epoch from '2026-07-07 14:36: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'), 47829, 'SRID=4674;POINT (-40.370463 -2.800353)', '2026-07-07 14:37:05', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370599 -2.800317)'), GeomFromEWKT('SRID=4674;POINT (-40.370463 -2.800353)'))) / (select extract(epoch from '2026-07-07 14:37:05'::timestamp) - extract(epoch from '2026-07-07 14:36:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370599 -2.800317)'), GeomFromEWKT('SRID=4674;POINT (-40.370463 -2.800353)'))) / (select extract(epoch from '2026-07-07 14:37:05'::timestamp) - extract(epoch from '2026-07-07 14:36:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.370347 -2.800369)', '2026-07-07 14:37:11', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370463 -2.800353)'), GeomFromEWKT('SRID=4674;POINT (-40.370347 -2.800369)'))) / (select extract(epoch from '2026-07-07 14:37:11'::timestamp) - extract(epoch from '2026-07-07 14:37:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370463 -2.800353)'), GeomFromEWKT('SRID=4674;POINT (-40.370347 -2.800369)'))) / (select extract(epoch from '2026-07-07 14:37:11'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.370236 -2.800417)', '2026-07-07 14:37:17', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370347 -2.800369)'), GeomFromEWKT('SRID=4674;POINT (-40.370236 -2.800417)'))) / (select extract(epoch from '2026-07-07 14:37:17'::timestamp) - extract(epoch from '2026-07-07 14:37:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370347 -2.800369)'), GeomFromEWKT('SRID=4674;POINT (-40.370236 -2.800417)'))) / (select extract(epoch from '2026-07-07 14:37:17'::timestamp) - extract(epoch from '2026-07-07 14:37: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'), 47829, 'SRID=4674;POINT (-40.370156 -2.800474)', '2026-07-07 14:37:22', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370236 -2.800417)'), GeomFromEWKT('SRID=4674;POINT (-40.370156 -2.800474)'))) / (select extract(epoch from '2026-07-07 14:37:22'::timestamp) - extract(epoch from '2026-07-07 14:37:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370236 -2.800417)'), GeomFromEWKT('SRID=4674;POINT (-40.370156 -2.800474)'))) / (select extract(epoch from '2026-07-07 14:37:22'::timestamp) - extract(epoch from '2026-07-07 14:37: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'), 47829, 'SRID=4674;POINT (-40.370037 -2.800559)', '2026-07-07 14:37:29', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370156 -2.800474)'), GeomFromEWKT('SRID=4674;POINT (-40.370037 -2.800559)'))) / (select extract(epoch from '2026-07-07 14:37:29'::timestamp) - extract(epoch from '2026-07-07 14:37:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370156 -2.800474)'), GeomFromEWKT('SRID=4674;POINT (-40.370037 -2.800559)'))) / (select extract(epoch from '2026-07-07 14:37:29'::timestamp) - extract(epoch from '2026-07-07 14:37: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'), 47829, 'SRID=4674;POINT (-40.369891 -2.800624)', '2026-07-07 14:37:37', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370037 -2.800559)'), GeomFromEWKT('SRID=4674;POINT (-40.369891 -2.800624)'))) / (select extract(epoch from '2026-07-07 14:37:37'::timestamp) - extract(epoch from '2026-07-07 14:37:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370037 -2.800559)'), GeomFromEWKT('SRID=4674;POINT (-40.369891 -2.800624)'))) / (select extract(epoch from '2026-07-07 14:37:37'::timestamp) - extract(epoch from '2026-07-07 14:37:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.369784 -2.800674)', '2026-07-07 14:37:43', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369891 -2.800624)'), GeomFromEWKT('SRID=4674;POINT (-40.369784 -2.800674)'))) / (select extract(epoch from '2026-07-07 14:37:43'::timestamp) - extract(epoch from '2026-07-07 14:37:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369891 -2.800624)'), GeomFromEWKT('SRID=4674;POINT (-40.369784 -2.800674)'))) / (select extract(epoch from '2026-07-07 14:37:43'::timestamp) - extract(epoch from '2026-07-07 14:37: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'), 47829, 'SRID=4674;POINT (-40.369667 -2.800712)', '2026-07-07 14:37:49', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369784 -2.800674)'), GeomFromEWKT('SRID=4674;POINT (-40.369667 -2.800712)'))) / (select extract(epoch from '2026-07-07 14:37:49'::timestamp) - extract(epoch from '2026-07-07 14:37:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369784 -2.800674)'), GeomFromEWKT('SRID=4674;POINT (-40.369667 -2.800712)'))) / (select extract(epoch from '2026-07-07 14:37:49'::timestamp) - extract(epoch from '2026-07-07 14:37: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'), 47829, 'SRID=4674;POINT (-40.369552 -2.800731)', '2026-07-07 14:37:55', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369667 -2.800712)'), GeomFromEWKT('SRID=4674;POINT (-40.369552 -2.800731)'))) / (select extract(epoch from '2026-07-07 14:37:55'::timestamp) - extract(epoch from '2026-07-07 14:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369667 -2.800712)'), GeomFromEWKT('SRID=4674;POINT (-40.369552 -2.800731)'))) / (select extract(epoch from '2026-07-07 14:37:55'::timestamp) - extract(epoch from '2026-07-07 14:37: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'), 47829, 'SRID=4674;POINT (-40.369412 -2.800771)', '2026-07-07 14:38:02', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369552 -2.800731)'), GeomFromEWKT('SRID=4674;POINT (-40.369412 -2.800771)'))) / (select extract(epoch from '2026-07-07 14:38:02'::timestamp) - extract(epoch from '2026-07-07 14:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369552 -2.800731)'), GeomFromEWKT('SRID=4674;POINT (-40.369412 -2.800771)'))) / (select extract(epoch from '2026-07-07 14:38:02'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.369247 -2.800809)', '2026-07-07 14:38:10', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369412 -2.800771)'), GeomFromEWKT('SRID=4674;POINT (-40.369247 -2.800809)'))) / (select extract(epoch from '2026-07-07 14:38:10'::timestamp) - extract(epoch from '2026-07-07 14:38:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369412 -2.800771)'), GeomFromEWKT('SRID=4674;POINT (-40.369247 -2.800809)'))) / (select extract(epoch from '2026-07-07 14:38:10'::timestamp) - extract(epoch from '2026-07-07 14:38: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'), 47829, 'SRID=4674;POINT (-40.369088 -2.800832)', '2026-07-07 14:38:18', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369247 -2.800809)'), GeomFromEWKT('SRID=4674;POINT (-40.369088 -2.800832)'))) / (select extract(epoch from '2026-07-07 14:38:18'::timestamp) - extract(epoch from '2026-07-07 14:38:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369247 -2.800809)'), GeomFromEWKT('SRID=4674;POINT (-40.369088 -2.800832)'))) / (select extract(epoch from '2026-07-07 14:38:18'::timestamp) - extract(epoch from '2026-07-07 14:38: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'), 47829, 'SRID=4674;POINT (-40.36899 -2.800879)', '2026-07-07 14:38:23', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369088 -2.800832)'), GeomFromEWKT('SRID=4674;POINT (-40.36899 -2.800879)'))) / (select extract(epoch from '2026-07-07 14:38:23'::timestamp) - extract(epoch from '2026-07-07 14:38:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369088 -2.800832)'), GeomFromEWKT('SRID=4674;POINT (-40.36899 -2.800879)'))) / (select extract(epoch from '2026-07-07 14:38:23'::timestamp) - extract(epoch from '2026-07-07 14:38: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'), 47829, 'SRID=4674;POINT (-40.368892 -2.800959)', '2026-07-07 14:38:29', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36899 -2.800879)'), GeomFromEWKT('SRID=4674;POINT (-40.368892 -2.800959)'))) / (select extract(epoch from '2026-07-07 14:38:29'::timestamp) - extract(epoch from '2026-07-07 14:38:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36899 -2.800879)'), GeomFromEWKT('SRID=4674;POINT (-40.368892 -2.800959)'))) / (select extract(epoch from '2026-07-07 14:38:29'::timestamp) - extract(epoch from '2026-07-07 14:38: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'), 47829, 'SRID=4674;POINT (-40.368785 -2.801009)', '2026-07-07 14:38:35', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368892 -2.800959)'), GeomFromEWKT('SRID=4674;POINT (-40.368785 -2.801009)'))) / (select extract(epoch from '2026-07-07 14:38:35'::timestamp) - extract(epoch from '2026-07-07 14:38:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368892 -2.800959)'), GeomFromEWKT('SRID=4674;POINT (-40.368785 -2.801009)'))) / (select extract(epoch from '2026-07-07 14:38:35'::timestamp) - extract(epoch from '2026-07-07 14:38: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'), 47829, 'SRID=4674;POINT (-40.368652 -2.801041)', '2026-07-07 14:38:42', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368785 -2.801009)'), GeomFromEWKT('SRID=4674;POINT (-40.368652 -2.801041)'))) / (select extract(epoch from '2026-07-07 14:38:42'::timestamp) - extract(epoch from '2026-07-07 14:38:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368785 -2.801009)'), GeomFromEWKT('SRID=4674;POINT (-40.368652 -2.801041)'))) / (select extract(epoch from '2026-07-07 14:38:42'::timestamp) - extract(epoch from '2026-07-07 14:38: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'), 47829, 'SRID=4674;POINT (-40.368463 -2.801141)', '2026-07-07 14:38:52', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368652 -2.801041)'), GeomFromEWKT('SRID=4674;POINT (-40.368463 -2.801141)'))) / (select extract(epoch from '2026-07-07 14:38:52'::timestamp) - extract(epoch from '2026-07-07 14:38:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368652 -2.801041)'), GeomFromEWKT('SRID=4674;POINT (-40.368463 -2.801141)'))) / (select extract(epoch from '2026-07-07 14:38:52'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.368306 -2.801243)', '2026-07-07 14:39:01', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368463 -2.801141)'), GeomFromEWKT('SRID=4674;POINT (-40.368306 -2.801243)'))) / (select extract(epoch from '2026-07-07 14:39:01'::timestamp) - extract(epoch from '2026-07-07 14:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368463 -2.801141)'), GeomFromEWKT('SRID=4674;POINT (-40.368306 -2.801243)'))) / (select extract(epoch from '2026-07-07 14:39:01'::timestamp) - extract(epoch from '2026-07-07 14:38:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.368195 -2.801295)', '2026-07-07 14:39:07', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368306 -2.801243)'), GeomFromEWKT('SRID=4674;POINT (-40.368195 -2.801295)'))) / (select extract(epoch from '2026-07-07 14:39:07'::timestamp) - extract(epoch from '2026-07-07 14:39:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368306 -2.801243)'), GeomFromEWKT('SRID=4674;POINT (-40.368195 -2.801295)'))) / (select extract(epoch from '2026-07-07 14:39:07'::timestamp) - extract(epoch from '2026-07-07 14:39: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'), 47829, 'SRID=4674;POINT (-40.368098 -2.801335)', '2026-07-07 14:39:12', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368195 -2.801295)'), GeomFromEWKT('SRID=4674;POINT (-40.368098 -2.801335)'))) / (select extract(epoch from '2026-07-07 14:39:12'::timestamp) - extract(epoch from '2026-07-07 14:39:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368195 -2.801295)'), GeomFromEWKT('SRID=4674;POINT (-40.368098 -2.801335)'))) / (select extract(epoch from '2026-07-07 14:39:12'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.36808 -2.801344)', '2026-07-07 14:39:13', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368098 -2.801335)'), GeomFromEWKT('SRID=4674;POINT (-40.36808 -2.801344)'))) / (select extract(epoch from '2026-07-07 14:39:13'::timestamp) - extract(epoch from '2026-07-07 14:39:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368098 -2.801335)'), GeomFromEWKT('SRID=4674;POINT (-40.36808 -2.801344)'))) / (select extract(epoch from '2026-07-07 14:39:13'::timestamp) - extract(epoch from '2026-07-07 14:39:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.368029 -2.801375)', '2026-07-07 14:39:16', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36808 -2.801344)'), GeomFromEWKT('SRID=4674;POINT (-40.368029 -2.801375)'))) / (select extract(epoch from '2026-07-07 14:39:16'::timestamp) - extract(epoch from '2026-07-07 14:39:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36808 -2.801344)'), GeomFromEWKT('SRID=4674;POINT (-40.368029 -2.801375)'))) / (select extract(epoch from '2026-07-07 14:39:16'::timestamp) - extract(epoch from '2026-07-07 14:39: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'), 47829, 'SRID=4674;POINT (-40.36792 -2.801481)', '2026-07-07 14:39:23', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368029 -2.801375)'), GeomFromEWKT('SRID=4674;POINT (-40.36792 -2.801481)'))) / (select extract(epoch from '2026-07-07 14:39:23'::timestamp) - extract(epoch from '2026-07-07 14:39:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368029 -2.801375)'), GeomFromEWKT('SRID=4674;POINT (-40.36792 -2.801481)'))) / (select extract(epoch from '2026-07-07 14:39:23'::timestamp) - extract(epoch from '2026-07-07 14:39: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'), 47829, 'SRID=4674;POINT (-40.367837 -2.801582)', '2026-07-07 14:39:29', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36792 -2.801481)'), GeomFromEWKT('SRID=4674;POINT (-40.367837 -2.801582)'))) / (select extract(epoch from '2026-07-07 14:39:29'::timestamp) - extract(epoch from '2026-07-07 14:39:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36792 -2.801481)'), GeomFromEWKT('SRID=4674;POINT (-40.367837 -2.801582)'))) / (select extract(epoch from '2026-07-07 14:39:29'::timestamp) - extract(epoch from '2026-07-07 14:39: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'), 47829, 'SRID=4674;POINT (-40.367724 -2.801657)', '2026-07-07 14:39:36', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367837 -2.801582)'), GeomFromEWKT('SRID=4674;POINT (-40.367724 -2.801657)'))) / (select extract(epoch from '2026-07-07 14:39:36'::timestamp) - extract(epoch from '2026-07-07 14:39:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367837 -2.801582)'), GeomFromEWKT('SRID=4674;POINT (-40.367724 -2.801657)'))) / (select extract(epoch from '2026-07-07 14:39:36'::timestamp) - extract(epoch from '2026-07-07 14:39: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'), 47829, 'SRID=4674;POINT (-40.367607 -2.801737)', '2026-07-07 14:39:43', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367724 -2.801657)'), GeomFromEWKT('SRID=4674;POINT (-40.367607 -2.801737)'))) / (select extract(epoch from '2026-07-07 14:39:43'::timestamp) - extract(epoch from '2026-07-07 14:39:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367724 -2.801657)'), GeomFromEWKT('SRID=4674;POINT (-40.367607 -2.801737)'))) / (select extract(epoch from '2026-07-07 14:39:43'::timestamp) - extract(epoch from '2026-07-07 14:39: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'), 47829, 'SRID=4674;POINT (-40.367502 -2.8018)', '2026-07-07 14:39:49', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367607 -2.801737)'), GeomFromEWKT('SRID=4674;POINT (-40.367502 -2.8018)'))) / (select extract(epoch from '2026-07-07 14:39:49'::timestamp) - extract(epoch from '2026-07-07 14:39:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367607 -2.801737)'), GeomFromEWKT('SRID=4674;POINT (-40.367502 -2.8018)'))) / (select extract(epoch from '2026-07-07 14:39:49'::timestamp) - extract(epoch from '2026-07-07 14:39: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'), 47829, 'SRID=4674;POINT (-40.367352 -2.801868)', '2026-07-07 14:39:57', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367502 -2.8018)'), GeomFromEWKT('SRID=4674;POINT (-40.367352 -2.801868)'))) / (select extract(epoch from '2026-07-07 14:39:57'::timestamp) - extract(epoch from '2026-07-07 14:39:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367502 -2.8018)'), GeomFromEWKT('SRID=4674;POINT (-40.367352 -2.801868)'))) / (select extract(epoch from '2026-07-07 14:39:57'::timestamp) - extract(epoch from '2026-07-07 14:39: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'), 47829, 'SRID=4674;POINT (-40.367233 -2.801957)', '2026-07-07 14:40:04', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367352 -2.801868)'), GeomFromEWKT('SRID=4674;POINT (-40.367233 -2.801957)'))) / (select extract(epoch from '2026-07-07 14:40:04'::timestamp) - extract(epoch from '2026-07-07 14:39:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367352 -2.801868)'), GeomFromEWKT('SRID=4674;POINT (-40.367233 -2.801957)'))) / (select extract(epoch from '2026-07-07 14:40:04'::timestamp) - extract(epoch from '2026-07-07 14:39: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'), 47829, 'SRID=4674;POINT (-40.367051 -2.802051)', '2026-07-07 14:40:14', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367233 -2.801957)'), GeomFromEWKT('SRID=4674;POINT (-40.367051 -2.802051)'))) / (select extract(epoch from '2026-07-07 14:40:14'::timestamp) - extract(epoch from '2026-07-07 14:40:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367233 -2.801957)'), GeomFromEWKT('SRID=4674;POINT (-40.367051 -2.802051)'))) / (select extract(epoch from '2026-07-07 14:40:14'::timestamp) - extract(epoch from '2026-07-07 14:40:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.366956 -2.802099)', '2026-07-07 14:40:19', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367051 -2.802051)'), GeomFromEWKT('SRID=4674;POINT (-40.366956 -2.802099)'))) / (select extract(epoch from '2026-07-07 14:40:19'::timestamp) - extract(epoch from '2026-07-07 14:40:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367051 -2.802051)'), GeomFromEWKT('SRID=4674;POINT (-40.366956 -2.802099)'))) / (select extract(epoch from '2026-07-07 14:40:19'::timestamp) - extract(epoch from '2026-07-07 14:40:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.366865 -2.802151)', '2026-07-07 14:40:24', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366956 -2.802099)'), GeomFromEWKT('SRID=4674;POINT (-40.366865 -2.802151)'))) / (select extract(epoch from '2026-07-07 14:40:24'::timestamp) - extract(epoch from '2026-07-07 14:40:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366956 -2.802099)'), GeomFromEWKT('SRID=4674;POINT (-40.366865 -2.802151)'))) / (select extract(epoch from '2026-07-07 14:40:24'::timestamp) - extract(epoch from '2026-07-07 14:40:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.366697 -2.802233)', '2026-07-07 14:40:33', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366865 -2.802151)'), GeomFromEWKT('SRID=4674;POINT (-40.366697 -2.802233)'))) / (select extract(epoch from '2026-07-07 14:40:33'::timestamp) - extract(epoch from '2026-07-07 14:40:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366865 -2.802151)'), GeomFromEWKT('SRID=4674;POINT (-40.366697 -2.802233)'))) / (select extract(epoch from '2026-07-07 14:40:33'::timestamp) - extract(epoch from '2026-07-07 14:40: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'), 47829, 'SRID=4674;POINT (-40.366547 -2.802294)', '2026-07-07 14:40:41', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366697 -2.802233)'), GeomFromEWKT('SRID=4674;POINT (-40.366547 -2.802294)'))) / (select extract(epoch from '2026-07-07 14:40:41'::timestamp) - extract(epoch from '2026-07-07 14:40:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366697 -2.802233)'), GeomFromEWKT('SRID=4674;POINT (-40.366547 -2.802294)'))) / (select extract(epoch from '2026-07-07 14:40:41'::timestamp) - extract(epoch from '2026-07-07 14:40: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'), 47829, 'SRID=4674;POINT (-40.366435 -2.802347)', '2026-07-07 14:40:47', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366547 -2.802294)'), GeomFromEWKT('SRID=4674;POINT (-40.366435 -2.802347)'))) / (select extract(epoch from '2026-07-07 14:40:47'::timestamp) - extract(epoch from '2026-07-07 14:40:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366547 -2.802294)'), GeomFromEWKT('SRID=4674;POINT (-40.366435 -2.802347)'))) / (select extract(epoch from '2026-07-07 14:40:47'::timestamp) - extract(epoch from '2026-07-07 14:40: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'), 47829, 'SRID=4674;POINT (-40.366312 -2.802362)', '2026-07-07 14:40:53', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366435 -2.802347)'), GeomFromEWKT('SRID=4674;POINT (-40.366312 -2.802362)'))) / (select extract(epoch from '2026-07-07 14:40:53'::timestamp) - extract(epoch from '2026-07-07 14:40:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366435 -2.802347)'), GeomFromEWKT('SRID=4674;POINT (-40.366312 -2.802362)'))) / (select extract(epoch from '2026-07-07 14:40:53'::timestamp) - extract(epoch from '2026-07-07 14:40: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'), 47829, 'SRID=4674;POINT (-40.366137 -2.802422)', '2026-07-07 14:41:02', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366312 -2.802362)'), GeomFromEWKT('SRID=4674;POINT (-40.366137 -2.802422)'))) / (select extract(epoch from '2026-07-07 14:41:02'::timestamp) - extract(epoch from '2026-07-07 14:40:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366312 -2.802362)'), GeomFromEWKT('SRID=4674;POINT (-40.366137 -2.802422)'))) / (select extract(epoch from '2026-07-07 14:41:02'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.366117 -2.80243)', '2026-07-07 14:41:03', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366137 -2.802422)'), GeomFromEWKT('SRID=4674;POINT (-40.366117 -2.80243)'))) / (select extract(epoch from '2026-07-07 14:41:03'::timestamp) - extract(epoch from '2026-07-07 14:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366137 -2.802422)'), GeomFromEWKT('SRID=4674;POINT (-40.366117 -2.80243)'))) / (select extract(epoch from '2026-07-07 14:41:03'::timestamp) - extract(epoch from '2026-07-07 14:41:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.366063 -2.802447)', '2026-07-07 14:41:06', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366117 -2.80243)'), GeomFromEWKT('SRID=4674;POINT (-40.366063 -2.802447)'))) / (select extract(epoch from '2026-07-07 14:41:06'::timestamp) - extract(epoch from '2026-07-07 14:41:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366117 -2.80243)'), GeomFromEWKT('SRID=4674;POINT (-40.366063 -2.802447)'))) / (select extract(epoch from '2026-07-07 14:41:06'::timestamp) - extract(epoch from '2026-07-07 14:41: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'), 47829, 'SRID=4674;POINT (-40.365921 -2.802509)', '2026-07-07 14:41:14', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366063 -2.802447)'), GeomFromEWKT('SRID=4674;POINT (-40.365921 -2.802509)'))) / (select extract(epoch from '2026-07-07 14:41:14'::timestamp) - extract(epoch from '2026-07-07 14:41:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366063 -2.802447)'), GeomFromEWKT('SRID=4674;POINT (-40.365921 -2.802509)'))) / (select extract(epoch from '2026-07-07 14:41:14'::timestamp) - extract(epoch from '2026-07-07 14:41:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.365819 -2.802568)', '2026-07-07 14:41:20', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365921 -2.802509)'), GeomFromEWKT('SRID=4674;POINT (-40.365819 -2.802568)'))) / (select extract(epoch from '2026-07-07 14:41:20'::timestamp) - extract(epoch from '2026-07-07 14:41:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365921 -2.802509)'), GeomFromEWKT('SRID=4674;POINT (-40.365819 -2.802568)'))) / (select extract(epoch from '2026-07-07 14:41:20'::timestamp) - extract(epoch from '2026-07-07 14:41:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.365685 -2.802686)', '2026-07-07 14:41:28', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365819 -2.802568)'), GeomFromEWKT('SRID=4674;POINT (-40.365685 -2.802686)'))) / (select extract(epoch from '2026-07-07 14:41:28'::timestamp) - extract(epoch from '2026-07-07 14:41:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365819 -2.802568)'), GeomFromEWKT('SRID=4674;POINT (-40.365685 -2.802686)'))) / (select extract(epoch from '2026-07-07 14:41:28'::timestamp) - extract(epoch from '2026-07-07 14:41: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'), 47829, 'SRID=4674;POINT (-40.36557 -2.802789)', '2026-07-07 14:41:35', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365685 -2.802686)'), GeomFromEWKT('SRID=4674;POINT (-40.36557 -2.802789)'))) / (select extract(epoch from '2026-07-07 14:41:35'::timestamp) - extract(epoch from '2026-07-07 14:41:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365685 -2.802686)'), GeomFromEWKT('SRID=4674;POINT (-40.36557 -2.802789)'))) / (select extract(epoch from '2026-07-07 14:41:35'::timestamp) - extract(epoch from '2026-07-07 14:41:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.365411 -2.802899)', '2026-07-07 14:41:44', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36557 -2.802789)'), GeomFromEWKT('SRID=4674;POINT (-40.365411 -2.802899)'))) / (select extract(epoch from '2026-07-07 14:41:44'::timestamp) - extract(epoch from '2026-07-07 14:41:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36557 -2.802789)'), GeomFromEWKT('SRID=4674;POINT (-40.365411 -2.802899)'))) / (select extract(epoch from '2026-07-07 14:41:44'::timestamp) - extract(epoch from '2026-07-07 14:41:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.365303 -2.802995)', '2026-07-07 14:41:51', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365411 -2.802899)'), GeomFromEWKT('SRID=4674;POINT (-40.365303 -2.802995)'))) / (select extract(epoch from '2026-07-07 14:41:51'::timestamp) - extract(epoch from '2026-07-07 14:41:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365411 -2.802899)'), GeomFromEWKT('SRID=4674;POINT (-40.365303 -2.802995)'))) / (select extract(epoch from '2026-07-07 14:41:51'::timestamp) - extract(epoch from '2026-07-07 14:41:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.365206 -2.80308)', '2026-07-07 14:41:57', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365303 -2.802995)'), GeomFromEWKT('SRID=4674;POINT (-40.365206 -2.80308)'))) / (select extract(epoch from '2026-07-07 14:41:57'::timestamp) - extract(epoch from '2026-07-07 14:41:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365303 -2.802995)'), GeomFromEWKT('SRID=4674;POINT (-40.365206 -2.80308)'))) / (select extract(epoch from '2026-07-07 14:41:57'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.365116 -2.803132)', '2026-07-07 14:42:02', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365206 -2.80308)'), GeomFromEWKT('SRID=4674;POINT (-40.365116 -2.803132)'))) / (select extract(epoch from '2026-07-07 14:42:02'::timestamp) - extract(epoch from '2026-07-07 14:41:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365206 -2.80308)'), GeomFromEWKT('SRID=4674;POINT (-40.365116 -2.803132)'))) / (select extract(epoch from '2026-07-07 14:42:02'::timestamp) - extract(epoch from '2026-07-07 14:41:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.364974 -2.803226)', '2026-07-07 14:42:10', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365116 -2.803132)'), GeomFromEWKT('SRID=4674;POINT (-40.364974 -2.803226)'))) / (select extract(epoch from '2026-07-07 14:42:10'::timestamp) - extract(epoch from '2026-07-07 14:42:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365116 -2.803132)'), GeomFromEWKT('SRID=4674;POINT (-40.364974 -2.803226)'))) / (select extract(epoch from '2026-07-07 14:42:10'::timestamp) - extract(epoch from '2026-07-07 14:42: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'), 47829, 'SRID=4674;POINT (-40.364876 -2.803309)', '2026-07-07 14:42:16', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364974 -2.803226)'), GeomFromEWKT('SRID=4674;POINT (-40.364876 -2.803309)'))) / (select extract(epoch from '2026-07-07 14:42:16'::timestamp) - extract(epoch from '2026-07-07 14:42:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364974 -2.803226)'), GeomFromEWKT('SRID=4674;POINT (-40.364876 -2.803309)'))) / (select extract(epoch from '2026-07-07 14:42:16'::timestamp) - extract(epoch from '2026-07-07 14:42: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'), 47829, 'SRID=4674;POINT (-40.364815 -2.80337)', '2026-07-07 14:42:20', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364876 -2.803309)'), GeomFromEWKT('SRID=4674;POINT (-40.364815 -2.80337)'))) / (select extract(epoch from '2026-07-07 14:42:20'::timestamp) - extract(epoch from '2026-07-07 14:42:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364876 -2.803309)'), GeomFromEWKT('SRID=4674;POINT (-40.364815 -2.80337)'))) / (select extract(epoch from '2026-07-07 14:42:20'::timestamp) - extract(epoch from '2026-07-07 14:42: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'), 47829, 'SRID=4674;POINT (-40.364693 -2.803438)', '2026-07-07 14:42:27', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364815 -2.80337)'), GeomFromEWKT('SRID=4674;POINT (-40.364693 -2.803438)'))) / (select extract(epoch from '2026-07-07 14:42:27'::timestamp) - extract(epoch from '2026-07-07 14:42:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364815 -2.80337)'), GeomFromEWKT('SRID=4674;POINT (-40.364693 -2.803438)'))) / (select extract(epoch from '2026-07-07 14:42:27'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.364566 -2.803509)', '2026-07-07 14:42:34', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364693 -2.803438)'), GeomFromEWKT('SRID=4674;POINT (-40.364566 -2.803509)'))) / (select extract(epoch from '2026-07-07 14:42:34'::timestamp) - extract(epoch from '2026-07-07 14:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364693 -2.803438)'), GeomFromEWKT('SRID=4674;POINT (-40.364566 -2.803509)'))) / (select extract(epoch from '2026-07-07 14:42:34'::timestamp) - extract(epoch from '2026-07-07 14:42:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.364531 -2.803532)', '2026-07-07 14:42:36', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364566 -2.803509)'), GeomFromEWKT('SRID=4674;POINT (-40.364531 -2.803532)'))) / (select extract(epoch from '2026-07-07 14:42:36'::timestamp) - extract(epoch from '2026-07-07 14:42:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364566 -2.803509)'), GeomFromEWKT('SRID=4674;POINT (-40.364531 -2.803532)'))) / (select extract(epoch from '2026-07-07 14:42:36'::timestamp) - extract(epoch from '2026-07-07 14:42:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.364496 -2.803558)', '2026-07-07 14:42:38', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364531 -2.803532)'), GeomFromEWKT('SRID=4674;POINT (-40.364496 -2.803558)'))) / (select extract(epoch from '2026-07-07 14:42:38'::timestamp) - extract(epoch from '2026-07-07 14:42:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364531 -2.803532)'), GeomFromEWKT('SRID=4674;POINT (-40.364496 -2.803558)'))) / (select extract(epoch from '2026-07-07 14:42:38'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.3644 -2.803644)', '2026-07-07 14:42:44', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364496 -2.803558)'), GeomFromEWKT('SRID=4674;POINT (-40.3644 -2.803644)'))) / (select extract(epoch from '2026-07-07 14:42:44'::timestamp) - extract(epoch from '2026-07-07 14:42:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364496 -2.803558)'), GeomFromEWKT('SRID=4674;POINT (-40.3644 -2.803644)'))) / (select extract(epoch from '2026-07-07 14:42:44'::timestamp) - extract(epoch from '2026-07-07 14:42: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'), 47829, 'SRID=4674;POINT (-40.3643 -2.803716)', '2026-07-07 14:42:50', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3644 -2.803644)'), GeomFromEWKT('SRID=4674;POINT (-40.3643 -2.803716)'))) / (select extract(epoch from '2026-07-07 14:42:50'::timestamp) - extract(epoch from '2026-07-07 14:42:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3644 -2.803644)'), GeomFromEWKT('SRID=4674;POINT (-40.3643 -2.803716)'))) / (select extract(epoch from '2026-07-07 14:42:50'::timestamp) - extract(epoch from '2026-07-07 14:42: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'), 47829, 'SRID=4674;POINT (-40.364218 -2.803775)', '2026-07-07 14:42:55', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3643 -2.803716)'), GeomFromEWKT('SRID=4674;POINT (-40.364218 -2.803775)'))) / (select extract(epoch from '2026-07-07 14:42:55'::timestamp) - extract(epoch from '2026-07-07 14:42:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3643 -2.803716)'), GeomFromEWKT('SRID=4674;POINT (-40.364218 -2.803775)'))) / (select extract(epoch from '2026-07-07 14:42:55'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.364104 -2.803863)', '2026-07-07 14:43:02', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364218 -2.803775)'), GeomFromEWKT('SRID=4674;POINT (-40.364104 -2.803863)'))) / (select extract(epoch from '2026-07-07 14:43:02'::timestamp) - extract(epoch from '2026-07-07 14:42:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364218 -2.803775)'), GeomFromEWKT('SRID=4674;POINT (-40.364104 -2.803863)'))) / (select extract(epoch from '2026-07-07 14:43:02'::timestamp) - extract(epoch from '2026-07-07 14:42: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'), 47829, 'SRID=4674;POINT (-40.36402 -2.803923)', '2026-07-07 14:43:07', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364104 -2.803863)'), GeomFromEWKT('SRID=4674;POINT (-40.36402 -2.803923)'))) / (select extract(epoch from '2026-07-07 14:43:07'::timestamp) - extract(epoch from '2026-07-07 14:43:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364104 -2.803863)'), GeomFromEWKT('SRID=4674;POINT (-40.36402 -2.803923)'))) / (select extract(epoch from '2026-07-07 14:43:07'::timestamp) - extract(epoch from '2026-07-07 14:43: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'), 47829, 'SRID=4674;POINT (-40.363912 -2.803973)', '2026-07-07 14:43:13', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36402 -2.803923)'), GeomFromEWKT('SRID=4674;POINT (-40.363912 -2.803973)'))) / (select extract(epoch from '2026-07-07 14:43:13'::timestamp) - extract(epoch from '2026-07-07 14:43:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36402 -2.803923)'), GeomFromEWKT('SRID=4674;POINT (-40.363912 -2.803973)'))) / (select extract(epoch from '2026-07-07 14:43:13'::timestamp) - extract(epoch from '2026-07-07 14:43: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'), 47829, 'SRID=4674;POINT (-40.363803 -2.804045)', '2026-07-07 14:43:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363912 -2.803973)'), GeomFromEWKT('SRID=4674;POINT (-40.363803 -2.804045)'))) / (select extract(epoch from '2026-07-07 14:43:19'::timestamp) - extract(epoch from '2026-07-07 14:43:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363912 -2.803973)'), GeomFromEWKT('SRID=4674;POINT (-40.363803 -2.804045)'))) / (select extract(epoch from '2026-07-07 14:43:19'::timestamp) - extract(epoch from '2026-07-07 14:43: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'), 47829, 'SRID=4674;POINT (-40.363698 -2.804119)', '2026-07-07 14:43:25', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363803 -2.804045)'), GeomFromEWKT('SRID=4674;POINT (-40.363698 -2.804119)'))) / (select extract(epoch from '2026-07-07 14:43:25'::timestamp) - extract(epoch from '2026-07-07 14:43:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363803 -2.804045)'), GeomFromEWKT('SRID=4674;POINT (-40.363698 -2.804119)'))) / (select extract(epoch from '2026-07-07 14:43:25'::timestamp) - extract(epoch from '2026-07-07 14:43: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'), 47829, 'SRID=4674;POINT (-40.363591 -2.804196)', '2026-07-07 14:43:31', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363698 -2.804119)'), GeomFromEWKT('SRID=4674;POINT (-40.363591 -2.804196)'))) / (select extract(epoch from '2026-07-07 14:43:31'::timestamp) - extract(epoch from '2026-07-07 14:43:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363698 -2.804119)'), GeomFromEWKT('SRID=4674;POINT (-40.363591 -2.804196)'))) / (select extract(epoch from '2026-07-07 14:43:31'::timestamp) - extract(epoch from '2026-07-07 14:43: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'), 47829, 'SRID=4674;POINT (-40.363532 -2.80423)', '2026-07-07 14:43:34', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363591 -2.804196)'), GeomFromEWKT('SRID=4674;POINT (-40.363532 -2.80423)'))) / (select extract(epoch from '2026-07-07 14:43:34'::timestamp) - extract(epoch from '2026-07-07 14:43:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363591 -2.804196)'), GeomFromEWKT('SRID=4674;POINT (-40.363532 -2.80423)'))) / (select extract(epoch from '2026-07-07 14:43:34'::timestamp) - extract(epoch from '2026-07-07 14:43:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.363495 -2.804247)', '2026-07-07 14:43:36', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363532 -2.80423)'), GeomFromEWKT('SRID=4674;POINT (-40.363495 -2.804247)'))) / (select extract(epoch from '2026-07-07 14:43:36'::timestamp) - extract(epoch from '2026-07-07 14:43:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363532 -2.80423)'), GeomFromEWKT('SRID=4674;POINT (-40.363495 -2.804247)'))) / (select extract(epoch from '2026-07-07 14:43:36'::timestamp) - extract(epoch from '2026-07-07 14:43: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'), 47829, 'SRID=4674;POINT (-40.363421 -2.804289)', '2026-07-07 14:43:40', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363495 -2.804247)'), GeomFromEWKT('SRID=4674;POINT (-40.363421 -2.804289)'))) / (select extract(epoch from '2026-07-07 14:43:40'::timestamp) - extract(epoch from '2026-07-07 14:43:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363495 -2.804247)'), GeomFromEWKT('SRID=4674;POINT (-40.363421 -2.804289)'))) / (select extract(epoch from '2026-07-07 14:43:40'::timestamp) - extract(epoch from '2026-07-07 14:43:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.36329 -2.804346)', '2026-07-07 14:43:47', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363421 -2.804289)'), GeomFromEWKT('SRID=4674;POINT (-40.36329 -2.804346)'))) / (select extract(epoch from '2026-07-07 14:43:47'::timestamp) - extract(epoch from '2026-07-07 14:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363421 -2.804289)'), GeomFromEWKT('SRID=4674;POINT (-40.36329 -2.804346)'))) / (select extract(epoch from '2026-07-07 14:43:47'::timestamp) - extract(epoch from '2026-07-07 14:43:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.363115 -2.804429)', '2026-07-07 14:43:56', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36329 -2.804346)'), GeomFromEWKT('SRID=4674;POINT (-40.363115 -2.804429)'))) / (select extract(epoch from '2026-07-07 14:43:56'::timestamp) - extract(epoch from '2026-07-07 14:43:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36329 -2.804346)'), GeomFromEWKT('SRID=4674;POINT (-40.363115 -2.804429)'))) / (select extract(epoch from '2026-07-07 14:43:56'::timestamp) - extract(epoch from '2026-07-07 14:43: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'), 47829, 'SRID=4674;POINT (-40.362977 -2.804484)', '2026-07-07 14:44:03', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363115 -2.804429)'), GeomFromEWKT('SRID=4674;POINT (-40.362977 -2.804484)'))) / (select extract(epoch from '2026-07-07 14:44:03'::timestamp) - extract(epoch from '2026-07-07 14:43:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363115 -2.804429)'), GeomFromEWKT('SRID=4674;POINT (-40.362977 -2.804484)'))) / (select extract(epoch from '2026-07-07 14:44:03'::timestamp) - extract(epoch from '2026-07-07 14:43: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'), 47829, 'SRID=4674;POINT (-40.362922 -2.804519)', '2026-07-07 14:44:06', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362977 -2.804484)'), GeomFromEWKT('SRID=4674;POINT (-40.362922 -2.804519)'))) / (select extract(epoch from '2026-07-07 14:44:06'::timestamp) - extract(epoch from '2026-07-07 14:44:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362977 -2.804484)'), GeomFromEWKT('SRID=4674;POINT (-40.362922 -2.804519)'))) / (select extract(epoch from '2026-07-07 14:44:06'::timestamp) - extract(epoch from '2026-07-07 14:44: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'), 47829, 'SRID=4674;POINT (-40.362885 -2.804536)', '2026-07-07 14:44:08', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362922 -2.804519)'), GeomFromEWKT('SRID=4674;POINT (-40.362885 -2.804536)'))) / (select extract(epoch from '2026-07-07 14:44:08'::timestamp) - extract(epoch from '2026-07-07 14:44:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362922 -2.804519)'), GeomFromEWKT('SRID=4674;POINT (-40.362885 -2.804536)'))) / (select extract(epoch from '2026-07-07 14:44:08'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.362747 -2.804581)', '2026-07-07 14:44:15', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362885 -2.804536)'), GeomFromEWKT('SRID=4674;POINT (-40.362747 -2.804581)'))) / (select extract(epoch from '2026-07-07 14:44:15'::timestamp) - extract(epoch from '2026-07-07 14:44:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362885 -2.804536)'), GeomFromEWKT('SRID=4674;POINT (-40.362747 -2.804581)'))) / (select extract(epoch from '2026-07-07 14:44:15'::timestamp) - extract(epoch from '2026-07-07 14:44:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.362612 -2.804639)', '2026-07-07 14:44:22', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362747 -2.804581)'), GeomFromEWKT('SRID=4674;POINT (-40.362612 -2.804639)'))) / (select extract(epoch from '2026-07-07 14:44:22'::timestamp) - extract(epoch from '2026-07-07 14:44:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362747 -2.804581)'), GeomFromEWKT('SRID=4674;POINT (-40.362612 -2.804639)'))) / (select extract(epoch from '2026-07-07 14:44:22'::timestamp) - extract(epoch from '2026-07-07 14:44: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'), 47829, 'SRID=4674;POINT (-40.362468 -2.804714)', '2026-07-07 14:44:30', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362612 -2.804639)'), GeomFromEWKT('SRID=4674;POINT (-40.362468 -2.804714)'))) / (select extract(epoch from '2026-07-07 14:44:30'::timestamp) - extract(epoch from '2026-07-07 14:44:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362612 -2.804639)'), GeomFromEWKT('SRID=4674;POINT (-40.362468 -2.804714)'))) / (select extract(epoch from '2026-07-07 14:44:30'::timestamp) - extract(epoch from '2026-07-07 14:44: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'), 47829, 'SRID=4674;POINT (-40.362362 -2.804783)', '2026-07-07 14:44:36', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362468 -2.804714)'), GeomFromEWKT('SRID=4674;POINT (-40.362362 -2.804783)'))) / (select extract(epoch from '2026-07-07 14:44:36'::timestamp) - extract(epoch from '2026-07-07 14:44:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362468 -2.804714)'), GeomFromEWKT('SRID=4674;POINT (-40.362362 -2.804783)'))) / (select extract(epoch from '2026-07-07 14:44:36'::timestamp) - extract(epoch from '2026-07-07 14:44: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'), 47829, 'SRID=4674;POINT (-40.362278 -2.804931)', '2026-07-07 14:44:44', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362362 -2.804783)'), GeomFromEWKT('SRID=4674;POINT (-40.362278 -2.804931)'))) / (select extract(epoch from '2026-07-07 14:44:44'::timestamp) - extract(epoch from '2026-07-07 14:44:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362362 -2.804783)'), GeomFromEWKT('SRID=4674;POINT (-40.362278 -2.804931)'))) / (select extract(epoch from '2026-07-07 14:44:44'::timestamp) - extract(epoch from '2026-07-07 14:44: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'), 47829, 'SRID=4674;POINT (-40.362244 -2.805096)', '2026-07-07 14:44:51', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362278 -2.804931)'), GeomFromEWKT('SRID=4674;POINT (-40.362244 -2.805096)'))) / (select extract(epoch from '2026-07-07 14:44:51'::timestamp) - extract(epoch from '2026-07-07 14:44:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362278 -2.804931)'), GeomFromEWKT('SRID=4674;POINT (-40.362244 -2.805096)'))) / (select extract(epoch from '2026-07-07 14:44:51'::timestamp) - extract(epoch from '2026-07-07 14:44:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.362197 -2.805256)', '2026-07-07 14:44:58', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362244 -2.805096)'), GeomFromEWKT('SRID=4674;POINT (-40.362197 -2.805256)'))) / (select extract(epoch from '2026-07-07 14:44:58'::timestamp) - extract(epoch from '2026-07-07 14:44:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362244 -2.805096)'), GeomFromEWKT('SRID=4674;POINT (-40.362197 -2.805256)'))) / (select extract(epoch from '2026-07-07 14:44:58'::timestamp) - extract(epoch from '2026-07-07 14:44: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'), 47829, 'SRID=4674;POINT (-40.362149 -2.805386)', '2026-07-07 14:45:04', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362197 -2.805256)'), GeomFromEWKT('SRID=4674;POINT (-40.362149 -2.805386)'))) / (select extract(epoch from '2026-07-07 14:45:04'::timestamp) - extract(epoch from '2026-07-07 14:44:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362197 -2.805256)'), GeomFromEWKT('SRID=4674;POINT (-40.362149 -2.805386)'))) / (select extract(epoch from '2026-07-07 14:45:04'::timestamp) - extract(epoch from '2026-07-07 14:44: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'), 47829, 'SRID=4674;POINT (-40.362065 -2.805552)', '2026-07-07 14:45:12', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362149 -2.805386)'), GeomFromEWKT('SRID=4674;POINT (-40.362065 -2.805552)'))) / (select extract(epoch from '2026-07-07 14:45:12'::timestamp) - extract(epoch from '2026-07-07 14:45:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362149 -2.805386)'), GeomFromEWKT('SRID=4674;POINT (-40.362065 -2.805552)'))) / (select extract(epoch from '2026-07-07 14:45:12'::timestamp) - extract(epoch from '2026-07-07 14:45: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'), 47829, 'SRID=4674;POINT (-40.361984 -2.805719)', '2026-07-07 14:45:20', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362065 -2.805552)'), GeomFromEWKT('SRID=4674;POINT (-40.361984 -2.805719)'))) / (select extract(epoch from '2026-07-07 14:45:20'::timestamp) - extract(epoch from '2026-07-07 14:45:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362065 -2.805552)'), GeomFromEWKT('SRID=4674;POINT (-40.361984 -2.805719)'))) / (select extract(epoch from '2026-07-07 14:45:20'::timestamp) - extract(epoch from '2026-07-07 14:45: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'), 47829, 'SRID=4674;POINT (-40.361929 -2.805851)', '2026-07-07 14:45:26', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361984 -2.805719)'), GeomFromEWKT('SRID=4674;POINT (-40.361929 -2.805851)'))) / (select extract(epoch from '2026-07-07 14:45:26'::timestamp) - extract(epoch from '2026-07-07 14:45:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361984 -2.805719)'), GeomFromEWKT('SRID=4674;POINT (-40.361929 -2.805851)'))) / (select extract(epoch from '2026-07-07 14:45:26'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.361895 -2.805991)', '2026-07-07 14:45:32', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361929 -2.805851)'), GeomFromEWKT('SRID=4674;POINT (-40.361895 -2.805991)'))) / (select extract(epoch from '2026-07-07 14:45:32'::timestamp) - extract(epoch from '2026-07-07 14:45:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361929 -2.805851)'), GeomFromEWKT('SRID=4674;POINT (-40.361895 -2.805991)'))) / (select extract(epoch from '2026-07-07 14:45:32'::timestamp) - extract(epoch from '2026-07-07 14:45: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'), 47829, 'SRID=4674;POINT (-40.361862 -2.806157)', '2026-07-07 14:45:39', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361895 -2.805991)'), GeomFromEWKT('SRID=4674;POINT (-40.361862 -2.806157)'))) / (select extract(epoch from '2026-07-07 14:45:39'::timestamp) - extract(epoch from '2026-07-07 14:45:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361895 -2.805991)'), GeomFromEWKT('SRID=4674;POINT (-40.361862 -2.806157)'))) / (select extract(epoch from '2026-07-07 14:45:39'::timestamp) - extract(epoch from '2026-07-07 14:45:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.361817 -2.806269)', '2026-07-07 14:45:44', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361862 -2.806157)'), GeomFromEWKT('SRID=4674;POINT (-40.361817 -2.806269)'))) / (select extract(epoch from '2026-07-07 14:45:44'::timestamp) - extract(epoch from '2026-07-07 14:45:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361862 -2.806157)'), GeomFromEWKT('SRID=4674;POINT (-40.361817 -2.806269)'))) / (select extract(epoch from '2026-07-07 14:45:44'::timestamp) - extract(epoch from '2026-07-07 14:45: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'), 47829, 'SRID=4674;POINT (-40.361764 -2.806396)', '2026-07-07 14:45:50', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361817 -2.806269)'), GeomFromEWKT('SRID=4674;POINT (-40.361764 -2.806396)'))) / (select extract(epoch from '2026-07-07 14:45:50'::timestamp) - extract(epoch from '2026-07-07 14:45:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361817 -2.806269)'), GeomFromEWKT('SRID=4674;POINT (-40.361764 -2.806396)'))) / (select extract(epoch from '2026-07-07 14:45:50'::timestamp) - extract(epoch from '2026-07-07 14:45: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'), 47829, 'SRID=4674;POINT (-40.361687 -2.806512)', '2026-07-07 14:45:56', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361764 -2.806396)'), GeomFromEWKT('SRID=4674;POINT (-40.361687 -2.806512)'))) / (select extract(epoch from '2026-07-07 14:45:56'::timestamp) - extract(epoch from '2026-07-07 14:45:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361764 -2.806396)'), GeomFromEWKT('SRID=4674;POINT (-40.361687 -2.806512)'))) / (select extract(epoch from '2026-07-07 14:45:56'::timestamp) - extract(epoch from '2026-07-07 14:45: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'), 47829, 'SRID=4674;POINT (-40.361613 -2.806581)', '2026-07-07 14:46:01', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361687 -2.806512)'), GeomFromEWKT('SRID=4674;POINT (-40.361613 -2.806581)'))) / (select extract(epoch from '2026-07-07 14:46:01'::timestamp) - extract(epoch from '2026-07-07 14:45:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361687 -2.806512)'), GeomFromEWKT('SRID=4674;POINT (-40.361613 -2.806581)'))) / (select extract(epoch from '2026-07-07 14:46:01'::timestamp) - extract(epoch from '2026-07-07 14:45:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.361527 -2.806711)', '2026-07-07 14:46:09', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361613 -2.806581)'), GeomFromEWKT('SRID=4674;POINT (-40.361527 -2.806711)'))) / (select extract(epoch from '2026-07-07 14:46:09'::timestamp) - extract(epoch from '2026-07-07 14:46:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361613 -2.806581)'), GeomFromEWKT('SRID=4674;POINT (-40.361527 -2.806711)'))) / (select extract(epoch from '2026-07-07 14:46:09'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.361479 -2.806815)', '2026-07-07 14:46:14', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361527 -2.806711)'), GeomFromEWKT('SRID=4674;POINT (-40.361479 -2.806815)'))) / (select extract(epoch from '2026-07-07 14:46:14'::timestamp) - extract(epoch from '2026-07-07 14:46:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361527 -2.806711)'), GeomFromEWKT('SRID=4674;POINT (-40.361479 -2.806815)'))) / (select extract(epoch from '2026-07-07 14:46:14'::timestamp) - extract(epoch from '2026-07-07 14:46: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'), 47829, 'SRID=4674;POINT (-40.361447 -2.806929)', '2026-07-07 14:46:20', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361479 -2.806815)'), GeomFromEWKT('SRID=4674;POINT (-40.361447 -2.806929)'))) / (select extract(epoch from '2026-07-07 14:46:20'::timestamp) - extract(epoch from '2026-07-07 14:46:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361479 -2.806815)'), GeomFromEWKT('SRID=4674;POINT (-40.361447 -2.806929)'))) / (select extract(epoch from '2026-07-07 14:46:20'::timestamp) - extract(epoch from '2026-07-07 14: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'), 47829, 'SRID=4674;POINT (-40.361382 -2.807091)', '2026-07-07 14:46:28', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361447 -2.806929)'), GeomFromEWKT('SRID=4674;POINT (-40.361382 -2.807091)'))) / (select extract(epoch from '2026-07-07 14:46:28'::timestamp) - extract(epoch from '2026-07-07 14:46:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361447 -2.806929)'), GeomFromEWKT('SRID=4674;POINT (-40.361382 -2.807091)'))) / (select extract(epoch from '2026-07-07 14:46:28'::timestamp) - extract(epoch from '2026-07-07 14:46: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'), 47829, 'SRID=4674;POINT (-40.361327 -2.807215)', '2026-07-07 14:46:35', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361382 -2.807091)'), GeomFromEWKT('SRID=4674;POINT (-40.361327 -2.807215)'))) / (select extract(epoch from '2026-07-07 14:46:35'::timestamp) - extract(epoch from '2026-07-07 14:46:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361382 -2.807091)'), GeomFromEWKT('SRID=4674;POINT (-40.361327 -2.807215)'))) / (select extract(epoch from '2026-07-07 14:46:35'::timestamp) - extract(epoch from '2026-07-07 14:46:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
