 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410042 -2.713181)', '2026-07-17 12:35:52', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41001 -2.713257)'), GeomFromEWKT('SRID=4674;POINT (-40.410042 -2.713181)'))) / (select extract(epoch from '2026-07-17 12:35:52'::timestamp) - extract(epoch from '2026-07-17 12:35:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41001 -2.713257)'), GeomFromEWKT('SRID=4674;POINT (-40.410042 -2.713181)'))) / (select extract(epoch from '2026-07-17 12:35:52'::timestamp) - extract(epoch from '2026-07-17 12:35:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410122 -2.713071)', '2026-07-17 12:36:08', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410042 -2.713181)'), GeomFromEWKT('SRID=4674;POINT (-40.410122 -2.713071)'))) / (select extract(epoch from '2026-07-17 12:36:08'::timestamp) - extract(epoch from '2026-07-17 12:35:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410042 -2.713181)'), GeomFromEWKT('SRID=4674;POINT (-40.410122 -2.713071)'))) / (select extract(epoch from '2026-07-17 12:36:08'::timestamp) - extract(epoch from '2026-07-17 12:35: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'), 47831, 'SRID=4674;POINT (-40.410122 -2.712991)', '2026-07-17 12:36:22', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410122 -2.713071)'), GeomFromEWKT('SRID=4674;POINT (-40.410122 -2.712991)'))) / (select extract(epoch from '2026-07-17 12:36:22'::timestamp) - extract(epoch from '2026-07-17 12:36:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410122 -2.713071)'), GeomFromEWKT('SRID=4674;POINT (-40.410122 -2.712991)'))) / (select extract(epoch from '2026-07-17 12:36:22'::timestamp) - extract(epoch from '2026-07-17 12:36: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'), 47831, 'SRID=4674;POINT (-40.41012 -2.712981)', '2026-07-17 12:36:36', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410122 -2.712991)'), GeomFromEWKT('SRID=4674;POINT (-40.41012 -2.712981)'))) / (select extract(epoch from '2026-07-17 12:36:36'::timestamp) - extract(epoch from '2026-07-17 12:36:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410122 -2.712991)'), GeomFromEWKT('SRID=4674;POINT (-40.41012 -2.712981)'))) / (select extract(epoch from '2026-07-17 12:36:36'::timestamp) - extract(epoch from '2026-07-17 12:36: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'), 47831, 'SRID=4674;POINT (-40.410077 -2.713057)', '2026-07-17 12:36:45', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41012 -2.712981)'), GeomFromEWKT('SRID=4674;POINT (-40.410077 -2.713057)'))) / (select extract(epoch from '2026-07-17 12:36:45'::timestamp) - extract(epoch from '2026-07-17 12:36:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41012 -2.712981)'), GeomFromEWKT('SRID=4674;POINT (-40.410077 -2.713057)'))) / (select extract(epoch from '2026-07-17 12:36:45'::timestamp) - extract(epoch from '2026-07-17 12:36: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'), 47831, 'SRID=4674;POINT (-40.410063 -2.713098)', '2026-07-17 12:36:56', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410077 -2.713057)'), GeomFromEWKT('SRID=4674;POINT (-40.410063 -2.713098)'))) / (select extract(epoch from '2026-07-17 12:36:56'::timestamp) - extract(epoch from '2026-07-17 12:36:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410077 -2.713057)'), GeomFromEWKT('SRID=4674;POINT (-40.410063 -2.713098)'))) / (select extract(epoch from '2026-07-17 12:36:56'::timestamp) - extract(epoch from '2026-07-17 12: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'), 47831, 'SRID=4674;POINT (-40.410081 -2.713133)', '2026-07-17 12:37:12', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410063 -2.713098)'), GeomFromEWKT('SRID=4674;POINT (-40.410081 -2.713133)'))) / (select extract(epoch from '2026-07-17 12:37:12'::timestamp) - extract(epoch from '2026-07-17 12:36:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410063 -2.713098)'), GeomFromEWKT('SRID=4674;POINT (-40.410081 -2.713133)'))) / (select extract(epoch from '2026-07-17 12:37:12'::timestamp) - extract(epoch from '2026-07-17 12:36:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410118 -2.71315)', '2026-07-17 12:37:24', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410081 -2.713133)'), GeomFromEWKT('SRID=4674;POINT (-40.410118 -2.71315)'))) / (select extract(epoch from '2026-07-17 12:37:24'::timestamp) - extract(epoch from '2026-07-17 12:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410081 -2.713133)'), GeomFromEWKT('SRID=4674;POINT (-40.410118 -2.71315)'))) / (select extract(epoch from '2026-07-17 12:37:24'::timestamp) - extract(epoch from '2026-07-17 12:37: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'), 47831, 'SRID=4674;POINT (-40.410151 -2.713162)', '2026-07-17 12:37:37', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410118 -2.71315)'), GeomFromEWKT('SRID=4674;POINT (-40.410151 -2.713162)'))) / (select extract(epoch from '2026-07-17 12:37:37'::timestamp) - extract(epoch from '2026-07-17 12:37:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410118 -2.71315)'), GeomFromEWKT('SRID=4674;POINT (-40.410151 -2.713162)'))) / (select extract(epoch from '2026-07-17 12:37:37'::timestamp) - extract(epoch from '2026-07-17 12:37: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'), 47831, 'SRID=4674;POINT (-40.410181 -2.713164)', '2026-07-17 12:37:44', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410151 -2.713162)'), GeomFromEWKT('SRID=4674;POINT (-40.410181 -2.713164)'))) / (select extract(epoch from '2026-07-17 12:37:44'::timestamp) - extract(epoch from '2026-07-17 12:37:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410151 -2.713162)'), GeomFromEWKT('SRID=4674;POINT (-40.410181 -2.713164)'))) / (select extract(epoch from '2026-07-17 12:37:44'::timestamp) - extract(epoch from '2026-07-17 12: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'), 47831, 'SRID=4674;POINT (-40.410229 -2.713149)', '2026-07-17 12:37:51', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410181 -2.713164)'), GeomFromEWKT('SRID=4674;POINT (-40.410229 -2.713149)'))) / (select extract(epoch from '2026-07-17 12:37:51'::timestamp) - extract(epoch from '2026-07-17 12:37:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410181 -2.713164)'), GeomFromEWKT('SRID=4674;POINT (-40.410229 -2.713149)'))) / (select extract(epoch from '2026-07-17 12:37:51'::timestamp) - extract(epoch from '2026-07-17 12:37: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'), 47831, 'SRID=4674;POINT (-40.410297 -2.713074)', '2026-07-17 12:37:58', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410229 -2.713149)'), GeomFromEWKT('SRID=4674;POINT (-40.410297 -2.713074)'))) / (select extract(epoch from '2026-07-17 12:37:58'::timestamp) - extract(epoch from '2026-07-17 12:37:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410229 -2.713149)'), GeomFromEWKT('SRID=4674;POINT (-40.410297 -2.713074)'))) / (select extract(epoch from '2026-07-17 12:37:58'::timestamp) - extract(epoch from '2026-07-17 12:37: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'), 47831, 'SRID=4674;POINT (-40.410299 -2.71306)', '2026-07-17 12:38:00', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410297 -2.713074)'), GeomFromEWKT('SRID=4674;POINT (-40.410299 -2.71306)'))) / (select extract(epoch from '2026-07-17 12:38:00'::timestamp) - extract(epoch from '2026-07-17 12:37:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410297 -2.713074)'), GeomFromEWKT('SRID=4674;POINT (-40.410299 -2.71306)'))) / (select extract(epoch from '2026-07-17 12:38:00'::timestamp) - extract(epoch from '2026-07-17 12:37: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'), 47831, 'SRID=4674;POINT (-40.410261 -2.712961)', '2026-07-17 12:38:08', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410299 -2.71306)'), GeomFromEWKT('SRID=4674;POINT (-40.410261 -2.712961)'))) / (select extract(epoch from '2026-07-17 12:38:08'::timestamp) - extract(epoch from '2026-07-17 12:38:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410299 -2.71306)'), GeomFromEWKT('SRID=4674;POINT (-40.410261 -2.712961)'))) / (select extract(epoch from '2026-07-17 12:38:08'::timestamp) - extract(epoch from '2026-07-17 12:38: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'), 47831, 'SRID=4674;POINT (-40.410172 -2.712919)', '2026-07-17 12:38:17', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410261 -2.712961)'), GeomFromEWKT('SRID=4674;POINT (-40.410172 -2.712919)'))) / (select extract(epoch from '2026-07-17 12:38:17'::timestamp) - extract(epoch from '2026-07-17 12:38:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410261 -2.712961)'), GeomFromEWKT('SRID=4674;POINT (-40.410172 -2.712919)'))) / (select extract(epoch from '2026-07-17 12:38:17'::timestamp) - extract(epoch from '2026-07-17 12:38: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'), 47831, 'SRID=4674;POINT (-40.410056 -2.71294)', '2026-07-17 12:38:27', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410172 -2.712919)'), GeomFromEWKT('SRID=4674;POINT (-40.410056 -2.71294)'))) / (select extract(epoch from '2026-07-17 12:38:27'::timestamp) - extract(epoch from '2026-07-17 12:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410172 -2.712919)'), GeomFromEWKT('SRID=4674;POINT (-40.410056 -2.71294)'))) / (select extract(epoch from '2026-07-17 12:38:27'::timestamp) - extract(epoch from '2026-07-17 12:38:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409998 -2.712956)', '2026-07-17 12:38:30', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410056 -2.71294)'), GeomFromEWKT('SRID=4674;POINT (-40.409998 -2.712956)'))) / (select extract(epoch from '2026-07-17 12:38:30'::timestamp) - extract(epoch from '2026-07-17 12:38:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410056 -2.71294)'), GeomFromEWKT('SRID=4674;POINT (-40.409998 -2.712956)'))) / (select extract(epoch from '2026-07-17 12:38:30'::timestamp) - extract(epoch from '2026-07-17 12:38:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409935 -2.712981)', '2026-07-17 12:38:34', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409998 -2.712956)'), GeomFromEWKT('SRID=4674;POINT (-40.409935 -2.712981)'))) / (select extract(epoch from '2026-07-17 12:38:34'::timestamp) - extract(epoch from '2026-07-17 12:38:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409998 -2.712956)'), GeomFromEWKT('SRID=4674;POINT (-40.409935 -2.712981)'))) / (select extract(epoch from '2026-07-17 12:38:34'::timestamp) - extract(epoch from '2026-07-17 12:38:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409825 -2.713053)', '2026-07-17 12:38:44', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409935 -2.712981)'), GeomFromEWKT('SRID=4674;POINT (-40.409825 -2.713053)'))) / (select extract(epoch from '2026-07-17 12:38:44'::timestamp) - extract(epoch from '2026-07-17 12:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409935 -2.712981)'), GeomFromEWKT('SRID=4674;POINT (-40.409825 -2.713053)'))) / (select extract(epoch from '2026-07-17 12:38:44'::timestamp) - extract(epoch from '2026-07-17 12:38:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409694 -2.713128)', '2026-07-17 12:38:54', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409825 -2.713053)'), GeomFromEWKT('SRID=4674;POINT (-40.409694 -2.713128)'))) / (select extract(epoch from '2026-07-17 12:38:54'::timestamp) - extract(epoch from '2026-07-17 12:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409825 -2.713053)'), GeomFromEWKT('SRID=4674;POINT (-40.409694 -2.713128)'))) / (select extract(epoch from '2026-07-17 12:38:54'::timestamp) - extract(epoch from '2026-07-17 12:38: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'), 47831, 'SRID=4674;POINT (-40.4096 -2.713118)', '2026-07-17 12:39:03', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409694 -2.713128)'), GeomFromEWKT('SRID=4674;POINT (-40.4096 -2.713118)'))) / (select extract(epoch from '2026-07-17 12:39:03'::timestamp) - extract(epoch from '2026-07-17 12:38:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409694 -2.713128)'), GeomFromEWKT('SRID=4674;POINT (-40.4096 -2.713118)'))) / (select extract(epoch from '2026-07-17 12:39:03'::timestamp) - extract(epoch from '2026-07-17 12:38: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'), 47831, 'SRID=4674;POINT (-40.40947 -2.713075)', '2026-07-17 12:39:12', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4096 -2.713118)'), GeomFromEWKT('SRID=4674;POINT (-40.40947 -2.713075)'))) / (select extract(epoch from '2026-07-17 12:39:12'::timestamp) - extract(epoch from '2026-07-17 12:39:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4096 -2.713118)'), GeomFromEWKT('SRID=4674;POINT (-40.40947 -2.713075)'))) / (select extract(epoch from '2026-07-17 12:39:12'::timestamp) - extract(epoch from '2026-07-17 12:39:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.4094 -2.713065)', '2026-07-17 12:39:21', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40947 -2.713075)'), GeomFromEWKT('SRID=4674;POINT (-40.4094 -2.713065)'))) / (select extract(epoch from '2026-07-17 12:39:21'::timestamp) - extract(epoch from '2026-07-17 12:39:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40947 -2.713075)'), GeomFromEWKT('SRID=4674;POINT (-40.4094 -2.713065)'))) / (select extract(epoch from '2026-07-17 12:39:21'::timestamp) - extract(epoch from '2026-07-17 12: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'), 47831, 'SRID=4674;POINT (-40.40938 -2.713072)', '2026-07-17 12:39:22', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4094 -2.713065)'), GeomFromEWKT('SRID=4674;POINT (-40.40938 -2.713072)'))) / (select extract(epoch from '2026-07-17 12:39:22'::timestamp) - extract(epoch from '2026-07-17 12:39:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4094 -2.713065)'), GeomFromEWKT('SRID=4674;POINT (-40.40938 -2.713072)'))) / (select extract(epoch from '2026-07-17 12:39:22'::timestamp) - extract(epoch from '2026-07-17 12:39:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409307 -2.713066)', '2026-07-17 12:39:30', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40938 -2.713072)'), GeomFromEWKT('SRID=4674;POINT (-40.409307 -2.713066)'))) / (select extract(epoch from '2026-07-17 12:39:30'::timestamp) - extract(epoch from '2026-07-17 12:39:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40938 -2.713072)'), GeomFromEWKT('SRID=4674;POINT (-40.409307 -2.713066)'))) / (select extract(epoch from '2026-07-17 12:39:30'::timestamp) - extract(epoch from '2026-07-17 12:39: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'), 47831, 'SRID=4674;POINT (-40.409272 -2.713042)', '2026-07-17 12:39:34', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409307 -2.713066)'), GeomFromEWKT('SRID=4674;POINT (-40.409272 -2.713042)'))) / (select extract(epoch from '2026-07-17 12:39:34'::timestamp) - extract(epoch from '2026-07-17 12:39:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409307 -2.713066)'), GeomFromEWKT('SRID=4674;POINT (-40.409272 -2.713042)'))) / (select extract(epoch from '2026-07-17 12:39:34'::timestamp) - extract(epoch from '2026-07-17 12:39: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'), 47831, 'SRID=4674;POINT (-40.409241 -2.713034)', '2026-07-17 12:39:38', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409272 -2.713042)'), GeomFromEWKT('SRID=4674;POINT (-40.409241 -2.713034)'))) / (select extract(epoch from '2026-07-17 12:39:38'::timestamp) - extract(epoch from '2026-07-17 12:39:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409272 -2.713042)'), GeomFromEWKT('SRID=4674;POINT (-40.409241 -2.713034)'))) / (select extract(epoch from '2026-07-17 12:39:38'::timestamp) - extract(epoch from '2026-07-17 12:39:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409204 -2.713087)', '2026-07-17 12:39:45', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409241 -2.713034)'), GeomFromEWKT('SRID=4674;POINT (-40.409204 -2.713087)'))) / (select extract(epoch from '2026-07-17 12:39:45'::timestamp) - extract(epoch from '2026-07-17 12:39:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409241 -2.713034)'), GeomFromEWKT('SRID=4674;POINT (-40.409204 -2.713087)'))) / (select extract(epoch from '2026-07-17 12:39:45'::timestamp) - extract(epoch from '2026-07-17 12:39:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409179 -2.713178)', '2026-07-17 12:39:54', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409204 -2.713087)'), GeomFromEWKT('SRID=4674;POINT (-40.409179 -2.713178)'))) / (select extract(epoch from '2026-07-17 12:39:54'::timestamp) - extract(epoch from '2026-07-17 12:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409204 -2.713087)'), GeomFromEWKT('SRID=4674;POINT (-40.409179 -2.713178)'))) / (select extract(epoch from '2026-07-17 12:39:54'::timestamp) - extract(epoch from '2026-07-17 12:39: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'), 47831, 'SRID=4674;POINT (-40.409198 -2.713224)', '2026-07-17 12:39:59', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409179 -2.713178)'), GeomFromEWKT('SRID=4674;POINT (-40.409198 -2.713224)'))) / (select extract(epoch from '2026-07-17 12:39:59'::timestamp) - extract(epoch from '2026-07-17 12:39:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409179 -2.713178)'), GeomFromEWKT('SRID=4674;POINT (-40.409198 -2.713224)'))) / (select extract(epoch from '2026-07-17 12:39:59'::timestamp) - extract(epoch from '2026-07-17 12:39: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'), 47831, 'SRID=4674;POINT (-40.409212 -2.713243)', '2026-07-17 12:40:01', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409198 -2.713224)'), GeomFromEWKT('SRID=4674;POINT (-40.409212 -2.713243)'))) / (select extract(epoch from '2026-07-17 12:40:01'::timestamp) - extract(epoch from '2026-07-17 12:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409198 -2.713224)'), GeomFromEWKT('SRID=4674;POINT (-40.409212 -2.713243)'))) / (select extract(epoch from '2026-07-17 12:40:01'::timestamp) - extract(epoch from '2026-07-17 12:39: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'), 47831, 'SRID=4674;POINT (-40.409289 -2.713286)', '2026-07-17 12:40:10', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409212 -2.713243)'), GeomFromEWKT('SRID=4674;POINT (-40.409289 -2.713286)'))) / (select extract(epoch from '2026-07-17 12:40:10'::timestamp) - extract(epoch from '2026-07-17 12:40:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409212 -2.713243)'), GeomFromEWKT('SRID=4674;POINT (-40.409289 -2.713286)'))) / (select extract(epoch from '2026-07-17 12:40:10'::timestamp) - extract(epoch from '2026-07-17 12:40: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'), 47831, 'SRID=4674;POINT (-40.409335 -2.713289)', '2026-07-17 12:40:17', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409289 -2.713286)'), GeomFromEWKT('SRID=4674;POINT (-40.409335 -2.713289)'))) / (select extract(epoch from '2026-07-17 12:40:17'::timestamp) - extract(epoch from '2026-07-17 12:40:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409289 -2.713286)'), GeomFromEWKT('SRID=4674;POINT (-40.409335 -2.713289)'))) / (select extract(epoch from '2026-07-17 12:40:17'::timestamp) - extract(epoch from '2026-07-17 12:40: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'), 47831, 'SRID=4674;POINT (-40.409397 -2.713242)', '2026-07-17 12:40:25', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409335 -2.713289)'), GeomFromEWKT('SRID=4674;POINT (-40.409397 -2.713242)'))) / (select extract(epoch from '2026-07-17 12:40:25'::timestamp) - extract(epoch from '2026-07-17 12:40:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409335 -2.713289)'), GeomFromEWKT('SRID=4674;POINT (-40.409397 -2.713242)'))) / (select extract(epoch from '2026-07-17 12:40:25'::timestamp) - extract(epoch from '2026-07-17 12:40:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409441 -2.713171)', '2026-07-17 12:40:34', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409397 -2.713242)'), GeomFromEWKT('SRID=4674;POINT (-40.409441 -2.713171)'))) / (select extract(epoch from '2026-07-17 12:40:34'::timestamp) - extract(epoch from '2026-07-17 12:40:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409397 -2.713242)'), GeomFromEWKT('SRID=4674;POINT (-40.409441 -2.713171)'))) / (select extract(epoch from '2026-07-17 12:40:34'::timestamp) - extract(epoch from '2026-07-17 12:40: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'), 47831, 'SRID=4674;POINT (-40.409467 -2.713122)', '2026-07-17 12:40:48', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409441 -2.713171)'), GeomFromEWKT('SRID=4674;POINT (-40.409467 -2.713122)'))) / (select extract(epoch from '2026-07-17 12:40:48'::timestamp) - extract(epoch from '2026-07-17 12:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409441 -2.713171)'), GeomFromEWKT('SRID=4674;POINT (-40.409467 -2.713122)'))) / (select extract(epoch from '2026-07-17 12:40:48'::timestamp) - extract(epoch from '2026-07-17 12:40:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409461 -2.713115)', '2026-07-17 12:41:00', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409467 -2.713122)'), GeomFromEWKT('SRID=4674;POINT (-40.409461 -2.713115)'))) / (select extract(epoch from '2026-07-17 12:41:00'::timestamp) - extract(epoch from '2026-07-17 12:40:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409467 -2.713122)'), GeomFromEWKT('SRID=4674;POINT (-40.409461 -2.713115)'))) / (select extract(epoch from '2026-07-17 12:41:00'::timestamp) - extract(epoch from '2026-07-17 12:40: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'), 47831, 'SRID=4674;POINT (-40.409407 -2.713026)', '2026-07-17 12:41:39', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409461 -2.713115)'), GeomFromEWKT('SRID=4674;POINT (-40.409407 -2.713026)'))) / (select extract(epoch from '2026-07-17 12:41:39'::timestamp) - extract(epoch from '2026-07-17 12:41:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409461 -2.713115)'), GeomFromEWKT('SRID=4674;POINT (-40.409407 -2.713026)'))) / (select extract(epoch from '2026-07-17 12:41:39'::timestamp) - extract(epoch from '2026-07-17 12:41: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'), 47831, 'SRID=4674;POINT (-40.409339 -2.712972)', '2026-07-17 12:41:55', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409407 -2.713026)'), GeomFromEWKT('SRID=4674;POINT (-40.409339 -2.712972)'))) / (select extract(epoch from '2026-07-17 12:41:55'::timestamp) - extract(epoch from '2026-07-17 12:41:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409407 -2.713026)'), GeomFromEWKT('SRID=4674;POINT (-40.409339 -2.712972)'))) / (select extract(epoch from '2026-07-17 12:41:55'::timestamp) - extract(epoch from '2026-07-17 12:41: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'), 47831, 'SRID=4674;POINT (-40.409249 -2.712984)', '2026-07-17 12:42:07', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409339 -2.712972)'), GeomFromEWKT('SRID=4674;POINT (-40.409249 -2.712984)'))) / (select extract(epoch from '2026-07-17 12:42:07'::timestamp) - extract(epoch from '2026-07-17 12:41:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409339 -2.712972)'), GeomFromEWKT('SRID=4674;POINT (-40.409249 -2.712984)'))) / (select extract(epoch from '2026-07-17 12:42:07'::timestamp) - extract(epoch from '2026-07-17 12:41: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'), 47831, 'SRID=4674;POINT (-40.40926 -2.712951)', '2026-07-17 12:42:18', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409249 -2.712984)'), GeomFromEWKT('SRID=4674;POINT (-40.40926 -2.712951)'))) / (select extract(epoch from '2026-07-17 12:42:18'::timestamp) - extract(epoch from '2026-07-17 12:42:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409249 -2.712984)'), GeomFromEWKT('SRID=4674;POINT (-40.40926 -2.712951)'))) / (select extract(epoch from '2026-07-17 12:42:18'::timestamp) - extract(epoch from '2026-07-17 12:42: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'), 47831, 'SRID=4674;POINT (-40.409289 -2.712941)', '2026-07-17 12:42:28', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40926 -2.712951)'), GeomFromEWKT('SRID=4674;POINT (-40.409289 -2.712941)'))) / (select extract(epoch from '2026-07-17 12:42:28'::timestamp) - extract(epoch from '2026-07-17 12:42:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40926 -2.712951)'), GeomFromEWKT('SRID=4674;POINT (-40.409289 -2.712941)'))) / (select extract(epoch from '2026-07-17 12:42:28'::timestamp) - extract(epoch from '2026-07-17 12:42: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'), 47831, 'SRID=4674;POINT (-40.409349 -2.712922)', '2026-07-17 12:42:41', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409289 -2.712941)'), GeomFromEWKT('SRID=4674;POINT (-40.409349 -2.712922)'))) / (select extract(epoch from '2026-07-17 12:42:41'::timestamp) - extract(epoch from '2026-07-17 12:42:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409289 -2.712941)'), GeomFromEWKT('SRID=4674;POINT (-40.409349 -2.712922)'))) / (select extract(epoch from '2026-07-17 12:42:41'::timestamp) - extract(epoch from '2026-07-17 12:42: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'), 47831, 'SRID=4674;POINT (-40.409403 -2.712931)', '2026-07-17 12:42:54', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409349 -2.712922)'), GeomFromEWKT('SRID=4674;POINT (-40.409403 -2.712931)'))) / (select extract(epoch from '2026-07-17 12:42:54'::timestamp) - extract(epoch from '2026-07-17 12:42:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409349 -2.712922)'), GeomFromEWKT('SRID=4674;POINT (-40.409403 -2.712931)'))) / (select extract(epoch from '2026-07-17 12:42:54'::timestamp) - extract(epoch from '2026-07-17 12:42: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'), 47831, 'SRID=4674;POINT (-40.409466 -2.712931)', '2026-07-17 12:43:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409403 -2.712931)'), GeomFromEWKT('SRID=4674;POINT (-40.409466 -2.712931)'))) / (select extract(epoch from '2026-07-17 12:43:04'::timestamp) - extract(epoch from '2026-07-17 12:42:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409403 -2.712931)'), GeomFromEWKT('SRID=4674;POINT (-40.409466 -2.712931)'))) / (select extract(epoch from '2026-07-17 12:43:04'::timestamp) - extract(epoch from '2026-07-17 12:42: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'), 47831, 'SRID=4674;POINT (-40.40955 -2.712876)', '2026-07-17 12:43:18', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409466 -2.712931)'), GeomFromEWKT('SRID=4674;POINT (-40.40955 -2.712876)'))) / (select extract(epoch from '2026-07-17 12:43:18'::timestamp) - extract(epoch from '2026-07-17 12:43:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409466 -2.712931)'), GeomFromEWKT('SRID=4674;POINT (-40.40955 -2.712876)'))) / (select extract(epoch from '2026-07-17 12:43:18'::timestamp) - extract(epoch from '2026-07-17 12:43:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409547 -2.712817)', '2026-07-17 12:43:28', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40955 -2.712876)'), GeomFromEWKT('SRID=4674;POINT (-40.409547 -2.712817)'))) / (select extract(epoch from '2026-07-17 12:43:28'::timestamp) - extract(epoch from '2026-07-17 12:43:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40955 -2.712876)'), GeomFromEWKT('SRID=4674;POINT (-40.409547 -2.712817)'))) / (select extract(epoch from '2026-07-17 12:43:28'::timestamp) - extract(epoch from '2026-07-17 12:43: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'), 47831, 'SRID=4674;POINT (-40.40951 -2.712819)', '2026-07-17 12:43:37', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409547 -2.712817)'), GeomFromEWKT('SRID=4674;POINT (-40.40951 -2.712819)'))) / (select extract(epoch from '2026-07-17 12:43:37'::timestamp) - extract(epoch from '2026-07-17 12:43:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409547 -2.712817)'), GeomFromEWKT('SRID=4674;POINT (-40.40951 -2.712819)'))) / (select extract(epoch from '2026-07-17 12:43:37'::timestamp) - extract(epoch from '2026-07-17 12:43: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'), 47831, 'SRID=4674;POINT (-40.409481 -2.712884)', '2026-07-17 12:43:49', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40951 -2.712819)'), GeomFromEWKT('SRID=4674;POINT (-40.409481 -2.712884)'))) / (select extract(epoch from '2026-07-17 12:43:49'::timestamp) - extract(epoch from '2026-07-17 12:43:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40951 -2.712819)'), GeomFromEWKT('SRID=4674;POINT (-40.409481 -2.712884)'))) / (select extract(epoch from '2026-07-17 12:43:49'::timestamp) - extract(epoch from '2026-07-17 12:43:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409466 -2.712948)', '2026-07-17 12:44:02', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409481 -2.712884)'), GeomFromEWKT('SRID=4674;POINT (-40.409466 -2.712948)'))) / (select extract(epoch from '2026-07-17 12:44:02'::timestamp) - extract(epoch from '2026-07-17 12:43:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409481 -2.712884)'), GeomFromEWKT('SRID=4674;POINT (-40.409466 -2.712948)'))) / (select extract(epoch from '2026-07-17 12:44:02'::timestamp) - extract(epoch from '2026-07-17 12:43:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409458 -2.712958)', '2026-07-17 12:44:15', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409466 -2.712948)'), GeomFromEWKT('SRID=4674;POINT (-40.409458 -2.712958)'))) / (select extract(epoch from '2026-07-17 12:44:15'::timestamp) - extract(epoch from '2026-07-17 12:44:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409466 -2.712948)'), GeomFromEWKT('SRID=4674;POINT (-40.409458 -2.712958)'))) / (select extract(epoch from '2026-07-17 12:44:15'::timestamp) - extract(epoch from '2026-07-17 12:44:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409371 -2.712999)', '2026-07-17 12:44:33', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409458 -2.712958)'), GeomFromEWKT('SRID=4674;POINT (-40.409371 -2.712999)'))) / (select extract(epoch from '2026-07-17 12:44:33'::timestamp) - extract(epoch from '2026-07-17 12:44:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409458 -2.712958)'), GeomFromEWKT('SRID=4674;POINT (-40.409371 -2.712999)'))) / (select extract(epoch from '2026-07-17 12:44:33'::timestamp) - extract(epoch from '2026-07-17 12: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'), 47831, 'SRID=4674;POINT (-40.409347 -2.713016)', '2026-07-17 12:44:45', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409371 -2.712999)'), GeomFromEWKT('SRID=4674;POINT (-40.409347 -2.713016)'))) / (select extract(epoch from '2026-07-17 12:44:45'::timestamp) - extract(epoch from '2026-07-17 12:44:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409371 -2.712999)'), GeomFromEWKT('SRID=4674;POINT (-40.409347 -2.713016)'))) / (select extract(epoch from '2026-07-17 12:44:45'::timestamp) - extract(epoch from '2026-07-17 12:44:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.40929 -2.713003)', '2026-07-17 12:45:05', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409347 -2.713016)'), GeomFromEWKT('SRID=4674;POINT (-40.40929 -2.713003)'))) / (select extract(epoch from '2026-07-17 12:45:05'::timestamp) - extract(epoch from '2026-07-17 12:44:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409347 -2.713016)'), GeomFromEWKT('SRID=4674;POINT (-40.40929 -2.713003)'))) / (select extract(epoch from '2026-07-17 12:45:05'::timestamp) - extract(epoch from '2026-07-17 12:44: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'), 47831, 'SRID=4674;POINT (-40.409255 -2.713004)', '2026-07-17 12:45:13', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40929 -2.713003)'), GeomFromEWKT('SRID=4674;POINT (-40.409255 -2.713004)'))) / (select extract(epoch from '2026-07-17 12:45:13'::timestamp) - extract(epoch from '2026-07-17 12:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40929 -2.713003)'), GeomFromEWKT('SRID=4674;POINT (-40.409255 -2.713004)'))) / (select extract(epoch from '2026-07-17 12:45:13'::timestamp) - extract(epoch from '2026-07-17 12:45:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409245 -2.713001)', '2026-07-17 12:45:24', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409255 -2.713004)'), GeomFromEWKT('SRID=4674;POINT (-40.409245 -2.713001)'))) / (select extract(epoch from '2026-07-17 12:45:24'::timestamp) - extract(epoch from '2026-07-17 12:45:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409255 -2.713004)'), GeomFromEWKT('SRID=4674;POINT (-40.409245 -2.713001)'))) / (select extract(epoch from '2026-07-17 12:45:24'::timestamp) - extract(epoch from '2026-07-17 12:45: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'), 47831, 'SRID=4674;POINT (-40.40927 -2.712992)', '2026-07-17 12:45:41', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409245 -2.713001)'), GeomFromEWKT('SRID=4674;POINT (-40.40927 -2.712992)'))) / (select extract(epoch from '2026-07-17 12:45:41'::timestamp) - extract(epoch from '2026-07-17 12:45:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409245 -2.713001)'), GeomFromEWKT('SRID=4674;POINT (-40.40927 -2.712992)'))) / (select extract(epoch from '2026-07-17 12:45:41'::timestamp) - extract(epoch from '2026-07-17 12:45: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'), 47831, 'SRID=4674;POINT (-40.409337 -2.712985)', '2026-07-17 12:45:52', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40927 -2.712992)'), GeomFromEWKT('SRID=4674;POINT (-40.409337 -2.712985)'))) / (select extract(epoch from '2026-07-17 12:45:52'::timestamp) - extract(epoch from '2026-07-17 12:45:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40927 -2.712992)'), GeomFromEWKT('SRID=4674;POINT (-40.409337 -2.712985)'))) / (select extract(epoch from '2026-07-17 12:45:52'::timestamp) - extract(epoch from '2026-07-17 12:45: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'), 47831, 'SRID=4674;POINT (-40.40939 -2.712973)', '2026-07-17 12:46:02', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409337 -2.712985)'), GeomFromEWKT('SRID=4674;POINT (-40.40939 -2.712973)'))) / (select extract(epoch from '2026-07-17 12:46:02'::timestamp) - extract(epoch from '2026-07-17 12:45:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409337 -2.712985)'), GeomFromEWKT('SRID=4674;POINT (-40.40939 -2.712973)'))) / (select extract(epoch from '2026-07-17 12:46:02'::timestamp) - extract(epoch from '2026-07-17 12:45: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'), 47831, 'SRID=4674;POINT (-40.409485 -2.712907)', '2026-07-17 12:46:16', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40939 -2.712973)'), GeomFromEWKT('SRID=4674;POINT (-40.409485 -2.712907)'))) / (select extract(epoch from '2026-07-17 12:46:16'::timestamp) - extract(epoch from '2026-07-17 12:46:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40939 -2.712973)'), GeomFromEWKT('SRID=4674;POINT (-40.409485 -2.712907)'))) / (select extract(epoch from '2026-07-17 12:46:16'::timestamp) - extract(epoch from '2026-07-17 12:46: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'), 47831, 'SRID=4674;POINT (-40.409494 -2.712836)', '2026-07-17 12:46:27', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409485 -2.712907)'), GeomFromEWKT('SRID=4674;POINT (-40.409494 -2.712836)'))) / (select extract(epoch from '2026-07-17 12:46:27'::timestamp) - extract(epoch from '2026-07-17 12:46:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409485 -2.712907)'), GeomFromEWKT('SRID=4674;POINT (-40.409494 -2.712836)'))) / (select extract(epoch from '2026-07-17 12:46:27'::timestamp) - extract(epoch from '2026-07-17 12:46:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409431 -2.712861)', '2026-07-17 12:46:34', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409494 -2.712836)'), GeomFromEWKT('SRID=4674;POINT (-40.409431 -2.712861)'))) / (select extract(epoch from '2026-07-17 12:46:34'::timestamp) - extract(epoch from '2026-07-17 12:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409494 -2.712836)'), GeomFromEWKT('SRID=4674;POINT (-40.409431 -2.712861)'))) / (select extract(epoch from '2026-07-17 12:46:34'::timestamp) - extract(epoch from '2026-07-17 12:46:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409338 -2.712956)', '2026-07-17 12:46:46', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409431 -2.712861)'), GeomFromEWKT('SRID=4674;POINT (-40.409338 -2.712956)'))) / (select extract(epoch from '2026-07-17 12:46:46'::timestamp) - extract(epoch from '2026-07-17 12:46:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409431 -2.712861)'), GeomFromEWKT('SRID=4674;POINT (-40.409338 -2.712956)'))) / (select extract(epoch from '2026-07-17 12:46:46'::timestamp) - extract(epoch from '2026-07-17 12:46:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409285 -2.712993)', '2026-07-17 12:46:58', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409338 -2.712956)'), GeomFromEWKT('SRID=4674;POINT (-40.409285 -2.712993)'))) / (select extract(epoch from '2026-07-17 12:46:58'::timestamp) - extract(epoch from '2026-07-17 12:46:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409338 -2.712956)'), GeomFromEWKT('SRID=4674;POINT (-40.409285 -2.712993)'))) / (select extract(epoch from '2026-07-17 12:46:58'::timestamp) - extract(epoch from '2026-07-17 12:46: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'), 47831, 'SRID=4674;POINT (-40.409278 -2.712992)', '2026-07-17 12:47:08', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409285 -2.712993)'), GeomFromEWKT('SRID=4674;POINT (-40.409278 -2.712992)'))) / (select extract(epoch from '2026-07-17 12:47:08'::timestamp) - extract(epoch from '2026-07-17 12:46:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409285 -2.712993)'), GeomFromEWKT('SRID=4674;POINT (-40.409278 -2.712992)'))) / (select extract(epoch from '2026-07-17 12:47:08'::timestamp) - extract(epoch from '2026-07-17 12:46: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'), 47831, 'SRID=4674;POINT (-40.409302 -2.712975)', '2026-07-17 12:47:27', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409278 -2.712992)'), GeomFromEWKT('SRID=4674;POINT (-40.409302 -2.712975)'))) / (select extract(epoch from '2026-07-17 12:47:27'::timestamp) - extract(epoch from '2026-07-17 12:47:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409278 -2.712992)'), GeomFromEWKT('SRID=4674;POINT (-40.409302 -2.712975)'))) / (select extract(epoch from '2026-07-17 12:47:27'::timestamp) - extract(epoch from '2026-07-17 12:47: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'), 47831, 'SRID=4674;POINT (-40.409351 -2.712975)', '2026-07-17 12:47:36', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409302 -2.712975)'), GeomFromEWKT('SRID=4674;POINT (-40.409351 -2.712975)'))) / (select extract(epoch from '2026-07-17 12:47:36'::timestamp) - extract(epoch from '2026-07-17 12:47:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409302 -2.712975)'), GeomFromEWKT('SRID=4674;POINT (-40.409351 -2.712975)'))) / (select extract(epoch from '2026-07-17 12:47:36'::timestamp) - extract(epoch from '2026-07-17 12:47: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'), 47831, 'SRID=4674;POINT (-40.40939 -2.712976)', '2026-07-17 12:47:44', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409351 -2.712975)'), GeomFromEWKT('SRID=4674;POINT (-40.40939 -2.712976)'))) / (select extract(epoch from '2026-07-17 12:47:44'::timestamp) - extract(epoch from '2026-07-17 12:47:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409351 -2.712975)'), GeomFromEWKT('SRID=4674;POINT (-40.40939 -2.712976)'))) / (select extract(epoch from '2026-07-17 12:47:44'::timestamp) - extract(epoch from '2026-07-17 12:47:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409432 -2.712988)', '2026-07-17 12:47:59', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40939 -2.712976)'), GeomFromEWKT('SRID=4674;POINT (-40.409432 -2.712988)'))) / (select extract(epoch from '2026-07-17 12:47:59'::timestamp) - extract(epoch from '2026-07-17 12:47:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40939 -2.712976)'), GeomFromEWKT('SRID=4674;POINT (-40.409432 -2.712988)'))) / (select extract(epoch from '2026-07-17 12:47:59'::timestamp) - extract(epoch from '2026-07-17 12:47: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'), 47831, 'SRID=4674;POINT (-40.409505 -2.712946)', '2026-07-17 12:48:07', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409432 -2.712988)'), GeomFromEWKT('SRID=4674;POINT (-40.409505 -2.712946)'))) / (select extract(epoch from '2026-07-17 12:48:07'::timestamp) - extract(epoch from '2026-07-17 12:47:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409432 -2.712988)'), GeomFromEWKT('SRID=4674;POINT (-40.409505 -2.712946)'))) / (select extract(epoch from '2026-07-17 12:48:07'::timestamp) - extract(epoch from '2026-07-17 12:47: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'), 47831, 'SRID=4674;POINT (-40.40954 -2.712854)', '2026-07-17 12:48:17', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409505 -2.712946)'), GeomFromEWKT('SRID=4674;POINT (-40.40954 -2.712854)'))) / (select extract(epoch from '2026-07-17 12:48:17'::timestamp) - extract(epoch from '2026-07-17 12:48:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409505 -2.712946)'), GeomFromEWKT('SRID=4674;POINT (-40.40954 -2.712854)'))) / (select extract(epoch from '2026-07-17 12:48:17'::timestamp) - extract(epoch from '2026-07-17 12:48: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'), 47831, 'SRID=4674;POINT (-40.409469 -2.712804)', '2026-07-17 12:48:27', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40954 -2.712854)'), GeomFromEWKT('SRID=4674;POINT (-40.409469 -2.712804)'))) / (select extract(epoch from '2026-07-17 12:48:27'::timestamp) - extract(epoch from '2026-07-17 12:48:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40954 -2.712854)'), GeomFromEWKT('SRID=4674;POINT (-40.409469 -2.712804)'))) / (select extract(epoch from '2026-07-17 12:48:27'::timestamp) - extract(epoch from '2026-07-17 12:48:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409397 -2.712846)', '2026-07-17 12:48:35', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409469 -2.712804)'), GeomFromEWKT('SRID=4674;POINT (-40.409397 -2.712846)'))) / (select extract(epoch from '2026-07-17 12:48:35'::timestamp) - extract(epoch from '2026-07-17 12:48:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409469 -2.712804)'), GeomFromEWKT('SRID=4674;POINT (-40.409397 -2.712846)'))) / (select extract(epoch from '2026-07-17 12:48:35'::timestamp) - extract(epoch from '2026-07-17 12:48:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409369 -2.712932)', '2026-07-17 12:48:45', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409397 -2.712846)'), GeomFromEWKT('SRID=4674;POINT (-40.409369 -2.712932)'))) / (select extract(epoch from '2026-07-17 12:48:45'::timestamp) - extract(epoch from '2026-07-17 12:48:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409397 -2.712846)'), GeomFromEWKT('SRID=4674;POINT (-40.409369 -2.712932)'))) / (select extract(epoch from '2026-07-17 12:48:45'::timestamp) - extract(epoch from '2026-07-17 12:48: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'), 47831, 'SRID=4674;POINT (-40.409336 -2.713055)', '2026-07-17 12:48:56', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409369 -2.712932)'), GeomFromEWKT('SRID=4674;POINT (-40.409336 -2.713055)'))) / (select extract(epoch from '2026-07-17 12:48:56'::timestamp) - extract(epoch from '2026-07-17 12:48:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409369 -2.712932)'), GeomFromEWKT('SRID=4674;POINT (-40.409336 -2.713055)'))) / (select extract(epoch from '2026-07-17 12:48:56'::timestamp) - extract(epoch from '2026-07-17 12:48: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'), 47831, 'SRID=4674;POINT (-40.409243 -2.713104)', '2026-07-17 12:49:06', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409336 -2.713055)'), GeomFromEWKT('SRID=4674;POINT (-40.409243 -2.713104)'))) / (select extract(epoch from '2026-07-17 12:49:06'::timestamp) - extract(epoch from '2026-07-17 12:48:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409336 -2.713055)'), GeomFromEWKT('SRID=4674;POINT (-40.409243 -2.713104)'))) / (select extract(epoch from '2026-07-17 12:49:06'::timestamp) - extract(epoch from '2026-07-17 12:48: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'), 47831, 'SRID=4674;POINT (-40.409096 -2.713169)', '2026-07-17 12:49:20', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409243 -2.713104)'), GeomFromEWKT('SRID=4674;POINT (-40.409096 -2.713169)'))) / (select extract(epoch from '2026-07-17 12:49:20'::timestamp) - extract(epoch from '2026-07-17 12:49:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409243 -2.713104)'), GeomFromEWKT('SRID=4674;POINT (-40.409096 -2.713169)'))) / (select extract(epoch from '2026-07-17 12:49:20'::timestamp) - extract(epoch from '2026-07-17 12:49:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.40896 -2.713265)', '2026-07-17 12:49:32', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409096 -2.713169)'), GeomFromEWKT('SRID=4674;POINT (-40.40896 -2.713265)'))) / (select extract(epoch from '2026-07-17 12:49:32'::timestamp) - extract(epoch from '2026-07-17 12:49:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409096 -2.713169)'), GeomFromEWKT('SRID=4674;POINT (-40.40896 -2.713265)'))) / (select extract(epoch from '2026-07-17 12:49:32'::timestamp) - extract(epoch from '2026-07-17 12:49: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'), 47831, 'SRID=4674;POINT (-40.408899 -2.713278)', '2026-07-17 12:49:37', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40896 -2.713265)'), GeomFromEWKT('SRID=4674;POINT (-40.408899 -2.713278)'))) / (select extract(epoch from '2026-07-17 12:49:37'::timestamp) - extract(epoch from '2026-07-17 12:49:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40896 -2.713265)'), GeomFromEWKT('SRID=4674;POINT (-40.408899 -2.713278)'))) / (select extract(epoch from '2026-07-17 12:49:37'::timestamp) - extract(epoch from '2026-07-17 12:49:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408889 -2.713281)', '2026-07-17 12:49:38', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408899 -2.713278)'), GeomFromEWKT('SRID=4674;POINT (-40.408889 -2.713281)'))) / (select extract(epoch from '2026-07-17 12:49:38'::timestamp) - extract(epoch from '2026-07-17 12:49:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408899 -2.713278)'), GeomFromEWKT('SRID=4674;POINT (-40.408889 -2.713281)'))) / (select extract(epoch from '2026-07-17 12:49:38'::timestamp) - extract(epoch from '2026-07-17 12:49: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'), 47831, 'SRID=4674;POINT (-40.408881 -2.713285)', '2026-07-17 12:49:39', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408889 -2.713281)'), GeomFromEWKT('SRID=4674;POINT (-40.408881 -2.713285)'))) / (select extract(epoch from '2026-07-17 12:49:39'::timestamp) - extract(epoch from '2026-07-17 12:49:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408889 -2.713281)'), GeomFromEWKT('SRID=4674;POINT (-40.408881 -2.713285)'))) / (select extract(epoch from '2026-07-17 12:49:39'::timestamp) - extract(epoch from '2026-07-17 12:49: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'), 47831, 'SRID=4674;POINT (-40.408814 -2.713305)', '2026-07-17 12:49:44', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408881 -2.713285)'), GeomFromEWKT('SRID=4674;POINT (-40.408814 -2.713305)'))) / (select extract(epoch from '2026-07-17 12:49:44'::timestamp) - extract(epoch from '2026-07-17 12:49:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408881 -2.713285)'), GeomFromEWKT('SRID=4674;POINT (-40.408814 -2.713305)'))) / (select extract(epoch from '2026-07-17 12:49:44'::timestamp) - extract(epoch from '2026-07-17 12:49:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408743 -2.713335)', '2026-07-17 12:49:50', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408814 -2.713305)'), GeomFromEWKT('SRID=4674;POINT (-40.408743 -2.713335)'))) / (select extract(epoch from '2026-07-17 12:49:50'::timestamp) - extract(epoch from '2026-07-17 12:49:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408814 -2.713305)'), GeomFromEWKT('SRID=4674;POINT (-40.408743 -2.713335)'))) / (select extract(epoch from '2026-07-17 12:49:50'::timestamp) - extract(epoch from '2026-07-17 12:49:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408704 -2.713351)', '2026-07-17 12:49:54', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408743 -2.713335)'), GeomFromEWKT('SRID=4674;POINT (-40.408704 -2.713351)'))) / (select extract(epoch from '2026-07-17 12:49:54'::timestamp) - extract(epoch from '2026-07-17 12:49:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408743 -2.713335)'), GeomFromEWKT('SRID=4674;POINT (-40.408704 -2.713351)'))) / (select extract(epoch from '2026-07-17 12:49:54'::timestamp) - extract(epoch from '2026-07-17 12:49:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408687 -2.713363)', '2026-07-17 12:49:56', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408704 -2.713351)'), GeomFromEWKT('SRID=4674;POINT (-40.408687 -2.713363)'))) / (select extract(epoch from '2026-07-17 12:49:56'::timestamp) - extract(epoch from '2026-07-17 12:49:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408704 -2.713351)'), GeomFromEWKT('SRID=4674;POINT (-40.408687 -2.713363)'))) / (select extract(epoch from '2026-07-17 12:49:56'::timestamp) - extract(epoch from '2026-07-17 12:49:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408586 -2.713377)', '2026-07-17 12:50:07', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408687 -2.713363)'), GeomFromEWKT('SRID=4674;POINT (-40.408586 -2.713377)'))) / (select extract(epoch from '2026-07-17 12:50:07'::timestamp) - extract(epoch from '2026-07-17 12:49:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408687 -2.713363)'), GeomFromEWKT('SRID=4674;POINT (-40.408586 -2.713377)'))) / (select extract(epoch from '2026-07-17 12:50:07'::timestamp) - extract(epoch from '2026-07-17 12:49: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'), 47831, 'SRID=4674;POINT (-40.408531 -2.71337)', '2026-07-17 12:50:15', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408586 -2.713377)'), GeomFromEWKT('SRID=4674;POINT (-40.408531 -2.71337)'))) / (select extract(epoch from '2026-07-17 12:50:15'::timestamp) - extract(epoch from '2026-07-17 12:50:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408586 -2.713377)'), GeomFromEWKT('SRID=4674;POINT (-40.408531 -2.71337)'))) / (select extract(epoch from '2026-07-17 12:50:15'::timestamp) - extract(epoch from '2026-07-17 12:50: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'), 47831, 'SRID=4674;POINT (-40.408555 -2.713317)', '2026-07-17 12:50:25', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408531 -2.71337)'), GeomFromEWKT('SRID=4674;POINT (-40.408555 -2.713317)'))) / (select extract(epoch from '2026-07-17 12:50:25'::timestamp) - extract(epoch from '2026-07-17 12:50:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408531 -2.71337)'), GeomFromEWKT('SRID=4674;POINT (-40.408555 -2.713317)'))) / (select extract(epoch from '2026-07-17 12:50:25'::timestamp) - extract(epoch from '2026-07-17 12:50: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'), 47831, 'SRID=4674;POINT (-40.408636 -2.713237)', '2026-07-17 12:50:39', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408555 -2.713317)'), GeomFromEWKT('SRID=4674;POINT (-40.408636 -2.713237)'))) / (select extract(epoch from '2026-07-17 12:50:39'::timestamp) - extract(epoch from '2026-07-17 12:50:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408555 -2.713317)'), GeomFromEWKT('SRID=4674;POINT (-40.408636 -2.713237)'))) / (select extract(epoch from '2026-07-17 12:50:39'::timestamp) - extract(epoch from '2026-07-17 12:50:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.40868 -2.713196)', '2026-07-17 12:50:52', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408636 -2.713237)'), GeomFromEWKT('SRID=4674;POINT (-40.40868 -2.713196)'))) / (select extract(epoch from '2026-07-17 12:50:52'::timestamp) - extract(epoch from '2026-07-17 12:50:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408636 -2.713237)'), GeomFromEWKT('SRID=4674;POINT (-40.40868 -2.713196)'))) / (select extract(epoch from '2026-07-17 12:50:52'::timestamp) - extract(epoch from '2026-07-17 12:50: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'), 47831, 'SRID=4674;POINT (-40.408686 -2.713147)', '2026-07-17 12:51:03', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40868 -2.713196)'), GeomFromEWKT('SRID=4674;POINT (-40.408686 -2.713147)'))) / (select extract(epoch from '2026-07-17 12:51:03'::timestamp) - extract(epoch from '2026-07-17 12:50:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40868 -2.713196)'), GeomFromEWKT('SRID=4674;POINT (-40.408686 -2.713147)'))) / (select extract(epoch from '2026-07-17 12:51:03'::timestamp) - extract(epoch from '2026-07-17 12:50: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'), 47831, 'SRID=4674;POINT (-40.408673 -2.713134)', '2026-07-17 12:51:14', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408686 -2.713147)'), GeomFromEWKT('SRID=4674;POINT (-40.408673 -2.713134)'))) / (select extract(epoch from '2026-07-17 12:51:14'::timestamp) - extract(epoch from '2026-07-17 12:51:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408686 -2.713147)'), GeomFromEWKT('SRID=4674;POINT (-40.408673 -2.713134)'))) / (select extract(epoch from '2026-07-17 12:51:14'::timestamp) - extract(epoch from '2026-07-17 12:51: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'), 47831, 'SRID=4674;POINT (-40.408646 -2.713192)', '2026-07-17 12:51:20', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408673 -2.713134)'), GeomFromEWKT('SRID=4674;POINT (-40.408646 -2.713192)'))) / (select extract(epoch from '2026-07-17 12:51:20'::timestamp) - extract(epoch from '2026-07-17 12:51:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408673 -2.713134)'), GeomFromEWKT('SRID=4674;POINT (-40.408646 -2.713192)'))) / (select extract(epoch from '2026-07-17 12:51:20'::timestamp) - extract(epoch from '2026-07-17 12:51: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'), 47831, 'SRID=4674;POINT (-40.408609 -2.713283)', '2026-07-17 12:51:33', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408646 -2.713192)'), GeomFromEWKT('SRID=4674;POINT (-40.408609 -2.713283)'))) / (select extract(epoch from '2026-07-17 12:51:33'::timestamp) - extract(epoch from '2026-07-17 12:51:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408646 -2.713192)'), GeomFromEWKT('SRID=4674;POINT (-40.408609 -2.713283)'))) / (select extract(epoch from '2026-07-17 12:51:33'::timestamp) - extract(epoch from '2026-07-17 12:51: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'), 47831, 'SRID=4674;POINT (-40.408595 -2.713309)', '2026-07-17 12:51:43', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408609 -2.713283)'), GeomFromEWKT('SRID=4674;POINT (-40.408595 -2.713309)'))) / (select extract(epoch from '2026-07-17 12:51:43'::timestamp) - extract(epoch from '2026-07-17 12:51:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408609 -2.713283)'), GeomFromEWKT('SRID=4674;POINT (-40.408595 -2.713309)'))) / (select extract(epoch from '2026-07-17 12:51:43'::timestamp) - extract(epoch from '2026-07-17 12:51: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'), 47831, 'SRID=4674;POINT (-40.408599 -2.713317)', '2026-07-17 12:51:51', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408595 -2.713309)'), GeomFromEWKT('SRID=4674;POINT (-40.408599 -2.713317)'))) / (select extract(epoch from '2026-07-17 12:51:51'::timestamp) - extract(epoch from '2026-07-17 12:51:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408595 -2.713309)'), GeomFromEWKT('SRID=4674;POINT (-40.408599 -2.713317)'))) / (select extract(epoch from '2026-07-17 12:51:51'::timestamp) - extract(epoch from '2026-07-17 12:51:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408619 -2.713315)', '2026-07-17 12:51:57', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408599 -2.713317)'), GeomFromEWKT('SRID=4674;POINT (-40.408619 -2.713315)'))) / (select extract(epoch from '2026-07-17 12:51:57'::timestamp) - extract(epoch from '2026-07-17 12:51:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408599 -2.713317)'), GeomFromEWKT('SRID=4674;POINT (-40.408619 -2.713315)'))) / (select extract(epoch from '2026-07-17 12:51:57'::timestamp) - extract(epoch from '2026-07-17 12:51: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'), 47831, 'SRID=4674;POINT (-40.408639 -2.713319)', '2026-07-17 12:52:06', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408619 -2.713315)'), GeomFromEWKT('SRID=4674;POINT (-40.408639 -2.713319)'))) / (select extract(epoch from '2026-07-17 12:52:06'::timestamp) - extract(epoch from '2026-07-17 12:51:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408619 -2.713315)'), GeomFromEWKT('SRID=4674;POINT (-40.408639 -2.713319)'))) / (select extract(epoch from '2026-07-17 12:52:06'::timestamp) - extract(epoch from '2026-07-17 12:51: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'), 47831, 'SRID=4674;POINT (-40.408695 -2.713328)', '2026-07-17 12:52:19', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408639 -2.713319)'), GeomFromEWKT('SRID=4674;POINT (-40.408695 -2.713328)'))) / (select extract(epoch from '2026-07-17 12:52:19'::timestamp) - extract(epoch from '2026-07-17 12:52:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408639 -2.713319)'), GeomFromEWKT('SRID=4674;POINT (-40.408695 -2.713328)'))) / (select extract(epoch from '2026-07-17 12:52:19'::timestamp) - extract(epoch from '2026-07-17 12:52:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408736 -2.713339)', '2026-07-17 12:52:27', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408695 -2.713328)'), GeomFromEWKT('SRID=4674;POINT (-40.408736 -2.713339)'))) / (select extract(epoch from '2026-07-17 12:52:27'::timestamp) - extract(epoch from '2026-07-17 12:52:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408695 -2.713328)'), GeomFromEWKT('SRID=4674;POINT (-40.408736 -2.713339)'))) / (select extract(epoch from '2026-07-17 12:52:27'::timestamp) - extract(epoch from '2026-07-17 12:52: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'), 47831, 'SRID=4674;POINT (-40.408809 -2.71334)', '2026-07-17 12:52:42', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408736 -2.713339)'), GeomFromEWKT('SRID=4674;POINT (-40.408809 -2.71334)'))) / (select extract(epoch from '2026-07-17 12:52:42'::timestamp) - extract(epoch from '2026-07-17 12:52:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408736 -2.713339)'), GeomFromEWKT('SRID=4674;POINT (-40.408809 -2.71334)'))) / (select extract(epoch from '2026-07-17 12:52:42'::timestamp) - extract(epoch from '2026-07-17 12:52:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408875 -2.713316)', '2026-07-17 12:52:53', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408809 -2.71334)'), GeomFromEWKT('SRID=4674;POINT (-40.408875 -2.713316)'))) / (select extract(epoch from '2026-07-17 12:52:53'::timestamp) - extract(epoch from '2026-07-17 12:52:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408809 -2.71334)'), GeomFromEWKT('SRID=4674;POINT (-40.408875 -2.713316)'))) / (select extract(epoch from '2026-07-17 12:52:53'::timestamp) - extract(epoch from '2026-07-17 12:52:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.40889 -2.713225)', '2026-07-17 12:53:04', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408875 -2.713316)'), GeomFromEWKT('SRID=4674;POINT (-40.40889 -2.713225)'))) / (select extract(epoch from '2026-07-17 12:53:04'::timestamp) - extract(epoch from '2026-07-17 12:52:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408875 -2.713316)'), GeomFromEWKT('SRID=4674;POINT (-40.40889 -2.713225)'))) / (select extract(epoch from '2026-07-17 12:53:04'::timestamp) - extract(epoch from '2026-07-17 12:52: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'), 47831, 'SRID=4674;POINT (-40.408854 -2.713178)', '2026-07-17 12:53:16', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40889 -2.713225)'), GeomFromEWKT('SRID=4674;POINT (-40.408854 -2.713178)'))) / (select extract(epoch from '2026-07-17 12:53:16'::timestamp) - extract(epoch from '2026-07-17 12:53:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40889 -2.713225)'), GeomFromEWKT('SRID=4674;POINT (-40.408854 -2.713178)'))) / (select extract(epoch from '2026-07-17 12:53:16'::timestamp) - extract(epoch from '2026-07-17 12:53: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'), 47831, 'SRID=4674;POINT (-40.408817 -2.713223)', '2026-07-17 12:53:32', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408854 -2.713178)'), GeomFromEWKT('SRID=4674;POINT (-40.408817 -2.713223)'))) / (select extract(epoch from '2026-07-17 12:53:32'::timestamp) - extract(epoch from '2026-07-17 12:53:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408854 -2.713178)'), GeomFromEWKT('SRID=4674;POINT (-40.408817 -2.713223)'))) / (select extract(epoch from '2026-07-17 12:53:32'::timestamp) - extract(epoch from '2026-07-17 12:53:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408779 -2.713252)', '2026-07-17 12:53:44', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408817 -2.713223)'), GeomFromEWKT('SRID=4674;POINT (-40.408779 -2.713252)'))) / (select extract(epoch from '2026-07-17 12:53:44'::timestamp) - extract(epoch from '2026-07-17 12:53:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408817 -2.713223)'), GeomFromEWKT('SRID=4674;POINT (-40.408779 -2.713252)'))) / (select extract(epoch from '2026-07-17 12:53:44'::timestamp) - extract(epoch from '2026-07-17 12:53:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408753 -2.713273)', '2026-07-17 12:53:56', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408779 -2.713252)'), GeomFromEWKT('SRID=4674;POINT (-40.408753 -2.713273)'))) / (select extract(epoch from '2026-07-17 12:53:56'::timestamp) - extract(epoch from '2026-07-17 12:53:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408779 -2.713252)'), GeomFromEWKT('SRID=4674;POINT (-40.408753 -2.713273)'))) / (select extract(epoch from '2026-07-17 12:53:56'::timestamp) - extract(epoch from '2026-07-17 12:53: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'), 47831, 'SRID=4674;POINT (-40.408677 -2.713281)', '2026-07-17 12:54:30', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408753 -2.713273)'), GeomFromEWKT('SRID=4674;POINT (-40.408677 -2.713281)'))) / (select extract(epoch from '2026-07-17 12:54:30'::timestamp) - extract(epoch from '2026-07-17 12:53:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408753 -2.713273)'), GeomFromEWKT('SRID=4674;POINT (-40.408677 -2.713281)'))) / (select extract(epoch from '2026-07-17 12:54:30'::timestamp) - extract(epoch from '2026-07-17 12:53: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'), 47831, 'SRID=4674;POINT (-40.408671 -2.713287)', '2026-07-17 12:54:44', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408677 -2.713281)'), GeomFromEWKT('SRID=4674;POINT (-40.408671 -2.713287)'))) / (select extract(epoch from '2026-07-17 12:54:44'::timestamp) - extract(epoch from '2026-07-17 12:54:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408677 -2.713281)'), GeomFromEWKT('SRID=4674;POINT (-40.408671 -2.713287)'))) / (select extract(epoch from '2026-07-17 12:54:44'::timestamp) - extract(epoch from '2026-07-17 12:54:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408612 -2.713245)', '2026-07-17 12:55:04', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408671 -2.713287)'), GeomFromEWKT('SRID=4674;POINT (-40.408612 -2.713245)'))) / (select extract(epoch from '2026-07-17 12:55:04'::timestamp) - extract(epoch from '2026-07-17 12:54:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408671 -2.713287)'), GeomFromEWKT('SRID=4674;POINT (-40.408612 -2.713245)'))) / (select extract(epoch from '2026-07-17 12:55:04'::timestamp) - extract(epoch from '2026-07-17 12:54:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408629 -2.713202)', '2026-07-17 12:55:17', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408612 -2.713245)'), GeomFromEWKT('SRID=4674;POINT (-40.408629 -2.713202)'))) / (select extract(epoch from '2026-07-17 12:55:17'::timestamp) - extract(epoch from '2026-07-17 12:55:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408612 -2.713245)'), GeomFromEWKT('SRID=4674;POINT (-40.408629 -2.713202)'))) / (select extract(epoch from '2026-07-17 12:55:17'::timestamp) - extract(epoch from '2026-07-17 12:55: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'), 47831, 'SRID=4674;POINT (-40.408669 -2.713198)', '2026-07-17 12:55:29', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408629 -2.713202)'), GeomFromEWKT('SRID=4674;POINT (-40.408669 -2.713198)'))) / (select extract(epoch from '2026-07-17 12:55:29'::timestamp) - extract(epoch from '2026-07-17 12:55:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408629 -2.713202)'), GeomFromEWKT('SRID=4674;POINT (-40.408669 -2.713198)'))) / (select extract(epoch from '2026-07-17 12:55:29'::timestamp) - extract(epoch from '2026-07-17 12:55: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'), 47831, 'SRID=4674;POINT (-40.40878 -2.713158)', '2026-07-17 12:55:55', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408669 -2.713198)'), GeomFromEWKT('SRID=4674;POINT (-40.40878 -2.713158)'))) / (select extract(epoch from '2026-07-17 12:55:55'::timestamp) - extract(epoch from '2026-07-17 12:55:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408669 -2.713198)'), GeomFromEWKT('SRID=4674;POINT (-40.40878 -2.713158)'))) / (select extract(epoch from '2026-07-17 12:55:55'::timestamp) - extract(epoch from '2026-07-17 12:55:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408818 -2.713078)', '2026-07-17 12:56:06', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40878 -2.713158)'), GeomFromEWKT('SRID=4674;POINT (-40.408818 -2.713078)'))) / (select extract(epoch from '2026-07-17 12:56:06'::timestamp) - extract(epoch from '2026-07-17 12:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40878 -2.713158)'), GeomFromEWKT('SRID=4674;POINT (-40.408818 -2.713078)'))) / (select extract(epoch from '2026-07-17 12:56:06'::timestamp) - extract(epoch from '2026-07-17 12:55:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408787 -2.713053)', '2026-07-17 12:56:17', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408818 -2.713078)'), GeomFromEWKT('SRID=4674;POINT (-40.408787 -2.713053)'))) / (select extract(epoch from '2026-07-17 12:56:17'::timestamp) - extract(epoch from '2026-07-17 12:56:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408818 -2.713078)'), GeomFromEWKT('SRID=4674;POINT (-40.408787 -2.713053)'))) / (select extract(epoch from '2026-07-17 12:56:17'::timestamp) - extract(epoch from '2026-07-17 12:56: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'), 47831, 'SRID=4674;POINT (-40.408765 -2.71311)', '2026-07-17 12:56:28', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408787 -2.713053)'), GeomFromEWKT('SRID=4674;POINT (-40.408765 -2.71311)'))) / (select extract(epoch from '2026-07-17 12:56:28'::timestamp) - extract(epoch from '2026-07-17 12:56:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408787 -2.713053)'), GeomFromEWKT('SRID=4674;POINT (-40.408765 -2.71311)'))) / (select extract(epoch from '2026-07-17 12:56:28'::timestamp) - extract(epoch from '2026-07-17 12:56:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408728 -2.713179)', '2026-07-17 12:56:42', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408765 -2.71311)'), GeomFromEWKT('SRID=4674;POINT (-40.408728 -2.713179)'))) / (select extract(epoch from '2026-07-17 12:56:42'::timestamp) - extract(epoch from '2026-07-17 12:56:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408765 -2.71311)'), GeomFromEWKT('SRID=4674;POINT (-40.408728 -2.713179)'))) / (select extract(epoch from '2026-07-17 12:56:42'::timestamp) - extract(epoch from '2026-07-17 12:56:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408674 -2.713243)', '2026-07-17 12:56:55', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408728 -2.713179)'), GeomFromEWKT('SRID=4674;POINT (-40.408674 -2.713243)'))) / (select extract(epoch from '2026-07-17 12:56:55'::timestamp) - extract(epoch from '2026-07-17 12:56:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408728 -2.713179)'), GeomFromEWKT('SRID=4674;POINT (-40.408674 -2.713243)'))) / (select extract(epoch from '2026-07-17 12:56:55'::timestamp) - extract(epoch from '2026-07-17 12:56:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408648 -2.713282)', '2026-07-17 12:57:06', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408674 -2.713243)'), GeomFromEWKT('SRID=4674;POINT (-40.408648 -2.713282)'))) / (select extract(epoch from '2026-07-17 12:57:06'::timestamp) - extract(epoch from '2026-07-17 12:56:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408674 -2.713243)'), GeomFromEWKT('SRID=4674;POINT (-40.408648 -2.713282)'))) / (select extract(epoch from '2026-07-17 12:57:06'::timestamp) - extract(epoch from '2026-07-17 12:56:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408611 -2.713308)', '2026-07-17 12:57:35', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408648 -2.713282)'), GeomFromEWKT('SRID=4674;POINT (-40.408611 -2.713308)'))) / (select extract(epoch from '2026-07-17 12:57:35'::timestamp) - extract(epoch from '2026-07-17 12:57:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408648 -2.713282)'), GeomFromEWKT('SRID=4674;POINT (-40.408611 -2.713308)'))) / (select extract(epoch from '2026-07-17 12:57:35'::timestamp) - extract(epoch from '2026-07-17 12:57: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'), 47831, 'SRID=4674;POINT (-40.408646 -2.713333)', '2026-07-17 12:57:46', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408611 -2.713308)'), GeomFromEWKT('SRID=4674;POINT (-40.408646 -2.713333)'))) / (select extract(epoch from '2026-07-17 12:57:46'::timestamp) - extract(epoch from '2026-07-17 12:57:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408611 -2.713308)'), GeomFromEWKT('SRID=4674;POINT (-40.408646 -2.713333)'))) / (select extract(epoch from '2026-07-17 12:57:46'::timestamp) - extract(epoch from '2026-07-17 12:57: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'), 47831, 'SRID=4674;POINT (-40.408673 -2.713339)', '2026-07-17 12:57:56', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408646 -2.713333)'), GeomFromEWKT('SRID=4674;POINT (-40.408673 -2.713339)'))) / (select extract(epoch from '2026-07-17 12:57:56'::timestamp) - extract(epoch from '2026-07-17 12:57:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408646 -2.713333)'), GeomFromEWKT('SRID=4674;POINT (-40.408673 -2.713339)'))) / (select extract(epoch from '2026-07-17 12:57:56'::timestamp) - extract(epoch from '2026-07-17 12:57:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408711 -2.713331)', '2026-07-17 12:58:05', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408673 -2.713339)'), GeomFromEWKT('SRID=4674;POINT (-40.408711 -2.713331)'))) / (select extract(epoch from '2026-07-17 12:58:05'::timestamp) - extract(epoch from '2026-07-17 12:57:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408673 -2.713339)'), GeomFromEWKT('SRID=4674;POINT (-40.408711 -2.713331)'))) / (select extract(epoch from '2026-07-17 12:58:05'::timestamp) - extract(epoch from '2026-07-17 12:57: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'), 47831, 'SRID=4674;POINT (-40.40877 -2.713334)', '2026-07-17 12:58:24', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408711 -2.713331)'), GeomFromEWKT('SRID=4674;POINT (-40.40877 -2.713334)'))) / (select extract(epoch from '2026-07-17 12:58:24'::timestamp) - extract(epoch from '2026-07-17 12:58:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408711 -2.713331)'), GeomFromEWKT('SRID=4674;POINT (-40.40877 -2.713334)'))) / (select extract(epoch from '2026-07-17 12:58:24'::timestamp) - extract(epoch from '2026-07-17 12:58: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'), 47831, 'SRID=4674;POINT (-40.408867 -2.71329)', '2026-07-17 12:58:40', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40877 -2.713334)'), GeomFromEWKT('SRID=4674;POINT (-40.408867 -2.71329)'))) / (select extract(epoch from '2026-07-17 12:58:40'::timestamp) - extract(epoch from '2026-07-17 12:58:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40877 -2.713334)'), GeomFromEWKT('SRID=4674;POINT (-40.408867 -2.71329)'))) / (select extract(epoch from '2026-07-17 12:58:40'::timestamp) - extract(epoch from '2026-07-17 12:58: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'), 47831, 'SRID=4674;POINT (-40.408915 -2.713192)', '2026-07-17 12:58:47', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408867 -2.71329)'), GeomFromEWKT('SRID=4674;POINT (-40.408915 -2.713192)'))) / (select extract(epoch from '2026-07-17 12:58:47'::timestamp) - extract(epoch from '2026-07-17 12:58:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408867 -2.71329)'), GeomFromEWKT('SRID=4674;POINT (-40.408915 -2.713192)'))) / (select extract(epoch from '2026-07-17 12:58:47'::timestamp) - extract(epoch from '2026-07-17 12:58:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408907 -2.713114)', '2026-07-17 12:58:54', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408915 -2.713192)'), GeomFromEWKT('SRID=4674;POINT (-40.408907 -2.713114)'))) / (select extract(epoch from '2026-07-17 12:58:54'::timestamp) - extract(epoch from '2026-07-17 12:58:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408915 -2.713192)'), GeomFromEWKT('SRID=4674;POINT (-40.408907 -2.713114)'))) / (select extract(epoch from '2026-07-17 12:58:54'::timestamp) - extract(epoch from '2026-07-17 12:58: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'), 47831, 'SRID=4674;POINT (-40.408862 -2.713086)', '2026-07-17 12:59:00', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408907 -2.713114)'), GeomFromEWKT('SRID=4674;POINT (-40.408862 -2.713086)'))) / (select extract(epoch from '2026-07-17 12:59:00'::timestamp) - extract(epoch from '2026-07-17 12:58:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408907 -2.713114)'), GeomFromEWKT('SRID=4674;POINT (-40.408862 -2.713086)'))) / (select extract(epoch from '2026-07-17 12:59:00'::timestamp) - extract(epoch from '2026-07-17 12:58:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408796 -2.713121)', '2026-07-17 12:59:08', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408862 -2.713086)'), GeomFromEWKT('SRID=4674;POINT (-40.408796 -2.713121)'))) / (select extract(epoch from '2026-07-17 12:59:08'::timestamp) - extract(epoch from '2026-07-17 12:59:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408862 -2.713086)'), GeomFromEWKT('SRID=4674;POINT (-40.408796 -2.713121)'))) / (select extract(epoch from '2026-07-17 12:59:08'::timestamp) - extract(epoch from '2026-07-17 12:59:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408709 -2.713213)', '2026-07-17 12:59:18', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408796 -2.713121)'), GeomFromEWKT('SRID=4674;POINT (-40.408709 -2.713213)'))) / (select extract(epoch from '2026-07-17 12:59:18'::timestamp) - extract(epoch from '2026-07-17 12:59:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408796 -2.713121)'), GeomFromEWKT('SRID=4674;POINT (-40.408709 -2.713213)'))) / (select extract(epoch from '2026-07-17 12:59:18'::timestamp) - extract(epoch from '2026-07-17 12:59:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408642 -2.713237)', '2026-07-17 12:59:26', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408709 -2.713213)'), GeomFromEWKT('SRID=4674;POINT (-40.408642 -2.713237)'))) / (select extract(epoch from '2026-07-17 12:59:26'::timestamp) - extract(epoch from '2026-07-17 12:59:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408709 -2.713213)'), GeomFromEWKT('SRID=4674;POINT (-40.408642 -2.713237)'))) / (select extract(epoch from '2026-07-17 12:59:26'::timestamp) - extract(epoch from '2026-07-17 12:59: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'), 47831, 'SRID=4674;POINT (-40.408579 -2.713254)', '2026-07-17 12:59:33', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408642 -2.713237)'), GeomFromEWKT('SRID=4674;POINT (-40.408579 -2.713254)'))) / (select extract(epoch from '2026-07-17 12:59:33'::timestamp) - extract(epoch from '2026-07-17 12:59:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408642 -2.713237)'), GeomFromEWKT('SRID=4674;POINT (-40.408579 -2.713254)'))) / (select extract(epoch from '2026-07-17 12:59:33'::timestamp) - extract(epoch from '2026-07-17 12:59:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408506 -2.713267)', '2026-07-17 12:59:41', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408579 -2.713254)'), GeomFromEWKT('SRID=4674;POINT (-40.408506 -2.713267)'))) / (select extract(epoch from '2026-07-17 12:59:41'::timestamp) - extract(epoch from '2026-07-17 12:59:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408579 -2.713254)'), GeomFromEWKT('SRID=4674;POINT (-40.408506 -2.713267)'))) / (select extract(epoch from '2026-07-17 12:59:41'::timestamp) - extract(epoch from '2026-07-17 12:59: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'), 47831, 'SRID=4674;POINT (-40.408422 -2.713292)', '2026-07-17 12:59:48', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408506 -2.713267)'), GeomFromEWKT('SRID=4674;POINT (-40.408422 -2.713292)'))) / (select extract(epoch from '2026-07-17 12:59:48'::timestamp) - extract(epoch from '2026-07-17 12:59:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408506 -2.713267)'), GeomFromEWKT('SRID=4674;POINT (-40.408422 -2.713292)'))) / (select extract(epoch from '2026-07-17 12:59:48'::timestamp) - extract(epoch from '2026-07-17 12:59: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'), 47831, 'SRID=4674;POINT (-40.40831 -2.713341)', '2026-07-17 12:59:57', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408422 -2.713292)'), GeomFromEWKT('SRID=4674;POINT (-40.40831 -2.713341)'))) / (select extract(epoch from '2026-07-17 12:59:57'::timestamp) - extract(epoch from '2026-07-17 12:59:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408422 -2.713292)'), GeomFromEWKT('SRID=4674;POINT (-40.40831 -2.713341)'))) / (select extract(epoch from '2026-07-17 12:59:57'::timestamp) - extract(epoch from '2026-07-17 12:59:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.40821 -2.713373)', '2026-07-17 13:00:05', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40831 -2.713341)'), GeomFromEWKT('SRID=4674;POINT (-40.40821 -2.713373)'))) / (select extract(epoch from '2026-07-17 13:00:05'::timestamp) - extract(epoch from '2026-07-17 12:59:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40831 -2.713341)'), GeomFromEWKT('SRID=4674;POINT (-40.40821 -2.713373)'))) / (select extract(epoch from '2026-07-17 13:00:05'::timestamp) - extract(epoch from '2026-07-17 12:59: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'), 47831, 'SRID=4674;POINT (-40.408168 -2.713405)', '2026-07-17 13:00:11', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40821 -2.713373)'), GeomFromEWKT('SRID=4674;POINT (-40.408168 -2.713405)'))) / (select extract(epoch from '2026-07-17 13:00:11'::timestamp) - extract(epoch from '2026-07-17 13:00:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40821 -2.713373)'), GeomFromEWKT('SRID=4674;POINT (-40.408168 -2.713405)'))) / (select extract(epoch from '2026-07-17 13:00:11'::timestamp) - extract(epoch from '2026-07-17 13:00: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'), 47831, 'SRID=4674;POINT (-40.408097 -2.71342)', '2026-07-17 13:00:20', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408168 -2.713405)'), GeomFromEWKT('SRID=4674;POINT (-40.408097 -2.71342)'))) / (select extract(epoch from '2026-07-17 13:00:20'::timestamp) - extract(epoch from '2026-07-17 13:00:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408168 -2.713405)'), GeomFromEWKT('SRID=4674;POINT (-40.408097 -2.71342)'))) / (select extract(epoch from '2026-07-17 13:00:20'::timestamp) - extract(epoch from '2026-07-17 13:00:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.40803 -2.713427)', '2026-07-17 13:00:28', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408097 -2.71342)'), GeomFromEWKT('SRID=4674;POINT (-40.40803 -2.713427)'))) / (select extract(epoch from '2026-07-17 13:00:28'::timestamp) - extract(epoch from '2026-07-17 13:00:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408097 -2.71342)'), GeomFromEWKT('SRID=4674;POINT (-40.40803 -2.713427)'))) / (select extract(epoch from '2026-07-17 13:00:28'::timestamp) - extract(epoch from '2026-07-17 13:00: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'), 47831, 'SRID=4674;POINT (-40.407966 -2.713402)', '2026-07-17 13:00:36', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40803 -2.713427)'), GeomFromEWKT('SRID=4674;POINT (-40.407966 -2.713402)'))) / (select extract(epoch from '2026-07-17 13:00:36'::timestamp) - extract(epoch from '2026-07-17 13:00:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40803 -2.713427)'), GeomFromEWKT('SRID=4674;POINT (-40.407966 -2.713402)'))) / (select extract(epoch from '2026-07-17 13:00:36'::timestamp) - extract(epoch from '2026-07-17 13:00: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'), 47831, 'SRID=4674;POINT (-40.407902 -2.713448)', '2026-07-17 13:00:45', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407966 -2.713402)'), GeomFromEWKT('SRID=4674;POINT (-40.407902 -2.713448)'))) / (select extract(epoch from '2026-07-17 13:00:45'::timestamp) - extract(epoch from '2026-07-17 13:00:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407966 -2.713402)'), GeomFromEWKT('SRID=4674;POINT (-40.407902 -2.713448)'))) / (select extract(epoch from '2026-07-17 13:00:45'::timestamp) - extract(epoch from '2026-07-17 13:00: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'), 47831, 'SRID=4674;POINT (-40.407853 -2.713505)', '2026-07-17 13:00:58', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407902 -2.713448)'), GeomFromEWKT('SRID=4674;POINT (-40.407853 -2.713505)'))) / (select extract(epoch from '2026-07-17 13:00:58'::timestamp) - extract(epoch from '2026-07-17 13:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407902 -2.713448)'), GeomFromEWKT('SRID=4674;POINT (-40.407853 -2.713505)'))) / (select extract(epoch from '2026-07-17 13:00:58'::timestamp) - extract(epoch from '2026-07-17 13:00: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'), 47831, 'SRID=4674;POINT (-40.407874 -2.713452)', '2026-07-17 13:01:08', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407853 -2.713505)'), GeomFromEWKT('SRID=4674;POINT (-40.407874 -2.713452)'))) / (select extract(epoch from '2026-07-17 13:01:08'::timestamp) - extract(epoch from '2026-07-17 13:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407853 -2.713505)'), GeomFromEWKT('SRID=4674;POINT (-40.407874 -2.713452)'))) / (select extract(epoch from '2026-07-17 13:01:08'::timestamp) - extract(epoch from '2026-07-17 13:00: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'), 47831, 'SRID=4674;POINT (-40.407962 -2.713369)', '2026-07-17 13:01:23', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407874 -2.713452)'), GeomFromEWKT('SRID=4674;POINT (-40.407962 -2.713369)'))) / (select extract(epoch from '2026-07-17 13:01:23'::timestamp) - extract(epoch from '2026-07-17 13:01:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407874 -2.713452)'), GeomFromEWKT('SRID=4674;POINT (-40.407962 -2.713369)'))) / (select extract(epoch from '2026-07-17 13:01:23'::timestamp) - extract(epoch from '2026-07-17 13:01:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.407984 -2.713323)', '2026-07-17 13:01:37', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407962 -2.713369)'), GeomFromEWKT('SRID=4674;POINT (-40.407984 -2.713323)'))) / (select extract(epoch from '2026-07-17 13:01:37'::timestamp) - extract(epoch from '2026-07-17 13:01:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407962 -2.713369)'), GeomFromEWKT('SRID=4674;POINT (-40.407984 -2.713323)'))) / (select extract(epoch from '2026-07-17 13:01:37'::timestamp) - extract(epoch from '2026-07-17 13:01: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'), 47831, 'SRID=4674;POINT (-40.407961 -2.713353)', '2026-07-17 13:02:02', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407984 -2.713323)'), GeomFromEWKT('SRID=4674;POINT (-40.407961 -2.713353)'))) / (select extract(epoch from '2026-07-17 13:02:02'::timestamp) - extract(epoch from '2026-07-17 13:01:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407984 -2.713323)'), GeomFromEWKT('SRID=4674;POINT (-40.407961 -2.713353)'))) / (select extract(epoch from '2026-07-17 13:02:02'::timestamp) - extract(epoch from '2026-07-17 13:01: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'), 47831, 'SRID=4674;POINT (-40.40795 -2.713375)', '2026-07-17 13:02:12', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407961 -2.713353)'), GeomFromEWKT('SRID=4674;POINT (-40.40795 -2.713375)'))) / (select extract(epoch from '2026-07-17 13:02:12'::timestamp) - extract(epoch from '2026-07-17 13:02:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407961 -2.713353)'), GeomFromEWKT('SRID=4674;POINT (-40.40795 -2.713375)'))) / (select extract(epoch from '2026-07-17 13:02:12'::timestamp) - extract(epoch from '2026-07-17 13:02:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.407971 -2.713396)', '2026-07-17 13:02:36', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40795 -2.713375)'), GeomFromEWKT('SRID=4674;POINT (-40.407971 -2.713396)'))) / (select extract(epoch from '2026-07-17 13:02:36'::timestamp) - extract(epoch from '2026-07-17 13:02:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40795 -2.713375)'), GeomFromEWKT('SRID=4674;POINT (-40.407971 -2.713396)'))) / (select extract(epoch from '2026-07-17 13:02:36'::timestamp) - extract(epoch from '2026-07-17 13:02: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'), 47831, 'SRID=4674;POINT (-40.408003 -2.713405)', '2026-07-17 13:02:42', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407971 -2.713396)'), GeomFromEWKT('SRID=4674;POINT (-40.408003 -2.713405)'))) / (select extract(epoch from '2026-07-17 13:02:42'::timestamp) - extract(epoch from '2026-07-17 13:02:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407971 -2.713396)'), GeomFromEWKT('SRID=4674;POINT (-40.408003 -2.713405)'))) / (select extract(epoch from '2026-07-17 13:02:42'::timestamp) - extract(epoch from '2026-07-17 13:02:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408047 -2.713411)', '2026-07-17 13:02:53', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408003 -2.713405)'), GeomFromEWKT('SRID=4674;POINT (-40.408047 -2.713411)'))) / (select extract(epoch from '2026-07-17 13:02:53'::timestamp) - extract(epoch from '2026-07-17 13:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408003 -2.713405)'), GeomFromEWKT('SRID=4674;POINT (-40.408047 -2.713411)'))) / (select extract(epoch from '2026-07-17 13:02:53'::timestamp) - extract(epoch from '2026-07-17 13:02: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'), 47831, 'SRID=4674;POINT (-40.408147 -2.713411)', '2026-07-17 13:03:07', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408047 -2.713411)'), GeomFromEWKT('SRID=4674;POINT (-40.408147 -2.713411)'))) / (select extract(epoch from '2026-07-17 13:03:07'::timestamp) - extract(epoch from '2026-07-17 13:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408047 -2.713411)'), GeomFromEWKT('SRID=4674;POINT (-40.408147 -2.713411)'))) / (select extract(epoch from '2026-07-17 13:03:07'::timestamp) - extract(epoch from '2026-07-17 13:02: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'), 47831, 'SRID=4674;POINT (-40.4082 -2.713347)', '2026-07-17 13:03:16', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408147 -2.713411)'), GeomFromEWKT('SRID=4674;POINT (-40.4082 -2.713347)'))) / (select extract(epoch from '2026-07-17 13:03:16'::timestamp) - extract(epoch from '2026-07-17 13:03:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408147 -2.713411)'), GeomFromEWKT('SRID=4674;POINT (-40.4082 -2.713347)'))) / (select extract(epoch from '2026-07-17 13:03:16'::timestamp) - extract(epoch from '2026-07-17 13:03: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'), 47831, 'SRID=4674;POINT (-40.408167 -2.713274)', '2026-07-17 13:03:26', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4082 -2.713347)'), GeomFromEWKT('SRID=4674;POINT (-40.408167 -2.713274)'))) / (select extract(epoch from '2026-07-17 13:03:26'::timestamp) - extract(epoch from '2026-07-17 13:03:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4082 -2.713347)'), GeomFromEWKT('SRID=4674;POINT (-40.408167 -2.713274)'))) / (select extract(epoch from '2026-07-17 13:03:26'::timestamp) - extract(epoch from '2026-07-17 13:03: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'), 47831, 'SRID=4674;POINT (-40.408132 -2.71328)', '2026-07-17 13:03:33', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408167 -2.713274)'), GeomFromEWKT('SRID=4674;POINT (-40.408132 -2.71328)'))) / (select extract(epoch from '2026-07-17 13:03:33'::timestamp) - extract(epoch from '2026-07-17 13:03:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408167 -2.713274)'), GeomFromEWKT('SRID=4674;POINT (-40.408132 -2.71328)'))) / (select extract(epoch from '2026-07-17 13:03:33'::timestamp) - extract(epoch from '2026-07-17 13:03:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408118 -2.71332)', '2026-07-17 13:03:39', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408132 -2.71328)'), GeomFromEWKT('SRID=4674;POINT (-40.408118 -2.71332)'))) / (select extract(epoch from '2026-07-17 13:03:39'::timestamp) - extract(epoch from '2026-07-17 13:03:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408132 -2.71328)'), GeomFromEWKT('SRID=4674;POINT (-40.408118 -2.71332)'))) / (select extract(epoch from '2026-07-17 13:03:39'::timestamp) - extract(epoch from '2026-07-17 13:03: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'), 47831, 'SRID=4674;POINT (-40.408043 -2.713403)', '2026-07-17 13:03:52', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408118 -2.71332)'), GeomFromEWKT('SRID=4674;POINT (-40.408043 -2.713403)'))) / (select extract(epoch from '2026-07-17 13:03:52'::timestamp) - extract(epoch from '2026-07-17 13:03:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408118 -2.71332)'), GeomFromEWKT('SRID=4674;POINT (-40.408043 -2.713403)'))) / (select extract(epoch from '2026-07-17 13:03:52'::timestamp) - extract(epoch from '2026-07-17 13:03: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'), 47831, 'SRID=4674;POINT (-40.407974 -2.713445)', '2026-07-17 13:04:06', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408043 -2.713403)'), GeomFromEWKT('SRID=4674;POINT (-40.407974 -2.713445)'))) / (select extract(epoch from '2026-07-17 13:04:06'::timestamp) - extract(epoch from '2026-07-17 13:03:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408043 -2.713403)'), GeomFromEWKT('SRID=4674;POINT (-40.407974 -2.713445)'))) / (select extract(epoch from '2026-07-17 13:04:06'::timestamp) - extract(epoch from '2026-07-17 13:03: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'), 47831, 'SRID=4674;POINT (-40.407962 -2.713461)', '2026-07-17 13:04:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407974 -2.713445)'), GeomFromEWKT('SRID=4674;POINT (-40.407962 -2.713461)'))) / (select extract(epoch from '2026-07-17 13:04:15'::timestamp) - extract(epoch from '2026-07-17 13:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407974 -2.713445)'), GeomFromEWKT('SRID=4674;POINT (-40.407962 -2.713461)'))) / (select extract(epoch from '2026-07-17 13:04:15'::timestamp) - extract(epoch from '2026-07-17 13:04:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.407979 -2.713406)', '2026-07-17 13:04:37', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407962 -2.713461)'), GeomFromEWKT('SRID=4674;POINT (-40.407979 -2.713406)'))) / (select extract(epoch from '2026-07-17 13:04:37'::timestamp) - extract(epoch from '2026-07-17 13:04:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407962 -2.713461)'), GeomFromEWKT('SRID=4674;POINT (-40.407979 -2.713406)'))) / (select extract(epoch from '2026-07-17 13:04:37'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.407998 -2.713374)', '2026-07-17 13:04:52', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407979 -2.713406)'), GeomFromEWKT('SRID=4674;POINT (-40.407998 -2.713374)'))) / (select extract(epoch from '2026-07-17 13:04:52'::timestamp) - extract(epoch from '2026-07-17 13:04:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407979 -2.713406)'), GeomFromEWKT('SRID=4674;POINT (-40.407998 -2.713374)'))) / (select extract(epoch from '2026-07-17 13:04:52'::timestamp) - extract(epoch from '2026-07-17 13:04: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'), 47831, 'SRID=4674;POINT (-40.40798 -2.713384)', '2026-07-17 13:05:02', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407998 -2.713374)'), GeomFromEWKT('SRID=4674;POINT (-40.40798 -2.713384)'))) / (select extract(epoch from '2026-07-17 13:05:02'::timestamp) - extract(epoch from '2026-07-17 13:04:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407998 -2.713374)'), GeomFromEWKT('SRID=4674;POINT (-40.40798 -2.713384)'))) / (select extract(epoch from '2026-07-17 13:05:02'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.40794 -2.713367)', '2026-07-17 13:05:18', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40798 -2.713384)'), GeomFromEWKT('SRID=4674;POINT (-40.40794 -2.713367)'))) / (select extract(epoch from '2026-07-17 13:05:18'::timestamp) - extract(epoch from '2026-07-17 13:05:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40798 -2.713384)'), GeomFromEWKT('SRID=4674;POINT (-40.40794 -2.713367)'))) / (select extract(epoch from '2026-07-17 13:05:18'::timestamp) - extract(epoch from '2026-07-17 13:05:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.407909 -2.713323)', '2026-07-17 13:05:29', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40794 -2.713367)'), GeomFromEWKT('SRID=4674;POINT (-40.407909 -2.713323)'))) / (select extract(epoch from '2026-07-17 13:05:29'::timestamp) - extract(epoch from '2026-07-17 13:05:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40794 -2.713367)'), GeomFromEWKT('SRID=4674;POINT (-40.407909 -2.713323)'))) / (select extract(epoch from '2026-07-17 13:05:29'::timestamp) - extract(epoch from '2026-07-17 13:05:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.407946 -2.713323)', '2026-07-17 13:05:47', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407909 -2.713323)'), GeomFromEWKT('SRID=4674;POINT (-40.407946 -2.713323)'))) / (select extract(epoch from '2026-07-17 13:05:47'::timestamp) - extract(epoch from '2026-07-17 13:05:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407909 -2.713323)'), GeomFromEWKT('SRID=4674;POINT (-40.407946 -2.713323)'))) / (select extract(epoch from '2026-07-17 13:05:47'::timestamp) - extract(epoch from '2026-07-17 13:05:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408005 -2.713323)', '2026-07-17 13:06:00', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407946 -2.713323)'), GeomFromEWKT('SRID=4674;POINT (-40.408005 -2.713323)'))) / (select extract(epoch from '2026-07-17 13:06:00'::timestamp) - extract(epoch from '2026-07-17 13:05:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407946 -2.713323)'), GeomFromEWKT('SRID=4674;POINT (-40.408005 -2.713323)'))) / (select extract(epoch from '2026-07-17 13:06:00'::timestamp) - extract(epoch from '2026-07-17 13:05: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'), 47831, 'SRID=4674;POINT (-40.40808 -2.713319)', '2026-07-17 13:06:12', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408005 -2.713323)'), GeomFromEWKT('SRID=4674;POINT (-40.40808 -2.713319)'))) / (select extract(epoch from '2026-07-17 13:06:12'::timestamp) - extract(epoch from '2026-07-17 13:06:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408005 -2.713323)'), GeomFromEWKT('SRID=4674;POINT (-40.40808 -2.713319)'))) / (select extract(epoch from '2026-07-17 13:06:12'::timestamp) - extract(epoch from '2026-07-17 13:06: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'), 47831, 'SRID=4674;POINT (-40.408152 -2.713241)', '2026-07-17 13:06:23', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40808 -2.713319)'), GeomFromEWKT('SRID=4674;POINT (-40.408152 -2.713241)'))) / (select extract(epoch from '2026-07-17 13:06:23'::timestamp) - extract(epoch from '2026-07-17 13:06:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40808 -2.713319)'), GeomFromEWKT('SRID=4674;POINT (-40.408152 -2.713241)'))) / (select extract(epoch from '2026-07-17 13:06:23'::timestamp) - extract(epoch from '2026-07-17 13:06:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408141 -2.713173)', '2026-07-17 13:06:33', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408152 -2.713241)'), GeomFromEWKT('SRID=4674;POINT (-40.408141 -2.713173)'))) / (select extract(epoch from '2026-07-17 13:06:33'::timestamp) - extract(epoch from '2026-07-17 13:06:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408152 -2.713241)'), GeomFromEWKT('SRID=4674;POINT (-40.408141 -2.713173)'))) / (select extract(epoch from '2026-07-17 13:06:33'::timestamp) - extract(epoch from '2026-07-17 13:06: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'), 47831, 'SRID=4674;POINT (-40.408089 -2.713169)', '2026-07-17 13:06:42', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408141 -2.713173)'), GeomFromEWKT('SRID=4674;POINT (-40.408089 -2.713169)'))) / (select extract(epoch from '2026-07-17 13:06:42'::timestamp) - extract(epoch from '2026-07-17 13:06:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408141 -2.713173)'), GeomFromEWKT('SRID=4674;POINT (-40.408089 -2.713169)'))) / (select extract(epoch from '2026-07-17 13:06:42'::timestamp) - extract(epoch from '2026-07-17 13:06: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'), 47831, 'SRID=4674;POINT (-40.408057 -2.713263)', '2026-07-17 13:06:51', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408089 -2.713169)'), GeomFromEWKT('SRID=4674;POINT (-40.408057 -2.713263)'))) / (select extract(epoch from '2026-07-17 13:06:51'::timestamp) - extract(epoch from '2026-07-17 13:06:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408089 -2.713169)'), GeomFromEWKT('SRID=4674;POINT (-40.408057 -2.713263)'))) / (select extract(epoch from '2026-07-17 13:06:51'::timestamp) - extract(epoch from '2026-07-17 13:06: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'), 47831, 'SRID=4674;POINT (-40.407963 -2.713362)', '2026-07-17 13:07:03', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408057 -2.713263)'), GeomFromEWKT('SRID=4674;POINT (-40.407963 -2.713362)'))) / (select extract(epoch from '2026-07-17 13:07:03'::timestamp) - extract(epoch from '2026-07-17 13:06:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408057 -2.713263)'), GeomFromEWKT('SRID=4674;POINT (-40.407963 -2.713362)'))) / (select extract(epoch from '2026-07-17 13:07:03'::timestamp) - extract(epoch from '2026-07-17 13:06:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.407836 -2.713384)', '2026-07-17 13:07:15', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407963 -2.713362)'), GeomFromEWKT('SRID=4674;POINT (-40.407836 -2.713384)'))) / (select extract(epoch from '2026-07-17 13:07:15'::timestamp) - extract(epoch from '2026-07-17 13:07:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407963 -2.713362)'), GeomFromEWKT('SRID=4674;POINT (-40.407836 -2.713384)'))) / (select extract(epoch from '2026-07-17 13:07:15'::timestamp) - extract(epoch from '2026-07-17 13:07: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'), 47831, 'SRID=4674;POINT (-40.407696 -2.713426)', '2026-07-17 13:07:28', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407836 -2.713384)'), GeomFromEWKT('SRID=4674;POINT (-40.407696 -2.713426)'))) / (select extract(epoch from '2026-07-17 13:07:28'::timestamp) - extract(epoch from '2026-07-17 13:07:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407836 -2.713384)'), GeomFromEWKT('SRID=4674;POINT (-40.407696 -2.713426)'))) / (select extract(epoch from '2026-07-17 13:07:28'::timestamp) - extract(epoch from '2026-07-17 13:07: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'), 47831, 'SRID=4674;POINT (-40.40761 -2.713479)', '2026-07-17 13:07:37', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407696 -2.713426)'), GeomFromEWKT('SRID=4674;POINT (-40.40761 -2.713479)'))) / (select extract(epoch from '2026-07-17 13:07:37'::timestamp) - extract(epoch from '2026-07-17 13:07:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407696 -2.713426)'), GeomFromEWKT('SRID=4674;POINT (-40.40761 -2.713479)'))) / (select extract(epoch from '2026-07-17 13:07:37'::timestamp) - extract(epoch from '2026-07-17 13:07: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'), 47831, 'SRID=4674;POINT (-40.407466 -2.713531)', '2026-07-17 13:07:51', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40761 -2.713479)'), GeomFromEWKT('SRID=4674;POINT (-40.407466 -2.713531)'))) / (select extract(epoch from '2026-07-17 13:07:51'::timestamp) - extract(epoch from '2026-07-17 13:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40761 -2.713479)'), GeomFromEWKT('SRID=4674;POINT (-40.407466 -2.713531)'))) / (select extract(epoch from '2026-07-17 13:07:51'::timestamp) - extract(epoch from '2026-07-17 13:07:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.407314 -2.713545)', '2026-07-17 13:08:04', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407466 -2.713531)'), GeomFromEWKT('SRID=4674;POINT (-40.407314 -2.713545)'))) / (select extract(epoch from '2026-07-17 13:08:04'::timestamp) - extract(epoch from '2026-07-17 13:07:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407466 -2.713531)'), GeomFromEWKT('SRID=4674;POINT (-40.407314 -2.713545)'))) / (select extract(epoch from '2026-07-17 13:08:04'::timestamp) - extract(epoch from '2026-07-17 13:07:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.407286 -2.713546)', '2026-07-17 13:08:07', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407314 -2.713545)'), GeomFromEWKT('SRID=4674;POINT (-40.407286 -2.713546)'))) / (select extract(epoch from '2026-07-17 13:08:07'::timestamp) - extract(epoch from '2026-07-17 13:08:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407314 -2.713545)'), GeomFromEWKT('SRID=4674;POINT (-40.407286 -2.713546)'))) / (select extract(epoch from '2026-07-17 13:08:07'::timestamp) - extract(epoch from '2026-07-17 13:08: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'), 47831, 'SRID=4674;POINT (-40.407258 -2.713543)', '2026-07-17 13:08:10', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407286 -2.713546)'), GeomFromEWKT('SRID=4674;POINT (-40.407258 -2.713543)'))) / (select extract(epoch from '2026-07-17 13:08:10'::timestamp) - extract(epoch from '2026-07-17 13:08:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407286 -2.713546)'), GeomFromEWKT('SRID=4674;POINT (-40.407258 -2.713543)'))) / (select extract(epoch from '2026-07-17 13:08:10'::timestamp) - extract(epoch from '2026-07-17 13:08: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'), 47831, 'SRID=4674;POINT (-40.407172 -2.713538)', '2026-07-17 13:08:18', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407258 -2.713543)'), GeomFromEWKT('SRID=4674;POINT (-40.407172 -2.713538)'))) / (select extract(epoch from '2026-07-17 13:08:18'::timestamp) - extract(epoch from '2026-07-17 13:08:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407258 -2.713543)'), GeomFromEWKT('SRID=4674;POINT (-40.407172 -2.713538)'))) / (select extract(epoch from '2026-07-17 13:08:18'::timestamp) - extract(epoch from '2026-07-17 13:08:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.407087 -2.713542)', '2026-07-17 13:08:26', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407172 -2.713538)'), GeomFromEWKT('SRID=4674;POINT (-40.407087 -2.713542)'))) / (select extract(epoch from '2026-07-17 13:08:26'::timestamp) - extract(epoch from '2026-07-17 13:08:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407172 -2.713538)'), GeomFromEWKT('SRID=4674;POINT (-40.407087 -2.713542)'))) / (select extract(epoch from '2026-07-17 13:08:26'::timestamp) - extract(epoch from '2026-07-17 13:08: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'), 47831, 'SRID=4674;POINT (-40.407022 -2.713565)', '2026-07-17 13:08:32', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407087 -2.713542)'), GeomFromEWKT('SRID=4674;POINT (-40.407022 -2.713565)'))) / (select extract(epoch from '2026-07-17 13:08:32'::timestamp) - extract(epoch from '2026-07-17 13:08:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407087 -2.713542)'), GeomFromEWKT('SRID=4674;POINT (-40.407022 -2.713565)'))) / (select extract(epoch from '2026-07-17 13:08:32'::timestamp) - extract(epoch from '2026-07-17 13:08:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.406973 -2.713588)', '2026-07-17 13:08:39', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407022 -2.713565)'), GeomFromEWKT('SRID=4674;POINT (-40.406973 -2.713588)'))) / (select extract(epoch from '2026-07-17 13:08:39'::timestamp) - extract(epoch from '2026-07-17 13:08:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407022 -2.713565)'), GeomFromEWKT('SRID=4674;POINT (-40.406973 -2.713588)'))) / (select extract(epoch from '2026-07-17 13:08:39'::timestamp) - extract(epoch from '2026-07-17 13:08: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'), 47831, 'SRID=4674;POINT (-40.406953 -2.71354)', '2026-07-17 13:08:50', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406973 -2.713588)'), GeomFromEWKT('SRID=4674;POINT (-40.406953 -2.71354)'))) / (select extract(epoch from '2026-07-17 13:08:50'::timestamp) - extract(epoch from '2026-07-17 13:08:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406973 -2.713588)'), GeomFromEWKT('SRID=4674;POINT (-40.406953 -2.71354)'))) / (select extract(epoch from '2026-07-17 13:08:50'::timestamp) - extract(epoch from '2026-07-17 13:08:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.406996 -2.713433)', '2026-07-17 13:09:02', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406953 -2.71354)'), GeomFromEWKT('SRID=4674;POINT (-40.406996 -2.713433)'))) / (select extract(epoch from '2026-07-17 13:09:02'::timestamp) - extract(epoch from '2026-07-17 13:08:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406953 -2.71354)'), GeomFromEWKT('SRID=4674;POINT (-40.406996 -2.713433)'))) / (select extract(epoch from '2026-07-17 13:09:02'::timestamp) - extract(epoch from '2026-07-17 13:08:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.407036 -2.713364)', '2026-07-17 13:09:15', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406996 -2.713433)'), GeomFromEWKT('SRID=4674;POINT (-40.407036 -2.713364)'))) / (select extract(epoch from '2026-07-17 13:09:15'::timestamp) - extract(epoch from '2026-07-17 13:09:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406996 -2.713433)'), GeomFromEWKT('SRID=4674;POINT (-40.407036 -2.713364)'))) / (select extract(epoch from '2026-07-17 13:09:15'::timestamp) - extract(epoch from '2026-07-17 13:09: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'), 47831, 'SRID=4674;POINT (-40.407039 -2.713337)', '2026-07-17 13:09:26', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407036 -2.713364)'), GeomFromEWKT('SRID=4674;POINT (-40.407039 -2.713337)'))) / (select extract(epoch from '2026-07-17 13:09:26'::timestamp) - extract(epoch from '2026-07-17 13:09:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407036 -2.713364)'), GeomFromEWKT('SRID=4674;POINT (-40.407039 -2.713337)'))) / (select extract(epoch from '2026-07-17 13:09:26'::timestamp) - extract(epoch from '2026-07-17 13:09: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'), 47831, 'SRID=4674;POINT (-40.407027 -2.713339)', '2026-07-17 13:09:33', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407039 -2.713337)'), GeomFromEWKT('SRID=4674;POINT (-40.407027 -2.713339)'))) / (select extract(epoch from '2026-07-17 13:09:33'::timestamp) - extract(epoch from '2026-07-17 13:09:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407039 -2.713337)'), GeomFromEWKT('SRID=4674;POINT (-40.407027 -2.713339)'))) / (select extract(epoch from '2026-07-17 13:09:33'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.407041 -2.713372)', '2026-07-17 13:09:40', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407027 -2.713339)'), GeomFromEWKT('SRID=4674;POINT (-40.407041 -2.713372)'))) / (select extract(epoch from '2026-07-17 13:09:40'::timestamp) - extract(epoch from '2026-07-17 13:09:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407027 -2.713339)'), GeomFromEWKT('SRID=4674;POINT (-40.407041 -2.713372)'))) / (select extract(epoch from '2026-07-17 13:09:40'::timestamp) - extract(epoch from '2026-07-17 13:09:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.40705 -2.71341)', '2026-07-17 13:09:50', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407041 -2.713372)'), GeomFromEWKT('SRID=4674;POINT (-40.40705 -2.71341)'))) / (select extract(epoch from '2026-07-17 13:09:50'::timestamp) - extract(epoch from '2026-07-17 13:09:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407041 -2.713372)'), GeomFromEWKT('SRID=4674;POINT (-40.40705 -2.71341)'))) / (select extract(epoch from '2026-07-17 13:09:50'::timestamp) - extract(epoch from '2026-07-17 13:09:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.407042 -2.713434)', '2026-07-17 13:10:00', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40705 -2.71341)'), GeomFromEWKT('SRID=4674;POINT (-40.407042 -2.713434)'))) / (select extract(epoch from '2026-07-17 13:10:00'::timestamp) - extract(epoch from '2026-07-17 13:09:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40705 -2.71341)'), GeomFromEWKT('SRID=4674;POINT (-40.407042 -2.713434)'))) / (select extract(epoch from '2026-07-17 13:10:00'::timestamp) - extract(epoch from '2026-07-17 13:09: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'), 47831, 'SRID=4674;POINT (-40.407037 -2.713406)', '2026-07-17 13:10:36', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407042 -2.713434)'), GeomFromEWKT('SRID=4674;POINT (-40.407037 -2.713406)'))) / (select extract(epoch from '2026-07-17 13:10:36'::timestamp) - extract(epoch from '2026-07-17 13:10:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407042 -2.713434)'), GeomFromEWKT('SRID=4674;POINT (-40.407037 -2.713406)'))) / (select extract(epoch from '2026-07-17 13:10:36'::timestamp) - extract(epoch from '2026-07-17 13:10:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.407063 -2.713433)', '2026-07-17 13:10:58', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407037 -2.713406)'), GeomFromEWKT('SRID=4674;POINT (-40.407063 -2.713433)'))) / (select extract(epoch from '2026-07-17 13:10:58'::timestamp) - extract(epoch from '2026-07-17 13:10:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407037 -2.713406)'), GeomFromEWKT('SRID=4674;POINT (-40.407063 -2.713433)'))) / (select extract(epoch from '2026-07-17 13:10:58'::timestamp) - extract(epoch from '2026-07-17 13:10: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'), 47831, 'SRID=4674;POINT (-40.407076 -2.713462)', '2026-07-17 13:11:10', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407063 -2.713433)'), GeomFromEWKT('SRID=4674;POINT (-40.407076 -2.713462)'))) / (select extract(epoch from '2026-07-17 13:11:10'::timestamp) - extract(epoch from '2026-07-17 13:10:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407063 -2.713433)'), GeomFromEWKT('SRID=4674;POINT (-40.407076 -2.713462)'))) / (select extract(epoch from '2026-07-17 13:11:10'::timestamp) - extract(epoch from '2026-07-17 13:10: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'), 47831, 'SRID=4674;POINT (-40.407124 -2.713454)', '2026-07-17 13:11:40', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407076 -2.713462)'), GeomFromEWKT('SRID=4674;POINT (-40.407124 -2.713454)'))) / (select extract(epoch from '2026-07-17 13:11:40'::timestamp) - extract(epoch from '2026-07-17 13:11:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407076 -2.713462)'), GeomFromEWKT('SRID=4674;POINT (-40.407124 -2.713454)'))) / (select extract(epoch from '2026-07-17 13:11:40'::timestamp) - extract(epoch from '2026-07-17 13:11:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.407152 -2.713446)', '2026-07-17 13:11:49', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407124 -2.713454)'), GeomFromEWKT('SRID=4674;POINT (-40.407152 -2.713446)'))) / (select extract(epoch from '2026-07-17 13:11:49'::timestamp) - extract(epoch from '2026-07-17 13:11:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407124 -2.713454)'), GeomFromEWKT('SRID=4674;POINT (-40.407152 -2.713446)'))) / (select extract(epoch from '2026-07-17 13:11:49'::timestamp) - extract(epoch from '2026-07-17 13:11: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'), 47831, 'SRID=4674;POINT (-40.407204 -2.713443)', '2026-07-17 13:12:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407152 -2.713446)'), GeomFromEWKT('SRID=4674;POINT (-40.407204 -2.713443)'))) / (select extract(epoch from '2026-07-17 13:12:00'::timestamp) - extract(epoch from '2026-07-17 13:11:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407152 -2.713446)'), GeomFromEWKT('SRID=4674;POINT (-40.407204 -2.713443)'))) / (select extract(epoch from '2026-07-17 13:12:00'::timestamp) - extract(epoch from '2026-07-17 13:11:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.407274 -2.713447)', '2026-07-17 13:12:14', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407204 -2.713443)'), GeomFromEWKT('SRID=4674;POINT (-40.407274 -2.713447)'))) / (select extract(epoch from '2026-07-17 13:12:14'::timestamp) - extract(epoch from '2026-07-17 13:12:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407204 -2.713443)'), GeomFromEWKT('SRID=4674;POINT (-40.407274 -2.713447)'))) / (select extract(epoch from '2026-07-17 13:12:14'::timestamp) - extract(epoch from '2026-07-17 13:12: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'), 47831, 'SRID=4674;POINT (-40.407355 -2.713459)', '2026-07-17 13:12:26', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407274 -2.713447)'), GeomFromEWKT('SRID=4674;POINT (-40.407355 -2.713459)'))) / (select extract(epoch from '2026-07-17 13:12:26'::timestamp) - extract(epoch from '2026-07-17 13:12:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407274 -2.713447)'), GeomFromEWKT('SRID=4674;POINT (-40.407355 -2.713459)'))) / (select extract(epoch from '2026-07-17 13:12:26'::timestamp) - extract(epoch from '2026-07-17 13:12:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.407439 -2.713396)', '2026-07-17 13:12:39', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407355 -2.713459)'), GeomFromEWKT('SRID=4674;POINT (-40.407439 -2.713396)'))) / (select extract(epoch from '2026-07-17 13:12:39'::timestamp) - extract(epoch from '2026-07-17 13:12:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407355 -2.713459)'), GeomFromEWKT('SRID=4674;POINT (-40.407439 -2.713396)'))) / (select extract(epoch from '2026-07-17 13:12:39'::timestamp) - extract(epoch from '2026-07-17 13:12: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'), 47831, 'SRID=4674;POINT (-40.407468 -2.713299)', '2026-07-17 13:12:47', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407439 -2.713396)'), GeomFromEWKT('SRID=4674;POINT (-40.407468 -2.713299)'))) / (select extract(epoch from '2026-07-17 13:12:47'::timestamp) - extract(epoch from '2026-07-17 13:12:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407439 -2.713396)'), GeomFromEWKT('SRID=4674;POINT (-40.407468 -2.713299)'))) / (select extract(epoch from '2026-07-17 13:12:47'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.407465 -2.713218)', '2026-07-17 13:12:54', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407468 -2.713299)'), GeomFromEWKT('SRID=4674;POINT (-40.407465 -2.713218)'))) / (select extract(epoch from '2026-07-17 13:12:54'::timestamp) - extract(epoch from '2026-07-17 13:12:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407468 -2.713299)'), GeomFromEWKT('SRID=4674;POINT (-40.407465 -2.713218)'))) / (select extract(epoch from '2026-07-17 13:12:54'::timestamp) - extract(epoch from '2026-07-17 13:12: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'), 47831, 'SRID=4674;POINT (-40.407435 -2.713181)', '2026-07-17 13:13:02', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407465 -2.713218)'), GeomFromEWKT('SRID=4674;POINT (-40.407435 -2.713181)'))) / (select extract(epoch from '2026-07-17 13:13:02'::timestamp) - extract(epoch from '2026-07-17 13:12:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407465 -2.713218)'), GeomFromEWKT('SRID=4674;POINT (-40.407435 -2.713181)'))) / (select extract(epoch from '2026-07-17 13:13:02'::timestamp) - extract(epoch from '2026-07-17 13:12: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'), 47831, 'SRID=4674;POINT (-40.407355 -2.71318)', '2026-07-17 13:13:10', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407435 -2.713181)'), GeomFromEWKT('SRID=4674;POINT (-40.407355 -2.71318)'))) / (select extract(epoch from '2026-07-17 13:13:10'::timestamp) - extract(epoch from '2026-07-17 13:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407435 -2.713181)'), GeomFromEWKT('SRID=4674;POINT (-40.407355 -2.71318)'))) / (select extract(epoch from '2026-07-17 13:13:10'::timestamp) - extract(epoch from '2026-07-17 13:13:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.407275 -2.713242)', '2026-07-17 13:13:16', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407355 -2.71318)'), GeomFromEWKT('SRID=4674;POINT (-40.407275 -2.713242)'))) / (select extract(epoch from '2026-07-17 13:13:16'::timestamp) - extract(epoch from '2026-07-17 13:13:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407355 -2.71318)'), GeomFromEWKT('SRID=4674;POINT (-40.407275 -2.713242)'))) / (select extract(epoch from '2026-07-17 13:13:16'::timestamp) - extract(epoch from '2026-07-17 13:13: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'), 47831, 'SRID=4674;POINT (-40.407189 -2.713345)', '2026-07-17 13:13:25', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407275 -2.713242)'), GeomFromEWKT('SRID=4674;POINT (-40.407189 -2.713345)'))) / (select extract(epoch from '2026-07-17 13:13:25'::timestamp) - extract(epoch from '2026-07-17 13:13:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407275 -2.713242)'), GeomFromEWKT('SRID=4674;POINT (-40.407189 -2.713345)'))) / (select extract(epoch from '2026-07-17 13:13:25'::timestamp) - extract(epoch from '2026-07-17 13:13: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'), 47831, 'SRID=4674;POINT (-40.407092 -2.713355)', '2026-07-17 13:13:32', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407189 -2.713345)'), GeomFromEWKT('SRID=4674;POINT (-40.407092 -2.713355)'))) / (select extract(epoch from '2026-07-17 13:13:32'::timestamp) - extract(epoch from '2026-07-17 13:13:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407189 -2.713345)'), GeomFromEWKT('SRID=4674;POINT (-40.407092 -2.713355)'))) / (select extract(epoch from '2026-07-17 13:13:32'::timestamp) - extract(epoch from '2026-07-17 13:13: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'), 47831, 'SRID=4674;POINT (-40.406976 -2.713343)', '2026-07-17 13:13:40', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407092 -2.713355)'), GeomFromEWKT('SRID=4674;POINT (-40.406976 -2.713343)'))) / (select extract(epoch from '2026-07-17 13:13:40'::timestamp) - extract(epoch from '2026-07-17 13:13:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407092 -2.713355)'), GeomFromEWKT('SRID=4674;POINT (-40.406976 -2.713343)'))) / (select extract(epoch from '2026-07-17 13:13:40'::timestamp) - extract(epoch from '2026-07-17 13:13:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.406854 -2.713323)', '2026-07-17 13:13:47', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406976 -2.713343)'), GeomFromEWKT('SRID=4674;POINT (-40.406854 -2.713323)'))) / (select extract(epoch from '2026-07-17 13:13:47'::timestamp) - extract(epoch from '2026-07-17 13:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406976 -2.713343)'), GeomFromEWKT('SRID=4674;POINT (-40.406854 -2.713323)'))) / (select extract(epoch from '2026-07-17 13:13:47'::timestamp) - extract(epoch from '2026-07-17 13:13:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.406747 -2.713316)', '2026-07-17 13:13:54', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406854 -2.713323)'), GeomFromEWKT('SRID=4674;POINT (-40.406747 -2.713316)'))) / (select extract(epoch from '2026-07-17 13:13:54'::timestamp) - extract(epoch from '2026-07-17 13:13:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406854 -2.713323)'), GeomFromEWKT('SRID=4674;POINT (-40.406747 -2.713316)'))) / (select extract(epoch from '2026-07-17 13:13:54'::timestamp) - extract(epoch from '2026-07-17 13:13:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.40665 -2.713331)', '2026-07-17 13:14:02', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406747 -2.713316)'), GeomFromEWKT('SRID=4674;POINT (-40.40665 -2.713331)'))) / (select extract(epoch from '2026-07-17 13:14:02'::timestamp) - extract(epoch from '2026-07-17 13:13:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406747 -2.713316)'), GeomFromEWKT('SRID=4674;POINT (-40.40665 -2.713331)'))) / (select extract(epoch from '2026-07-17 13:14:02'::timestamp) - extract(epoch from '2026-07-17 13:13: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'), 47831, 'SRID=4674;POINT (-40.406567 -2.713328)', '2026-07-17 13:14:08', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40665 -2.713331)'), GeomFromEWKT('SRID=4674;POINT (-40.406567 -2.713328)'))) / (select extract(epoch from '2026-07-17 13:14:08'::timestamp) - extract(epoch from '2026-07-17 13:14:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40665 -2.713331)'), GeomFromEWKT('SRID=4674;POINT (-40.406567 -2.713328)'))) / (select extract(epoch from '2026-07-17 13:14:08'::timestamp) - extract(epoch from '2026-07-17 13:14:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.406484 -2.71335)', '2026-07-17 13:14:14', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406567 -2.713328)'), GeomFromEWKT('SRID=4674;POINT (-40.406484 -2.71335)'))) / (select extract(epoch from '2026-07-17 13:14:14'::timestamp) - extract(epoch from '2026-07-17 13:14:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406567 -2.713328)'), GeomFromEWKT('SRID=4674;POINT (-40.406484 -2.71335)'))) / (select extract(epoch from '2026-07-17 13:14:14'::timestamp) - extract(epoch from '2026-07-17 13:14:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.406379 -2.713355)', '2026-07-17 13:14:21', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406484 -2.71335)'), GeomFromEWKT('SRID=4674;POINT (-40.406379 -2.713355)'))) / (select extract(epoch from '2026-07-17 13:14:21'::timestamp) - extract(epoch from '2026-07-17 13:14:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406484 -2.71335)'), GeomFromEWKT('SRID=4674;POINT (-40.406379 -2.713355)'))) / (select extract(epoch from '2026-07-17 13:14:21'::timestamp) - extract(epoch from '2026-07-17 13:14: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'), 47831, 'SRID=4674;POINT (-40.40625 -2.713374)', '2026-07-17 13:14:29', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406379 -2.713355)'), GeomFromEWKT('SRID=4674;POINT (-40.40625 -2.713374)'))) / (select extract(epoch from '2026-07-17 13:14:29'::timestamp) - extract(epoch from '2026-07-17 13:14:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406379 -2.713355)'), GeomFromEWKT('SRID=4674;POINT (-40.40625 -2.713374)'))) / (select extract(epoch from '2026-07-17 13:14:29'::timestamp) - extract(epoch from '2026-07-17 13:14: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'), 47831, 'SRID=4674;POINT (-40.406139 -2.713409)', '2026-07-17 13:14:37', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40625 -2.713374)'), GeomFromEWKT('SRID=4674;POINT (-40.406139 -2.713409)'))) / (select extract(epoch from '2026-07-17 13:14:37'::timestamp) - extract(epoch from '2026-07-17 13:14:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40625 -2.713374)'), GeomFromEWKT('SRID=4674;POINT (-40.406139 -2.713409)'))) / (select extract(epoch from '2026-07-17 13:14:37'::timestamp) - extract(epoch from '2026-07-17 13:14:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.406057 -2.713432)', '2026-07-17 13:14:43', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406139 -2.713409)'), GeomFromEWKT('SRID=4674;POINT (-40.406057 -2.713432)'))) / (select extract(epoch from '2026-07-17 13:14:43'::timestamp) - extract(epoch from '2026-07-17 13:14:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406139 -2.713409)'), GeomFromEWKT('SRID=4674;POINT (-40.406057 -2.713432)'))) / (select extract(epoch from '2026-07-17 13:14:43'::timestamp) - extract(epoch from '2026-07-17 13:14: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'), 47831, 'SRID=4674;POINT (-40.406035 -2.713436)', '2026-07-17 13:14:45', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406057 -2.713432)'), GeomFromEWKT('SRID=4674;POINT (-40.406035 -2.713436)'))) / (select extract(epoch from '2026-07-17 13:14:45'::timestamp) - extract(epoch from '2026-07-17 13:14:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406057 -2.713432)'), GeomFromEWKT('SRID=4674;POINT (-40.406035 -2.713436)'))) / (select extract(epoch from '2026-07-17 13:14:45'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.405983 -2.713439)', '2026-07-17 13:14:49', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406035 -2.713436)'), GeomFromEWKT('SRID=4674;POINT (-40.405983 -2.713439)'))) / (select extract(epoch from '2026-07-17 13:14:49'::timestamp) - extract(epoch from '2026-07-17 13:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406035 -2.713436)'), GeomFromEWKT('SRID=4674;POINT (-40.405983 -2.713439)'))) / (select extract(epoch from '2026-07-17 13:14:49'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.405861 -2.713437)', '2026-07-17 13:14:58', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405983 -2.713439)'), GeomFromEWKT('SRID=4674;POINT (-40.405861 -2.713437)'))) / (select extract(epoch from '2026-07-17 13:14:58'::timestamp) - extract(epoch from '2026-07-17 13:14:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405983 -2.713439)'), GeomFromEWKT('SRID=4674;POINT (-40.405861 -2.713437)'))) / (select extract(epoch from '2026-07-17 13:14:58'::timestamp) - extract(epoch from '2026-07-17 13:14:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.40576 -2.713424)', '2026-07-17 13:15:05', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405861 -2.713437)'), GeomFromEWKT('SRID=4674;POINT (-40.40576 -2.713424)'))) / (select extract(epoch from '2026-07-17 13:15:05'::timestamp) - extract(epoch from '2026-07-17 13:14:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405861 -2.713437)'), GeomFromEWKT('SRID=4674;POINT (-40.40576 -2.713424)'))) / (select extract(epoch from '2026-07-17 13:15:05'::timestamp) - extract(epoch from '2026-07-17 13:14:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.405663 -2.713415)', '2026-07-17 13:15:11', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40576 -2.713424)'), GeomFromEWKT('SRID=4674;POINT (-40.405663 -2.713415)'))) / (select extract(epoch from '2026-07-17 13:15:11'::timestamp) - extract(epoch from '2026-07-17 13:15:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40576 -2.713424)'), GeomFromEWKT('SRID=4674;POINT (-40.405663 -2.713415)'))) / (select extract(epoch from '2026-07-17 13:15:11'::timestamp) - extract(epoch from '2026-07-17 13:15:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.405572 -2.713401)', '2026-07-17 13:15:17', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405663 -2.713415)'), GeomFromEWKT('SRID=4674;POINT (-40.405572 -2.713401)'))) / (select extract(epoch from '2026-07-17 13:15:17'::timestamp) - extract(epoch from '2026-07-17 13:15:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405663 -2.713415)'), GeomFromEWKT('SRID=4674;POINT (-40.405572 -2.713401)'))) / (select extract(epoch from '2026-07-17 13:15:17'::timestamp) - extract(epoch from '2026-07-17 13:15:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.405489 -2.713429)', '2026-07-17 13:15:24', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405572 -2.713401)'), GeomFromEWKT('SRID=4674;POINT (-40.405489 -2.713429)'))) / (select extract(epoch from '2026-07-17 13:15:24'::timestamp) - extract(epoch from '2026-07-17 13:15:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405572 -2.713401)'), GeomFromEWKT('SRID=4674;POINT (-40.405489 -2.713429)'))) / (select extract(epoch from '2026-07-17 13:15:24'::timestamp) - extract(epoch from '2026-07-17 13:15: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'), 47831, 'SRID=4674;POINT (-40.405382 -2.713452)', '2026-07-17 13:15:32', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405489 -2.713429)'), GeomFromEWKT('SRID=4674;POINT (-40.405382 -2.713452)'))) / (select extract(epoch from '2026-07-17 13:15:32'::timestamp) - extract(epoch from '2026-07-17 13:15:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405489 -2.713429)'), GeomFromEWKT('SRID=4674;POINT (-40.405382 -2.713452)'))) / (select extract(epoch from '2026-07-17 13:15:32'::timestamp) - extract(epoch from '2026-07-17 13:15: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'), 47831, 'SRID=4674;POINT (-40.405287 -2.713488)', '2026-07-17 13:15:39', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405382 -2.713452)'), GeomFromEWKT('SRID=4674;POINT (-40.405287 -2.713488)'))) / (select extract(epoch from '2026-07-17 13:15:39'::timestamp) - extract(epoch from '2026-07-17 13:15:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405382 -2.713452)'), GeomFromEWKT('SRID=4674;POINT (-40.405287 -2.713488)'))) / (select extract(epoch from '2026-07-17 13:15:39'::timestamp) - extract(epoch from '2026-07-17 13:15: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'), 47831, 'SRID=4674;POINT (-40.405177 -2.713532)', '2026-07-17 13:15:47', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405287 -2.713488)'), GeomFromEWKT('SRID=4674;POINT (-40.405177 -2.713532)'))) / (select extract(epoch from '2026-07-17 13:15:47'::timestamp) - extract(epoch from '2026-07-17 13:15:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405287 -2.713488)'), GeomFromEWKT('SRID=4674;POINT (-40.405177 -2.713532)'))) / (select extract(epoch from '2026-07-17 13:15:47'::timestamp) - extract(epoch from '2026-07-17 13:15: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'), 47831, 'SRID=4674;POINT (-40.405115 -2.713536)', '2026-07-17 13:15:53', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405177 -2.713532)'), GeomFromEWKT('SRID=4674;POINT (-40.405115 -2.713536)'))) / (select extract(epoch from '2026-07-17 13:15:53'::timestamp) - extract(epoch from '2026-07-17 13:15:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405177 -2.713532)'), GeomFromEWKT('SRID=4674;POINT (-40.405115 -2.713536)'))) / (select extract(epoch from '2026-07-17 13:15:53'::timestamp) - extract(epoch from '2026-07-17 13:15:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.405106 -2.713542)', '2026-07-17 13:15:54', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405115 -2.713536)'), GeomFromEWKT('SRID=4674;POINT (-40.405106 -2.713542)'))) / (select extract(epoch from '2026-07-17 13:15:54'::timestamp) - extract(epoch from '2026-07-17 13:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405115 -2.713536)'), GeomFromEWKT('SRID=4674;POINT (-40.405106 -2.713542)'))) / (select extract(epoch from '2026-07-17 13:15:54'::timestamp) - extract(epoch from '2026-07-17 13:15:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.405011 -2.713551)', '2026-07-17 13:16:01', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405106 -2.713542)'), GeomFromEWKT('SRID=4674;POINT (-40.405011 -2.713551)'))) / (select extract(epoch from '2026-07-17 13:16:01'::timestamp) - extract(epoch from '2026-07-17 13:15:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405106 -2.713542)'), GeomFromEWKT('SRID=4674;POINT (-40.405011 -2.713551)'))) / (select extract(epoch from '2026-07-17 13:16:01'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.404903 -2.713546)', '2026-07-17 13:16:08', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405011 -2.713551)'), GeomFromEWKT('SRID=4674;POINT (-40.404903 -2.713546)'))) / (select extract(epoch from '2026-07-17 13:16:08'::timestamp) - extract(epoch from '2026-07-17 13:16:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405011 -2.713551)'), GeomFromEWKT('SRID=4674;POINT (-40.404903 -2.713546)'))) / (select extract(epoch from '2026-07-17 13:16:08'::timestamp) - extract(epoch from '2026-07-17 13:16: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'), 47831, 'SRID=4674;POINT (-40.404793 -2.713529)', '2026-07-17 13:16:15', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404903 -2.713546)'), GeomFromEWKT('SRID=4674;POINT (-40.404793 -2.713529)'))) / (select extract(epoch from '2026-07-17 13:16:15'::timestamp) - extract(epoch from '2026-07-17 13:16:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404903 -2.713546)'), GeomFromEWKT('SRID=4674;POINT (-40.404793 -2.713529)'))) / (select extract(epoch from '2026-07-17 13:16:15'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.404693 -2.713514)', '2026-07-17 13:16:22', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404793 -2.713529)'), GeomFromEWKT('SRID=4674;POINT (-40.404693 -2.713514)'))) / (select extract(epoch from '2026-07-17 13:16:22'::timestamp) - extract(epoch from '2026-07-17 13:16:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404793 -2.713529)'), GeomFromEWKT('SRID=4674;POINT (-40.404693 -2.713514)'))) / (select extract(epoch from '2026-07-17 13:16:22'::timestamp) - extract(epoch from '2026-07-17 13:16:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.404552 -2.713482)', '2026-07-17 13:16:32', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404693 -2.713514)'), GeomFromEWKT('SRID=4674;POINT (-40.404552 -2.713482)'))) / (select extract(epoch from '2026-07-17 13:16:32'::timestamp) - extract(epoch from '2026-07-17 13:16:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404693 -2.713514)'), GeomFromEWKT('SRID=4674;POINT (-40.404552 -2.713482)'))) / (select extract(epoch from '2026-07-17 13:16:32'::timestamp) - extract(epoch from '2026-07-17 13:16:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.404426 -2.713501)', '2026-07-17 13:16:40', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404552 -2.713482)'), GeomFromEWKT('SRID=4674;POINT (-40.404426 -2.713501)'))) / (select extract(epoch from '2026-07-17 13:16:40'::timestamp) - extract(epoch from '2026-07-17 13:16:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404552 -2.713482)'), GeomFromEWKT('SRID=4674;POINT (-40.404426 -2.713501)'))) / (select extract(epoch from '2026-07-17 13:16:40'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.404323 -2.713507)', '2026-07-17 13:16:47', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404426 -2.713501)'), GeomFromEWKT('SRID=4674;POINT (-40.404323 -2.713507)'))) / (select extract(epoch from '2026-07-17 13:16:47'::timestamp) - extract(epoch from '2026-07-17 13:16:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404426 -2.713501)'), GeomFromEWKT('SRID=4674;POINT (-40.404323 -2.713507)'))) / (select extract(epoch from '2026-07-17 13:16:47'::timestamp) - extract(epoch from '2026-07-17 13:16:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.404235 -2.713522)', '2026-07-17 13:16:54', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404323 -2.713507)'), GeomFromEWKT('SRID=4674;POINT (-40.404235 -2.713522)'))) / (select extract(epoch from '2026-07-17 13:16:54'::timestamp) - extract(epoch from '2026-07-17 13:16:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404323 -2.713507)'), GeomFromEWKT('SRID=4674;POINT (-40.404235 -2.713522)'))) / (select extract(epoch from '2026-07-17 13:16:54'::timestamp) - extract(epoch from '2026-07-17 13:16:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.404131 -2.713542)', '2026-07-17 13:17:01', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404235 -2.713522)'), GeomFromEWKT('SRID=4674;POINT (-40.404131 -2.713542)'))) / (select extract(epoch from '2026-07-17 13:17:01'::timestamp) - extract(epoch from '2026-07-17 13:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404235 -2.713522)'), GeomFromEWKT('SRID=4674;POINT (-40.404131 -2.713542)'))) / (select extract(epoch from '2026-07-17 13:17:01'::timestamp) - extract(epoch from '2026-07-17 13:16: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'), 47831, 'SRID=4674;POINT (-40.404028 -2.713596)', '2026-07-17 13:17:08', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404131 -2.713542)'), GeomFromEWKT('SRID=4674;POINT (-40.404028 -2.713596)'))) / (select extract(epoch from '2026-07-17 13:17:08'::timestamp) - extract(epoch from '2026-07-17 13:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404131 -2.713542)'), GeomFromEWKT('SRID=4674;POINT (-40.404028 -2.713596)'))) / (select extract(epoch from '2026-07-17 13:17:08'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.403945 -2.713613)', '2026-07-17 13:17:16', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404028 -2.713596)'), GeomFromEWKT('SRID=4674;POINT (-40.403945 -2.713613)'))) / (select extract(epoch from '2026-07-17 13:17:16'::timestamp) - extract(epoch from '2026-07-17 13:17:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404028 -2.713596)'), GeomFromEWKT('SRID=4674;POINT (-40.403945 -2.713613)'))) / (select extract(epoch from '2026-07-17 13:17:16'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.403888 -2.713642)', '2026-07-17 13:17:23', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403945 -2.713613)'), GeomFromEWKT('SRID=4674;POINT (-40.403888 -2.713642)'))) / (select extract(epoch from '2026-07-17 13:17:23'::timestamp) - extract(epoch from '2026-07-17 13:17:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403945 -2.713613)'), GeomFromEWKT('SRID=4674;POINT (-40.403888 -2.713642)'))) / (select extract(epoch from '2026-07-17 13:17:23'::timestamp) - extract(epoch from '2026-07-17 13:17:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.403833 -2.713709)', '2026-07-17 13:17:31', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403888 -2.713642)'), GeomFromEWKT('SRID=4674;POINT (-40.403833 -2.713709)'))) / (select extract(epoch from '2026-07-17 13:17:31'::timestamp) - extract(epoch from '2026-07-17 13:17:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403888 -2.713642)'), GeomFromEWKT('SRID=4674;POINT (-40.403833 -2.713709)'))) / (select extract(epoch from '2026-07-17 13:17:31'::timestamp) - extract(epoch from '2026-07-17 13:17: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'), 47831, 'SRID=4674;POINT (-40.403818 -2.713716)', '2026-07-17 13:17:36', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403833 -2.713709)'), GeomFromEWKT('SRID=4674;POINT (-40.403818 -2.713716)'))) / (select extract(epoch from '2026-07-17 13:17:36'::timestamp) - extract(epoch from '2026-07-17 13:17:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403833 -2.713709)'), GeomFromEWKT('SRID=4674;POINT (-40.403818 -2.713716)'))) / (select extract(epoch from '2026-07-17 13:17:36'::timestamp) - extract(epoch from '2026-07-17 13:17: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'), 47831, 'SRID=4674;POINT (-40.403808 -2.713713)', '2026-07-17 13:17:47', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403818 -2.713716)'), GeomFromEWKT('SRID=4674;POINT (-40.403808 -2.713713)'))) / (select extract(epoch from '2026-07-17 13:17:47'::timestamp) - extract(epoch from '2026-07-17 13:17:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403818 -2.713716)'), GeomFromEWKT('SRID=4674;POINT (-40.403808 -2.713713)'))) / (select extract(epoch from '2026-07-17 13:17:47'::timestamp) - extract(epoch from '2026-07-17 13:17:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.403872 -2.713611)', '2026-07-17 13:17:57', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403808 -2.713713)'), GeomFromEWKT('SRID=4674;POINT (-40.403872 -2.713611)'))) / (select extract(epoch from '2026-07-17 13:17:57'::timestamp) - extract(epoch from '2026-07-17 13:17:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403808 -2.713713)'), GeomFromEWKT('SRID=4674;POINT (-40.403872 -2.713611)'))) / (select extract(epoch from '2026-07-17 13:17:57'::timestamp) - extract(epoch from '2026-07-17 13:17:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.403951 -2.71355)', '2026-07-17 13:18:06', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403872 -2.713611)'), GeomFromEWKT('SRID=4674;POINT (-40.403951 -2.71355)'))) / (select extract(epoch from '2026-07-17 13:18:06'::timestamp) - extract(epoch from '2026-07-17 13:17:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403872 -2.713611)'), GeomFromEWKT('SRID=4674;POINT (-40.403951 -2.71355)'))) / (select extract(epoch from '2026-07-17 13:18:06'::timestamp) - extract(epoch from '2026-07-17 13:17: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'), 47831, 'SRID=4674;POINT (-40.403987 -2.713492)', '2026-07-17 13:18:17', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403951 -2.71355)'), GeomFromEWKT('SRID=4674;POINT (-40.403987 -2.713492)'))) / (select extract(epoch from '2026-07-17 13:18:17'::timestamp) - extract(epoch from '2026-07-17 13:18:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403951 -2.71355)'), GeomFromEWKT('SRID=4674;POINT (-40.403987 -2.713492)'))) / (select extract(epoch from '2026-07-17 13:18:17'::timestamp) - extract(epoch from '2026-07-17 13:18:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.404026 -2.713451)', '2026-07-17 13:18:30', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403987 -2.713492)'), GeomFromEWKT('SRID=4674;POINT (-40.404026 -2.713451)'))) / (select extract(epoch from '2026-07-17 13:18:30'::timestamp) - extract(epoch from '2026-07-17 13:18:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403987 -2.713492)'), GeomFromEWKT('SRID=4674;POINT (-40.404026 -2.713451)'))) / (select extract(epoch from '2026-07-17 13:18:30'::timestamp) - extract(epoch from '2026-07-17 13:18:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.404041 -2.713417)', '2026-07-17 13:18:43', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404026 -2.713451)'), GeomFromEWKT('SRID=4674;POINT (-40.404041 -2.713417)'))) / (select extract(epoch from '2026-07-17 13:18:43'::timestamp) - extract(epoch from '2026-07-17 13:18:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404026 -2.713451)'), GeomFromEWKT('SRID=4674;POINT (-40.404041 -2.713417)'))) / (select extract(epoch from '2026-07-17 13:18:43'::timestamp) - extract(epoch from '2026-07-17 13:18:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.404046 -2.713422)', '2026-07-17 13:18:59', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404041 -2.713417)'), GeomFromEWKT('SRID=4674;POINT (-40.404046 -2.713422)'))) / (select extract(epoch from '2026-07-17 13:18:59'::timestamp) - extract(epoch from '2026-07-17 13:18:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404041 -2.713417)'), GeomFromEWKT('SRID=4674;POINT (-40.404046 -2.713422)'))) / (select extract(epoch from '2026-07-17 13:18:59'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.40404 -2.713498)', '2026-07-17 13:19:14', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404046 -2.713422)'), GeomFromEWKT('SRID=4674;POINT (-40.40404 -2.713498)'))) / (select extract(epoch from '2026-07-17 13:19:14'::timestamp) - extract(epoch from '2026-07-17 13:18:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404046 -2.713422)'), GeomFromEWKT('SRID=4674;POINT (-40.40404 -2.713498)'))) / (select extract(epoch from '2026-07-17 13:19:14'::timestamp) - extract(epoch from '2026-07-17 13:18: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'), 47831, 'SRID=4674;POINT (-40.404034 -2.713546)', '2026-07-17 13:19:25', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40404 -2.713498)'), GeomFromEWKT('SRID=4674;POINT (-40.404034 -2.713546)'))) / (select extract(epoch from '2026-07-17 13:19:25'::timestamp) - extract(epoch from '2026-07-17 13:19:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40404 -2.713498)'), GeomFromEWKT('SRID=4674;POINT (-40.404034 -2.713546)'))) / (select extract(epoch from '2026-07-17 13:19:25'::timestamp) - extract(epoch from '2026-07-17 13:19: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'), 47831, 'SRID=4674;POINT (-40.404016 -2.713575)', '2026-07-17 13:19:35', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404034 -2.713546)'), GeomFromEWKT('SRID=4674;POINT (-40.404016 -2.713575)'))) / (select extract(epoch from '2026-07-17 13:19:35'::timestamp) - extract(epoch from '2026-07-17 13:19:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404034 -2.713546)'), GeomFromEWKT('SRID=4674;POINT (-40.404016 -2.713575)'))) / (select extract(epoch from '2026-07-17 13:19:35'::timestamp) - extract(epoch from '2026-07-17 13:19:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.403973 -2.71359)', '2026-07-17 13:19:47', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404016 -2.713575)'), GeomFromEWKT('SRID=4674;POINT (-40.403973 -2.71359)'))) / (select extract(epoch from '2026-07-17 13:19:47'::timestamp) - extract(epoch from '2026-07-17 13:19:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404016 -2.713575)'), GeomFromEWKT('SRID=4674;POINT (-40.403973 -2.71359)'))) / (select extract(epoch from '2026-07-17 13:19:47'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.403929 -2.713603)', '2026-07-17 13:20:29', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403973 -2.71359)'), GeomFromEWKT('SRID=4674;POINT (-40.403929 -2.713603)'))) / (select extract(epoch from '2026-07-17 13:20:29'::timestamp) - extract(epoch from '2026-07-17 13:19:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403973 -2.71359)'), GeomFromEWKT('SRID=4674;POINT (-40.403929 -2.713603)'))) / (select extract(epoch from '2026-07-17 13:20:29'::timestamp) - extract(epoch from '2026-07-17 13:19:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.403919 -2.713615)', '2026-07-17 13:20:36', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403929 -2.713603)'), GeomFromEWKT('SRID=4674;POINT (-40.403919 -2.713615)'))) / (select extract(epoch from '2026-07-17 13:20:36'::timestamp) - extract(epoch from '2026-07-17 13:20:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403929 -2.713603)'), GeomFromEWKT('SRID=4674;POINT (-40.403919 -2.713615)'))) / (select extract(epoch from '2026-07-17 13:20:36'::timestamp) - extract(epoch from '2026-07-17 13:20: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'), 47831, 'SRID=4674;POINT (-40.403955 -2.713634)', '2026-07-17 13:20:55', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403919 -2.713615)'), GeomFromEWKT('SRID=4674;POINT (-40.403955 -2.713634)'))) / (select extract(epoch from '2026-07-17 13:20:55'::timestamp) - extract(epoch from '2026-07-17 13:20:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403919 -2.713615)'), GeomFromEWKT('SRID=4674;POINT (-40.403955 -2.713634)'))) / (select extract(epoch from '2026-07-17 13:20:55'::timestamp) - extract(epoch from '2026-07-17 13:20:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.404002 -2.713658)', '2026-07-17 13:21:05', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403955 -2.713634)'), GeomFromEWKT('SRID=4674;POINT (-40.404002 -2.713658)'))) / (select extract(epoch from '2026-07-17 13:21:05'::timestamp) - extract(epoch from '2026-07-17 13:20:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403955 -2.713634)'), GeomFromEWKT('SRID=4674;POINT (-40.404002 -2.713658)'))) / (select extract(epoch from '2026-07-17 13:21:05'::timestamp) - extract(epoch from '2026-07-17 13:20: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'), 47831, 'SRID=4674;POINT (-40.404054 -2.713673)', '2026-07-17 13:21:16', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404002 -2.713658)'), GeomFromEWKT('SRID=4674;POINT (-40.404054 -2.713673)'))) / (select extract(epoch from '2026-07-17 13:21:16'::timestamp) - extract(epoch from '2026-07-17 13:21:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404002 -2.713658)'), GeomFromEWKT('SRID=4674;POINT (-40.404054 -2.713673)'))) / (select extract(epoch from '2026-07-17 13:21:16'::timestamp) - extract(epoch from '2026-07-17 13:21:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.404115 -2.713662)', '2026-07-17 13:21:31', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404054 -2.713673)'), GeomFromEWKT('SRID=4674;POINT (-40.404115 -2.713662)'))) / (select extract(epoch from '2026-07-17 13:21:31'::timestamp) - extract(epoch from '2026-07-17 13:21:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404054 -2.713673)'), GeomFromEWKT('SRID=4674;POINT (-40.404115 -2.713662)'))) / (select extract(epoch from '2026-07-17 13:21:31'::timestamp) - extract(epoch from '2026-07-17 13:21: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'), 47831, 'SRID=4674;POINT (-40.404177 -2.713639)', '2026-07-17 13:21:40', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404115 -2.713662)'), GeomFromEWKT('SRID=4674;POINT (-40.404177 -2.713639)'))) / (select extract(epoch from '2026-07-17 13:21:40'::timestamp) - extract(epoch from '2026-07-17 13:21:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404115 -2.713662)'), GeomFromEWKT('SRID=4674;POINT (-40.404177 -2.713639)'))) / (select extract(epoch from '2026-07-17 13:21:40'::timestamp) - extract(epoch from '2026-07-17 13:21: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'), 47831, 'SRID=4674;POINT (-40.40425 -2.713524)', '2026-07-17 13:21:51', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404177 -2.713639)'), GeomFromEWKT('SRID=4674;POINT (-40.40425 -2.713524)'))) / (select extract(epoch from '2026-07-17 13:21:51'::timestamp) - extract(epoch from '2026-07-17 13:21:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404177 -2.713639)'), GeomFromEWKT('SRID=4674;POINT (-40.40425 -2.713524)'))) / (select extract(epoch from '2026-07-17 13:21:51'::timestamp) - extract(epoch from '2026-07-17 13:21: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'), 47831, 'SRID=4674;POINT (-40.404232 -2.713446)', '2026-07-17 13:22:00', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40425 -2.713524)'), GeomFromEWKT('SRID=4674;POINT (-40.404232 -2.713446)'))) / (select extract(epoch from '2026-07-17 13:22:00'::timestamp) - extract(epoch from '2026-07-17 13:21:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40425 -2.713524)'), GeomFromEWKT('SRID=4674;POINT (-40.404232 -2.713446)'))) / (select extract(epoch from '2026-07-17 13:22:00'::timestamp) - extract(epoch from '2026-07-17 13:21: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'), 47831, 'SRID=4674;POINT (-40.404151 -2.713427)', '2026-07-17 13:22:10', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404232 -2.713446)'), GeomFromEWKT('SRID=4674;POINT (-40.404151 -2.713427)'))) / (select extract(epoch from '2026-07-17 13:22:10'::timestamp) - extract(epoch from '2026-07-17 13:22:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404232 -2.713446)'), GeomFromEWKT('SRID=4674;POINT (-40.404151 -2.713427)'))) / (select extract(epoch from '2026-07-17 13:22:10'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.404069 -2.713468)', '2026-07-17 13:22:18', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404151 -2.713427)'), GeomFromEWKT('SRID=4674;POINT (-40.404069 -2.713468)'))) / (select extract(epoch from '2026-07-17 13:22:18'::timestamp) - extract(epoch from '2026-07-17 13:22:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404151 -2.713427)'), GeomFromEWKT('SRID=4674;POINT (-40.404069 -2.713468)'))) / (select extract(epoch from '2026-07-17 13:22:18'::timestamp) - extract(epoch from '2026-07-17 13:22: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'), 47831, 'SRID=4674;POINT (-40.403962 -2.713453)', '2026-07-17 13:22:27', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404069 -2.713468)'), GeomFromEWKT('SRID=4674;POINT (-40.403962 -2.713453)'))) / (select extract(epoch from '2026-07-17 13:22:27'::timestamp) - extract(epoch from '2026-07-17 13:22:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404069 -2.713468)'), GeomFromEWKT('SRID=4674;POINT (-40.403962 -2.713453)'))) / (select extract(epoch from '2026-07-17 13:22:27'::timestamp) - extract(epoch from '2026-07-17 13:22: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'), 47831, 'SRID=4674;POINT (-40.403854 -2.713434)', '2026-07-17 13:22:35', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403962 -2.713453)'), GeomFromEWKT('SRID=4674;POINT (-40.403854 -2.713434)'))) / (select extract(epoch from '2026-07-17 13:22:35'::timestamp) - extract(epoch from '2026-07-17 13:22:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403962 -2.713453)'), GeomFromEWKT('SRID=4674;POINT (-40.403854 -2.713434)'))) / (select extract(epoch from '2026-07-17 13:22:35'::timestamp) - extract(epoch from '2026-07-17 13:22:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.403774 -2.7134)', '2026-07-17 13:22:42', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403854 -2.713434)'), GeomFromEWKT('SRID=4674;POINT (-40.403774 -2.7134)'))) / (select extract(epoch from '2026-07-17 13:22:42'::timestamp) - extract(epoch from '2026-07-17 13:22:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403854 -2.713434)'), GeomFromEWKT('SRID=4674;POINT (-40.403774 -2.7134)'))) / (select extract(epoch from '2026-07-17 13:22:42'::timestamp) - extract(epoch from '2026-07-17 13:22: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'), 47831, 'SRID=4674;POINT (-40.403677 -2.713394)', '2026-07-17 13:22:49', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403774 -2.7134)'), GeomFromEWKT('SRID=4674;POINT (-40.403677 -2.713394)'))) / (select extract(epoch from '2026-07-17 13:22:49'::timestamp) - extract(epoch from '2026-07-17 13:22:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403774 -2.7134)'), GeomFromEWKT('SRID=4674;POINT (-40.403677 -2.713394)'))) / (select extract(epoch from '2026-07-17 13:22:49'::timestamp) - extract(epoch from '2026-07-17 13:22: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'), 47831, 'SRID=4674;POINT (-40.403593 -2.713397)', '2026-07-17 13:22:56', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403677 -2.713394)'), GeomFromEWKT('SRID=4674;POINT (-40.403593 -2.713397)'))) / (select extract(epoch from '2026-07-17 13:22:56'::timestamp) - extract(epoch from '2026-07-17 13:22:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403677 -2.713394)'), GeomFromEWKT('SRID=4674;POINT (-40.403593 -2.713397)'))) / (select extract(epoch from '2026-07-17 13:22:56'::timestamp) - extract(epoch from '2026-07-17 13:22: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'), 47831, 'SRID=4674;POINT (-40.403506 -2.713391)', '2026-07-17 13:23:03', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403593 -2.713397)'), GeomFromEWKT('SRID=4674;POINT (-40.403506 -2.713391)'))) / (select extract(epoch from '2026-07-17 13:23:03'::timestamp) - extract(epoch from '2026-07-17 13:22:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403593 -2.713397)'), GeomFromEWKT('SRID=4674;POINT (-40.403506 -2.713391)'))) / (select extract(epoch from '2026-07-17 13:23:03'::timestamp) - extract(epoch from '2026-07-17 13:22:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.403402 -2.713381)', '2026-07-17 13:23:11', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403506 -2.713391)'), GeomFromEWKT('SRID=4674;POINT (-40.403402 -2.713381)'))) / (select extract(epoch from '2026-07-17 13:23:11'::timestamp) - extract(epoch from '2026-07-17 13:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403506 -2.713391)'), GeomFromEWKT('SRID=4674;POINT (-40.403402 -2.713381)'))) / (select extract(epoch from '2026-07-17 13:23:11'::timestamp) - extract(epoch from '2026-07-17 13:23:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.40333 -2.713375)', '2026-07-17 13:23:18', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403402 -2.713381)'), GeomFromEWKT('SRID=4674;POINT (-40.40333 -2.713375)'))) / (select extract(epoch from '2026-07-17 13:23:18'::timestamp) - extract(epoch from '2026-07-17 13:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403402 -2.713381)'), GeomFromEWKT('SRID=4674;POINT (-40.40333 -2.713375)'))) / (select extract(epoch from '2026-07-17 13:23:18'::timestamp) - extract(epoch from '2026-07-17 13:23:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.403254 -2.713376)', '2026-07-17 13:23:25', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40333 -2.713375)'), GeomFromEWKT('SRID=4674;POINT (-40.403254 -2.713376)'))) / (select extract(epoch from '2026-07-17 13:23:25'::timestamp) - extract(epoch from '2026-07-17 13:23:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40333 -2.713375)'), GeomFromEWKT('SRID=4674;POINT (-40.403254 -2.713376)'))) / (select extract(epoch from '2026-07-17 13:23:25'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.403178 -2.713411)', '2026-07-17 13:23:33', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403254 -2.713376)'), GeomFromEWKT('SRID=4674;POINT (-40.403178 -2.713411)'))) / (select extract(epoch from '2026-07-17 13:23:33'::timestamp) - extract(epoch from '2026-07-17 13:23:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403254 -2.713376)'), GeomFromEWKT('SRID=4674;POINT (-40.403178 -2.713411)'))) / (select extract(epoch from '2026-07-17 13:23:33'::timestamp) - extract(epoch from '2026-07-17 13:23: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'), 47831, 'SRID=4674;POINT (-40.403085 -2.713426)', '2026-07-17 13:23:42', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403178 -2.713411)'), GeomFromEWKT('SRID=4674;POINT (-40.403085 -2.713426)'))) / (select extract(epoch from '2026-07-17 13:23:42'::timestamp) - extract(epoch from '2026-07-17 13:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403178 -2.713411)'), GeomFromEWKT('SRID=4674;POINT (-40.403085 -2.713426)'))) / (select extract(epoch from '2026-07-17 13:23:42'::timestamp) - extract(epoch from '2026-07-17 13:23: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'), 47831, 'SRID=4674;POINT (-40.403007 -2.713435)', '2026-07-17 13:23:49', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403085 -2.713426)'), GeomFromEWKT('SRID=4674;POINT (-40.403007 -2.713435)'))) / (select extract(epoch from '2026-07-17 13:23:49'::timestamp) - extract(epoch from '2026-07-17 13:23:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403085 -2.713426)'), GeomFromEWKT('SRID=4674;POINT (-40.403007 -2.713435)'))) / (select extract(epoch from '2026-07-17 13:23:49'::timestamp) - extract(epoch from '2026-07-17 13:23: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'), 47831, 'SRID=4674;POINT (-40.402995 -2.713435)', '2026-07-17 13:23:50', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403007 -2.713435)'), GeomFromEWKT('SRID=4674;POINT (-40.402995 -2.713435)'))) / (select extract(epoch from '2026-07-17 13:23:50'::timestamp) - extract(epoch from '2026-07-17 13:23:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403007 -2.713435)'), GeomFromEWKT('SRID=4674;POINT (-40.402995 -2.713435)'))) / (select extract(epoch from '2026-07-17 13:23:50'::timestamp) - extract(epoch from '2026-07-17 13:23: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'), 47831, 'SRID=4674;POINT (-40.402943 -2.713406)', '2026-07-17 13:23:57', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402995 -2.713435)'), GeomFromEWKT('SRID=4674;POINT (-40.402943 -2.713406)'))) / (select extract(epoch from '2026-07-17 13:23:57'::timestamp) - extract(epoch from '2026-07-17 13:23:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402995 -2.713435)'), GeomFromEWKT('SRID=4674;POINT (-40.402943 -2.713406)'))) / (select extract(epoch from '2026-07-17 13:23:57'::timestamp) - extract(epoch from '2026-07-17 13:23: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'), 47831, 'SRID=4674;POINT (-40.402857 -2.713362)', '2026-07-17 13:24:06', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402943 -2.713406)'), GeomFromEWKT('SRID=4674;POINT (-40.402857 -2.713362)'))) / (select extract(epoch from '2026-07-17 13:24:06'::timestamp) - extract(epoch from '2026-07-17 13:23:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402943 -2.713406)'), GeomFromEWKT('SRID=4674;POINT (-40.402857 -2.713362)'))) / (select extract(epoch from '2026-07-17 13:24:06'::timestamp) - extract(epoch from '2026-07-17 13:23: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'), 47831, 'SRID=4674;POINT (-40.402764 -2.713363)', '2026-07-17 13:24:14', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402857 -2.713362)'), GeomFromEWKT('SRID=4674;POINT (-40.402764 -2.713363)'))) / (select extract(epoch from '2026-07-17 13:24:14'::timestamp) - extract(epoch from '2026-07-17 13:24:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402857 -2.713362)'), GeomFromEWKT('SRID=4674;POINT (-40.402764 -2.713363)'))) / (select extract(epoch from '2026-07-17 13:24:14'::timestamp) - extract(epoch from '2026-07-17 13:24:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.402713 -2.713336)', '2026-07-17 13:24:20', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402764 -2.713363)'), GeomFromEWKT('SRID=4674;POINT (-40.402713 -2.713336)'))) / (select extract(epoch from '2026-07-17 13:24:20'::timestamp) - extract(epoch from '2026-07-17 13:24:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402764 -2.713363)'), GeomFromEWKT('SRID=4674;POINT (-40.402713 -2.713336)'))) / (select extract(epoch from '2026-07-17 13:24:20'::timestamp) - extract(epoch from '2026-07-17 13:24: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'), 47831, 'SRID=4674;POINT (-40.402647 -2.71331)', '2026-07-17 13:24:27', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402713 -2.713336)'), GeomFromEWKT('SRID=4674;POINT (-40.402647 -2.71331)'))) / (select extract(epoch from '2026-07-17 13:24:27'::timestamp) - extract(epoch from '2026-07-17 13:24:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402713 -2.713336)'), GeomFromEWKT('SRID=4674;POINT (-40.402647 -2.71331)'))) / (select extract(epoch from '2026-07-17 13:24:27'::timestamp) - extract(epoch from '2026-07-17 13:24: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'), 47831, 'SRID=4674;POINT (-40.402601 -2.713302)', '2026-07-17 13:24:31', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402647 -2.71331)'), GeomFromEWKT('SRID=4674;POINT (-40.402601 -2.713302)'))) / (select extract(epoch from '2026-07-17 13:24:31'::timestamp) - extract(epoch from '2026-07-17 13:24:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402647 -2.71331)'), GeomFromEWKT('SRID=4674;POINT (-40.402601 -2.713302)'))) / (select extract(epoch from '2026-07-17 13:24:31'::timestamp) - extract(epoch from '2026-07-17 13:24:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.402576 -2.713283)', '2026-07-17 13:24:34', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402601 -2.713302)'), GeomFromEWKT('SRID=4674;POINT (-40.402576 -2.713283)'))) / (select extract(epoch from '2026-07-17 13:24:34'::timestamp) - extract(epoch from '2026-07-17 13:24:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402601 -2.713302)'), GeomFromEWKT('SRID=4674;POINT (-40.402576 -2.713283)'))) / (select extract(epoch from '2026-07-17 13:24:34'::timestamp) - extract(epoch from '2026-07-17 13:24:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.402529 -2.713235)', '2026-07-17 13:24:41', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402576 -2.713283)'), GeomFromEWKT('SRID=4674;POINT (-40.402529 -2.713235)'))) / (select extract(epoch from '2026-07-17 13:24:41'::timestamp) - extract(epoch from '2026-07-17 13:24:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402576 -2.713283)'), GeomFromEWKT('SRID=4674;POINT (-40.402529 -2.713235)'))) / (select extract(epoch from '2026-07-17 13:24:41'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.402471 -2.713234)', '2026-07-17 13:24:49', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402529 -2.713235)'), GeomFromEWKT('SRID=4674;POINT (-40.402471 -2.713234)'))) / (select extract(epoch from '2026-07-17 13:24:49'::timestamp) - extract(epoch from '2026-07-17 13:24:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402529 -2.713235)'), GeomFromEWKT('SRID=4674;POINT (-40.402471 -2.713234)'))) / (select extract(epoch from '2026-07-17 13:24:49'::timestamp) - extract(epoch from '2026-07-17 13:24: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'), 47831, 'SRID=4674;POINT (-40.402442 -2.713201)', '2026-07-17 13:24:59', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402471 -2.713234)'), GeomFromEWKT('SRID=4674;POINT (-40.402442 -2.713201)'))) / (select extract(epoch from '2026-07-17 13:24:59'::timestamp) - extract(epoch from '2026-07-17 13:24:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402471 -2.713234)'), GeomFromEWKT('SRID=4674;POINT (-40.402442 -2.713201)'))) / (select extract(epoch from '2026-07-17 13:24:59'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.402507 -2.713132)', '2026-07-17 13:25:11', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402442 -2.713201)'), GeomFromEWKT('SRID=4674;POINT (-40.402507 -2.713132)'))) / (select extract(epoch from '2026-07-17 13:25:11'::timestamp) - extract(epoch from '2026-07-17 13:24:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402442 -2.713201)'), GeomFromEWKT('SRID=4674;POINT (-40.402507 -2.713132)'))) / (select extract(epoch from '2026-07-17 13:25:11'::timestamp) - extract(epoch from '2026-07-17 13:24: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'), 47831, 'SRID=4674;POINT (-40.402535 -2.713067)', '2026-07-17 13:25:21', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402507 -2.713132)'), GeomFromEWKT('SRID=4674;POINT (-40.402535 -2.713067)'))) / (select extract(epoch from '2026-07-17 13:25:21'::timestamp) - extract(epoch from '2026-07-17 13:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402507 -2.713132)'), GeomFromEWKT('SRID=4674;POINT (-40.402535 -2.713067)'))) / (select extract(epoch from '2026-07-17 13:25:21'::timestamp) - extract(epoch from '2026-07-17 13:25: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'), 47831, 'SRID=4674;POINT (-40.402502 -2.71303)', '2026-07-17 13:25:32', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402535 -2.713067)'), GeomFromEWKT('SRID=4674;POINT (-40.402502 -2.71303)'))) / (select extract(epoch from '2026-07-17 13:25:32'::timestamp) - extract(epoch from '2026-07-17 13:25:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402535 -2.713067)'), GeomFromEWKT('SRID=4674;POINT (-40.402502 -2.71303)'))) / (select extract(epoch from '2026-07-17 13:25:32'::timestamp) - extract(epoch from '2026-07-17 13:25: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'), 47831, 'SRID=4674;POINT (-40.402506 -2.71307)', '2026-07-17 13:25:40', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402502 -2.71303)'), GeomFromEWKT('SRID=4674;POINT (-40.402506 -2.71307)'))) / (select extract(epoch from '2026-07-17 13:25:40'::timestamp) - extract(epoch from '2026-07-17 13:25:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402502 -2.71303)'), GeomFromEWKT('SRID=4674;POINT (-40.402506 -2.71307)'))) / (select extract(epoch from '2026-07-17 13:25:40'::timestamp) - extract(epoch from '2026-07-17 13:25:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.402515 -2.713132)', '2026-07-17 13:25:52', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402506 -2.71307)'), GeomFromEWKT('SRID=4674;POINT (-40.402515 -2.713132)'))) / (select extract(epoch from '2026-07-17 13:25:52'::timestamp) - extract(epoch from '2026-07-17 13:25:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402506 -2.71307)'), GeomFromEWKT('SRID=4674;POINT (-40.402515 -2.713132)'))) / (select extract(epoch from '2026-07-17 13:25:52'::timestamp) - extract(epoch from '2026-07-17 13:25: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'), 47831, 'SRID=4674;POINT (-40.402549 -2.713166)', '2026-07-17 13:26:04', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402515 -2.713132)'), GeomFromEWKT('SRID=4674;POINT (-40.402549 -2.713166)'))) / (select extract(epoch from '2026-07-17 13:26:04'::timestamp) - extract(epoch from '2026-07-17 13:25:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402515 -2.713132)'), GeomFromEWKT('SRID=4674;POINT (-40.402549 -2.713166)'))) / (select extract(epoch from '2026-07-17 13:26:04'::timestamp) - extract(epoch from '2026-07-17 13:25: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'), 47831, 'SRID=4674;POINT (-40.402569 -2.713174)', '2026-07-17 13:26:12', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402549 -2.713166)'), GeomFromEWKT('SRID=4674;POINT (-40.402569 -2.713174)'))) / (select extract(epoch from '2026-07-17 13:26:12'::timestamp) - extract(epoch from '2026-07-17 13:26:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402549 -2.713166)'), GeomFromEWKT('SRID=4674;POINT (-40.402569 -2.713174)'))) / (select extract(epoch from '2026-07-17 13:26:12'::timestamp) - extract(epoch from '2026-07-17 13:26: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'), 47831, 'SRID=4674;POINT (-40.402634 -2.713206)', '2026-07-17 13:26:21', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402569 -2.713174)'), GeomFromEWKT('SRID=4674;POINT (-40.402634 -2.713206)'))) / (select extract(epoch from '2026-07-17 13:26:21'::timestamp) - extract(epoch from '2026-07-17 13:26:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402569 -2.713174)'), GeomFromEWKT('SRID=4674;POINT (-40.402634 -2.713206)'))) / (select extract(epoch from '2026-07-17 13:26:21'::timestamp) - extract(epoch from '2026-07-17 13:26: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'), 47831, 'SRID=4674;POINT (-40.402702 -2.713214)', '2026-07-17 13:26:34', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402634 -2.713206)'), GeomFromEWKT('SRID=4674;POINT (-40.402702 -2.713214)'))) / (select extract(epoch from '2026-07-17 13:26:34'::timestamp) - extract(epoch from '2026-07-17 13:26:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402634 -2.713206)'), GeomFromEWKT('SRID=4674;POINT (-40.402702 -2.713214)'))) / (select extract(epoch from '2026-07-17 13:26:34'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.402762 -2.713227)', '2026-07-17 13:26:45', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402702 -2.713214)'), GeomFromEWKT('SRID=4674;POINT (-40.402762 -2.713227)'))) / (select extract(epoch from '2026-07-17 13:26:45'::timestamp) - extract(epoch from '2026-07-17 13:26:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402702 -2.713214)'), GeomFromEWKT('SRID=4674;POINT (-40.402762 -2.713227)'))) / (select extract(epoch from '2026-07-17 13:26:45'::timestamp) - extract(epoch from '2026-07-17 13:26: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'), 47831, 'SRID=4674;POINT (-40.402824 -2.713175)', '2026-07-17 13:26:56', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402762 -2.713227)'), GeomFromEWKT('SRID=4674;POINT (-40.402824 -2.713175)'))) / (select extract(epoch from '2026-07-17 13:26:56'::timestamp) - extract(epoch from '2026-07-17 13:26:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402762 -2.713227)'), GeomFromEWKT('SRID=4674;POINT (-40.402824 -2.713175)'))) / (select extract(epoch from '2026-07-17 13:26:56'::timestamp) - extract(epoch from '2026-07-17 13:26: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'), 47831, 'SRID=4674;POINT (-40.402835 -2.713129)', '2026-07-17 13:27:04', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402824 -2.713175)'), GeomFromEWKT('SRID=4674;POINT (-40.402835 -2.713129)'))) / (select extract(epoch from '2026-07-17 13:27:04'::timestamp) - extract(epoch from '2026-07-17 13:26:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402824 -2.713175)'), GeomFromEWKT('SRID=4674;POINT (-40.402835 -2.713129)'))) / (select extract(epoch from '2026-07-17 13:27:04'::timestamp) - extract(epoch from '2026-07-17 13:26:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.402826 -2.713126)', '2026-07-17 13:27:16', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402835 -2.713129)'), GeomFromEWKT('SRID=4674;POINT (-40.402826 -2.713126)'))) / (select extract(epoch from '2026-07-17 13:27:16'::timestamp) - extract(epoch from '2026-07-17 13:27:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402835 -2.713129)'), GeomFromEWKT('SRID=4674;POINT (-40.402826 -2.713126)'))) / (select extract(epoch from '2026-07-17 13:27:16'::timestamp) - extract(epoch from '2026-07-17 13:27: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'), 47831, 'SRID=4674;POINT (-40.402801 -2.713174)', '2026-07-17 13:27:41', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402826 -2.713126)'), GeomFromEWKT('SRID=4674;POINT (-40.402801 -2.713174)'))) / (select extract(epoch from '2026-07-17 13:27:41'::timestamp) - extract(epoch from '2026-07-17 13:27:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402826 -2.713126)'), GeomFromEWKT('SRID=4674;POINT (-40.402801 -2.713174)'))) / (select extract(epoch from '2026-07-17 13:27:41'::timestamp) - extract(epoch from '2026-07-17 13:27:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.402749 -2.713188)', '2026-07-17 13:27:51', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402801 -2.713174)'), GeomFromEWKT('SRID=4674;POINT (-40.402749 -2.713188)'))) / (select extract(epoch from '2026-07-17 13:27:51'::timestamp) - extract(epoch from '2026-07-17 13:27:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402801 -2.713174)'), GeomFromEWKT('SRID=4674;POINT (-40.402749 -2.713188)'))) / (select extract(epoch from '2026-07-17 13:27:51'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.402671 -2.71315)', '2026-07-17 13:28:00', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402749 -2.713188)'), GeomFromEWKT('SRID=4674;POINT (-40.402671 -2.71315)'))) / (select extract(epoch from '2026-07-17 13:28:00'::timestamp) - extract(epoch from '2026-07-17 13:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402749 -2.713188)'), GeomFromEWKT('SRID=4674;POINT (-40.402671 -2.71315)'))) / (select extract(epoch from '2026-07-17 13:28:00'::timestamp) - extract(epoch from '2026-07-17 13:27:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.40264 -2.713155)', '2026-07-17 13:28:07', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402671 -2.71315)'), GeomFromEWKT('SRID=4674;POINT (-40.40264 -2.713155)'))) / (select extract(epoch from '2026-07-17 13:28:07'::timestamp) - extract(epoch from '2026-07-17 13:28:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402671 -2.71315)'), GeomFromEWKT('SRID=4674;POINT (-40.40264 -2.713155)'))) / (select extract(epoch from '2026-07-17 13:28:07'::timestamp) - extract(epoch from '2026-07-17 13:28:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.402684 -2.713169)', '2026-07-17 13:28:41', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40264 -2.713155)'), GeomFromEWKT('SRID=4674;POINT (-40.402684 -2.713169)'))) / (select extract(epoch from '2026-07-17 13:28:41'::timestamp) - extract(epoch from '2026-07-17 13:28:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40264 -2.713155)'), GeomFromEWKT('SRID=4674;POINT (-40.402684 -2.713169)'))) / (select extract(epoch from '2026-07-17 13:28:41'::timestamp) - extract(epoch from '2026-07-17 13:28: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'), 47831, 'SRID=4674;POINT (-40.402767 -2.713197)', '2026-07-17 13:28:54', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402684 -2.713169)'), GeomFromEWKT('SRID=4674;POINT (-40.402767 -2.713197)'))) / (select extract(epoch from '2026-07-17 13:28:54'::timestamp) - extract(epoch from '2026-07-17 13:28:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402684 -2.713169)'), GeomFromEWKT('SRID=4674;POINT (-40.402767 -2.713197)'))) / (select extract(epoch from '2026-07-17 13:28:54'::timestamp) - extract(epoch from '2026-07-17 13:28:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.402847 -2.713214)', '2026-07-17 13:29:08', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402767 -2.713197)'), GeomFromEWKT('SRID=4674;POINT (-40.402847 -2.713214)'))) / (select extract(epoch from '2026-07-17 13:29:08'::timestamp) - extract(epoch from '2026-07-17 13:28:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402767 -2.713197)'), GeomFromEWKT('SRID=4674;POINT (-40.402847 -2.713214)'))) / (select extract(epoch from '2026-07-17 13:29:08'::timestamp) - extract(epoch from '2026-07-17 13:28: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'), 47831, 'SRID=4674;POINT (-40.402928 -2.713212)', '2026-07-17 13:29:25', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402847 -2.713214)'), GeomFromEWKT('SRID=4674;POINT (-40.402928 -2.713212)'))) / (select extract(epoch from '2026-07-17 13:29:25'::timestamp) - extract(epoch from '2026-07-17 13:29:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402847 -2.713214)'), GeomFromEWKT('SRID=4674;POINT (-40.402928 -2.713212)'))) / (select extract(epoch from '2026-07-17 13:29:25'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.402978 -2.713154)', '2026-07-17 13:29:34', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402928 -2.713212)'), GeomFromEWKT('SRID=4674;POINT (-40.402978 -2.713154)'))) / (select extract(epoch from '2026-07-17 13:29:34'::timestamp) - extract(epoch from '2026-07-17 13:29:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402928 -2.713212)'), GeomFromEWKT('SRID=4674;POINT (-40.402978 -2.713154)'))) / (select extract(epoch from '2026-07-17 13:29:34'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.402998 -2.713153)', '2026-07-17 13:29:36', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402978 -2.713154)'), GeomFromEWKT('SRID=4674;POINT (-40.402998 -2.713153)'))) / (select extract(epoch from '2026-07-17 13:29:36'::timestamp) - extract(epoch from '2026-07-17 13:29:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402978 -2.713154)'), GeomFromEWKT('SRID=4674;POINT (-40.402998 -2.713153)'))) / (select extract(epoch from '2026-07-17 13:29:36'::timestamp) - extract(epoch from '2026-07-17 13:29:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.403052 -2.713164)', '2026-07-17 13:29:41', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402998 -2.713153)'), GeomFromEWKT('SRID=4674;POINT (-40.403052 -2.713164)'))) / (select extract(epoch from '2026-07-17 13:29:41'::timestamp) - extract(epoch from '2026-07-17 13:29:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402998 -2.713153)'), GeomFromEWKT('SRID=4674;POINT (-40.403052 -2.713164)'))) / (select extract(epoch from '2026-07-17 13:29:41'::timestamp) - extract(epoch from '2026-07-17 13:29: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'), 47831, 'SRID=4674;POINT (-40.403107 -2.713193)', '2026-07-17 13:29:47', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403052 -2.713164)'), GeomFromEWKT('SRID=4674;POINT (-40.403107 -2.713193)'))) / (select extract(epoch from '2026-07-17 13:29:47'::timestamp) - extract(epoch from '2026-07-17 13:29:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403052 -2.713164)'), GeomFromEWKT('SRID=4674;POINT (-40.403107 -2.713193)'))) / (select extract(epoch from '2026-07-17 13:29:47'::timestamp) - extract(epoch from '2026-07-17 13:29: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'), 47831, 'SRID=4674;POINT (-40.403164 -2.713252)', '2026-07-17 13:29:54', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403107 -2.713193)'), GeomFromEWKT('SRID=4674;POINT (-40.403164 -2.713252)'))) / (select extract(epoch from '2026-07-17 13:29:54'::timestamp) - extract(epoch from '2026-07-17 13:29:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403107 -2.713193)'), GeomFromEWKT('SRID=4674;POINT (-40.403164 -2.713252)'))) / (select extract(epoch from '2026-07-17 13:29:54'::timestamp) - extract(epoch from '2026-07-17 13:29:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.403187 -2.713318)', '2026-07-17 13:30:01', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403164 -2.713252)'), GeomFromEWKT('SRID=4674;POINT (-40.403187 -2.713318)'))) / (select extract(epoch from '2026-07-17 13:30:01'::timestamp) - extract(epoch from '2026-07-17 13:29:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403164 -2.713252)'), GeomFromEWKT('SRID=4674;POINT (-40.403187 -2.713318)'))) / (select extract(epoch from '2026-07-17 13:30:01'::timestamp) - extract(epoch from '2026-07-17 13:29: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'), 47831, 'SRID=4674;POINT (-40.403192 -2.713376)', '2026-07-17 13:30:07', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403187 -2.713318)'), GeomFromEWKT('SRID=4674;POINT (-40.403192 -2.713376)'))) / (select extract(epoch from '2026-07-17 13:30:07'::timestamp) - extract(epoch from '2026-07-17 13:30:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403187 -2.713318)'), GeomFromEWKT('SRID=4674;POINT (-40.403192 -2.713376)'))) / (select extract(epoch from '2026-07-17 13:30:07'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.403194 -2.713456)', '2026-07-17 13:30:16', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403192 -2.713376)'), GeomFromEWKT('SRID=4674;POINT (-40.403194 -2.713456)'))) / (select extract(epoch from '2026-07-17 13:30:16'::timestamp) - extract(epoch from '2026-07-17 13:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403192 -2.713376)'), GeomFromEWKT('SRID=4674;POINT (-40.403194 -2.713456)'))) / (select extract(epoch from '2026-07-17 13:30:16'::timestamp) - extract(epoch from '2026-07-17 13:30: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'), 47831, 'SRID=4674;POINT (-40.403203 -2.713515)', '2026-07-17 13:30:25', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403194 -2.713456)'), GeomFromEWKT('SRID=4674;POINT (-40.403203 -2.713515)'))) / (select extract(epoch from '2026-07-17 13:30:25'::timestamp) - extract(epoch from '2026-07-17 13:30:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403194 -2.713456)'), GeomFromEWKT('SRID=4674;POINT (-40.403203 -2.713515)'))) / (select extract(epoch from '2026-07-17 13:30:25'::timestamp) - extract(epoch from '2026-07-17 13:30: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'), 47831, 'SRID=4674;POINT (-40.403197 -2.713591)', '2026-07-17 13:30:34', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403203 -2.713515)'), GeomFromEWKT('SRID=4674;POINT (-40.403197 -2.713591)'))) / (select extract(epoch from '2026-07-17 13:30:34'::timestamp) - extract(epoch from '2026-07-17 13:30:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403203 -2.713515)'), GeomFromEWKT('SRID=4674;POINT (-40.403197 -2.713591)'))) / (select extract(epoch from '2026-07-17 13:30:34'::timestamp) - extract(epoch from '2026-07-17 13:30:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.403186 -2.713677)', '2026-07-17 13:30:45', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403197 -2.713591)'), GeomFromEWKT('SRID=4674;POINT (-40.403186 -2.713677)'))) / (select extract(epoch from '2026-07-17 13:30:45'::timestamp) - extract(epoch from '2026-07-17 13:30:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403197 -2.713591)'), GeomFromEWKT('SRID=4674;POINT (-40.403186 -2.713677)'))) / (select extract(epoch from '2026-07-17 13:30:45'::timestamp) - extract(epoch from '2026-07-17 13:30: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'), 47831, 'SRID=4674;POINT (-40.40315 -2.713767)', '2026-07-17 13:31:00', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403186 -2.713677)'), GeomFromEWKT('SRID=4674;POINT (-40.40315 -2.713767)'))) / (select extract(epoch from '2026-07-17 13:31:00'::timestamp) - extract(epoch from '2026-07-17 13:30:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403186 -2.713677)'), GeomFromEWKT('SRID=4674;POINT (-40.40315 -2.713767)'))) / (select extract(epoch from '2026-07-17 13:31:00'::timestamp) - extract(epoch from '2026-07-17 13:30: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'), 47831, 'SRID=4674;POINT (-40.403131 -2.713821)', '2026-07-17 13:31:13', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40315 -2.713767)'), GeomFromEWKT('SRID=4674;POINT (-40.403131 -2.713821)'))) / (select extract(epoch from '2026-07-17 13:31:13'::timestamp) - extract(epoch from '2026-07-17 13:31:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40315 -2.713767)'), GeomFromEWKT('SRID=4674;POINT (-40.403131 -2.713821)'))) / (select extract(epoch from '2026-07-17 13:31:13'::timestamp) - extract(epoch from '2026-07-17 13:31: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'), 47831, 'SRID=4674;POINT (-40.403099 -2.713884)', '2026-07-17 13:31:25', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403131 -2.713821)'), GeomFromEWKT('SRID=4674;POINT (-40.403099 -2.713884)'))) / (select extract(epoch from '2026-07-17 13:31:25'::timestamp) - extract(epoch from '2026-07-17 13:31:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403131 -2.713821)'), GeomFromEWKT('SRID=4674;POINT (-40.403099 -2.713884)'))) / (select extract(epoch from '2026-07-17 13:31:25'::timestamp) - extract(epoch from '2026-07-17 13:31:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.403062 -2.713928)', '2026-07-17 13:31:34', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403099 -2.713884)'), GeomFromEWKT('SRID=4674;POINT (-40.403062 -2.713928)'))) / (select extract(epoch from '2026-07-17 13:31:34'::timestamp) - extract(epoch from '2026-07-17 13:31:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403099 -2.713884)'), GeomFromEWKT('SRID=4674;POINT (-40.403062 -2.713928)'))) / (select extract(epoch from '2026-07-17 13:31:34'::timestamp) - extract(epoch from '2026-07-17 13:31: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'), 47831, 'SRID=4674;POINT (-40.403026 -2.714009)', '2026-07-17 13:31:48', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403062 -2.713928)'), GeomFromEWKT('SRID=4674;POINT (-40.403026 -2.714009)'))) / (select extract(epoch from '2026-07-17 13:31:48'::timestamp) - extract(epoch from '2026-07-17 13:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403062 -2.713928)'), GeomFromEWKT('SRID=4674;POINT (-40.403026 -2.714009)'))) / (select extract(epoch from '2026-07-17 13:31:48'::timestamp) - extract(epoch from '2026-07-17 13:31:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.40301 -2.71406)', '2026-07-17 13:31:59', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403026 -2.714009)'), GeomFromEWKT('SRID=4674;POINT (-40.40301 -2.71406)'))) / (select extract(epoch from '2026-07-17 13:31:59'::timestamp) - extract(epoch from '2026-07-17 13:31:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403026 -2.714009)'), GeomFromEWKT('SRID=4674;POINT (-40.40301 -2.71406)'))) / (select extract(epoch from '2026-07-17 13:31:59'::timestamp) - extract(epoch from '2026-07-17 13:31: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'), 47831, 'SRID=4674;POINT (-40.402997 -2.714102)', '2026-07-17 13:32:12', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40301 -2.71406)'), GeomFromEWKT('SRID=4674;POINT (-40.402997 -2.714102)'))) / (select extract(epoch from '2026-07-17 13:32:12'::timestamp) - extract(epoch from '2026-07-17 13:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40301 -2.71406)'), GeomFromEWKT('SRID=4674;POINT (-40.402997 -2.714102)'))) / (select extract(epoch from '2026-07-17 13:32:12'::timestamp) - extract(epoch from '2026-07-17 13:31: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'), 47831, 'SRID=4674;POINT (-40.40297 -2.714156)', '2026-07-17 13:32:25', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402997 -2.714102)'), GeomFromEWKT('SRID=4674;POINT (-40.40297 -2.714156)'))) / (select extract(epoch from '2026-07-17 13:32:25'::timestamp) - extract(epoch from '2026-07-17 13:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402997 -2.714102)'), GeomFromEWKT('SRID=4674;POINT (-40.40297 -2.714156)'))) / (select extract(epoch from '2026-07-17 13:32:25'::timestamp) - extract(epoch from '2026-07-17 13:32: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'), 47831, 'SRID=4674;POINT (-40.402948 -2.714195)', '2026-07-17 13:32:34', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40297 -2.714156)'), GeomFromEWKT('SRID=4674;POINT (-40.402948 -2.714195)'))) / (select extract(epoch from '2026-07-17 13:32:34'::timestamp) - extract(epoch from '2026-07-17 13:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40297 -2.714156)'), GeomFromEWKT('SRID=4674;POINT (-40.402948 -2.714195)'))) / (select extract(epoch from '2026-07-17 13:32:34'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.402934 -2.714249)', '2026-07-17 13:32:45', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402948 -2.714195)'), GeomFromEWKT('SRID=4674;POINT (-40.402934 -2.714249)'))) / (select extract(epoch from '2026-07-17 13:32:45'::timestamp) - extract(epoch from '2026-07-17 13:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402948 -2.714195)'), GeomFromEWKT('SRID=4674;POINT (-40.402934 -2.714249)'))) / (select extract(epoch from '2026-07-17 13:32:45'::timestamp) - extract(epoch from '2026-07-17 13:32: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'), 47831, 'SRID=4674;POINT (-40.402895 -2.714313)', '2026-07-17 13:32:59', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402934 -2.714249)'), GeomFromEWKT('SRID=4674;POINT (-40.402895 -2.714313)'))) / (select extract(epoch from '2026-07-17 13:32:59'::timestamp) - extract(epoch from '2026-07-17 13:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402934 -2.714249)'), GeomFromEWKT('SRID=4674;POINT (-40.402895 -2.714313)'))) / (select extract(epoch from '2026-07-17 13:32:59'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.402892 -2.714339)', '2026-07-17 13:33:07', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402895 -2.714313)'), GeomFromEWKT('SRID=4674;POINT (-40.402892 -2.714339)'))) / (select extract(epoch from '2026-07-17 13:33:07'::timestamp) - extract(epoch from '2026-07-17 13:32:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402895 -2.714313)'), GeomFromEWKT('SRID=4674;POINT (-40.402892 -2.714339)'))) / (select extract(epoch from '2026-07-17 13:33:07'::timestamp) - extract(epoch from '2026-07-17 13:32: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'), 47831, 'SRID=4674;POINT (-40.402845 -2.714384)', '2026-07-17 13:33:21', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402892 -2.714339)'), GeomFromEWKT('SRID=4674;POINT (-40.402845 -2.714384)'))) / (select extract(epoch from '2026-07-17 13:33:21'::timestamp) - extract(epoch from '2026-07-17 13:33:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402892 -2.714339)'), GeomFromEWKT('SRID=4674;POINT (-40.402845 -2.714384)'))) / (select extract(epoch from '2026-07-17 13:33:21'::timestamp) - extract(epoch from '2026-07-17 13:33: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'), 47831, 'SRID=4674;POINT (-40.402828 -2.714425)', '2026-07-17 13:33:31', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402845 -2.714384)'), GeomFromEWKT('SRID=4674;POINT (-40.402828 -2.714425)'))) / (select extract(epoch from '2026-07-17 13:33:31'::timestamp) - extract(epoch from '2026-07-17 13:33:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402845 -2.714384)'), GeomFromEWKT('SRID=4674;POINT (-40.402828 -2.714425)'))) / (select extract(epoch from '2026-07-17 13:33:31'::timestamp) - extract(epoch from '2026-07-17 13:33: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'), 47831, 'SRID=4674;POINT (-40.402847 -2.714526)', '2026-07-17 13:33:42', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402828 -2.714425)'), GeomFromEWKT('SRID=4674;POINT (-40.402847 -2.714526)'))) / (select extract(epoch from '2026-07-17 13:33:42'::timestamp) - extract(epoch from '2026-07-17 13:33:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402828 -2.714425)'), GeomFromEWKT('SRID=4674;POINT (-40.402847 -2.714526)'))) / (select extract(epoch from '2026-07-17 13:33:42'::timestamp) - extract(epoch from '2026-07-17 13:33: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'), 47831, 'SRID=4674;POINT (-40.402868 -2.714652)', '2026-07-17 13:33:55', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402847 -2.714526)'), GeomFromEWKT('SRID=4674;POINT (-40.402868 -2.714652)'))) / (select extract(epoch from '2026-07-17 13:33:55'::timestamp) - extract(epoch from '2026-07-17 13:33:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402847 -2.714526)'), GeomFromEWKT('SRID=4674;POINT (-40.402868 -2.714652)'))) / (select extract(epoch from '2026-07-17 13:33:55'::timestamp) - extract(epoch from '2026-07-17 13:33: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'), 47831, 'SRID=4674;POINT (-40.402869 -2.714729)', '2026-07-17 13:34:05', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402868 -2.714652)'), GeomFromEWKT('SRID=4674;POINT (-40.402869 -2.714729)'))) / (select extract(epoch from '2026-07-17 13:34:05'::timestamp) - extract(epoch from '2026-07-17 13:33:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402868 -2.714652)'), GeomFromEWKT('SRID=4674;POINT (-40.402869 -2.714729)'))) / (select extract(epoch from '2026-07-17 13:34:05'::timestamp) - extract(epoch from '2026-07-17 13:33: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'), 47831, 'SRID=4674;POINT (-40.402827 -2.714832)', '2026-07-17 13:34:20', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402869 -2.714729)'), GeomFromEWKT('SRID=4674;POINT (-40.402827 -2.714832)'))) / (select extract(epoch from '2026-07-17 13:34:20'::timestamp) - extract(epoch from '2026-07-17 13:34:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402869 -2.714729)'), GeomFromEWKT('SRID=4674;POINT (-40.402827 -2.714832)'))) / (select extract(epoch from '2026-07-17 13:34:20'::timestamp) - extract(epoch from '2026-07-17 13:34: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'), 47831, 'SRID=4674;POINT (-40.402798 -2.714957)', '2026-07-17 13:34:28', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402827 -2.714832)'), GeomFromEWKT('SRID=4674;POINT (-40.402798 -2.714957)'))) / (select extract(epoch from '2026-07-17 13:34:28'::timestamp) - extract(epoch from '2026-07-17 13:34:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402827 -2.714832)'), GeomFromEWKT('SRID=4674;POINT (-40.402798 -2.714957)'))) / (select extract(epoch from '2026-07-17 13:34:28'::timestamp) - extract(epoch from '2026-07-17 13:34: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'), 47831, 'SRID=4674;POINT (-40.402818 -2.715063)', '2026-07-17 13:34:33', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402798 -2.714957)'), GeomFromEWKT('SRID=4674;POINT (-40.402818 -2.715063)'))) / (select extract(epoch from '2026-07-17 13:34:33'::timestamp) - extract(epoch from '2026-07-17 13:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402798 -2.714957)'), GeomFromEWKT('SRID=4674;POINT (-40.402818 -2.715063)'))) / (select extract(epoch from '2026-07-17 13:34:33'::timestamp) - extract(epoch from '2026-07-17 13:34:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.402839 -2.715205)', '2026-07-17 13:34:39', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402818 -2.715063)'), GeomFromEWKT('SRID=4674;POINT (-40.402839 -2.715205)'))) / (select extract(epoch from '2026-07-17 13:34:39'::timestamp) - extract(epoch from '2026-07-17 13:34:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402818 -2.715063)'), GeomFromEWKT('SRID=4674;POINT (-40.402839 -2.715205)'))) / (select extract(epoch from '2026-07-17 13:34:39'::timestamp) - extract(epoch from '2026-07-17 13:34: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'), 47831, 'SRID=4674;POINT (-40.402902 -2.715388)', '2026-07-17 13:34:47', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402839 -2.715205)'), GeomFromEWKT('SRID=4674;POINT (-40.402902 -2.715388)'))) / (select extract(epoch from '2026-07-17 13:34:47'::timestamp) - extract(epoch from '2026-07-17 13:34:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402839 -2.715205)'), GeomFromEWKT('SRID=4674;POINT (-40.402902 -2.715388)'))) / (select extract(epoch from '2026-07-17 13:34:47'::timestamp) - extract(epoch from '2026-07-17 13:34:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.40294 -2.71554)', '2026-07-17 13:34:54', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402902 -2.715388)'), GeomFromEWKT('SRID=4674;POINT (-40.40294 -2.71554)'))) / (select extract(epoch from '2026-07-17 13:34:54'::timestamp) - extract(epoch from '2026-07-17 13:34:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402902 -2.715388)'), GeomFromEWKT('SRID=4674;POINT (-40.40294 -2.71554)'))) / (select extract(epoch from '2026-07-17 13:34:54'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.402988 -2.71573)', '2026-07-17 13:35:02', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40294 -2.71554)'), GeomFromEWKT('SRID=4674;POINT (-40.402988 -2.71573)'))) / (select extract(epoch from '2026-07-17 13:35:02'::timestamp) - extract(epoch from '2026-07-17 13:34:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40294 -2.71554)'), GeomFromEWKT('SRID=4674;POINT (-40.402988 -2.71573)'))) / (select extract(epoch from '2026-07-17 13:35:02'::timestamp) - extract(epoch from '2026-07-17 13:34: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'), 47831, 'SRID=4674;POINT (-40.403047 -2.715838)', '2026-07-17 13:35:07', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402988 -2.71573)'), GeomFromEWKT('SRID=4674;POINT (-40.403047 -2.715838)'))) / (select extract(epoch from '2026-07-17 13:35:07'::timestamp) - extract(epoch from '2026-07-17 13:35:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402988 -2.71573)'), GeomFromEWKT('SRID=4674;POINT (-40.403047 -2.715838)'))) / (select extract(epoch from '2026-07-17 13:35:07'::timestamp) - extract(epoch from '2026-07-17 13:35: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'), 47831, 'SRID=4674;POINT (-40.403151 -2.715986)', '2026-07-17 13:35:14', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403047 -2.715838)'), GeomFromEWKT('SRID=4674;POINT (-40.403151 -2.715986)'))) / (select extract(epoch from '2026-07-17 13:35:14'::timestamp) - extract(epoch from '2026-07-17 13:35:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403047 -2.715838)'), GeomFromEWKT('SRID=4674;POINT (-40.403151 -2.715986)'))) / (select extract(epoch from '2026-07-17 13:35:14'::timestamp) - extract(epoch from '2026-07-17 13:35: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'), 47831, 'SRID=4674;POINT (-40.403264 -2.716056)', '2026-07-17 13:35:19', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403151 -2.715986)'), GeomFromEWKT('SRID=4674;POINT (-40.403264 -2.716056)'))) / (select extract(epoch from '2026-07-17 13:35:19'::timestamp) - extract(epoch from '2026-07-17 13:35:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403151 -2.715986)'), GeomFromEWKT('SRID=4674;POINT (-40.403264 -2.716056)'))) / (select extract(epoch from '2026-07-17 13:35:19'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.403458 -2.716144)', '2026-07-17 13:35:27', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403264 -2.716056)'), GeomFromEWKT('SRID=4674;POINT (-40.403458 -2.716144)'))) / (select extract(epoch from '2026-07-17 13:35:27'::timestamp) - extract(epoch from '2026-07-17 13:35:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403264 -2.716056)'), GeomFromEWKT('SRID=4674;POINT (-40.403458 -2.716144)'))) / (select extract(epoch from '2026-07-17 13:35:27'::timestamp) - extract(epoch from '2026-07-17 13:35:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.403587 -2.716238)', '2026-07-17 13:35:33', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403458 -2.716144)'), GeomFromEWKT('SRID=4674;POINT (-40.403587 -2.716238)'))) / (select extract(epoch from '2026-07-17 13:35:33'::timestamp) - extract(epoch from '2026-07-17 13:35:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403458 -2.716144)'), GeomFromEWKT('SRID=4674;POINT (-40.403587 -2.716238)'))) / (select extract(epoch from '2026-07-17 13:35:33'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.403724 -2.716342)', '2026-07-17 13:35:40', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403587 -2.716238)'), GeomFromEWKT('SRID=4674;POINT (-40.403724 -2.716342)'))) / (select extract(epoch from '2026-07-17 13:35:40'::timestamp) - extract(epoch from '2026-07-17 13:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403587 -2.716238)'), GeomFromEWKT('SRID=4674;POINT (-40.403724 -2.716342)'))) / (select extract(epoch from '2026-07-17 13:35:40'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.403842 -2.716401)', '2026-07-17 13:35:45', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403724 -2.716342)'), GeomFromEWKT('SRID=4674;POINT (-40.403842 -2.716401)'))) / (select extract(epoch from '2026-07-17 13:35:45'::timestamp) - extract(epoch from '2026-07-17 13:35:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403724 -2.716342)'), GeomFromEWKT('SRID=4674;POINT (-40.403842 -2.716401)'))) / (select extract(epoch from '2026-07-17 13:35:45'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.403943 -2.716496)', '2026-07-17 13:35:51', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403842 -2.716401)'), GeomFromEWKT('SRID=4674;POINT (-40.403943 -2.716496)'))) / (select extract(epoch from '2026-07-17 13:35:51'::timestamp) - extract(epoch from '2026-07-17 13:35:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403842 -2.716401)'), GeomFromEWKT('SRID=4674;POINT (-40.403943 -2.716496)'))) / (select extract(epoch from '2026-07-17 13:35:51'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.404014 -2.716663)', '2026-07-17 13:35:59', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403943 -2.716496)'), GeomFromEWKT('SRID=4674;POINT (-40.404014 -2.716663)'))) / (select extract(epoch from '2026-07-17 13:35:59'::timestamp) - extract(epoch from '2026-07-17 13:35:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403943 -2.716496)'), GeomFromEWKT('SRID=4674;POINT (-40.404014 -2.716663)'))) / (select extract(epoch from '2026-07-17 13:35:59'::timestamp) - extract(epoch from '2026-07-17 13:35: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'), 47831, 'SRID=4674;POINT (-40.403992 -2.71679)', '2026-07-17 13:36:06', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404014 -2.716663)'), GeomFromEWKT('SRID=4674;POINT (-40.403992 -2.71679)'))) / (select extract(epoch from '2026-07-17 13:36:06'::timestamp) - extract(epoch from '2026-07-17 13:35:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404014 -2.716663)'), GeomFromEWKT('SRID=4674;POINT (-40.403992 -2.71679)'))) / (select extract(epoch from '2026-07-17 13:36:06'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.403931 -2.716907)', '2026-07-17 13:36:13', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403992 -2.71679)'), GeomFromEWKT('SRID=4674;POINT (-40.403931 -2.716907)'))) / (select extract(epoch from '2026-07-17 13:36:13'::timestamp) - extract(epoch from '2026-07-17 13:36:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403992 -2.71679)'), GeomFromEWKT('SRID=4674;POINT (-40.403931 -2.716907)'))) / (select extract(epoch from '2026-07-17 13:36:13'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.403848 -2.71703)', '2026-07-17 13:36:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403931 -2.716907)'), GeomFromEWKT('SRID=4674;POINT (-40.403848 -2.71703)'))) / (select extract(epoch from '2026-07-17 13:36:20'::timestamp) - extract(epoch from '2026-07-17 13:36:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403931 -2.716907)'), GeomFromEWKT('SRID=4674;POINT (-40.403848 -2.71703)'))) / (select extract(epoch from '2026-07-17 13:36:20'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.403867 -2.717169)', '2026-07-17 13:36:26', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403848 -2.71703)'), GeomFromEWKT('SRID=4674;POINT (-40.403867 -2.717169)'))) / (select extract(epoch from '2026-07-17 13:36:26'::timestamp) - extract(epoch from '2026-07-17 13:36:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403848 -2.71703)'), GeomFromEWKT('SRID=4674;POINT (-40.403867 -2.717169)'))) / (select extract(epoch from '2026-07-17 13:36:26'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.403925 -2.717266)', '2026-07-17 13:36:31', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403867 -2.717169)'), GeomFromEWKT('SRID=4674;POINT (-40.403925 -2.717266)'))) / (select extract(epoch from '2026-07-17 13:36:31'::timestamp) - extract(epoch from '2026-07-17 13:36:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403867 -2.717169)'), GeomFromEWKT('SRID=4674;POINT (-40.403925 -2.717266)'))) / (select extract(epoch from '2026-07-17 13:36:31'::timestamp) - extract(epoch from '2026-07-17 13:36: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'), 47831, 'SRID=4674;POINT (-40.404016 -2.71736)', '2026-07-17 13:36:36', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403925 -2.717266)'), GeomFromEWKT('SRID=4674;POINT (-40.404016 -2.71736)'))) / (select extract(epoch from '2026-07-17 13:36:36'::timestamp) - extract(epoch from '2026-07-17 13:36:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403925 -2.717266)'), GeomFromEWKT('SRID=4674;POINT (-40.404016 -2.71736)'))) / (select extract(epoch from '2026-07-17 13:36:36'::timestamp) - extract(epoch from '2026-07-17 13:36: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'), 47831, 'SRID=4674;POINT (-40.404119 -2.717462)', '2026-07-17 13:36:42', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404016 -2.71736)'), GeomFromEWKT('SRID=4674;POINT (-40.404119 -2.717462)'))) / (select extract(epoch from '2026-07-17 13:36:42'::timestamp) - extract(epoch from '2026-07-17 13:36:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404016 -2.71736)'), GeomFromEWKT('SRID=4674;POINT (-40.404119 -2.717462)'))) / (select extract(epoch from '2026-07-17 13:36:42'::timestamp) - extract(epoch from '2026-07-17 13:36: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'), 47831, 'SRID=4674;POINT (-40.404219 -2.717573)', '2026-07-17 13:36:48', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404119 -2.717462)'), GeomFromEWKT('SRID=4674;POINT (-40.404219 -2.717573)'))) / (select extract(epoch from '2026-07-17 13:36:48'::timestamp) - extract(epoch from '2026-07-17 13:36:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404119 -2.717462)'), GeomFromEWKT('SRID=4674;POINT (-40.404219 -2.717573)'))) / (select extract(epoch from '2026-07-17 13:36:48'::timestamp) - extract(epoch from '2026-07-17 13:36: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'), 47831, 'SRID=4674;POINT (-40.404356 -2.717704)', '2026-07-17 13:36:55', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404219 -2.717573)'), GeomFromEWKT('SRID=4674;POINT (-40.404356 -2.717704)'))) / (select extract(epoch from '2026-07-17 13:36:55'::timestamp) - extract(epoch from '2026-07-17 13:36:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404219 -2.717573)'), GeomFromEWKT('SRID=4674;POINT (-40.404356 -2.717704)'))) / (select extract(epoch from '2026-07-17 13:36:55'::timestamp) - extract(epoch from '2026-07-17 13:36:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.404523 -2.717788)', '2026-07-17 13:37:02', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404356 -2.717704)'), GeomFromEWKT('SRID=4674;POINT (-40.404523 -2.717788)'))) / (select extract(epoch from '2026-07-17 13:37:02'::timestamp) - extract(epoch from '2026-07-17 13:36:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404356 -2.717704)'), GeomFromEWKT('SRID=4674;POINT (-40.404523 -2.717788)'))) / (select extract(epoch from '2026-07-17 13:37:02'::timestamp) - extract(epoch from '2026-07-17 13:36: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'), 47831, 'SRID=4674;POINT (-40.404667 -2.717874)', '2026-07-17 13:37:08', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404523 -2.717788)'), GeomFromEWKT('SRID=4674;POINT (-40.404667 -2.717874)'))) / (select extract(epoch from '2026-07-17 13:37:08'::timestamp) - extract(epoch from '2026-07-17 13:37:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404523 -2.717788)'), GeomFromEWKT('SRID=4674;POINT (-40.404667 -2.717874)'))) / (select extract(epoch from '2026-07-17 13:37:08'::timestamp) - extract(epoch from '2026-07-17 13:37:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.404779 -2.717956)', '2026-07-17 13:37:13', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404667 -2.717874)'), GeomFromEWKT('SRID=4674;POINT (-40.404779 -2.717956)'))) / (select extract(epoch from '2026-07-17 13:37:13'::timestamp) - extract(epoch from '2026-07-17 13:37:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404667 -2.717874)'), GeomFromEWKT('SRID=4674;POINT (-40.404779 -2.717956)'))) / (select extract(epoch from '2026-07-17 13:37:13'::timestamp) - extract(epoch from '2026-07-17 13:37: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'), 47831, 'SRID=4674;POINT (-40.404894 -2.718044)', '2026-07-17 13:37:19', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404779 -2.717956)'), GeomFromEWKT('SRID=4674;POINT (-40.404894 -2.718044)'))) / (select extract(epoch from '2026-07-17 13:37:19'::timestamp) - extract(epoch from '2026-07-17 13:37:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404779 -2.717956)'), GeomFromEWKT('SRID=4674;POINT (-40.404894 -2.718044)'))) / (select extract(epoch from '2026-07-17 13:37:19'::timestamp) - extract(epoch from '2026-07-17 13:37:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.405014 -2.71814)', '2026-07-17 13:37:25', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404894 -2.718044)'), GeomFromEWKT('SRID=4674;POINT (-40.405014 -2.71814)'))) / (select extract(epoch from '2026-07-17 13:37:25'::timestamp) - extract(epoch from '2026-07-17 13:37:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404894 -2.718044)'), GeomFromEWKT('SRID=4674;POINT (-40.405014 -2.71814)'))) / (select extract(epoch from '2026-07-17 13:37:25'::timestamp) - extract(epoch from '2026-07-17 13:37: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'), 47831, 'SRID=4674;POINT (-40.405105 -2.718246)', '2026-07-17 13:37:32', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405014 -2.71814)'), GeomFromEWKT('SRID=4674;POINT (-40.405105 -2.718246)'))) / (select extract(epoch from '2026-07-17 13:37:32'::timestamp) - extract(epoch from '2026-07-17 13:37:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405014 -2.71814)'), GeomFromEWKT('SRID=4674;POINT (-40.405105 -2.718246)'))) / (select extract(epoch from '2026-07-17 13:37:32'::timestamp) - extract(epoch from '2026-07-17 13:37: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'), 47831, 'SRID=4674;POINT (-40.405203 -2.718328)', '2026-07-17 13:37:38', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405105 -2.718246)'), GeomFromEWKT('SRID=4674;POINT (-40.405203 -2.718328)'))) / (select extract(epoch from '2026-07-17 13:37:38'::timestamp) - extract(epoch from '2026-07-17 13:37:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405105 -2.718246)'), GeomFromEWKT('SRID=4674;POINT (-40.405203 -2.718328)'))) / (select extract(epoch from '2026-07-17 13:37:38'::timestamp) - extract(epoch from '2026-07-17 13:37: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'), 47831, 'SRID=4674;POINT (-40.405324 -2.718389)', '2026-07-17 13:37:43', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405203 -2.718328)'), GeomFromEWKT('SRID=4674;POINT (-40.405324 -2.718389)'))) / (select extract(epoch from '2026-07-17 13:37:43'::timestamp) - extract(epoch from '2026-07-17 13:37:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405203 -2.718328)'), GeomFromEWKT('SRID=4674;POINT (-40.405324 -2.718389)'))) / (select extract(epoch from '2026-07-17 13:37:43'::timestamp) - extract(epoch from '2026-07-17 13:37:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.405472 -2.718467)', '2026-07-17 13:37:49', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405324 -2.718389)'), GeomFromEWKT('SRID=4674;POINT (-40.405472 -2.718467)'))) / (select extract(epoch from '2026-07-17 13:37:49'::timestamp) - extract(epoch from '2026-07-17 13:37:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405324 -2.718389)'), GeomFromEWKT('SRID=4674;POINT (-40.405472 -2.718467)'))) / (select extract(epoch from '2026-07-17 13:37:49'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.405592 -2.718521)', '2026-07-17 13:37:54', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405472 -2.718467)'), GeomFromEWKT('SRID=4674;POINT (-40.405592 -2.718521)'))) / (select extract(epoch from '2026-07-17 13:37:54'::timestamp) - extract(epoch from '2026-07-17 13:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405472 -2.718467)'), GeomFromEWKT('SRID=4674;POINT (-40.405592 -2.718521)'))) / (select extract(epoch from '2026-07-17 13:37:54'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.405736 -2.71858)', '2026-07-17 13:38:00', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405592 -2.718521)'), GeomFromEWKT('SRID=4674;POINT (-40.405736 -2.71858)'))) / (select extract(epoch from '2026-07-17 13:38:00'::timestamp) - extract(epoch from '2026-07-17 13:37:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405592 -2.718521)'), GeomFromEWKT('SRID=4674;POINT (-40.405736 -2.71858)'))) / (select extract(epoch from '2026-07-17 13:38:00'::timestamp) - extract(epoch from '2026-07-17 13:37: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'), 47831, 'SRID=4674;POINT (-40.405866 -2.718646)', '2026-07-17 13:38:06', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405736 -2.71858)'), GeomFromEWKT('SRID=4674;POINT (-40.405866 -2.718646)'))) / (select extract(epoch from '2026-07-17 13:38:06'::timestamp) - extract(epoch from '2026-07-17 13:38:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405736 -2.71858)'), GeomFromEWKT('SRID=4674;POINT (-40.405866 -2.718646)'))) / (select extract(epoch from '2026-07-17 13:38:06'::timestamp) - extract(epoch from '2026-07-17 13:38: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'), 47831, 'SRID=4674;POINT (-40.406007 -2.718712)', '2026-07-17 13:38:12', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405866 -2.718646)'), GeomFromEWKT('SRID=4674;POINT (-40.406007 -2.718712)'))) / (select extract(epoch from '2026-07-17 13:38:12'::timestamp) - extract(epoch from '2026-07-17 13:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405866 -2.718646)'), GeomFromEWKT('SRID=4674;POINT (-40.406007 -2.718712)'))) / (select extract(epoch from '2026-07-17 13:38:12'::timestamp) - extract(epoch from '2026-07-17 13:38:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.40614 -2.71877)', '2026-07-17 13:38:18', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406007 -2.718712)'), GeomFromEWKT('SRID=4674;POINT (-40.40614 -2.71877)'))) / (select extract(epoch from '2026-07-17 13:38:18'::timestamp) - extract(epoch from '2026-07-17 13:38:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406007 -2.718712)'), GeomFromEWKT('SRID=4674;POINT (-40.40614 -2.71877)'))) / (select extract(epoch from '2026-07-17 13:38:18'::timestamp) - extract(epoch from '2026-07-17 13:38:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.406246 -2.718839)', '2026-07-17 13:38:23', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40614 -2.71877)'), GeomFromEWKT('SRID=4674;POINT (-40.406246 -2.718839)'))) / (select extract(epoch from '2026-07-17 13:38:23'::timestamp) - extract(epoch from '2026-07-17 13:38:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40614 -2.71877)'), GeomFromEWKT('SRID=4674;POINT (-40.406246 -2.718839)'))) / (select extract(epoch from '2026-07-17 13:38:23'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.40635 -2.718911)', '2026-07-17 13:38:28', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406246 -2.718839)'), GeomFromEWKT('SRID=4674;POINT (-40.40635 -2.718911)'))) / (select extract(epoch from '2026-07-17 13:38:28'::timestamp) - extract(epoch from '2026-07-17 13:38:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406246 -2.718839)'), GeomFromEWKT('SRID=4674;POINT (-40.40635 -2.718911)'))) / (select extract(epoch from '2026-07-17 13:38:28'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.406451 -2.718974)', '2026-07-17 13:38:33', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40635 -2.718911)'), GeomFromEWKT('SRID=4674;POINT (-40.406451 -2.718974)'))) / (select extract(epoch from '2026-07-17 13:38:33'::timestamp) - extract(epoch from '2026-07-17 13:38:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40635 -2.718911)'), GeomFromEWKT('SRID=4674;POINT (-40.406451 -2.718974)'))) / (select extract(epoch from '2026-07-17 13:38:33'::timestamp) - extract(epoch from '2026-07-17 13:38: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'), 47831, 'SRID=4674;POINT (-40.406578 -2.719029)', '2026-07-17 13:38:38', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406451 -2.718974)'), GeomFromEWKT('SRID=4674;POINT (-40.406578 -2.719029)'))) / (select extract(epoch from '2026-07-17 13:38:38'::timestamp) - extract(epoch from '2026-07-17 13:38:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406451 -2.718974)'), GeomFromEWKT('SRID=4674;POINT (-40.406578 -2.719029)'))) / (select extract(epoch from '2026-07-17 13:38:38'::timestamp) - extract(epoch from '2026-07-17 13:38: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'), 47831, 'SRID=4674;POINT (-40.406712 -2.719082)', '2026-07-17 13:38:44', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406578 -2.719029)'), GeomFromEWKT('SRID=4674;POINT (-40.406712 -2.719082)'))) / (select extract(epoch from '2026-07-17 13:38:44'::timestamp) - extract(epoch from '2026-07-17 13:38:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406578 -2.719029)'), GeomFromEWKT('SRID=4674;POINT (-40.406712 -2.719082)'))) / (select extract(epoch from '2026-07-17 13:38:44'::timestamp) - extract(epoch from '2026-07-17 13:38: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'), 47831, 'SRID=4674;POINT (-40.406877 -2.719184)', '2026-07-17 13:38:52', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406712 -2.719082)'), GeomFromEWKT('SRID=4674;POINT (-40.406877 -2.719184)'))) / (select extract(epoch from '2026-07-17 13:38:52'::timestamp) - extract(epoch from '2026-07-17 13:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406712 -2.719082)'), GeomFromEWKT('SRID=4674;POINT (-40.406877 -2.719184)'))) / (select extract(epoch from '2026-07-17 13:38:52'::timestamp) - extract(epoch from '2026-07-17 13:38: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'), 47831, 'SRID=4674;POINT (-40.407022 -2.71927)', '2026-07-17 13:38:58', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406877 -2.719184)'), GeomFromEWKT('SRID=4674;POINT (-40.407022 -2.71927)'))) / (select extract(epoch from '2026-07-17 13:38:58'::timestamp) - extract(epoch from '2026-07-17 13:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406877 -2.719184)'), GeomFromEWKT('SRID=4674;POINT (-40.407022 -2.71927)'))) / (select extract(epoch from '2026-07-17 13:38:58'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.407167 -2.719332)', '2026-07-17 13:39:04', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407022 -2.71927)'), GeomFromEWKT('SRID=4674;POINT (-40.407167 -2.719332)'))) / (select extract(epoch from '2026-07-17 13:39:04'::timestamp) - extract(epoch from '2026-07-17 13:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407022 -2.71927)'), GeomFromEWKT('SRID=4674;POINT (-40.407167 -2.719332)'))) / (select extract(epoch from '2026-07-17 13:39:04'::timestamp) - extract(epoch from '2026-07-17 13:38:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.407296 -2.719415)', '2026-07-17 13:39:10', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407167 -2.719332)'), GeomFromEWKT('SRID=4674;POINT (-40.407296 -2.719415)'))) / (select extract(epoch from '2026-07-17 13:39:10'::timestamp) - extract(epoch from '2026-07-17 13:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407167 -2.719332)'), GeomFromEWKT('SRID=4674;POINT (-40.407296 -2.719415)'))) / (select extract(epoch from '2026-07-17 13:39:10'::timestamp) - extract(epoch from '2026-07-17 13:39: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'), 47831, 'SRID=4674;POINT (-40.407425 -2.719508)', '2026-07-17 13:39:16', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407296 -2.719415)'), GeomFromEWKT('SRID=4674;POINT (-40.407425 -2.719508)'))) / (select extract(epoch from '2026-07-17 13:39:16'::timestamp) - extract(epoch from '2026-07-17 13:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407296 -2.719415)'), GeomFromEWKT('SRID=4674;POINT (-40.407425 -2.719508)'))) / (select extract(epoch from '2026-07-17 13:39:16'::timestamp) - extract(epoch from '2026-07-17 13:39: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'), 47831, 'SRID=4674;POINT (-40.407554 -2.719583)', '2026-07-17 13:39:23', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407425 -2.719508)'), GeomFromEWKT('SRID=4674;POINT (-40.407554 -2.719583)'))) / (select extract(epoch from '2026-07-17 13:39:23'::timestamp) - extract(epoch from '2026-07-17 13:39:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407425 -2.719508)'), GeomFromEWKT('SRID=4674;POINT (-40.407554 -2.719583)'))) / (select extract(epoch from '2026-07-17 13:39:23'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.407686 -2.719603)', '2026-07-17 13:39:31', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407554 -2.719583)'), GeomFromEWKT('SRID=4674;POINT (-40.407686 -2.719603)'))) / (select extract(epoch from '2026-07-17 13:39:31'::timestamp) - extract(epoch from '2026-07-17 13:39:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407554 -2.719583)'), GeomFromEWKT('SRID=4674;POINT (-40.407686 -2.719603)'))) / (select extract(epoch from '2026-07-17 13:39:31'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.407784 -2.719604)', '2026-07-17 13:39:37', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407686 -2.719603)'), GeomFromEWKT('SRID=4674;POINT (-40.407784 -2.719604)'))) / (select extract(epoch from '2026-07-17 13:39:37'::timestamp) - extract(epoch from '2026-07-17 13:39:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407686 -2.719603)'), GeomFromEWKT('SRID=4674;POINT (-40.407784 -2.719604)'))) / (select extract(epoch from '2026-07-17 13:39:37'::timestamp) - extract(epoch from '2026-07-17 13:39:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.407908 -2.719619)', '2026-07-17 13:39:45', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407784 -2.719604)'), GeomFromEWKT('SRID=4674;POINT (-40.407908 -2.719619)'))) / (select extract(epoch from '2026-07-17 13:39:45'::timestamp) - extract(epoch from '2026-07-17 13:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407784 -2.719604)'), GeomFromEWKT('SRID=4674;POINT (-40.407908 -2.719619)'))) / (select extract(epoch from '2026-07-17 13:39:45'::timestamp) - extract(epoch from '2026-07-17 13:39: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'), 47831, 'SRID=4674;POINT (-40.408039 -2.719633)', '2026-07-17 13:39:53', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407908 -2.719619)'), GeomFromEWKT('SRID=4674;POINT (-40.408039 -2.719633)'))) / (select extract(epoch from '2026-07-17 13:39:53'::timestamp) - extract(epoch from '2026-07-17 13:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407908 -2.719619)'), GeomFromEWKT('SRID=4674;POINT (-40.408039 -2.719633)'))) / (select extract(epoch from '2026-07-17 13:39:53'::timestamp) - extract(epoch from '2026-07-17 13:39: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'), 47831, 'SRID=4674;POINT (-40.408119 -2.719694)', '2026-07-17 13:40:00', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408039 -2.719633)'), GeomFromEWKT('SRID=4674;POINT (-40.408119 -2.719694)'))) / (select extract(epoch from '2026-07-17 13:40:00'::timestamp) - extract(epoch from '2026-07-17 13:39:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408039 -2.719633)'), GeomFromEWKT('SRID=4674;POINT (-40.408119 -2.719694)'))) / (select extract(epoch from '2026-07-17 13:40:00'::timestamp) - extract(epoch from '2026-07-17 13:39: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'), 47831, 'SRID=4674;POINT (-40.408191 -2.719775)', '2026-07-17 13:40:08', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408119 -2.719694)'), GeomFromEWKT('SRID=4674;POINT (-40.408191 -2.719775)'))) / (select extract(epoch from '2026-07-17 13:40:08'::timestamp) - extract(epoch from '2026-07-17 13:40:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408119 -2.719694)'), GeomFromEWKT('SRID=4674;POINT (-40.408191 -2.719775)'))) / (select extract(epoch from '2026-07-17 13:40:08'::timestamp) - extract(epoch from '2026-07-17 13:40:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408236 -2.719843)', '2026-07-17 13:40:14', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408191 -2.719775)'), GeomFromEWKT('SRID=4674;POINT (-40.408236 -2.719843)'))) / (select extract(epoch from '2026-07-17 13:40:14'::timestamp) - extract(epoch from '2026-07-17 13:40:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408191 -2.719775)'), GeomFromEWKT('SRID=4674;POINT (-40.408236 -2.719843)'))) / (select extract(epoch from '2026-07-17 13:40:14'::timestamp) - extract(epoch from '2026-07-17 13:40: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'), 47831, 'SRID=4674;POINT (-40.408292 -2.719915)', '2026-07-17 13:40:20', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408236 -2.719843)'), GeomFromEWKT('SRID=4674;POINT (-40.408292 -2.719915)'))) / (select extract(epoch from '2026-07-17 13:40:20'::timestamp) - extract(epoch from '2026-07-17 13:40:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408236 -2.719843)'), GeomFromEWKT('SRID=4674;POINT (-40.408292 -2.719915)'))) / (select extract(epoch from '2026-07-17 13:40:20'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.408382 -2.719964)', '2026-07-17 13:40:27', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408292 -2.719915)'), GeomFromEWKT('SRID=4674;POINT (-40.408382 -2.719964)'))) / (select extract(epoch from '2026-07-17 13:40:27'::timestamp) - extract(epoch from '2026-07-17 13:40:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408292 -2.719915)'), GeomFromEWKT('SRID=4674;POINT (-40.408382 -2.719964)'))) / (select extract(epoch from '2026-07-17 13:40:27'::timestamp) - extract(epoch from '2026-07-17 13:40: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'), 47831, 'SRID=4674;POINT (-40.408479 -2.719975)', '2026-07-17 13:40:34', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408382 -2.719964)'), GeomFromEWKT('SRID=4674;POINT (-40.408479 -2.719975)'))) / (select extract(epoch from '2026-07-17 13:40:34'::timestamp) - extract(epoch from '2026-07-17 13:40:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408382 -2.719964)'), GeomFromEWKT('SRID=4674;POINT (-40.408479 -2.719975)'))) / (select extract(epoch from '2026-07-17 13:40:34'::timestamp) - extract(epoch from '2026-07-17 13:40: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'), 47831, 'SRID=4674;POINT (-40.408586 -2.71997)', '2026-07-17 13:40:41', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408479 -2.719975)'), GeomFromEWKT('SRID=4674;POINT (-40.408586 -2.71997)'))) / (select extract(epoch from '2026-07-17 13:40:41'::timestamp) - extract(epoch from '2026-07-17 13:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408479 -2.719975)'), GeomFromEWKT('SRID=4674;POINT (-40.408586 -2.71997)'))) / (select extract(epoch from '2026-07-17 13:40:41'::timestamp) - extract(epoch from '2026-07-17 13:40:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408652 -2.719955)', '2026-07-17 13:40:47', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408586 -2.71997)'), GeomFromEWKT('SRID=4674;POINT (-40.408652 -2.719955)'))) / (select extract(epoch from '2026-07-17 13:40:47'::timestamp) - extract(epoch from '2026-07-17 13:40:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408586 -2.71997)'), GeomFromEWKT('SRID=4674;POINT (-40.408652 -2.719955)'))) / (select extract(epoch from '2026-07-17 13:40:47'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.408681 -2.719928)', '2026-07-17 13:40:53', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408652 -2.719955)'), GeomFromEWKT('SRID=4674;POINT (-40.408681 -2.719928)'))) / (select extract(epoch from '2026-07-17 13:40:53'::timestamp) - extract(epoch from '2026-07-17 13:40:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408652 -2.719955)'), GeomFromEWKT('SRID=4674;POINT (-40.408681 -2.719928)'))) / (select extract(epoch from '2026-07-17 13:40:53'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.408719 -2.719892)', '2026-07-17 13:41:05', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408681 -2.719928)'), GeomFromEWKT('SRID=4674;POINT (-40.408719 -2.719892)'))) / (select extract(epoch from '2026-07-17 13:41:05'::timestamp) - extract(epoch from '2026-07-17 13:40:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408681 -2.719928)'), GeomFromEWKT('SRID=4674;POINT (-40.408719 -2.719892)'))) / (select extract(epoch from '2026-07-17 13:41:05'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.408737 -2.71987)', '2026-07-17 13:41:13', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408719 -2.719892)'), GeomFromEWKT('SRID=4674;POINT (-40.408737 -2.71987)'))) / (select extract(epoch from '2026-07-17 13:41:13'::timestamp) - extract(epoch from '2026-07-17 13:41:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408719 -2.719892)'), GeomFromEWKT('SRID=4674;POINT (-40.408737 -2.71987)'))) / (select extract(epoch from '2026-07-17 13:41:13'::timestamp) - extract(epoch from '2026-07-17 13:41: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'), 47831, 'SRID=4674;POINT (-40.408742 -2.719862)', '2026-07-17 13:41:24', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408737 -2.71987)'), GeomFromEWKT('SRID=4674;POINT (-40.408742 -2.719862)'))) / (select extract(epoch from '2026-07-17 13:41:24'::timestamp) - extract(epoch from '2026-07-17 13:41:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408737 -2.71987)'), GeomFromEWKT('SRID=4674;POINT (-40.408742 -2.719862)'))) / (select extract(epoch from '2026-07-17 13:41:24'::timestamp) - extract(epoch from '2026-07-17 13:41:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408694 -2.71991)', '2026-07-17 13:41:39', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408742 -2.719862)'), GeomFromEWKT('SRID=4674;POINT (-40.408694 -2.71991)'))) / (select extract(epoch from '2026-07-17 13:41:39'::timestamp) - extract(epoch from '2026-07-17 13:41:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408742 -2.719862)'), GeomFromEWKT('SRID=4674;POINT (-40.408694 -2.71991)'))) / (select extract(epoch from '2026-07-17 13:41:39'::timestamp) - extract(epoch from '2026-07-17 13:41: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'), 47831, 'SRID=4674;POINT (-40.408581 -2.719943)', '2026-07-17 13:41:49', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408694 -2.71991)'), GeomFromEWKT('SRID=4674;POINT (-40.408581 -2.719943)'))) / (select extract(epoch from '2026-07-17 13:41:49'::timestamp) - extract(epoch from '2026-07-17 13:41:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408694 -2.71991)'), GeomFromEWKT('SRID=4674;POINT (-40.408581 -2.719943)'))) / (select extract(epoch from '2026-07-17 13:41:49'::timestamp) - extract(epoch from '2026-07-17 13:41: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'), 47831, 'SRID=4674;POINT (-40.408425 -2.719892)', '2026-07-17 13:42:01', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408581 -2.719943)'), GeomFromEWKT('SRID=4674;POINT (-40.408425 -2.719892)'))) / (select extract(epoch from '2026-07-17 13:42:01'::timestamp) - extract(epoch from '2026-07-17 13:41:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408581 -2.719943)'), GeomFromEWKT('SRID=4674;POINT (-40.408425 -2.719892)'))) / (select extract(epoch from '2026-07-17 13:42:01'::timestamp) - extract(epoch from '2026-07-17 13:41:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408329 -2.719856)', '2026-07-17 13:42:08', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408425 -2.719892)'), GeomFromEWKT('SRID=4674;POINT (-40.408329 -2.719856)'))) / (select extract(epoch from '2026-07-17 13:42:08'::timestamp) - extract(epoch from '2026-07-17 13:42:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408425 -2.719892)'), GeomFromEWKT('SRID=4674;POINT (-40.408329 -2.719856)'))) / (select extract(epoch from '2026-07-17 13:42:08'::timestamp) - extract(epoch from '2026-07-17 13:42: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'), 47831, 'SRID=4674;POINT (-40.408266 -2.719851)', '2026-07-17 13:42:15', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408329 -2.719856)'), GeomFromEWKT('SRID=4674;POINT (-40.408266 -2.719851)'))) / (select extract(epoch from '2026-07-17 13:42:15'::timestamp) - extract(epoch from '2026-07-17 13:42:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408329 -2.719856)'), GeomFromEWKT('SRID=4674;POINT (-40.408266 -2.719851)'))) / (select extract(epoch from '2026-07-17 13:42:15'::timestamp) - extract(epoch from '2026-07-17 13:42: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'), 47831, 'SRID=4674;POINT (-40.408156 -2.719815)', '2026-07-17 13:42:27', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408266 -2.719851)'), GeomFromEWKT('SRID=4674;POINT (-40.408156 -2.719815)'))) / (select extract(epoch from '2026-07-17 13:42:27'::timestamp) - extract(epoch from '2026-07-17 13:42:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408266 -2.719851)'), GeomFromEWKT('SRID=4674;POINT (-40.408156 -2.719815)'))) / (select extract(epoch from '2026-07-17 13:42:27'::timestamp) - extract(epoch from '2026-07-17 13:42:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408097 -2.719796)', '2026-07-17 13:42:36', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408156 -2.719815)'), GeomFromEWKT('SRID=4674;POINT (-40.408097 -2.719796)'))) / (select extract(epoch from '2026-07-17 13:42:36'::timestamp) - extract(epoch from '2026-07-17 13:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408156 -2.719815)'), GeomFromEWKT('SRID=4674;POINT (-40.408097 -2.719796)'))) / (select extract(epoch from '2026-07-17 13:42:36'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.408139 -2.719743)', '2026-07-17 13:42:45', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408097 -2.719796)'), GeomFromEWKT('SRID=4674;POINT (-40.408139 -2.719743)'))) / (select extract(epoch from '2026-07-17 13:42:45'::timestamp) - extract(epoch from '2026-07-17 13:42:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408097 -2.719796)'), GeomFromEWKT('SRID=4674;POINT (-40.408139 -2.719743)'))) / (select extract(epoch from '2026-07-17 13:42:45'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.408132 -2.719716)', '2026-07-17 13:42:53', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408139 -2.719743)'), GeomFromEWKT('SRID=4674;POINT (-40.408132 -2.719716)'))) / (select extract(epoch from '2026-07-17 13:42:53'::timestamp) - extract(epoch from '2026-07-17 13:42:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408139 -2.719743)'), GeomFromEWKT('SRID=4674;POINT (-40.408132 -2.719716)'))) / (select extract(epoch from '2026-07-17 13:42:53'::timestamp) - extract(epoch from '2026-07-17 13:42: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'), 47831, 'SRID=4674;POINT (-40.408101 -2.719792)', '2026-07-17 13:43:01', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408132 -2.719716)'), GeomFromEWKT('SRID=4674;POINT (-40.408101 -2.719792)'))) / (select extract(epoch from '2026-07-17 13:43:01'::timestamp) - extract(epoch from '2026-07-17 13:42:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408132 -2.719716)'), GeomFromEWKT('SRID=4674;POINT (-40.408101 -2.719792)'))) / (select extract(epoch from '2026-07-17 13:43:01'::timestamp) - extract(epoch from '2026-07-17 13:42:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408058 -2.719821)', '2026-07-17 13:43:11', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408101 -2.719792)'), GeomFromEWKT('SRID=4674;POINT (-40.408058 -2.719821)'))) / (select extract(epoch from '2026-07-17 13:43:11'::timestamp) - extract(epoch from '2026-07-17 13:43:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408101 -2.719792)'), GeomFromEWKT('SRID=4674;POINT (-40.408058 -2.719821)'))) / (select extract(epoch from '2026-07-17 13:43:11'::timestamp) - extract(epoch from '2026-07-17 13:43: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'), 47831, 'SRID=4674;POINT (-40.408079 -2.719761)', '2026-07-17 13:43:21', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408058 -2.719821)'), GeomFromEWKT('SRID=4674;POINT (-40.408079 -2.719761)'))) / (select extract(epoch from '2026-07-17 13:43:21'::timestamp) - extract(epoch from '2026-07-17 13:43:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408058 -2.719821)'), GeomFromEWKT('SRID=4674;POINT (-40.408079 -2.719761)'))) / (select extract(epoch from '2026-07-17 13:43:21'::timestamp) - extract(epoch from '2026-07-17 13:43: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'), 47831, 'SRID=4674;POINT (-40.408136 -2.71967)', '2026-07-17 13:43:34', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408079 -2.719761)'), GeomFromEWKT('SRID=4674;POINT (-40.408136 -2.71967)'))) / (select extract(epoch from '2026-07-17 13:43:34'::timestamp) - extract(epoch from '2026-07-17 13:43:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408079 -2.719761)'), GeomFromEWKT('SRID=4674;POINT (-40.408136 -2.71967)'))) / (select extract(epoch from '2026-07-17 13:43:34'::timestamp) - extract(epoch from '2026-07-17 13:43:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408158 -2.719655)', '2026-07-17 13:43:45', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408136 -2.71967)'), GeomFromEWKT('SRID=4674;POINT (-40.408158 -2.719655)'))) / (select extract(epoch from '2026-07-17 13:43:45'::timestamp) - extract(epoch from '2026-07-17 13:43:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408136 -2.71967)'), GeomFromEWKT('SRID=4674;POINT (-40.408158 -2.719655)'))) / (select extract(epoch from '2026-07-17 13:43:45'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.408211 -2.719622)', '2026-07-17 13:43:55', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408158 -2.719655)'), GeomFromEWKT('SRID=4674;POINT (-40.408211 -2.719622)'))) / (select extract(epoch from '2026-07-17 13:43:55'::timestamp) - extract(epoch from '2026-07-17 13:43:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408158 -2.719655)'), GeomFromEWKT('SRID=4674;POINT (-40.408211 -2.719622)'))) / (select extract(epoch from '2026-07-17 13:43:55'::timestamp) - extract(epoch from '2026-07-17 13:43: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'), 47831, 'SRID=4674;POINT (-40.408222 -2.719609)', '2026-07-17 13:44:08', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408211 -2.719622)'), GeomFromEWKT('SRID=4674;POINT (-40.408222 -2.719609)'))) / (select extract(epoch from '2026-07-17 13:44:08'::timestamp) - extract(epoch from '2026-07-17 13:43:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408211 -2.719622)'), GeomFromEWKT('SRID=4674;POINT (-40.408222 -2.719609)'))) / (select extract(epoch from '2026-07-17 13:44:08'::timestamp) - extract(epoch from '2026-07-17 13:43: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'), 47831, 'SRID=4674;POINT (-40.408213 -2.719623)', '2026-07-17 13:44:18', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408222 -2.719609)'), GeomFromEWKT('SRID=4674;POINT (-40.408213 -2.719623)'))) / (select extract(epoch from '2026-07-17 13:44:18'::timestamp) - extract(epoch from '2026-07-17 13:44:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408222 -2.719609)'), GeomFromEWKT('SRID=4674;POINT (-40.408213 -2.719623)'))) / (select extract(epoch from '2026-07-17 13:44:18'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.408213 -2.719646)', '2026-07-17 13:44:25', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408213 -2.719623)'), GeomFromEWKT('SRID=4674;POINT (-40.408213 -2.719646)'))) / (select extract(epoch from '2026-07-17 13:44:25'::timestamp) - extract(epoch from '2026-07-17 13:44:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408213 -2.719623)'), GeomFromEWKT('SRID=4674;POINT (-40.408213 -2.719646)'))) / (select extract(epoch from '2026-07-17 13:44:25'::timestamp) - extract(epoch from '2026-07-17 13:44: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'), 47831, 'SRID=4674;POINT (-40.40817 -2.719688)', '2026-07-17 13:44:36', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408213 -2.719646)'), GeomFromEWKT('SRID=4674;POINT (-40.40817 -2.719688)'))) / (select extract(epoch from '2026-07-17 13:44:36'::timestamp) - extract(epoch from '2026-07-17 13:44:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408213 -2.719646)'), GeomFromEWKT('SRID=4674;POINT (-40.40817 -2.719688)'))) / (select extract(epoch from '2026-07-17 13:44:36'::timestamp) - extract(epoch from '2026-07-17 13:44:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408148 -2.719713)', '2026-07-17 13:44:50', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40817 -2.719688)'), GeomFromEWKT('SRID=4674;POINT (-40.408148 -2.719713)'))) / (select extract(epoch from '2026-07-17 13:44:50'::timestamp) - extract(epoch from '2026-07-17 13:44:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40817 -2.719688)'), GeomFromEWKT('SRID=4674;POINT (-40.408148 -2.719713)'))) / (select extract(epoch from '2026-07-17 13:44:50'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.408197 -2.719734)', '2026-07-17 13:45:18', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408148 -2.719713)'), GeomFromEWKT('SRID=4674;POINT (-40.408197 -2.719734)'))) / (select extract(epoch from '2026-07-17 13:45:18'::timestamp) - extract(epoch from '2026-07-17 13:44:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408148 -2.719713)'), GeomFromEWKT('SRID=4674;POINT (-40.408197 -2.719734)'))) / (select extract(epoch from '2026-07-17 13:45:18'::timestamp) - extract(epoch from '2026-07-17 13:44: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'), 47831, 'SRID=4674;POINT (-40.408288 -2.719748)', '2026-07-17 13:45:38', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408197 -2.719734)'), GeomFromEWKT('SRID=4674;POINT (-40.408288 -2.719748)'))) / (select extract(epoch from '2026-07-17 13:45:38'::timestamp) - extract(epoch from '2026-07-17 13:45:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408197 -2.719734)'), GeomFromEWKT('SRID=4674;POINT (-40.408288 -2.719748)'))) / (select extract(epoch from '2026-07-17 13:45:38'::timestamp) - extract(epoch from '2026-07-17 13:45:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408366 -2.719753)', '2026-07-17 13:45:52', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408288 -2.719748)'), GeomFromEWKT('SRID=4674;POINT (-40.408366 -2.719753)'))) / (select extract(epoch from '2026-07-17 13:45:52'::timestamp) - extract(epoch from '2026-07-17 13:45:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408288 -2.719748)'), GeomFromEWKT('SRID=4674;POINT (-40.408366 -2.719753)'))) / (select extract(epoch from '2026-07-17 13:45:52'::timestamp) - extract(epoch from '2026-07-17 13:45: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'), 47831, 'SRID=4674;POINT (-40.408412 -2.719766)', '2026-07-17 13:46:02', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408366 -2.719753)'), GeomFromEWKT('SRID=4674;POINT (-40.408412 -2.719766)'))) / (select extract(epoch from '2026-07-17 13:46:02'::timestamp) - extract(epoch from '2026-07-17 13:45:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408366 -2.719753)'), GeomFromEWKT('SRID=4674;POINT (-40.408412 -2.719766)'))) / (select extract(epoch from '2026-07-17 13:46:02'::timestamp) - extract(epoch from '2026-07-17 13:45: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'), 47831, 'SRID=4674;POINT (-40.408442 -2.719781)', '2026-07-17 13:46:08', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408412 -2.719766)'), GeomFromEWKT('SRID=4674;POINT (-40.408442 -2.719781)'))) / (select extract(epoch from '2026-07-17 13:46:08'::timestamp) - extract(epoch from '2026-07-17 13:46:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408412 -2.719766)'), GeomFromEWKT('SRID=4674;POINT (-40.408442 -2.719781)'))) / (select extract(epoch from '2026-07-17 13:46:08'::timestamp) - extract(epoch from '2026-07-17 13:46: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'), 47831, 'SRID=4674;POINT (-40.408505 -2.719735)', '2026-07-17 13:46:20', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408442 -2.719781)'), GeomFromEWKT('SRID=4674;POINT (-40.408505 -2.719735)'))) / (select extract(epoch from '2026-07-17 13:46:20'::timestamp) - extract(epoch from '2026-07-17 13:46:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408442 -2.719781)'), GeomFromEWKT('SRID=4674;POINT (-40.408505 -2.719735)'))) / (select extract(epoch from '2026-07-17 13:46:20'::timestamp) - extract(epoch from '2026-07-17 13:46: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'), 47831, 'SRID=4674;POINT (-40.408594 -2.719668)', '2026-07-17 13:46:29', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408505 -2.719735)'), GeomFromEWKT('SRID=4674;POINT (-40.408594 -2.719668)'))) / (select extract(epoch from '2026-07-17 13:46:29'::timestamp) - extract(epoch from '2026-07-17 13:46:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408505 -2.719735)'), GeomFromEWKT('SRID=4674;POINT (-40.408594 -2.719668)'))) / (select extract(epoch from '2026-07-17 13:46:29'::timestamp) - extract(epoch from '2026-07-17 13: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'), 47831, 'SRID=4674;POINT (-40.408691 -2.719676)', '2026-07-17 13:46:35', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408594 -2.719668)'), GeomFromEWKT('SRID=4674;POINT (-40.408691 -2.719676)'))) / (select extract(epoch from '2026-07-17 13:46:35'::timestamp) - extract(epoch from '2026-07-17 13:46:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408594 -2.719668)'), GeomFromEWKT('SRID=4674;POINT (-40.408691 -2.719676)'))) / (select extract(epoch from '2026-07-17 13:46:35'::timestamp) - extract(epoch from '2026-07-17 13:46: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'), 47831, 'SRID=4674;POINT (-40.408791 -2.719755)', '2026-07-17 13:46:42', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408691 -2.719676)'), GeomFromEWKT('SRID=4674;POINT (-40.408791 -2.719755)'))) / (select extract(epoch from '2026-07-17 13:46:42'::timestamp) - extract(epoch from '2026-07-17 13:46:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408691 -2.719676)'), GeomFromEWKT('SRID=4674;POINT (-40.408791 -2.719755)'))) / (select extract(epoch from '2026-07-17 13:46:42'::timestamp) - extract(epoch from '2026-07-17 13:46: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'), 47831, 'SRID=4674;POINT (-40.408872 -2.719833)', '2026-07-17 13:46:48', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408791 -2.719755)'), GeomFromEWKT('SRID=4674;POINT (-40.408872 -2.719833)'))) / (select extract(epoch from '2026-07-17 13:46:48'::timestamp) - extract(epoch from '2026-07-17 13:46:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408791 -2.719755)'), GeomFromEWKT('SRID=4674;POINT (-40.408872 -2.719833)'))) / (select extract(epoch from '2026-07-17 13:46:48'::timestamp) - extract(epoch from '2026-07-17 13:46:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408926 -2.719875)', '2026-07-17 13:46:52', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408872 -2.719833)'), GeomFromEWKT('SRID=4674;POINT (-40.408926 -2.719875)'))) / (select extract(epoch from '2026-07-17 13:46:52'::timestamp) - extract(epoch from '2026-07-17 13:46:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408872 -2.719833)'), GeomFromEWKT('SRID=4674;POINT (-40.408926 -2.719875)'))) / (select extract(epoch from '2026-07-17 13:46:52'::timestamp) - extract(epoch from '2026-07-17 13:46:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408939 -2.719899)', '2026-07-17 13:46:54', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408926 -2.719875)'), GeomFromEWKT('SRID=4674;POINT (-40.408939 -2.719899)'))) / (select extract(epoch from '2026-07-17 13:46:54'::timestamp) - extract(epoch from '2026-07-17 13:46:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408926 -2.719875)'), GeomFromEWKT('SRID=4674;POINT (-40.408939 -2.719899)'))) / (select extract(epoch from '2026-07-17 13:46:54'::timestamp) - extract(epoch from '2026-07-17 13:46: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'), 47831, 'SRID=4674;POINT (-40.408948 -2.719927)', '2026-07-17 13:46:56', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408939 -2.719899)'), GeomFromEWKT('SRID=4674;POINT (-40.408948 -2.719927)'))) / (select extract(epoch from '2026-07-17 13:46:56'::timestamp) - extract(epoch from '2026-07-17 13:46:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408939 -2.719899)'), GeomFromEWKT('SRID=4674;POINT (-40.408948 -2.719927)'))) / (select extract(epoch from '2026-07-17 13:46:56'::timestamp) - extract(epoch from '2026-07-17 13:46: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'), 47831, 'SRID=4674;POINT (-40.408942 -2.719975)', '2026-07-17 13:47:02', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408948 -2.719927)'), GeomFromEWKT('SRID=4674;POINT (-40.408942 -2.719975)'))) / (select extract(epoch from '2026-07-17 13:47:02'::timestamp) - extract(epoch from '2026-07-17 13:46:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408948 -2.719927)'), GeomFromEWKT('SRID=4674;POINT (-40.408942 -2.719975)'))) / (select extract(epoch from '2026-07-17 13:47:02'::timestamp) - extract(epoch from '2026-07-17 13:46: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'), 47831, 'SRID=4674;POINT (-40.40895 -2.720107)', '2026-07-17 13:47:11', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408942 -2.719975)'), GeomFromEWKT('SRID=4674;POINT (-40.40895 -2.720107)'))) / (select extract(epoch from '2026-07-17 13:47:11'::timestamp) - extract(epoch from '2026-07-17 13:47:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408942 -2.719975)'), GeomFromEWKT('SRID=4674;POINT (-40.40895 -2.720107)'))) / (select extract(epoch from '2026-07-17 13:47:11'::timestamp) - extract(epoch from '2026-07-17 13:47: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'), 47831, 'SRID=4674;POINT (-40.409041 -2.720195)', '2026-07-17 13:47:18', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40895 -2.720107)'), GeomFromEWKT('SRID=4674;POINT (-40.409041 -2.720195)'))) / (select extract(epoch from '2026-07-17 13:47:18'::timestamp) - extract(epoch from '2026-07-17 13:47:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40895 -2.720107)'), GeomFromEWKT('SRID=4674;POINT (-40.409041 -2.720195)'))) / (select extract(epoch from '2026-07-17 13:47:18'::timestamp) - extract(epoch from '2026-07-17 13:47:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409164 -2.72019)', '2026-07-17 13:47:25', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409041 -2.720195)'), GeomFromEWKT('SRID=4674;POINT (-40.409164 -2.72019)'))) / (select extract(epoch from '2026-07-17 13:47:25'::timestamp) - extract(epoch from '2026-07-17 13:47:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409041 -2.720195)'), GeomFromEWKT('SRID=4674;POINT (-40.409164 -2.72019)'))) / (select extract(epoch from '2026-07-17 13:47:25'::timestamp) - extract(epoch from '2026-07-17 13:47: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'), 47831, 'SRID=4674;POINT (-40.409198 -2.720165)', '2026-07-17 13:47:28', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409164 -2.72019)'), GeomFromEWKT('SRID=4674;POINT (-40.409198 -2.720165)'))) / (select extract(epoch from '2026-07-17 13:47:28'::timestamp) - extract(epoch from '2026-07-17 13:47:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409164 -2.72019)'), GeomFromEWKT('SRID=4674;POINT (-40.409198 -2.720165)'))) / (select extract(epoch from '2026-07-17 13:47:28'::timestamp) - extract(epoch from '2026-07-17 13:47: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'), 47831, 'SRID=4674;POINT (-40.409208 -2.720129)', '2026-07-17 13:47:31', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409198 -2.720165)'), GeomFromEWKT('SRID=4674;POINT (-40.409208 -2.720129)'))) / (select extract(epoch from '2026-07-17 13:47:31'::timestamp) - extract(epoch from '2026-07-17 13:47:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409198 -2.720165)'), GeomFromEWKT('SRID=4674;POINT (-40.409208 -2.720129)'))) / (select extract(epoch from '2026-07-17 13:47:31'::timestamp) - extract(epoch from '2026-07-17 13:47:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409194 -2.720062)', '2026-07-17 13:47:38', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409208 -2.720129)'), GeomFromEWKT('SRID=4674;POINT (-40.409194 -2.720062)'))) / (select extract(epoch from '2026-07-17 13:47:38'::timestamp) - extract(epoch from '2026-07-17 13:47:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409208 -2.720129)'), GeomFromEWKT('SRID=4674;POINT (-40.409194 -2.720062)'))) / (select extract(epoch from '2026-07-17 13:47:38'::timestamp) - extract(epoch from '2026-07-17 13:47: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'), 47831, 'SRID=4674;POINT (-40.409113 -2.72003)', '2026-07-17 13:47:45', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409194 -2.720062)'), GeomFromEWKT('SRID=4674;POINT (-40.409113 -2.72003)'))) / (select extract(epoch from '2026-07-17 13:47:45'::timestamp) - extract(epoch from '2026-07-17 13:47:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409194 -2.720062)'), GeomFromEWKT('SRID=4674;POINT (-40.409113 -2.72003)'))) / (select extract(epoch from '2026-07-17 13:47:45'::timestamp) - extract(epoch from '2026-07-17 13:47:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409102 -2.720025)', '2026-07-17 13:47:46', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409113 -2.72003)'), GeomFromEWKT('SRID=4674;POINT (-40.409102 -2.720025)'))) / (select extract(epoch from '2026-07-17 13:47:46'::timestamp) - extract(epoch from '2026-07-17 13:47:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409113 -2.72003)'), GeomFromEWKT('SRID=4674;POINT (-40.409102 -2.720025)'))) / (select extract(epoch from '2026-07-17 13:47:46'::timestamp) - extract(epoch from '2026-07-17 13:47:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409025 -2.720015)', '2026-07-17 13:47:51', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409102 -2.720025)'), GeomFromEWKT('SRID=4674;POINT (-40.409025 -2.720015)'))) / (select extract(epoch from '2026-07-17 13:47:51'::timestamp) - extract(epoch from '2026-07-17 13:47:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409102 -2.720025)'), GeomFromEWKT('SRID=4674;POINT (-40.409025 -2.720015)'))) / (select extract(epoch from '2026-07-17 13:47:51'::timestamp) - extract(epoch from '2026-07-17 13:47:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408938 -2.719991)', '2026-07-17 13:47:58', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409025 -2.720015)'), GeomFromEWKT('SRID=4674;POINT (-40.408938 -2.719991)'))) / (select extract(epoch from '2026-07-17 13:47:58'::timestamp) - extract(epoch from '2026-07-17 13:47:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409025 -2.720015)'), GeomFromEWKT('SRID=4674;POINT (-40.408938 -2.719991)'))) / (select extract(epoch from '2026-07-17 13:47:58'::timestamp) - extract(epoch from '2026-07-17 13:47: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'), 47831, 'SRID=4674;POINT (-40.408889 -2.719965)', '2026-07-17 13:48:05', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408938 -2.719991)'), GeomFromEWKT('SRID=4674;POINT (-40.408889 -2.719965)'))) / (select extract(epoch from '2026-07-17 13:48:05'::timestamp) - extract(epoch from '2026-07-17 13:47:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408938 -2.719991)'), GeomFromEWKT('SRID=4674;POINT (-40.408889 -2.719965)'))) / (select extract(epoch from '2026-07-17 13:48:05'::timestamp) - extract(epoch from '2026-07-17 13:47:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408859 -2.719927)', '2026-07-17 13:48:14', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408889 -2.719965)'), GeomFromEWKT('SRID=4674;POINT (-40.408859 -2.719927)'))) / (select extract(epoch from '2026-07-17 13:48:14'::timestamp) - extract(epoch from '2026-07-17 13:48:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408889 -2.719965)'), GeomFromEWKT('SRID=4674;POINT (-40.408859 -2.719927)'))) / (select extract(epoch from '2026-07-17 13:48:14'::timestamp) - extract(epoch from '2026-07-17 13:48:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408913 -2.719888)', '2026-07-17 13:48:23', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408859 -2.719927)'), GeomFromEWKT('SRID=4674;POINT (-40.408913 -2.719888)'))) / (select extract(epoch from '2026-07-17 13:48:23'::timestamp) - extract(epoch from '2026-07-17 13:48:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408859 -2.719927)'), GeomFromEWKT('SRID=4674;POINT (-40.408913 -2.719888)'))) / (select extract(epoch from '2026-07-17 13:48:23'::timestamp) - extract(epoch from '2026-07-17 13:48:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409046 -2.719833)', '2026-07-17 13:48:36', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408913 -2.719888)'), GeomFromEWKT('SRID=4674;POINT (-40.409046 -2.719833)'))) / (select extract(epoch from '2026-07-17 13:48:36'::timestamp) - extract(epoch from '2026-07-17 13:48:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408913 -2.719888)'), GeomFromEWKT('SRID=4674;POINT (-40.409046 -2.719833)'))) / (select extract(epoch from '2026-07-17 13:48:36'::timestamp) - extract(epoch from '2026-07-17 13:48: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'), 47831, 'SRID=4674;POINT (-40.40909 -2.719787)', '2026-07-17 13:48:46', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409046 -2.719833)'), GeomFromEWKT('SRID=4674;POINT (-40.40909 -2.719787)'))) / (select extract(epoch from '2026-07-17 13:48:46'::timestamp) - extract(epoch from '2026-07-17 13:48:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409046 -2.719833)'), GeomFromEWKT('SRID=4674;POINT (-40.40909 -2.719787)'))) / (select extract(epoch from '2026-07-17 13:48:46'::timestamp) - extract(epoch from '2026-07-17 13:48:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409073 -2.719761)', '2026-07-17 13:48:54', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40909 -2.719787)'), GeomFromEWKT('SRID=4674;POINT (-40.409073 -2.719761)'))) / (select extract(epoch from '2026-07-17 13:48:54'::timestamp) - extract(epoch from '2026-07-17 13:48:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40909 -2.719787)'), GeomFromEWKT('SRID=4674;POINT (-40.409073 -2.719761)'))) / (select extract(epoch from '2026-07-17 13:48:54'::timestamp) - extract(epoch from '2026-07-17 13:48: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'), 47831, 'SRID=4674;POINT (-40.409052 -2.719815)', '2026-07-17 13:49:11', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409073 -2.719761)'), GeomFromEWKT('SRID=4674;POINT (-40.409052 -2.719815)'))) / (select extract(epoch from '2026-07-17 13:49:11'::timestamp) - extract(epoch from '2026-07-17 13:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409073 -2.719761)'), GeomFromEWKT('SRID=4674;POINT (-40.409052 -2.719815)'))) / (select extract(epoch from '2026-07-17 13:49:11'::timestamp) - extract(epoch from '2026-07-17 13:48: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'), 47831, 'SRID=4674;POINT (-40.409051 -2.719839)', '2026-07-17 13:49:21', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409052 -2.719815)'), GeomFromEWKT('SRID=4674;POINT (-40.409051 -2.719839)'))) / (select extract(epoch from '2026-07-17 13:49:21'::timestamp) - extract(epoch from '2026-07-17 13:49:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409052 -2.719815)'), GeomFromEWKT('SRID=4674;POINT (-40.409051 -2.719839)'))) / (select extract(epoch from '2026-07-17 13:49:21'::timestamp) - extract(epoch from '2026-07-17 13:49:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409043 -2.719874)', '2026-07-17 13:49:35', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409051 -2.719839)'), GeomFromEWKT('SRID=4674;POINT (-40.409043 -2.719874)'))) / (select extract(epoch from '2026-07-17 13:49:35'::timestamp) - extract(epoch from '2026-07-17 13:49:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409051 -2.719839)'), GeomFromEWKT('SRID=4674;POINT (-40.409043 -2.719874)'))) / (select extract(epoch from '2026-07-17 13:49:35'::timestamp) - extract(epoch from '2026-07-17 13:49:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409068 -2.71993)', '2026-07-17 13:50:19', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409043 -2.719874)'), GeomFromEWKT('SRID=4674;POINT (-40.409068 -2.71993)'))) / (select extract(epoch from '2026-07-17 13:50:19'::timestamp) - extract(epoch from '2026-07-17 13:49:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409043 -2.719874)'), GeomFromEWKT('SRID=4674;POINT (-40.409068 -2.71993)'))) / (select extract(epoch from '2026-07-17 13:50:19'::timestamp) - extract(epoch from '2026-07-17 13:49:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409136 -2.719959)', '2026-07-17 13:50:34', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409068 -2.71993)'), GeomFromEWKT('SRID=4674;POINT (-40.409136 -2.719959)'))) / (select extract(epoch from '2026-07-17 13:50:34'::timestamp) - extract(epoch from '2026-07-17 13:50:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409068 -2.71993)'), GeomFromEWKT('SRID=4674;POINT (-40.409136 -2.719959)'))) / (select extract(epoch from '2026-07-17 13:50:34'::timestamp) - extract(epoch from '2026-07-17 13:50: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'), 47831, 'SRID=4674;POINT (-40.409205 -2.719968)', '2026-07-17 13:50:47', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409136 -2.719959)'), GeomFromEWKT('SRID=4674;POINT (-40.409205 -2.719968)'))) / (select extract(epoch from '2026-07-17 13:50:47'::timestamp) - extract(epoch from '2026-07-17 13:50:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409136 -2.719959)'), GeomFromEWKT('SRID=4674;POINT (-40.409205 -2.719968)'))) / (select extract(epoch from '2026-07-17 13:50:47'::timestamp) - extract(epoch from '2026-07-17 13:50: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'), 47831, 'SRID=4674;POINT (-40.409278 -2.719904)', '2026-07-17 13:50:59', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409205 -2.719968)'), GeomFromEWKT('SRID=4674;POINT (-40.409278 -2.719904)'))) / (select extract(epoch from '2026-07-17 13:50:59'::timestamp) - extract(epoch from '2026-07-17 13:50:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409205 -2.719968)'), GeomFromEWKT('SRID=4674;POINT (-40.409278 -2.719904)'))) / (select extract(epoch from '2026-07-17 13:50:59'::timestamp) - extract(epoch from '2026-07-17 13:50:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409323 -2.719771)', '2026-07-17 13:51:10', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409278 -2.719904)'), GeomFromEWKT('SRID=4674;POINT (-40.409323 -2.719771)'))) / (select extract(epoch from '2026-07-17 13:51:10'::timestamp) - extract(epoch from '2026-07-17 13:50:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409278 -2.719904)'), GeomFromEWKT('SRID=4674;POINT (-40.409323 -2.719771)'))) / (select extract(epoch from '2026-07-17 13:51:10'::timestamp) - extract(epoch from '2026-07-17 13:50: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'), 47831, 'SRID=4674;POINT (-40.409365 -2.719684)', '2026-07-17 13:51:17', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409323 -2.719771)'), GeomFromEWKT('SRID=4674;POINT (-40.409365 -2.719684)'))) / (select extract(epoch from '2026-07-17 13:51:17'::timestamp) - extract(epoch from '2026-07-17 13:51:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409323 -2.719771)'), GeomFromEWKT('SRID=4674;POINT (-40.409365 -2.719684)'))) / (select extract(epoch from '2026-07-17 13:51:17'::timestamp) - extract(epoch from '2026-07-17 13:51:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409419 -2.719634)', '2026-07-17 13:51:22', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409365 -2.719684)'), GeomFromEWKT('SRID=4674;POINT (-40.409419 -2.719634)'))) / (select extract(epoch from '2026-07-17 13:51:22'::timestamp) - extract(epoch from '2026-07-17 13:51:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409365 -2.719684)'), GeomFromEWKT('SRID=4674;POINT (-40.409419 -2.719634)'))) / (select extract(epoch from '2026-07-17 13:51:22'::timestamp) - extract(epoch from '2026-07-17 13:51:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409482 -2.719578)', '2026-07-17 13:51:29', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409419 -2.719634)'), GeomFromEWKT('SRID=4674;POINT (-40.409482 -2.719578)'))) / (select extract(epoch from '2026-07-17 13:51:29'::timestamp) - extract(epoch from '2026-07-17 13:51:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409419 -2.719634)'), GeomFromEWKT('SRID=4674;POINT (-40.409482 -2.719578)'))) / (select extract(epoch from '2026-07-17 13:51:29'::timestamp) - extract(epoch from '2026-07-17 13:51: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'), 47831, 'SRID=4674;POINT (-40.409496 -2.719519)', '2026-07-17 13:51:36', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409482 -2.719578)'), GeomFromEWKT('SRID=4674;POINT (-40.409496 -2.719519)'))) / (select extract(epoch from '2026-07-17 13:51:36'::timestamp) - extract(epoch from '2026-07-17 13:51:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409482 -2.719578)'), GeomFromEWKT('SRID=4674;POINT (-40.409496 -2.719519)'))) / (select extract(epoch from '2026-07-17 13:51:36'::timestamp) - extract(epoch from '2026-07-17 13:51: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'), 47831, 'SRID=4674;POINT (-40.409506 -2.719443)', '2026-07-17 13:51:44', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409496 -2.719519)'), GeomFromEWKT('SRID=4674;POINT (-40.409506 -2.719443)'))) / (select extract(epoch from '2026-07-17 13:51:44'::timestamp) - extract(epoch from '2026-07-17 13:51:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409496 -2.719519)'), GeomFromEWKT('SRID=4674;POINT (-40.409506 -2.719443)'))) / (select extract(epoch from '2026-07-17 13:51:44'::timestamp) - extract(epoch from '2026-07-17 13:51: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'), 47831, 'SRID=4674;POINT (-40.409551 -2.719391)', '2026-07-17 13:51:50', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409506 -2.719443)'), GeomFromEWKT('SRID=4674;POINT (-40.409551 -2.719391)'))) / (select extract(epoch from '2026-07-17 13:51:50'::timestamp) - extract(epoch from '2026-07-17 13:51:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409506 -2.719443)'), GeomFromEWKT('SRID=4674;POINT (-40.409551 -2.719391)'))) / (select extract(epoch from '2026-07-17 13:51:50'::timestamp) - extract(epoch from '2026-07-17 13:51: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'), 47831, 'SRID=4674;POINT (-40.409604 -2.719357)', '2026-07-17 13:51:54', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409551 -2.719391)'), GeomFromEWKT('SRID=4674;POINT (-40.409604 -2.719357)'))) / (select extract(epoch from '2026-07-17 13:51:54'::timestamp) - extract(epoch from '2026-07-17 13:51:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409551 -2.719391)'), GeomFromEWKT('SRID=4674;POINT (-40.409604 -2.719357)'))) / (select extract(epoch from '2026-07-17 13:51:54'::timestamp) - extract(epoch from '2026-07-17 13:51:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.40967 -2.719332)', '2026-07-17 13:51:59', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409604 -2.719357)'), GeomFromEWKT('SRID=4674;POINT (-40.40967 -2.719332)'))) / (select extract(epoch from '2026-07-17 13:51:59'::timestamp) - extract(epoch from '2026-07-17 13:51:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409604 -2.719357)'), GeomFromEWKT('SRID=4674;POINT (-40.40967 -2.719332)'))) / (select extract(epoch from '2026-07-17 13:51:59'::timestamp) - extract(epoch from '2026-07-17 13:51:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409719 -2.719303)', '2026-07-17 13:52:05', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40967 -2.719332)'), GeomFromEWKT('SRID=4674;POINT (-40.409719 -2.719303)'))) / (select extract(epoch from '2026-07-17 13:52:05'::timestamp) - extract(epoch from '2026-07-17 13:51:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40967 -2.719332)'), GeomFromEWKT('SRID=4674;POINT (-40.409719 -2.719303)'))) / (select extract(epoch from '2026-07-17 13:52:05'::timestamp) - extract(epoch from '2026-07-17 13:51:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409747 -2.719257)', '2026-07-17 13:52:13', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409719 -2.719303)'), GeomFromEWKT('SRID=4674;POINT (-40.409747 -2.719257)'))) / (select extract(epoch from '2026-07-17 13:52:13'::timestamp) - extract(epoch from '2026-07-17 13:52:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409719 -2.719303)'), GeomFromEWKT('SRID=4674;POINT (-40.409747 -2.719257)'))) / (select extract(epoch from '2026-07-17 13:52:13'::timestamp) - extract(epoch from '2026-07-17 13:52:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409731 -2.719226)', '2026-07-17 13:52:23', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409747 -2.719257)'), GeomFromEWKT('SRID=4674;POINT (-40.409731 -2.719226)'))) / (select extract(epoch from '2026-07-17 13:52:23'::timestamp) - extract(epoch from '2026-07-17 13:52:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409747 -2.719257)'), GeomFromEWKT('SRID=4674;POINT (-40.409731 -2.719226)'))) / (select extract(epoch from '2026-07-17 13:52:23'::timestamp) - extract(epoch from '2026-07-17 13:52: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'), 47831, 'SRID=4674;POINT (-40.409728 -2.719267)', '2026-07-17 13:52:32', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409731 -2.719226)'), GeomFromEWKT('SRID=4674;POINT (-40.409728 -2.719267)'))) / (select extract(epoch from '2026-07-17 13:52:32'::timestamp) - extract(epoch from '2026-07-17 13:52:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409731 -2.719226)'), GeomFromEWKT('SRID=4674;POINT (-40.409728 -2.719267)'))) / (select extract(epoch from '2026-07-17 13:52:32'::timestamp) - extract(epoch from '2026-07-17 13:52:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
