 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.384017 -2.762299)', '2026-07-20 12:36:33', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384078 -2.762196)'), GeomFromEWKT('SRID=4674;POINT (-40.384017 -2.762299)'))) / (select extract(epoch from '2026-07-20 12:36:33'::timestamp) - extract(epoch from '2026-07-20 12:36:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384078 -2.762196)'), GeomFromEWKT('SRID=4674;POINT (-40.384017 -2.762299)'))) / (select extract(epoch from '2026-07-20 12:36:33'::timestamp) - extract(epoch from '2026-07-20 12:36: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'), 47832, 'SRID=4674;POINT (-40.383988 -2.762319)', '2026-07-20 12:36:39', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384017 -2.762299)'), GeomFromEWKT('SRID=4674;POINT (-40.383988 -2.762319)'))) / (select extract(epoch from '2026-07-20 12:36:39'::timestamp) - extract(epoch from '2026-07-20 12:36:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384017 -2.762299)'), GeomFromEWKT('SRID=4674;POINT (-40.383988 -2.762319)'))) / (select extract(epoch from '2026-07-20 12:36:39'::timestamp) - extract(epoch from '2026-07-20 12:36:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383943 -2.762242)', '2026-07-20 12:36:47', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383988 -2.762319)'), GeomFromEWKT('SRID=4674;POINT (-40.383943 -2.762242)'))) / (select extract(epoch from '2026-07-20 12:36:47'::timestamp) - extract(epoch from '2026-07-20 12:36:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383988 -2.762319)'), GeomFromEWKT('SRID=4674;POINT (-40.383943 -2.762242)'))) / (select extract(epoch from '2026-07-20 12:36:47'::timestamp) - extract(epoch from '2026-07-20 12:36:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383908 -2.76225)', '2026-07-20 12:36:53', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383943 -2.762242)'), GeomFromEWKT('SRID=4674;POINT (-40.383908 -2.76225)'))) / (select extract(epoch from '2026-07-20 12:36:53'::timestamp) - extract(epoch from '2026-07-20 12:36:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383943 -2.762242)'), GeomFromEWKT('SRID=4674;POINT (-40.383908 -2.76225)'))) / (select extract(epoch from '2026-07-20 12:36:53'::timestamp) - extract(epoch from '2026-07-20 12:36: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'), 47832, 'SRID=4674;POINT (-40.383912 -2.762297)', '2026-07-20 12:36:58', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383908 -2.76225)'), GeomFromEWKT('SRID=4674;POINT (-40.383912 -2.762297)'))) / (select extract(epoch from '2026-07-20 12:36:58'::timestamp) - extract(epoch from '2026-07-20 12:36:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383908 -2.76225)'), GeomFromEWKT('SRID=4674;POINT (-40.383912 -2.762297)'))) / (select extract(epoch from '2026-07-20 12:36:58'::timestamp) - extract(epoch from '2026-07-20 12:36: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'), 47832, 'SRID=4674;POINT (-40.383944 -2.762359)', '2026-07-20 12:37:04', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383912 -2.762297)'), GeomFromEWKT('SRID=4674;POINT (-40.383944 -2.762359)'))) / (select extract(epoch from '2026-07-20 12:37:04'::timestamp) - extract(epoch from '2026-07-20 12:36:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383912 -2.762297)'), GeomFromEWKT('SRID=4674;POINT (-40.383944 -2.762359)'))) / (select extract(epoch from '2026-07-20 12:37:04'::timestamp) - extract(epoch from '2026-07-20 12:36:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.38396 -2.762378)', '2026-07-20 12:37:06', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383944 -2.762359)'), GeomFromEWKT('SRID=4674;POINT (-40.38396 -2.762378)'))) / (select extract(epoch from '2026-07-20 12:37:06'::timestamp) - extract(epoch from '2026-07-20 12:37:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383944 -2.762359)'), GeomFromEWKT('SRID=4674;POINT (-40.38396 -2.762378)'))) / (select extract(epoch from '2026-07-20 12:37:06'::timestamp) - extract(epoch from '2026-07-20 12:37: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'), 47832, 'SRID=4674;POINT (-40.384007 -2.762399)', '2026-07-20 12:37:10', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38396 -2.762378)'), GeomFromEWKT('SRID=4674;POINT (-40.384007 -2.762399)'))) / (select extract(epoch from '2026-07-20 12:37:10'::timestamp) - extract(epoch from '2026-07-20 12:37:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38396 -2.762378)'), GeomFromEWKT('SRID=4674;POINT (-40.384007 -2.762399)'))) / (select extract(epoch from '2026-07-20 12:37:10'::timestamp) - extract(epoch from '2026-07-20 12:37: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'), 47832, 'SRID=4674;POINT (-40.384091 -2.762391)', '2026-07-20 12:37:16', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384007 -2.762399)'), GeomFromEWKT('SRID=4674;POINT (-40.384091 -2.762391)'))) / (select extract(epoch from '2026-07-20 12:37:16'::timestamp) - extract(epoch from '2026-07-20 12:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384007 -2.762399)'), GeomFromEWKT('SRID=4674;POINT (-40.384091 -2.762391)'))) / (select extract(epoch from '2026-07-20 12:37:16'::timestamp) - extract(epoch from '2026-07-20 12:37:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.384173 -2.762329)', '2026-07-20 12:37:22', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384091 -2.762391)'), GeomFromEWKT('SRID=4674;POINT (-40.384173 -2.762329)'))) / (select extract(epoch from '2026-07-20 12:37:22'::timestamp) - extract(epoch from '2026-07-20 12:37:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384091 -2.762391)'), GeomFromEWKT('SRID=4674;POINT (-40.384173 -2.762329)'))) / (select extract(epoch from '2026-07-20 12:37:22'::timestamp) - extract(epoch from '2026-07-20 12:37: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'), 47832, 'SRID=4674;POINT (-40.384207 -2.762272)', '2026-07-20 12:37:28', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384173 -2.762329)'), GeomFromEWKT('SRID=4674;POINT (-40.384207 -2.762272)'))) / (select extract(epoch from '2026-07-20 12:37:28'::timestamp) - extract(epoch from '2026-07-20 12:37:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384173 -2.762329)'), GeomFromEWKT('SRID=4674;POINT (-40.384207 -2.762272)'))) / (select extract(epoch from '2026-07-20 12:37:28'::timestamp) - extract(epoch from '2026-07-20 12:37:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.384181 -2.762215)', '2026-07-20 12:37:36', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384207 -2.762272)'), GeomFromEWKT('SRID=4674;POINT (-40.384181 -2.762215)'))) / (select extract(epoch from '2026-07-20 12:37:36'::timestamp) - extract(epoch from '2026-07-20 12:37:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384207 -2.762272)'), GeomFromEWKT('SRID=4674;POINT (-40.384181 -2.762215)'))) / (select extract(epoch from '2026-07-20 12:37:36'::timestamp) - extract(epoch from '2026-07-20 12:37: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'), 47832, 'SRID=4674;POINT (-40.384113 -2.762228)', '2026-07-20 12:37:57', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384181 -2.762215)'), GeomFromEWKT('SRID=4674;POINT (-40.384113 -2.762228)'))) / (select extract(epoch from '2026-07-20 12:37:57'::timestamp) - extract(epoch from '2026-07-20 12:37:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384181 -2.762215)'), GeomFromEWKT('SRID=4674;POINT (-40.384113 -2.762228)'))) / (select extract(epoch from '2026-07-20 12:37:57'::timestamp) - extract(epoch from '2026-07-20 12:37: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'), 47832, 'SRID=4674;POINT (-40.384042 -2.762213)', '2026-07-20 12:38:11', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384113 -2.762228)'), GeomFromEWKT('SRID=4674;POINT (-40.384042 -2.762213)'))) / (select extract(epoch from '2026-07-20 12:38:11'::timestamp) - extract(epoch from '2026-07-20 12:37:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384113 -2.762228)'), GeomFromEWKT('SRID=4674;POINT (-40.384042 -2.762213)'))) / (select extract(epoch from '2026-07-20 12:38:11'::timestamp) - extract(epoch from '2026-07-20 12:37: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'), 47832, 'SRID=4674;POINT (-40.384046 -2.762216)', '2026-07-20 12:38:22', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384042 -2.762213)'), GeomFromEWKT('SRID=4674;POINT (-40.384046 -2.762216)'))) / (select extract(epoch from '2026-07-20 12:38:22'::timestamp) - extract(epoch from '2026-07-20 12:38:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384042 -2.762213)'), GeomFromEWKT('SRID=4674;POINT (-40.384046 -2.762216)'))) / (select extract(epoch from '2026-07-20 12:38:22'::timestamp) - extract(epoch from '2026-07-20 12:38: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'), 47832, 'SRID=4674;POINT (-40.383986 -2.762232)', '2026-07-20 12:38:41', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384046 -2.762216)'), GeomFromEWKT('SRID=4674;POINT (-40.383986 -2.762232)'))) / (select extract(epoch from '2026-07-20 12:38:41'::timestamp) - extract(epoch from '2026-07-20 12:38:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384046 -2.762216)'), GeomFromEWKT('SRID=4674;POINT (-40.383986 -2.762232)'))) / (select extract(epoch from '2026-07-20 12:38:41'::timestamp) - extract(epoch from '2026-07-20 12:38: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'), 47832, 'SRID=4674;POINT (-40.383973 -2.762239)', '2026-07-20 12:38:53', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383986 -2.762232)'), GeomFromEWKT('SRID=4674;POINT (-40.383973 -2.762239)'))) / (select extract(epoch from '2026-07-20 12:38:53'::timestamp) - extract(epoch from '2026-07-20 12:38:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383986 -2.762232)'), GeomFromEWKT('SRID=4674;POINT (-40.383973 -2.762239)'))) / (select extract(epoch from '2026-07-20 12:38:53'::timestamp) - extract(epoch from '2026-07-20 12:38: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'), 47832, 'SRID=4674;POINT (-40.384017 -2.76221)', '2026-07-20 12:39:00', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383973 -2.762239)'), GeomFromEWKT('SRID=4674;POINT (-40.384017 -2.76221)'))) / (select extract(epoch from '2026-07-20 12:39:00'::timestamp) - extract(epoch from '2026-07-20 12:38:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383973 -2.762239)'), GeomFromEWKT('SRID=4674;POINT (-40.384017 -2.76221)'))) / (select extract(epoch from '2026-07-20 12:39:00'::timestamp) - extract(epoch from '2026-07-20 12:38:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.384027 -2.762156)', '2026-07-20 12:39:07', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384017 -2.76221)'), GeomFromEWKT('SRID=4674;POINT (-40.384027 -2.762156)'))) / (select extract(epoch from '2026-07-20 12:39:07'::timestamp) - extract(epoch from '2026-07-20 12:39:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384017 -2.76221)'), GeomFromEWKT('SRID=4674;POINT (-40.384027 -2.762156)'))) / (select extract(epoch from '2026-07-20 12:39:07'::timestamp) - extract(epoch from '2026-07-20 12:39:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.384046 -2.76213)', '2026-07-20 12:39:15', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384027 -2.762156)'), GeomFromEWKT('SRID=4674;POINT (-40.384046 -2.76213)'))) / (select extract(epoch from '2026-07-20 12:39:15'::timestamp) - extract(epoch from '2026-07-20 12:39:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384027 -2.762156)'), GeomFromEWKT('SRID=4674;POINT (-40.384046 -2.76213)'))) / (select extract(epoch from '2026-07-20 12:39:15'::timestamp) - extract(epoch from '2026-07-20 12:39:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.384058 -2.762137)', '2026-07-20 12:39:24', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384046 -2.76213)'), GeomFromEWKT('SRID=4674;POINT (-40.384058 -2.762137)'))) / (select extract(epoch from '2026-07-20 12:39:24'::timestamp) - extract(epoch from '2026-07-20 12:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384046 -2.76213)'), GeomFromEWKT('SRID=4674;POINT (-40.384058 -2.762137)'))) / (select extract(epoch from '2026-07-20 12:39:24'::timestamp) - extract(epoch from '2026-07-20 12:39: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'), 47832, 'SRID=4674;POINT (-40.384059 -2.762178)', '2026-07-20 12:39:35', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384058 -2.762137)'), GeomFromEWKT('SRID=4674;POINT (-40.384059 -2.762178)'))) / (select extract(epoch from '2026-07-20 12:39:35'::timestamp) - extract(epoch from '2026-07-20 12:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384058 -2.762137)'), GeomFromEWKT('SRID=4674;POINT (-40.384059 -2.762178)'))) / (select extract(epoch from '2026-07-20 12:39:35'::timestamp) - extract(epoch from '2026-07-20 12:39: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'), 47832, 'SRID=4674;POINT (-40.384032 -2.762209)', '2026-07-20 12:39:43', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384059 -2.762178)'), GeomFromEWKT('SRID=4674;POINT (-40.384032 -2.762209)'))) / (select extract(epoch from '2026-07-20 12:39:43'::timestamp) - extract(epoch from '2026-07-20 12:39:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384059 -2.762178)'), GeomFromEWKT('SRID=4674;POINT (-40.384032 -2.762209)'))) / (select extract(epoch from '2026-07-20 12:39:43'::timestamp) - extract(epoch from '2026-07-20 12:39: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'), 47832, 'SRID=4674;POINT (-40.38401 -2.762226)', '2026-07-20 12:39:50', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384032 -2.762209)'), GeomFromEWKT('SRID=4674;POINT (-40.38401 -2.762226)'))) / (select extract(epoch from '2026-07-20 12:39:50'::timestamp) - extract(epoch from '2026-07-20 12:39:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384032 -2.762209)'), GeomFromEWKT('SRID=4674;POINT (-40.38401 -2.762226)'))) / (select extract(epoch from '2026-07-20 12:39:50'::timestamp) - extract(epoch from '2026-07-20 12:39:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383994 -2.762214)', '2026-07-20 12:40:11', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38401 -2.762226)'), GeomFromEWKT('SRID=4674;POINT (-40.383994 -2.762214)'))) / (select extract(epoch from '2026-07-20 12:40:11'::timestamp) - extract(epoch from '2026-07-20 12:39:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38401 -2.762226)'), GeomFromEWKT('SRID=4674;POINT (-40.383994 -2.762214)'))) / (select extract(epoch from '2026-07-20 12:40:11'::timestamp) - extract(epoch from '2026-07-20 12:39:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383993 -2.762224)', '2026-07-20 12:40:39', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383994 -2.762214)'), GeomFromEWKT('SRID=4674;POINT (-40.383993 -2.762224)'))) / (select extract(epoch from '2026-07-20 12:40:39'::timestamp) - extract(epoch from '2026-07-20 12:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383994 -2.762214)'), GeomFromEWKT('SRID=4674;POINT (-40.383993 -2.762224)'))) / (select extract(epoch from '2026-07-20 12:40:39'::timestamp) - extract(epoch from '2026-07-20 12:40: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'), 47832, 'SRID=4674;POINT (-40.384014 -2.762213)', '2026-07-20 12:40:46', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383993 -2.762224)'), GeomFromEWKT('SRID=4674;POINT (-40.384014 -2.762213)'))) / (select extract(epoch from '2026-07-20 12:40:46'::timestamp) - extract(epoch from '2026-07-20 12:40:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383993 -2.762224)'), GeomFromEWKT('SRID=4674;POINT (-40.384014 -2.762213)'))) / (select extract(epoch from '2026-07-20 12:40:46'::timestamp) - extract(epoch from '2026-07-20 12:40: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'), 47832, 'SRID=4674;POINT (-40.384013 -2.762248)', '2026-07-20 12:41:05', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384014 -2.762213)'), GeomFromEWKT('SRID=4674;POINT (-40.384013 -2.762248)'))) / (select extract(epoch from '2026-07-20 12:41:05'::timestamp) - extract(epoch from '2026-07-20 12:40:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384014 -2.762213)'), GeomFromEWKT('SRID=4674;POINT (-40.384013 -2.762248)'))) / (select extract(epoch from '2026-07-20 12:41:05'::timestamp) - extract(epoch from '2026-07-20 12:40:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383981 -2.762263)', '2026-07-20 12:41:16', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384013 -2.762248)'), GeomFromEWKT('SRID=4674;POINT (-40.383981 -2.762263)'))) / (select extract(epoch from '2026-07-20 12:41:16'::timestamp) - extract(epoch from '2026-07-20 12:41:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384013 -2.762248)'), GeomFromEWKT('SRID=4674;POINT (-40.383981 -2.762263)'))) / (select extract(epoch from '2026-07-20 12:41:16'::timestamp) - extract(epoch from '2026-07-20 12: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'), 47832, 'SRID=4674;POINT (-40.384 -2.762227)', '2026-07-20 12:41:35', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383981 -2.762263)'), GeomFromEWKT('SRID=4674;POINT (-40.384 -2.762227)'))) / (select extract(epoch from '2026-07-20 12:41:35'::timestamp) - extract(epoch from '2026-07-20 12:41:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383981 -2.762263)'), GeomFromEWKT('SRID=4674;POINT (-40.384 -2.762227)'))) / (select extract(epoch from '2026-07-20 12:41:35'::timestamp) - extract(epoch from '2026-07-20 12:41:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.38403 -2.762171)', '2026-07-20 12:41:46', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384 -2.762227)'), GeomFromEWKT('SRID=4674;POINT (-40.38403 -2.762171)'))) / (select extract(epoch from '2026-07-20 12:41:46'::timestamp) - extract(epoch from '2026-07-20 12:41:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384 -2.762227)'), GeomFromEWKT('SRID=4674;POINT (-40.38403 -2.762171)'))) / (select extract(epoch from '2026-07-20 12:41:46'::timestamp) - extract(epoch from '2026-07-20 12:41:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.384042 -2.762185)', '2026-07-20 12:41:57', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38403 -2.762171)'), GeomFromEWKT('SRID=4674;POINT (-40.384042 -2.762185)'))) / (select extract(epoch from '2026-07-20 12:41:57'::timestamp) - extract(epoch from '2026-07-20 12:41:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38403 -2.762171)'), GeomFromEWKT('SRID=4674;POINT (-40.384042 -2.762185)'))) / (select extract(epoch from '2026-07-20 12:41:57'::timestamp) - extract(epoch from '2026-07-20 12:41: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'), 47832, 'SRID=4674;POINT (-40.384002 -2.762207)', '2026-07-20 12:42:05', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384042 -2.762185)'), GeomFromEWKT('SRID=4674;POINT (-40.384002 -2.762207)'))) / (select extract(epoch from '2026-07-20 12:42:05'::timestamp) - extract(epoch from '2026-07-20 12:41:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384042 -2.762185)'), GeomFromEWKT('SRID=4674;POINT (-40.384002 -2.762207)'))) / (select extract(epoch from '2026-07-20 12:42:05'::timestamp) - extract(epoch from '2026-07-20 12:41:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383962 -2.762214)', '2026-07-20 12:42:12', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384002 -2.762207)'), GeomFromEWKT('SRID=4674;POINT (-40.383962 -2.762214)'))) / (select extract(epoch from '2026-07-20 12:42:12'::timestamp) - extract(epoch from '2026-07-20 12:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384002 -2.762207)'), GeomFromEWKT('SRID=4674;POINT (-40.383962 -2.762214)'))) / (select extract(epoch from '2026-07-20 12:42:12'::timestamp) - extract(epoch from '2026-07-20 12:42:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383991 -2.762226)', '2026-07-20 12:42:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383962 -2.762214)'), GeomFromEWKT('SRID=4674;POINT (-40.383991 -2.762226)'))) / (select extract(epoch from '2026-07-20 12:42:27'::timestamp) - extract(epoch from '2026-07-20 12:42:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383962 -2.762214)'), GeomFromEWKT('SRID=4674;POINT (-40.383991 -2.762226)'))) / (select extract(epoch from '2026-07-20 12:42:27'::timestamp) - extract(epoch from '2026-07-20 12:42:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.384025 -2.762232)', '2026-07-20 12:42:32', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383991 -2.762226)'), GeomFromEWKT('SRID=4674;POINT (-40.384025 -2.762232)'))) / (select extract(epoch from '2026-07-20 12:42:32'::timestamp) - extract(epoch from '2026-07-20 12:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383991 -2.762226)'), GeomFromEWKT('SRID=4674;POINT (-40.384025 -2.762232)'))) / (select extract(epoch from '2026-07-20 12:42:32'::timestamp) - extract(epoch from '2026-07-20 12: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'), 47832, 'SRID=4674;POINT (-40.384084 -2.762232)', '2026-07-20 12:42:42', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384025 -2.762232)'), GeomFromEWKT('SRID=4674;POINT (-40.384084 -2.762232)'))) / (select extract(epoch from '2026-07-20 12:42:42'::timestamp) - extract(epoch from '2026-07-20 12:42:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384025 -2.762232)'), GeomFromEWKT('SRID=4674;POINT (-40.384084 -2.762232)'))) / (select extract(epoch from '2026-07-20 12:42:42'::timestamp) - extract(epoch from '2026-07-20 12:42: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'), 47832, 'SRID=4674;POINT (-40.384214 -2.76225)', '2026-07-20 12:43:02', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384084 -2.762232)'), GeomFromEWKT('SRID=4674;POINT (-40.384214 -2.76225)'))) / (select extract(epoch from '2026-07-20 12:43:02'::timestamp) - extract(epoch from '2026-07-20 12:42:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384084 -2.762232)'), GeomFromEWKT('SRID=4674;POINT (-40.384214 -2.76225)'))) / (select extract(epoch from '2026-07-20 12:43:02'::timestamp) - extract(epoch from '2026-07-20 12:42:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.384229 -2.76225)', '2026-07-20 12:43:04', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384214 -2.76225)'), GeomFromEWKT('SRID=4674;POINT (-40.384229 -2.76225)'))) / (select extract(epoch from '2026-07-20 12:43:04'::timestamp) - extract(epoch from '2026-07-20 12:43:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384214 -2.76225)'), GeomFromEWKT('SRID=4674;POINT (-40.384229 -2.76225)'))) / (select extract(epoch from '2026-07-20 12:43:04'::timestamp) - extract(epoch from '2026-07-20 12:43:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.384237 -2.762249)', '2026-07-20 12:43:07', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384229 -2.76225)'), GeomFromEWKT('SRID=4674;POINT (-40.384237 -2.762249)'))) / (select extract(epoch from '2026-07-20 12:43:07'::timestamp) - extract(epoch from '2026-07-20 12:43:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384229 -2.76225)'), GeomFromEWKT('SRID=4674;POINT (-40.384237 -2.762249)'))) / (select extract(epoch from '2026-07-20 12:43:07'::timestamp) - extract(epoch from '2026-07-20 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'), 47832, 'SRID=4674;POINT (-40.38426 -2.76223)', '2026-07-20 12:43:14', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384237 -2.762249)'), GeomFromEWKT('SRID=4674;POINT (-40.38426 -2.76223)'))) / (select extract(epoch from '2026-07-20 12:43:14'::timestamp) - extract(epoch from '2026-07-20 12:43:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384237 -2.762249)'), GeomFromEWKT('SRID=4674;POINT (-40.38426 -2.76223)'))) / (select extract(epoch from '2026-07-20 12:43:14'::timestamp) - extract(epoch from '2026-07-20 12:43:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.384307 -2.762225)', '2026-07-20 12:43:22', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38426 -2.76223)'), GeomFromEWKT('SRID=4674;POINT (-40.384307 -2.762225)'))) / (select extract(epoch from '2026-07-20 12:43:22'::timestamp) - extract(epoch from '2026-07-20 12:43:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38426 -2.76223)'), GeomFromEWKT('SRID=4674;POINT (-40.384307 -2.762225)'))) / (select extract(epoch from '2026-07-20 12:43:22'::timestamp) - extract(epoch from '2026-07-20 12:43: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'), 47832, 'SRID=4674;POINT (-40.38434 -2.762221)', '2026-07-20 12:43:29', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384307 -2.762225)'), GeomFromEWKT('SRID=4674;POINT (-40.38434 -2.762221)'))) / (select extract(epoch from '2026-07-20 12:43:29'::timestamp) - extract(epoch from '2026-07-20 12:43:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384307 -2.762225)'), GeomFromEWKT('SRID=4674;POINT (-40.38434 -2.762221)'))) / (select extract(epoch from '2026-07-20 12:43:29'::timestamp) - extract(epoch from '2026-07-20 12:43:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.3844 -2.762192)', '2026-07-20 12:43:38', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38434 -2.762221)'), GeomFromEWKT('SRID=4674;POINT (-40.3844 -2.762192)'))) / (select extract(epoch from '2026-07-20 12:43:38'::timestamp) - extract(epoch from '2026-07-20 12:43:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38434 -2.762221)'), GeomFromEWKT('SRID=4674;POINT (-40.3844 -2.762192)'))) / (select extract(epoch from '2026-07-20 12:43:38'::timestamp) - extract(epoch from '2026-07-20 12:43: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'), 47832, 'SRID=4674;POINT (-40.384429 -2.762177)', '2026-07-20 12:43:43', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3844 -2.762192)'), GeomFromEWKT('SRID=4674;POINT (-40.384429 -2.762177)'))) / (select extract(epoch from '2026-07-20 12:43:43'::timestamp) - extract(epoch from '2026-07-20 12:43:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3844 -2.762192)'), GeomFromEWKT('SRID=4674;POINT (-40.384429 -2.762177)'))) / (select extract(epoch from '2026-07-20 12:43:43'::timestamp) - extract(epoch from '2026-07-20 12:43: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'), 47832, 'SRID=4674;POINT (-40.384444 -2.762169)', '2026-07-20 12:43:45', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384429 -2.762177)'), GeomFromEWKT('SRID=4674;POINT (-40.384444 -2.762169)'))) / (select extract(epoch from '2026-07-20 12:43:45'::timestamp) - extract(epoch from '2026-07-20 12:43:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384429 -2.762177)'), GeomFromEWKT('SRID=4674;POINT (-40.384444 -2.762169)'))) / (select extract(epoch from '2026-07-20 12:43:45'::timestamp) - extract(epoch from '2026-07-20 12:43:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.38449 -2.762157)', '2026-07-20 12:43:53', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384444 -2.762169)'), GeomFromEWKT('SRID=4674;POINT (-40.38449 -2.762157)'))) / (select extract(epoch from '2026-07-20 12:43:53'::timestamp) - extract(epoch from '2026-07-20 12:43:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384444 -2.762169)'), GeomFromEWKT('SRID=4674;POINT (-40.38449 -2.762157)'))) / (select extract(epoch from '2026-07-20 12:43:53'::timestamp) - extract(epoch from '2026-07-20 12: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'), 47832, 'SRID=4674;POINT (-40.384531 -2.762168)', '2026-07-20 12:43:59', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38449 -2.762157)'), GeomFromEWKT('SRID=4674;POINT (-40.384531 -2.762168)'))) / (select extract(epoch from '2026-07-20 12:43:59'::timestamp) - extract(epoch from '2026-07-20 12:43:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38449 -2.762157)'), GeomFromEWKT('SRID=4674;POINT (-40.384531 -2.762168)'))) / (select extract(epoch from '2026-07-20 12:43:59'::timestamp) - extract(epoch from '2026-07-20 12:43: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'), 47832, 'SRID=4674;POINT (-40.384588 -2.762165)', '2026-07-20 12:44:07', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384531 -2.762168)'), GeomFromEWKT('SRID=4674;POINT (-40.384588 -2.762165)'))) / (select extract(epoch from '2026-07-20 12:44:07'::timestamp) - extract(epoch from '2026-07-20 12:43:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384531 -2.762168)'), GeomFromEWKT('SRID=4674;POINT (-40.384588 -2.762165)'))) / (select extract(epoch from '2026-07-20 12:44:07'::timestamp) - extract(epoch from '2026-07-20 12:43: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'), 47832, 'SRID=4674;POINT (-40.384636 -2.762155)', '2026-07-20 12:44:13', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384588 -2.762165)'), GeomFromEWKT('SRID=4674;POINT (-40.384636 -2.762155)'))) / (select extract(epoch from '2026-07-20 12:44:13'::timestamp) - extract(epoch from '2026-07-20 12:44:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384588 -2.762165)'), GeomFromEWKT('SRID=4674;POINT (-40.384636 -2.762155)'))) / (select extract(epoch from '2026-07-20 12:44:13'::timestamp) - extract(epoch from '2026-07-20 12:44: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'), 47832, 'SRID=4674;POINT (-40.384699 -2.762149)', '2026-07-20 12:44:21', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384636 -2.762155)'), GeomFromEWKT('SRID=4674;POINT (-40.384699 -2.762149)'))) / (select extract(epoch from '2026-07-20 12:44:21'::timestamp) - extract(epoch from '2026-07-20 12:44:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384636 -2.762155)'), GeomFromEWKT('SRID=4674;POINT (-40.384699 -2.762149)'))) / (select extract(epoch from '2026-07-20 12:44:21'::timestamp) - extract(epoch from '2026-07-20 12:44: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'), 47832, 'SRID=4674;POINT (-40.384726 -2.762133)', '2026-07-20 12:44:24', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384699 -2.762149)'), GeomFromEWKT('SRID=4674;POINT (-40.384726 -2.762133)'))) / (select extract(epoch from '2026-07-20 12:44:24'::timestamp) - extract(epoch from '2026-07-20 12:44:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384699 -2.762149)'), GeomFromEWKT('SRID=4674;POINT (-40.384726 -2.762133)'))) / (select extract(epoch from '2026-07-20 12:44:24'::timestamp) - extract(epoch from '2026-07-20 12:44: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'), 47832, 'SRID=4674;POINT (-40.384746 -2.762099)', '2026-07-20 12:44:28', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384726 -2.762133)'), GeomFromEWKT('SRID=4674;POINT (-40.384746 -2.762099)'))) / (select extract(epoch from '2026-07-20 12:44:28'::timestamp) - extract(epoch from '2026-07-20 12:44:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384726 -2.762133)'), GeomFromEWKT('SRID=4674;POINT (-40.384746 -2.762099)'))) / (select extract(epoch from '2026-07-20 12:44:28'::timestamp) - extract(epoch from '2026-07-20 12:44: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'), 47832, 'SRID=4674;POINT (-40.384811 -2.762042)', '2026-07-20 12:44:36', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384746 -2.762099)'), GeomFromEWKT('SRID=4674;POINT (-40.384811 -2.762042)'))) / (select extract(epoch from '2026-07-20 12:44:36'::timestamp) - extract(epoch from '2026-07-20 12:44:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384746 -2.762099)'), GeomFromEWKT('SRID=4674;POINT (-40.384811 -2.762042)'))) / (select extract(epoch from '2026-07-20 12:44:36'::timestamp) - extract(epoch from '2026-07-20 12:44: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'), 47832, 'SRID=4674;POINT (-40.384827 -2.76198)', '2026-07-20 12:44:44', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384811 -2.762042)'), GeomFromEWKT('SRID=4674;POINT (-40.384827 -2.76198)'))) / (select extract(epoch from '2026-07-20 12:44:44'::timestamp) - extract(epoch from '2026-07-20 12:44:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384811 -2.762042)'), GeomFromEWKT('SRID=4674;POINT (-40.384827 -2.76198)'))) / (select extract(epoch from '2026-07-20 12:44:44'::timestamp) - extract(epoch from '2026-07-20 12: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'), 47832, 'SRID=4674;POINT (-40.384788 -2.76195)', '2026-07-20 12:44:52', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384827 -2.76198)'), GeomFromEWKT('SRID=4674;POINT (-40.384788 -2.76195)'))) / (select extract(epoch from '2026-07-20 12:44:52'::timestamp) - extract(epoch from '2026-07-20 12:44:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384827 -2.76198)'), GeomFromEWKT('SRID=4674;POINT (-40.384788 -2.76195)'))) / (select extract(epoch from '2026-07-20 12:44:52'::timestamp) - extract(epoch from '2026-07-20 12:44:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.384798 -2.762005)', '2026-07-20 12:45:00', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384788 -2.76195)'), GeomFromEWKT('SRID=4674;POINT (-40.384798 -2.762005)'))) / (select extract(epoch from '2026-07-20 12:45:00'::timestamp) - extract(epoch from '2026-07-20 12:44:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384788 -2.76195)'), GeomFromEWKT('SRID=4674;POINT (-40.384798 -2.762005)'))) / (select extract(epoch from '2026-07-20 12:45:00'::timestamp) - extract(epoch from '2026-07-20 12:44: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'), 47832, 'SRID=4674;POINT (-40.3848 -2.762079)', '2026-07-20 12:45:09', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384798 -2.762005)'), GeomFromEWKT('SRID=4674;POINT (-40.3848 -2.762079)'))) / (select extract(epoch from '2026-07-20 12:45:09'::timestamp) - extract(epoch from '2026-07-20 12:45:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384798 -2.762005)'), GeomFromEWKT('SRID=4674;POINT (-40.3848 -2.762079)'))) / (select extract(epoch from '2026-07-20 12:45:09'::timestamp) - extract(epoch from '2026-07-20 12:45:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.384775 -2.762103)', '2026-07-20 12:45:16', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3848 -2.762079)'), GeomFromEWKT('SRID=4674;POINT (-40.384775 -2.762103)'))) / (select extract(epoch from '2026-07-20 12:45:16'::timestamp) - extract(epoch from '2026-07-20 12:45:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3848 -2.762079)'), GeomFromEWKT('SRID=4674;POINT (-40.384775 -2.762103)'))) / (select extract(epoch from '2026-07-20 12:45:16'::timestamp) - extract(epoch from '2026-07-20 12:45:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.384759 -2.762103)', '2026-07-20 12:45:24', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384775 -2.762103)'), GeomFromEWKT('SRID=4674;POINT (-40.384759 -2.762103)'))) / (select extract(epoch from '2026-07-20 12:45:24'::timestamp) - extract(epoch from '2026-07-20 12:45:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384775 -2.762103)'), GeomFromEWKT('SRID=4674;POINT (-40.384759 -2.762103)'))) / (select extract(epoch from '2026-07-20 12:45:24'::timestamp) - extract(epoch from '2026-07-20 12:45: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'), 47832, 'SRID=4674;POINT (-40.384732 -2.762022)', '2026-07-20 12:45:31', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384759 -2.762103)'), GeomFromEWKT('SRID=4674;POINT (-40.384732 -2.762022)'))) / (select extract(epoch from '2026-07-20 12:45:31'::timestamp) - extract(epoch from '2026-07-20 12:45:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384759 -2.762103)'), GeomFromEWKT('SRID=4674;POINT (-40.384732 -2.762022)'))) / (select extract(epoch from '2026-07-20 12:45:31'::timestamp) - extract(epoch from '2026-07-20 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'), 47832, 'SRID=4674;POINT (-40.38472 -2.761921)', '2026-07-20 12:45:38', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384732 -2.762022)'), GeomFromEWKT('SRID=4674;POINT (-40.38472 -2.761921)'))) / (select extract(epoch from '2026-07-20 12:45:38'::timestamp) - extract(epoch from '2026-07-20 12:45:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384732 -2.762022)'), GeomFromEWKT('SRID=4674;POINT (-40.38472 -2.761921)'))) / (select extract(epoch from '2026-07-20 12:45:38'::timestamp) - extract(epoch from '2026-07-20 12:45: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'), 47832, 'SRID=4674;POINT (-40.384709 -2.761821)', '2026-07-20 12:45:45', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38472 -2.761921)'), GeomFromEWKT('SRID=4674;POINT (-40.384709 -2.761821)'))) / (select extract(epoch from '2026-07-20 12:45:45'::timestamp) - extract(epoch from '2026-07-20 12:45:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38472 -2.761921)'), GeomFromEWKT('SRID=4674;POINT (-40.384709 -2.761821)'))) / (select extract(epoch from '2026-07-20 12:45:45'::timestamp) - extract(epoch from '2026-07-20 12: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'), 47832, 'SRID=4674;POINT (-40.384696 -2.761698)', '2026-07-20 12:45:53', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384709 -2.761821)'), GeomFromEWKT('SRID=4674;POINT (-40.384696 -2.761698)'))) / (select extract(epoch from '2026-07-20 12:45:53'::timestamp) - extract(epoch from '2026-07-20 12:45:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384709 -2.761821)'), GeomFromEWKT('SRID=4674;POINT (-40.384696 -2.761698)'))) / (select extract(epoch from '2026-07-20 12:45:53'::timestamp) - extract(epoch from '2026-07-20 12:45:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.384696 -2.761571)', '2026-07-20 12:45:59', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384696 -2.761698)'), GeomFromEWKT('SRID=4674;POINT (-40.384696 -2.761571)'))) / (select extract(epoch from '2026-07-20 12:45:59'::timestamp) - extract(epoch from '2026-07-20 12:45:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384696 -2.761698)'), GeomFromEWKT('SRID=4674;POINT (-40.384696 -2.761571)'))) / (select extract(epoch from '2026-07-20 12:45:59'::timestamp) - extract(epoch from '2026-07-20 12:45: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'), 47832, 'SRID=4674;POINT (-40.384708 -2.761553)', '2026-07-20 12:46:00', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384696 -2.761571)'), GeomFromEWKT('SRID=4674;POINT (-40.384708 -2.761553)'))) / (select extract(epoch from '2026-07-20 12:46:00'::timestamp) - extract(epoch from '2026-07-20 12:45:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384696 -2.761571)'), GeomFromEWKT('SRID=4674;POINT (-40.384708 -2.761553)'))) / (select extract(epoch from '2026-07-20 12:46:00'::timestamp) - extract(epoch from '2026-07-20 12:45: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'), 47832, 'SRID=4674;POINT (-40.384799 -2.761475)', '2026-07-20 12:46:07', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384708 -2.761553)'), GeomFromEWKT('SRID=4674;POINT (-40.384799 -2.761475)'))) / (select extract(epoch from '2026-07-20 12:46:07'::timestamp) - extract(epoch from '2026-07-20 12:46:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384708 -2.761553)'), GeomFromEWKT('SRID=4674;POINT (-40.384799 -2.761475)'))) / (select extract(epoch from '2026-07-20 12:46:07'::timestamp) - extract(epoch from '2026-07-20 12:46: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'), 47832, 'SRID=4674;POINT (-40.384926 -2.761469)', '2026-07-20 12:46:14', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384799 -2.761475)'), GeomFromEWKT('SRID=4674;POINT (-40.384926 -2.761469)'))) / (select extract(epoch from '2026-07-20 12:46:14'::timestamp) - extract(epoch from '2026-07-20 12:46:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384799 -2.761475)'), GeomFromEWKT('SRID=4674;POINT (-40.384926 -2.761469)'))) / (select extract(epoch from '2026-07-20 12:46:14'::timestamp) - extract(epoch from '2026-07-20 12:46: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'), 47832, 'SRID=4674;POINT (-40.385106 -2.761473)', '2026-07-20 12:46:21', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384926 -2.761469)'), GeomFromEWKT('SRID=4674;POINT (-40.385106 -2.761473)'))) / (select extract(epoch from '2026-07-20 12:46:21'::timestamp) - extract(epoch from '2026-07-20 12:46:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384926 -2.761469)'), GeomFromEWKT('SRID=4674;POINT (-40.385106 -2.761473)'))) / (select extract(epoch from '2026-07-20 12:46:21'::timestamp) - extract(epoch from '2026-07-20 12:46:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.385273 -2.76149)', '2026-07-20 12:46:28', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385106 -2.761473)'), GeomFromEWKT('SRID=4674;POINT (-40.385273 -2.76149)'))) / (select extract(epoch from '2026-07-20 12:46:28'::timestamp) - extract(epoch from '2026-07-20 12:46:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385106 -2.761473)'), GeomFromEWKT('SRID=4674;POINT (-40.385273 -2.76149)'))) / (select extract(epoch from '2026-07-20 12:46:28'::timestamp) - extract(epoch from '2026-07-20 12:46:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.385408 -2.761532)', '2026-07-20 12:46:34', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385273 -2.76149)'), GeomFromEWKT('SRID=4674;POINT (-40.385408 -2.761532)'))) / (select extract(epoch from '2026-07-20 12:46:34'::timestamp) - extract(epoch from '2026-07-20 12:46:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385273 -2.76149)'), GeomFromEWKT('SRID=4674;POINT (-40.385408 -2.761532)'))) / (select extract(epoch from '2026-07-20 12:46:34'::timestamp) - extract(epoch from '2026-07-20 12:46: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'), 47832, 'SRID=4674;POINT (-40.385562 -2.761542)', '2026-07-20 12:46:41', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385408 -2.761532)'), GeomFromEWKT('SRID=4674;POINT (-40.385562 -2.761542)'))) / (select extract(epoch from '2026-07-20 12:46:41'::timestamp) - extract(epoch from '2026-07-20 12:46:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385408 -2.761532)'), GeomFromEWKT('SRID=4674;POINT (-40.385562 -2.761542)'))) / (select extract(epoch from '2026-07-20 12:46:41'::timestamp) - extract(epoch from '2026-07-20 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'), 47832, 'SRID=4674;POINT (-40.385725 -2.7616)', '2026-07-20 12:46:48', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385562 -2.761542)'), GeomFromEWKT('SRID=4674;POINT (-40.385725 -2.7616)'))) / (select extract(epoch from '2026-07-20 12:46:48'::timestamp) - extract(epoch from '2026-07-20 12:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385562 -2.761542)'), GeomFromEWKT('SRID=4674;POINT (-40.385725 -2.7616)'))) / (select extract(epoch from '2026-07-20 12:46:48'::timestamp) - extract(epoch from '2026-07-20 12:46: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'), 47832, 'SRID=4674;POINT (-40.385856 -2.761716)', '2026-07-20 12:46:55', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385725 -2.7616)'), GeomFromEWKT('SRID=4674;POINT (-40.385856 -2.761716)'))) / (select extract(epoch from '2026-07-20 12:46:55'::timestamp) - extract(epoch from '2026-07-20 12:46:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385725 -2.7616)'), GeomFromEWKT('SRID=4674;POINT (-40.385856 -2.761716)'))) / (select extract(epoch from '2026-07-20 12:46:55'::timestamp) - extract(epoch from '2026-07-20 12: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'), 47832, 'SRID=4674;POINT (-40.385962 -2.76183)', '2026-07-20 12:47:01', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385856 -2.761716)'), GeomFromEWKT('SRID=4674;POINT (-40.385962 -2.76183)'))) / (select extract(epoch from '2026-07-20 12:47:01'::timestamp) - extract(epoch from '2026-07-20 12:46:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385856 -2.761716)'), GeomFromEWKT('SRID=4674;POINT (-40.385962 -2.76183)'))) / (select extract(epoch from '2026-07-20 12:47:01'::timestamp) - extract(epoch from '2026-07-20 12:46:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.386083 -2.761919)', '2026-07-20 12:47:07', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385962 -2.76183)'), GeomFromEWKT('SRID=4674;POINT (-40.386083 -2.761919)'))) / (select extract(epoch from '2026-07-20 12:47:07'::timestamp) - extract(epoch from '2026-07-20 12:47:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385962 -2.76183)'), GeomFromEWKT('SRID=4674;POINT (-40.386083 -2.761919)'))) / (select extract(epoch from '2026-07-20 12:47:07'::timestamp) - extract(epoch from '2026-07-20 12:47: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'), 47832, 'SRID=4674;POINT (-40.386223 -2.762008)', '2026-07-20 12:47:14', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386083 -2.761919)'), GeomFromEWKT('SRID=4674;POINT (-40.386223 -2.762008)'))) / (select extract(epoch from '2026-07-20 12:47:14'::timestamp) - extract(epoch from '2026-07-20 12:47:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386083 -2.761919)'), GeomFromEWKT('SRID=4674;POINT (-40.386223 -2.762008)'))) / (select extract(epoch from '2026-07-20 12:47:14'::timestamp) - extract(epoch from '2026-07-20 12:47:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.386353 -2.762078)', '2026-07-20 12:47:20', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386223 -2.762008)'), GeomFromEWKT('SRID=4674;POINT (-40.386353 -2.762078)'))) / (select extract(epoch from '2026-07-20 12:47:20'::timestamp) - extract(epoch from '2026-07-20 12:47:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386223 -2.762008)'), GeomFromEWKT('SRID=4674;POINT (-40.386353 -2.762078)'))) / (select extract(epoch from '2026-07-20 12:47:20'::timestamp) - extract(epoch from '2026-07-20 12:47: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'), 47832, 'SRID=4674;POINT (-40.386486 -2.762139)', '2026-07-20 12:47:28', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386353 -2.762078)'), GeomFromEWKT('SRID=4674;POINT (-40.386486 -2.762139)'))) / (select extract(epoch from '2026-07-20 12:47:28'::timestamp) - extract(epoch from '2026-07-20 12:47:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386353 -2.762078)'), GeomFromEWKT('SRID=4674;POINT (-40.386486 -2.762139)'))) / (select extract(epoch from '2026-07-20 12:47:28'::timestamp) - extract(epoch from '2026-07-20 12:47:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.386579 -2.762225)', '2026-07-20 12:47:35', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386486 -2.762139)'), GeomFromEWKT('SRID=4674;POINT (-40.386579 -2.762225)'))) / (select extract(epoch from '2026-07-20 12:47:35'::timestamp) - extract(epoch from '2026-07-20 12:47:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386486 -2.762139)'), GeomFromEWKT('SRID=4674;POINT (-40.386579 -2.762225)'))) / (select extract(epoch from '2026-07-20 12:47:35'::timestamp) - extract(epoch from '2026-07-20 12: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'), 47832, 'SRID=4674;POINT (-40.386642 -2.762288)', '2026-07-20 12:47:42', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386579 -2.762225)'), GeomFromEWKT('SRID=4674;POINT (-40.386642 -2.762288)'))) / (select extract(epoch from '2026-07-20 12:47:42'::timestamp) - extract(epoch from '2026-07-20 12:47:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386579 -2.762225)'), GeomFromEWKT('SRID=4674;POINT (-40.386642 -2.762288)'))) / (select extract(epoch from '2026-07-20 12:47:42'::timestamp) - extract(epoch from '2026-07-20 12:47: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'), 47832, 'SRID=4674;POINT (-40.386667 -2.762331)', '2026-07-20 12:47:48', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386642 -2.762288)'), GeomFromEWKT('SRID=4674;POINT (-40.386667 -2.762331)'))) / (select extract(epoch from '2026-07-20 12:47:48'::timestamp) - extract(epoch from '2026-07-20 12:47:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386642 -2.762288)'), GeomFromEWKT('SRID=4674;POINT (-40.386667 -2.762331)'))) / (select extract(epoch from '2026-07-20 12:47:48'::timestamp) - extract(epoch from '2026-07-20 12:47: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'), 47832, 'SRID=4674;POINT (-40.386677 -2.76234)', '2026-07-20 12:47:49', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386667 -2.762331)'), GeomFromEWKT('SRID=4674;POINT (-40.386677 -2.76234)'))) / (select extract(epoch from '2026-07-20 12:47:49'::timestamp) - extract(epoch from '2026-07-20 12:47:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386667 -2.762331)'), GeomFromEWKT('SRID=4674;POINT (-40.386677 -2.76234)'))) / (select extract(epoch from '2026-07-20 12:47:49'::timestamp) - extract(epoch from '2026-07-20 12:47: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'), 47832, 'SRID=4674;POINT (-40.386714 -2.762403)', '2026-07-20 12:47:56', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386677 -2.76234)'), GeomFromEWKT('SRID=4674;POINT (-40.386714 -2.762403)'))) / (select extract(epoch from '2026-07-20 12:47:56'::timestamp) - extract(epoch from '2026-07-20 12:47:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386677 -2.76234)'), GeomFromEWKT('SRID=4674;POINT (-40.386714 -2.762403)'))) / (select extract(epoch from '2026-07-20 12:47:56'::timestamp) - extract(epoch from '2026-07-20 12:47: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'), 47832, 'SRID=4674;POINT (-40.386721 -2.76241)', '2026-07-20 12:47:57', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386714 -2.762403)'), GeomFromEWKT('SRID=4674;POINT (-40.386721 -2.76241)'))) / (select extract(epoch from '2026-07-20 12:47:57'::timestamp) - extract(epoch from '2026-07-20 12:47:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386714 -2.762403)'), GeomFromEWKT('SRID=4674;POINT (-40.386721 -2.76241)'))) / (select extract(epoch from '2026-07-20 12:47:57'::timestamp) - extract(epoch from '2026-07-20 12:47: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'), 47832, 'SRID=4674;POINT (-40.386739 -2.762432)', '2026-07-20 12:47:59', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386721 -2.76241)'), GeomFromEWKT('SRID=4674;POINT (-40.386739 -2.762432)'))) / (select extract(epoch from '2026-07-20 12:47:59'::timestamp) - extract(epoch from '2026-07-20 12:47:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386721 -2.76241)'), GeomFromEWKT('SRID=4674;POINT (-40.386739 -2.762432)'))) / (select extract(epoch from '2026-07-20 12:47:59'::timestamp) - extract(epoch from '2026-07-20 12:47: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'), 47832, 'SRID=4674;POINT (-40.386755 -2.762457)', '2026-07-20 12:48:01', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386739 -2.762432)'), GeomFromEWKT('SRID=4674;POINT (-40.386755 -2.762457)'))) / (select extract(epoch from '2026-07-20 12:48:01'::timestamp) - extract(epoch from '2026-07-20 12:47:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386739 -2.762432)'), GeomFromEWKT('SRID=4674;POINT (-40.386755 -2.762457)'))) / (select extract(epoch from '2026-07-20 12:48:01'::timestamp) - extract(epoch from '2026-07-20 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'), 47832, 'SRID=4674;POINT (-40.386763 -2.762462)', '2026-07-20 12:48:02', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386755 -2.762457)'), GeomFromEWKT('SRID=4674;POINT (-40.386763 -2.762462)'))) / (select extract(epoch from '2026-07-20 12:48:02'::timestamp) - extract(epoch from '2026-07-20 12:48:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386755 -2.762457)'), GeomFromEWKT('SRID=4674;POINT (-40.386763 -2.762462)'))) / (select extract(epoch from '2026-07-20 12:48:02'::timestamp) - extract(epoch from '2026-07-20 12:48: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'), 47832, 'SRID=4674;POINT (-40.38681 -2.762489)', '2026-07-20 12:48:06', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386763 -2.762462)'), GeomFromEWKT('SRID=4674;POINT (-40.38681 -2.762489)'))) / (select extract(epoch from '2026-07-20 12:48:06'::timestamp) - extract(epoch from '2026-07-20 12:48:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386763 -2.762462)'), GeomFromEWKT('SRID=4674;POINT (-40.38681 -2.762489)'))) / (select extract(epoch from '2026-07-20 12:48:06'::timestamp) - extract(epoch from '2026-07-20 12:48:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.38684 -2.762495)', '2026-07-20 12:48:08', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38681 -2.762489)'), GeomFromEWKT('SRID=4674;POINT (-40.38684 -2.762495)'))) / (select extract(epoch from '2026-07-20 12:48:08'::timestamp) - extract(epoch from '2026-07-20 12:48:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38681 -2.762489)'), GeomFromEWKT('SRID=4674;POINT (-40.38684 -2.762495)'))) / (select extract(epoch from '2026-07-20 12:48:08'::timestamp) - extract(epoch from '2026-07-20 12:48: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'), 47832, 'SRID=4674;POINT (-40.386953 -2.762524)', '2026-07-20 12:48:15', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38684 -2.762495)'), GeomFromEWKT('SRID=4674;POINT (-40.386953 -2.762524)'))) / (select extract(epoch from '2026-07-20 12:48:15'::timestamp) - extract(epoch from '2026-07-20 12:48:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38684 -2.762495)'), GeomFromEWKT('SRID=4674;POINT (-40.386953 -2.762524)'))) / (select extract(epoch from '2026-07-20 12:48:15'::timestamp) - extract(epoch from '2026-07-20 12:48: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'), 47832, 'SRID=4674;POINT (-40.387056 -2.762545)', '2026-07-20 12:48:21', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386953 -2.762524)'), GeomFromEWKT('SRID=4674;POINT (-40.387056 -2.762545)'))) / (select extract(epoch from '2026-07-20 12:48:21'::timestamp) - extract(epoch from '2026-07-20 12:48:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386953 -2.762524)'), GeomFromEWKT('SRID=4674;POINT (-40.387056 -2.762545)'))) / (select extract(epoch from '2026-07-20 12:48:21'::timestamp) - extract(epoch from '2026-07-20 12:48: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'), 47832, 'SRID=4674;POINT (-40.38718 -2.762566)', '2026-07-20 12:48:28', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387056 -2.762545)'), GeomFromEWKT('SRID=4674;POINT (-40.38718 -2.762566)'))) / (select extract(epoch from '2026-07-20 12:48:28'::timestamp) - extract(epoch from '2026-07-20 12:48:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387056 -2.762545)'), GeomFromEWKT('SRID=4674;POINT (-40.38718 -2.762566)'))) / (select extract(epoch from '2026-07-20 12:48:28'::timestamp) - extract(epoch from '2026-07-20 12:48: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'), 47832, 'SRID=4674;POINT (-40.387306 -2.762576)', '2026-07-20 12:48:35', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38718 -2.762566)'), GeomFromEWKT('SRID=4674;POINT (-40.387306 -2.762576)'))) / (select extract(epoch from '2026-07-20 12:48:35'::timestamp) - extract(epoch from '2026-07-20 12:48:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38718 -2.762566)'), GeomFromEWKT('SRID=4674;POINT (-40.387306 -2.762576)'))) / (select extract(epoch from '2026-07-20 12:48:35'::timestamp) - extract(epoch from '2026-07-20 12:48:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.387422 -2.762586)', '2026-07-20 12:48:42', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387306 -2.762576)'), GeomFromEWKT('SRID=4674;POINT (-40.387422 -2.762586)'))) / (select extract(epoch from '2026-07-20 12:48:42'::timestamp) - extract(epoch from '2026-07-20 12:48:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387306 -2.762576)'), GeomFromEWKT('SRID=4674;POINT (-40.387422 -2.762586)'))) / (select extract(epoch from '2026-07-20 12:48:42'::timestamp) - extract(epoch from '2026-07-20 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'), 47832, 'SRID=4674;POINT (-40.387504 -2.7626)', '2026-07-20 12:48:48', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387422 -2.762586)'), GeomFromEWKT('SRID=4674;POINT (-40.387504 -2.7626)'))) / (select extract(epoch from '2026-07-20 12:48:48'::timestamp) - extract(epoch from '2026-07-20 12:48:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387422 -2.762586)'), GeomFromEWKT('SRID=4674;POINT (-40.387504 -2.7626)'))) / (select extract(epoch from '2026-07-20 12:48:48'::timestamp) - extract(epoch from '2026-07-20 12:48: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'), 47832, 'SRID=4674;POINT (-40.38761 -2.762621)', '2026-07-20 12:48:55', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387504 -2.7626)'), GeomFromEWKT('SRID=4674;POINT (-40.38761 -2.762621)'))) / (select extract(epoch from '2026-07-20 12:48:55'::timestamp) - extract(epoch from '2026-07-20 12:48:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387504 -2.7626)'), GeomFromEWKT('SRID=4674;POINT (-40.38761 -2.762621)'))) / (select extract(epoch from '2026-07-20 12:48:55'::timestamp) - extract(epoch from '2026-07-20 12:48: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'), 47832, 'SRID=4674;POINT (-40.387715 -2.762609)', '2026-07-20 12:49:02', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38761 -2.762621)'), GeomFromEWKT('SRID=4674;POINT (-40.387715 -2.762609)'))) / (select extract(epoch from '2026-07-20 12:49:02'::timestamp) - extract(epoch from '2026-07-20 12:48:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38761 -2.762621)'), GeomFromEWKT('SRID=4674;POINT (-40.387715 -2.762609)'))) / (select extract(epoch from '2026-07-20 12:49:02'::timestamp) - extract(epoch from '2026-07-20 12:48:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.387767 -2.7626)', '2026-07-20 12:49:07', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387715 -2.762609)'), GeomFromEWKT('SRID=4674;POINT (-40.387767 -2.7626)'))) / (select extract(epoch from '2026-07-20 12:49:07'::timestamp) - extract(epoch from '2026-07-20 12:49:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387715 -2.762609)'), GeomFromEWKT('SRID=4674;POINT (-40.387767 -2.7626)'))) / (select extract(epoch from '2026-07-20 12:49:07'::timestamp) - extract(epoch from '2026-07-20 12:49: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'), 47832, 'SRID=4674;POINT (-40.387837 -2.762542)', '2026-07-20 12:49:14', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387767 -2.7626)'), GeomFromEWKT('SRID=4674;POINT (-40.387837 -2.762542)'))) / (select extract(epoch from '2026-07-20 12:49:14'::timestamp) - extract(epoch from '2026-07-20 12:49:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387767 -2.7626)'), GeomFromEWKT('SRID=4674;POINT (-40.387837 -2.762542)'))) / (select extract(epoch from '2026-07-20 12:49:14'::timestamp) - extract(epoch from '2026-07-20 12:49: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'), 47832, 'SRID=4674;POINT (-40.387855 -2.76251)', '2026-07-20 12:49:18', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387837 -2.762542)'), GeomFromEWKT('SRID=4674;POINT (-40.387855 -2.76251)'))) / (select extract(epoch from '2026-07-20 12:49:18'::timestamp) - extract(epoch from '2026-07-20 12:49:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387837 -2.762542)'), GeomFromEWKT('SRID=4674;POINT (-40.387855 -2.76251)'))) / (select extract(epoch from '2026-07-20 12:49:18'::timestamp) - extract(epoch from '2026-07-20 12:49: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'), 47832, 'SRID=4674;POINT (-40.387863 -2.762493)', '2026-07-20 12:49:20', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387855 -2.76251)'), GeomFromEWKT('SRID=4674;POINT (-40.387863 -2.762493)'))) / (select extract(epoch from '2026-07-20 12:49:20'::timestamp) - extract(epoch from '2026-07-20 12:49:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387855 -2.76251)'), GeomFromEWKT('SRID=4674;POINT (-40.387863 -2.762493)'))) / (select extract(epoch from '2026-07-20 12:49:20'::timestamp) - extract(epoch from '2026-07-20 12:49: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'), 47832, 'SRID=4674;POINT (-40.387862 -2.762487)', '2026-07-20 12:49:21', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387863 -2.762493)'), GeomFromEWKT('SRID=4674;POINT (-40.387862 -2.762487)'))) / (select extract(epoch from '2026-07-20 12:49:21'::timestamp) - extract(epoch from '2026-07-20 12:49:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387863 -2.762493)'), GeomFromEWKT('SRID=4674;POINT (-40.387862 -2.762487)'))) / (select extract(epoch from '2026-07-20 12:49:21'::timestamp) - extract(epoch from '2026-07-20 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'), 47832, 'SRID=4674;POINT (-40.387846 -2.762456)', '2026-07-20 12:49:26', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387862 -2.762487)'), GeomFromEWKT('SRID=4674;POINT (-40.387846 -2.762456)'))) / (select extract(epoch from '2026-07-20 12:49:26'::timestamp) - extract(epoch from '2026-07-20 12:49:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387862 -2.762487)'), GeomFromEWKT('SRID=4674;POINT (-40.387846 -2.762456)'))) / (select extract(epoch from '2026-07-20 12:49:26'::timestamp) - extract(epoch from '2026-07-20 12: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'), 47832, 'SRID=4674;POINT (-40.387848 -2.762476)', '2026-07-20 12:49:35', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387846 -2.762456)'), GeomFromEWKT('SRID=4674;POINT (-40.387848 -2.762476)'))) / (select extract(epoch from '2026-07-20 12:49:35'::timestamp) - extract(epoch from '2026-07-20 12:49:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387846 -2.762456)'), GeomFromEWKT('SRID=4674;POINT (-40.387848 -2.762476)'))) / (select extract(epoch from '2026-07-20 12:49:35'::timestamp) - extract(epoch from '2026-07-20 12:49:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.387814 -2.762509)', '2026-07-20 12:49:43', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387848 -2.762476)'), GeomFromEWKT('SRID=4674;POINT (-40.387814 -2.762509)'))) / (select extract(epoch from '2026-07-20 12:49:43'::timestamp) - extract(epoch from '2026-07-20 12:49:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387848 -2.762476)'), GeomFromEWKT('SRID=4674;POINT (-40.387814 -2.762509)'))) / (select extract(epoch from '2026-07-20 12:49:43'::timestamp) - extract(epoch from '2026-07-20 12: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'), 47832, 'SRID=4674;POINT (-40.387786 -2.762526)', '2026-07-20 12:49:50', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387814 -2.762509)'), GeomFromEWKT('SRID=4674;POINT (-40.387786 -2.762526)'))) / (select extract(epoch from '2026-07-20 12:49:50'::timestamp) - extract(epoch from '2026-07-20 12:49:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387814 -2.762509)'), GeomFromEWKT('SRID=4674;POINT (-40.387786 -2.762526)'))) / (select extract(epoch from '2026-07-20 12:49:50'::timestamp) - extract(epoch from '2026-07-20 12:49: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'), 47832, 'SRID=4674;POINT (-40.387775 -2.762549)', '2026-07-20 12:49:57', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387786 -2.762526)'), GeomFromEWKT('SRID=4674;POINT (-40.387775 -2.762549)'))) / (select extract(epoch from '2026-07-20 12:49:57'::timestamp) - extract(epoch from '2026-07-20 12:49:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387786 -2.762526)'), GeomFromEWKT('SRID=4674;POINT (-40.387775 -2.762549)'))) / (select extract(epoch from '2026-07-20 12:49:57'::timestamp) - extract(epoch from '2026-07-20 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'), 47832, 'SRID=4674;POINT (-40.387757 -2.762576)', '2026-07-20 12:50:04', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387775 -2.762549)'), GeomFromEWKT('SRID=4674;POINT (-40.387757 -2.762576)'))) / (select extract(epoch from '2026-07-20 12:50:04'::timestamp) - extract(epoch from '2026-07-20 12:49:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387775 -2.762549)'), GeomFromEWKT('SRID=4674;POINT (-40.387757 -2.762576)'))) / (select extract(epoch from '2026-07-20 12:50:04'::timestamp) - extract(epoch from '2026-07-20 12:49: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'), 47832, 'SRID=4674;POINT (-40.387723 -2.762593)', '2026-07-20 12:50:26', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387757 -2.762576)'), GeomFromEWKT('SRID=4674;POINT (-40.387723 -2.762593)'))) / (select extract(epoch from '2026-07-20 12:50:26'::timestamp) - extract(epoch from '2026-07-20 12:50:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387757 -2.762576)'), GeomFromEWKT('SRID=4674;POINT (-40.387723 -2.762593)'))) / (select extract(epoch from '2026-07-20 12:50:26'::timestamp) - extract(epoch from '2026-07-20 12:50: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'), 47832, 'SRID=4674;POINT (-40.387717 -2.76256)', '2026-07-20 12:50:34', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387723 -2.762593)'), GeomFromEWKT('SRID=4674;POINT (-40.387717 -2.76256)'))) / (select extract(epoch from '2026-07-20 12:50:34'::timestamp) - extract(epoch from '2026-07-20 12:50:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387723 -2.762593)'), GeomFromEWKT('SRID=4674;POINT (-40.387717 -2.76256)'))) / (select extract(epoch from '2026-07-20 12:50:34'::timestamp) - extract(epoch from '2026-07-20 12:50: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'), 47832, 'SRID=4674;POINT (-40.387723 -2.762559)', '2026-07-20 12:50:46', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387717 -2.76256)'), GeomFromEWKT('SRID=4674;POINT (-40.387723 -2.762559)'))) / (select extract(epoch from '2026-07-20 12:50:46'::timestamp) - extract(epoch from '2026-07-20 12:50:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387717 -2.76256)'), GeomFromEWKT('SRID=4674;POINT (-40.387723 -2.762559)'))) / (select extract(epoch from '2026-07-20 12:50:46'::timestamp) - extract(epoch from '2026-07-20 12: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'), 47832, 'SRID=4674;POINT (-40.387719 -2.762562)', '2026-07-20 12:51:42', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387723 -2.762559)'), GeomFromEWKT('SRID=4674;POINT (-40.387719 -2.762562)'))) / (select extract(epoch from '2026-07-20 12:51:42'::timestamp) - extract(epoch from '2026-07-20 12:50:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387723 -2.762559)'), GeomFromEWKT('SRID=4674;POINT (-40.387719 -2.762562)'))) / (select extract(epoch from '2026-07-20 12:51:42'::timestamp) - extract(epoch from '2026-07-20 12:50:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.387742 -2.762566)', '2026-07-20 12:51:59', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387719 -2.762562)'), GeomFromEWKT('SRID=4674;POINT (-40.387742 -2.762566)'))) / (select extract(epoch from '2026-07-20 12:51:59'::timestamp) - extract(epoch from '2026-07-20 12:51:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387719 -2.762562)'), GeomFromEWKT('SRID=4674;POINT (-40.387742 -2.762566)'))) / (select extract(epoch from '2026-07-20 12:51:59'::timestamp) - extract(epoch from '2026-07-20 12:51:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.387773 -2.762565)', '2026-07-20 12:52:05', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387742 -2.762566)'), GeomFromEWKT('SRID=4674;POINT (-40.387773 -2.762565)'))) / (select extract(epoch from '2026-07-20 12:52:05'::timestamp) - extract(epoch from '2026-07-20 12:51:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387742 -2.762566)'), GeomFromEWKT('SRID=4674;POINT (-40.387773 -2.762565)'))) / (select extract(epoch from '2026-07-20 12:52:05'::timestamp) - extract(epoch from '2026-07-20 12: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'), 47832, 'SRID=4674;POINT (-40.387811 -2.762559)', '2026-07-20 12:52:13', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387773 -2.762565)'), GeomFromEWKT('SRID=4674;POINT (-40.387811 -2.762559)'))) / (select extract(epoch from '2026-07-20 12:52:13'::timestamp) - extract(epoch from '2026-07-20 12:52:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387773 -2.762565)'), GeomFromEWKT('SRID=4674;POINT (-40.387811 -2.762559)'))) / (select extract(epoch from '2026-07-20 12:52:13'::timestamp) - extract(epoch from '2026-07-20 12: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'), 47832, 'SRID=4674;POINT (-40.387836 -2.762561)', '2026-07-20 12:52:18', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387811 -2.762559)'), GeomFromEWKT('SRID=4674;POINT (-40.387836 -2.762561)'))) / (select extract(epoch from '2026-07-20 12:52:18'::timestamp) - extract(epoch from '2026-07-20 12:52:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387811 -2.762559)'), GeomFromEWKT('SRID=4674;POINT (-40.387836 -2.762561)'))) / (select extract(epoch from '2026-07-20 12:52:18'::timestamp) - extract(epoch from '2026-07-20 12: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'), 47832, 'SRID=4674;POINT (-40.387874 -2.762575)', '2026-07-20 12:52:27', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387836 -2.762561)'), GeomFromEWKT('SRID=4674;POINT (-40.387874 -2.762575)'))) / (select extract(epoch from '2026-07-20 12:52:27'::timestamp) - extract(epoch from '2026-07-20 12:52:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387836 -2.762561)'), GeomFromEWKT('SRID=4674;POINT (-40.387874 -2.762575)'))) / (select extract(epoch from '2026-07-20 12:52:27'::timestamp) - extract(epoch from '2026-07-20 12:52:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.387921 -2.762554)', '2026-07-20 12:52:33', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387874 -2.762575)'), GeomFromEWKT('SRID=4674;POINT (-40.387921 -2.762554)'))) / (select extract(epoch from '2026-07-20 12:52:33'::timestamp) - extract(epoch from '2026-07-20 12:52:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387874 -2.762575)'), GeomFromEWKT('SRID=4674;POINT (-40.387921 -2.762554)'))) / (select extract(epoch from '2026-07-20 12:52:33'::timestamp) - extract(epoch from '2026-07-20 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'), 47832, 'SRID=4674;POINT (-40.387991 -2.762465)', '2026-07-20 12:52:41', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387921 -2.762554)'), GeomFromEWKT('SRID=4674;POINT (-40.387991 -2.762465)'))) / (select extract(epoch from '2026-07-20 12:52:41'::timestamp) - extract(epoch from '2026-07-20 12:52:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387921 -2.762554)'), GeomFromEWKT('SRID=4674;POINT (-40.387991 -2.762465)'))) / (select extract(epoch from '2026-07-20 12:52:41'::timestamp) - extract(epoch from '2026-07-20 12:52: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'), 47832, 'SRID=4674;POINT (-40.388027 -2.762427)', '2026-07-20 12:52:47', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387991 -2.762465)'), GeomFromEWKT('SRID=4674;POINT (-40.388027 -2.762427)'))) / (select extract(epoch from '2026-07-20 12:52:47'::timestamp) - extract(epoch from '2026-07-20 12:52:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387991 -2.762465)'), GeomFromEWKT('SRID=4674;POINT (-40.388027 -2.762427)'))) / (select extract(epoch from '2026-07-20 12:52:47'::timestamp) - extract(epoch from '2026-07-20 12:52:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.388045 -2.762406)', '2026-07-20 12:52:54', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388027 -2.762427)'), GeomFromEWKT('SRID=4674;POINT (-40.388045 -2.762406)'))) / (select extract(epoch from '2026-07-20 12:52:54'::timestamp) - extract(epoch from '2026-07-20 12:52:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388027 -2.762427)'), GeomFromEWKT('SRID=4674;POINT (-40.388045 -2.762406)'))) / (select extract(epoch from '2026-07-20 12:52:54'::timestamp) - extract(epoch from '2026-07-20 12:52: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'), 47832, 'SRID=4674;POINT (-40.388029 -2.762381)', '2026-07-20 12:53:01', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388045 -2.762406)'), GeomFromEWKT('SRID=4674;POINT (-40.388029 -2.762381)'))) / (select extract(epoch from '2026-07-20 12:53:01'::timestamp) - extract(epoch from '2026-07-20 12:52:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388045 -2.762406)'), GeomFromEWKT('SRID=4674;POINT (-40.388029 -2.762381)'))) / (select extract(epoch from '2026-07-20 12:53:01'::timestamp) - extract(epoch from '2026-07-20 12:52:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.387985 -2.762375)', '2026-07-20 12:53:09', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388029 -2.762381)'), GeomFromEWKT('SRID=4674;POINT (-40.387985 -2.762375)'))) / (select extract(epoch from '2026-07-20 12:53:09'::timestamp) - extract(epoch from '2026-07-20 12:53:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388029 -2.762381)'), GeomFromEWKT('SRID=4674;POINT (-40.387985 -2.762375)'))) / (select extract(epoch from '2026-07-20 12:53:09'::timestamp) - extract(epoch from '2026-07-20 12:53: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'), 47832, 'SRID=4674;POINT (-40.387905 -2.762434)', '2026-07-20 12:53:22', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387985 -2.762375)'), GeomFromEWKT('SRID=4674;POINT (-40.387905 -2.762434)'))) / (select extract(epoch from '2026-07-20 12:53:22'::timestamp) - extract(epoch from '2026-07-20 12:53:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387985 -2.762375)'), GeomFromEWKT('SRID=4674;POINT (-40.387905 -2.762434)'))) / (select extract(epoch from '2026-07-20 12:53:22'::timestamp) - extract(epoch from '2026-07-20 12:53:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.387879 -2.762487)', '2026-07-20 12:53:30', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387905 -2.762434)'), GeomFromEWKT('SRID=4674;POINT (-40.387879 -2.762487)'))) / (select extract(epoch from '2026-07-20 12:53:30'::timestamp) - extract(epoch from '2026-07-20 12:53:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387905 -2.762434)'), GeomFromEWKT('SRID=4674;POINT (-40.387879 -2.762487)'))) / (select extract(epoch from '2026-07-20 12:53:30'::timestamp) - extract(epoch from '2026-07-20 12:53:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.387856 -2.762538)', '2026-07-20 12:53:37', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387879 -2.762487)'), GeomFromEWKT('SRID=4674;POINT (-40.387856 -2.762538)'))) / (select extract(epoch from '2026-07-20 12:53:37'::timestamp) - extract(epoch from '2026-07-20 12:53:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387879 -2.762487)'), GeomFromEWKT('SRID=4674;POINT (-40.387856 -2.762538)'))) / (select extract(epoch from '2026-07-20 12:53:37'::timestamp) - extract(epoch from '2026-07-20 12:53:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.387825 -2.762611)', '2026-07-20 12:53:44', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387856 -2.762538)'), GeomFromEWKT('SRID=4674;POINT (-40.387825 -2.762611)'))) / (select extract(epoch from '2026-07-20 12:53:44'::timestamp) - extract(epoch from '2026-07-20 12:53:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387856 -2.762538)'), GeomFromEWKT('SRID=4674;POINT (-40.387825 -2.762611)'))) / (select extract(epoch from '2026-07-20 12:53:44'::timestamp) - extract(epoch from '2026-07-20 12:53: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'), 47832, 'SRID=4674;POINT (-40.387791 -2.76266)', '2026-07-20 12:53:51', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387825 -2.762611)'), GeomFromEWKT('SRID=4674;POINT (-40.387791 -2.76266)'))) / (select extract(epoch from '2026-07-20 12:53:51'::timestamp) - extract(epoch from '2026-07-20 12:53:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387825 -2.762611)'), GeomFromEWKT('SRID=4674;POINT (-40.387791 -2.76266)'))) / (select extract(epoch from '2026-07-20 12:53:51'::timestamp) - extract(epoch from '2026-07-20 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'), 47832, 'SRID=4674;POINT (-40.387768 -2.762704)', '2026-07-20 12:53:57', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387791 -2.76266)'), GeomFromEWKT('SRID=4674;POINT (-40.387768 -2.762704)'))) / (select extract(epoch from '2026-07-20 12:53:57'::timestamp) - extract(epoch from '2026-07-20 12:53:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387791 -2.76266)'), GeomFromEWKT('SRID=4674;POINT (-40.387768 -2.762704)'))) / (select extract(epoch from '2026-07-20 12:53:57'::timestamp) - extract(epoch from '2026-07-20 12:53:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.387764 -2.76271)', '2026-07-20 12:53:58', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387768 -2.762704)'), GeomFromEWKT('SRID=4674;POINT (-40.387764 -2.76271)'))) / (select extract(epoch from '2026-07-20 12:53:58'::timestamp) - extract(epoch from '2026-07-20 12:53:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387768 -2.762704)'), GeomFromEWKT('SRID=4674;POINT (-40.387764 -2.76271)'))) / (select extract(epoch from '2026-07-20 12:53:58'::timestamp) - extract(epoch from '2026-07-20 12:53:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.387754 -2.762736)', '2026-07-20 12:54:01', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387764 -2.76271)'), GeomFromEWKT('SRID=4674;POINT (-40.387754 -2.762736)'))) / (select extract(epoch from '2026-07-20 12:54:01'::timestamp) - extract(epoch from '2026-07-20 12:53:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387764 -2.76271)'), GeomFromEWKT('SRID=4674;POINT (-40.387754 -2.762736)'))) / (select extract(epoch from '2026-07-20 12:54:01'::timestamp) - extract(epoch from '2026-07-20 12:53:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.387749 -2.762754)', '2026-07-20 12:54:03', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387754 -2.762736)'), GeomFromEWKT('SRID=4674;POINT (-40.387749 -2.762754)'))) / (select extract(epoch from '2026-07-20 12:54:03'::timestamp) - extract(epoch from '2026-07-20 12:54:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387754 -2.762736)'), GeomFromEWKT('SRID=4674;POINT (-40.387749 -2.762754)'))) / (select extract(epoch from '2026-07-20 12:54:03'::timestamp) - extract(epoch from '2026-07-20 12:54: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'), 47832, 'SRID=4674;POINT (-40.387707 -2.762824)', '2026-07-20 12:54:10', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387749 -2.762754)'), GeomFromEWKT('SRID=4674;POINT (-40.387707 -2.762824)'))) / (select extract(epoch from '2026-07-20 12:54:10'::timestamp) - extract(epoch from '2026-07-20 12:54:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387749 -2.762754)'), GeomFromEWKT('SRID=4674;POINT (-40.387707 -2.762824)'))) / (select extract(epoch from '2026-07-20 12:54:10'::timestamp) - extract(epoch from '2026-07-20 12:54: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'), 47832, 'SRID=4674;POINT (-40.387671 -2.762848)', '2026-07-20 12:54:14', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387707 -2.762824)'), GeomFromEWKT('SRID=4674;POINT (-40.387671 -2.762848)'))) / (select extract(epoch from '2026-07-20 12:54:14'::timestamp) - extract(epoch from '2026-07-20 12:54:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387707 -2.762824)'), GeomFromEWKT('SRID=4674;POINT (-40.387671 -2.762848)'))) / (select extract(epoch from '2026-07-20 12:54:14'::timestamp) - extract(epoch from '2026-07-20 12:54: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'), 47832, 'SRID=4674;POINT (-40.387651 -2.762862)', '2026-07-20 12:54:16', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387671 -2.762848)'), GeomFromEWKT('SRID=4674;POINT (-40.387651 -2.762862)'))) / (select extract(epoch from '2026-07-20 12:54:16'::timestamp) - extract(epoch from '2026-07-20 12:54:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387671 -2.762848)'), GeomFromEWKT('SRID=4674;POINT (-40.387651 -2.762862)'))) / (select extract(epoch from '2026-07-20 12:54:16'::timestamp) - extract(epoch from '2026-07-20 12:54: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'), 47832, 'SRID=4674;POINT (-40.387614 -2.762897)', '2026-07-20 12:54:21', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387651 -2.762862)'), GeomFromEWKT('SRID=4674;POINT (-40.387614 -2.762897)'))) / (select extract(epoch from '2026-07-20 12:54:21'::timestamp) - extract(epoch from '2026-07-20 12:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387651 -2.762862)'), GeomFromEWKT('SRID=4674;POINT (-40.387614 -2.762897)'))) / (select extract(epoch from '2026-07-20 12:54:21'::timestamp) - extract(epoch from '2026-07-20 12:54:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.387594 -2.76291)', '2026-07-20 12:54:23', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387614 -2.762897)'), GeomFromEWKT('SRID=4674;POINT (-40.387594 -2.76291)'))) / (select extract(epoch from '2026-07-20 12:54:23'::timestamp) - extract(epoch from '2026-07-20 12:54:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387614 -2.762897)'), GeomFromEWKT('SRID=4674;POINT (-40.387594 -2.76291)'))) / (select extract(epoch from '2026-07-20 12:54:23'::timestamp) - extract(epoch from '2026-07-20 12:54: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'), 47832, 'SRID=4674;POINT (-40.387581 -2.762914)', '2026-07-20 12:54:24', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387594 -2.76291)'), GeomFromEWKT('SRID=4674;POINT (-40.387581 -2.762914)'))) / (select extract(epoch from '2026-07-20 12:54:24'::timestamp) - extract(epoch from '2026-07-20 12:54:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387594 -2.76291)'), GeomFromEWKT('SRID=4674;POINT (-40.387581 -2.762914)'))) / (select extract(epoch from '2026-07-20 12:54:24'::timestamp) - extract(epoch from '2026-07-20 12:54:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.387502 -2.762933)', '2026-07-20 12:54:33', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387581 -2.762914)'), GeomFromEWKT('SRID=4674;POINT (-40.387502 -2.762933)'))) / (select extract(epoch from '2026-07-20 12:54:33'::timestamp) - extract(epoch from '2026-07-20 12:54:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387581 -2.762914)'), GeomFromEWKT('SRID=4674;POINT (-40.387502 -2.762933)'))) / (select extract(epoch from '2026-07-20 12:54:33'::timestamp) - extract(epoch from '2026-07-20 12:54: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'), 47832, 'SRID=4674;POINT (-40.38744 -2.762892)', '2026-07-20 12:54:40', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387502 -2.762933)'), GeomFromEWKT('SRID=4674;POINT (-40.38744 -2.762892)'))) / (select extract(epoch from '2026-07-20 12:54:40'::timestamp) - extract(epoch from '2026-07-20 12:54:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387502 -2.762933)'), GeomFromEWKT('SRID=4674;POINT (-40.38744 -2.762892)'))) / (select extract(epoch from '2026-07-20 12:54:40'::timestamp) - extract(epoch from '2026-07-20 12:54:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.387397 -2.762829)', '2026-07-20 12:54:46', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38744 -2.762892)'), GeomFromEWKT('SRID=4674;POINT (-40.387397 -2.762829)'))) / (select extract(epoch from '2026-07-20 12:54:46'::timestamp) - extract(epoch from '2026-07-20 12:54:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38744 -2.762892)'), GeomFromEWKT('SRID=4674;POINT (-40.387397 -2.762829)'))) / (select extract(epoch from '2026-07-20 12:54:46'::timestamp) - extract(epoch from '2026-07-20 12:54:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.387299 -2.762735)', '2026-07-20 12:54:55', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387397 -2.762829)'), GeomFromEWKT('SRID=4674;POINT (-40.387299 -2.762735)'))) / (select extract(epoch from '2026-07-20 12:54:55'::timestamp) - extract(epoch from '2026-07-20 12:54:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387397 -2.762829)'), GeomFromEWKT('SRID=4674;POINT (-40.387299 -2.762735)'))) / (select extract(epoch from '2026-07-20 12:54:55'::timestamp) - extract(epoch from '2026-07-20 12:54:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.387214 -2.762699)', '2026-07-20 12:55:03', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387299 -2.762735)'), GeomFromEWKT('SRID=4674;POINT (-40.387214 -2.762699)'))) / (select extract(epoch from '2026-07-20 12:55:03'::timestamp) - extract(epoch from '2026-07-20 12:54:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387299 -2.762735)'), GeomFromEWKT('SRID=4674;POINT (-40.387214 -2.762699)'))) / (select extract(epoch from '2026-07-20 12:55:03'::timestamp) - extract(epoch from '2026-07-20 12:54:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.387151 -2.76268)', '2026-07-20 12:55:09', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387214 -2.762699)'), GeomFromEWKT('SRID=4674;POINT (-40.387151 -2.76268)'))) / (select extract(epoch from '2026-07-20 12:55:09'::timestamp) - extract(epoch from '2026-07-20 12:55:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387214 -2.762699)'), GeomFromEWKT('SRID=4674;POINT (-40.387151 -2.76268)'))) / (select extract(epoch from '2026-07-20 12:55:09'::timestamp) - extract(epoch from '2026-07-20 12:55:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.387085 -2.762649)', '2026-07-20 12:55:16', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387151 -2.76268)'), GeomFromEWKT('SRID=4674;POINT (-40.387085 -2.762649)'))) / (select extract(epoch from '2026-07-20 12:55:16'::timestamp) - extract(epoch from '2026-07-20 12:55:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387151 -2.76268)'), GeomFromEWKT('SRID=4674;POINT (-40.387085 -2.762649)'))) / (select extract(epoch from '2026-07-20 12:55:16'::timestamp) - extract(epoch from '2026-07-20 12:55:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.387017 -2.762638)', '2026-07-20 12:55:23', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387085 -2.762649)'), GeomFromEWKT('SRID=4674;POINT (-40.387017 -2.762638)'))) / (select extract(epoch from '2026-07-20 12:55:23'::timestamp) - extract(epoch from '2026-07-20 12:55:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387085 -2.762649)'), GeomFromEWKT('SRID=4674;POINT (-40.387017 -2.762638)'))) / (select extract(epoch from '2026-07-20 12:55:23'::timestamp) - extract(epoch from '2026-07-20 12:55: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'), 47832, 'SRID=4674;POINT (-40.386879 -2.762623)', '2026-07-20 12:55:33', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387017 -2.762638)'), GeomFromEWKT('SRID=4674;POINT (-40.386879 -2.762623)'))) / (select extract(epoch from '2026-07-20 12:55:33'::timestamp) - extract(epoch from '2026-07-20 12:55:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387017 -2.762638)'), GeomFromEWKT('SRID=4674;POINT (-40.386879 -2.762623)'))) / (select extract(epoch from '2026-07-20 12:55:33'::timestamp) - extract(epoch from '2026-07-20 12:55:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.38678 -2.762593)', '2026-07-20 12:55:41', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386879 -2.762623)'), GeomFromEWKT('SRID=4674;POINT (-40.38678 -2.762593)'))) / (select extract(epoch from '2026-07-20 12:55:41'::timestamp) - extract(epoch from '2026-07-20 12:55:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386879 -2.762623)'), GeomFromEWKT('SRID=4674;POINT (-40.38678 -2.762593)'))) / (select extract(epoch from '2026-07-20 12:55:41'::timestamp) - extract(epoch from '2026-07-20 12:55: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'), 47832, 'SRID=4674;POINT (-40.386692 -2.762544)', '2026-07-20 12:55:48', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38678 -2.762593)'), GeomFromEWKT('SRID=4674;POINT (-40.386692 -2.762544)'))) / (select extract(epoch from '2026-07-20 12:55:48'::timestamp) - extract(epoch from '2026-07-20 12:55:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38678 -2.762593)'), GeomFromEWKT('SRID=4674;POINT (-40.386692 -2.762544)'))) / (select extract(epoch from '2026-07-20 12:55:48'::timestamp) - extract(epoch from '2026-07-20 12:55: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'), 47832, 'SRID=4674;POINT (-40.38659 -2.762515)', '2026-07-20 12:55:56', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386692 -2.762544)'), GeomFromEWKT('SRID=4674;POINT (-40.38659 -2.762515)'))) / (select extract(epoch from '2026-07-20 12:55:56'::timestamp) - extract(epoch from '2026-07-20 12:55:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386692 -2.762544)'), GeomFromEWKT('SRID=4674;POINT (-40.38659 -2.762515)'))) / (select extract(epoch from '2026-07-20 12:55:56'::timestamp) - extract(epoch from '2026-07-20 12:55: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'), 47832, 'SRID=4674;POINT (-40.386522 -2.762507)', '2026-07-20 12:56:03', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38659 -2.762515)'), GeomFromEWKT('SRID=4674;POINT (-40.386522 -2.762507)'))) / (select extract(epoch from '2026-07-20 12:56:03'::timestamp) - extract(epoch from '2026-07-20 12:55:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38659 -2.762515)'), GeomFromEWKT('SRID=4674;POINT (-40.386522 -2.762507)'))) / (select extract(epoch from '2026-07-20 12:56:03'::timestamp) - extract(epoch from '2026-07-20 12:55: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'), 47832, 'SRID=4674;POINT (-40.386439 -2.762489)', '2026-07-20 12:56:11', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386522 -2.762507)'), GeomFromEWKT('SRID=4674;POINT (-40.386439 -2.762489)'))) / (select extract(epoch from '2026-07-20 12:56:11'::timestamp) - extract(epoch from '2026-07-20 12:56:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386522 -2.762507)'), GeomFromEWKT('SRID=4674;POINT (-40.386439 -2.762489)'))) / (select extract(epoch from '2026-07-20 12:56:11'::timestamp) - extract(epoch from '2026-07-20 12:56: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'), 47832, 'SRID=4674;POINT (-40.386346 -2.762437)', '2026-07-20 12:56:21', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386439 -2.762489)'), GeomFromEWKT('SRID=4674;POINT (-40.386346 -2.762437)'))) / (select extract(epoch from '2026-07-20 12:56:21'::timestamp) - extract(epoch from '2026-07-20 12:56:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386439 -2.762489)'), GeomFromEWKT('SRID=4674;POINT (-40.386346 -2.762437)'))) / (select extract(epoch from '2026-07-20 12:56:21'::timestamp) - extract(epoch from '2026-07-20 12:56: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'), 47832, 'SRID=4674;POINT (-40.386311 -2.762397)', '2026-07-20 12:56:27', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386346 -2.762437)'), GeomFromEWKT('SRID=4674;POINT (-40.386311 -2.762397)'))) / (select extract(epoch from '2026-07-20 12:56:27'::timestamp) - extract(epoch from '2026-07-20 12:56:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386346 -2.762437)'), GeomFromEWKT('SRID=4674;POINT (-40.386311 -2.762397)'))) / (select extract(epoch from '2026-07-20 12:56:27'::timestamp) - extract(epoch from '2026-07-20 12:56:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.386293 -2.762386)', '2026-07-20 12:56:29', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386311 -2.762397)'), GeomFromEWKT('SRID=4674;POINT (-40.386293 -2.762386)'))) / (select extract(epoch from '2026-07-20 12:56:29'::timestamp) - extract(epoch from '2026-07-20 12:56:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386311 -2.762397)'), GeomFromEWKT('SRID=4674;POINT (-40.386293 -2.762386)'))) / (select extract(epoch from '2026-07-20 12:56:29'::timestamp) - extract(epoch from '2026-07-20 12:56: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'), 47832, 'SRID=4674;POINT (-40.386241 -2.762329)', '2026-07-20 12:56:36', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386293 -2.762386)'), GeomFromEWKT('SRID=4674;POINT (-40.386241 -2.762329)'))) / (select extract(epoch from '2026-07-20 12:56:36'::timestamp) - extract(epoch from '2026-07-20 12:56:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386293 -2.762386)'), GeomFromEWKT('SRID=4674;POINT (-40.386241 -2.762329)'))) / (select extract(epoch from '2026-07-20 12:56:36'::timestamp) - extract(epoch from '2026-07-20 12:56: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'), 47832, 'SRID=4674;POINT (-40.386144 -2.762278)', '2026-07-20 12:56:43', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386241 -2.762329)'), GeomFromEWKT('SRID=4674;POINT (-40.386144 -2.762278)'))) / (select extract(epoch from '2026-07-20 12:56:43'::timestamp) - extract(epoch from '2026-07-20 12:56:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386241 -2.762329)'), GeomFromEWKT('SRID=4674;POINT (-40.386144 -2.762278)'))) / (select extract(epoch from '2026-07-20 12:56:43'::timestamp) - extract(epoch from '2026-07-20 12:56: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'), 47832, 'SRID=4674;POINT (-40.386051 -2.762263)', '2026-07-20 12:56:50', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386144 -2.762278)'), GeomFromEWKT('SRID=4674;POINT (-40.386051 -2.762263)'))) / (select extract(epoch from '2026-07-20 12:56:50'::timestamp) - extract(epoch from '2026-07-20 12:56:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386144 -2.762278)'), GeomFromEWKT('SRID=4674;POINT (-40.386051 -2.762263)'))) / (select extract(epoch from '2026-07-20 12:56:50'::timestamp) - extract(epoch from '2026-07-20 12:56: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'), 47832, 'SRID=4674;POINT (-40.385971 -2.762264)', '2026-07-20 12:56:58', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386051 -2.762263)'), GeomFromEWKT('SRID=4674;POINT (-40.385971 -2.762264)'))) / (select extract(epoch from '2026-07-20 12:56:58'::timestamp) - extract(epoch from '2026-07-20 12:56:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386051 -2.762263)'), GeomFromEWKT('SRID=4674;POINT (-40.385971 -2.762264)'))) / (select extract(epoch from '2026-07-20 12:56:58'::timestamp) - extract(epoch from '2026-07-20 12:56: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'), 47832, 'SRID=4674;POINT (-40.385899 -2.762263)', '2026-07-20 12:57:05', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385971 -2.762264)'), GeomFromEWKT('SRID=4674;POINT (-40.385899 -2.762263)'))) / (select extract(epoch from '2026-07-20 12:57:05'::timestamp) - extract(epoch from '2026-07-20 12:56:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385971 -2.762264)'), GeomFromEWKT('SRID=4674;POINT (-40.385899 -2.762263)'))) / (select extract(epoch from '2026-07-20 12:57:05'::timestamp) - extract(epoch from '2026-07-20 12:56:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.385831 -2.762232)', '2026-07-20 12:57:11', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385899 -2.762263)'), GeomFromEWKT('SRID=4674;POINT (-40.385831 -2.762232)'))) / (select extract(epoch from '2026-07-20 12:57:11'::timestamp) - extract(epoch from '2026-07-20 12:57:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385899 -2.762263)'), GeomFromEWKT('SRID=4674;POINT (-40.385831 -2.762232)'))) / (select extract(epoch from '2026-07-20 12:57:11'::timestamp) - extract(epoch from '2026-07-20 12:57: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'), 47832, 'SRID=4674;POINT (-40.385759 -2.762184)', '2026-07-20 12:57:18', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385831 -2.762232)'), GeomFromEWKT('SRID=4674;POINT (-40.385759 -2.762184)'))) / (select extract(epoch from '2026-07-20 12:57:18'::timestamp) - extract(epoch from '2026-07-20 12:57:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385831 -2.762232)'), GeomFromEWKT('SRID=4674;POINT (-40.385759 -2.762184)'))) / (select extract(epoch from '2026-07-20 12:57:18'::timestamp) - extract(epoch from '2026-07-20 12:57: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'), 47832, 'SRID=4674;POINT (-40.385713 -2.762139)', '2026-07-20 12:57:25', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385759 -2.762184)'), GeomFromEWKT('SRID=4674;POINT (-40.385713 -2.762139)'))) / (select extract(epoch from '2026-07-20 12:57:25'::timestamp) - extract(epoch from '2026-07-20 12:57:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385759 -2.762184)'), GeomFromEWKT('SRID=4674;POINT (-40.385713 -2.762139)'))) / (select extract(epoch from '2026-07-20 12:57:25'::timestamp) - extract(epoch from '2026-07-20 12:57: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'), 47832, 'SRID=4674;POINT (-40.385696 -2.762077)', '2026-07-20 12:57:32', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385713 -2.762139)'), GeomFromEWKT('SRID=4674;POINT (-40.385696 -2.762077)'))) / (select extract(epoch from '2026-07-20 12:57:32'::timestamp) - extract(epoch from '2026-07-20 12:57:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385713 -2.762139)'), GeomFromEWKT('SRID=4674;POINT (-40.385696 -2.762077)'))) / (select extract(epoch from '2026-07-20 12:57:32'::timestamp) - extract(epoch from '2026-07-20 12:57: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'), 47832, 'SRID=4674;POINT (-40.385689 -2.762063)', '2026-07-20 12:57:34', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385696 -2.762077)'), GeomFromEWKT('SRID=4674;POINT (-40.385689 -2.762063)'))) / (select extract(epoch from '2026-07-20 12:57:34'::timestamp) - extract(epoch from '2026-07-20 12:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385696 -2.762077)'), GeomFromEWKT('SRID=4674;POINT (-40.385689 -2.762063)'))) / (select extract(epoch from '2026-07-20 12:57:34'::timestamp) - extract(epoch from '2026-07-20 12:57: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'), 47832, 'SRID=4674;POINT (-40.385656 -2.762054)', '2026-07-20 12:57:39', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385689 -2.762063)'), GeomFromEWKT('SRID=4674;POINT (-40.385656 -2.762054)'))) / (select extract(epoch from '2026-07-20 12:57:39'::timestamp) - extract(epoch from '2026-07-20 12:57:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385689 -2.762063)'), GeomFromEWKT('SRID=4674;POINT (-40.385656 -2.762054)'))) / (select extract(epoch from '2026-07-20 12:57:39'::timestamp) - extract(epoch from '2026-07-20 12:57: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'), 47832, 'SRID=4674;POINT (-40.385612 -2.762039)', '2026-07-20 12:57:44', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385656 -2.762054)'), GeomFromEWKT('SRID=4674;POINT (-40.385612 -2.762039)'))) / (select extract(epoch from '2026-07-20 12:57:44'::timestamp) - extract(epoch from '2026-07-20 12:57:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385656 -2.762054)'), GeomFromEWKT('SRID=4674;POINT (-40.385612 -2.762039)'))) / (select extract(epoch from '2026-07-20 12:57:44'::timestamp) - extract(epoch from '2026-07-20 12:57: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'), 47832, 'SRID=4674;POINT (-40.385555 -2.762057)', '2026-07-20 12:57:51', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385612 -2.762039)'), GeomFromEWKT('SRID=4674;POINT (-40.385555 -2.762057)'))) / (select extract(epoch from '2026-07-20 12:57:51'::timestamp) - extract(epoch from '2026-07-20 12:57:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385612 -2.762039)'), GeomFromEWKT('SRID=4674;POINT (-40.385555 -2.762057)'))) / (select extract(epoch from '2026-07-20 12:57:51'::timestamp) - extract(epoch from '2026-07-20 12:57: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'), 47832, 'SRID=4674;POINT (-40.385507 -2.762089)', '2026-07-20 12:57:58', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385555 -2.762057)'), GeomFromEWKT('SRID=4674;POINT (-40.385507 -2.762089)'))) / (select extract(epoch from '2026-07-20 12:57:58'::timestamp) - extract(epoch from '2026-07-20 12:57:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385555 -2.762057)'), GeomFromEWKT('SRID=4674;POINT (-40.385507 -2.762089)'))) / (select extract(epoch from '2026-07-20 12:57:58'::timestamp) - extract(epoch from '2026-07-20 12:57: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'), 47832, 'SRID=4674;POINT (-40.385462 -2.762069)', '2026-07-20 12:58:04', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385507 -2.762089)'), GeomFromEWKT('SRID=4674;POINT (-40.385462 -2.762069)'))) / (select extract(epoch from '2026-07-20 12:58:04'::timestamp) - extract(epoch from '2026-07-20 12:57:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385507 -2.762089)'), GeomFromEWKT('SRID=4674;POINT (-40.385462 -2.762069)'))) / (select extract(epoch from '2026-07-20 12:58:04'::timestamp) - extract(epoch from '2026-07-20 12:57: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'), 47832, 'SRID=4674;POINT (-40.385427 -2.762065)', '2026-07-20 12:58:11', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385462 -2.762069)'), GeomFromEWKT('SRID=4674;POINT (-40.385427 -2.762065)'))) / (select extract(epoch from '2026-07-20 12:58:11'::timestamp) - extract(epoch from '2026-07-20 12:58:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385462 -2.762069)'), GeomFromEWKT('SRID=4674;POINT (-40.385427 -2.762065)'))) / (select extract(epoch from '2026-07-20 12:58:11'::timestamp) - extract(epoch from '2026-07-20 12:58: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'), 47832, 'SRID=4674;POINT (-40.38543 -2.762074)', '2026-07-20 12:58:17', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385427 -2.762065)'), GeomFromEWKT('SRID=4674;POINT (-40.38543 -2.762074)'))) / (select extract(epoch from '2026-07-20 12:58:17'::timestamp) - extract(epoch from '2026-07-20 12:58:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385427 -2.762065)'), GeomFromEWKT('SRID=4674;POINT (-40.38543 -2.762074)'))) / (select extract(epoch from '2026-07-20 12:58:17'::timestamp) - extract(epoch from '2026-07-20 12:58: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'), 47832, 'SRID=4674;POINT (-40.385498 -2.762054)', '2026-07-20 12:58:55', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38543 -2.762074)'), GeomFromEWKT('SRID=4674;POINT (-40.385498 -2.762054)'))) / (select extract(epoch from '2026-07-20 12:58:55'::timestamp) - extract(epoch from '2026-07-20 12:58:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38543 -2.762074)'), GeomFromEWKT('SRID=4674;POINT (-40.385498 -2.762054)'))) / (select extract(epoch from '2026-07-20 12:58:55'::timestamp) - extract(epoch from '2026-07-20 12:58: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'), 47832, 'SRID=4674;POINT (-40.385607 -2.761944)', '2026-07-20 12:59:11', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385498 -2.762054)'), GeomFromEWKT('SRID=4674;POINT (-40.385607 -2.761944)'))) / (select extract(epoch from '2026-07-20 12:59:11'::timestamp) - extract(epoch from '2026-07-20 12:58:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385498 -2.762054)'), GeomFromEWKT('SRID=4674;POINT (-40.385607 -2.761944)'))) / (select extract(epoch from '2026-07-20 12:59:11'::timestamp) - extract(epoch from '2026-07-20 12:58: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'), 47832, 'SRID=4674;POINT (-40.385646 -2.761858)', '2026-07-20 12:59:23', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385607 -2.761944)'), GeomFromEWKT('SRID=4674;POINT (-40.385646 -2.761858)'))) / (select extract(epoch from '2026-07-20 12:59:23'::timestamp) - extract(epoch from '2026-07-20 12:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385607 -2.761944)'), GeomFromEWKT('SRID=4674;POINT (-40.385646 -2.761858)'))) / (select extract(epoch from '2026-07-20 12:59:23'::timestamp) - extract(epoch from '2026-07-20 12:59: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'), 47832, 'SRID=4674;POINT (-40.385609 -2.761848)', '2026-07-20 12:59:31', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385646 -2.761858)'), GeomFromEWKT('SRID=4674;POINT (-40.385609 -2.761848)'))) / (select extract(epoch from '2026-07-20 12:59:31'::timestamp) - extract(epoch from '2026-07-20 12:59:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385646 -2.761858)'), GeomFromEWKT('SRID=4674;POINT (-40.385609 -2.761848)'))) / (select extract(epoch from '2026-07-20 12:59:31'::timestamp) - extract(epoch from '2026-07-20 12:59: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'), 47832, 'SRID=4674;POINT (-40.385607 -2.761896)', '2026-07-20 12:59:39', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385609 -2.761848)'), GeomFromEWKT('SRID=4674;POINT (-40.385607 -2.761896)'))) / (select extract(epoch from '2026-07-20 12:59:39'::timestamp) - extract(epoch from '2026-07-20 12:59:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385609 -2.761848)'), GeomFromEWKT('SRID=4674;POINT (-40.385607 -2.761896)'))) / (select extract(epoch from '2026-07-20 12:59:39'::timestamp) - extract(epoch from '2026-07-20 12:59:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.385603 -2.761928)', '2026-07-20 12:59:46', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385607 -2.761896)'), GeomFromEWKT('SRID=4674;POINT (-40.385603 -2.761928)'))) / (select extract(epoch from '2026-07-20 12:59:46'::timestamp) - extract(epoch from '2026-07-20 12:59:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385607 -2.761896)'), GeomFromEWKT('SRID=4674;POINT (-40.385603 -2.761928)'))) / (select extract(epoch from '2026-07-20 12:59:46'::timestamp) - extract(epoch from '2026-07-20 12:59: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'), 47832, 'SRID=4674;POINT (-40.385584 -2.761974)', '2026-07-20 12:59:53', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385603 -2.761928)'), GeomFromEWKT('SRID=4674;POINT (-40.385584 -2.761974)'))) / (select extract(epoch from '2026-07-20 12:59:53'::timestamp) - extract(epoch from '2026-07-20 12:59:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385603 -2.761928)'), GeomFromEWKT('SRID=4674;POINT (-40.385584 -2.761974)'))) / (select extract(epoch from '2026-07-20 12:59:53'::timestamp) - extract(epoch from '2026-07-20 12:59:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.385557 -2.762012)', '2026-07-20 13:00:00', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385584 -2.761974)'), GeomFromEWKT('SRID=4674;POINT (-40.385557 -2.762012)'))) / (select extract(epoch from '2026-07-20 13:00:00'::timestamp) - extract(epoch from '2026-07-20 12:59:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385584 -2.761974)'), GeomFromEWKT('SRID=4674;POINT (-40.385557 -2.762012)'))) / (select extract(epoch from '2026-07-20 13:00:00'::timestamp) - extract(epoch from '2026-07-20 12:59: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'), 47832, 'SRID=4674;POINT (-40.38552 -2.762052)', '2026-07-20 13:00:06', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385557 -2.762012)'), GeomFromEWKT('SRID=4674;POINT (-40.38552 -2.762052)'))) / (select extract(epoch from '2026-07-20 13:00:06'::timestamp) - extract(epoch from '2026-07-20 13:00:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385557 -2.762012)'), GeomFromEWKT('SRID=4674;POINT (-40.38552 -2.762052)'))) / (select extract(epoch from '2026-07-20 13:00:06'::timestamp) - extract(epoch from '2026-07-20 13:00:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.385482 -2.762079)', '2026-07-20 13:00:13', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38552 -2.762052)'), GeomFromEWKT('SRID=4674;POINT (-40.385482 -2.762079)'))) / (select extract(epoch from '2026-07-20 13:00:13'::timestamp) - extract(epoch from '2026-07-20 13:00:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38552 -2.762052)'), GeomFromEWKT('SRID=4674;POINT (-40.385482 -2.762079)'))) / (select extract(epoch from '2026-07-20 13:00:13'::timestamp) - extract(epoch from '2026-07-20 13:00: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'), 47832, 'SRID=4674;POINT (-40.385413 -2.762125)', '2026-07-20 13:00:25', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385482 -2.762079)'), GeomFromEWKT('SRID=4674;POINT (-40.385413 -2.762125)'))) / (select extract(epoch from '2026-07-20 13:00:25'::timestamp) - extract(epoch from '2026-07-20 13:00:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385482 -2.762079)'), GeomFromEWKT('SRID=4674;POINT (-40.385413 -2.762125)'))) / (select extract(epoch from '2026-07-20 13:00:25'::timestamp) - extract(epoch from '2026-07-20 13:00: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'), 47832, 'SRID=4674;POINT (-40.385397 -2.762112)', '2026-07-20 13:00:34', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385413 -2.762125)'), GeomFromEWKT('SRID=4674;POINT (-40.385397 -2.762112)'))) / (select extract(epoch from '2026-07-20 13:00:34'::timestamp) - extract(epoch from '2026-07-20 13:00:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385413 -2.762125)'), GeomFromEWKT('SRID=4674;POINT (-40.385397 -2.762112)'))) / (select extract(epoch from '2026-07-20 13:00:34'::timestamp) - extract(epoch from '2026-07-20 13:00: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'), 47832, 'SRID=4674;POINT (-40.385482 -2.762088)', '2026-07-20 13:01:04', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385397 -2.762112)'), GeomFromEWKT('SRID=4674;POINT (-40.385482 -2.762088)'))) / (select extract(epoch from '2026-07-20 13:01:04'::timestamp) - extract(epoch from '2026-07-20 13:00:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385397 -2.762112)'), GeomFromEWKT('SRID=4674;POINT (-40.385482 -2.762088)'))) / (select extract(epoch from '2026-07-20 13:01:04'::timestamp) - extract(epoch from '2026-07-20 13:00:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.385558 -2.762042)', '2026-07-20 13:01:18', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385482 -2.762088)'), GeomFromEWKT('SRID=4674;POINT (-40.385558 -2.762042)'))) / (select extract(epoch from '2026-07-20 13:01:18'::timestamp) - extract(epoch from '2026-07-20 13:01:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385482 -2.762088)'), GeomFromEWKT('SRID=4674;POINT (-40.385558 -2.762042)'))) / (select extract(epoch from '2026-07-20 13:01:18'::timestamp) - extract(epoch from '2026-07-20 13:01:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.385661 -2.761958)', '2026-07-20 13:01:31', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385558 -2.762042)'), GeomFromEWKT('SRID=4674;POINT (-40.385661 -2.761958)'))) / (select extract(epoch from '2026-07-20 13:01:31'::timestamp) - extract(epoch from '2026-07-20 13:01:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385558 -2.762042)'), GeomFromEWKT('SRID=4674;POINT (-40.385661 -2.761958)'))) / (select extract(epoch from '2026-07-20 13:01:31'::timestamp) - extract(epoch from '2026-07-20 13:01: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'), 47832, 'SRID=4674;POINT (-40.385664 -2.761907)', '2026-07-20 13:01:41', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385661 -2.761958)'), GeomFromEWKT('SRID=4674;POINT (-40.385664 -2.761907)'))) / (select extract(epoch from '2026-07-20 13:01:41'::timestamp) - extract(epoch from '2026-07-20 13:01:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385661 -2.761958)'), GeomFromEWKT('SRID=4674;POINT (-40.385664 -2.761907)'))) / (select extract(epoch from '2026-07-20 13:01:41'::timestamp) - extract(epoch from '2026-07-20 13:01:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.385647 -2.761914)', '2026-07-20 13:01:47', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385664 -2.761907)'), GeomFromEWKT('SRID=4674;POINT (-40.385647 -2.761914)'))) / (select extract(epoch from '2026-07-20 13:01:47'::timestamp) - extract(epoch from '2026-07-20 13:01:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385664 -2.761907)'), GeomFromEWKT('SRID=4674;POINT (-40.385647 -2.761914)'))) / (select extract(epoch from '2026-07-20 13:01:47'::timestamp) - extract(epoch from '2026-07-20 13:01:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.385607 -2.761944)', '2026-07-20 13:01:55', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385647 -2.761914)'), GeomFromEWKT('SRID=4674;POINT (-40.385607 -2.761944)'))) / (select extract(epoch from '2026-07-20 13:01:55'::timestamp) - extract(epoch from '2026-07-20 13:01:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385647 -2.761914)'), GeomFromEWKT('SRID=4674;POINT (-40.385607 -2.761944)'))) / (select extract(epoch from '2026-07-20 13:01:55'::timestamp) - extract(epoch from '2026-07-20 13:01:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.385563 -2.761986)', '2026-07-20 13:02:08', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385607 -2.761944)'), GeomFromEWKT('SRID=4674;POINT (-40.385563 -2.761986)'))) / (select extract(epoch from '2026-07-20 13:02:08'::timestamp) - extract(epoch from '2026-07-20 13:01:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385607 -2.761944)'), GeomFromEWKT('SRID=4674;POINT (-40.385563 -2.761986)'))) / (select extract(epoch from '2026-07-20 13:02:08'::timestamp) - extract(epoch from '2026-07-20 13:01:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.385525 -2.761989)', '2026-07-20 13:02:16', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385563 -2.761986)'), GeomFromEWKT('SRID=4674;POINT (-40.385525 -2.761989)'))) / (select extract(epoch from '2026-07-20 13:02:16'::timestamp) - extract(epoch from '2026-07-20 13:02:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385563 -2.761986)'), GeomFromEWKT('SRID=4674;POINT (-40.385525 -2.761989)'))) / (select extract(epoch from '2026-07-20 13:02:16'::timestamp) - extract(epoch from '2026-07-20 13:02:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.385529 -2.762002)', '2026-07-20 13:02:29', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385525 -2.761989)'), GeomFromEWKT('SRID=4674;POINT (-40.385529 -2.762002)'))) / (select extract(epoch from '2026-07-20 13:02:29'::timestamp) - extract(epoch from '2026-07-20 13:02:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385525 -2.761989)'), GeomFromEWKT('SRID=4674;POINT (-40.385529 -2.762002)'))) / (select extract(epoch from '2026-07-20 13:02:29'::timestamp) - extract(epoch from '2026-07-20 13:02: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'), 47832, 'SRID=4674;POINT (-40.385536 -2.762006)', '2026-07-20 13:02:37', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385529 -2.762002)'), GeomFromEWKT('SRID=4674;POINT (-40.385536 -2.762006)'))) / (select extract(epoch from '2026-07-20 13:02:37'::timestamp) - extract(epoch from '2026-07-20 13:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385529 -2.762002)'), GeomFromEWKT('SRID=4674;POINT (-40.385536 -2.762006)'))) / (select extract(epoch from '2026-07-20 13:02:37'::timestamp) - extract(epoch from '2026-07-20 13:02: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'), 47832, 'SRID=4674;POINT (-40.385529 -2.762018)', '2026-07-20 13:03:00', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385536 -2.762006)'), GeomFromEWKT('SRID=4674;POINT (-40.385529 -2.762018)'))) / (select extract(epoch from '2026-07-20 13:03:00'::timestamp) - extract(epoch from '2026-07-20 13:02:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385536 -2.762006)'), GeomFromEWKT('SRID=4674;POINT (-40.385529 -2.762018)'))) / (select extract(epoch from '2026-07-20 13:03:00'::timestamp) - extract(epoch from '2026-07-20 13:02:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.385513 -2.762073)', '2026-07-20 13:03:09', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385529 -2.762018)'), GeomFromEWKT('SRID=4674;POINT (-40.385513 -2.762073)'))) / (select extract(epoch from '2026-07-20 13:03:09'::timestamp) - extract(epoch from '2026-07-20 13:03:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385529 -2.762018)'), GeomFromEWKT('SRID=4674;POINT (-40.385513 -2.762073)'))) / (select extract(epoch from '2026-07-20 13:03:09'::timestamp) - extract(epoch from '2026-07-20 13:03:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.385525 -2.76205)', '2026-07-20 13:03:29', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385513 -2.762073)'), GeomFromEWKT('SRID=4674;POINT (-40.385525 -2.76205)'))) / (select extract(epoch from '2026-07-20 13:03:29'::timestamp) - extract(epoch from '2026-07-20 13:03:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385513 -2.762073)'), GeomFromEWKT('SRID=4674;POINT (-40.385525 -2.76205)'))) / (select extract(epoch from '2026-07-20 13:03:29'::timestamp) - extract(epoch from '2026-07-20 13:03:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.385464 -2.761985)', '2026-07-20 13:03:37', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385525 -2.76205)'), GeomFromEWKT('SRID=4674;POINT (-40.385464 -2.761985)'))) / (select extract(epoch from '2026-07-20 13:03:37'::timestamp) - extract(epoch from '2026-07-20 13:03:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385525 -2.76205)'), GeomFromEWKT('SRID=4674;POINT (-40.385464 -2.761985)'))) / (select extract(epoch from '2026-07-20 13:03:37'::timestamp) - extract(epoch from '2026-07-20 13:03:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.385409 -2.76198)', '2026-07-20 13:03:43', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385464 -2.761985)'), GeomFromEWKT('SRID=4674;POINT (-40.385409 -2.76198)'))) / (select extract(epoch from '2026-07-20 13:03:43'::timestamp) - extract(epoch from '2026-07-20 13:03:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385464 -2.761985)'), GeomFromEWKT('SRID=4674;POINT (-40.385409 -2.76198)'))) / (select extract(epoch from '2026-07-20 13:03:43'::timestamp) - extract(epoch from '2026-07-20 13:03:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.385402 -2.761996)', '2026-07-20 13:03:45', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385409 -2.76198)'), GeomFromEWKT('SRID=4674;POINT (-40.385402 -2.761996)'))) / (select extract(epoch from '2026-07-20 13:03:45'::timestamp) - extract(epoch from '2026-07-20 13:03:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385409 -2.76198)'), GeomFromEWKT('SRID=4674;POINT (-40.385402 -2.761996)'))) / (select extract(epoch from '2026-07-20 13:03:45'::timestamp) - extract(epoch from '2026-07-20 13:03:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.385356 -2.762069)', '2026-07-20 13:03:50', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385402 -2.761996)'), GeomFromEWKT('SRID=4674;POINT (-40.385356 -2.762069)'))) / (select extract(epoch from '2026-07-20 13:03:50'::timestamp) - extract(epoch from '2026-07-20 13:03:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385402 -2.761996)'), GeomFromEWKT('SRID=4674;POINT (-40.385356 -2.762069)'))) / (select extract(epoch from '2026-07-20 13:03:50'::timestamp) - extract(epoch from '2026-07-20 13:03: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'), 47832, 'SRID=4674;POINT (-40.385307 -2.762171)', '2026-07-20 13:03:58', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385356 -2.762069)'), GeomFromEWKT('SRID=4674;POINT (-40.385307 -2.762171)'))) / (select extract(epoch from '2026-07-20 13:03:58'::timestamp) - extract(epoch from '2026-07-20 13:03:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385356 -2.762069)'), GeomFromEWKT('SRID=4674;POINT (-40.385307 -2.762171)'))) / (select extract(epoch from '2026-07-20 13:03:58'::timestamp) - extract(epoch from '2026-07-20 13:03:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.385259 -2.762215)', '2026-07-20 13:04:03', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385307 -2.762171)'), GeomFromEWKT('SRID=4674;POINT (-40.385259 -2.762215)'))) / (select extract(epoch from '2026-07-20 13:04:03'::timestamp) - extract(epoch from '2026-07-20 13:03:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385307 -2.762171)'), GeomFromEWKT('SRID=4674;POINT (-40.385259 -2.762215)'))) / (select extract(epoch from '2026-07-20 13:04:03'::timestamp) - extract(epoch from '2026-07-20 13:03: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'), 47832, 'SRID=4674;POINT (-40.385206 -2.76225)', '2026-07-20 13:04:10', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385259 -2.762215)'), GeomFromEWKT('SRID=4674;POINT (-40.385206 -2.76225)'))) / (select extract(epoch from '2026-07-20 13:04:10'::timestamp) - extract(epoch from '2026-07-20 13:04:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385259 -2.762215)'), GeomFromEWKT('SRID=4674;POINT (-40.385206 -2.76225)'))) / (select extract(epoch from '2026-07-20 13:04:10'::timestamp) - extract(epoch from '2026-07-20 13:04:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.385147 -2.762239)', '2026-07-20 13:04:17', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385206 -2.76225)'), GeomFromEWKT('SRID=4674;POINT (-40.385147 -2.762239)'))) / (select extract(epoch from '2026-07-20 13:04:17'::timestamp) - extract(epoch from '2026-07-20 13:04:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385206 -2.76225)'), GeomFromEWKT('SRID=4674;POINT (-40.385147 -2.762239)'))) / (select extract(epoch from '2026-07-20 13:04:17'::timestamp) - extract(epoch from '2026-07-20 13:04: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'), 47832, 'SRID=4674;POINT (-40.385069 -2.762178)', '2026-07-20 13:04:25', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385147 -2.762239)'), GeomFromEWKT('SRID=4674;POINT (-40.385069 -2.762178)'))) / (select extract(epoch from '2026-07-20 13:04:25'::timestamp) - extract(epoch from '2026-07-20 13:04:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385147 -2.762239)'), GeomFromEWKT('SRID=4674;POINT (-40.385069 -2.762178)'))) / (select extract(epoch from '2026-07-20 13:04:25'::timestamp) - extract(epoch from '2026-07-20 13:04: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'), 47832, 'SRID=4674;POINT (-40.384967 -2.762145)', '2026-07-20 13:04:32', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385069 -2.762178)'), GeomFromEWKT('SRID=4674;POINT (-40.384967 -2.762145)'))) / (select extract(epoch from '2026-07-20 13:04:32'::timestamp) - extract(epoch from '2026-07-20 13:04:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385069 -2.762178)'), GeomFromEWKT('SRID=4674;POINT (-40.384967 -2.762145)'))) / (select extract(epoch from '2026-07-20 13:04:32'::timestamp) - extract(epoch from '2026-07-20 13:04: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'), 47832, 'SRID=4674;POINT (-40.384879 -2.762168)', '2026-07-20 13:04:38', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384967 -2.762145)'), GeomFromEWKT('SRID=4674;POINT (-40.384879 -2.762168)'))) / (select extract(epoch from '2026-07-20 13:04:38'::timestamp) - extract(epoch from '2026-07-20 13:04:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384967 -2.762145)'), GeomFromEWKT('SRID=4674;POINT (-40.384879 -2.762168)'))) / (select extract(epoch from '2026-07-20 13:04:38'::timestamp) - extract(epoch from '2026-07-20 13:04: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'), 47832, 'SRID=4674;POINT (-40.384777 -2.762188)', '2026-07-20 13:04:47', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384879 -2.762168)'), GeomFromEWKT('SRID=4674;POINT (-40.384777 -2.762188)'))) / (select extract(epoch from '2026-07-20 13:04:47'::timestamp) - extract(epoch from '2026-07-20 13:04:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384879 -2.762168)'), GeomFromEWKT('SRID=4674;POINT (-40.384777 -2.762188)'))) / (select extract(epoch from '2026-07-20 13:04:47'::timestamp) - extract(epoch from '2026-07-20 13:04: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'), 47832, 'SRID=4674;POINT (-40.384718 -2.762192)', '2026-07-20 13:04:54', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384777 -2.762188)'), GeomFromEWKT('SRID=4674;POINT (-40.384718 -2.762192)'))) / (select extract(epoch from '2026-07-20 13:04:54'::timestamp) - extract(epoch from '2026-07-20 13:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384777 -2.762188)'), GeomFromEWKT('SRID=4674;POINT (-40.384718 -2.762192)'))) / (select extract(epoch from '2026-07-20 13:04:54'::timestamp) - extract(epoch from '2026-07-20 13:04:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.384659 -2.762179)', '2026-07-20 13:05:01', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384718 -2.762192)'), GeomFromEWKT('SRID=4674;POINT (-40.384659 -2.762179)'))) / (select extract(epoch from '2026-07-20 13:05:01'::timestamp) - extract(epoch from '2026-07-20 13:04:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384718 -2.762192)'), GeomFromEWKT('SRID=4674;POINT (-40.384659 -2.762179)'))) / (select extract(epoch from '2026-07-20 13:05:01'::timestamp) - extract(epoch from '2026-07-20 13:04: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'), 47832, 'SRID=4674;POINT (-40.384539 -2.762148)', '2026-07-20 13:05:09', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384659 -2.762179)'), GeomFromEWKT('SRID=4674;POINT (-40.384539 -2.762148)'))) / (select extract(epoch from '2026-07-20 13:05:09'::timestamp) - extract(epoch from '2026-07-20 13:05:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384659 -2.762179)'), GeomFromEWKT('SRID=4674;POINT (-40.384539 -2.762148)'))) / (select extract(epoch from '2026-07-20 13:05:09'::timestamp) - extract(epoch from '2026-07-20 13:05: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'), 47832, 'SRID=4674;POINT (-40.384458 -2.762159)', '2026-07-20 13:05:15', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384539 -2.762148)'), GeomFromEWKT('SRID=4674;POINT (-40.384458 -2.762159)'))) / (select extract(epoch from '2026-07-20 13:05:15'::timestamp) - extract(epoch from '2026-07-20 13:05:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384539 -2.762148)'), GeomFromEWKT('SRID=4674;POINT (-40.384458 -2.762159)'))) / (select extract(epoch from '2026-07-20 13:05:15'::timestamp) - extract(epoch from '2026-07-20 13:05:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.384386 -2.762168)', '2026-07-20 13:05:21', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384458 -2.762159)'), GeomFromEWKT('SRID=4674;POINT (-40.384386 -2.762168)'))) / (select extract(epoch from '2026-07-20 13:05:21'::timestamp) - extract(epoch from '2026-07-20 13:05:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384458 -2.762159)'), GeomFromEWKT('SRID=4674;POINT (-40.384386 -2.762168)'))) / (select extract(epoch from '2026-07-20 13:05:21'::timestamp) - extract(epoch from '2026-07-20 13:05: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'), 47832, 'SRID=4674;POINT (-40.384369 -2.762168)', '2026-07-20 13:05:22', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384386 -2.762168)'), GeomFromEWKT('SRID=4674;POINT (-40.384369 -2.762168)'))) / (select extract(epoch from '2026-07-20 13:05:22'::timestamp) - extract(epoch from '2026-07-20 13:05:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384386 -2.762168)'), GeomFromEWKT('SRID=4674;POINT (-40.384369 -2.762168)'))) / (select extract(epoch from '2026-07-20 13:05:22'::timestamp) - extract(epoch from '2026-07-20 13:05:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.384319 -2.762193)', '2026-07-20 13:05:28', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384369 -2.762168)'), GeomFromEWKT('SRID=4674;POINT (-40.384319 -2.762193)'))) / (select extract(epoch from '2026-07-20 13:05:28'::timestamp) - extract(epoch from '2026-07-20 13:05:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384369 -2.762168)'), GeomFromEWKT('SRID=4674;POINT (-40.384319 -2.762193)'))) / (select extract(epoch from '2026-07-20 13:05:28'::timestamp) - extract(epoch from '2026-07-20 13:05: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'), 47832, 'SRID=4674;POINT (-40.384309 -2.762198)', '2026-07-20 13:05:29', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384319 -2.762193)'), GeomFromEWKT('SRID=4674;POINT (-40.384309 -2.762198)'))) / (select extract(epoch from '2026-07-20 13:05:29'::timestamp) - extract(epoch from '2026-07-20 13:05:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384319 -2.762193)'), GeomFromEWKT('SRID=4674;POINT (-40.384309 -2.762198)'))) / (select extract(epoch from '2026-07-20 13:05:29'::timestamp) - extract(epoch from '2026-07-20 13:05: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'), 47832, 'SRID=4674;POINT (-40.384223 -2.762226)', '2026-07-20 13:05:37', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384309 -2.762198)'), GeomFromEWKT('SRID=4674;POINT (-40.384223 -2.762226)'))) / (select extract(epoch from '2026-07-20 13:05:37'::timestamp) - extract(epoch from '2026-07-20 13:05:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384309 -2.762198)'), GeomFromEWKT('SRID=4674;POINT (-40.384223 -2.762226)'))) / (select extract(epoch from '2026-07-20 13:05:37'::timestamp) - extract(epoch from '2026-07-20 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'), 47832, 'SRID=4674;POINT (-40.384129 -2.762207)', '2026-07-20 13:05:45', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384223 -2.762226)'), GeomFromEWKT('SRID=4674;POINT (-40.384129 -2.762207)'))) / (select extract(epoch from '2026-07-20 13:05:45'::timestamp) - extract(epoch from '2026-07-20 13:05:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384223 -2.762226)'), GeomFromEWKT('SRID=4674;POINT (-40.384129 -2.762207)'))) / (select extract(epoch from '2026-07-20 13:05:45'::timestamp) - extract(epoch from '2026-07-20 13:05: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'), 47832, 'SRID=4674;POINT (-40.384083 -2.76221)', '2026-07-20 13:05:50', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384129 -2.762207)'), GeomFromEWKT('SRID=4674;POINT (-40.384083 -2.76221)'))) / (select extract(epoch from '2026-07-20 13:05:50'::timestamp) - extract(epoch from '2026-07-20 13:05:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384129 -2.762207)'), GeomFromEWKT('SRID=4674;POINT (-40.384083 -2.76221)'))) / (select extract(epoch from '2026-07-20 13:05:50'::timestamp) - extract(epoch from '2026-07-20 13:05:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.384074 -2.762216)', '2026-07-20 13:05:51', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384083 -2.76221)'), GeomFromEWKT('SRID=4674;POINT (-40.384074 -2.762216)'))) / (select extract(epoch from '2026-07-20 13:05:51'::timestamp) - extract(epoch from '2026-07-20 13:05:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384083 -2.76221)'), GeomFromEWKT('SRID=4674;POINT (-40.384074 -2.762216)'))) / (select extract(epoch from '2026-07-20 13:05:51'::timestamp) - extract(epoch from '2026-07-20 13:05: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'), 47832, 'SRID=4674;POINT (-40.383987 -2.762287)', '2026-07-20 13:06:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384074 -2.762216)'), GeomFromEWKT('SRID=4674;POINT (-40.383987 -2.762287)'))) / (select extract(epoch from '2026-07-20 13:06:00'::timestamp) - extract(epoch from '2026-07-20 13:05:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384074 -2.762216)'), GeomFromEWKT('SRID=4674;POINT (-40.383987 -2.762287)'))) / (select extract(epoch from '2026-07-20 13:06:00'::timestamp) - extract(epoch from '2026-07-20 13:05: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'), 47832, 'SRID=4674;POINT (-40.383942 -2.762299)', '2026-07-20 13:06:05', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383987 -2.762287)'), GeomFromEWKT('SRID=4674;POINT (-40.383942 -2.762299)'))) / (select extract(epoch from '2026-07-20 13:06:05'::timestamp) - extract(epoch from '2026-07-20 13:06:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383987 -2.762287)'), GeomFromEWKT('SRID=4674;POINT (-40.383942 -2.762299)'))) / (select extract(epoch from '2026-07-20 13:06:05'::timestamp) - extract(epoch from '2026-07-20 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'), 47832, 'SRID=4674;POINT (-40.383914 -2.762291)', '2026-07-20 13:06:08', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383942 -2.762299)'), GeomFromEWKT('SRID=4674;POINT (-40.383914 -2.762291)'))) / (select extract(epoch from '2026-07-20 13:06:08'::timestamp) - extract(epoch from '2026-07-20 13:06:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383942 -2.762299)'), GeomFromEWKT('SRID=4674;POINT (-40.383914 -2.762291)'))) / (select extract(epoch from '2026-07-20 13:06:08'::timestamp) - extract(epoch from '2026-07-20 13:06: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'), 47832, 'SRID=4674;POINT (-40.383824 -2.762305)', '2026-07-20 13:06:17', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383914 -2.762291)'), GeomFromEWKT('SRID=4674;POINT (-40.383824 -2.762305)'))) / (select extract(epoch from '2026-07-20 13:06:17'::timestamp) - extract(epoch from '2026-07-20 13:06:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383914 -2.762291)'), GeomFromEWKT('SRID=4674;POINT (-40.383824 -2.762305)'))) / (select extract(epoch from '2026-07-20 13:06:17'::timestamp) - extract(epoch from '2026-07-20 13:06:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383719 -2.762315)', '2026-07-20 13:06:26', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383824 -2.762305)'), GeomFromEWKT('SRID=4674;POINT (-40.383719 -2.762315)'))) / (select extract(epoch from '2026-07-20 13:06:26'::timestamp) - extract(epoch from '2026-07-20 13:06:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383824 -2.762305)'), GeomFromEWKT('SRID=4674;POINT (-40.383719 -2.762315)'))) / (select extract(epoch from '2026-07-20 13:06:26'::timestamp) - extract(epoch from '2026-07-20 13:06: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'), 47832, 'SRID=4674;POINT (-40.383612 -2.762294)', '2026-07-20 13:06:34', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383719 -2.762315)'), GeomFromEWKT('SRID=4674;POINT (-40.383612 -2.762294)'))) / (select extract(epoch from '2026-07-20 13:06:34'::timestamp) - extract(epoch from '2026-07-20 13:06:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383719 -2.762315)'), GeomFromEWKT('SRID=4674;POINT (-40.383612 -2.762294)'))) / (select extract(epoch from '2026-07-20 13:06:34'::timestamp) - extract(epoch from '2026-07-20 13:06:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383568 -2.762316)', '2026-07-20 13:06:41', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383612 -2.762294)'), GeomFromEWKT('SRID=4674;POINT (-40.383568 -2.762316)'))) / (select extract(epoch from '2026-07-20 13:06:41'::timestamp) - extract(epoch from '2026-07-20 13:06:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383612 -2.762294)'), GeomFromEWKT('SRID=4674;POINT (-40.383568 -2.762316)'))) / (select extract(epoch from '2026-07-20 13:06:41'::timestamp) - extract(epoch from '2026-07-20 13:06: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'), 47832, 'SRID=4674;POINT (-40.383527 -2.762325)', '2026-07-20 13:06:47', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383568 -2.762316)'), GeomFromEWKT('SRID=4674;POINT (-40.383527 -2.762325)'))) / (select extract(epoch from '2026-07-20 13:06:47'::timestamp) - extract(epoch from '2026-07-20 13:06:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383568 -2.762316)'), GeomFromEWKT('SRID=4674;POINT (-40.383527 -2.762325)'))) / (select extract(epoch from '2026-07-20 13:06:47'::timestamp) - extract(epoch from '2026-07-20 13:06: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'), 47832, 'SRID=4674;POINT (-40.383429 -2.762325)', '2026-07-20 13:06:56', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383527 -2.762325)'), GeomFromEWKT('SRID=4674;POINT (-40.383429 -2.762325)'))) / (select extract(epoch from '2026-07-20 13:06:56'::timestamp) - extract(epoch from '2026-07-20 13:06:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383527 -2.762325)'), GeomFromEWKT('SRID=4674;POINT (-40.383429 -2.762325)'))) / (select extract(epoch from '2026-07-20 13:06:56'::timestamp) - extract(epoch from '2026-07-20 13:06: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'), 47832, 'SRID=4674;POINT (-40.383371 -2.762312)', '2026-07-20 13:07:03', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383429 -2.762325)'), GeomFromEWKT('SRID=4674;POINT (-40.383371 -2.762312)'))) / (select extract(epoch from '2026-07-20 13:07:03'::timestamp) - extract(epoch from '2026-07-20 13:06:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383429 -2.762325)'), GeomFromEWKT('SRID=4674;POINT (-40.383371 -2.762312)'))) / (select extract(epoch from '2026-07-20 13:07:03'::timestamp) - extract(epoch from '2026-07-20 13:06: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'), 47832, 'SRID=4674;POINT (-40.383322 -2.762301)', '2026-07-20 13:07:09', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383371 -2.762312)'), GeomFromEWKT('SRID=4674;POINT (-40.383322 -2.762301)'))) / (select extract(epoch from '2026-07-20 13:07:09'::timestamp) - extract(epoch from '2026-07-20 13:07:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383371 -2.762312)'), GeomFromEWKT('SRID=4674;POINT (-40.383322 -2.762301)'))) / (select extract(epoch from '2026-07-20 13:07:09'::timestamp) - extract(epoch from '2026-07-20 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'), 47832, 'SRID=4674;POINT (-40.383316 -2.762352)', '2026-07-20 13:07:15', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383322 -2.762301)'), GeomFromEWKT('SRID=4674;POINT (-40.383316 -2.762352)'))) / (select extract(epoch from '2026-07-20 13:07:15'::timestamp) - extract(epoch from '2026-07-20 13:07:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383322 -2.762301)'), GeomFromEWKT('SRID=4674;POINT (-40.383316 -2.762352)'))) / (select extract(epoch from '2026-07-20 13:07:15'::timestamp) - extract(epoch from '2026-07-20 13:07:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383306 -2.762398)', '2026-07-20 13:07:23', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383316 -2.762352)'), GeomFromEWKT('SRID=4674;POINT (-40.383306 -2.762398)'))) / (select extract(epoch from '2026-07-20 13:07:23'::timestamp) - extract(epoch from '2026-07-20 13:07:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383316 -2.762352)'), GeomFromEWKT('SRID=4674;POINT (-40.383306 -2.762398)'))) / (select extract(epoch from '2026-07-20 13:07:23'::timestamp) - extract(epoch from '2026-07-20 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'), 47832, 'SRID=4674;POINT (-40.383314 -2.762356)', '2026-07-20 13:07:37', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383306 -2.762398)'), GeomFromEWKT('SRID=4674;POINT (-40.383314 -2.762356)'))) / (select extract(epoch from '2026-07-20 13:07:37'::timestamp) - extract(epoch from '2026-07-20 13:07:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383306 -2.762398)'), GeomFromEWKT('SRID=4674;POINT (-40.383314 -2.762356)'))) / (select extract(epoch from '2026-07-20 13:07:37'::timestamp) - extract(epoch from '2026-07-20 13:07:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383326 -2.76233)', '2026-07-20 13:07:40', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383314 -2.762356)'), GeomFromEWKT('SRID=4674;POINT (-40.383326 -2.76233)'))) / (select extract(epoch from '2026-07-20 13:07:40'::timestamp) - extract(epoch from '2026-07-20 13:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383314 -2.762356)'), GeomFromEWKT('SRID=4674;POINT (-40.383326 -2.76233)'))) / (select extract(epoch from '2026-07-20 13:07:40'::timestamp) - extract(epoch from '2026-07-20 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'), 47832, 'SRID=4674;POINT (-40.383331 -2.762313)', '2026-07-20 13:07:42', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383326 -2.76233)'), GeomFromEWKT('SRID=4674;POINT (-40.383331 -2.762313)'))) / (select extract(epoch from '2026-07-20 13:07:42'::timestamp) - extract(epoch from '2026-07-20 13:07:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383326 -2.76233)'), GeomFromEWKT('SRID=4674;POINT (-40.383331 -2.762313)'))) / (select extract(epoch from '2026-07-20 13:07:42'::timestamp) - extract(epoch from '2026-07-20 13:07: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'), 47832, 'SRID=4674;POINT (-40.383339 -2.762304)', '2026-07-20 13:07:43', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383331 -2.762313)'), GeomFromEWKT('SRID=4674;POINT (-40.383339 -2.762304)'))) / (select extract(epoch from '2026-07-20 13:07:43'::timestamp) - extract(epoch from '2026-07-20 13:07:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383331 -2.762313)'), GeomFromEWKT('SRID=4674;POINT (-40.383339 -2.762304)'))) / (select extract(epoch from '2026-07-20 13:07:43'::timestamp) - extract(epoch from '2026-07-20 13:07: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'), 47832, 'SRID=4674;POINT (-40.383404 -2.762259)', '2026-07-20 13:07:50', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383339 -2.762304)'), GeomFromEWKT('SRID=4674;POINT (-40.383404 -2.762259)'))) / (select extract(epoch from '2026-07-20 13:07:50'::timestamp) - extract(epoch from '2026-07-20 13:07:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383339 -2.762304)'), GeomFromEWKT('SRID=4674;POINT (-40.383404 -2.762259)'))) / (select extract(epoch from '2026-07-20 13:07:50'::timestamp) - extract(epoch from '2026-07-20 13:07:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383434 -2.762215)', '2026-07-20 13:07:57', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383404 -2.762259)'), GeomFromEWKT('SRID=4674;POINT (-40.383434 -2.762215)'))) / (select extract(epoch from '2026-07-20 13:07:57'::timestamp) - extract(epoch from '2026-07-20 13:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383404 -2.762259)'), GeomFromEWKT('SRID=4674;POINT (-40.383434 -2.762215)'))) / (select extract(epoch from '2026-07-20 13:07:57'::timestamp) - extract(epoch from '2026-07-20 13:07:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383509 -2.762165)', '2026-07-20 13:08:04', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383434 -2.762215)'), GeomFromEWKT('SRID=4674;POINT (-40.383509 -2.762165)'))) / (select extract(epoch from '2026-07-20 13:08:04'::timestamp) - extract(epoch from '2026-07-20 13:07:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383434 -2.762215)'), GeomFromEWKT('SRID=4674;POINT (-40.383509 -2.762165)'))) / (select extract(epoch from '2026-07-20 13:08:04'::timestamp) - extract(epoch from '2026-07-20 13:07: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'), 47832, 'SRID=4674;POINT (-40.383501 -2.762103)', '2026-07-20 13:08:11', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383509 -2.762165)'), GeomFromEWKT('SRID=4674;POINT (-40.383501 -2.762103)'))) / (select extract(epoch from '2026-07-20 13:08:11'::timestamp) - extract(epoch from '2026-07-20 13:08:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383509 -2.762165)'), GeomFromEWKT('SRID=4674;POINT (-40.383501 -2.762103)'))) / (select extract(epoch from '2026-07-20 13:08:11'::timestamp) - extract(epoch from '2026-07-20 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'), 47832, 'SRID=4674;POINT (-40.383457 -2.76208)', '2026-07-20 13:08:18', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383501 -2.762103)'), GeomFromEWKT('SRID=4674;POINT (-40.383457 -2.76208)'))) / (select extract(epoch from '2026-07-20 13:08:18'::timestamp) - extract(epoch from '2026-07-20 13:08:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383501 -2.762103)'), GeomFromEWKT('SRID=4674;POINT (-40.383457 -2.76208)'))) / (select extract(epoch from '2026-07-20 13:08:18'::timestamp) - extract(epoch from '2026-07-20 13:08: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'), 47832, 'SRID=4674;POINT (-40.383458 -2.762107)', '2026-07-20 13:08:24', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383457 -2.76208)'), GeomFromEWKT('SRID=4674;POINT (-40.383458 -2.762107)'))) / (select extract(epoch from '2026-07-20 13:08:24'::timestamp) - extract(epoch from '2026-07-20 13:08:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383457 -2.76208)'), GeomFromEWKT('SRID=4674;POINT (-40.383458 -2.762107)'))) / (select extract(epoch from '2026-07-20 13:08:24'::timestamp) - extract(epoch from '2026-07-20 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'), 47832, 'SRID=4674;POINT (-40.38346 -2.762112)', '2026-07-20 13:08:25', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383458 -2.762107)'), GeomFromEWKT('SRID=4674;POINT (-40.38346 -2.762112)'))) / (select extract(epoch from '2026-07-20 13:08:25'::timestamp) - extract(epoch from '2026-07-20 13:08:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383458 -2.762107)'), GeomFromEWKT('SRID=4674;POINT (-40.38346 -2.762112)'))) / (select extract(epoch from '2026-07-20 13:08:25'::timestamp) - extract(epoch from '2026-07-20 13:08: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'), 47832, 'SRID=4674;POINT (-40.383471 -2.762138)', '2026-07-20 13:08:32', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38346 -2.762112)'), GeomFromEWKT('SRID=4674;POINT (-40.383471 -2.762138)'))) / (select extract(epoch from '2026-07-20 13:08:32'::timestamp) - extract(epoch from '2026-07-20 13:08:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38346 -2.762112)'), GeomFromEWKT('SRID=4674;POINT (-40.383471 -2.762138)'))) / (select extract(epoch from '2026-07-20 13:08:32'::timestamp) - extract(epoch from '2026-07-20 13:08:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383452 -2.762152)', '2026-07-20 13:08:39', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383471 -2.762138)'), GeomFromEWKT('SRID=4674;POINT (-40.383452 -2.762152)'))) / (select extract(epoch from '2026-07-20 13:08:39'::timestamp) - extract(epoch from '2026-07-20 13:08:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383471 -2.762138)'), GeomFromEWKT('SRID=4674;POINT (-40.383452 -2.762152)'))) / (select extract(epoch from '2026-07-20 13:08:39'::timestamp) - extract(epoch from '2026-07-20 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'), 47832, 'SRID=4674;POINT (-40.383449 -2.762163)', '2026-07-20 13:08:40', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383452 -2.762152)'), GeomFromEWKT('SRID=4674;POINT (-40.383449 -2.762163)'))) / (select extract(epoch from '2026-07-20 13:08:40'::timestamp) - extract(epoch from '2026-07-20 13:08:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383452 -2.762152)'), GeomFromEWKT('SRID=4674;POINT (-40.383449 -2.762163)'))) / (select extract(epoch from '2026-07-20 13:08:40'::timestamp) - extract(epoch from '2026-07-20 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'), 47832, 'SRID=4674;POINT (-40.383444 -2.762191)', '2026-07-20 13:08:43', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383449 -2.762163)'), GeomFromEWKT('SRID=4674;POINT (-40.383444 -2.762191)'))) / (select extract(epoch from '2026-07-20 13:08:43'::timestamp) - extract(epoch from '2026-07-20 13:08:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383449 -2.762163)'), GeomFromEWKT('SRID=4674;POINT (-40.383444 -2.762191)'))) / (select extract(epoch from '2026-07-20 13:08:43'::timestamp) - extract(epoch from '2026-07-20 13:08: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'), 47832, 'SRID=4674;POINT (-40.383403 -2.762232)', '2026-07-20 13:08:50', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383444 -2.762191)'), GeomFromEWKT('SRID=4674;POINT (-40.383403 -2.762232)'))) / (select extract(epoch from '2026-07-20 13:08:50'::timestamp) - extract(epoch from '2026-07-20 13:08:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383444 -2.762191)'), GeomFromEWKT('SRID=4674;POINT (-40.383403 -2.762232)'))) / (select extract(epoch from '2026-07-20 13:08:50'::timestamp) - extract(epoch from '2026-07-20 13:08: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'), 47832, 'SRID=4674;POINT (-40.383338 -2.762315)', '2026-07-20 13:08:58', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383403 -2.762232)'), GeomFromEWKT('SRID=4674;POINT (-40.383338 -2.762315)'))) / (select extract(epoch from '2026-07-20 13:08:58'::timestamp) - extract(epoch from '2026-07-20 13:08:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383403 -2.762232)'), GeomFromEWKT('SRID=4674;POINT (-40.383338 -2.762315)'))) / (select extract(epoch from '2026-07-20 13:08:58'::timestamp) - extract(epoch from '2026-07-20 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'), 47832, 'SRID=4674;POINT (-40.383358 -2.762332)', '2026-07-20 13:09:09', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383338 -2.762315)'), GeomFromEWKT('SRID=4674;POINT (-40.383358 -2.762332)'))) / (select extract(epoch from '2026-07-20 13:09:09'::timestamp) - extract(epoch from '2026-07-20 13:08:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383338 -2.762315)'), GeomFromEWKT('SRID=4674;POINT (-40.383358 -2.762332)'))) / (select extract(epoch from '2026-07-20 13:09:09'::timestamp) - extract(epoch from '2026-07-20 13:08: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'), 47832, 'SRID=4674;POINT (-40.383411 -2.762339)', '2026-07-20 13:09:16', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383358 -2.762332)'), GeomFromEWKT('SRID=4674;POINT (-40.383411 -2.762339)'))) / (select extract(epoch from '2026-07-20 13:09:16'::timestamp) - extract(epoch from '2026-07-20 13:09:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383358 -2.762332)'), GeomFromEWKT('SRID=4674;POINT (-40.383411 -2.762339)'))) / (select extract(epoch from '2026-07-20 13:09:16'::timestamp) - extract(epoch from '2026-07-20 13:09:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383454 -2.762341)', '2026-07-20 13:09:24', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383411 -2.762339)'), GeomFromEWKT('SRID=4674;POINT (-40.383454 -2.762341)'))) / (select extract(epoch from '2026-07-20 13:09:24'::timestamp) - extract(epoch from '2026-07-20 13:09:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383411 -2.762339)'), GeomFromEWKT('SRID=4674;POINT (-40.383454 -2.762341)'))) / (select extract(epoch from '2026-07-20 13:09:24'::timestamp) - extract(epoch from '2026-07-20 13:09: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'), 47832, 'SRID=4674;POINT (-40.383471 -2.762348)', '2026-07-20 13:09:30', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383454 -2.762341)'), GeomFromEWKT('SRID=4674;POINT (-40.383471 -2.762348)'))) / (select extract(epoch from '2026-07-20 13:09:30'::timestamp) - extract(epoch from '2026-07-20 13:09:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383454 -2.762341)'), GeomFromEWKT('SRID=4674;POINT (-40.383471 -2.762348)'))) / (select extract(epoch from '2026-07-20 13:09:30'::timestamp) - extract(epoch from '2026-07-20 13:09: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'), 47832, 'SRID=4674;POINT (-40.383516 -2.762356)', '2026-07-20 13:09:37', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383471 -2.762348)'), GeomFromEWKT('SRID=4674;POINT (-40.383516 -2.762356)'))) / (select extract(epoch from '2026-07-20 13:09:37'::timestamp) - extract(epoch from '2026-07-20 13:09:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383471 -2.762348)'), GeomFromEWKT('SRID=4674;POINT (-40.383516 -2.762356)'))) / (select extract(epoch from '2026-07-20 13:09:37'::timestamp) - extract(epoch from '2026-07-20 13:09: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'), 47832, 'SRID=4674;POINT (-40.383544 -2.762323)', '2026-07-20 13:09:45', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383516 -2.762356)'), GeomFromEWKT('SRID=4674;POINT (-40.383544 -2.762323)'))) / (select extract(epoch from '2026-07-20 13:09:45'::timestamp) - extract(epoch from '2026-07-20 13:09:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383516 -2.762356)'), GeomFromEWKT('SRID=4674;POINT (-40.383544 -2.762323)'))) / (select extract(epoch from '2026-07-20 13:09:45'::timestamp) - extract(epoch from '2026-07-20 13:09: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'), 47832, 'SRID=4674;POINT (-40.383575 -2.762266)', '2026-07-20 13:09:54', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383544 -2.762323)'), GeomFromEWKT('SRID=4674;POINT (-40.383575 -2.762266)'))) / (select extract(epoch from '2026-07-20 13:09:54'::timestamp) - extract(epoch from '2026-07-20 13:09:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383544 -2.762323)'), GeomFromEWKT('SRID=4674;POINT (-40.383575 -2.762266)'))) / (select extract(epoch from '2026-07-20 13:09:54'::timestamp) - extract(epoch from '2026-07-20 13:09:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383561 -2.762203)', '2026-07-20 13:10:01', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383575 -2.762266)'), GeomFromEWKT('SRID=4674;POINT (-40.383561 -2.762203)'))) / (select extract(epoch from '2026-07-20 13:10:01'::timestamp) - extract(epoch from '2026-07-20 13:09:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383575 -2.762266)'), GeomFromEWKT('SRID=4674;POINT (-40.383561 -2.762203)'))) / (select extract(epoch from '2026-07-20 13:10:01'::timestamp) - extract(epoch from '2026-07-20 13:09: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'), 47832, 'SRID=4674;POINT (-40.383554 -2.76217)', '2026-07-20 13:10:09', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383561 -2.762203)'), GeomFromEWKT('SRID=4674;POINT (-40.383554 -2.76217)'))) / (select extract(epoch from '2026-07-20 13:10:09'::timestamp) - extract(epoch from '2026-07-20 13:10:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383561 -2.762203)'), GeomFromEWKT('SRID=4674;POINT (-40.383554 -2.76217)'))) / (select extract(epoch from '2026-07-20 13:10:09'::timestamp) - extract(epoch from '2026-07-20 13:10: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'), 47832, 'SRID=4674;POINT (-40.383548 -2.762162)', '2026-07-20 13:10:14', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383554 -2.76217)'), GeomFromEWKT('SRID=4674;POINT (-40.383548 -2.762162)'))) / (select extract(epoch from '2026-07-20 13:10:14'::timestamp) - extract(epoch from '2026-07-20 13:10:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383554 -2.76217)'), GeomFromEWKT('SRID=4674;POINT (-40.383548 -2.762162)'))) / (select extract(epoch from '2026-07-20 13:10:14'::timestamp) - extract(epoch from '2026-07-20 13:10:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383545 -2.762188)', '2026-07-20 13:10:23', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383548 -2.762162)'), GeomFromEWKT('SRID=4674;POINT (-40.383545 -2.762188)'))) / (select extract(epoch from '2026-07-20 13:10:23'::timestamp) - extract(epoch from '2026-07-20 13:10:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383548 -2.762162)'), GeomFromEWKT('SRID=4674;POINT (-40.383545 -2.762188)'))) / (select extract(epoch from '2026-07-20 13:10:23'::timestamp) - extract(epoch from '2026-07-20 13:10:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383525 -2.762207)', '2026-07-20 13:10:30', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383545 -2.762188)'), GeomFromEWKT('SRID=4674;POINT (-40.383525 -2.762207)'))) / (select extract(epoch from '2026-07-20 13:10:30'::timestamp) - extract(epoch from '2026-07-20 13:10:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383545 -2.762188)'), GeomFromEWKT('SRID=4674;POINT (-40.383525 -2.762207)'))) / (select extract(epoch from '2026-07-20 13:10:30'::timestamp) - extract(epoch from '2026-07-20 13:10: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'), 47832, 'SRID=4674;POINT (-40.383504 -2.762234)', '2026-07-20 13:10:40', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383525 -2.762207)'), GeomFromEWKT('SRID=4674;POINT (-40.383504 -2.762234)'))) / (select extract(epoch from '2026-07-20 13:10:40'::timestamp) - extract(epoch from '2026-07-20 13:10:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383525 -2.762207)'), GeomFromEWKT('SRID=4674;POINT (-40.383504 -2.762234)'))) / (select extract(epoch from '2026-07-20 13:10:40'::timestamp) - extract(epoch from '2026-07-20 13:10: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'), 47832, 'SRID=4674;POINT (-40.38351 -2.762244)', '2026-07-20 13:10:43', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383504 -2.762234)'), GeomFromEWKT('SRID=4674;POINT (-40.38351 -2.762244)'))) / (select extract(epoch from '2026-07-20 13:10:43'::timestamp) - extract(epoch from '2026-07-20 13:10:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383504 -2.762234)'), GeomFromEWKT('SRID=4674;POINT (-40.38351 -2.762244)'))) / (select extract(epoch from '2026-07-20 13:10:43'::timestamp) - extract(epoch from '2026-07-20 13:10: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'), 47832, 'SRID=4674;POINT (-40.383515 -2.762266)', '2026-07-20 13:10:49', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38351 -2.762244)'), GeomFromEWKT('SRID=4674;POINT (-40.383515 -2.762266)'))) / (select extract(epoch from '2026-07-20 13:10:49'::timestamp) - extract(epoch from '2026-07-20 13:10:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38351 -2.762244)'), GeomFromEWKT('SRID=4674;POINT (-40.383515 -2.762266)'))) / (select extract(epoch from '2026-07-20 13:10:49'::timestamp) - extract(epoch from '2026-07-20 13:10:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383516 -2.762289)', '2026-07-20 13:10:58', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383515 -2.762266)'), GeomFromEWKT('SRID=4674;POINT (-40.383516 -2.762289)'))) / (select extract(epoch from '2026-07-20 13:10:58'::timestamp) - extract(epoch from '2026-07-20 13:10:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383515 -2.762266)'), GeomFromEWKT('SRID=4674;POINT (-40.383516 -2.762289)'))) / (select extract(epoch from '2026-07-20 13:10:58'::timestamp) - extract(epoch from '2026-07-20 13:10: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'), 47832, 'SRID=4674;POINT (-40.383504 -2.762286)', '2026-07-20 13:11:08', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383516 -2.762289)'), GeomFromEWKT('SRID=4674;POINT (-40.383504 -2.762286)'))) / (select extract(epoch from '2026-07-20 13:11:08'::timestamp) - extract(epoch from '2026-07-20 13:10:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383516 -2.762289)'), GeomFromEWKT('SRID=4674;POINT (-40.383504 -2.762286)'))) / (select extract(epoch from '2026-07-20 13:11:08'::timestamp) - extract(epoch from '2026-07-20 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'), 47832, 'SRID=4674;POINT (-40.383478 -2.762295)', '2026-07-20 13:11:13', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383504 -2.762286)'), GeomFromEWKT('SRID=4674;POINT (-40.383478 -2.762295)'))) / (select extract(epoch from '2026-07-20 13:11:13'::timestamp) - extract(epoch from '2026-07-20 13:11:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383504 -2.762286)'), GeomFromEWKT('SRID=4674;POINT (-40.383478 -2.762295)'))) / (select extract(epoch from '2026-07-20 13:11:13'::timestamp) - extract(epoch from '2026-07-20 13:11:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383462 -2.762299)', '2026-07-20 13:11:21', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383478 -2.762295)'), GeomFromEWKT('SRID=4674;POINT (-40.383462 -2.762299)'))) / (select extract(epoch from '2026-07-20 13:11:21'::timestamp) - extract(epoch from '2026-07-20 13:11:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383478 -2.762295)'), GeomFromEWKT('SRID=4674;POINT (-40.383462 -2.762299)'))) / (select extract(epoch from '2026-07-20 13:11:21'::timestamp) - extract(epoch from '2026-07-20 13:11: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'), 47832, 'SRID=4674;POINT (-40.383428 -2.762308)', '2026-07-20 13:11:42', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383462 -2.762299)'), GeomFromEWKT('SRID=4674;POINT (-40.383428 -2.762308)'))) / (select extract(epoch from '2026-07-20 13:11:42'::timestamp) - extract(epoch from '2026-07-20 13:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383462 -2.762299)'), GeomFromEWKT('SRID=4674;POINT (-40.383428 -2.762308)'))) / (select extract(epoch from '2026-07-20 13:11:42'::timestamp) - extract(epoch from '2026-07-20 13:11:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383413 -2.762315)', '2026-07-20 13:11:51', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383428 -2.762308)'), GeomFromEWKT('SRID=4674;POINT (-40.383413 -2.762315)'))) / (select extract(epoch from '2026-07-20 13:11:51'::timestamp) - extract(epoch from '2026-07-20 13:11:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383428 -2.762308)'), GeomFromEWKT('SRID=4674;POINT (-40.383413 -2.762315)'))) / (select extract(epoch from '2026-07-20 13:11:51'::timestamp) - extract(epoch from '2026-07-20 13:11: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'), 47832, 'SRID=4674;POINT (-40.38339 -2.762325)', '2026-07-20 13:12:01', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383413 -2.762315)'), GeomFromEWKT('SRID=4674;POINT (-40.38339 -2.762325)'))) / (select extract(epoch from '2026-07-20 13:12:01'::timestamp) - extract(epoch from '2026-07-20 13:11:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383413 -2.762315)'), GeomFromEWKT('SRID=4674;POINT (-40.38339 -2.762325)'))) / (select extract(epoch from '2026-07-20 13:12:01'::timestamp) - extract(epoch from '2026-07-20 13:11: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'), 47832, 'SRID=4674;POINT (-40.38336 -2.762323)', '2026-07-20 13:12:15', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38339 -2.762325)'), GeomFromEWKT('SRID=4674;POINT (-40.38336 -2.762323)'))) / (select extract(epoch from '2026-07-20 13:12:15'::timestamp) - extract(epoch from '2026-07-20 13:12:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38339 -2.762325)'), GeomFromEWKT('SRID=4674;POINT (-40.38336 -2.762323)'))) / (select extract(epoch from '2026-07-20 13:12:15'::timestamp) - extract(epoch from '2026-07-20 13:12: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'), 47832, 'SRID=4674;POINT (-40.383309 -2.762326)', '2026-07-20 13:12:24', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38336 -2.762323)'), GeomFromEWKT('SRID=4674;POINT (-40.383309 -2.762326)'))) / (select extract(epoch from '2026-07-20 13:12:24'::timestamp) - extract(epoch from '2026-07-20 13:12:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38336 -2.762323)'), GeomFromEWKT('SRID=4674;POINT (-40.383309 -2.762326)'))) / (select extract(epoch from '2026-07-20 13:12:24'::timestamp) - extract(epoch from '2026-07-20 13:12: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'), 47832, 'SRID=4674;POINT (-40.383274 -2.762336)', '2026-07-20 13:12:31', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383309 -2.762326)'), GeomFromEWKT('SRID=4674;POINT (-40.383274 -2.762336)'))) / (select extract(epoch from '2026-07-20 13:12:31'::timestamp) - extract(epoch from '2026-07-20 13:12:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383309 -2.762326)'), GeomFromEWKT('SRID=4674;POINT (-40.383274 -2.762336)'))) / (select extract(epoch from '2026-07-20 13:12:31'::timestamp) - extract(epoch from '2026-07-20 13:12:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383271 -2.762378)', '2026-07-20 13:12:38', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383274 -2.762336)'), GeomFromEWKT('SRID=4674;POINT (-40.383271 -2.762378)'))) / (select extract(epoch from '2026-07-20 13:12:38'::timestamp) - extract(epoch from '2026-07-20 13:12:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383274 -2.762336)'), GeomFromEWKT('SRID=4674;POINT (-40.383271 -2.762378)'))) / (select extract(epoch from '2026-07-20 13:12:38'::timestamp) - extract(epoch from '2026-07-20 13:12: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'), 47832, 'SRID=4674;POINT (-40.383272 -2.762387)', '2026-07-20 13:12:39', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383271 -2.762378)'), GeomFromEWKT('SRID=4674;POINT (-40.383272 -2.762387)'))) / (select extract(epoch from '2026-07-20 13:12:39'::timestamp) - extract(epoch from '2026-07-20 13:12:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383271 -2.762378)'), GeomFromEWKT('SRID=4674;POINT (-40.383272 -2.762387)'))) / (select extract(epoch from '2026-07-20 13:12:39'::timestamp) - extract(epoch from '2026-07-20 13:12: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'), 47832, 'SRID=4674;POINT (-40.383302 -2.762432)', '2026-07-20 13:12:44', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383272 -2.762387)'), GeomFromEWKT('SRID=4674;POINT (-40.383302 -2.762432)'))) / (select extract(epoch from '2026-07-20 13:12:44'::timestamp) - extract(epoch from '2026-07-20 13:12:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383272 -2.762387)'), GeomFromEWKT('SRID=4674;POINT (-40.383302 -2.762432)'))) / (select extract(epoch from '2026-07-20 13:12:44'::timestamp) - extract(epoch from '2026-07-20 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'), 47832, 'SRID=4674;POINT (-40.383377 -2.762453)', '2026-07-20 13:12:51', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383302 -2.762432)'), GeomFromEWKT('SRID=4674;POINT (-40.383377 -2.762453)'))) / (select extract(epoch from '2026-07-20 13:12:51'::timestamp) - extract(epoch from '2026-07-20 13:12:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383302 -2.762432)'), GeomFromEWKT('SRID=4674;POINT (-40.383377 -2.762453)'))) / (select extract(epoch from '2026-07-20 13:12:51'::timestamp) - extract(epoch from '2026-07-20 13:12: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'), 47832, 'SRID=4674;POINT (-40.383443 -2.762397)', '2026-07-20 13:12:58', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383377 -2.762453)'), GeomFromEWKT('SRID=4674;POINT (-40.383443 -2.762397)'))) / (select extract(epoch from '2026-07-20 13:12:58'::timestamp) - extract(epoch from '2026-07-20 13:12:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383377 -2.762453)'), GeomFromEWKT('SRID=4674;POINT (-40.383443 -2.762397)'))) / (select extract(epoch from '2026-07-20 13:12:58'::timestamp) - extract(epoch from '2026-07-20 13:12: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'), 47832, 'SRID=4674;POINT (-40.383429 -2.76232)', '2026-07-20 13:13:05', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383443 -2.762397)'), GeomFromEWKT('SRID=4674;POINT (-40.383429 -2.76232)'))) / (select extract(epoch from '2026-07-20 13:13:05'::timestamp) - extract(epoch from '2026-07-20 13:12:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383443 -2.762397)'), GeomFromEWKT('SRID=4674;POINT (-40.383429 -2.76232)'))) / (select extract(epoch from '2026-07-20 13:13:05'::timestamp) - extract(epoch from '2026-07-20 13:12: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'), 47832, 'SRID=4674;POINT (-40.383424 -2.762306)', '2026-07-20 13:13:12', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383429 -2.76232)'), GeomFromEWKT('SRID=4674;POINT (-40.383424 -2.762306)'))) / (select extract(epoch from '2026-07-20 13:13:12'::timestamp) - extract(epoch from '2026-07-20 13:13:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383429 -2.76232)'), GeomFromEWKT('SRID=4674;POINT (-40.383424 -2.762306)'))) / (select extract(epoch from '2026-07-20 13:13:12'::timestamp) - extract(epoch from '2026-07-20 13:13: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'), 47832, 'SRID=4674;POINT (-40.383411 -2.762251)', '2026-07-20 13:13:49', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383424 -2.762306)'), GeomFromEWKT('SRID=4674;POINT (-40.383411 -2.762251)'))) / (select extract(epoch from '2026-07-20 13:13:49'::timestamp) - extract(epoch from '2026-07-20 13:13:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383424 -2.762306)'), GeomFromEWKT('SRID=4674;POINT (-40.383411 -2.762251)'))) / (select extract(epoch from '2026-07-20 13:13:49'::timestamp) - extract(epoch from '2026-07-20 13:13:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383417 -2.762228)', '2026-07-20 13:13:58', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383411 -2.762251)'), GeomFromEWKT('SRID=4674;POINT (-40.383417 -2.762228)'))) / (select extract(epoch from '2026-07-20 13:13:58'::timestamp) - extract(epoch from '2026-07-20 13:13:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383411 -2.762251)'), GeomFromEWKT('SRID=4674;POINT (-40.383417 -2.762228)'))) / (select extract(epoch from '2026-07-20 13:13:58'::timestamp) - extract(epoch from '2026-07-20 13:13: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'), 47832, 'SRID=4674;POINT (-40.383396 -2.762226)', '2026-07-20 13:14:05', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383417 -2.762228)'), GeomFromEWKT('SRID=4674;POINT (-40.383396 -2.762226)'))) / (select extract(epoch from '2026-07-20 13:14:05'::timestamp) - extract(epoch from '2026-07-20 13:13:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383417 -2.762228)'), GeomFromEWKT('SRID=4674;POINT (-40.383396 -2.762226)'))) / (select extract(epoch from '2026-07-20 13:14:05'::timestamp) - extract(epoch from '2026-07-20 13:13:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383386 -2.762235)', '2026-07-20 13:14:12', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383396 -2.762226)'), GeomFromEWKT('SRID=4674;POINT (-40.383386 -2.762235)'))) / (select extract(epoch from '2026-07-20 13:14:12'::timestamp) - extract(epoch from '2026-07-20 13:14:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383396 -2.762226)'), GeomFromEWKT('SRID=4674;POINT (-40.383386 -2.762235)'))) / (select extract(epoch from '2026-07-20 13:14:12'::timestamp) - extract(epoch from '2026-07-20 13:14: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'), 47832, 'SRID=4674;POINT (-40.383379 -2.762264)', '2026-07-20 13:14:20', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383386 -2.762235)'), GeomFromEWKT('SRID=4674;POINT (-40.383379 -2.762264)'))) / (select extract(epoch from '2026-07-20 13:14:20'::timestamp) - extract(epoch from '2026-07-20 13:14:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383386 -2.762235)'), GeomFromEWKT('SRID=4674;POINT (-40.383379 -2.762264)'))) / (select extract(epoch from '2026-07-20 13:14:20'::timestamp) - extract(epoch from '2026-07-20 13:14: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'), 47832, 'SRID=4674;POINT (-40.383387 -2.76227)', '2026-07-20 13:14:28', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383379 -2.762264)'), GeomFromEWKT('SRID=4674;POINT (-40.383387 -2.76227)'))) / (select extract(epoch from '2026-07-20 13:14:28'::timestamp) - extract(epoch from '2026-07-20 13:14:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383379 -2.762264)'), GeomFromEWKT('SRID=4674;POINT (-40.383387 -2.76227)'))) / (select extract(epoch from '2026-07-20 13:14:28'::timestamp) - extract(epoch from '2026-07-20 13:14:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383384 -2.762243)', '2026-07-20 13:14:41', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383387 -2.76227)'), GeomFromEWKT('SRID=4674;POINT (-40.383384 -2.762243)'))) / (select extract(epoch from '2026-07-20 13:14:41'::timestamp) - extract(epoch from '2026-07-20 13:14:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383387 -2.76227)'), GeomFromEWKT('SRID=4674;POINT (-40.383384 -2.762243)'))) / (select extract(epoch from '2026-07-20 13:14:41'::timestamp) - extract(epoch from '2026-07-20 13:14:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383394 -2.762223)', '2026-07-20 13:14:48', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383384 -2.762243)'), GeomFromEWKT('SRID=4674;POINT (-40.383394 -2.762223)'))) / (select extract(epoch from '2026-07-20 13:14:48'::timestamp) - extract(epoch from '2026-07-20 13:14:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383384 -2.762243)'), GeomFromEWKT('SRID=4674;POINT (-40.383394 -2.762223)'))) / (select extract(epoch from '2026-07-20 13:14:48'::timestamp) - extract(epoch from '2026-07-20 13:14: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'), 47832, 'SRID=4674;POINT (-40.383388 -2.762212)', '2026-07-20 13:14:49', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383394 -2.762223)'), GeomFromEWKT('SRID=4674;POINT (-40.383388 -2.762212)'))) / (select extract(epoch from '2026-07-20 13:14:49'::timestamp) - extract(epoch from '2026-07-20 13:14:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383394 -2.762223)'), GeomFromEWKT('SRID=4674;POINT (-40.383388 -2.762212)'))) / (select extract(epoch from '2026-07-20 13:14:49'::timestamp) - extract(epoch from '2026-07-20 13:14:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383382 -2.762209)', '2026-07-20 13:14:55', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383388 -2.762212)'), GeomFromEWKT('SRID=4674;POINT (-40.383382 -2.762209)'))) / (select extract(epoch from '2026-07-20 13:14:55'::timestamp) - extract(epoch from '2026-07-20 13:14:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383388 -2.762212)'), GeomFromEWKT('SRID=4674;POINT (-40.383382 -2.762209)'))) / (select extract(epoch from '2026-07-20 13:14:55'::timestamp) - extract(epoch from '2026-07-20 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'), 47832, 'SRID=4674;POINT (-40.383383 -2.76226)', '2026-07-20 13:15:05', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383382 -2.762209)'), GeomFromEWKT('SRID=4674;POINT (-40.383383 -2.76226)'))) / (select extract(epoch from '2026-07-20 13:15:05'::timestamp) - extract(epoch from '2026-07-20 13:14:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383382 -2.762209)'), GeomFromEWKT('SRID=4674;POINT (-40.383383 -2.76226)'))) / (select extract(epoch from '2026-07-20 13:15:05'::timestamp) - extract(epoch from '2026-07-20 13:14:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383358 -2.76229)', '2026-07-20 13:15:12', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383383 -2.76226)'), GeomFromEWKT('SRID=4674;POINT (-40.383358 -2.76229)'))) / (select extract(epoch from '2026-07-20 13:15:12'::timestamp) - extract(epoch from '2026-07-20 13:15:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383383 -2.76226)'), GeomFromEWKT('SRID=4674;POINT (-40.383358 -2.76229)'))) / (select extract(epoch from '2026-07-20 13:15:12'::timestamp) - extract(epoch from '2026-07-20 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'), 47832, 'SRID=4674;POINT (-40.383361 -2.762295)', '2026-07-20 13:15:24', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383358 -2.76229)'), GeomFromEWKT('SRID=4674;POINT (-40.383361 -2.762295)'))) / (select extract(epoch from '2026-07-20 13:15:24'::timestamp) - extract(epoch from '2026-07-20 13:15:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383358 -2.76229)'), GeomFromEWKT('SRID=4674;POINT (-40.383361 -2.762295)'))) / (select extract(epoch from '2026-07-20 13:15:24'::timestamp) - extract(epoch from '2026-07-20 13:15:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383375 -2.762331)', '2026-07-20 13:15:45', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383361 -2.762295)'), GeomFromEWKT('SRID=4674;POINT (-40.383375 -2.762331)'))) / (select extract(epoch from '2026-07-20 13:15:45'::timestamp) - extract(epoch from '2026-07-20 13:15:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383361 -2.762295)'), GeomFromEWKT('SRID=4674;POINT (-40.383375 -2.762331)'))) / (select extract(epoch from '2026-07-20 13:15:45'::timestamp) - extract(epoch from '2026-07-20 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'), 47832, 'SRID=4674;POINT (-40.383433 -2.762341)', '2026-07-20 13:16:06', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383375 -2.762331)'), GeomFromEWKT('SRID=4674;POINT (-40.383433 -2.762341)'))) / (select extract(epoch from '2026-07-20 13:16:06'::timestamp) - extract(epoch from '2026-07-20 13:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383375 -2.762331)'), GeomFromEWKT('SRID=4674;POINT (-40.383433 -2.762341)'))) / (select extract(epoch from '2026-07-20 13:16:06'::timestamp) - extract(epoch from '2026-07-20 13:15:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383482 -2.762329)', '2026-07-20 13:16:14', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383433 -2.762341)'), GeomFromEWKT('SRID=4674;POINT (-40.383482 -2.762329)'))) / (select extract(epoch from '2026-07-20 13:16:14'::timestamp) - extract(epoch from '2026-07-20 13:16:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383433 -2.762341)'), GeomFromEWKT('SRID=4674;POINT (-40.383482 -2.762329)'))) / (select extract(epoch from '2026-07-20 13:16:14'::timestamp) - extract(epoch from '2026-07-20 13:16: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'), 47832, 'SRID=4674;POINT (-40.383535 -2.762316)', '2026-07-20 13:16:21', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383482 -2.762329)'), GeomFromEWKT('SRID=4674;POINT (-40.383535 -2.762316)'))) / (select extract(epoch from '2026-07-20 13:16:21'::timestamp) - extract(epoch from '2026-07-20 13:16:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383482 -2.762329)'), GeomFromEWKT('SRID=4674;POINT (-40.383535 -2.762316)'))) / (select extract(epoch from '2026-07-20 13:16:21'::timestamp) - extract(epoch from '2026-07-20 13:16: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'), 47832, 'SRID=4674;POINT (-40.383573 -2.762308)', '2026-07-20 13:16:29', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383535 -2.762316)'), GeomFromEWKT('SRID=4674;POINT (-40.383573 -2.762308)'))) / (select extract(epoch from '2026-07-20 13:16:29'::timestamp) - extract(epoch from '2026-07-20 13:16:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383535 -2.762316)'), GeomFromEWKT('SRID=4674;POINT (-40.383573 -2.762308)'))) / (select extract(epoch from '2026-07-20 13:16:29'::timestamp) - extract(epoch from '2026-07-20 13:16: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'), 47832, 'SRID=4674;POINT (-40.383624 -2.762295)', '2026-07-20 13:16:36', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383573 -2.762308)'), GeomFromEWKT('SRID=4674;POINT (-40.383624 -2.762295)'))) / (select extract(epoch from '2026-07-20 13:16:36'::timestamp) - extract(epoch from '2026-07-20 13:16:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383573 -2.762308)'), GeomFromEWKT('SRID=4674;POINT (-40.383624 -2.762295)'))) / (select extract(epoch from '2026-07-20 13:16:36'::timestamp) - extract(epoch from '2026-07-20 13:16:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383659 -2.76229)', '2026-07-20 13:16:41', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383624 -2.762295)'), GeomFromEWKT('SRID=4674;POINT (-40.383659 -2.76229)'))) / (select extract(epoch from '2026-07-20 13:16:41'::timestamp) - extract(epoch from '2026-07-20 13:16:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383624 -2.762295)'), GeomFromEWKT('SRID=4674;POINT (-40.383659 -2.76229)'))) / (select extract(epoch from '2026-07-20 13:16:41'::timestamp) - extract(epoch from '2026-07-20 13:16: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'), 47832, 'SRID=4674;POINT (-40.383695 -2.762279)', '2026-07-20 13:16:48', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383659 -2.76229)'), GeomFromEWKT('SRID=4674;POINT (-40.383695 -2.762279)'))) / (select extract(epoch from '2026-07-20 13:16:48'::timestamp) - extract(epoch from '2026-07-20 13:16:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383659 -2.76229)'), GeomFromEWKT('SRID=4674;POINT (-40.383695 -2.762279)'))) / (select extract(epoch from '2026-07-20 13:16:48'::timestamp) - extract(epoch from '2026-07-20 13:16: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'), 47832, 'SRID=4674;POINT (-40.383735 -2.762263)', '2026-07-20 13:16:56', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383695 -2.762279)'), GeomFromEWKT('SRID=4674;POINT (-40.383735 -2.762263)'))) / (select extract(epoch from '2026-07-20 13:16:56'::timestamp) - extract(epoch from '2026-07-20 13:16:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383695 -2.762279)'), GeomFromEWKT('SRID=4674;POINT (-40.383735 -2.762263)'))) / (select extract(epoch from '2026-07-20 13:16:56'::timestamp) - extract(epoch from '2026-07-20 13:16: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'), 47832, 'SRID=4674;POINT (-40.383807 -2.762255)', '2026-07-20 13:17:07', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383735 -2.762263)'), GeomFromEWKT('SRID=4674;POINT (-40.383807 -2.762255)'))) / (select extract(epoch from '2026-07-20 13:17:07'::timestamp) - extract(epoch from '2026-07-20 13:16:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383735 -2.762263)'), GeomFromEWKT('SRID=4674;POINT (-40.383807 -2.762255)'))) / (select extract(epoch from '2026-07-20 13:17:07'::timestamp) - extract(epoch from '2026-07-20 13:16:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383891 -2.762241)', '2026-07-20 13:17:20', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383807 -2.762255)'), GeomFromEWKT('SRID=4674;POINT (-40.383891 -2.762241)'))) / (select extract(epoch from '2026-07-20 13:17:20'::timestamp) - extract(epoch from '2026-07-20 13:17:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383807 -2.762255)'), GeomFromEWKT('SRID=4674;POINT (-40.383891 -2.762241)'))) / (select extract(epoch from '2026-07-20 13:17:20'::timestamp) - extract(epoch from '2026-07-20 13:17:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383998 -2.762175)', '2026-07-20 13:17:34', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383891 -2.762241)'), GeomFromEWKT('SRID=4674;POINT (-40.383998 -2.762175)'))) / (select extract(epoch from '2026-07-20 13:17:34'::timestamp) - extract(epoch from '2026-07-20 13:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383891 -2.762241)'), GeomFromEWKT('SRID=4674;POINT (-40.383998 -2.762175)'))) / (select extract(epoch from '2026-07-20 13:17:34'::timestamp) - extract(epoch from '2026-07-20 13:17:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.384016 -2.761987)', '2026-07-20 13:17:48', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383998 -2.762175)'), GeomFromEWKT('SRID=4674;POINT (-40.384016 -2.761987)'))) / (select extract(epoch from '2026-07-20 13:17:48'::timestamp) - extract(epoch from '2026-07-20 13:17:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383998 -2.762175)'), GeomFromEWKT('SRID=4674;POINT (-40.384016 -2.761987)'))) / (select extract(epoch from '2026-07-20 13:17:48'::timestamp) - extract(epoch from '2026-07-20 13:17: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'), 47832, 'SRID=4674;POINT (-40.383975 -2.761879)', '2026-07-20 13:17:57', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384016 -2.761987)'), GeomFromEWKT('SRID=4674;POINT (-40.383975 -2.761879)'))) / (select extract(epoch from '2026-07-20 13:17:57'::timestamp) - extract(epoch from '2026-07-20 13:17:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384016 -2.761987)'), GeomFromEWKT('SRID=4674;POINT (-40.383975 -2.761879)'))) / (select extract(epoch from '2026-07-20 13:17:57'::timestamp) - extract(epoch from '2026-07-20 13:17: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'), 47832, 'SRID=4674;POINT (-40.383967 -2.761858)', '2026-07-20 13:17:59', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383975 -2.761879)'), GeomFromEWKT('SRID=4674;POINT (-40.383967 -2.761858)'))) / (select extract(epoch from '2026-07-20 13:17:59'::timestamp) - extract(epoch from '2026-07-20 13:17:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383975 -2.761879)'), GeomFromEWKT('SRID=4674;POINT (-40.383967 -2.761858)'))) / (select extract(epoch from '2026-07-20 13:17:59'::timestamp) - extract(epoch from '2026-07-20 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'), 47832, 'SRID=4674;POINT (-40.383945 -2.761822)', '2026-07-20 13:18:03', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383967 -2.761858)'), GeomFromEWKT('SRID=4674;POINT (-40.383945 -2.761822)'))) / (select extract(epoch from '2026-07-20 13:18:03'::timestamp) - extract(epoch from '2026-07-20 13:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383967 -2.761858)'), GeomFromEWKT('SRID=4674;POINT (-40.383945 -2.761822)'))) / (select extract(epoch from '2026-07-20 13:18:03'::timestamp) - extract(epoch from '2026-07-20 13:17:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383863 -2.761758)', '2026-07-20 13:18:09', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383945 -2.761822)'), GeomFromEWKT('SRID=4674;POINT (-40.383863 -2.761758)'))) / (select extract(epoch from '2026-07-20 13:18:09'::timestamp) - extract(epoch from '2026-07-20 13:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383945 -2.761822)'), GeomFromEWKT('SRID=4674;POINT (-40.383863 -2.761758)'))) / (select extract(epoch from '2026-07-20 13:18:09'::timestamp) - extract(epoch from '2026-07-20 13:18:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383772 -2.761685)', '2026-07-20 13:18:16', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383863 -2.761758)'), GeomFromEWKT('SRID=4674;POINT (-40.383772 -2.761685)'))) / (select extract(epoch from '2026-07-20 13:18:16'::timestamp) - extract(epoch from '2026-07-20 13:18:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383863 -2.761758)'), GeomFromEWKT('SRID=4674;POINT (-40.383772 -2.761685)'))) / (select extract(epoch from '2026-07-20 13:18:16'::timestamp) - extract(epoch from '2026-07-20 13:18:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383719 -2.761622)', '2026-07-20 13:18:23', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383772 -2.761685)'), GeomFromEWKT('SRID=4674;POINT (-40.383719 -2.761622)'))) / (select extract(epoch from '2026-07-20 13:18:23'::timestamp) - extract(epoch from '2026-07-20 13:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383772 -2.761685)'), GeomFromEWKT('SRID=4674;POINT (-40.383719 -2.761622)'))) / (select extract(epoch from '2026-07-20 13:18:23'::timestamp) - extract(epoch from '2026-07-20 13:18:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383618 -2.761515)', '2026-07-20 13:18:31', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383719 -2.761622)'), GeomFromEWKT('SRID=4674;POINT (-40.383618 -2.761515)'))) / (select extract(epoch from '2026-07-20 13:18:31'::timestamp) - extract(epoch from '2026-07-20 13:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383719 -2.761622)'), GeomFromEWKT('SRID=4674;POINT (-40.383618 -2.761515)'))) / (select extract(epoch from '2026-07-20 13:18:31'::timestamp) - extract(epoch from '2026-07-20 13:18:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383571 -2.761499)', '2026-07-20 13:18:37', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383618 -2.761515)'), GeomFromEWKT('SRID=4674;POINT (-40.383571 -2.761499)'))) / (select extract(epoch from '2026-07-20 13:18:37'::timestamp) - extract(epoch from '2026-07-20 13:18:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383618 -2.761515)'), GeomFromEWKT('SRID=4674;POINT (-40.383571 -2.761499)'))) / (select extract(epoch from '2026-07-20 13:18:37'::timestamp) - extract(epoch from '2026-07-20 13:18:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383547 -2.7615)', '2026-07-20 13:18:40', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383571 -2.761499)'), GeomFromEWKT('SRID=4674;POINT (-40.383547 -2.7615)'))) / (select extract(epoch from '2026-07-20 13:18:40'::timestamp) - extract(epoch from '2026-07-20 13:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383571 -2.761499)'), GeomFromEWKT('SRID=4674;POINT (-40.383547 -2.7615)'))) / (select extract(epoch from '2026-07-20 13:18:40'::timestamp) - extract(epoch from '2026-07-20 13:18:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383535 -2.761502)', '2026-07-20 13:18:42', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383547 -2.7615)'), GeomFromEWKT('SRID=4674;POINT (-40.383535 -2.761502)'))) / (select extract(epoch from '2026-07-20 13:18:42'::timestamp) - extract(epoch from '2026-07-20 13:18:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383547 -2.7615)'), GeomFromEWKT('SRID=4674;POINT (-40.383535 -2.761502)'))) / (select extract(epoch from '2026-07-20 13:18:42'::timestamp) - extract(epoch from '2026-07-20 13:18: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'), 47832, 'SRID=4674;POINT (-40.383529 -2.761519)', '2026-07-20 13:18:48', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383535 -2.761502)'), GeomFromEWKT('SRID=4674;POINT (-40.383529 -2.761519)'))) / (select extract(epoch from '2026-07-20 13:18:48'::timestamp) - extract(epoch from '2026-07-20 13:18:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383535 -2.761502)'), GeomFromEWKT('SRID=4674;POINT (-40.383529 -2.761519)'))) / (select extract(epoch from '2026-07-20 13:18:48'::timestamp) - extract(epoch from '2026-07-20 13:18:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383536 -2.761529)', '2026-07-20 13:18:49', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383529 -2.761519)'), GeomFromEWKT('SRID=4674;POINT (-40.383536 -2.761529)'))) / (select extract(epoch from '2026-07-20 13:18:49'::timestamp) - extract(epoch from '2026-07-20 13:18:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383529 -2.761519)'), GeomFromEWKT('SRID=4674;POINT (-40.383536 -2.761529)'))) / (select extract(epoch from '2026-07-20 13:18:49'::timestamp) - extract(epoch from '2026-07-20 13:18:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383543 -2.761551)', '2026-07-20 13:18:52', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383536 -2.761529)'), GeomFromEWKT('SRID=4674;POINT (-40.383543 -2.761551)'))) / (select extract(epoch from '2026-07-20 13:18:52'::timestamp) - extract(epoch from '2026-07-20 13:18:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383536 -2.761529)'), GeomFromEWKT('SRID=4674;POINT (-40.383543 -2.761551)'))) / (select extract(epoch from '2026-07-20 13:18:52'::timestamp) - extract(epoch from '2026-07-20 13:18: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'), 47832, 'SRID=4674;POINT (-40.383569 -2.761602)', '2026-07-20 13:19:01', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383543 -2.761551)'), GeomFromEWKT('SRID=4674;POINT (-40.383569 -2.761602)'))) / (select extract(epoch from '2026-07-20 13:19:01'::timestamp) - extract(epoch from '2026-07-20 13:18:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383543 -2.761551)'), GeomFromEWKT('SRID=4674;POINT (-40.383569 -2.761602)'))) / (select extract(epoch from '2026-07-20 13:19:01'::timestamp) - extract(epoch from '2026-07-20 13:18:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.38359 -2.761644)', '2026-07-20 13:19:08', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383569 -2.761602)'), GeomFromEWKT('SRID=4674;POINT (-40.38359 -2.761644)'))) / (select extract(epoch from '2026-07-20 13:19:08'::timestamp) - extract(epoch from '2026-07-20 13:19:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383569 -2.761602)'), GeomFromEWKT('SRID=4674;POINT (-40.38359 -2.761644)'))) / (select extract(epoch from '2026-07-20 13:19:08'::timestamp) - extract(epoch from '2026-07-20 13:19:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383589 -2.761679)', '2026-07-20 13:19:14', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38359 -2.761644)'), GeomFromEWKT('SRID=4674;POINT (-40.383589 -2.761679)'))) / (select extract(epoch from '2026-07-20 13:19:14'::timestamp) - extract(epoch from '2026-07-20 13:19:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38359 -2.761644)'), GeomFromEWKT('SRID=4674;POINT (-40.383589 -2.761679)'))) / (select extract(epoch from '2026-07-20 13:19:14'::timestamp) - extract(epoch from '2026-07-20 13:19:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383595 -2.761714)', '2026-07-20 13:19:20', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383589 -2.761679)'), GeomFromEWKT('SRID=4674;POINT (-40.383595 -2.761714)'))) / (select extract(epoch from '2026-07-20 13:19:20'::timestamp) - extract(epoch from '2026-07-20 13:19:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383589 -2.761679)'), GeomFromEWKT('SRID=4674;POINT (-40.383595 -2.761714)'))) / (select extract(epoch from '2026-07-20 13:19:20'::timestamp) - extract(epoch from '2026-07-20 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'), 47832, 'SRID=4674;POINT (-40.383603 -2.761767)', '2026-07-20 13:19:28', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383595 -2.761714)'), GeomFromEWKT('SRID=4674;POINT (-40.383603 -2.761767)'))) / (select extract(epoch from '2026-07-20 13:19:28'::timestamp) - extract(epoch from '2026-07-20 13:19:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383595 -2.761714)'), GeomFromEWKT('SRID=4674;POINT (-40.383603 -2.761767)'))) / (select extract(epoch from '2026-07-20 13:19:28'::timestamp) - extract(epoch from '2026-07-20 13:19:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383608 -2.761791)', '2026-07-20 13:19:34', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383603 -2.761767)'), GeomFromEWKT('SRID=4674;POINT (-40.383608 -2.761791)'))) / (select extract(epoch from '2026-07-20 13:19:34'::timestamp) - extract(epoch from '2026-07-20 13:19:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383603 -2.761767)'), GeomFromEWKT('SRID=4674;POINT (-40.383608 -2.761791)'))) / (select extract(epoch from '2026-07-20 13:19:34'::timestamp) - extract(epoch from '2026-07-20 13:19:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383617 -2.76186)', '2026-07-20 13:19:42', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383608 -2.761791)'), GeomFromEWKT('SRID=4674;POINT (-40.383617 -2.76186)'))) / (select extract(epoch from '2026-07-20 13:19:42'::timestamp) - extract(epoch from '2026-07-20 13:19:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383608 -2.761791)'), GeomFromEWKT('SRID=4674;POINT (-40.383617 -2.76186)'))) / (select extract(epoch from '2026-07-20 13:19:42'::timestamp) - extract(epoch from '2026-07-20 13:19:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383607 -2.76188)', '2026-07-20 13:19:44', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383617 -2.76186)'), GeomFromEWKT('SRID=4674;POINT (-40.383607 -2.76188)'))) / (select extract(epoch from '2026-07-20 13:19:44'::timestamp) - extract(epoch from '2026-07-20 13:19:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383617 -2.76186)'), GeomFromEWKT('SRID=4674;POINT (-40.383607 -2.76188)'))) / (select extract(epoch from '2026-07-20 13:19:44'::timestamp) - extract(epoch from '2026-07-20 13:19: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'), 47832, 'SRID=4674;POINT (-40.38359 -2.761905)', '2026-07-20 13:19:47', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383607 -2.76188)'), GeomFromEWKT('SRID=4674;POINT (-40.38359 -2.761905)'))) / (select extract(epoch from '2026-07-20 13:19:47'::timestamp) - extract(epoch from '2026-07-20 13:19:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383607 -2.76188)'), GeomFromEWKT('SRID=4674;POINT (-40.38359 -2.761905)'))) / (select extract(epoch from '2026-07-20 13:19:47'::timestamp) - extract(epoch from '2026-07-20 13:19:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383595 -2.761912)', '2026-07-20 13:19:48', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38359 -2.761905)'), GeomFromEWKT('SRID=4674;POINT (-40.383595 -2.761912)'))) / (select extract(epoch from '2026-07-20 13:19:48'::timestamp) - extract(epoch from '2026-07-20 13:19:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38359 -2.761905)'), GeomFromEWKT('SRID=4674;POINT (-40.383595 -2.761912)'))) / (select extract(epoch from '2026-07-20 13:19:48'::timestamp) - extract(epoch from '2026-07-20 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'), 47832, 'SRID=4674;POINT (-40.383584 -2.761937)', '2026-07-20 13:19:51', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383595 -2.761912)'), GeomFromEWKT('SRID=4674;POINT (-40.383584 -2.761937)'))) / (select extract(epoch from '2026-07-20 13:19:51'::timestamp) - extract(epoch from '2026-07-20 13:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383595 -2.761912)'), GeomFromEWKT('SRID=4674;POINT (-40.383584 -2.761937)'))) / (select extract(epoch from '2026-07-20 13:19:51'::timestamp) - extract(epoch from '2026-07-20 13:19: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'), 47832, 'SRID=4674;POINT (-40.383569 -2.761949)', '2026-07-20 13:19:53', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383584 -2.761937)'), GeomFromEWKT('SRID=4674;POINT (-40.383569 -2.761949)'))) / (select extract(epoch from '2026-07-20 13:19:53'::timestamp) - extract(epoch from '2026-07-20 13:19:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383584 -2.761937)'), GeomFromEWKT('SRID=4674;POINT (-40.383569 -2.761949)'))) / (select extract(epoch from '2026-07-20 13:19:53'::timestamp) - extract(epoch from '2026-07-20 13:19: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'), 47832, 'SRID=4674;POINT (-40.383551 -2.762025)', '2026-07-20 13:19:59', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383569 -2.761949)'), GeomFromEWKT('SRID=4674;POINT (-40.383551 -2.762025)'))) / (select extract(epoch from '2026-07-20 13:19:59'::timestamp) - extract(epoch from '2026-07-20 13:19:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383569 -2.761949)'), GeomFromEWKT('SRID=4674;POINT (-40.383551 -2.762025)'))) / (select extract(epoch from '2026-07-20 13:19:59'::timestamp) - extract(epoch from '2026-07-20 13:19:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383543 -2.762147)', '2026-07-20 13:20:07', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383551 -2.762025)'), GeomFromEWKT('SRID=4674;POINT (-40.383543 -2.762147)'))) / (select extract(epoch from '2026-07-20 13:20:07'::timestamp) - extract(epoch from '2026-07-20 13:19:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383551 -2.762025)'), GeomFromEWKT('SRID=4674;POINT (-40.383543 -2.762147)'))) / (select extract(epoch from '2026-07-20 13:20:07'::timestamp) - extract(epoch from '2026-07-20 13:19:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383508 -2.762236)', '2026-07-20 13:20:13', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383543 -2.762147)'), GeomFromEWKT('SRID=4674;POINT (-40.383508 -2.762236)'))) / (select extract(epoch from '2026-07-20 13:20:13'::timestamp) - extract(epoch from '2026-07-20 13:20:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383543 -2.762147)'), GeomFromEWKT('SRID=4674;POINT (-40.383508 -2.762236)'))) / (select extract(epoch from '2026-07-20 13:20:13'::timestamp) - extract(epoch from '2026-07-20 13:20:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383496 -2.762316)', '2026-07-20 13:20:18', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383508 -2.762236)'), GeomFromEWKT('SRID=4674;POINT (-40.383496 -2.762316)'))) / (select extract(epoch from '2026-07-20 13:20:18'::timestamp) - extract(epoch from '2026-07-20 13:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383508 -2.762236)'), GeomFromEWKT('SRID=4674;POINT (-40.383496 -2.762316)'))) / (select extract(epoch from '2026-07-20 13:20:18'::timestamp) - extract(epoch from '2026-07-20 13:20:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383469 -2.76244)', '2026-07-20 13:20:25', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383496 -2.762316)'), GeomFromEWKT('SRID=4674;POINT (-40.383469 -2.76244)'))) / (select extract(epoch from '2026-07-20 13:20:25'::timestamp) - extract(epoch from '2026-07-20 13:20:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383496 -2.762316)'), GeomFromEWKT('SRID=4674;POINT (-40.383469 -2.76244)'))) / (select extract(epoch from '2026-07-20 13:20:25'::timestamp) - extract(epoch from '2026-07-20 13:20: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'), 47832, 'SRID=4674;POINT (-40.383466 -2.762596)', '2026-07-20 13:20:33', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383469 -2.76244)'), GeomFromEWKT('SRID=4674;POINT (-40.383466 -2.762596)'))) / (select extract(epoch from '2026-07-20 13:20:33'::timestamp) - extract(epoch from '2026-07-20 13:20:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383469 -2.76244)'), GeomFromEWKT('SRID=4674;POINT (-40.383466 -2.762596)'))) / (select extract(epoch from '2026-07-20 13:20:33'::timestamp) - extract(epoch from '2026-07-20 13:20:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383491 -2.762726)', '2026-07-20 13:20:39', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383466 -2.762596)'), GeomFromEWKT('SRID=4674;POINT (-40.383491 -2.762726)'))) / (select extract(epoch from '2026-07-20 13:20:39'::timestamp) - extract(epoch from '2026-07-20 13:20:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383466 -2.762596)'), GeomFromEWKT('SRID=4674;POINT (-40.383491 -2.762726)'))) / (select extract(epoch from '2026-07-20 13:20:39'::timestamp) - extract(epoch from '2026-07-20 13:20: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'), 47832, 'SRID=4674;POINT (-40.383522 -2.762827)', '2026-07-20 13:20:45', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383491 -2.762726)'), GeomFromEWKT('SRID=4674;POINT (-40.383522 -2.762827)'))) / (select extract(epoch from '2026-07-20 13:20:45'::timestamp) - extract(epoch from '2026-07-20 13:20:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383491 -2.762726)'), GeomFromEWKT('SRID=4674;POINT (-40.383522 -2.762827)'))) / (select extract(epoch from '2026-07-20 13:20:45'::timestamp) - extract(epoch from '2026-07-20 13:20:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383498 -2.762942)', '2026-07-20 13:20:51', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383522 -2.762827)'), GeomFromEWKT('SRID=4674;POINT (-40.383498 -2.762942)'))) / (select extract(epoch from '2026-07-20 13:20:51'::timestamp) - extract(epoch from '2026-07-20 13:20:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383522 -2.762827)'), GeomFromEWKT('SRID=4674;POINT (-40.383498 -2.762942)'))) / (select extract(epoch from '2026-07-20 13:20:51'::timestamp) - extract(epoch from '2026-07-20 13:20:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383484 -2.763046)', '2026-07-20 13:20:57', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383498 -2.762942)'), GeomFromEWKT('SRID=4674;POINT (-40.383484 -2.763046)'))) / (select extract(epoch from '2026-07-20 13:20:57'::timestamp) - extract(epoch from '2026-07-20 13:20:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383498 -2.762942)'), GeomFromEWKT('SRID=4674;POINT (-40.383484 -2.763046)'))) / (select extract(epoch from '2026-07-20 13:20:57'::timestamp) - extract(epoch from '2026-07-20 13:20: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'), 47832, 'SRID=4674;POINT (-40.383494 -2.763173)', '2026-07-20 13:21:04', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383484 -2.763046)'), GeomFromEWKT('SRID=4674;POINT (-40.383494 -2.763173)'))) / (select extract(epoch from '2026-07-20 13:21:04'::timestamp) - extract(epoch from '2026-07-20 13:20:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383484 -2.763046)'), GeomFromEWKT('SRID=4674;POINT (-40.383494 -2.763173)'))) / (select extract(epoch from '2026-07-20 13:21:04'::timestamp) - extract(epoch from '2026-07-20 13:20:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383497 -2.76322)', '2026-07-20 13:21:07', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383494 -2.763173)'), GeomFromEWKT('SRID=4674;POINT (-40.383497 -2.76322)'))) / (select extract(epoch from '2026-07-20 13:21:07'::timestamp) - extract(epoch from '2026-07-20 13:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383494 -2.763173)'), GeomFromEWKT('SRID=4674;POINT (-40.383497 -2.76322)'))) / (select extract(epoch from '2026-07-20 13:21:07'::timestamp) - extract(epoch from '2026-07-20 13:21:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383488 -2.763264)', '2026-07-20 13:21:10', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383497 -2.76322)'), GeomFromEWKT('SRID=4674;POINT (-40.383488 -2.763264)'))) / (select extract(epoch from '2026-07-20 13:21:10'::timestamp) - extract(epoch from '2026-07-20 13:21:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383497 -2.76322)'), GeomFromEWKT('SRID=4674;POINT (-40.383488 -2.763264)'))) / (select extract(epoch from '2026-07-20 13:21:10'::timestamp) - extract(epoch from '2026-07-20 13:21:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383506 -2.763375)', '2026-07-20 13:21:17', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383488 -2.763264)'), GeomFromEWKT('SRID=4674;POINT (-40.383506 -2.763375)'))) / (select extract(epoch from '2026-07-20 13:21:17'::timestamp) - extract(epoch from '2026-07-20 13:21:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383488 -2.763264)'), GeomFromEWKT('SRID=4674;POINT (-40.383506 -2.763375)'))) / (select extract(epoch from '2026-07-20 13:21:17'::timestamp) - extract(epoch from '2026-07-20 13:21:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.38348 -2.763467)', '2026-07-20 13:21:24', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383506 -2.763375)'), GeomFromEWKT('SRID=4674;POINT (-40.38348 -2.763467)'))) / (select extract(epoch from '2026-07-20 13:21:24'::timestamp) - extract(epoch from '2026-07-20 13:21:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383506 -2.763375)'), GeomFromEWKT('SRID=4674;POINT (-40.38348 -2.763467)'))) / (select extract(epoch from '2026-07-20 13:21:24'::timestamp) - extract(epoch from '2026-07-20 13:21: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'), 47832, 'SRID=4674;POINT (-40.383466 -2.763499)', '2026-07-20 13:21:26', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38348 -2.763467)'), GeomFromEWKT('SRID=4674;POINT (-40.383466 -2.763499)'))) / (select extract(epoch from '2026-07-20 13:21:26'::timestamp) - extract(epoch from '2026-07-20 13:21:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38348 -2.763467)'), GeomFromEWKT('SRID=4674;POINT (-40.383466 -2.763499)'))) / (select extract(epoch from '2026-07-20 13:21:26'::timestamp) - extract(epoch from '2026-07-20 13:21:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383458 -2.763526)', '2026-07-20 13:21:28', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383466 -2.763499)'), GeomFromEWKT('SRID=4674;POINT (-40.383458 -2.763526)'))) / (select extract(epoch from '2026-07-20 13:21:28'::timestamp) - extract(epoch from '2026-07-20 13:21:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383466 -2.763499)'), GeomFromEWKT('SRID=4674;POINT (-40.383458 -2.763526)'))) / (select extract(epoch from '2026-07-20 13:21:28'::timestamp) - extract(epoch from '2026-07-20 13:21:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.38346 -2.763543)', '2026-07-20 13:21:29', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383458 -2.763526)'), GeomFromEWKT('SRID=4674;POINT (-40.38346 -2.763543)'))) / (select extract(epoch from '2026-07-20 13:21:29'::timestamp) - extract(epoch from '2026-07-20 13:21:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383458 -2.763526)'), GeomFromEWKT('SRID=4674;POINT (-40.38346 -2.763543)'))) / (select extract(epoch from '2026-07-20 13:21:29'::timestamp) - extract(epoch from '2026-07-20 13:21: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'), 47832, 'SRID=4674;POINT (-40.383456 -2.763559)', '2026-07-20 13:21:30', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38346 -2.763543)'), GeomFromEWKT('SRID=4674;POINT (-40.383456 -2.763559)'))) / (select extract(epoch from '2026-07-20 13:21:30'::timestamp) - extract(epoch from '2026-07-20 13:21:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38346 -2.763543)'), GeomFromEWKT('SRID=4674;POINT (-40.383456 -2.763559)'))) / (select extract(epoch from '2026-07-20 13:21:30'::timestamp) - extract(epoch from '2026-07-20 13:21:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383452 -2.763619)', '2026-07-20 13:21:33', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383456 -2.763559)'), GeomFromEWKT('SRID=4674;POINT (-40.383452 -2.763619)'))) / (select extract(epoch from '2026-07-20 13:21:33'::timestamp) - extract(epoch from '2026-07-20 13:21:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383456 -2.763559)'), GeomFromEWKT('SRID=4674;POINT (-40.383452 -2.763619)'))) / (select extract(epoch from '2026-07-20 13:21:33'::timestamp) - extract(epoch from '2026-07-20 13:21:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383442 -2.763725)', '2026-07-20 13:21:38', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383452 -2.763619)'), GeomFromEWKT('SRID=4674;POINT (-40.383442 -2.763725)'))) / (select extract(epoch from '2026-07-20 13:21:38'::timestamp) - extract(epoch from '2026-07-20 13:21:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383452 -2.763619)'), GeomFromEWKT('SRID=4674;POINT (-40.383442 -2.763725)'))) / (select extract(epoch from '2026-07-20 13:21:38'::timestamp) - extract(epoch from '2026-07-20 13:21: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'), 47832, 'SRID=4674;POINT (-40.383453 -2.763868)', '2026-07-20 13:21:45', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383442 -2.763725)'), GeomFromEWKT('SRID=4674;POINT (-40.383453 -2.763868)'))) / (select extract(epoch from '2026-07-20 13:21:45'::timestamp) - extract(epoch from '2026-07-20 13:21:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383442 -2.763725)'), GeomFromEWKT('SRID=4674;POINT (-40.383453 -2.763868)'))) / (select extract(epoch from '2026-07-20 13:21:45'::timestamp) - extract(epoch from '2026-07-20 13:21:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383496 -2.76401)', '2026-07-20 13:21:52', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383453 -2.763868)'), GeomFromEWKT('SRID=4674;POINT (-40.383496 -2.76401)'))) / (select extract(epoch from '2026-07-20 13:21:52'::timestamp) - extract(epoch from '2026-07-20 13:21:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383453 -2.763868)'), GeomFromEWKT('SRID=4674;POINT (-40.383496 -2.76401)'))) / (select extract(epoch from '2026-07-20 13:21:52'::timestamp) - extract(epoch from '2026-07-20 13:21: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'), 47832, 'SRID=4674;POINT (-40.383497 -2.764141)', '2026-07-20 13:21:57', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383496 -2.76401)'), GeomFromEWKT('SRID=4674;POINT (-40.383497 -2.764141)'))) / (select extract(epoch from '2026-07-20 13:21:57'::timestamp) - extract(epoch from '2026-07-20 13:21:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383496 -2.76401)'), GeomFromEWKT('SRID=4674;POINT (-40.383497 -2.764141)'))) / (select extract(epoch from '2026-07-20 13:21:57'::timestamp) - extract(epoch from '2026-07-20 13:21:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383483 -2.764256)', '2026-07-20 13:22:02', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383497 -2.764141)'), GeomFromEWKT('SRID=4674;POINT (-40.383483 -2.764256)'))) / (select extract(epoch from '2026-07-20 13:22:02'::timestamp) - extract(epoch from '2026-07-20 13:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383497 -2.764141)'), GeomFromEWKT('SRID=4674;POINT (-40.383483 -2.764256)'))) / (select extract(epoch from '2026-07-20 13:22:02'::timestamp) - extract(epoch from '2026-07-20 13:21: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'), 47832, 'SRID=4674;POINT (-40.383465 -2.764375)', '2026-07-20 13:22:07', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383483 -2.764256)'), GeomFromEWKT('SRID=4674;POINT (-40.383465 -2.764375)'))) / (select extract(epoch from '2026-07-20 13:22:07'::timestamp) - extract(epoch from '2026-07-20 13:22:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383483 -2.764256)'), GeomFromEWKT('SRID=4674;POINT (-40.383465 -2.764375)'))) / (select extract(epoch from '2026-07-20 13:22:07'::timestamp) - extract(epoch from '2026-07-20 13:22: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'), 47832, 'SRID=4674;POINT (-40.383434 -2.764546)', '2026-07-20 13:22:14', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383465 -2.764375)'), GeomFromEWKT('SRID=4674;POINT (-40.383434 -2.764546)'))) / (select extract(epoch from '2026-07-20 13:22:14'::timestamp) - extract(epoch from '2026-07-20 13:22:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383465 -2.764375)'), GeomFromEWKT('SRID=4674;POINT (-40.383434 -2.764546)'))) / (select extract(epoch from '2026-07-20 13:22:14'::timestamp) - extract(epoch from '2026-07-20 13:22:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383427 -2.764701)', '2026-07-20 13:22:20', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383434 -2.764546)'), GeomFromEWKT('SRID=4674;POINT (-40.383427 -2.764701)'))) / (select extract(epoch from '2026-07-20 13:22:20'::timestamp) - extract(epoch from '2026-07-20 13:22:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383434 -2.764546)'), GeomFromEWKT('SRID=4674;POINT (-40.383427 -2.764701)'))) / (select extract(epoch from '2026-07-20 13:22:20'::timestamp) - extract(epoch from '2026-07-20 13:22:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383462 -2.764895)', '2026-07-20 13:22:27', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383427 -2.764701)'), GeomFromEWKT('SRID=4674;POINT (-40.383462 -2.764895)'))) / (select extract(epoch from '2026-07-20 13:22:27'::timestamp) - extract(epoch from '2026-07-20 13:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383427 -2.764701)'), GeomFromEWKT('SRID=4674;POINT (-40.383462 -2.764895)'))) / (select extract(epoch from '2026-07-20 13:22:27'::timestamp) - extract(epoch from '2026-07-20 13:22: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'), 47832, 'SRID=4674;POINT (-40.383501 -2.765117)', '2026-07-20 13:22:36', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383462 -2.764895)'), GeomFromEWKT('SRID=4674;POINT (-40.383501 -2.765117)'))) / (select extract(epoch from '2026-07-20 13:22:36'::timestamp) - extract(epoch from '2026-07-20 13:22:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383462 -2.764895)'), GeomFromEWKT('SRID=4674;POINT (-40.383501 -2.765117)'))) / (select extract(epoch from '2026-07-20 13:22:36'::timestamp) - extract(epoch from '2026-07-20 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'), 47832, 'SRID=4674;POINT (-40.383509 -2.765277)', '2026-07-20 13:22:43', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383501 -2.765117)'), GeomFromEWKT('SRID=4674;POINT (-40.383509 -2.765277)'))) / (select extract(epoch from '2026-07-20 13:22:43'::timestamp) - extract(epoch from '2026-07-20 13:22:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383501 -2.765117)'), GeomFromEWKT('SRID=4674;POINT (-40.383509 -2.765277)'))) / (select extract(epoch from '2026-07-20 13:22:43'::timestamp) - extract(epoch from '2026-07-20 13:22: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'), 47832, 'SRID=4674;POINT (-40.383511 -2.765392)', '2026-07-20 13:22:48', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383509 -2.765277)'), GeomFromEWKT('SRID=4674;POINT (-40.383511 -2.765392)'))) / (select extract(epoch from '2026-07-20 13:22:48'::timestamp) - extract(epoch from '2026-07-20 13:22:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383509 -2.765277)'), GeomFromEWKT('SRID=4674;POINT (-40.383511 -2.765392)'))) / (select extract(epoch from '2026-07-20 13:22:48'::timestamp) - extract(epoch from '2026-07-20 13:22: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'), 47832, 'SRID=4674;POINT (-40.383509 -2.765531)', '2026-07-20 13:22:54', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383511 -2.765392)'), GeomFromEWKT('SRID=4674;POINT (-40.383509 -2.765531)'))) / (select extract(epoch from '2026-07-20 13:22:54'::timestamp) - extract(epoch from '2026-07-20 13:22:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383511 -2.765392)'), GeomFromEWKT('SRID=4674;POINT (-40.383509 -2.765531)'))) / (select extract(epoch from '2026-07-20 13:22:54'::timestamp) - extract(epoch from '2026-07-20 13:22: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'), 47832, 'SRID=4674;POINT (-40.383567 -2.765663)', '2026-07-20 13:22:59', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383509 -2.765531)'), GeomFromEWKT('SRID=4674;POINT (-40.383567 -2.765663)'))) / (select extract(epoch from '2026-07-20 13:22:59'::timestamp) - extract(epoch from '2026-07-20 13:22:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383509 -2.765531)'), GeomFromEWKT('SRID=4674;POINT (-40.383567 -2.765663)'))) / (select extract(epoch from '2026-07-20 13:22:59'::timestamp) - extract(epoch from '2026-07-20 13:22: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'), 47832, 'SRID=4674;POINT (-40.383625 -2.765822)', '2026-07-20 13:23:05', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383567 -2.765663)'), GeomFromEWKT('SRID=4674;POINT (-40.383625 -2.765822)'))) / (select extract(epoch from '2026-07-20 13:23:05'::timestamp) - extract(epoch from '2026-07-20 13:22:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383567 -2.765663)'), GeomFromEWKT('SRID=4674;POINT (-40.383625 -2.765822)'))) / (select extract(epoch from '2026-07-20 13:23:05'::timestamp) - extract(epoch from '2026-07-20 13:22: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'), 47832, 'SRID=4674;POINT (-40.383691 -2.766018)', '2026-07-20 13:23:13', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383625 -2.765822)'), GeomFromEWKT('SRID=4674;POINT (-40.383691 -2.766018)'))) / (select extract(epoch from '2026-07-20 13:23:13'::timestamp) - extract(epoch from '2026-07-20 13:23:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383625 -2.765822)'), GeomFromEWKT('SRID=4674;POINT (-40.383691 -2.766018)'))) / (select extract(epoch from '2026-07-20 13:23:13'::timestamp) - extract(epoch from '2026-07-20 13:23: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'), 47832, 'SRID=4674;POINT (-40.383791 -2.766197)', '2026-07-20 13:23:20', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383691 -2.766018)'), GeomFromEWKT('SRID=4674;POINT (-40.383791 -2.766197)'))) / (select extract(epoch from '2026-07-20 13:23:20'::timestamp) - extract(epoch from '2026-07-20 13:23:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383691 -2.766018)'), GeomFromEWKT('SRID=4674;POINT (-40.383791 -2.766197)'))) / (select extract(epoch from '2026-07-20 13:23:20'::timestamp) - extract(epoch from '2026-07-20 13:23: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'), 47832, 'SRID=4674;POINT (-40.383862 -2.766383)', '2026-07-20 13:23:28', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383791 -2.766197)'), GeomFromEWKT('SRID=4674;POINT (-40.383862 -2.766383)'))) / (select extract(epoch from '2026-07-20 13:23:28'::timestamp) - extract(epoch from '2026-07-20 13:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383791 -2.766197)'), GeomFromEWKT('SRID=4674;POINT (-40.383862 -2.766383)'))) / (select extract(epoch from '2026-07-20 13:23:28'::timestamp) - extract(epoch from '2026-07-20 13:23:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383889 -2.766498)', '2026-07-20 13:23:33', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383862 -2.766383)'), GeomFromEWKT('SRID=4674;POINT (-40.383889 -2.766498)'))) / (select extract(epoch from '2026-07-20 13:23:33'::timestamp) - extract(epoch from '2026-07-20 13:23:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383862 -2.766383)'), GeomFromEWKT('SRID=4674;POINT (-40.383889 -2.766498)'))) / (select extract(epoch from '2026-07-20 13:23:33'::timestamp) - extract(epoch from '2026-07-20 13:23:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.383899 -2.766616)', '2026-07-20 13:23:38', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383889 -2.766498)'), GeomFromEWKT('SRID=4674;POINT (-40.383899 -2.766616)'))) / (select extract(epoch from '2026-07-20 13:23:38'::timestamp) - extract(epoch from '2026-07-20 13:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383889 -2.766498)'), GeomFromEWKT('SRID=4674;POINT (-40.383899 -2.766616)'))) / (select extract(epoch from '2026-07-20 13:23:38'::timestamp) - extract(epoch from '2026-07-20 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'), 47832, 'SRID=4674;POINT (-40.383936 -2.766773)', '2026-07-20 13:23:45', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383899 -2.766616)'), GeomFromEWKT('SRID=4674;POINT (-40.383936 -2.766773)'))) / (select extract(epoch from '2026-07-20 13:23:45'::timestamp) - extract(epoch from '2026-07-20 13:23:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383899 -2.766616)'), GeomFromEWKT('SRID=4674;POINT (-40.383936 -2.766773)'))) / (select extract(epoch from '2026-07-20 13:23:45'::timestamp) - extract(epoch from '2026-07-20 13:23: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'), 47832, 'SRID=4674;POINT (-40.383965 -2.766936)', '2026-07-20 13:23:52', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383936 -2.766773)'), GeomFromEWKT('SRID=4674;POINT (-40.383965 -2.766936)'))) / (select extract(epoch from '2026-07-20 13:23:52'::timestamp) - extract(epoch from '2026-07-20 13:23:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383936 -2.766773)'), GeomFromEWKT('SRID=4674;POINT (-40.383965 -2.766936)'))) / (select extract(epoch from '2026-07-20 13:23:52'::timestamp) - extract(epoch from '2026-07-20 13:23:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.384003 -2.767068)', '2026-07-20 13:23:57', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383965 -2.766936)'), GeomFromEWKT('SRID=4674;POINT (-40.384003 -2.767068)'))) / (select extract(epoch from '2026-07-20 13:23:57'::timestamp) - extract(epoch from '2026-07-20 13:23:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383965 -2.766936)'), GeomFromEWKT('SRID=4674;POINT (-40.384003 -2.767068)'))) / (select extract(epoch from '2026-07-20 13:23:57'::timestamp) - extract(epoch from '2026-07-20 13:23: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'), 47832, 'SRID=4674;POINT (-40.38404 -2.767213)', '2026-07-20 13:24:03', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384003 -2.767068)'), GeomFromEWKT('SRID=4674;POINT (-40.38404 -2.767213)'))) / (select extract(epoch from '2026-07-20 13:24:03'::timestamp) - extract(epoch from '2026-07-20 13:23:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384003 -2.767068)'), GeomFromEWKT('SRID=4674;POINT (-40.38404 -2.767213)'))) / (select extract(epoch from '2026-07-20 13:24:03'::timestamp) - extract(epoch from '2026-07-20 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'), 47832, 'SRID=4674;POINT (-40.384125 -2.767414)', '2026-07-20 13:24:11', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38404 -2.767213)'), GeomFromEWKT('SRID=4674;POINT (-40.384125 -2.767414)'))) / (select extract(epoch from '2026-07-20 13:24:11'::timestamp) - extract(epoch from '2026-07-20 13:24:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38404 -2.767213)'), GeomFromEWKT('SRID=4674;POINT (-40.384125 -2.767414)'))) / (select extract(epoch from '2026-07-20 13:24:11'::timestamp) - extract(epoch from '2026-07-20 13:24: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'), 47832, 'SRID=4674;POINT (-40.384207 -2.767545)', '2026-07-20 13:24:18', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384125 -2.767414)'), GeomFromEWKT('SRID=4674;POINT (-40.384207 -2.767545)'))) / (select extract(epoch from '2026-07-20 13:24:18'::timestamp) - extract(epoch from '2026-07-20 13:24:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384125 -2.767414)'), GeomFromEWKT('SRID=4674;POINT (-40.384207 -2.767545)'))) / (select extract(epoch from '2026-07-20 13:24:18'::timestamp) - extract(epoch from '2026-07-20 13:24:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.384251 -2.767685)', '2026-07-20 13:24:24', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384207 -2.767545)'), GeomFromEWKT('SRID=4674;POINT (-40.384251 -2.767685)'))) / (select extract(epoch from '2026-07-20 13:24:24'::timestamp) - extract(epoch from '2026-07-20 13:24:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384207 -2.767545)'), GeomFromEWKT('SRID=4674;POINT (-40.384251 -2.767685)'))) / (select extract(epoch from '2026-07-20 13:24:24'::timestamp) - extract(epoch from '2026-07-20 13:24: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'), 47832, 'SRID=4674;POINT (-40.384299 -2.767834)', '2026-07-20 13:24:30', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384251 -2.767685)'), GeomFromEWKT('SRID=4674;POINT (-40.384299 -2.767834)'))) / (select extract(epoch from '2026-07-20 13:24:30'::timestamp) - extract(epoch from '2026-07-20 13:24:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384251 -2.767685)'), GeomFromEWKT('SRID=4674;POINT (-40.384299 -2.767834)'))) / (select extract(epoch from '2026-07-20 13:24:30'::timestamp) - extract(epoch from '2026-07-20 13:24:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.384352 -2.767973)', '2026-07-20 13:24:35', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384299 -2.767834)'), GeomFromEWKT('SRID=4674;POINT (-40.384352 -2.767973)'))) / (select extract(epoch from '2026-07-20 13:24:35'::timestamp) - extract(epoch from '2026-07-20 13:24:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384299 -2.767834)'), GeomFromEWKT('SRID=4674;POINT (-40.384352 -2.767973)'))) / (select extract(epoch from '2026-07-20 13:24:35'::timestamp) - extract(epoch from '2026-07-20 13:24:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.384373 -2.768115)', '2026-07-20 13:24:41', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384352 -2.767973)'), GeomFromEWKT('SRID=4674;POINT (-40.384373 -2.768115)'))) / (select extract(epoch from '2026-07-20 13:24:41'::timestamp) - extract(epoch from '2026-07-20 13:24:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384352 -2.767973)'), GeomFromEWKT('SRID=4674;POINT (-40.384373 -2.768115)'))) / (select extract(epoch from '2026-07-20 13:24:41'::timestamp) - extract(epoch from '2026-07-20 13:24:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.384408 -2.768283)', '2026-07-20 13:24:48', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384373 -2.768115)'), GeomFromEWKT('SRID=4674;POINT (-40.384408 -2.768283)'))) / (select extract(epoch from '2026-07-20 13:24:48'::timestamp) - extract(epoch from '2026-07-20 13:24:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384373 -2.768115)'), GeomFromEWKT('SRID=4674;POINT (-40.384408 -2.768283)'))) / (select extract(epoch from '2026-07-20 13:24:48'::timestamp) - extract(epoch from '2026-07-20 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'), 47832, 'SRID=4674;POINT (-40.384439 -2.768408)', '2026-07-20 13:24:53', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384408 -2.768283)'), GeomFromEWKT('SRID=4674;POINT (-40.384439 -2.768408)'))) / (select extract(epoch from '2026-07-20 13:24:53'::timestamp) - extract(epoch from '2026-07-20 13:24:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384408 -2.768283)'), GeomFromEWKT('SRID=4674;POINT (-40.384439 -2.768408)'))) / (select extract(epoch from '2026-07-20 13:24:53'::timestamp) - extract(epoch from '2026-07-20 13:24:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.384454 -2.768564)', '2026-07-20 13:24:59', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384439 -2.768408)'), GeomFromEWKT('SRID=4674;POINT (-40.384454 -2.768564)'))) / (select extract(epoch from '2026-07-20 13:24:59'::timestamp) - extract(epoch from '2026-07-20 13:24:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384439 -2.768408)'), GeomFromEWKT('SRID=4674;POINT (-40.384454 -2.768564)'))) / (select extract(epoch from '2026-07-20 13:24:59'::timestamp) - extract(epoch from '2026-07-20 13:24: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'), 47832, 'SRID=4674;POINT (-40.384487 -2.768709)', '2026-07-20 13:25:05', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384454 -2.768564)'), GeomFromEWKT('SRID=4674;POINT (-40.384487 -2.768709)'))) / (select extract(epoch from '2026-07-20 13:25:05'::timestamp) - extract(epoch from '2026-07-20 13:24:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384454 -2.768564)'), GeomFromEWKT('SRID=4674;POINT (-40.384487 -2.768709)'))) / (select extract(epoch from '2026-07-20 13:25:05'::timestamp) - extract(epoch from '2026-07-20 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'), 47832, 'SRID=4674;POINT (-40.384568 -2.768839)', '2026-07-20 13:25:11', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384487 -2.768709)'), GeomFromEWKT('SRID=4674;POINT (-40.384568 -2.768839)'))) / (select extract(epoch from '2026-07-20 13:25:11'::timestamp) - extract(epoch from '2026-07-20 13:25:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384487 -2.768709)'), GeomFromEWKT('SRID=4674;POINT (-40.384568 -2.768839)'))) / (select extract(epoch from '2026-07-20 13:25:11'::timestamp) - extract(epoch from '2026-07-20 13:25:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.384643 -2.768984)', '2026-07-20 13:25:17', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384568 -2.768839)'), GeomFromEWKT('SRID=4674;POINT (-40.384643 -2.768984)'))) / (select extract(epoch from '2026-07-20 13:25:17'::timestamp) - extract(epoch from '2026-07-20 13:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384568 -2.768839)'), GeomFromEWKT('SRID=4674;POINT (-40.384643 -2.768984)'))) / (select extract(epoch from '2026-07-20 13:25:17'::timestamp) - extract(epoch from '2026-07-20 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'), 47832, 'SRID=4674;POINT (-40.384731 -2.769169)', '2026-07-20 13:25:25', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384643 -2.768984)'), GeomFromEWKT('SRID=4674;POINT (-40.384731 -2.769169)'))) / (select extract(epoch from '2026-07-20 13:25:25'::timestamp) - extract(epoch from '2026-07-20 13:25:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384643 -2.768984)'), GeomFromEWKT('SRID=4674;POINT (-40.384731 -2.769169)'))) / (select extract(epoch from '2026-07-20 13:25:25'::timestamp) - extract(epoch from '2026-07-20 13:25:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.384801 -2.769303)', '2026-07-20 13:25:31', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384731 -2.769169)'), GeomFromEWKT('SRID=4674;POINT (-40.384801 -2.769303)'))) / (select extract(epoch from '2026-07-20 13:25:31'::timestamp) - extract(epoch from '2026-07-20 13:25:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384731 -2.769169)'), GeomFromEWKT('SRID=4674;POINT (-40.384801 -2.769303)'))) / (select extract(epoch from '2026-07-20 13:25:31'::timestamp) - extract(epoch from '2026-07-20 13:25: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'), 47832, 'SRID=4674;POINT (-40.384852 -2.769471)', '2026-07-20 13:25:38', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384801 -2.769303)'), GeomFromEWKT('SRID=4674;POINT (-40.384852 -2.769471)'))) / (select extract(epoch from '2026-07-20 13:25:38'::timestamp) - extract(epoch from '2026-07-20 13:25:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384801 -2.769303)'), GeomFromEWKT('SRID=4674;POINT (-40.384852 -2.769471)'))) / (select extract(epoch from '2026-07-20 13:25:38'::timestamp) - extract(epoch from '2026-07-20 13:25: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'), 47832, 'SRID=4674;POINT (-40.384892 -2.769659)', '2026-07-20 13:25:46', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384852 -2.769471)'), GeomFromEWKT('SRID=4674;POINT (-40.384892 -2.769659)'))) / (select extract(epoch from '2026-07-20 13:25:46'::timestamp) - extract(epoch from '2026-07-20 13:25:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384852 -2.769471)'), GeomFromEWKT('SRID=4674;POINT (-40.384892 -2.769659)'))) / (select extract(epoch from '2026-07-20 13:25:46'::timestamp) - extract(epoch from '2026-07-20 13:25:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.384923 -2.769819)', '2026-07-20 13:25:53', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384892 -2.769659)'), GeomFromEWKT('SRID=4674;POINT (-40.384923 -2.769819)'))) / (select extract(epoch from '2026-07-20 13:25:53'::timestamp) - extract(epoch from '2026-07-20 13:25:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384892 -2.769659)'), GeomFromEWKT('SRID=4674;POINT (-40.384923 -2.769819)'))) / (select extract(epoch from '2026-07-20 13:25:53'::timestamp) - extract(epoch from '2026-07-20 13:25:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.384988 -2.769979)', '2026-07-20 13:26:00', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384923 -2.769819)'), GeomFromEWKT('SRID=4674;POINT (-40.384988 -2.769979)'))) / (select extract(epoch from '2026-07-20 13:26:00'::timestamp) - extract(epoch from '2026-07-20 13:25:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384923 -2.769819)'), GeomFromEWKT('SRID=4674;POINT (-40.384988 -2.769979)'))) / (select extract(epoch from '2026-07-20 13:26:00'::timestamp) - extract(epoch from '2026-07-20 13:25:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.385079 -2.770142)', '2026-07-20 13:26:07', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384988 -2.769979)'), GeomFromEWKT('SRID=4674;POINT (-40.385079 -2.770142)'))) / (select extract(epoch from '2026-07-20 13:26:07'::timestamp) - extract(epoch from '2026-07-20 13:26:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384988 -2.769979)'), GeomFromEWKT('SRID=4674;POINT (-40.385079 -2.770142)'))) / (select extract(epoch from '2026-07-20 13:26:07'::timestamp) - extract(epoch from '2026-07-20 13:26:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.385177 -2.77032)', '2026-07-20 13:26:15', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385079 -2.770142)'), GeomFromEWKT('SRID=4674;POINT (-40.385177 -2.77032)'))) / (select extract(epoch from '2026-07-20 13:26:15'::timestamp) - extract(epoch from '2026-07-20 13:26:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385079 -2.770142)'), GeomFromEWKT('SRID=4674;POINT (-40.385177 -2.77032)'))) / (select extract(epoch from '2026-07-20 13:26:15'::timestamp) - extract(epoch from '2026-07-20 13:26:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.385247 -2.770468)', '2026-07-20 13:26:22', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385177 -2.77032)'), GeomFromEWKT('SRID=4674;POINT (-40.385247 -2.770468)'))) / (select extract(epoch from '2026-07-20 13:26:22'::timestamp) - extract(epoch from '2026-07-20 13:26:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385177 -2.77032)'), GeomFromEWKT('SRID=4674;POINT (-40.385247 -2.770468)'))) / (select extract(epoch from '2026-07-20 13:26:22'::timestamp) - extract(epoch from '2026-07-20 13:26: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'), 47832, 'SRID=4674;POINT (-40.385332 -2.770586)', '2026-07-20 13:26:27', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385247 -2.770468)'), GeomFromEWKT('SRID=4674;POINT (-40.385332 -2.770586)'))) / (select extract(epoch from '2026-07-20 13:26:27'::timestamp) - extract(epoch from '2026-07-20 13:26:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385247 -2.770468)'), GeomFromEWKT('SRID=4674;POINT (-40.385332 -2.770586)'))) / (select extract(epoch from '2026-07-20 13:26:27'::timestamp) - extract(epoch from '2026-07-20 13:26: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'), 47832, 'SRID=4674;POINT (-40.385407 -2.770763)', '2026-07-20 13:26:35', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385332 -2.770586)'), GeomFromEWKT('SRID=4674;POINT (-40.385407 -2.770763)'))) / (select extract(epoch from '2026-07-20 13:26:35'::timestamp) - extract(epoch from '2026-07-20 13:26:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385332 -2.770586)'), GeomFromEWKT('SRID=4674;POINT (-40.385407 -2.770763)'))) / (select extract(epoch from '2026-07-20 13:26:35'::timestamp) - extract(epoch from '2026-07-20 13:26: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'), 47832, 'SRID=4674;POINT (-40.385458 -2.770901)', '2026-07-20 13:26:41', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385407 -2.770763)'), GeomFromEWKT('SRID=4674;POINT (-40.385458 -2.770901)'))) / (select extract(epoch from '2026-07-20 13:26:41'::timestamp) - extract(epoch from '2026-07-20 13:26:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385407 -2.770763)'), GeomFromEWKT('SRID=4674;POINT (-40.385458 -2.770901)'))) / (select extract(epoch from '2026-07-20 13:26:41'::timestamp) - extract(epoch from '2026-07-20 13:26: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'), 47832, 'SRID=4674;POINT (-40.385519 -2.771123)', '2026-07-20 13:26:50', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385458 -2.770901)'), GeomFromEWKT('SRID=4674;POINT (-40.385519 -2.771123)'))) / (select extract(epoch from '2026-07-20 13:26:50'::timestamp) - extract(epoch from '2026-07-20 13:26:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385458 -2.770901)'), GeomFromEWKT('SRID=4674;POINT (-40.385519 -2.771123)'))) / (select extract(epoch from '2026-07-20 13:26:50'::timestamp) - extract(epoch from '2026-07-20 13:26: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'), 47832, 'SRID=4674;POINT (-40.385547 -2.771275)', '2026-07-20 13:26:56', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385519 -2.771123)'), GeomFromEWKT('SRID=4674;POINT (-40.385547 -2.771275)'))) / (select extract(epoch from '2026-07-20 13:26:56'::timestamp) - extract(epoch from '2026-07-20 13:26:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385519 -2.771123)'), GeomFromEWKT('SRID=4674;POINT (-40.385547 -2.771275)'))) / (select extract(epoch from '2026-07-20 13:26:56'::timestamp) - extract(epoch from '2026-07-20 13:26:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.385562 -2.771441)', '2026-07-20 13:27:03', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385547 -2.771275)'), GeomFromEWKT('SRID=4674;POINT (-40.385562 -2.771441)'))) / (select extract(epoch from '2026-07-20 13:27:03'::timestamp) - extract(epoch from '2026-07-20 13:26:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385547 -2.771275)'), GeomFromEWKT('SRID=4674;POINT (-40.385562 -2.771441)'))) / (select extract(epoch from '2026-07-20 13:27:03'::timestamp) - extract(epoch from '2026-07-20 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'), 47832, 'SRID=4674;POINT (-40.385587 -2.771588)', '2026-07-20 13:27:09', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385562 -2.771441)'), GeomFromEWKT('SRID=4674;POINT (-40.385587 -2.771588)'))) / (select extract(epoch from '2026-07-20 13:27:09'::timestamp) - extract(epoch from '2026-07-20 13:27:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385562 -2.771441)'), GeomFromEWKT('SRID=4674;POINT (-40.385587 -2.771588)'))) / (select extract(epoch from '2026-07-20 13:27:09'::timestamp) - extract(epoch from '2026-07-20 13:27:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.385653 -2.771693)', '2026-07-20 13:27:13', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385587 -2.771588)'), GeomFromEWKT('SRID=4674;POINT (-40.385653 -2.771693)'))) / (select extract(epoch from '2026-07-20 13:27:13'::timestamp) - extract(epoch from '2026-07-20 13:27:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385587 -2.771588)'), GeomFromEWKT('SRID=4674;POINT (-40.385653 -2.771693)'))) / (select extract(epoch from '2026-07-20 13:27:13'::timestamp) - extract(epoch from '2026-07-20 13:27:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.385724 -2.771797)', '2026-07-20 13:27:18', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385653 -2.771693)'), GeomFromEWKT('SRID=4674;POINT (-40.385724 -2.771797)'))) / (select extract(epoch from '2026-07-20 13:27:18'::timestamp) - extract(epoch from '2026-07-20 13:27:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385653 -2.771693)'), GeomFromEWKT('SRID=4674;POINT (-40.385724 -2.771797)'))) / (select extract(epoch from '2026-07-20 13:27:18'::timestamp) - extract(epoch from '2026-07-20 13:27:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.385846 -2.77194)', '2026-07-20 13:27:25', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385724 -2.771797)'), GeomFromEWKT('SRID=4674;POINT (-40.385846 -2.77194)'))) / (select extract(epoch from '2026-07-20 13:27:25'::timestamp) - extract(epoch from '2026-07-20 13:27:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385724 -2.771797)'), GeomFromEWKT('SRID=4674;POINT (-40.385846 -2.77194)'))) / (select extract(epoch from '2026-07-20 13:27:25'::timestamp) - extract(epoch from '2026-07-20 13:27: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'), 47832, 'SRID=4674;POINT (-40.38592 -2.77206)', '2026-07-20 13:27:31', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385846 -2.77194)'), GeomFromEWKT('SRID=4674;POINT (-40.38592 -2.77206)'))) / (select extract(epoch from '2026-07-20 13:27:31'::timestamp) - extract(epoch from '2026-07-20 13:27:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385846 -2.77194)'), GeomFromEWKT('SRID=4674;POINT (-40.38592 -2.77206)'))) / (select extract(epoch from '2026-07-20 13:27:31'::timestamp) - extract(epoch from '2026-07-20 13:27:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.385951 -2.772187)', '2026-07-20 13:27:36', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38592 -2.77206)'), GeomFromEWKT('SRID=4674;POINT (-40.385951 -2.772187)'))) / (select extract(epoch from '2026-07-20 13:27:36'::timestamp) - extract(epoch from '2026-07-20 13:27:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38592 -2.77206)'), GeomFromEWKT('SRID=4674;POINT (-40.385951 -2.772187)'))) / (select extract(epoch from '2026-07-20 13:27:36'::timestamp) - extract(epoch from '2026-07-20 13:27:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.386004 -2.772355)', '2026-07-20 13:27:43', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385951 -2.772187)'), GeomFromEWKT('SRID=4674;POINT (-40.386004 -2.772355)'))) / (select extract(epoch from '2026-07-20 13:27:43'::timestamp) - extract(epoch from '2026-07-20 13:27:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385951 -2.772187)'), GeomFromEWKT('SRID=4674;POINT (-40.386004 -2.772355)'))) / (select extract(epoch from '2026-07-20 13:27:43'::timestamp) - extract(epoch from '2026-07-20 13:27: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'), 47832, 'SRID=4674;POINT (-40.386035 -2.772528)', '2026-07-20 13:27:50', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386004 -2.772355)'), GeomFromEWKT('SRID=4674;POINT (-40.386035 -2.772528)'))) / (select extract(epoch from '2026-07-20 13:27:50'::timestamp) - extract(epoch from '2026-07-20 13:27:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386004 -2.772355)'), GeomFromEWKT('SRID=4674;POINT (-40.386035 -2.772528)'))) / (select extract(epoch from '2026-07-20 13:27:50'::timestamp) - extract(epoch from '2026-07-20 13:27: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'), 47832, 'SRID=4674;POINT (-40.38605 -2.7727)', '2026-07-20 13:27:57', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386035 -2.772528)'), GeomFromEWKT('SRID=4674;POINT (-40.38605 -2.7727)'))) / (select extract(epoch from '2026-07-20 13:27:57'::timestamp) - extract(epoch from '2026-07-20 13:27:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386035 -2.772528)'), GeomFromEWKT('SRID=4674;POINT (-40.38605 -2.7727)'))) / (select extract(epoch from '2026-07-20 13:27:57'::timestamp) - extract(epoch from '2026-07-20 13:27:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.386089 -2.772845)', '2026-07-20 13:28:03', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38605 -2.7727)'), GeomFromEWKT('SRID=4674;POINT (-40.386089 -2.772845)'))) / (select extract(epoch from '2026-07-20 13:28:03'::timestamp) - extract(epoch from '2026-07-20 13:27:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38605 -2.7727)'), GeomFromEWKT('SRID=4674;POINT (-40.386089 -2.772845)'))) / (select extract(epoch from '2026-07-20 13:28:03'::timestamp) - extract(epoch from '2026-07-20 13:27:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.386126 -2.773036)', '2026-07-20 13:28:11', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386089 -2.772845)'), GeomFromEWKT('SRID=4674;POINT (-40.386126 -2.773036)'))) / (select extract(epoch from '2026-07-20 13:28:11'::timestamp) - extract(epoch from '2026-07-20 13:28:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386089 -2.772845)'), GeomFromEWKT('SRID=4674;POINT (-40.386126 -2.773036)'))) / (select extract(epoch from '2026-07-20 13:28:11'::timestamp) - extract(epoch from '2026-07-20 13:28:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.386168 -2.773214)', '2026-07-20 13:28:18', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386126 -2.773036)'), GeomFromEWKT('SRID=4674;POINT (-40.386168 -2.773214)'))) / (select extract(epoch from '2026-07-20 13:28:18'::timestamp) - extract(epoch from '2026-07-20 13:28:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386126 -2.773036)'), GeomFromEWKT('SRID=4674;POINT (-40.386168 -2.773214)'))) / (select extract(epoch from '2026-07-20 13:28:18'::timestamp) - extract(epoch from '2026-07-20 13:28: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'), 47832, 'SRID=4674;POINT (-40.386172 -2.77336)', '2026-07-20 13:28:24', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386168 -2.773214)'), GeomFromEWKT('SRID=4674;POINT (-40.386172 -2.77336)'))) / (select extract(epoch from '2026-07-20 13:28:24'::timestamp) - extract(epoch from '2026-07-20 13:28:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386168 -2.773214)'), GeomFromEWKT('SRID=4674;POINT (-40.386172 -2.77336)'))) / (select extract(epoch from '2026-07-20 13:28:24'::timestamp) - extract(epoch from '2026-07-20 13:28:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.386183 -2.77356)', '2026-07-20 13:28:32', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386172 -2.77336)'), GeomFromEWKT('SRID=4674;POINT (-40.386183 -2.77356)'))) / (select extract(epoch from '2026-07-20 13:28:32'::timestamp) - extract(epoch from '2026-07-20 13:28:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386172 -2.77336)'), GeomFromEWKT('SRID=4674;POINT (-40.386183 -2.77356)'))) / (select extract(epoch from '2026-07-20 13:28:32'::timestamp) - extract(epoch from '2026-07-20 13:28: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'), 47832, 'SRID=4674;POINT (-40.386248 -2.773703)', '2026-07-20 13:28:38', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386183 -2.77356)'), GeomFromEWKT('SRID=4674;POINT (-40.386248 -2.773703)'))) / (select extract(epoch from '2026-07-20 13:28:38'::timestamp) - extract(epoch from '2026-07-20 13:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386183 -2.77356)'), GeomFromEWKT('SRID=4674;POINT (-40.386248 -2.773703)'))) / (select extract(epoch from '2026-07-20 13:28:38'::timestamp) - extract(epoch from '2026-07-20 13:28: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'), 47832, 'SRID=4674;POINT (-40.386321 -2.773849)', '2026-07-20 13:28:45', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386248 -2.773703)'), GeomFromEWKT('SRID=4674;POINT (-40.386321 -2.773849)'))) / (select extract(epoch from '2026-07-20 13:28:45'::timestamp) - extract(epoch from '2026-07-20 13:28:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386248 -2.773703)'), GeomFromEWKT('SRID=4674;POINT (-40.386321 -2.773849)'))) / (select extract(epoch from '2026-07-20 13:28:45'::timestamp) - extract(epoch from '2026-07-20 13:28: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'), 47832, 'SRID=4674;POINT (-40.38637 -2.77401)', '2026-07-20 13:28:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386321 -2.773849)'), GeomFromEWKT('SRID=4674;POINT (-40.38637 -2.77401)'))) / (select extract(epoch from '2026-07-20 13:28:52'::timestamp) - extract(epoch from '2026-07-20 13:28:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386321 -2.773849)'), GeomFromEWKT('SRID=4674;POINT (-40.38637 -2.77401)'))) / (select extract(epoch from '2026-07-20 13:28:52'::timestamp) - extract(epoch from '2026-07-20 13:28: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'), 47832, 'SRID=4674;POINT (-40.386408 -2.774174)', '2026-07-20 13:28:59', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38637 -2.77401)'), GeomFromEWKT('SRID=4674;POINT (-40.386408 -2.774174)'))) / (select extract(epoch from '2026-07-20 13:28:59'::timestamp) - extract(epoch from '2026-07-20 13:28:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38637 -2.77401)'), GeomFromEWKT('SRID=4674;POINT (-40.386408 -2.774174)'))) / (select extract(epoch from '2026-07-20 13:28:59'::timestamp) - extract(epoch from '2026-07-20 13:28:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.386468 -2.774347)', '2026-07-20 13:29:06', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386408 -2.774174)'), GeomFromEWKT('SRID=4674;POINT (-40.386468 -2.774347)'))) / (select extract(epoch from '2026-07-20 13:29:06'::timestamp) - extract(epoch from '2026-07-20 13:28:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386408 -2.774174)'), GeomFromEWKT('SRID=4674;POINT (-40.386468 -2.774347)'))) / (select extract(epoch from '2026-07-20 13:29:06'::timestamp) - extract(epoch from '2026-07-20 13:28: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'), 47832, 'SRID=4674;POINT (-40.38656 -2.774534)', '2026-07-20 13:29:14', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386468 -2.774347)'), GeomFromEWKT('SRID=4674;POINT (-40.38656 -2.774534)'))) / (select extract(epoch from '2026-07-20 13:29:14'::timestamp) - extract(epoch from '2026-07-20 13:29:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386468 -2.774347)'), GeomFromEWKT('SRID=4674;POINT (-40.38656 -2.774534)'))) / (select extract(epoch from '2026-07-20 13:29:14'::timestamp) - extract(epoch from '2026-07-20 13:29:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.386611 -2.774699)', '2026-07-20 13:29:21', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38656 -2.774534)'), GeomFromEWKT('SRID=4674;POINT (-40.386611 -2.774699)'))) / (select extract(epoch from '2026-07-20 13:29:21'::timestamp) - extract(epoch from '2026-07-20 13:29:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38656 -2.774534)'), GeomFromEWKT('SRID=4674;POINT (-40.386611 -2.774699)'))) / (select extract(epoch from '2026-07-20 13:29:21'::timestamp) - extract(epoch from '2026-07-20 13:29:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.386665 -2.774856)', '2026-07-20 13:29:27', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386611 -2.774699)'), GeomFromEWKT('SRID=4674;POINT (-40.386665 -2.774856)'))) / (select extract(epoch from '2026-07-20 13:29:27'::timestamp) - extract(epoch from '2026-07-20 13:29:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386611 -2.774699)'), GeomFromEWKT('SRID=4674;POINT (-40.386665 -2.774856)'))) / (select extract(epoch from '2026-07-20 13:29:27'::timestamp) - extract(epoch from '2026-07-20 13:29:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.386747 -2.775006)', '2026-07-20 13:29:34', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386665 -2.774856)'), GeomFromEWKT('SRID=4674;POINT (-40.386747 -2.775006)'))) / (select extract(epoch from '2026-07-20 13:29:34'::timestamp) - extract(epoch from '2026-07-20 13:29:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386665 -2.774856)'), GeomFromEWKT('SRID=4674;POINT (-40.386747 -2.775006)'))) / (select extract(epoch from '2026-07-20 13:29:34'::timestamp) - extract(epoch from '2026-07-20 13:29: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'), 47832, 'SRID=4674;POINT (-40.386834 -2.775155)', '2026-07-20 13:29:40', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386747 -2.775006)'), GeomFromEWKT('SRID=4674;POINT (-40.386834 -2.775155)'))) / (select extract(epoch from '2026-07-20 13:29:40'::timestamp) - extract(epoch from '2026-07-20 13:29:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386747 -2.775006)'), GeomFromEWKT('SRID=4674;POINT (-40.386834 -2.775155)'))) / (select extract(epoch from '2026-07-20 13:29:40'::timestamp) - extract(epoch from '2026-07-20 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'), 47832, 'SRID=4674;POINT (-40.386912 -2.775323)', '2026-07-20 13:29:47', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386834 -2.775155)'), GeomFromEWKT('SRID=4674;POINT (-40.386912 -2.775323)'))) / (select extract(epoch from '2026-07-20 13:29:47'::timestamp) - extract(epoch from '2026-07-20 13:29:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386834 -2.775155)'), GeomFromEWKT('SRID=4674;POINT (-40.386912 -2.775323)'))) / (select extract(epoch from '2026-07-20 13:29:47'::timestamp) - extract(epoch from '2026-07-20 13:29: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'), 47832, 'SRID=4674;POINT (-40.387017 -2.775503)', '2026-07-20 13:29:55', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386912 -2.775323)'), GeomFromEWKT('SRID=4674;POINT (-40.387017 -2.775503)'))) / (select extract(epoch from '2026-07-20 13:29:55'::timestamp) - extract(epoch from '2026-07-20 13:29:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386912 -2.775323)'), GeomFromEWKT('SRID=4674;POINT (-40.387017 -2.775503)'))) / (select extract(epoch from '2026-07-20 13:29:55'::timestamp) - extract(epoch from '2026-07-20 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'), 47832, 'SRID=4674;POINT (-40.387104 -2.775654)', '2026-07-20 13:30:02', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387017 -2.775503)'), GeomFromEWKT('SRID=4674;POINT (-40.387104 -2.775654)'))) / (select extract(epoch from '2026-07-20 13:30:02'::timestamp) - extract(epoch from '2026-07-20 13:29:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387017 -2.775503)'), GeomFromEWKT('SRID=4674;POINT (-40.387104 -2.775654)'))) / (select extract(epoch from '2026-07-20 13:30:02'::timestamp) - extract(epoch from '2026-07-20 13:29:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.387192 -2.775797)', '2026-07-20 13:30:09', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387104 -2.775654)'), GeomFromEWKT('SRID=4674;POINT (-40.387192 -2.775797)'))) / (select extract(epoch from '2026-07-20 13:30:09'::timestamp) - extract(epoch from '2026-07-20 13:30:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387104 -2.775654)'), GeomFromEWKT('SRID=4674;POINT (-40.387192 -2.775797)'))) / (select extract(epoch from '2026-07-20 13:30:09'::timestamp) - extract(epoch from '2026-07-20 13:30:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.387248 -2.775957)', '2026-07-20 13:30:16', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387192 -2.775797)'), GeomFromEWKT('SRID=4674;POINT (-40.387248 -2.775957)'))) / (select extract(epoch from '2026-07-20 13:30:16'::timestamp) - extract(epoch from '2026-07-20 13:30:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387192 -2.775797)'), GeomFromEWKT('SRID=4674;POINT (-40.387248 -2.775957)'))) / (select extract(epoch from '2026-07-20 13:30:16'::timestamp) - extract(epoch from '2026-07-20 13:30:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.387294 -2.776095)', '2026-07-20 13:30:22', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387248 -2.775957)'), GeomFromEWKT('SRID=4674;POINT (-40.387294 -2.776095)'))) / (select extract(epoch from '2026-07-20 13:30:22'::timestamp) - extract(epoch from '2026-07-20 13:30:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387248 -2.775957)'), GeomFromEWKT('SRID=4674;POINT (-40.387294 -2.776095)'))) / (select extract(epoch from '2026-07-20 13:30:22'::timestamp) - extract(epoch from '2026-07-20 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'), 47832, 'SRID=4674;POINT (-40.387327 -2.776252)', '2026-07-20 13:30:29', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387294 -2.776095)'), GeomFromEWKT('SRID=4674;POINT (-40.387327 -2.776252)'))) / (select extract(epoch from '2026-07-20 13:30:29'::timestamp) - extract(epoch from '2026-07-20 13:30:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387294 -2.776095)'), GeomFromEWKT('SRID=4674;POINT (-40.387327 -2.776252)'))) / (select extract(epoch from '2026-07-20 13:30:29'::timestamp) - extract(epoch from '2026-07-20 13:30: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'), 47832, 'SRID=4674;POINT (-40.387366 -2.776373)', '2026-07-20 13:30:34', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387327 -2.776252)'), GeomFromEWKT('SRID=4674;POINT (-40.387366 -2.776373)'))) / (select extract(epoch from '2026-07-20 13:30:34'::timestamp) - extract(epoch from '2026-07-20 13:30:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387327 -2.776252)'), GeomFromEWKT('SRID=4674;POINT (-40.387366 -2.776373)'))) / (select extract(epoch from '2026-07-20 13:30:34'::timestamp) - extract(epoch from '2026-07-20 13:30: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'), 47832, 'SRID=4674;POINT (-40.387435 -2.776512)', '2026-07-20 13:30:40', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387366 -2.776373)'), GeomFromEWKT('SRID=4674;POINT (-40.387435 -2.776512)'))) / (select extract(epoch from '2026-07-20 13:30:40'::timestamp) - extract(epoch from '2026-07-20 13:30:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387366 -2.776373)'), GeomFromEWKT('SRID=4674;POINT (-40.387435 -2.776512)'))) / (select extract(epoch from '2026-07-20 13:30:40'::timestamp) - extract(epoch from '2026-07-20 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'), 47832, 'SRID=4674;POINT (-40.387497 -2.776653)', '2026-07-20 13:30:46', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387435 -2.776512)'), GeomFromEWKT('SRID=4674;POINT (-40.387497 -2.776653)'))) / (select extract(epoch from '2026-07-20 13:30:46'::timestamp) - extract(epoch from '2026-07-20 13:30:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387435 -2.776512)'), GeomFromEWKT('SRID=4674;POINT (-40.387497 -2.776653)'))) / (select extract(epoch from '2026-07-20 13:30:46'::timestamp) - extract(epoch from '2026-07-20 13:30:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.387571 -2.776855)', '2026-07-20 13:30:54', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387497 -2.776653)'), GeomFromEWKT('SRID=4674;POINT (-40.387571 -2.776855)'))) / (select extract(epoch from '2026-07-20 13:30:54'::timestamp) - extract(epoch from '2026-07-20 13:30:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387497 -2.776653)'), GeomFromEWKT('SRID=4674;POINT (-40.387571 -2.776855)'))) / (select extract(epoch from '2026-07-20 13:30:54'::timestamp) - extract(epoch from '2026-07-20 13:30:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.387626 -2.776994)', '2026-07-20 13:31:00', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387571 -2.776855)'), GeomFromEWKT('SRID=4674;POINT (-40.387626 -2.776994)'))) / (select extract(epoch from '2026-07-20 13:31:00'::timestamp) - extract(epoch from '2026-07-20 13:30:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387571 -2.776855)'), GeomFromEWKT('SRID=4674;POINT (-40.387626 -2.776994)'))) / (select extract(epoch from '2026-07-20 13:31:00'::timestamp) - extract(epoch from '2026-07-20 13:30: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'), 47832, 'SRID=4674;POINT (-40.387675 -2.777133)', '2026-07-20 13:31:06', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387626 -2.776994)'), GeomFromEWKT('SRID=4674;POINT (-40.387675 -2.777133)'))) / (select extract(epoch from '2026-07-20 13:31:06'::timestamp) - extract(epoch from '2026-07-20 13:31:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387626 -2.776994)'), GeomFromEWKT('SRID=4674;POINT (-40.387675 -2.777133)'))) / (select extract(epoch from '2026-07-20 13:31:06'::timestamp) - extract(epoch from '2026-07-20 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'), 47832, 'SRID=4674;POINT (-40.387721 -2.777301)', '2026-07-20 13:31:13', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387675 -2.777133)'), GeomFromEWKT('SRID=4674;POINT (-40.387721 -2.777301)'))) / (select extract(epoch from '2026-07-20 13:31:13'::timestamp) - extract(epoch from '2026-07-20 13:31:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387675 -2.777133)'), GeomFromEWKT('SRID=4674;POINT (-40.387721 -2.777301)'))) / (select extract(epoch from '2026-07-20 13:31:13'::timestamp) - extract(epoch from '2026-07-20 13:31: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'), 47832, 'SRID=4674;POINT (-40.387798 -2.777461)', '2026-07-20 13:31:20', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387721 -2.777301)'), GeomFromEWKT('SRID=4674;POINT (-40.387798 -2.777461)'))) / (select extract(epoch from '2026-07-20 13:31:20'::timestamp) - extract(epoch from '2026-07-20 13:31:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387721 -2.777301)'), GeomFromEWKT('SRID=4674;POINT (-40.387798 -2.777461)'))) / (select extract(epoch from '2026-07-20 13:31:20'::timestamp) - extract(epoch from '2026-07-20 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'), 47832, 'SRID=4674;POINT (-40.387856 -2.777627)', '2026-07-20 13:31:27', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387798 -2.777461)'), GeomFromEWKT('SRID=4674;POINT (-40.387856 -2.777627)'))) / (select extract(epoch from '2026-07-20 13:31:27'::timestamp) - extract(epoch from '2026-07-20 13:31:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387798 -2.777461)'), GeomFromEWKT('SRID=4674;POINT (-40.387856 -2.777627)'))) / (select extract(epoch from '2026-07-20 13:31:27'::timestamp) - extract(epoch from '2026-07-20 13:31:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.387868 -2.777793)', '2026-07-20 13:31:34', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387856 -2.777627)'), GeomFromEWKT('SRID=4674;POINT (-40.387868 -2.777793)'))) / (select extract(epoch from '2026-07-20 13:31:34'::timestamp) - extract(epoch from '2026-07-20 13:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387856 -2.777627)'), GeomFromEWKT('SRID=4674;POINT (-40.387868 -2.777793)'))) / (select extract(epoch from '2026-07-20 13:31:34'::timestamp) - extract(epoch from '2026-07-20 13:31: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'), 47832, 'SRID=4674;POINT (-40.387911 -2.777907)', '2026-07-20 13:31:39', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387868 -2.777793)'), GeomFromEWKT('SRID=4674;POINT (-40.387911 -2.777907)'))) / (select extract(epoch from '2026-07-20 13:31:39'::timestamp) - extract(epoch from '2026-07-20 13:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387868 -2.777793)'), GeomFromEWKT('SRID=4674;POINT (-40.387911 -2.777907)'))) / (select extract(epoch from '2026-07-20 13:31:39'::timestamp) - extract(epoch from '2026-07-20 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'), 47832, 'SRID=4674;POINT (-40.388011 -2.778027)', '2026-07-20 13:31:45', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387911 -2.777907)'), GeomFromEWKT('SRID=4674;POINT (-40.388011 -2.778027)'))) / (select extract(epoch from '2026-07-20 13:31:45'::timestamp) - extract(epoch from '2026-07-20 13:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387911 -2.777907)'), GeomFromEWKT('SRID=4674;POINT (-40.388011 -2.778027)'))) / (select extract(epoch from '2026-07-20 13:31:45'::timestamp) - extract(epoch from '2026-07-20 13:31: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'), 47832, 'SRID=4674;POINT (-40.388158 -2.778203)', '2026-07-20 13:31:53', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388011 -2.778027)'), GeomFromEWKT('SRID=4674;POINT (-40.388158 -2.778203)'))) / (select extract(epoch from '2026-07-20 13:31:53'::timestamp) - extract(epoch from '2026-07-20 13:31:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388011 -2.778027)'), GeomFromEWKT('SRID=4674;POINT (-40.388158 -2.778203)'))) / (select extract(epoch from '2026-07-20 13:31:53'::timestamp) - extract(epoch from '2026-07-20 13:31: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'), 47832, 'SRID=4674;POINT (-40.388219 -2.778339)', '2026-07-20 13:31:59', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388158 -2.778203)'), GeomFromEWKT('SRID=4674;POINT (-40.388219 -2.778339)'))) / (select extract(epoch from '2026-07-20 13:31:59'::timestamp) - extract(epoch from '2026-07-20 13:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388158 -2.778203)'), GeomFromEWKT('SRID=4674;POINT (-40.388219 -2.778339)'))) / (select extract(epoch from '2026-07-20 13:31:59'::timestamp) - extract(epoch from '2026-07-20 13:31:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.388268 -2.778479)', '2026-07-20 13:32:05', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388219 -2.778339)'), GeomFromEWKT('SRID=4674;POINT (-40.388268 -2.778479)'))) / (select extract(epoch from '2026-07-20 13:32:05'::timestamp) - extract(epoch from '2026-07-20 13:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388219 -2.778339)'), GeomFromEWKT('SRID=4674;POINT (-40.388268 -2.778479)'))) / (select extract(epoch from '2026-07-20 13:32:05'::timestamp) - extract(epoch from '2026-07-20 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'), 47832, 'SRID=4674;POINT (-40.38836 -2.778662)', '2026-07-20 13:32:13', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388268 -2.778479)'), GeomFromEWKT('SRID=4674;POINT (-40.38836 -2.778662)'))) / (select extract(epoch from '2026-07-20 13:32:13'::timestamp) - extract(epoch from '2026-07-20 13:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388268 -2.778479)'), GeomFromEWKT('SRID=4674;POINT (-40.38836 -2.778662)'))) / (select extract(epoch from '2026-07-20 13:32:13'::timestamp) - extract(epoch from '2026-07-20 13:32: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'), 47832, 'SRID=4674;POINT (-40.388398 -2.7788)', '2026-07-20 13:32:19', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38836 -2.778662)'), GeomFromEWKT('SRID=4674;POINT (-40.388398 -2.7788)'))) / (select extract(epoch from '2026-07-20 13:32:19'::timestamp) - extract(epoch from '2026-07-20 13:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38836 -2.778662)'), GeomFromEWKT('SRID=4674;POINT (-40.388398 -2.7788)'))) / (select extract(epoch from '2026-07-20 13:32:19'::timestamp) - extract(epoch from '2026-07-20 13:32:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.388427 -2.778951)', '2026-07-20 13:32:25', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388398 -2.7788)'), GeomFromEWKT('SRID=4674;POINT (-40.388427 -2.778951)'))) / (select extract(epoch from '2026-07-20 13:32:25'::timestamp) - extract(epoch from '2026-07-20 13:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388398 -2.7788)'), GeomFromEWKT('SRID=4674;POINT (-40.388427 -2.778951)'))) / (select extract(epoch from '2026-07-20 13:32:25'::timestamp) - extract(epoch from '2026-07-20 13:32:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.388432 -2.779128)', '2026-07-20 13:32:32', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388427 -2.778951)'), GeomFromEWKT('SRID=4674;POINT (-40.388432 -2.779128)'))) / (select extract(epoch from '2026-07-20 13:32:32'::timestamp) - extract(epoch from '2026-07-20 13:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388427 -2.778951)'), GeomFromEWKT('SRID=4674;POINT (-40.388432 -2.779128)'))) / (select extract(epoch from '2026-07-20 13:32:32'::timestamp) - extract(epoch from '2026-07-20 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'), 47832, 'SRID=4674;POINT (-40.388469 -2.779307)', '2026-07-20 13:32:39', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388432 -2.779128)'), GeomFromEWKT('SRID=4674;POINT (-40.388469 -2.779307)'))) / (select extract(epoch from '2026-07-20 13:32:39'::timestamp) - extract(epoch from '2026-07-20 13:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388432 -2.779128)'), GeomFromEWKT('SRID=4674;POINT (-40.388469 -2.779307)'))) / (select extract(epoch from '2026-07-20 13:32:39'::timestamp) - extract(epoch from '2026-07-20 13:32:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.388532 -2.779414)', '2026-07-20 13:32:44', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388469 -2.779307)'), GeomFromEWKT('SRID=4674;POINT (-40.388532 -2.779414)'))) / (select extract(epoch from '2026-07-20 13:32:44'::timestamp) - extract(epoch from '2026-07-20 13:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388469 -2.779307)'), GeomFromEWKT('SRID=4674;POINT (-40.388532 -2.779414)'))) / (select extract(epoch from '2026-07-20 13:32:44'::timestamp) - extract(epoch from '2026-07-20 13:32:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.388628 -2.779579)', '2026-07-20 13:32:51', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388532 -2.779414)'), GeomFromEWKT('SRID=4674;POINT (-40.388628 -2.779579)'))) / (select extract(epoch from '2026-07-20 13:32:51'::timestamp) - extract(epoch from '2026-07-20 13:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388532 -2.779414)'), GeomFromEWKT('SRID=4674;POINT (-40.388628 -2.779579)'))) / (select extract(epoch from '2026-07-20 13:32:51'::timestamp) - extract(epoch from '2026-07-20 13:32: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'), 47832, 'SRID=4674;POINT (-40.388721 -2.779719)', '2026-07-20 13:32:57', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388628 -2.779579)'), GeomFromEWKT('SRID=4674;POINT (-40.388721 -2.779719)'))) / (select extract(epoch from '2026-07-20 13:32:57'::timestamp) - extract(epoch from '2026-07-20 13:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388628 -2.779579)'), GeomFromEWKT('SRID=4674;POINT (-40.388721 -2.779719)'))) / (select extract(epoch from '2026-07-20 13:32:57'::timestamp) - extract(epoch from '2026-07-20 13:32:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.388816 -2.779842)', '2026-07-20 13:33:03', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388721 -2.779719)'), GeomFromEWKT('SRID=4674;POINT (-40.388816 -2.779842)'))) / (select extract(epoch from '2026-07-20 13:33:03'::timestamp) - extract(epoch from '2026-07-20 13:32:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388721 -2.779719)'), GeomFromEWKT('SRID=4674;POINT (-40.388816 -2.779842)'))) / (select extract(epoch from '2026-07-20 13:33:03'::timestamp) - extract(epoch from '2026-07-20 13:32:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.388885 -2.779948)', '2026-07-20 13:33:08', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388816 -2.779842)'), GeomFromEWKT('SRID=4674;POINT (-40.388885 -2.779948)'))) / (select extract(epoch from '2026-07-20 13:33:08'::timestamp) - extract(epoch from '2026-07-20 13:33:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388816 -2.779842)'), GeomFromEWKT('SRID=4674;POINT (-40.388885 -2.779948)'))) / (select extract(epoch from '2026-07-20 13:33:08'::timestamp) - extract(epoch from '2026-07-20 13:33:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.388952 -2.780078)', '2026-07-20 13:33:14', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388885 -2.779948)'), GeomFromEWKT('SRID=4674;POINT (-40.388952 -2.780078)'))) / (select extract(epoch from '2026-07-20 13:33:14'::timestamp) - extract(epoch from '2026-07-20 13:33:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388885 -2.779948)'), GeomFromEWKT('SRID=4674;POINT (-40.388952 -2.780078)'))) / (select extract(epoch from '2026-07-20 13:33:14'::timestamp) - extract(epoch from '2026-07-20 13:33:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.389009 -2.780187)', '2026-07-20 13:33:19', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388952 -2.780078)'), GeomFromEWKT('SRID=4674;POINT (-40.389009 -2.780187)'))) / (select extract(epoch from '2026-07-20 13:33:19'::timestamp) - extract(epoch from '2026-07-20 13:33:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388952 -2.780078)'), GeomFromEWKT('SRID=4674;POINT (-40.389009 -2.780187)'))) / (select extract(epoch from '2026-07-20 13:33:19'::timestamp) - extract(epoch from '2026-07-20 13:33:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47832, 'SRID=4674;POINT (-40.389098 -2.780354)', '2026-07-20 13:33:26', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389009 -2.780187)'), GeomFromEWKT('SRID=4674;POINT (-40.389098 -2.780354)'))) / (select extract(epoch from '2026-07-20 13:33:26'::timestamp) - extract(epoch from '2026-07-20 13:33:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389009 -2.780187)'), GeomFromEWKT('SRID=4674;POINT (-40.389098 -2.780354)'))) / (select extract(epoch from '2026-07-20 13:33:26'::timestamp) - extract(epoch from '2026-07-20 13:33: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'), 47832, 'SRID=4674;POINT (-40.389198 -2.780491)', '2026-07-20 13:33:33', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389098 -2.780354)'), GeomFromEWKT('SRID=4674;POINT (-40.389198 -2.780491)'))) / (select extract(epoch from '2026-07-20 13:33:33'::timestamp) - extract(epoch from '2026-07-20 13:33:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389098 -2.780354)'), GeomFromEWKT('SRID=4674;POINT (-40.389198 -2.780491)'))) / (select extract(epoch from '2026-07-20 13:33:33'::timestamp) - extract(epoch from '2026-07-20 13:33: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'), 47832, 'SRID=4674;POINT (-40.389272 -2.780638)', '2026-07-20 13:33:39', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389198 -2.780491)'), GeomFromEWKT('SRID=4674;POINT (-40.389272 -2.780638)'))) / (select extract(epoch from '2026-07-20 13:33:39'::timestamp) - extract(epoch from '2026-07-20 13:33:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389198 -2.780491)'), GeomFromEWKT('SRID=4674;POINT (-40.389272 -2.780638)'))) / (select extract(epoch from '2026-07-20 13:33:39'::timestamp) - extract(epoch from '2026-07-20 13:33: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'), 47832, 'SRID=4674;POINT (-40.389341 -2.78081)', '2026-07-20 13:33:46', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389272 -2.780638)'), GeomFromEWKT('SRID=4674;POINT (-40.389341 -2.78081)'))) / (select extract(epoch from '2026-07-20 13:33:46'::timestamp) - extract(epoch from '2026-07-20 13:33:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389272 -2.780638)'), GeomFromEWKT('SRID=4674;POINT (-40.389341 -2.78081)'))) / (select extract(epoch from '2026-07-20 13:33:46'::timestamp) - extract(epoch from '2026-07-20 13:33: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'), 47832, 'SRID=4674;POINT (-40.389409 -2.780989)', '2026-07-20 13:33:54', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389341 -2.78081)'), GeomFromEWKT('SRID=4674;POINT (-40.389409 -2.780989)'))) / (select extract(epoch from '2026-07-20 13:33:54'::timestamp) - extract(epoch from '2026-07-20 13:33:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389341 -2.78081)'), GeomFromEWKT('SRID=4674;POINT (-40.389409 -2.780989)'))) / (select extract(epoch from '2026-07-20 13:33:54'::timestamp) - extract(epoch from '2026-07-20 13:33: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'), 47832, 'SRID=4674;POINT (-40.389453 -2.781126)', '2026-07-20 13:34:00', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389409 -2.780989)'), GeomFromEWKT('SRID=4674;POINT (-40.389453 -2.781126)'))) / (select extract(epoch from '2026-07-20 13:34:00'::timestamp) - extract(epoch from '2026-07-20 13:33:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389409 -2.780989)'), GeomFromEWKT('SRID=4674;POINT (-40.389453 -2.781126)'))) / (select extract(epoch from '2026-07-20 13:34:00'::timestamp) - extract(epoch from '2026-07-20 13:33: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'), 47832, 'SRID=4674;POINT (-40.389512 -2.781275)', '2026-07-20 13:34:06', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389453 -2.781126)'), GeomFromEWKT('SRID=4674;POINT (-40.389512 -2.781275)'))) / (select extract(epoch from '2026-07-20 13:34:06'::timestamp) - extract(epoch from '2026-07-20 13:34:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389453 -2.781126)'), GeomFromEWKT('SRID=4674;POINT (-40.389512 -2.781275)'))) / (select extract(epoch from '2026-07-20 13:34:06'::timestamp) - extract(epoch from '2026-07-20 13:34: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'), 47832, 'SRID=4674;POINT (-40.389565 -2.781385)', '2026-07-20 13:34:11', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389512 -2.781275)'), GeomFromEWKT('SRID=4674;POINT (-40.389565 -2.781385)'))) / (select extract(epoch from '2026-07-20 13:34:11'::timestamp) - extract(epoch from '2026-07-20 13:34:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389512 -2.781275)'), GeomFromEWKT('SRID=4674;POINT (-40.389565 -2.781385)'))) / (select extract(epoch from '2026-07-20 13:34:11'::timestamp) - extract(epoch from '2026-07-20 13:34:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
