 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.393896 -2.782726)', '2026-07-06 12:03:53', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393869 -2.782723)'), GeomFromEWKT('SRID=4674;POINT (-40.393896 -2.782726)'))) / (select extract(epoch from '2026-07-06 12:03:53'::timestamp) - extract(epoch from '2026-07-06 12:03:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393869 -2.782723)'), GeomFromEWKT('SRID=4674;POINT (-40.393896 -2.782726)'))) / (select extract(epoch from '2026-07-06 12:03:53'::timestamp) - extract(epoch from '2026-07-06 12:03: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'), 47828, 'SRID=4674;POINT (-40.393944 -2.782663)', '2026-07-06 12:04:03', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393896 -2.782726)'), GeomFromEWKT('SRID=4674;POINT (-40.393944 -2.782663)'))) / (select extract(epoch from '2026-07-06 12:04:03'::timestamp) - extract(epoch from '2026-07-06 12:03:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393896 -2.782726)'), GeomFromEWKT('SRID=4674;POINT (-40.393944 -2.782663)'))) / (select extract(epoch from '2026-07-06 12:04:03'::timestamp) - extract(epoch from '2026-07-06 12:03: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'), 47828, 'SRID=4674;POINT (-40.393933 -2.782603)', '2026-07-06 12:04:13', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393944 -2.782663)'), GeomFromEWKT('SRID=4674;POINT (-40.393933 -2.782603)'))) / (select extract(epoch from '2026-07-06 12:04:13'::timestamp) - extract(epoch from '2026-07-06 12:04:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393944 -2.782663)'), GeomFromEWKT('SRID=4674;POINT (-40.393933 -2.782603)'))) / (select extract(epoch from '2026-07-06 12:04:13'::timestamp) - extract(epoch from '2026-07-06 12: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'), 47828, 'SRID=4674;POINT (-40.393878 -2.782636)', '2026-07-06 12:04:22', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393933 -2.782603)'), GeomFromEWKT('SRID=4674;POINT (-40.393878 -2.782636)'))) / (select extract(epoch from '2026-07-06 12:04:22'::timestamp) - extract(epoch from '2026-07-06 12:04:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393933 -2.782603)'), GeomFromEWKT('SRID=4674;POINT (-40.393878 -2.782636)'))) / (select extract(epoch from '2026-07-06 12:04:22'::timestamp) - extract(epoch from '2026-07-06 12:04:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.393865 -2.782651)', '2026-07-06 12:04:24', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393878 -2.782636)'), GeomFromEWKT('SRID=4674;POINT (-40.393865 -2.782651)'))) / (select extract(epoch from '2026-07-06 12:04:24'::timestamp) - extract(epoch from '2026-07-06 12:04:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393878 -2.782636)'), GeomFromEWKT('SRID=4674;POINT (-40.393865 -2.782651)'))) / (select extract(epoch from '2026-07-06 12:04:24'::timestamp) - extract(epoch from '2026-07-06 12:04:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.393838 -2.782703)', '2026-07-06 12:04:29', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393865 -2.782651)'), GeomFromEWKT('SRID=4674;POINT (-40.393838 -2.782703)'))) / (select extract(epoch from '2026-07-06 12:04:29'::timestamp) - extract(epoch from '2026-07-06 12:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393865 -2.782651)'), GeomFromEWKT('SRID=4674;POINT (-40.393838 -2.782703)'))) / (select extract(epoch from '2026-07-06 12:04:29'::timestamp) - extract(epoch from '2026-07-06 12:04:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.393811 -2.782758)', '2026-07-06 12:04:36', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393838 -2.782703)'), GeomFromEWKT('SRID=4674;POINT (-40.393811 -2.782758)'))) / (select extract(epoch from '2026-07-06 12:04:36'::timestamp) - extract(epoch from '2026-07-06 12:04:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393838 -2.782703)'), GeomFromEWKT('SRID=4674;POINT (-40.393811 -2.782758)'))) / (select extract(epoch from '2026-07-06 12:04:36'::timestamp) - extract(epoch from '2026-07-06 12:04: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'), 47828, 'SRID=4674;POINT (-40.393801 -2.782782)', '2026-07-06 12:04:46', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393811 -2.782758)'), GeomFromEWKT('SRID=4674;POINT (-40.393801 -2.782782)'))) / (select extract(epoch from '2026-07-06 12:04:46'::timestamp) - extract(epoch from '2026-07-06 12:04:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393811 -2.782758)'), GeomFromEWKT('SRID=4674;POINT (-40.393801 -2.782782)'))) / (select extract(epoch from '2026-07-06 12:04:46'::timestamp) - extract(epoch from '2026-07-06 12:04: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'), 47828, 'SRID=4674;POINT (-40.393843 -2.782791)', '2026-07-06 12:05:05', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393801 -2.782782)'), GeomFromEWKT('SRID=4674;POINT (-40.393843 -2.782791)'))) / (select extract(epoch from '2026-07-06 12:05:05'::timestamp) - extract(epoch from '2026-07-06 12:04:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393801 -2.782782)'), GeomFromEWKT('SRID=4674;POINT (-40.393843 -2.782791)'))) / (select extract(epoch from '2026-07-06 12:05:05'::timestamp) - extract(epoch from '2026-07-06 12:04:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.393886 -2.782779)', '2026-07-06 12:05:16', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393843 -2.782791)'), GeomFromEWKT('SRID=4674;POINT (-40.393886 -2.782779)'))) / (select extract(epoch from '2026-07-06 12:05:16'::timestamp) - extract(epoch from '2026-07-06 12:05:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393843 -2.782791)'), GeomFromEWKT('SRID=4674;POINT (-40.393886 -2.782779)'))) / (select extract(epoch from '2026-07-06 12:05:16'::timestamp) - extract(epoch from '2026-07-06 12:05: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'), 47828, 'SRID=4674;POINT (-40.393957 -2.782755)', '2026-07-06 12:05:29', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393886 -2.782779)'), GeomFromEWKT('SRID=4674;POINT (-40.393957 -2.782755)'))) / (select extract(epoch from '2026-07-06 12:05:29'::timestamp) - extract(epoch from '2026-07-06 12:05:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393886 -2.782779)'), GeomFromEWKT('SRID=4674;POINT (-40.393957 -2.782755)'))) / (select extract(epoch from '2026-07-06 12:05:29'::timestamp) - extract(epoch from '2026-07-06 12:05: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'), 47828, 'SRID=4674;POINT (-40.394032 -2.782725)', '2026-07-06 12:05:42', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393957 -2.782755)'), GeomFromEWKT('SRID=4674;POINT (-40.394032 -2.782725)'))) / (select extract(epoch from '2026-07-06 12:05:42'::timestamp) - extract(epoch from '2026-07-06 12:05:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393957 -2.782755)'), GeomFromEWKT('SRID=4674;POINT (-40.394032 -2.782725)'))) / (select extract(epoch from '2026-07-06 12:05:42'::timestamp) - extract(epoch from '2026-07-06 12: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'), 47828, 'SRID=4674;POINT (-40.394091 -2.782647)', '2026-07-06 12:05:54', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394032 -2.782725)'), GeomFromEWKT('SRID=4674;POINT (-40.394091 -2.782647)'))) / (select extract(epoch from '2026-07-06 12:05:54'::timestamp) - extract(epoch from '2026-07-06 12:05:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394032 -2.782725)'), GeomFromEWKT('SRID=4674;POINT (-40.394091 -2.782647)'))) / (select extract(epoch from '2026-07-06 12:05:54'::timestamp) - extract(epoch from '2026-07-06 12:05: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'), 47828, 'SRID=4674;POINT (-40.394096 -2.782632)', '2026-07-06 12:06:03', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394091 -2.782647)'), GeomFromEWKT('SRID=4674;POINT (-40.394096 -2.782632)'))) / (select extract(epoch from '2026-07-06 12:06:03'::timestamp) - extract(epoch from '2026-07-06 12:05:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394091 -2.782647)'), GeomFromEWKT('SRID=4674;POINT (-40.394096 -2.782632)'))) / (select extract(epoch from '2026-07-06 12:06:03'::timestamp) - extract(epoch from '2026-07-06 12:05: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'), 47828, 'SRID=4674;POINT (-40.3941 -2.782667)', '2026-07-06 12:06:46', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394096 -2.782632)'), GeomFromEWKT('SRID=4674;POINT (-40.3941 -2.782667)'))) / (select extract(epoch from '2026-07-06 12:06:46'::timestamp) - extract(epoch from '2026-07-06 12:06:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394096 -2.782632)'), GeomFromEWKT('SRID=4674;POINT (-40.3941 -2.782667)'))) / (select extract(epoch from '2026-07-06 12:06:46'::timestamp) - extract(epoch from '2026-07-06 12:06: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'), 47828, 'SRID=4674;POINT (-40.394042 -2.782726)', '2026-07-06 12:08:12', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3941 -2.782667)'), GeomFromEWKT('SRID=4674;POINT (-40.394042 -2.782726)'))) / (select extract(epoch from '2026-07-06 12:08:12'::timestamp) - extract(epoch from '2026-07-06 12:06:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3941 -2.782667)'), GeomFromEWKT('SRID=4674;POINT (-40.394042 -2.782726)'))) / (select extract(epoch from '2026-07-06 12:08:12'::timestamp) - extract(epoch from '2026-07-06 12:06:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.394061 -2.782676)', '2026-07-06 12:08:42', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394042 -2.782726)'), GeomFromEWKT('SRID=4674;POINT (-40.394061 -2.782676)'))) / (select extract(epoch from '2026-07-06 12:08:42'::timestamp) - extract(epoch from '2026-07-06 12:08:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394042 -2.782726)'), GeomFromEWKT('SRID=4674;POINT (-40.394061 -2.782676)'))) / (select extract(epoch from '2026-07-06 12:08:42'::timestamp) - extract(epoch from '2026-07-06 12:08: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'), 47828, 'SRID=4674;POINT (-40.394088 -2.782627)', '2026-07-06 12:08:54', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394061 -2.782676)'), GeomFromEWKT('SRID=4674;POINT (-40.394088 -2.782627)'))) / (select extract(epoch from '2026-07-06 12:08:54'::timestamp) - extract(epoch from '2026-07-06 12:08:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394061 -2.782676)'), GeomFromEWKT('SRID=4674;POINT (-40.394088 -2.782627)'))) / (select extract(epoch from '2026-07-06 12:08:54'::timestamp) - extract(epoch from '2026-07-06 12:08: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'), 47828, 'SRID=4674;POINT (-40.394095 -2.782617)', '2026-07-06 12:09:06', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394088 -2.782627)'), GeomFromEWKT('SRID=4674;POINT (-40.394095 -2.782617)'))) / (select extract(epoch from '2026-07-06 12:09:06'::timestamp) - extract(epoch from '2026-07-06 12:08:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394088 -2.782627)'), GeomFromEWKT('SRID=4674;POINT (-40.394095 -2.782617)'))) / (select extract(epoch from '2026-07-06 12:09:06'::timestamp) - extract(epoch from '2026-07-06 12:08: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'), 47828, 'SRID=4674;POINT (-40.394062 -2.782707)', '2026-07-06 12:09:52', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394095 -2.782617)'), GeomFromEWKT('SRID=4674;POINT (-40.394062 -2.782707)'))) / (select extract(epoch from '2026-07-06 12:09:52'::timestamp) - extract(epoch from '2026-07-06 12:09:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394095 -2.782617)'), GeomFromEWKT('SRID=4674;POINT (-40.394062 -2.782707)'))) / (select extract(epoch from '2026-07-06 12:09:52'::timestamp) - extract(epoch from '2026-07-06 12:09: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'), 47828, 'SRID=4674;POINT (-40.393973 -2.782742)', '2026-07-06 12:11:03', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394062 -2.782707)'), GeomFromEWKT('SRID=4674;POINT (-40.393973 -2.782742)'))) / (select extract(epoch from '2026-07-06 12:11:03'::timestamp) - extract(epoch from '2026-07-06 12:09:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394062 -2.782707)'), GeomFromEWKT('SRID=4674;POINT (-40.393973 -2.782742)'))) / (select extract(epoch from '2026-07-06 12:11:03'::timestamp) - extract(epoch from '2026-07-06 12:09: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'), 47828, 'SRID=4674;POINT (-40.393882 -2.782714)', '2026-07-06 12:12:55', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393973 -2.782742)'), GeomFromEWKT('SRID=4674;POINT (-40.393882 -2.782714)'))) / (select extract(epoch from '2026-07-06 12:12:55'::timestamp) - extract(epoch from '2026-07-06 12:11:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393973 -2.782742)'), GeomFromEWKT('SRID=4674;POINT (-40.393882 -2.782714)'))) / (select extract(epoch from '2026-07-06 12:12:55'::timestamp) - extract(epoch from '2026-07-06 12:11:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.393911 -2.782711)', '2026-07-06 12:13:13', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393882 -2.782714)'), GeomFromEWKT('SRID=4674;POINT (-40.393911 -2.782711)'))) / (select extract(epoch from '2026-07-06 12:13:13'::timestamp) - extract(epoch from '2026-07-06 12:12:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393882 -2.782714)'), GeomFromEWKT('SRID=4674;POINT (-40.393911 -2.782711)'))) / (select extract(epoch from '2026-07-06 12:13:13'::timestamp) - extract(epoch from '2026-07-06 12:12: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'), 47828, 'SRID=4674;POINT (-40.394005 -2.782668)', '2026-07-06 12:13:36', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393911 -2.782711)'), GeomFromEWKT('SRID=4674;POINT (-40.394005 -2.782668)'))) / (select extract(epoch from '2026-07-06 12:13:36'::timestamp) - extract(epoch from '2026-07-06 12:13:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393911 -2.782711)'), GeomFromEWKT('SRID=4674;POINT (-40.394005 -2.782668)'))) / (select extract(epoch from '2026-07-06 12:13:36'::timestamp) - extract(epoch from '2026-07-06 12:13: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'), 47828, 'SRID=4674;POINT (-40.394098 -2.782663)', '2026-07-06 12:13:51', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394005 -2.782668)'), GeomFromEWKT('SRID=4674;POINT (-40.394098 -2.782663)'))) / (select extract(epoch from '2026-07-06 12:13:51'::timestamp) - extract(epoch from '2026-07-06 12:13:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394005 -2.782668)'), GeomFromEWKT('SRID=4674;POINT (-40.394098 -2.782663)'))) / (select extract(epoch from '2026-07-06 12:13:51'::timestamp) - extract(epoch from '2026-07-06 12:13: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'), 47828, 'SRID=4674;POINT (-40.394146 -2.782659)', '2026-07-06 12:14:02', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394098 -2.782663)'), GeomFromEWKT('SRID=4674;POINT (-40.394146 -2.782659)'))) / (select extract(epoch from '2026-07-06 12:14:02'::timestamp) - extract(epoch from '2026-07-06 12:13:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394098 -2.782663)'), GeomFromEWKT('SRID=4674;POINT (-40.394146 -2.782659)'))) / (select extract(epoch from '2026-07-06 12:14:02'::timestamp) - extract(epoch from '2026-07-06 12:13: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'), 47828, 'SRID=4674;POINT (-40.394185 -2.782651)', '2026-07-06 12:14:12', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394146 -2.782659)'), GeomFromEWKT('SRID=4674;POINT (-40.394185 -2.782651)'))) / (select extract(epoch from '2026-07-06 12:14:12'::timestamp) - extract(epoch from '2026-07-06 12:14:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394146 -2.782659)'), GeomFromEWKT('SRID=4674;POINT (-40.394185 -2.782651)'))) / (select extract(epoch from '2026-07-06 12:14:12'::timestamp) - extract(epoch from '2026-07-06 12:14:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.394247 -2.782652)', '2026-07-06 12:14:23', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394185 -2.782651)'), GeomFromEWKT('SRID=4674;POINT (-40.394247 -2.782652)'))) / (select extract(epoch from '2026-07-06 12:14:23'::timestamp) - extract(epoch from '2026-07-06 12:14:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394185 -2.782651)'), GeomFromEWKT('SRID=4674;POINT (-40.394247 -2.782652)'))) / (select extract(epoch from '2026-07-06 12:14:23'::timestamp) - extract(epoch from '2026-07-06 12: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'), 47828, 'SRID=4674;POINT (-40.394316 -2.782657)', '2026-07-06 12:14:36', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394247 -2.782652)'), GeomFromEWKT('SRID=4674;POINT (-40.394316 -2.782657)'))) / (select extract(epoch from '2026-07-06 12:14:36'::timestamp) - extract(epoch from '2026-07-06 12:14:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394247 -2.782652)'), GeomFromEWKT('SRID=4674;POINT (-40.394316 -2.782657)'))) / (select extract(epoch from '2026-07-06 12:14:36'::timestamp) - extract(epoch from '2026-07-06 12:14: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'), 47828, 'SRID=4674;POINT (-40.394378 -2.782671)', '2026-07-06 12:14:51', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394316 -2.782657)'), GeomFromEWKT('SRID=4674;POINT (-40.394378 -2.782671)'))) / (select extract(epoch from '2026-07-06 12:14:51'::timestamp) - extract(epoch from '2026-07-06 12:14:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394316 -2.782657)'), GeomFromEWKT('SRID=4674;POINT (-40.394378 -2.782671)'))) / (select extract(epoch from '2026-07-06 12:14:51'::timestamp) - extract(epoch from '2026-07-06 12:14:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.394436 -2.782639)', '2026-07-06 12:15:02', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394378 -2.782671)'), GeomFromEWKT('SRID=4674;POINT (-40.394436 -2.782639)'))) / (select extract(epoch from '2026-07-06 12:15:02'::timestamp) - extract(epoch from '2026-07-06 12:14:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394378 -2.782671)'), GeomFromEWKT('SRID=4674;POINT (-40.394436 -2.782639)'))) / (select extract(epoch from '2026-07-06 12:15:02'::timestamp) - extract(epoch from '2026-07-06 12:14: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'), 47828, 'SRID=4674;POINT (-40.39452 -2.782584)', '2026-07-06 12:15:10', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394436 -2.782639)'), GeomFromEWKT('SRID=4674;POINT (-40.39452 -2.782584)'))) / (select extract(epoch from '2026-07-06 12:15:10'::timestamp) - extract(epoch from '2026-07-06 12:15:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394436 -2.782639)'), GeomFromEWKT('SRID=4674;POINT (-40.39452 -2.782584)'))) / (select extract(epoch from '2026-07-06 12:15:10'::timestamp) - extract(epoch from '2026-07-06 12:15:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.394618 -2.782573)', '2026-07-06 12:15:18', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39452 -2.782584)'), GeomFromEWKT('SRID=4674;POINT (-40.394618 -2.782573)'))) / (select extract(epoch from '2026-07-06 12:15:18'::timestamp) - extract(epoch from '2026-07-06 12:15:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39452 -2.782584)'), GeomFromEWKT('SRID=4674;POINT (-40.394618 -2.782573)'))) / (select extract(epoch from '2026-07-06 12:15:18'::timestamp) - extract(epoch from '2026-07-06 12:15:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.394705 -2.78261)', '2026-07-06 12:15:25', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394618 -2.782573)'), GeomFromEWKT('SRID=4674;POINT (-40.394705 -2.78261)'))) / (select extract(epoch from '2026-07-06 12:15:25'::timestamp) - extract(epoch from '2026-07-06 12:15:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394618 -2.782573)'), GeomFromEWKT('SRID=4674;POINT (-40.394705 -2.78261)'))) / (select extract(epoch from '2026-07-06 12:15:25'::timestamp) - extract(epoch from '2026-07-06 12:15: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'), 47828, 'SRID=4674;POINT (-40.394744 -2.782658)', '2026-07-06 12:15:31', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394705 -2.78261)'), GeomFromEWKT('SRID=4674;POINT (-40.394744 -2.782658)'))) / (select extract(epoch from '2026-07-06 12:15:31'::timestamp) - extract(epoch from '2026-07-06 12:15:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394705 -2.78261)'), GeomFromEWKT('SRID=4674;POINT (-40.394744 -2.782658)'))) / (select extract(epoch from '2026-07-06 12:15:31'::timestamp) - extract(epoch from '2026-07-06 12:15: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'), 47828, 'SRID=4674;POINT (-40.394796 -2.782768)', '2026-07-06 12:15:44', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394744 -2.782658)'), GeomFromEWKT('SRID=4674;POINT (-40.394796 -2.782768)'))) / (select extract(epoch from '2026-07-06 12:15:44'::timestamp) - extract(epoch from '2026-07-06 12:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394744 -2.782658)'), GeomFromEWKT('SRID=4674;POINT (-40.394796 -2.782768)'))) / (select extract(epoch from '2026-07-06 12:15:44'::timestamp) - extract(epoch from '2026-07-06 12:15: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'), 47828, 'SRID=4674;POINT (-40.394842 -2.78289)', '2026-07-06 12:15:55', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394796 -2.782768)'), GeomFromEWKT('SRID=4674;POINT (-40.394842 -2.78289)'))) / (select extract(epoch from '2026-07-06 12:15:55'::timestamp) - extract(epoch from '2026-07-06 12:15:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394796 -2.782768)'), GeomFromEWKT('SRID=4674;POINT (-40.394842 -2.78289)'))) / (select extract(epoch from '2026-07-06 12:15:55'::timestamp) - extract(epoch from '2026-07-06 12:15: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'), 47828, 'SRID=4674;POINT (-40.394851 -2.782998)', '2026-07-06 12:16:01', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394842 -2.78289)'), GeomFromEWKT('SRID=4674;POINT (-40.394851 -2.782998)'))) / (select extract(epoch from '2026-07-06 12:16:01'::timestamp) - extract(epoch from '2026-07-06 12:15:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394842 -2.78289)'), GeomFromEWKT('SRID=4674;POINT (-40.394851 -2.782998)'))) / (select extract(epoch from '2026-07-06 12:16:01'::timestamp) - extract(epoch from '2026-07-06 12:15: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'), 47828, 'SRID=4674;POINT (-40.39482 -2.783111)', '2026-07-06 12:16:07', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394851 -2.782998)'), GeomFromEWKT('SRID=4674;POINT (-40.39482 -2.783111)'))) / (select extract(epoch from '2026-07-06 12:16:07'::timestamp) - extract(epoch from '2026-07-06 12:16:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394851 -2.782998)'), GeomFromEWKT('SRID=4674;POINT (-40.39482 -2.783111)'))) / (select extract(epoch from '2026-07-06 12:16:07'::timestamp) - extract(epoch from '2026-07-06 12:16:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.394741 -2.783245)', '2026-07-06 12:16:14', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39482 -2.783111)'), GeomFromEWKT('SRID=4674;POINT (-40.394741 -2.783245)'))) / (select extract(epoch from '2026-07-06 12:16:14'::timestamp) - extract(epoch from '2026-07-06 12:16:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39482 -2.783111)'), GeomFromEWKT('SRID=4674;POINT (-40.394741 -2.783245)'))) / (select extract(epoch from '2026-07-06 12:16:14'::timestamp) - extract(epoch from '2026-07-06 12:16:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.394671 -2.783323)', '2026-07-06 12:16:19', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394741 -2.783245)'), GeomFromEWKT('SRID=4674;POINT (-40.394671 -2.783323)'))) / (select extract(epoch from '2026-07-06 12:16:19'::timestamp) - extract(epoch from '2026-07-06 12:16:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394741 -2.783245)'), GeomFromEWKT('SRID=4674;POINT (-40.394671 -2.783323)'))) / (select extract(epoch from '2026-07-06 12:16:19'::timestamp) - extract(epoch from '2026-07-06 12: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'), 47828, 'SRID=4674;POINT (-40.39458 -2.783403)', '2026-07-06 12:16:25', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394671 -2.783323)'), GeomFromEWKT('SRID=4674;POINT (-40.39458 -2.783403)'))) / (select extract(epoch from '2026-07-06 12:16:25'::timestamp) - extract(epoch from '2026-07-06 12:16:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394671 -2.783323)'), GeomFromEWKT('SRID=4674;POINT (-40.39458 -2.783403)'))) / (select extract(epoch from '2026-07-06 12:16:25'::timestamp) - extract(epoch from '2026-07-06 12:16:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.394445 -2.783525)', '2026-07-06 12:16:34', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39458 -2.783403)'), GeomFromEWKT('SRID=4674;POINT (-40.394445 -2.783525)'))) / (select extract(epoch from '2026-07-06 12:16:34'::timestamp) - extract(epoch from '2026-07-06 12:16:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39458 -2.783403)'), GeomFromEWKT('SRID=4674;POINT (-40.394445 -2.783525)'))) / (select extract(epoch from '2026-07-06 12:16:34'::timestamp) - extract(epoch from '2026-07-06 12:16: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'), 47828, 'SRID=4674;POINT (-40.394357 -2.783602)', '2026-07-06 12:16:40', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394445 -2.783525)'), GeomFromEWKT('SRID=4674;POINT (-40.394357 -2.783602)'))) / (select extract(epoch from '2026-07-06 12:16:40'::timestamp) - extract(epoch from '2026-07-06 12:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394445 -2.783525)'), GeomFromEWKT('SRID=4674;POINT (-40.394357 -2.783602)'))) / (select extract(epoch from '2026-07-06 12:16:40'::timestamp) - extract(epoch from '2026-07-06 12:16: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'), 47828, 'SRID=4674;POINT (-40.394216 -2.783722)', '2026-07-06 12:16:49', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394357 -2.783602)'), GeomFromEWKT('SRID=4674;POINT (-40.394216 -2.783722)'))) / (select extract(epoch from '2026-07-06 12:16:49'::timestamp) - extract(epoch from '2026-07-06 12:16:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394357 -2.783602)'), GeomFromEWKT('SRID=4674;POINT (-40.394216 -2.783722)'))) / (select extract(epoch from '2026-07-06 12:16:49'::timestamp) - extract(epoch from '2026-07-06 12:16:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.39411 -2.783817)', '2026-07-06 12:16:56', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394216 -2.783722)'), GeomFromEWKT('SRID=4674;POINT (-40.39411 -2.783817)'))) / (select extract(epoch from '2026-07-06 12:16:56'::timestamp) - extract(epoch from '2026-07-06 12:16:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394216 -2.783722)'), GeomFromEWKT('SRID=4674;POINT (-40.39411 -2.783817)'))) / (select extract(epoch from '2026-07-06 12:16:56'::timestamp) - extract(epoch from '2026-07-06 12:16: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'), 47828, 'SRID=4674;POINT (-40.393998 -2.783911)', '2026-07-06 12:17:03', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39411 -2.783817)'), GeomFromEWKT('SRID=4674;POINT (-40.393998 -2.783911)'))) / (select extract(epoch from '2026-07-06 12:17:03'::timestamp) - extract(epoch from '2026-07-06 12:16:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39411 -2.783817)'), GeomFromEWKT('SRID=4674;POINT (-40.393998 -2.783911)'))) / (select extract(epoch from '2026-07-06 12:17:03'::timestamp) - extract(epoch from '2026-07-06 12: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'), 47828, 'SRID=4674;POINT (-40.393877 -2.783995)', '2026-07-06 12:17:10', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393998 -2.783911)'), GeomFromEWKT('SRID=4674;POINT (-40.393877 -2.783995)'))) / (select extract(epoch from '2026-07-06 12:17:10'::timestamp) - extract(epoch from '2026-07-06 12:17:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393998 -2.783911)'), GeomFromEWKT('SRID=4674;POINT (-40.393877 -2.783995)'))) / (select extract(epoch from '2026-07-06 12:17:10'::timestamp) - extract(epoch from '2026-07-06 12:17:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.393728 -2.784123)', '2026-07-06 12:17:19', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393877 -2.783995)'), GeomFromEWKT('SRID=4674;POINT (-40.393728 -2.784123)'))) / (select extract(epoch from '2026-07-06 12:17:19'::timestamp) - extract(epoch from '2026-07-06 12:17:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393877 -2.783995)'), GeomFromEWKT('SRID=4674;POINT (-40.393728 -2.784123)'))) / (select extract(epoch from '2026-07-06 12:17:19'::timestamp) - extract(epoch from '2026-07-06 12:17:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.393588 -2.784272)', '2026-07-06 12:17:28', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393728 -2.784123)'), GeomFromEWKT('SRID=4674;POINT (-40.393588 -2.784272)'))) / (select extract(epoch from '2026-07-06 12:17:28'::timestamp) - extract(epoch from '2026-07-06 12:17:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393728 -2.784123)'), GeomFromEWKT('SRID=4674;POINT (-40.393588 -2.784272)'))) / (select extract(epoch from '2026-07-06 12:17:28'::timestamp) - extract(epoch from '2026-07-06 12:17:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.393486 -2.784387)', '2026-07-06 12:17:35', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393588 -2.784272)'), GeomFromEWKT('SRID=4674;POINT (-40.393486 -2.784387)'))) / (select extract(epoch from '2026-07-06 12:17:35'::timestamp) - extract(epoch from '2026-07-06 12:17:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393588 -2.784272)'), GeomFromEWKT('SRID=4674;POINT (-40.393486 -2.784387)'))) / (select extract(epoch from '2026-07-06 12:17:35'::timestamp) - extract(epoch from '2026-07-06 12:17:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.393389 -2.784508)', '2026-07-06 12:17:42', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393486 -2.784387)'), GeomFromEWKT('SRID=4674;POINT (-40.393389 -2.784508)'))) / (select extract(epoch from '2026-07-06 12:17:42'::timestamp) - extract(epoch from '2026-07-06 12:17:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393486 -2.784387)'), GeomFromEWKT('SRID=4674;POINT (-40.393389 -2.784508)'))) / (select extract(epoch from '2026-07-06 12:17:42'::timestamp) - extract(epoch from '2026-07-06 12:17:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.393266 -2.784582)', '2026-07-06 12:17:49', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393389 -2.784508)'), GeomFromEWKT('SRID=4674;POINT (-40.393266 -2.784582)'))) / (select extract(epoch from '2026-07-06 12:17:49'::timestamp) - extract(epoch from '2026-07-06 12:17:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393389 -2.784508)'), GeomFromEWKT('SRID=4674;POINT (-40.393266 -2.784582)'))) / (select extract(epoch from '2026-07-06 12:17:49'::timestamp) - extract(epoch from '2026-07-06 12:17: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'), 47828, 'SRID=4674;POINT (-40.393127 -2.784627)', '2026-07-06 12:17:56', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393266 -2.784582)'), GeomFromEWKT('SRID=4674;POINT (-40.393127 -2.784627)'))) / (select extract(epoch from '2026-07-06 12:17:56'::timestamp) - extract(epoch from '2026-07-06 12:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393266 -2.784582)'), GeomFromEWKT('SRID=4674;POINT (-40.393127 -2.784627)'))) / (select extract(epoch from '2026-07-06 12:17:56'::timestamp) - extract(epoch from '2026-07-06 12:17:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.393035 -2.7847)', '2026-07-06 12:18:02', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393127 -2.784627)'), GeomFromEWKT('SRID=4674;POINT (-40.393035 -2.7847)'))) / (select extract(epoch from '2026-07-06 12:18:02'::timestamp) - extract(epoch from '2026-07-06 12:17:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393127 -2.784627)'), GeomFromEWKT('SRID=4674;POINT (-40.393035 -2.7847)'))) / (select extract(epoch from '2026-07-06 12:18:02'::timestamp) - extract(epoch from '2026-07-06 12:17: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'), 47828, 'SRID=4674;POINT (-40.39291 -2.784798)', '2026-07-06 12:18:10', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393035 -2.7847)'), GeomFromEWKT('SRID=4674;POINT (-40.39291 -2.784798)'))) / (select extract(epoch from '2026-07-06 12:18:10'::timestamp) - extract(epoch from '2026-07-06 12:18:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393035 -2.7847)'), GeomFromEWKT('SRID=4674;POINT (-40.39291 -2.784798)'))) / (select extract(epoch from '2026-07-06 12:18:10'::timestamp) - extract(epoch from '2026-07-06 12:18: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'), 47828, 'SRID=4674;POINT (-40.392818 -2.784871)', '2026-07-06 12:18:16', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39291 -2.784798)'), GeomFromEWKT('SRID=4674;POINT (-40.392818 -2.784871)'))) / (select extract(epoch from '2026-07-06 12:18:16'::timestamp) - extract(epoch from '2026-07-06 12:18:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39291 -2.784798)'), GeomFromEWKT('SRID=4674;POINT (-40.392818 -2.784871)'))) / (select extract(epoch from '2026-07-06 12:18:16'::timestamp) - extract(epoch from '2026-07-06 12:18: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'), 47828, 'SRID=4674;POINT (-40.392699 -2.784969)', '2026-07-06 12:18:23', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392818 -2.784871)'), GeomFromEWKT('SRID=4674;POINT (-40.392699 -2.784969)'))) / (select extract(epoch from '2026-07-06 12:18:23'::timestamp) - extract(epoch from '2026-07-06 12:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392818 -2.784871)'), GeomFromEWKT('SRID=4674;POINT (-40.392699 -2.784969)'))) / (select extract(epoch from '2026-07-06 12:18:23'::timestamp) - extract(epoch from '2026-07-06 12: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'), 47828, 'SRID=4674;POINT (-40.392569 -2.785036)', '2026-07-06 12:18:30', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392699 -2.784969)'), GeomFromEWKT('SRID=4674;POINT (-40.392569 -2.785036)'))) / (select extract(epoch from '2026-07-06 12:18:30'::timestamp) - extract(epoch from '2026-07-06 12:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392699 -2.784969)'), GeomFromEWKT('SRID=4674;POINT (-40.392569 -2.785036)'))) / (select extract(epoch from '2026-07-06 12:18:30'::timestamp) - extract(epoch from '2026-07-06 12: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'), 47828, 'SRID=4674;POINT (-40.392464 -2.785091)', '2026-07-06 12:18:36', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392569 -2.785036)'), GeomFromEWKT('SRID=4674;POINT (-40.392464 -2.785091)'))) / (select extract(epoch from '2026-07-06 12:18:36'::timestamp) - extract(epoch from '2026-07-06 12:18:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392569 -2.785036)'), GeomFromEWKT('SRID=4674;POINT (-40.392464 -2.785091)'))) / (select extract(epoch from '2026-07-06 12:18:36'::timestamp) - extract(epoch from '2026-07-06 12:18:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.392353 -2.785169)', '2026-07-06 12:18:43', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392464 -2.785091)'), GeomFromEWKT('SRID=4674;POINT (-40.392353 -2.785169)'))) / (select extract(epoch from '2026-07-06 12:18:43'::timestamp) - extract(epoch from '2026-07-06 12:18:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392464 -2.785091)'), GeomFromEWKT('SRID=4674;POINT (-40.392353 -2.785169)'))) / (select extract(epoch from '2026-07-06 12:18:43'::timestamp) - extract(epoch from '2026-07-06 12:18: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'), 47828, 'SRID=4674;POINT (-40.392248 -2.785255)', '2026-07-06 12:18:50', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392353 -2.785169)'), GeomFromEWKT('SRID=4674;POINT (-40.392248 -2.785255)'))) / (select extract(epoch from '2026-07-06 12:18:50'::timestamp) - extract(epoch from '2026-07-06 12:18:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392353 -2.785169)'), GeomFromEWKT('SRID=4674;POINT (-40.392248 -2.785255)'))) / (select extract(epoch from '2026-07-06 12:18:50'::timestamp) - extract(epoch from '2026-07-06 12:18:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.392136 -2.785349)', '2026-07-06 12:18:58', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392248 -2.785255)'), GeomFromEWKT('SRID=4674;POINT (-40.392136 -2.785349)'))) / (select extract(epoch from '2026-07-06 12:18:58'::timestamp) - extract(epoch from '2026-07-06 12:18:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392248 -2.785255)'), GeomFromEWKT('SRID=4674;POINT (-40.392136 -2.785349)'))) / (select extract(epoch from '2026-07-06 12:18:58'::timestamp) - extract(epoch from '2026-07-06 12:18:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.392011 -2.785459)', '2026-07-06 12:19:06', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392136 -2.785349)'), GeomFromEWKT('SRID=4674;POINT (-40.392011 -2.785459)'))) / (select extract(epoch from '2026-07-06 12:19:06'::timestamp) - extract(epoch from '2026-07-06 12:18:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392136 -2.785349)'), GeomFromEWKT('SRID=4674;POINT (-40.392011 -2.785459)'))) / (select extract(epoch from '2026-07-06 12:19:06'::timestamp) - extract(epoch from '2026-07-06 12:18:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.391953 -2.785533)', '2026-07-06 12:19:11', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392011 -2.785459)'), GeomFromEWKT('SRID=4674;POINT (-40.391953 -2.785533)'))) / (select extract(epoch from '2026-07-06 12:19:11'::timestamp) - extract(epoch from '2026-07-06 12:19:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392011 -2.785459)'), GeomFromEWKT('SRID=4674;POINT (-40.391953 -2.785533)'))) / (select extract(epoch from '2026-07-06 12:19:11'::timestamp) - extract(epoch from '2026-07-06 12:19: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'), 47828, 'SRID=4674;POINT (-40.391898 -2.785657)', '2026-07-06 12:19:18', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391953 -2.785533)'), GeomFromEWKT('SRID=4674;POINT (-40.391898 -2.785657)'))) / (select extract(epoch from '2026-07-06 12:19:18'::timestamp) - extract(epoch from '2026-07-06 12:19:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391953 -2.785533)'), GeomFromEWKT('SRID=4674;POINT (-40.391898 -2.785657)'))) / (select extract(epoch from '2026-07-06 12:19:18'::timestamp) - extract(epoch from '2026-07-06 12:19: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'), 47828, 'SRID=4674;POINT (-40.391827 -2.78575)', '2026-07-06 12:19:24', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391898 -2.785657)'), GeomFromEWKT('SRID=4674;POINT (-40.391827 -2.78575)'))) / (select extract(epoch from '2026-07-06 12:19:24'::timestamp) - extract(epoch from '2026-07-06 12:19:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391898 -2.785657)'), GeomFromEWKT('SRID=4674;POINT (-40.391827 -2.78575)'))) / (select extract(epoch from '2026-07-06 12:19:24'::timestamp) - extract(epoch from '2026-07-06 12:19: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'), 47828, 'SRID=4674;POINT (-40.39173 -2.785868)', '2026-07-06 12:19:32', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391827 -2.78575)'), GeomFromEWKT('SRID=4674;POINT (-40.39173 -2.785868)'))) / (select extract(epoch from '2026-07-06 12:19:32'::timestamp) - extract(epoch from '2026-07-06 12:19:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391827 -2.78575)'), GeomFromEWKT('SRID=4674;POINT (-40.39173 -2.785868)'))) / (select extract(epoch from '2026-07-06 12:19:32'::timestamp) - extract(epoch from '2026-07-06 12:19:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.391649 -2.78594)', '2026-07-06 12:19:38', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39173 -2.785868)'), GeomFromEWKT('SRID=4674;POINT (-40.391649 -2.78594)'))) / (select extract(epoch from '2026-07-06 12:19:38'::timestamp) - extract(epoch from '2026-07-06 12:19:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39173 -2.785868)'), GeomFromEWKT('SRID=4674;POINT (-40.391649 -2.78594)'))) / (select extract(epoch from '2026-07-06 12:19:38'::timestamp) - extract(epoch from '2026-07-06 12:19: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'), 47828, 'SRID=4674;POINT (-40.391478 -2.786044)', '2026-07-06 12:19:48', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391649 -2.78594)'), GeomFromEWKT('SRID=4674;POINT (-40.391478 -2.786044)'))) / (select extract(epoch from '2026-07-06 12:19:48'::timestamp) - extract(epoch from '2026-07-06 12:19:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391649 -2.78594)'), GeomFromEWKT('SRID=4674;POINT (-40.391478 -2.786044)'))) / (select extract(epoch from '2026-07-06 12:19:48'::timestamp) - extract(epoch from '2026-07-06 12:19:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.39132 -2.786141)', '2026-07-06 12:19:57', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391478 -2.786044)'), GeomFromEWKT('SRID=4674;POINT (-40.39132 -2.786141)'))) / (select extract(epoch from '2026-07-06 12:19:57'::timestamp) - extract(epoch from '2026-07-06 12:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391478 -2.786044)'), GeomFromEWKT('SRID=4674;POINT (-40.39132 -2.786141)'))) / (select extract(epoch from '2026-07-06 12:19:57'::timestamp) - extract(epoch from '2026-07-06 12: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'), 47828, 'SRID=4674;POINT (-40.391211 -2.786227)', '2026-07-06 12:20:04', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39132 -2.786141)'), GeomFromEWKT('SRID=4674;POINT (-40.391211 -2.786227)'))) / (select extract(epoch from '2026-07-06 12:20:04'::timestamp) - extract(epoch from '2026-07-06 12:19:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39132 -2.786141)'), GeomFromEWKT('SRID=4674;POINT (-40.391211 -2.786227)'))) / (select extract(epoch from '2026-07-06 12:20:04'::timestamp) - extract(epoch from '2026-07-06 12:19: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'), 47828, 'SRID=4674;POINT (-40.391106 -2.786303)', '2026-07-06 12:20:11', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391211 -2.786227)'), GeomFromEWKT('SRID=4674;POINT (-40.391106 -2.786303)'))) / (select extract(epoch from '2026-07-06 12:20:11'::timestamp) - extract(epoch from '2026-07-06 12:20:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391211 -2.786227)'), GeomFromEWKT('SRID=4674;POINT (-40.391106 -2.786303)'))) / (select extract(epoch from '2026-07-06 12:20:11'::timestamp) - extract(epoch from '2026-07-06 12:20:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.390996 -2.786386)', '2026-07-06 12:20:18', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391106 -2.786303)'), GeomFromEWKT('SRID=4674;POINT (-40.390996 -2.786386)'))) / (select extract(epoch from '2026-07-06 12:20:18'::timestamp) - extract(epoch from '2026-07-06 12:20:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391106 -2.786303)'), GeomFromEWKT('SRID=4674;POINT (-40.390996 -2.786386)'))) / (select extract(epoch from '2026-07-06 12:20:18'::timestamp) - extract(epoch from '2026-07-06 12:20: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'), 47828, 'SRID=4674;POINT (-40.39087 -2.786477)', '2026-07-06 12:20:26', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390996 -2.786386)'), GeomFromEWKT('SRID=4674;POINT (-40.39087 -2.786477)'))) / (select extract(epoch from '2026-07-06 12:20:26'::timestamp) - extract(epoch from '2026-07-06 12:20:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390996 -2.786386)'), GeomFromEWKT('SRID=4674;POINT (-40.39087 -2.786477)'))) / (select extract(epoch from '2026-07-06 12:20:26'::timestamp) - extract(epoch from '2026-07-06 12: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'), 47828, 'SRID=4674;POINT (-40.390736 -2.786583)', '2026-07-06 12:20:35', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39087 -2.786477)'), GeomFromEWKT('SRID=4674;POINT (-40.390736 -2.786583)'))) / (select extract(epoch from '2026-07-06 12:20:35'::timestamp) - extract(epoch from '2026-07-06 12:20:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39087 -2.786477)'), GeomFromEWKT('SRID=4674;POINT (-40.390736 -2.786583)'))) / (select extract(epoch from '2026-07-06 12:20:35'::timestamp) - extract(epoch from '2026-07-06 12:20:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.390634 -2.786681)', '2026-07-06 12:20:42', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390736 -2.786583)'), GeomFromEWKT('SRID=4674;POINT (-40.390634 -2.786681)'))) / (select extract(epoch from '2026-07-06 12:20:42'::timestamp) - extract(epoch from '2026-07-06 12:20:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390736 -2.786583)'), GeomFromEWKT('SRID=4674;POINT (-40.390634 -2.786681)'))) / (select extract(epoch from '2026-07-06 12:20:42'::timestamp) - extract(epoch from '2026-07-06 12:20: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'), 47828, 'SRID=4674;POINT (-40.390546 -2.786769)', '2026-07-06 12:20:48', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390634 -2.786681)'), GeomFromEWKT('SRID=4674;POINT (-40.390546 -2.786769)'))) / (select extract(epoch from '2026-07-06 12:20:48'::timestamp) - extract(epoch from '2026-07-06 12:20:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390634 -2.786681)'), GeomFromEWKT('SRID=4674;POINT (-40.390546 -2.786769)'))) / (select extract(epoch from '2026-07-06 12:20:48'::timestamp) - extract(epoch from '2026-07-06 12:20: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'), 47828, 'SRID=4674;POINT (-40.390451 -2.786884)', '2026-07-06 12:20:56', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390546 -2.786769)'), GeomFromEWKT('SRID=4674;POINT (-40.390451 -2.786884)'))) / (select extract(epoch from '2026-07-06 12:20:56'::timestamp) - extract(epoch from '2026-07-06 12:20:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390546 -2.786769)'), GeomFromEWKT('SRID=4674;POINT (-40.390451 -2.786884)'))) / (select extract(epoch from '2026-07-06 12:20:56'::timestamp) - extract(epoch from '2026-07-06 12:20: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'), 47828, 'SRID=4674;POINT (-40.390308 -2.786996)', '2026-07-06 12:21:05', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390451 -2.786884)'), GeomFromEWKT('SRID=4674;POINT (-40.390308 -2.786996)'))) / (select extract(epoch from '2026-07-06 12:21:05'::timestamp) - extract(epoch from '2026-07-06 12:20:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390451 -2.786884)'), GeomFromEWKT('SRID=4674;POINT (-40.390308 -2.786996)'))) / (select extract(epoch from '2026-07-06 12:21:05'::timestamp) - extract(epoch from '2026-07-06 12:20:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.390205 -2.787093)', '2026-07-06 12:21:12', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390308 -2.786996)'), GeomFromEWKT('SRID=4674;POINT (-40.390205 -2.787093)'))) / (select extract(epoch from '2026-07-06 12:21:12'::timestamp) - extract(epoch from '2026-07-06 12:21:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390308 -2.786996)'), GeomFromEWKT('SRID=4674;POINT (-40.390205 -2.787093)'))) / (select extract(epoch from '2026-07-06 12:21:12'::timestamp) - extract(epoch from '2026-07-06 12:21:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.390063 -2.7872)', '2026-07-06 12:21:21', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390205 -2.787093)'), GeomFromEWKT('SRID=4674;POINT (-40.390063 -2.7872)'))) / (select extract(epoch from '2026-07-06 12:21:21'::timestamp) - extract(epoch from '2026-07-06 12:21:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390205 -2.787093)'), GeomFromEWKT('SRID=4674;POINT (-40.390063 -2.7872)'))) / (select extract(epoch from '2026-07-06 12:21:21'::timestamp) - extract(epoch from '2026-07-06 12:21:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.389951 -2.787291)', '2026-07-06 12:21:28', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390063 -2.7872)'), GeomFromEWKT('SRID=4674;POINT (-40.389951 -2.787291)'))) / (select extract(epoch from '2026-07-06 12:21:28'::timestamp) - extract(epoch from '2026-07-06 12:21:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390063 -2.7872)'), GeomFromEWKT('SRID=4674;POINT (-40.389951 -2.787291)'))) / (select extract(epoch from '2026-07-06 12:21:28'::timestamp) - extract(epoch from '2026-07-06 12:21: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'), 47828, 'SRID=4674;POINT (-40.389829 -2.787374)', '2026-07-06 12:21:35', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389951 -2.787291)'), GeomFromEWKT('SRID=4674;POINT (-40.389829 -2.787374)'))) / (select extract(epoch from '2026-07-06 12:21:35'::timestamp) - extract(epoch from '2026-07-06 12:21:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389951 -2.787291)'), GeomFromEWKT('SRID=4674;POINT (-40.389829 -2.787374)'))) / (select extract(epoch from '2026-07-06 12:21:35'::timestamp) - extract(epoch from '2026-07-06 12: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'), 47828, 'SRID=4674;POINT (-40.389725 -2.787447)', '2026-07-06 12:21:41', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389829 -2.787374)'), GeomFromEWKT('SRID=4674;POINT (-40.389725 -2.787447)'))) / (select extract(epoch from '2026-07-06 12:21:41'::timestamp) - extract(epoch from '2026-07-06 12:21:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389829 -2.787374)'), GeomFromEWKT('SRID=4674;POINT (-40.389725 -2.787447)'))) / (select extract(epoch from '2026-07-06 12:21:41'::timestamp) - extract(epoch from '2026-07-06 12:21: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'), 47828, 'SRID=4674;POINT (-40.389697 -2.787472)', '2026-07-06 12:21:43', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389725 -2.787447)'), GeomFromEWKT('SRID=4674;POINT (-40.389697 -2.787472)'))) / (select extract(epoch from '2026-07-06 12:21:43'::timestamp) - extract(epoch from '2026-07-06 12:21:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389725 -2.787447)'), GeomFromEWKT('SRID=4674;POINT (-40.389697 -2.787472)'))) / (select extract(epoch from '2026-07-06 12:21:43'::timestamp) - extract(epoch from '2026-07-06 12:21:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.389668 -2.787497)', '2026-07-06 12:21:45', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389697 -2.787472)'), GeomFromEWKT('SRID=4674;POINT (-40.389668 -2.787497)'))) / (select extract(epoch from '2026-07-06 12:21:45'::timestamp) - extract(epoch from '2026-07-06 12:21:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389697 -2.787472)'), GeomFromEWKT('SRID=4674;POINT (-40.389668 -2.787497)'))) / (select extract(epoch from '2026-07-06 12:21:45'::timestamp) - extract(epoch from '2026-07-06 12:21: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'), 47828, 'SRID=4674;POINT (-40.389588 -2.787556)', '2026-07-06 12:21:51', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389668 -2.787497)'), GeomFromEWKT('SRID=4674;POINT (-40.389588 -2.787556)'))) / (select extract(epoch from '2026-07-06 12:21:51'::timestamp) - extract(epoch from '2026-07-06 12:21:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389668 -2.787497)'), GeomFromEWKT('SRID=4674;POINT (-40.389588 -2.787556)'))) / (select extract(epoch from '2026-07-06 12:21:51'::timestamp) - extract(epoch from '2026-07-06 12: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'), 47828, 'SRID=4674;POINT (-40.389477 -2.787632)', '2026-07-06 12:21:58', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389588 -2.787556)'), GeomFromEWKT('SRID=4674;POINT (-40.389477 -2.787632)'))) / (select extract(epoch from '2026-07-06 12:21:58'::timestamp) - extract(epoch from '2026-07-06 12:21:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389588 -2.787556)'), GeomFromEWKT('SRID=4674;POINT (-40.389477 -2.787632)'))) / (select extract(epoch from '2026-07-06 12:21:58'::timestamp) - extract(epoch from '2026-07-06 12:21:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.389342 -2.78773)', '2026-07-06 12:22:06', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389477 -2.787632)'), GeomFromEWKT('SRID=4674;POINT (-40.389342 -2.78773)'))) / (select extract(epoch from '2026-07-06 12:22:06'::timestamp) - extract(epoch from '2026-07-06 12:21:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389477 -2.787632)'), GeomFromEWKT('SRID=4674;POINT (-40.389342 -2.78773)'))) / (select extract(epoch from '2026-07-06 12:22:06'::timestamp) - extract(epoch from '2026-07-06 12:21:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.389226 -2.7878)', '2026-07-06 12:22:13', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389342 -2.78773)'), GeomFromEWKT('SRID=4674;POINT (-40.389226 -2.7878)'))) / (select extract(epoch from '2026-07-06 12:22:13'::timestamp) - extract(epoch from '2026-07-06 12:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389342 -2.78773)'), GeomFromEWKT('SRID=4674;POINT (-40.389226 -2.7878)'))) / (select extract(epoch from '2026-07-06 12:22:13'::timestamp) - extract(epoch from '2026-07-06 12:22:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.389083 -2.787877)', '2026-07-06 12:22:21', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389226 -2.7878)'), GeomFromEWKT('SRID=4674;POINT (-40.389083 -2.787877)'))) / (select extract(epoch from '2026-07-06 12:22:21'::timestamp) - extract(epoch from '2026-07-06 12:22:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389226 -2.7878)'), GeomFromEWKT('SRID=4674;POINT (-40.389083 -2.787877)'))) / (select extract(epoch from '2026-07-06 12:22:21'::timestamp) - extract(epoch from '2026-07-06 12:22:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.388969 -2.787942)', '2026-07-06 12:22:28', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389083 -2.787877)'), GeomFromEWKT('SRID=4674;POINT (-40.388969 -2.787942)'))) / (select extract(epoch from '2026-07-06 12:22:28'::timestamp) - extract(epoch from '2026-07-06 12:22:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389083 -2.787877)'), GeomFromEWKT('SRID=4674;POINT (-40.388969 -2.787942)'))) / (select extract(epoch from '2026-07-06 12:22:28'::timestamp) - extract(epoch from '2026-07-06 12:22: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'), 47828, 'SRID=4674;POINT (-40.388848 -2.788016)', '2026-07-06 12:22:35', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388969 -2.787942)'), GeomFromEWKT('SRID=4674;POINT (-40.388848 -2.788016)'))) / (select extract(epoch from '2026-07-06 12:22:35'::timestamp) - extract(epoch from '2026-07-06 12:22:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388969 -2.787942)'), GeomFromEWKT('SRID=4674;POINT (-40.388848 -2.788016)'))) / (select extract(epoch from '2026-07-06 12:22:35'::timestamp) - extract(epoch from '2026-07-06 12:22:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.388694 -2.78811)', '2026-07-06 12:22:44', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388848 -2.788016)'), GeomFromEWKT('SRID=4674;POINT (-40.388694 -2.78811)'))) / (select extract(epoch from '2026-07-06 12:22:44'::timestamp) - extract(epoch from '2026-07-06 12:22:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388848 -2.788016)'), GeomFromEWKT('SRID=4674;POINT (-40.388694 -2.78811)'))) / (select extract(epoch from '2026-07-06 12:22:44'::timestamp) - extract(epoch from '2026-07-06 12:22:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.388538 -2.788213)', '2026-07-06 12:22:53', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388694 -2.78811)'), GeomFromEWKT('SRID=4674;POINT (-40.388538 -2.788213)'))) / (select extract(epoch from '2026-07-06 12:22:53'::timestamp) - extract(epoch from '2026-07-06 12:22:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388694 -2.78811)'), GeomFromEWKT('SRID=4674;POINT (-40.388538 -2.788213)'))) / (select extract(epoch from '2026-07-06 12:22:53'::timestamp) - extract(epoch from '2026-07-06 12:22: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'), 47828, 'SRID=4674;POINT (-40.388385 -2.788338)', '2026-07-06 12:23:03', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388538 -2.788213)'), GeomFromEWKT('SRID=4674;POINT (-40.388385 -2.788338)'))) / (select extract(epoch from '2026-07-06 12:23:03'::timestamp) - extract(epoch from '2026-07-06 12:22:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388538 -2.788213)'), GeomFromEWKT('SRID=4674;POINT (-40.388385 -2.788338)'))) / (select extract(epoch from '2026-07-06 12:23:03'::timestamp) - extract(epoch from '2026-07-06 12:22:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.388281 -2.788432)', '2026-07-06 12:23:10', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388385 -2.788338)'), GeomFromEWKT('SRID=4674;POINT (-40.388281 -2.788432)'))) / (select extract(epoch from '2026-07-06 12:23:10'::timestamp) - extract(epoch from '2026-07-06 12:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388385 -2.788338)'), GeomFromEWKT('SRID=4674;POINT (-40.388281 -2.788432)'))) / (select extract(epoch from '2026-07-06 12:23:10'::timestamp) - extract(epoch from '2026-07-06 12:23:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.388149 -2.788524)', '2026-07-06 12:23:18', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388281 -2.788432)'), GeomFromEWKT('SRID=4674;POINT (-40.388149 -2.788524)'))) / (select extract(epoch from '2026-07-06 12:23:18'::timestamp) - extract(epoch from '2026-07-06 12:23:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388281 -2.788432)'), GeomFromEWKT('SRID=4674;POINT (-40.388149 -2.788524)'))) / (select extract(epoch from '2026-07-06 12:23:18'::timestamp) - extract(epoch from '2026-07-06 12:23:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.388039 -2.788606)', '2026-07-06 12:23:25', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388149 -2.788524)'), GeomFromEWKT('SRID=4674;POINT (-40.388039 -2.788606)'))) / (select extract(epoch from '2026-07-06 12:23:25'::timestamp) - extract(epoch from '2026-07-06 12:23:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388149 -2.788524)'), GeomFromEWKT('SRID=4674;POINT (-40.388039 -2.788606)'))) / (select extract(epoch from '2026-07-06 12:23:25'::timestamp) - extract(epoch from '2026-07-06 12:23:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.387936 -2.788668)', '2026-07-06 12:23:31', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388039 -2.788606)'), GeomFromEWKT('SRID=4674;POINT (-40.387936 -2.788668)'))) / (select extract(epoch from '2026-07-06 12:23:31'::timestamp) - extract(epoch from '2026-07-06 12:23:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388039 -2.788606)'), GeomFromEWKT('SRID=4674;POINT (-40.387936 -2.788668)'))) / (select extract(epoch from '2026-07-06 12:23:31'::timestamp) - extract(epoch from '2026-07-06 12:23:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.387775 -2.788713)', '2026-07-06 12:23:39', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387936 -2.788668)'), GeomFromEWKT('SRID=4674;POINT (-40.387775 -2.788713)'))) / (select extract(epoch from '2026-07-06 12:23:39'::timestamp) - extract(epoch from '2026-07-06 12:23:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387936 -2.788668)'), GeomFromEWKT('SRID=4674;POINT (-40.387775 -2.788713)'))) / (select extract(epoch from '2026-07-06 12:23:39'::timestamp) - extract(epoch from '2026-07-06 12:23:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.387626 -2.788747)', '2026-07-06 12:23:47', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387775 -2.788713)'), GeomFromEWKT('SRID=4674;POINT (-40.387626 -2.788747)'))) / (select extract(epoch from '2026-07-06 12:23:47'::timestamp) - extract(epoch from '2026-07-06 12:23:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387775 -2.788713)'), GeomFromEWKT('SRID=4674;POINT (-40.387626 -2.788747)'))) / (select extract(epoch from '2026-07-06 12:23:47'::timestamp) - extract(epoch from '2026-07-06 12:23: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'), 47828, 'SRID=4674;POINT (-40.387521 -2.788801)', '2026-07-06 12:23:54', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387626 -2.788747)'), GeomFromEWKT('SRID=4674;POINT (-40.387521 -2.788801)'))) / (select extract(epoch from '2026-07-06 12:23:54'::timestamp) - extract(epoch from '2026-07-06 12:23:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387626 -2.788747)'), GeomFromEWKT('SRID=4674;POINT (-40.387521 -2.788801)'))) / (select extract(epoch from '2026-07-06 12:23:54'::timestamp) - extract(epoch from '2026-07-06 12:23:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.387385 -2.788895)', '2026-07-06 12:24:03', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387521 -2.788801)'), GeomFromEWKT('SRID=4674;POINT (-40.387385 -2.788895)'))) / (select extract(epoch from '2026-07-06 12:24:03'::timestamp) - extract(epoch from '2026-07-06 12:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387521 -2.788801)'), GeomFromEWKT('SRID=4674;POINT (-40.387385 -2.788895)'))) / (select extract(epoch from '2026-07-06 12:24:03'::timestamp) - extract(epoch from '2026-07-06 12:23:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.387233 -2.788975)', '2026-07-06 12:24:12', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387385 -2.788895)'), GeomFromEWKT('SRID=4674;POINT (-40.387233 -2.788975)'))) / (select extract(epoch from '2026-07-06 12:24:12'::timestamp) - extract(epoch from '2026-07-06 12:24:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387385 -2.788895)'), GeomFromEWKT('SRID=4674;POINT (-40.387233 -2.788975)'))) / (select extract(epoch from '2026-07-06 12:24:12'::timestamp) - extract(epoch from '2026-07-06 12: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'), 47828, 'SRID=4674;POINT (-40.387119 -2.789023)', '2026-07-06 12:24:18', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387233 -2.788975)'), GeomFromEWKT('SRID=4674;POINT (-40.387119 -2.789023)'))) / (select extract(epoch from '2026-07-06 12:24:18'::timestamp) - extract(epoch from '2026-07-06 12:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387233 -2.788975)'), GeomFromEWKT('SRID=4674;POINT (-40.387119 -2.789023)'))) / (select extract(epoch from '2026-07-06 12:24:18'::timestamp) - extract(epoch from '2026-07-06 12:24: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'), 47828, 'SRID=4674;POINT (-40.386973 -2.789089)', '2026-07-06 12:24:26', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387119 -2.789023)'), GeomFromEWKT('SRID=4674;POINT (-40.386973 -2.789089)'))) / (select extract(epoch from '2026-07-06 12:24:26'::timestamp) - extract(epoch from '2026-07-06 12:24:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387119 -2.789023)'), GeomFromEWKT('SRID=4674;POINT (-40.386973 -2.789089)'))) / (select extract(epoch from '2026-07-06 12:24:26'::timestamp) - extract(epoch from '2026-07-06 12: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'), 47828, 'SRID=4674;POINT (-40.386846 -2.789179)', '2026-07-06 12:24:34', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386973 -2.789089)'), GeomFromEWKT('SRID=4674;POINT (-40.386846 -2.789179)'))) / (select extract(epoch from '2026-07-06 12:24:34'::timestamp) - extract(epoch from '2026-07-06 12:24:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386973 -2.789089)'), GeomFromEWKT('SRID=4674;POINT (-40.386846 -2.789179)'))) / (select extract(epoch from '2026-07-06 12:24:34'::timestamp) - extract(epoch from '2026-07-06 12:24: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'), 47828, 'SRID=4674;POINT (-40.386707 -2.789274)', '2026-07-06 12:24:42', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386846 -2.789179)'), GeomFromEWKT('SRID=4674;POINT (-40.386707 -2.789274)'))) / (select extract(epoch from '2026-07-06 12:24:42'::timestamp) - extract(epoch from '2026-07-06 12:24:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386846 -2.789179)'), GeomFromEWKT('SRID=4674;POINT (-40.386707 -2.789274)'))) / (select extract(epoch from '2026-07-06 12:24:42'::timestamp) - extract(epoch from '2026-07-06 12:24:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.386602 -2.789359)', '2026-07-06 12:24:49', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386707 -2.789274)'), GeomFromEWKT('SRID=4674;POINT (-40.386602 -2.789359)'))) / (select extract(epoch from '2026-07-06 12:24:49'::timestamp) - extract(epoch from '2026-07-06 12:24:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386707 -2.789274)'), GeomFromEWKT('SRID=4674;POINT (-40.386602 -2.789359)'))) / (select extract(epoch from '2026-07-06 12:24:49'::timestamp) - extract(epoch from '2026-07-06 12:24:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.386477 -2.789414)', '2026-07-06 12:24:56', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386602 -2.789359)'), GeomFromEWKT('SRID=4674;POINT (-40.386477 -2.789414)'))) / (select extract(epoch from '2026-07-06 12:24:56'::timestamp) - extract(epoch from '2026-07-06 12:24:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386602 -2.789359)'), GeomFromEWKT('SRID=4674;POINT (-40.386477 -2.789414)'))) / (select extract(epoch from '2026-07-06 12:24:56'::timestamp) - extract(epoch from '2026-07-06 12:24:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.386336 -2.789444)', '2026-07-06 12:25:03', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386477 -2.789414)'), GeomFromEWKT('SRID=4674;POINT (-40.386336 -2.789444)'))) / (select extract(epoch from '2026-07-06 12:25:03'::timestamp) - extract(epoch from '2026-07-06 12:24:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386477 -2.789414)'), GeomFromEWKT('SRID=4674;POINT (-40.386336 -2.789444)'))) / (select extract(epoch from '2026-07-06 12:25:03'::timestamp) - extract(epoch from '2026-07-06 12:24:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.386204 -2.789488)', '2026-07-06 12:25:10', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386336 -2.789444)'), GeomFromEWKT('SRID=4674;POINT (-40.386204 -2.789488)'))) / (select extract(epoch from '2026-07-06 12:25:10'::timestamp) - extract(epoch from '2026-07-06 12:25:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386336 -2.789444)'), GeomFromEWKT('SRID=4674;POINT (-40.386204 -2.789488)'))) / (select extract(epoch from '2026-07-06 12:25:10'::timestamp) - extract(epoch from '2026-07-06 12:25:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.386114 -2.789578)', '2026-07-06 12:25:17', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386204 -2.789488)'), GeomFromEWKT('SRID=4674;POINT (-40.386114 -2.789578)'))) / (select extract(epoch from '2026-07-06 12:25:17'::timestamp) - extract(epoch from '2026-07-06 12:25:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386204 -2.789488)'), GeomFromEWKT('SRID=4674;POINT (-40.386114 -2.789578)'))) / (select extract(epoch from '2026-07-06 12:25:17'::timestamp) - extract(epoch from '2026-07-06 12:25:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.386015 -2.789648)', '2026-07-06 12:25:23', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386114 -2.789578)'), GeomFromEWKT('SRID=4674;POINT (-40.386015 -2.789648)'))) / (select extract(epoch from '2026-07-06 12:25:23'::timestamp) - extract(epoch from '2026-07-06 12:25:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386114 -2.789578)'), GeomFromEWKT('SRID=4674;POINT (-40.386015 -2.789648)'))) / (select extract(epoch from '2026-07-06 12:25:23'::timestamp) - extract(epoch from '2026-07-06 12: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'), 47828, 'SRID=4674;POINT (-40.385861 -2.789706)', '2026-07-06 12:25:32', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386015 -2.789648)'), GeomFromEWKT('SRID=4674;POINT (-40.385861 -2.789706)'))) / (select extract(epoch from '2026-07-06 12:25:32'::timestamp) - extract(epoch from '2026-07-06 12:25:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386015 -2.789648)'), GeomFromEWKT('SRID=4674;POINT (-40.385861 -2.789706)'))) / (select extract(epoch from '2026-07-06 12:25:32'::timestamp) - extract(epoch from '2026-07-06 12:25:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.385781 -2.789715)', '2026-07-06 12:25:37', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385861 -2.789706)'), GeomFromEWKT('SRID=4674;POINT (-40.385781 -2.789715)'))) / (select extract(epoch from '2026-07-06 12:25:37'::timestamp) - extract(epoch from '2026-07-06 12:25:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385861 -2.789706)'), GeomFromEWKT('SRID=4674;POINT (-40.385781 -2.789715)'))) / (select extract(epoch from '2026-07-06 12:25:37'::timestamp) - extract(epoch from '2026-07-06 12:25:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.385638 -2.789743)', '2026-07-06 12:25:45', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385781 -2.789715)'), GeomFromEWKT('SRID=4674;POINT (-40.385638 -2.789743)'))) / (select extract(epoch from '2026-07-06 12:25:45'::timestamp) - extract(epoch from '2026-07-06 12:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385781 -2.789715)'), GeomFromEWKT('SRID=4674;POINT (-40.385638 -2.789743)'))) / (select extract(epoch from '2026-07-06 12:25:45'::timestamp) - extract(epoch from '2026-07-06 12:25:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.385531 -2.789733)', '2026-07-06 12:25:51', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385638 -2.789743)'), GeomFromEWKT('SRID=4674;POINT (-40.385531 -2.789733)'))) / (select extract(epoch from '2026-07-06 12:25:51'::timestamp) - extract(epoch from '2026-07-06 12:25:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385638 -2.789743)'), GeomFromEWKT('SRID=4674;POINT (-40.385531 -2.789733)'))) / (select extract(epoch from '2026-07-06 12:25:51'::timestamp) - extract(epoch from '2026-07-06 12:25:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.385439 -2.789775)', '2026-07-06 12:25:58', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385531 -2.789733)'), GeomFromEWKT('SRID=4674;POINT (-40.385439 -2.789775)'))) / (select extract(epoch from '2026-07-06 12:25:58'::timestamp) - extract(epoch from '2026-07-06 12:25:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385531 -2.789733)'), GeomFromEWKT('SRID=4674;POINT (-40.385439 -2.789775)'))) / (select extract(epoch from '2026-07-06 12:25:58'::timestamp) - extract(epoch from '2026-07-06 12:25: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'), 47828, 'SRID=4674;POINT (-40.385339 -2.789843)', '2026-07-06 12:26:05', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385439 -2.789775)'), GeomFromEWKT('SRID=4674;POINT (-40.385339 -2.789843)'))) / (select extract(epoch from '2026-07-06 12:26:05'::timestamp) - extract(epoch from '2026-07-06 12:25:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385439 -2.789775)'), GeomFromEWKT('SRID=4674;POINT (-40.385339 -2.789843)'))) / (select extract(epoch from '2026-07-06 12:26:05'::timestamp) - extract(epoch from '2026-07-06 12:25: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'), 47828, 'SRID=4674;POINT (-40.385219 -2.789922)', '2026-07-06 12:26:12', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385339 -2.789843)'), GeomFromEWKT('SRID=4674;POINT (-40.385219 -2.789922)'))) / (select extract(epoch from '2026-07-06 12:26:12'::timestamp) - extract(epoch from '2026-07-06 12:26:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385339 -2.789843)'), GeomFromEWKT('SRID=4674;POINT (-40.385219 -2.789922)'))) / (select extract(epoch from '2026-07-06 12:26:12'::timestamp) - extract(epoch from '2026-07-06 12:26: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'), 47828, 'SRID=4674;POINT (-40.385101 -2.790035)', '2026-07-06 12:26:20', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385219 -2.789922)'), GeomFromEWKT('SRID=4674;POINT (-40.385101 -2.790035)'))) / (select extract(epoch from '2026-07-06 12:26:20'::timestamp) - extract(epoch from '2026-07-06 12:26:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385219 -2.789922)'), GeomFromEWKT('SRID=4674;POINT (-40.385101 -2.790035)'))) / (select extract(epoch from '2026-07-06 12:26:20'::timestamp) - extract(epoch from '2026-07-06 12:26:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.384982 -2.790133)', '2026-07-06 12:26:28', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385101 -2.790035)'), GeomFromEWKT('SRID=4674;POINT (-40.384982 -2.790133)'))) / (select extract(epoch from '2026-07-06 12:26:28'::timestamp) - extract(epoch from '2026-07-06 12:26:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385101 -2.790035)'), GeomFromEWKT('SRID=4674;POINT (-40.384982 -2.790133)'))) / (select extract(epoch from '2026-07-06 12:26:28'::timestamp) - extract(epoch from '2026-07-06 12:26: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'), 47828, 'SRID=4674;POINT (-40.384888 -2.79025)', '2026-07-06 12:26:35', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384982 -2.790133)'), GeomFromEWKT('SRID=4674;POINT (-40.384888 -2.79025)'))) / (select extract(epoch from '2026-07-06 12:26:35'::timestamp) - extract(epoch from '2026-07-06 12:26:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384982 -2.790133)'), GeomFromEWKT('SRID=4674;POINT (-40.384888 -2.79025)'))) / (select extract(epoch from '2026-07-06 12:26:35'::timestamp) - extract(epoch from '2026-07-06 12:26: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'), 47828, 'SRID=4674;POINT (-40.384791 -2.790386)', '2026-07-06 12:26:43', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384888 -2.79025)'), GeomFromEWKT('SRID=4674;POINT (-40.384791 -2.790386)'))) / (select extract(epoch from '2026-07-06 12:26:43'::timestamp) - extract(epoch from '2026-07-06 12:26:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384888 -2.79025)'), GeomFromEWKT('SRID=4674;POINT (-40.384791 -2.790386)'))) / (select extract(epoch from '2026-07-06 12:26:43'::timestamp) - extract(epoch from '2026-07-06 12: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'), 47828, 'SRID=4674;POINT (-40.384676 -2.790504)', '2026-07-06 12:26:51', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384791 -2.790386)'), GeomFromEWKT('SRID=4674;POINT (-40.384676 -2.790504)'))) / (select extract(epoch from '2026-07-06 12:26:51'::timestamp) - extract(epoch from '2026-07-06 12:26:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384791 -2.790386)'), GeomFromEWKT('SRID=4674;POINT (-40.384676 -2.790504)'))) / (select extract(epoch from '2026-07-06 12:26:51'::timestamp) - extract(epoch from '2026-07-06 12:26: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'), 47828, 'SRID=4674;POINT (-40.384581 -2.79056)', '2026-07-06 12:26:57', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384676 -2.790504)'), GeomFromEWKT('SRID=4674;POINT (-40.384581 -2.79056)'))) / (select extract(epoch from '2026-07-06 12:26:57'::timestamp) - extract(epoch from '2026-07-06 12:26:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384676 -2.790504)'), GeomFromEWKT('SRID=4674;POINT (-40.384581 -2.79056)'))) / (select extract(epoch from '2026-07-06 12:26:57'::timestamp) - extract(epoch from '2026-07-06 12:26: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'), 47828, 'SRID=4674;POINT (-40.384485 -2.790645)', '2026-07-06 12:27:04', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384581 -2.79056)'), GeomFromEWKT('SRID=4674;POINT (-40.384485 -2.790645)'))) / (select extract(epoch from '2026-07-06 12:27:04'::timestamp) - extract(epoch from '2026-07-06 12:26:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384581 -2.79056)'), GeomFromEWKT('SRID=4674;POINT (-40.384485 -2.790645)'))) / (select extract(epoch from '2026-07-06 12:27:04'::timestamp) - extract(epoch from '2026-07-06 12:26:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.384362 -2.790719)', '2026-07-06 12:27:12', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384485 -2.790645)'), GeomFromEWKT('SRID=4674;POINT (-40.384362 -2.790719)'))) / (select extract(epoch from '2026-07-06 12:27:12'::timestamp) - extract(epoch from '2026-07-06 12:27:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384485 -2.790645)'), GeomFromEWKT('SRID=4674;POINT (-40.384362 -2.790719)'))) / (select extract(epoch from '2026-07-06 12:27:12'::timestamp) - extract(epoch from '2026-07-06 12:27:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.384259 -2.790756)', '2026-07-06 12:27:19', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384362 -2.790719)'), GeomFromEWKT('SRID=4674;POINT (-40.384259 -2.790756)'))) / (select extract(epoch from '2026-07-06 12:27:19'::timestamp) - extract(epoch from '2026-07-06 12:27:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384362 -2.790719)'), GeomFromEWKT('SRID=4674;POINT (-40.384259 -2.790756)'))) / (select extract(epoch from '2026-07-06 12:27:19'::timestamp) - extract(epoch from '2026-07-06 12:27:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.384118 -2.790803)', '2026-07-06 12:27:27', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384259 -2.790756)'), GeomFromEWKT('SRID=4674;POINT (-40.384118 -2.790803)'))) / (select extract(epoch from '2026-07-06 12:27:27'::timestamp) - extract(epoch from '2026-07-06 12:27:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384259 -2.790756)'), GeomFromEWKT('SRID=4674;POINT (-40.384118 -2.790803)'))) / (select extract(epoch from '2026-07-06 12:27:27'::timestamp) - extract(epoch from '2026-07-06 12:27: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'), 47828, 'SRID=4674;POINT (-40.383971 -2.790871)', '2026-07-06 12:27:35', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384118 -2.790803)'), GeomFromEWKT('SRID=4674;POINT (-40.383971 -2.790871)'))) / (select extract(epoch from '2026-07-06 12:27:35'::timestamp) - extract(epoch from '2026-07-06 12:27:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384118 -2.790803)'), GeomFromEWKT('SRID=4674;POINT (-40.383971 -2.790871)'))) / (select extract(epoch from '2026-07-06 12:27:35'::timestamp) - extract(epoch from '2026-07-06 12:27:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.383848 -2.790924)', '2026-07-06 12:27:42', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383971 -2.790871)'), GeomFromEWKT('SRID=4674;POINT (-40.383848 -2.790924)'))) / (select extract(epoch from '2026-07-06 12:27:42'::timestamp) - extract(epoch from '2026-07-06 12:27:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383971 -2.790871)'), GeomFromEWKT('SRID=4674;POINT (-40.383848 -2.790924)'))) / (select extract(epoch from '2026-07-06 12:27:42'::timestamp) - extract(epoch from '2026-07-06 12:27:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.383737 -2.790993)', '2026-07-06 12:27:49', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383848 -2.790924)'), GeomFromEWKT('SRID=4674;POINT (-40.383737 -2.790993)'))) / (select extract(epoch from '2026-07-06 12:27:49'::timestamp) - extract(epoch from '2026-07-06 12:27:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383848 -2.790924)'), GeomFromEWKT('SRID=4674;POINT (-40.383737 -2.790993)'))) / (select extract(epoch from '2026-07-06 12:27:49'::timestamp) - extract(epoch from '2026-07-06 12:27: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'), 47828, 'SRID=4674;POINT (-40.383631 -2.791065)', '2026-07-06 12:27:56', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383737 -2.790993)'), GeomFromEWKT('SRID=4674;POINT (-40.383631 -2.791065)'))) / (select extract(epoch from '2026-07-06 12:27:56'::timestamp) - extract(epoch from '2026-07-06 12:27:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383737 -2.790993)'), GeomFromEWKT('SRID=4674;POINT (-40.383631 -2.791065)'))) / (select extract(epoch from '2026-07-06 12:27:56'::timestamp) - extract(epoch from '2026-07-06 12:27: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'), 47828, 'SRID=4674;POINT (-40.383535 -2.79111)', '2026-07-06 12:28:03', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383631 -2.791065)'), GeomFromEWKT('SRID=4674;POINT (-40.383535 -2.79111)'))) / (select extract(epoch from '2026-07-06 12:28:03'::timestamp) - extract(epoch from '2026-07-06 12:27:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383631 -2.791065)'), GeomFromEWKT('SRID=4674;POINT (-40.383535 -2.79111)'))) / (select extract(epoch from '2026-07-06 12:28:03'::timestamp) - extract(epoch from '2026-07-06 12:27:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.38342 -2.791159)', '2026-07-06 12:28:10', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383535 -2.79111)'), GeomFromEWKT('SRID=4674;POINT (-40.38342 -2.791159)'))) / (select extract(epoch from '2026-07-06 12:28:10'::timestamp) - extract(epoch from '2026-07-06 12:28:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383535 -2.79111)'), GeomFromEWKT('SRID=4674;POINT (-40.38342 -2.791159)'))) / (select extract(epoch from '2026-07-06 12:28:10'::timestamp) - extract(epoch from '2026-07-06 12: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'), 47828, 'SRID=4674;POINT (-40.383284 -2.791236)', '2026-07-06 12:28:18', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38342 -2.791159)'), GeomFromEWKT('SRID=4674;POINT (-40.383284 -2.791236)'))) / (select extract(epoch from '2026-07-06 12:28:18'::timestamp) - extract(epoch from '2026-07-06 12:28:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38342 -2.791159)'), GeomFromEWKT('SRID=4674;POINT (-40.383284 -2.791236)'))) / (select extract(epoch from '2026-07-06 12:28:18'::timestamp) - extract(epoch from '2026-07-06 12:28: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'), 47828, 'SRID=4674;POINT (-40.38314 -2.791318)', '2026-07-06 12:28:26', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383284 -2.791236)'), GeomFromEWKT('SRID=4674;POINT (-40.38314 -2.791318)'))) / (select extract(epoch from '2026-07-06 12:28:26'::timestamp) - extract(epoch from '2026-07-06 12:28:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383284 -2.791236)'), GeomFromEWKT('SRID=4674;POINT (-40.38314 -2.791318)'))) / (select extract(epoch from '2026-07-06 12:28:26'::timestamp) - extract(epoch from '2026-07-06 12: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'), 47828, 'SRID=4674;POINT (-40.383041 -2.79138)', '2026-07-06 12:28:32', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38314 -2.791318)'), GeomFromEWKT('SRID=4674;POINT (-40.383041 -2.79138)'))) / (select extract(epoch from '2026-07-06 12:28:32'::timestamp) - extract(epoch from '2026-07-06 12:28:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38314 -2.791318)'), GeomFromEWKT('SRID=4674;POINT (-40.383041 -2.79138)'))) / (select extract(epoch from '2026-07-06 12:28:32'::timestamp) - extract(epoch from '2026-07-06 12:28: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'), 47828, 'SRID=4674;POINT (-40.382906 -2.79146)', '2026-07-06 12:28:40', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383041 -2.79138)'), GeomFromEWKT('SRID=4674;POINT (-40.382906 -2.79146)'))) / (select extract(epoch from '2026-07-06 12:28:40'::timestamp) - extract(epoch from '2026-07-06 12:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383041 -2.79138)'), GeomFromEWKT('SRID=4674;POINT (-40.382906 -2.79146)'))) / (select extract(epoch from '2026-07-06 12:28:40'::timestamp) - extract(epoch from '2026-07-06 12: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'), 47828, 'SRID=4674;POINT (-40.382774 -2.791536)', '2026-07-06 12:28:48', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382906 -2.79146)'), GeomFromEWKT('SRID=4674;POINT (-40.382774 -2.791536)'))) / (select extract(epoch from '2026-07-06 12:28:48'::timestamp) - extract(epoch from '2026-07-06 12:28:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382906 -2.79146)'), GeomFromEWKT('SRID=4674;POINT (-40.382774 -2.791536)'))) / (select extract(epoch from '2026-07-06 12:28:48'::timestamp) - extract(epoch from '2026-07-06 12:28:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.382641 -2.791599)', '2026-07-06 12:28:56', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382774 -2.791536)'), GeomFromEWKT('SRID=4674;POINT (-40.382641 -2.791599)'))) / (select extract(epoch from '2026-07-06 12:28:56'::timestamp) - extract(epoch from '2026-07-06 12:28:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382774 -2.791536)'), GeomFromEWKT('SRID=4674;POINT (-40.382641 -2.791599)'))) / (select extract(epoch from '2026-07-06 12:28:56'::timestamp) - extract(epoch from '2026-07-06 12:28:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.382496 -2.791662)', '2026-07-06 12:29:04', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382641 -2.791599)'), GeomFromEWKT('SRID=4674;POINT (-40.382496 -2.791662)'))) / (select extract(epoch from '2026-07-06 12:29:04'::timestamp) - extract(epoch from '2026-07-06 12:28:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382641 -2.791599)'), GeomFromEWKT('SRID=4674;POINT (-40.382496 -2.791662)'))) / (select extract(epoch from '2026-07-06 12:29:04'::timestamp) - extract(epoch from '2026-07-06 12:28:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.382375 -2.791708)', '2026-07-06 12:29:11', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382496 -2.791662)'), GeomFromEWKT('SRID=4674;POINT (-40.382375 -2.791708)'))) / (select extract(epoch from '2026-07-06 12:29:11'::timestamp) - extract(epoch from '2026-07-06 12:29:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382496 -2.791662)'), GeomFromEWKT('SRID=4674;POINT (-40.382375 -2.791708)'))) / (select extract(epoch from '2026-07-06 12:29:11'::timestamp) - extract(epoch from '2026-07-06 12:29: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'), 47828, 'SRID=4674;POINT (-40.382256 -2.791783)', '2026-07-06 12:29:18', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382375 -2.791708)'), GeomFromEWKT('SRID=4674;POINT (-40.382256 -2.791783)'))) / (select extract(epoch from '2026-07-06 12:29:18'::timestamp) - extract(epoch from '2026-07-06 12:29:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382375 -2.791708)'), GeomFromEWKT('SRID=4674;POINT (-40.382256 -2.791783)'))) / (select extract(epoch from '2026-07-06 12:29:18'::timestamp) - extract(epoch from '2026-07-06 12:29: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'), 47828, 'SRID=4674;POINT (-40.382123 -2.791903)', '2026-07-06 12:29:27', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382256 -2.791783)'), GeomFromEWKT('SRID=4674;POINT (-40.382123 -2.791903)'))) / (select extract(epoch from '2026-07-06 12:29:27'::timestamp) - extract(epoch from '2026-07-06 12:29:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382256 -2.791783)'), GeomFromEWKT('SRID=4674;POINT (-40.382123 -2.791903)'))) / (select extract(epoch from '2026-07-06 12:29:27'::timestamp) - extract(epoch from '2026-07-06 12:29:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.382037 -2.792014)', '2026-07-06 12:29:34', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382123 -2.791903)'), GeomFromEWKT('SRID=4674;POINT (-40.382037 -2.792014)'))) / (select extract(epoch from '2026-07-06 12:29:34'::timestamp) - extract(epoch from '2026-07-06 12:29:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382123 -2.791903)'), GeomFromEWKT('SRID=4674;POINT (-40.382037 -2.792014)'))) / (select extract(epoch from '2026-07-06 12:29:34'::timestamp) - extract(epoch from '2026-07-06 12: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'), 47828, 'SRID=4674;POINT (-40.381898 -2.792115)', '2026-07-06 12:29:43', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382037 -2.792014)'), GeomFromEWKT('SRID=4674;POINT (-40.381898 -2.792115)'))) / (select extract(epoch from '2026-07-06 12:29:43'::timestamp) - extract(epoch from '2026-07-06 12:29:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382037 -2.792014)'), GeomFromEWKT('SRID=4674;POINT (-40.381898 -2.792115)'))) / (select extract(epoch from '2026-07-06 12:29:43'::timestamp) - extract(epoch from '2026-07-06 12: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'), 47828, 'SRID=4674;POINT (-40.381801 -2.792184)', '2026-07-06 12:29:49', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381898 -2.792115)'), GeomFromEWKT('SRID=4674;POINT (-40.381801 -2.792184)'))) / (select extract(epoch from '2026-07-06 12:29:49'::timestamp) - extract(epoch from '2026-07-06 12:29:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381898 -2.792115)'), GeomFromEWKT('SRID=4674;POINT (-40.381801 -2.792184)'))) / (select extract(epoch from '2026-07-06 12:29:49'::timestamp) - extract(epoch from '2026-07-06 12:29:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.381638 -2.792276)', '2026-07-06 12:29:58', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381801 -2.792184)'), GeomFromEWKT('SRID=4674;POINT (-40.381638 -2.792276)'))) / (select extract(epoch from '2026-07-06 12:29:58'::timestamp) - extract(epoch from '2026-07-06 12:29:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381801 -2.792184)'), GeomFromEWKT('SRID=4674;POINT (-40.381638 -2.792276)'))) / (select extract(epoch from '2026-07-06 12:29:58'::timestamp) - extract(epoch from '2026-07-06 12:29:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.381493 -2.792395)', '2026-07-06 12:30:07', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381638 -2.792276)'), GeomFromEWKT('SRID=4674;POINT (-40.381493 -2.792395)'))) / (select extract(epoch from '2026-07-06 12:30:07'::timestamp) - extract(epoch from '2026-07-06 12:29:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381638 -2.792276)'), GeomFromEWKT('SRID=4674;POINT (-40.381493 -2.792395)'))) / (select extract(epoch from '2026-07-06 12:30:07'::timestamp) - extract(epoch from '2026-07-06 12:29: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'), 47828, 'SRID=4674;POINT (-40.381385 -2.792461)', '2026-07-06 12:30:14', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381493 -2.792395)'), GeomFromEWKT('SRID=4674;POINT (-40.381385 -2.792461)'))) / (select extract(epoch from '2026-07-06 12:30:14'::timestamp) - extract(epoch from '2026-07-06 12:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381493 -2.792395)'), GeomFromEWKT('SRID=4674;POINT (-40.381385 -2.792461)'))) / (select extract(epoch from '2026-07-06 12:30:14'::timestamp) - extract(epoch from '2026-07-06 12:30:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.381249 -2.792544)', '2026-07-06 12:30:22', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381385 -2.792461)'), GeomFromEWKT('SRID=4674;POINT (-40.381249 -2.792544)'))) / (select extract(epoch from '2026-07-06 12:30:22'::timestamp) - extract(epoch from '2026-07-06 12:30:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381385 -2.792461)'), GeomFromEWKT('SRID=4674;POINT (-40.381249 -2.792544)'))) / (select extract(epoch from '2026-07-06 12:30:22'::timestamp) - extract(epoch from '2026-07-06 12:30: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'), 47828, 'SRID=4674;POINT (-40.381111 -2.792612)', '2026-07-06 12:30:30', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381249 -2.792544)'), GeomFromEWKT('SRID=4674;POINT (-40.381111 -2.792612)'))) / (select extract(epoch from '2026-07-06 12:30:30'::timestamp) - extract(epoch from '2026-07-06 12:30:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381249 -2.792544)'), GeomFromEWKT('SRID=4674;POINT (-40.381111 -2.792612)'))) / (select extract(epoch from '2026-07-06 12:30:30'::timestamp) - extract(epoch from '2026-07-06 12: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'), 47828, 'SRID=4674;POINT (-40.38099 -2.792686)', '2026-07-06 12:30:37', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381111 -2.792612)'), GeomFromEWKT('SRID=4674;POINT (-40.38099 -2.792686)'))) / (select extract(epoch from '2026-07-06 12:30:37'::timestamp) - extract(epoch from '2026-07-06 12:30:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381111 -2.792612)'), GeomFromEWKT('SRID=4674;POINT (-40.38099 -2.792686)'))) / (select extract(epoch from '2026-07-06 12:30:37'::timestamp) - extract(epoch from '2026-07-06 12:30: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'), 47828, 'SRID=4674;POINT (-40.380852 -2.792761)', '2026-07-06 12:30:45', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38099 -2.792686)'), GeomFromEWKT('SRID=4674;POINT (-40.380852 -2.792761)'))) / (select extract(epoch from '2026-07-06 12:30:45'::timestamp) - extract(epoch from '2026-07-06 12:30:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38099 -2.792686)'), GeomFromEWKT('SRID=4674;POINT (-40.380852 -2.792761)'))) / (select extract(epoch from '2026-07-06 12:30:45'::timestamp) - extract(epoch from '2026-07-06 12:30: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'), 47828, 'SRID=4674;POINT (-40.380694 -2.792835)', '2026-07-06 12:30:54', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380852 -2.792761)'), GeomFromEWKT('SRID=4674;POINT (-40.380694 -2.792835)'))) / (select extract(epoch from '2026-07-06 12:30:54'::timestamp) - extract(epoch from '2026-07-06 12:30:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380852 -2.792761)'), GeomFromEWKT('SRID=4674;POINT (-40.380694 -2.792835)'))) / (select extract(epoch from '2026-07-06 12:30:54'::timestamp) - extract(epoch from '2026-07-06 12:30:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.380579 -2.792908)', '2026-07-06 12:31:01', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380694 -2.792835)'), GeomFromEWKT('SRID=4674;POINT (-40.380579 -2.792908)'))) / (select extract(epoch from '2026-07-06 12:31:01'::timestamp) - extract(epoch from '2026-07-06 12:30:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380694 -2.792835)'), GeomFromEWKT('SRID=4674;POINT (-40.380579 -2.792908)'))) / (select extract(epoch from '2026-07-06 12:31:01'::timestamp) - extract(epoch from '2026-07-06 12: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'), 47828, 'SRID=4674;POINT (-40.380423 -2.792992)', '2026-07-06 12:31:10', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380579 -2.792908)'), GeomFromEWKT('SRID=4674;POINT (-40.380423 -2.792992)'))) / (select extract(epoch from '2026-07-06 12:31:10'::timestamp) - extract(epoch from '2026-07-06 12:31:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380579 -2.792908)'), GeomFromEWKT('SRID=4674;POINT (-40.380423 -2.792992)'))) / (select extract(epoch from '2026-07-06 12:31:10'::timestamp) - extract(epoch from '2026-07-06 12:31: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'), 47828, 'SRID=4674;POINT (-40.380263 -2.793075)', '2026-07-06 12:31:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380423 -2.792992)'), GeomFromEWKT('SRID=4674;POINT (-40.380263 -2.793075)'))) / (select extract(epoch from '2026-07-06 12:31:19'::timestamp) - extract(epoch from '2026-07-06 12:31:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380423 -2.792992)'), GeomFromEWKT('SRID=4674;POINT (-40.380263 -2.793075)'))) / (select extract(epoch from '2026-07-06 12:31:19'::timestamp) - extract(epoch from '2026-07-06 12:31:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.380136 -2.793157)', '2026-07-06 12:31:27', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380263 -2.793075)'), GeomFromEWKT('SRID=4674;POINT (-40.380136 -2.793157)'))) / (select extract(epoch from '2026-07-06 12:31:27'::timestamp) - extract(epoch from '2026-07-06 12:31:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380263 -2.793075)'), GeomFromEWKT('SRID=4674;POINT (-40.380136 -2.793157)'))) / (select extract(epoch from '2026-07-06 12:31:27'::timestamp) - extract(epoch from '2026-07-06 12:31: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'), 47828, 'SRID=4674;POINT (-40.380021 -2.793243)', '2026-07-06 12:31:35', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380136 -2.793157)'), GeomFromEWKT('SRID=4674;POINT (-40.380021 -2.793243)'))) / (select extract(epoch from '2026-07-06 12:31:35'::timestamp) - extract(epoch from '2026-07-06 12:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380136 -2.793157)'), GeomFromEWKT('SRID=4674;POINT (-40.380021 -2.793243)'))) / (select extract(epoch from '2026-07-06 12:31:35'::timestamp) - extract(epoch from '2026-07-06 12: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'), 47828, 'SRID=4674;POINT (-40.379897 -2.79327)', '2026-07-06 12:31:42', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380021 -2.793243)'), GeomFromEWKT('SRID=4674;POINT (-40.379897 -2.79327)'))) / (select extract(epoch from '2026-07-06 12:31:42'::timestamp) - extract(epoch from '2026-07-06 12:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380021 -2.793243)'), GeomFromEWKT('SRID=4674;POINT (-40.379897 -2.79327)'))) / (select extract(epoch from '2026-07-06 12:31:42'::timestamp) - extract(epoch from '2026-07-06 12:31: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'), 47828, 'SRID=4674;POINT (-40.379751 -2.793337)', '2026-07-06 12:31:50', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379897 -2.79327)'), GeomFromEWKT('SRID=4674;POINT (-40.379751 -2.793337)'))) / (select extract(epoch from '2026-07-06 12:31:50'::timestamp) - extract(epoch from '2026-07-06 12:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379897 -2.79327)'), GeomFromEWKT('SRID=4674;POINT (-40.379751 -2.793337)'))) / (select extract(epoch from '2026-07-06 12:31:50'::timestamp) - extract(epoch from '2026-07-06 12:31:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.379631 -2.793411)', '2026-07-06 12:31:57', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379751 -2.793337)'), GeomFromEWKT('SRID=4674;POINT (-40.379631 -2.793411)'))) / (select extract(epoch from '2026-07-06 12:31:57'::timestamp) - extract(epoch from '2026-07-06 12:31:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379751 -2.793337)'), GeomFromEWKT('SRID=4674;POINT (-40.379631 -2.793411)'))) / (select extract(epoch from '2026-07-06 12:31:57'::timestamp) - extract(epoch from '2026-07-06 12:31: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'), 47828, 'SRID=4674;POINT (-40.379512 -2.793462)', '2026-07-06 12:32:04', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379631 -2.793411)'), GeomFromEWKT('SRID=4674;POINT (-40.379512 -2.793462)'))) / (select extract(epoch from '2026-07-06 12:32:04'::timestamp) - extract(epoch from '2026-07-06 12:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379631 -2.793411)'), GeomFromEWKT('SRID=4674;POINT (-40.379512 -2.793462)'))) / (select extract(epoch from '2026-07-06 12:32:04'::timestamp) - extract(epoch from '2026-07-06 12:31: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'), 47828, 'SRID=4674;POINT (-40.379355 -2.793546)', '2026-07-06 12:32:13', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379512 -2.793462)'), GeomFromEWKT('SRID=4674;POINT (-40.379355 -2.793546)'))) / (select extract(epoch from '2026-07-06 12:32:13'::timestamp) - extract(epoch from '2026-07-06 12:32:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379512 -2.793462)'), GeomFromEWKT('SRID=4674;POINT (-40.379355 -2.793546)'))) / (select extract(epoch from '2026-07-06 12:32:13'::timestamp) - extract(epoch from '2026-07-06 12:32:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.3792 -2.79363)', '2026-07-06 12:32:22', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379355 -2.793546)'), GeomFromEWKT('SRID=4674;POINT (-40.3792 -2.79363)'))) / (select extract(epoch from '2026-07-06 12:32:22'::timestamp) - extract(epoch from '2026-07-06 12:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379355 -2.793546)'), GeomFromEWKT('SRID=4674;POINT (-40.3792 -2.79363)'))) / (select extract(epoch from '2026-07-06 12:32:22'::timestamp) - extract(epoch from '2026-07-06 12: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'), 47828, 'SRID=4674;POINT (-40.379064 -2.7937)', '2026-07-06 12:32:30', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3792 -2.79363)'), GeomFromEWKT('SRID=4674;POINT (-40.379064 -2.7937)'))) / (select extract(epoch from '2026-07-06 12:32:30'::timestamp) - extract(epoch from '2026-07-06 12:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3792 -2.79363)'), GeomFromEWKT('SRID=4674;POINT (-40.379064 -2.7937)'))) / (select extract(epoch from '2026-07-06 12:32:30'::timestamp) - extract(epoch from '2026-07-06 12:32: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'), 47828, 'SRID=4674;POINT (-40.378949 -2.793797)', '2026-07-06 12:32:37', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379064 -2.7937)'), GeomFromEWKT('SRID=4674;POINT (-40.378949 -2.793797)'))) / (select extract(epoch from '2026-07-06 12:32:37'::timestamp) - extract(epoch from '2026-07-06 12:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379064 -2.7937)'), GeomFromEWKT('SRID=4674;POINT (-40.378949 -2.793797)'))) / (select extract(epoch from '2026-07-06 12:32:37'::timestamp) - extract(epoch from '2026-07-06 12:32: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'), 47828, 'SRID=4674;POINT (-40.378829 -2.79389)', '2026-07-06 12:32:45', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378949 -2.793797)'), GeomFromEWKT('SRID=4674;POINT (-40.378829 -2.79389)'))) / (select extract(epoch from '2026-07-06 12:32:45'::timestamp) - extract(epoch from '2026-07-06 12:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378949 -2.793797)'), GeomFromEWKT('SRID=4674;POINT (-40.378829 -2.79389)'))) / (select extract(epoch from '2026-07-06 12:32:45'::timestamp) - extract(epoch from '2026-07-06 12:32:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.3787 -2.793975)', '2026-07-06 12:32:53', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378829 -2.79389)'), GeomFromEWKT('SRID=4674;POINT (-40.3787 -2.793975)'))) / (select extract(epoch from '2026-07-06 12:32:53'::timestamp) - extract(epoch from '2026-07-06 12:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378829 -2.79389)'), GeomFromEWKT('SRID=4674;POINT (-40.3787 -2.793975)'))) / (select extract(epoch from '2026-07-06 12:32:53'::timestamp) - extract(epoch from '2026-07-06 12:32:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.378603 -2.794083)', '2026-07-06 12:33:00', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3787 -2.793975)'), GeomFromEWKT('SRID=4674;POINT (-40.378603 -2.794083)'))) / (select extract(epoch from '2026-07-06 12:33:00'::timestamp) - extract(epoch from '2026-07-06 12:32:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3787 -2.793975)'), GeomFromEWKT('SRID=4674;POINT (-40.378603 -2.794083)'))) / (select extract(epoch from '2026-07-06 12:33:00'::timestamp) - extract(epoch from '2026-07-06 12:32: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'), 47828, 'SRID=4674;POINT (-40.378536 -2.79419)', '2026-07-06 12:33:06', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378603 -2.794083)'), GeomFromEWKT('SRID=4674;POINT (-40.378536 -2.79419)'))) / (select extract(epoch from '2026-07-06 12:33:06'::timestamp) - extract(epoch from '2026-07-06 12:33:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378603 -2.794083)'), GeomFromEWKT('SRID=4674;POINT (-40.378536 -2.79419)'))) / (select extract(epoch from '2026-07-06 12:33:06'::timestamp) - extract(epoch from '2026-07-06 12:33:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.378454 -2.794308)', '2026-07-06 12:33:13', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378536 -2.79419)'), GeomFromEWKT('SRID=4674;POINT (-40.378454 -2.794308)'))) / (select extract(epoch from '2026-07-06 12:33:13'::timestamp) - extract(epoch from '2026-07-06 12:33:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378536 -2.79419)'), GeomFromEWKT('SRID=4674;POINT (-40.378454 -2.794308)'))) / (select extract(epoch from '2026-07-06 12:33:13'::timestamp) - extract(epoch from '2026-07-06 12:33: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'), 47828, 'SRID=4674;POINT (-40.37837 -2.794396)', '2026-07-06 12:33:19', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378454 -2.794308)'), GeomFromEWKT('SRID=4674;POINT (-40.37837 -2.794396)'))) / (select extract(epoch from '2026-07-06 12:33:19'::timestamp) - extract(epoch from '2026-07-06 12:33:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378454 -2.794308)'), GeomFromEWKT('SRID=4674;POINT (-40.37837 -2.794396)'))) / (select extract(epoch from '2026-07-06 12:33:19'::timestamp) - extract(epoch from '2026-07-06 12:33: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'), 47828, 'SRID=4674;POINT (-40.378286 -2.794533)', '2026-07-06 12:33:27', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37837 -2.794396)'), GeomFromEWKT('SRID=4674;POINT (-40.378286 -2.794533)'))) / (select extract(epoch from '2026-07-06 12:33:27'::timestamp) - extract(epoch from '2026-07-06 12:33:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37837 -2.794396)'), GeomFromEWKT('SRID=4674;POINT (-40.378286 -2.794533)'))) / (select extract(epoch from '2026-07-06 12:33:27'::timestamp) - extract(epoch from '2026-07-06 12: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'), 47828, 'SRID=4674;POINT (-40.378206 -2.794673)', '2026-07-06 12:33:34', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378286 -2.794533)'), GeomFromEWKT('SRID=4674;POINT (-40.378206 -2.794673)'))) / (select extract(epoch from '2026-07-06 12:33:34'::timestamp) - extract(epoch from '2026-07-06 12:33:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378286 -2.794533)'), GeomFromEWKT('SRID=4674;POINT (-40.378206 -2.794673)'))) / (select extract(epoch from '2026-07-06 12:33:34'::timestamp) - extract(epoch from '2026-07-06 12:33: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'), 47828, 'SRID=4674;POINT (-40.37812 -2.794789)', '2026-07-06 12:33:41', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378206 -2.794673)'), GeomFromEWKT('SRID=4674;POINT (-40.37812 -2.794789)'))) / (select extract(epoch from '2026-07-06 12:33:41'::timestamp) - extract(epoch from '2026-07-06 12:33:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378206 -2.794673)'), GeomFromEWKT('SRID=4674;POINT (-40.37812 -2.794789)'))) / (select extract(epoch from '2026-07-06 12:33:41'::timestamp) - extract(epoch from '2026-07-06 12:33: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'), 47828, 'SRID=4674;POINT (-40.377968 -2.794947)', '2026-07-06 12:33:51', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37812 -2.794789)'), GeomFromEWKT('SRID=4674;POINT (-40.377968 -2.794947)'))) / (select extract(epoch from '2026-07-06 12:33:51'::timestamp) - extract(epoch from '2026-07-06 12:33:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37812 -2.794789)'), GeomFromEWKT('SRID=4674;POINT (-40.377968 -2.794947)'))) / (select extract(epoch from '2026-07-06 12:33:51'::timestamp) - extract(epoch from '2026-07-06 12:33: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'), 47828, 'SRID=4674;POINT (-40.377859 -2.795039)', '2026-07-06 12:33:58', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377968 -2.794947)'), GeomFromEWKT('SRID=4674;POINT (-40.377859 -2.795039)'))) / (select extract(epoch from '2026-07-06 12:33:58'::timestamp) - extract(epoch from '2026-07-06 12:33:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377968 -2.794947)'), GeomFromEWKT('SRID=4674;POINT (-40.377859 -2.795039)'))) / (select extract(epoch from '2026-07-06 12:33:58'::timestamp) - extract(epoch from '2026-07-06 12:33: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'), 47828, 'SRID=4674;POINT (-40.377739 -2.795136)', '2026-07-06 12:34:06', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377859 -2.795039)'), GeomFromEWKT('SRID=4674;POINT (-40.377739 -2.795136)'))) / (select extract(epoch from '2026-07-06 12:34:06'::timestamp) - extract(epoch from '2026-07-06 12:33:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377859 -2.795039)'), GeomFromEWKT('SRID=4674;POINT (-40.377739 -2.795136)'))) / (select extract(epoch from '2026-07-06 12:34:06'::timestamp) - extract(epoch from '2026-07-06 12:33: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'), 47828, 'SRID=4674;POINT (-40.377626 -2.795195)', '2026-07-06 12:34:13', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377739 -2.795136)'), GeomFromEWKT('SRID=4674;POINT (-40.377626 -2.795195)'))) / (select extract(epoch from '2026-07-06 12:34:13'::timestamp) - extract(epoch from '2026-07-06 12:34:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377739 -2.795136)'), GeomFromEWKT('SRID=4674;POINT (-40.377626 -2.795195)'))) / (select extract(epoch from '2026-07-06 12:34:13'::timestamp) - extract(epoch from '2026-07-06 12:34: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'), 47828, 'SRID=4674;POINT (-40.377462 -2.795272)', '2026-07-06 12:34:22', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377626 -2.795195)'), GeomFromEWKT('SRID=4674;POINT (-40.377462 -2.795272)'))) / (select extract(epoch from '2026-07-06 12:34:22'::timestamp) - extract(epoch from '2026-07-06 12:34:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377626 -2.795195)'), GeomFromEWKT('SRID=4674;POINT (-40.377462 -2.795272)'))) / (select extract(epoch from '2026-07-06 12:34:22'::timestamp) - extract(epoch from '2026-07-06 12:34:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.377322 -2.795338)', '2026-07-06 12:34:30', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377462 -2.795272)'), GeomFromEWKT('SRID=4674;POINT (-40.377322 -2.795338)'))) / (select extract(epoch from '2026-07-06 12:34:30'::timestamp) - extract(epoch from '2026-07-06 12:34:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377462 -2.795272)'), GeomFromEWKT('SRID=4674;POINT (-40.377322 -2.795338)'))) / (select extract(epoch from '2026-07-06 12:34:30'::timestamp) - extract(epoch from '2026-07-06 12:34:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.377181 -2.795405)', '2026-07-06 12:34:38', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377322 -2.795338)'), GeomFromEWKT('SRID=4674;POINT (-40.377181 -2.795405)'))) / (select extract(epoch from '2026-07-06 12:34:38'::timestamp) - extract(epoch from '2026-07-06 12:34:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377322 -2.795338)'), GeomFromEWKT('SRID=4674;POINT (-40.377181 -2.795405)'))) / (select extract(epoch from '2026-07-06 12:34:38'::timestamp) - extract(epoch from '2026-07-06 12:34: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'), 47828, 'SRID=4674;POINT (-40.377023 -2.795502)', '2026-07-06 12:34:47', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377181 -2.795405)'), GeomFromEWKT('SRID=4674;POINT (-40.377023 -2.795502)'))) / (select extract(epoch from '2026-07-06 12:34:47'::timestamp) - extract(epoch from '2026-07-06 12:34:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377181 -2.795405)'), GeomFromEWKT('SRID=4674;POINT (-40.377023 -2.795502)'))) / (select extract(epoch from '2026-07-06 12:34:47'::timestamp) - extract(epoch from '2026-07-06 12:34: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'), 47828, 'SRID=4674;POINT (-40.376894 -2.795607)', '2026-07-06 12:34:55', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377023 -2.795502)'), GeomFromEWKT('SRID=4674;POINT (-40.376894 -2.795607)'))) / (select extract(epoch from '2026-07-06 12:34:55'::timestamp) - extract(epoch from '2026-07-06 12:34:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377023 -2.795502)'), GeomFromEWKT('SRID=4674;POINT (-40.376894 -2.795607)'))) / (select extract(epoch from '2026-07-06 12:34:55'::timestamp) - extract(epoch from '2026-07-06 12:34:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.376799 -2.795681)', '2026-07-06 12:35:01', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376894 -2.795607)'), GeomFromEWKT('SRID=4674;POINT (-40.376799 -2.795681)'))) / (select extract(epoch from '2026-07-06 12:35:01'::timestamp) - extract(epoch from '2026-07-06 12:34:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376894 -2.795607)'), GeomFromEWKT('SRID=4674;POINT (-40.376799 -2.795681)'))) / (select extract(epoch from '2026-07-06 12:35:01'::timestamp) - extract(epoch from '2026-07-06 12:34: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'), 47828, 'SRID=4674;POINT (-40.376676 -2.795763)', '2026-07-06 12:35:08', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376799 -2.795681)'), GeomFromEWKT('SRID=4674;POINT (-40.376676 -2.795763)'))) / (select extract(epoch from '2026-07-06 12:35:08'::timestamp) - extract(epoch from '2026-07-06 12:35:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376799 -2.795681)'), GeomFromEWKT('SRID=4674;POINT (-40.376676 -2.795763)'))) / (select extract(epoch from '2026-07-06 12:35:08'::timestamp) - extract(epoch from '2026-07-06 12:35:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.376541 -2.795864)', '2026-07-06 12:35:16', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376676 -2.795763)'), GeomFromEWKT('SRID=4674;POINT (-40.376541 -2.795864)'))) / (select extract(epoch from '2026-07-06 12:35:16'::timestamp) - extract(epoch from '2026-07-06 12:35:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376676 -2.795763)'), GeomFromEWKT('SRID=4674;POINT (-40.376541 -2.795864)'))) / (select extract(epoch from '2026-07-06 12:35:16'::timestamp) - extract(epoch from '2026-07-06 12:35:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.376418 -2.795966)', '2026-07-06 12:35:24', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376541 -2.795864)'), GeomFromEWKT('SRID=4674;POINT (-40.376418 -2.795966)'))) / (select extract(epoch from '2026-07-06 12:35:24'::timestamp) - extract(epoch from '2026-07-06 12:35:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376541 -2.795864)'), GeomFromEWKT('SRID=4674;POINT (-40.376418 -2.795966)'))) / (select extract(epoch from '2026-07-06 12:35:24'::timestamp) - extract(epoch from '2026-07-06 12:35: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'), 47828, 'SRID=4674;POINT (-40.37635 -2.796043)', '2026-07-06 12:35:29', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376418 -2.795966)'), GeomFromEWKT('SRID=4674;POINT (-40.37635 -2.796043)'))) / (select extract(epoch from '2026-07-06 12:35:29'::timestamp) - extract(epoch from '2026-07-06 12:35:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376418 -2.795966)'), GeomFromEWKT('SRID=4674;POINT (-40.37635 -2.796043)'))) / (select extract(epoch from '2026-07-06 12:35:29'::timestamp) - extract(epoch from '2026-07-06 12:35: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'), 47828, 'SRID=4674;POINT (-40.376271 -2.796109)', '2026-07-06 12:35:35', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37635 -2.796043)'), GeomFromEWKT('SRID=4674;POINT (-40.376271 -2.796109)'))) / (select extract(epoch from '2026-07-06 12:35:35'::timestamp) - extract(epoch from '2026-07-06 12:35:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37635 -2.796043)'), GeomFromEWKT('SRID=4674;POINT (-40.376271 -2.796109)'))) / (select extract(epoch from '2026-07-06 12:35:35'::timestamp) - extract(epoch from '2026-07-06 12:35: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'), 47828, 'SRID=4674;POINT (-40.376137 -2.796166)', '2026-07-06 12:35:43', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376271 -2.796109)'), GeomFromEWKT('SRID=4674;POINT (-40.376137 -2.796166)'))) / (select extract(epoch from '2026-07-06 12:35:43'::timestamp) - extract(epoch from '2026-07-06 12:35:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376271 -2.796109)'), GeomFromEWKT('SRID=4674;POINT (-40.376137 -2.796166)'))) / (select extract(epoch from '2026-07-06 12:35:43'::timestamp) - extract(epoch from '2026-07-06 12:35:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.375991 -2.796141)', '2026-07-06 12:35:51', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376137 -2.796166)'), GeomFromEWKT('SRID=4674;POINT (-40.375991 -2.796141)'))) / (select extract(epoch from '2026-07-06 12:35:51'::timestamp) - extract(epoch from '2026-07-06 12:35:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376137 -2.796166)'), GeomFromEWKT('SRID=4674;POINT (-40.375991 -2.796141)'))) / (select extract(epoch from '2026-07-06 12:35:51'::timestamp) - extract(epoch from '2026-07-06 12:35: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'), 47828, 'SRID=4674;POINT (-40.375924 -2.796047)', '2026-07-06 12:35:57', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375991 -2.796141)'), GeomFromEWKT('SRID=4674;POINT (-40.375924 -2.796047)'))) / (select extract(epoch from '2026-07-06 12:35:57'::timestamp) - extract(epoch from '2026-07-06 12:35:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375991 -2.796141)'), GeomFromEWKT('SRID=4674;POINT (-40.375924 -2.796047)'))) / (select extract(epoch from '2026-07-06 12:35:57'::timestamp) - extract(epoch from '2026-07-06 12:35:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.375811 -2.796005)', '2026-07-06 12:36:04', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375924 -2.796047)'), GeomFromEWKT('SRID=4674;POINT (-40.375811 -2.796005)'))) / (select extract(epoch from '2026-07-06 12:36:04'::timestamp) - extract(epoch from '2026-07-06 12:35:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375924 -2.796047)'), GeomFromEWKT('SRID=4674;POINT (-40.375811 -2.796005)'))) / (select extract(epoch from '2026-07-06 12:36:04'::timestamp) - extract(epoch from '2026-07-06 12:35:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.375728 -2.796027)', '2026-07-06 12:36:09', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375811 -2.796005)'), GeomFromEWKT('SRID=4674;POINT (-40.375728 -2.796027)'))) / (select extract(epoch from '2026-07-06 12:36:09'::timestamp) - extract(epoch from '2026-07-06 12:36:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375811 -2.796005)'), GeomFromEWKT('SRID=4674;POINT (-40.375728 -2.796027)'))) / (select extract(epoch from '2026-07-06 12:36:09'::timestamp) - extract(epoch from '2026-07-06 12:36: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'), 47828, 'SRID=4674;POINT (-40.375615 -2.796092)', '2026-07-06 12:36:17', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375728 -2.796027)'), GeomFromEWKT('SRID=4674;POINT (-40.375615 -2.796092)'))) / (select extract(epoch from '2026-07-06 12:36:17'::timestamp) - extract(epoch from '2026-07-06 12:36:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375728 -2.796027)'), GeomFromEWKT('SRID=4674;POINT (-40.375615 -2.796092)'))) / (select extract(epoch from '2026-07-06 12:36:17'::timestamp) - extract(epoch from '2026-07-06 12:36: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'), 47828, 'SRID=4674;POINT (-40.375519 -2.796109)', '2026-07-06 12:36:23', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375615 -2.796092)'), GeomFromEWKT('SRID=4674;POINT (-40.375519 -2.796109)'))) / (select extract(epoch from '2026-07-06 12:36:23'::timestamp) - extract(epoch from '2026-07-06 12:36:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375615 -2.796092)'), GeomFromEWKT('SRID=4674;POINT (-40.375519 -2.796109)'))) / (select extract(epoch from '2026-07-06 12:36:23'::timestamp) - extract(epoch from '2026-07-06 12:36:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.37543 -2.796112)', '2026-07-06 12:36:29', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375519 -2.796109)'), GeomFromEWKT('SRID=4674;POINT (-40.37543 -2.796112)'))) / (select extract(epoch from '2026-07-06 12:36:29'::timestamp) - extract(epoch from '2026-07-06 12:36:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375519 -2.796109)'), GeomFromEWKT('SRID=4674;POINT (-40.37543 -2.796112)'))) / (select extract(epoch from '2026-07-06 12:36:29'::timestamp) - extract(epoch from '2026-07-06 12:36: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'), 47828, 'SRID=4674;POINT (-40.375329 -2.796172)', '2026-07-06 12:36:36', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37543 -2.796112)'), GeomFromEWKT('SRID=4674;POINT (-40.375329 -2.796172)'))) / (select extract(epoch from '2026-07-06 12:36:36'::timestamp) - extract(epoch from '2026-07-06 12:36:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37543 -2.796112)'), GeomFromEWKT('SRID=4674;POINT (-40.375329 -2.796172)'))) / (select extract(epoch from '2026-07-06 12:36:36'::timestamp) - extract(epoch from '2026-07-06 12:36: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'), 47828, 'SRID=4674;POINT (-40.375248 -2.796247)', '2026-07-06 12:36:42', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375329 -2.796172)'), GeomFromEWKT('SRID=4674;POINT (-40.375248 -2.796247)'))) / (select extract(epoch from '2026-07-06 12:36:42'::timestamp) - extract(epoch from '2026-07-06 12:36:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375329 -2.796172)'), GeomFromEWKT('SRID=4674;POINT (-40.375248 -2.796247)'))) / (select extract(epoch from '2026-07-06 12:36:42'::timestamp) - extract(epoch from '2026-07-06 12:36:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.37516 -2.796353)', '2026-07-06 12:36:49', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375248 -2.796247)'), GeomFromEWKT('SRID=4674;POINT (-40.37516 -2.796353)'))) / (select extract(epoch from '2026-07-06 12:36:49'::timestamp) - extract(epoch from '2026-07-06 12:36:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375248 -2.796247)'), GeomFromEWKT('SRID=4674;POINT (-40.37516 -2.796353)'))) / (select extract(epoch from '2026-07-06 12:36:49'::timestamp) - extract(epoch from '2026-07-06 12:36:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.375055 -2.796484)', '2026-07-06 12:36:57', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37516 -2.796353)'), GeomFromEWKT('SRID=4674;POINT (-40.375055 -2.796484)'))) / (select extract(epoch from '2026-07-06 12:36:57'::timestamp) - extract(epoch from '2026-07-06 12:36:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37516 -2.796353)'), GeomFromEWKT('SRID=4674;POINT (-40.375055 -2.796484)'))) / (select extract(epoch from '2026-07-06 12:36:57'::timestamp) - extract(epoch from '2026-07-06 12:36:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.374942 -2.79657)', '2026-07-06 12:37:04', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375055 -2.796484)'), GeomFromEWKT('SRID=4674;POINT (-40.374942 -2.79657)'))) / (select extract(epoch from '2026-07-06 12:37:04'::timestamp) - extract(epoch from '2026-07-06 12:36:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375055 -2.796484)'), GeomFromEWKT('SRID=4674;POINT (-40.374942 -2.79657)'))) / (select extract(epoch from '2026-07-06 12:37:04'::timestamp) - extract(epoch from '2026-07-06 12:36: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'), 47828, 'SRID=4674;POINT (-40.374838 -2.796635)', '2026-07-06 12:37:11', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374942 -2.79657)'), GeomFromEWKT('SRID=4674;POINT (-40.374838 -2.796635)'))) / (select extract(epoch from '2026-07-06 12:37:11'::timestamp) - extract(epoch from '2026-07-06 12:37:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374942 -2.79657)'), GeomFromEWKT('SRID=4674;POINT (-40.374838 -2.796635)'))) / (select extract(epoch from '2026-07-06 12:37:11'::timestamp) - extract(epoch from '2026-07-06 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'), 47828, 'SRID=4674;POINT (-40.374722 -2.79671)', '2026-07-06 12:37:19', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374838 -2.796635)'), GeomFromEWKT('SRID=4674;POINT (-40.374722 -2.79671)'))) / (select extract(epoch from '2026-07-06 12:37:19'::timestamp) - extract(epoch from '2026-07-06 12:37:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374838 -2.796635)'), GeomFromEWKT('SRID=4674;POINT (-40.374722 -2.79671)'))) / (select extract(epoch from '2026-07-06 12:37:19'::timestamp) - extract(epoch from '2026-07-06 12:37:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.374629 -2.796799)', '2026-07-06 12:37:26', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374722 -2.79671)'), GeomFromEWKT('SRID=4674;POINT (-40.374629 -2.796799)'))) / (select extract(epoch from '2026-07-06 12:37:26'::timestamp) - extract(epoch from '2026-07-06 12:37:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374722 -2.79671)'), GeomFromEWKT('SRID=4674;POINT (-40.374629 -2.796799)'))) / (select extract(epoch from '2026-07-06 12:37:26'::timestamp) - extract(epoch from '2026-07-06 12:37:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.374496 -2.796863)', '2026-07-06 12:37:34', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374629 -2.796799)'), GeomFromEWKT('SRID=4674;POINT (-40.374496 -2.796863)'))) / (select extract(epoch from '2026-07-06 12:37:34'::timestamp) - extract(epoch from '2026-07-06 12:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374629 -2.796799)'), GeomFromEWKT('SRID=4674;POINT (-40.374496 -2.796863)'))) / (select extract(epoch from '2026-07-06 12:37:34'::timestamp) - extract(epoch from '2026-07-06 12:37: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'), 47828, 'SRID=4674;POINT (-40.374326 -2.796935)', '2026-07-06 12:37:43', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374496 -2.796863)'), GeomFromEWKT('SRID=4674;POINT (-40.374326 -2.796935)'))) / (select extract(epoch from '2026-07-06 12:37:43'::timestamp) - extract(epoch from '2026-07-06 12:37:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374496 -2.796863)'), GeomFromEWKT('SRID=4674;POINT (-40.374326 -2.796935)'))) / (select extract(epoch from '2026-07-06 12:37:43'::timestamp) - extract(epoch from '2026-07-06 12:37: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'), 47828, 'SRID=4674;POINT (-40.374174 -2.796988)', '2026-07-06 12:37:51', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374326 -2.796935)'), GeomFromEWKT('SRID=4674;POINT (-40.374174 -2.796988)'))) / (select extract(epoch from '2026-07-06 12:37:51'::timestamp) - extract(epoch from '2026-07-06 12:37:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374326 -2.796935)'), GeomFromEWKT('SRID=4674;POINT (-40.374174 -2.796988)'))) / (select extract(epoch from '2026-07-06 12:37:51'::timestamp) - extract(epoch from '2026-07-06 12:37:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.374062 -2.797032)', '2026-07-06 12:37:57', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374174 -2.796988)'), GeomFromEWKT('SRID=4674;POINT (-40.374062 -2.797032)'))) / (select extract(epoch from '2026-07-06 12:37:57'::timestamp) - extract(epoch from '2026-07-06 12:37:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374174 -2.796988)'), GeomFromEWKT('SRID=4674;POINT (-40.374062 -2.797032)'))) / (select extract(epoch from '2026-07-06 12:37:57'::timestamp) - extract(epoch from '2026-07-06 12:37:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.373943 -2.797064)', '2026-07-06 12:38:04', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374062 -2.797032)'), GeomFromEWKT('SRID=4674;POINT (-40.373943 -2.797064)'))) / (select extract(epoch from '2026-07-06 12:38:04'::timestamp) - extract(epoch from '2026-07-06 12:37:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374062 -2.797032)'), GeomFromEWKT('SRID=4674;POINT (-40.373943 -2.797064)'))) / (select extract(epoch from '2026-07-06 12:38:04'::timestamp) - extract(epoch from '2026-07-06 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'), 47828, 'SRID=4674;POINT (-40.373848 -2.797096)', '2026-07-06 12:38:10', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373943 -2.797064)'), GeomFromEWKT('SRID=4674;POINT (-40.373848 -2.797096)'))) / (select extract(epoch from '2026-07-06 12:38:10'::timestamp) - extract(epoch from '2026-07-06 12:38:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373943 -2.797064)'), GeomFromEWKT('SRID=4674;POINT (-40.373848 -2.797096)'))) / (select extract(epoch from '2026-07-06 12:38:10'::timestamp) - extract(epoch from '2026-07-06 12:38: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'), 47828, 'SRID=4674;POINT (-40.373702 -2.797173)', '2026-07-06 12:38:19', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373848 -2.797096)'), GeomFromEWKT('SRID=4674;POINT (-40.373702 -2.797173)'))) / (select extract(epoch from '2026-07-06 12:38:19'::timestamp) - extract(epoch from '2026-07-06 12:38:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373848 -2.797096)'), GeomFromEWKT('SRID=4674;POINT (-40.373702 -2.797173)'))) / (select extract(epoch from '2026-07-06 12:38:19'::timestamp) - extract(epoch from '2026-07-06 12:38:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.373562 -2.797231)', '2026-07-06 12:38:27', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373702 -2.797173)'), GeomFromEWKT('SRID=4674;POINT (-40.373562 -2.797231)'))) / (select extract(epoch from '2026-07-06 12:38:27'::timestamp) - extract(epoch from '2026-07-06 12:38:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373702 -2.797173)'), GeomFromEWKT('SRID=4674;POINT (-40.373562 -2.797231)'))) / (select extract(epoch from '2026-07-06 12:38:27'::timestamp) - extract(epoch from '2026-07-06 12:38:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.373408 -2.797292)', '2026-07-06 12:38:35', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373562 -2.797231)'), GeomFromEWKT('SRID=4674;POINT (-40.373408 -2.797292)'))) / (select extract(epoch from '2026-07-06 12:38:35'::timestamp) - extract(epoch from '2026-07-06 12:38:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373562 -2.797231)'), GeomFromEWKT('SRID=4674;POINT (-40.373408 -2.797292)'))) / (select extract(epoch from '2026-07-06 12:38:35'::timestamp) - extract(epoch from '2026-07-06 12:38:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.373264 -2.797345)', '2026-07-06 12:38:43', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373408 -2.797292)'), GeomFromEWKT('SRID=4674;POINT (-40.373264 -2.797345)'))) / (select extract(epoch from '2026-07-06 12:38:43'::timestamp) - extract(epoch from '2026-07-06 12:38:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373408 -2.797292)'), GeomFromEWKT('SRID=4674;POINT (-40.373264 -2.797345)'))) / (select extract(epoch from '2026-07-06 12:38:43'::timestamp) - extract(epoch from '2026-07-06 12:38:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.373126 -2.797405)', '2026-07-06 12:38:51', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373264 -2.797345)'), GeomFromEWKT('SRID=4674;POINT (-40.373126 -2.797405)'))) / (select extract(epoch from '2026-07-06 12:38:51'::timestamp) - extract(epoch from '2026-07-06 12:38:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373264 -2.797345)'), GeomFromEWKT('SRID=4674;POINT (-40.373126 -2.797405)'))) / (select extract(epoch from '2026-07-06 12:38:51'::timestamp) - extract(epoch from '2026-07-06 12:38:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.372992 -2.79746)', '2026-07-06 12:38:59', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373126 -2.797405)'), GeomFromEWKT('SRID=4674;POINT (-40.372992 -2.79746)'))) / (select extract(epoch from '2026-07-06 12:38:59'::timestamp) - extract(epoch from '2026-07-06 12:38:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373126 -2.797405)'), GeomFromEWKT('SRID=4674;POINT (-40.372992 -2.79746)'))) / (select extract(epoch from '2026-07-06 12:38:59'::timestamp) - extract(epoch from '2026-07-06 12:38: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'), 47828, 'SRID=4674;POINT (-40.372872 -2.797516)', '2026-07-06 12:39:06', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372992 -2.79746)'), GeomFromEWKT('SRID=4674;POINT (-40.372872 -2.797516)'))) / (select extract(epoch from '2026-07-06 12:39:06'::timestamp) - extract(epoch from '2026-07-06 12:38:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372992 -2.79746)'), GeomFromEWKT('SRID=4674;POINT (-40.372872 -2.797516)'))) / (select extract(epoch from '2026-07-06 12:39:06'::timestamp) - extract(epoch from '2026-07-06 12:38: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'), 47828, 'SRID=4674;POINT (-40.372702 -2.797574)', '2026-07-06 12:39:15', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372872 -2.797516)'), GeomFromEWKT('SRID=4674;POINT (-40.372702 -2.797574)'))) / (select extract(epoch from '2026-07-06 12:39:15'::timestamp) - extract(epoch from '2026-07-06 12:39:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372872 -2.797516)'), GeomFromEWKT('SRID=4674;POINT (-40.372702 -2.797574)'))) / (select extract(epoch from '2026-07-06 12:39:15'::timestamp) - extract(epoch from '2026-07-06 12:39: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'), 47828, 'SRID=4674;POINT (-40.372576 -2.797647)', '2026-07-06 12:39:23', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372702 -2.797574)'), GeomFromEWKT('SRID=4674;POINT (-40.372576 -2.797647)'))) / (select extract(epoch from '2026-07-06 12:39:23'::timestamp) - extract(epoch from '2026-07-06 12:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372702 -2.797574)'), GeomFromEWKT('SRID=4674;POINT (-40.372576 -2.797647)'))) / (select extract(epoch from '2026-07-06 12:39:23'::timestamp) - extract(epoch from '2026-07-06 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'), 47828, 'SRID=4674;POINT (-40.372473 -2.797727)', '2026-07-06 12:39:30', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372576 -2.797647)'), GeomFromEWKT('SRID=4674;POINT (-40.372473 -2.797727)'))) / (select extract(epoch from '2026-07-06 12:39:30'::timestamp) - extract(epoch from '2026-07-06 12:39:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372576 -2.797647)'), GeomFromEWKT('SRID=4674;POINT (-40.372473 -2.797727)'))) / (select extract(epoch from '2026-07-06 12:39:30'::timestamp) - extract(epoch from '2026-07-06 12:39:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.372326 -2.797826)', '2026-07-06 12:39:39', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372473 -2.797727)'), GeomFromEWKT('SRID=4674;POINT (-40.372326 -2.797826)'))) / (select extract(epoch from '2026-07-06 12:39:39'::timestamp) - extract(epoch from '2026-07-06 12:39:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372473 -2.797727)'), GeomFromEWKT('SRID=4674;POINT (-40.372326 -2.797826)'))) / (select extract(epoch from '2026-07-06 12:39:39'::timestamp) - extract(epoch from '2026-07-06 12:39:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.372222 -2.79791)', '2026-07-06 12:39:46', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372326 -2.797826)'), GeomFromEWKT('SRID=4674;POINT (-40.372222 -2.79791)'))) / (select extract(epoch from '2026-07-06 12:39:46'::timestamp) - extract(epoch from '2026-07-06 12:39:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372326 -2.797826)'), GeomFromEWKT('SRID=4674;POINT (-40.372222 -2.79791)'))) / (select extract(epoch from '2026-07-06 12:39:46'::timestamp) - extract(epoch from '2026-07-06 12:39:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.372064 -2.797981)', '2026-07-06 12:39:55', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372222 -2.79791)'), GeomFromEWKT('SRID=4674;POINT (-40.372064 -2.797981)'))) / (select extract(epoch from '2026-07-06 12:39:55'::timestamp) - extract(epoch from '2026-07-06 12:39:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372222 -2.79791)'), GeomFromEWKT('SRID=4674;POINT (-40.372064 -2.797981)'))) / (select extract(epoch from '2026-07-06 12:39:55'::timestamp) - extract(epoch from '2026-07-06 12:39:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.371966 -2.79802)', '2026-07-06 12:40:00', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372064 -2.797981)'), GeomFromEWKT('SRID=4674;POINT (-40.371966 -2.79802)'))) / (select extract(epoch from '2026-07-06 12:40:00'::timestamp) - extract(epoch from '2026-07-06 12:39:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372064 -2.797981)'), GeomFromEWKT('SRID=4674;POINT (-40.371966 -2.79802)'))) / (select extract(epoch from '2026-07-06 12:40:00'::timestamp) - extract(epoch from '2026-07-06 12:39: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'), 47828, 'SRID=4674;POINT (-40.371799 -2.79811)', '2026-07-06 12:40:10', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371966 -2.79802)'), GeomFromEWKT('SRID=4674;POINT (-40.371799 -2.79811)'))) / (select extract(epoch from '2026-07-06 12:40:10'::timestamp) - extract(epoch from '2026-07-06 12:40:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371966 -2.79802)'), GeomFromEWKT('SRID=4674;POINT (-40.371799 -2.79811)'))) / (select extract(epoch from '2026-07-06 12:40:10'::timestamp) - extract(epoch from '2026-07-06 12:40:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.371665 -2.798175)', '2026-07-06 12:40:18', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371799 -2.79811)'), GeomFromEWKT('SRID=4674;POINT (-40.371665 -2.798175)'))) / (select extract(epoch from '2026-07-06 12:40:18'::timestamp) - extract(epoch from '2026-07-06 12:40:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371799 -2.79811)'), GeomFromEWKT('SRID=4674;POINT (-40.371665 -2.798175)'))) / (select extract(epoch from '2026-07-06 12:40:18'::timestamp) - extract(epoch from '2026-07-06 12:40:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.37153 -2.798261)', '2026-07-06 12:40:26', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371665 -2.798175)'), GeomFromEWKT('SRID=4674;POINT (-40.37153 -2.798261)'))) / (select extract(epoch from '2026-07-06 12:40:26'::timestamp) - extract(epoch from '2026-07-06 12:40:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371665 -2.798175)'), GeomFromEWKT('SRID=4674;POINT (-40.37153 -2.798261)'))) / (select extract(epoch from '2026-07-06 12:40:26'::timestamp) - extract(epoch from '2026-07-06 12:40: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'), 47828, 'SRID=4674;POINT (-40.371432 -2.798319)', '2026-07-06 12:40:32', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37153 -2.798261)'), GeomFromEWKT('SRID=4674;POINT (-40.371432 -2.798319)'))) / (select extract(epoch from '2026-07-06 12:40:32'::timestamp) - extract(epoch from '2026-07-06 12:40:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37153 -2.798261)'), GeomFromEWKT('SRID=4674;POINT (-40.371432 -2.798319)'))) / (select extract(epoch from '2026-07-06 12:40:32'::timestamp) - extract(epoch from '2026-07-06 12:40:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.371322 -2.798407)', '2026-07-06 12:40:40', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371432 -2.798319)'), GeomFromEWKT('SRID=4674;POINT (-40.371322 -2.798407)'))) / (select extract(epoch from '2026-07-06 12:40:40'::timestamp) - extract(epoch from '2026-07-06 12:40:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371432 -2.798319)'), GeomFromEWKT('SRID=4674;POINT (-40.371322 -2.798407)'))) / (select extract(epoch from '2026-07-06 12:40:40'::timestamp) - extract(epoch from '2026-07-06 12:40: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'), 47828, 'SRID=4674;POINT (-40.371204 -2.798471)', '2026-07-06 12:40:47', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371322 -2.798407)'), GeomFromEWKT('SRID=4674;POINT (-40.371204 -2.798471)'))) / (select extract(epoch from '2026-07-06 12:40:47'::timestamp) - extract(epoch from '2026-07-06 12:40:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371322 -2.798407)'), GeomFromEWKT('SRID=4674;POINT (-40.371204 -2.798471)'))) / (select extract(epoch from '2026-07-06 12:40:47'::timestamp) - extract(epoch from '2026-07-06 12:40: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'), 47828, 'SRID=4674;POINT (-40.371086 -2.798552)', '2026-07-06 12:40:54', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371204 -2.798471)'), GeomFromEWKT('SRID=4674;POINT (-40.371086 -2.798552)'))) / (select extract(epoch from '2026-07-06 12:40:54'::timestamp) - extract(epoch from '2026-07-06 12:40:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371204 -2.798471)'), GeomFromEWKT('SRID=4674;POINT (-40.371086 -2.798552)'))) / (select extract(epoch from '2026-07-06 12:40:54'::timestamp) - extract(epoch from '2026-07-06 12:40:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.370953 -2.798637)', '2026-07-06 12:41:02', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371086 -2.798552)'), GeomFromEWKT('SRID=4674;POINT (-40.370953 -2.798637)'))) / (select extract(epoch from '2026-07-06 12:41:02'::timestamp) - extract(epoch from '2026-07-06 12:40:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371086 -2.798552)'), GeomFromEWKT('SRID=4674;POINT (-40.370953 -2.798637)'))) / (select extract(epoch from '2026-07-06 12:41:02'::timestamp) - extract(epoch from '2026-07-06 12:40: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'), 47828, 'SRID=4674;POINT (-40.370827 -2.798721)', '2026-07-06 12:41:10', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370953 -2.798637)'), GeomFromEWKT('SRID=4674;POINT (-40.370827 -2.798721)'))) / (select extract(epoch from '2026-07-06 12:41:10'::timestamp) - extract(epoch from '2026-07-06 12:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370953 -2.798637)'), GeomFromEWKT('SRID=4674;POINT (-40.370827 -2.798721)'))) / (select extract(epoch from '2026-07-06 12:41:10'::timestamp) - extract(epoch from '2026-07-06 12:41:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.370711 -2.798789)', '2026-07-06 12:41:17', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370827 -2.798721)'), GeomFromEWKT('SRID=4674;POINT (-40.370711 -2.798789)'))) / (select extract(epoch from '2026-07-06 12:41:17'::timestamp) - extract(epoch from '2026-07-06 12:41:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370827 -2.798721)'), GeomFromEWKT('SRID=4674;POINT (-40.370711 -2.798789)'))) / (select extract(epoch from '2026-07-06 12:41:17'::timestamp) - extract(epoch from '2026-07-06 12:41: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'), 47828, 'SRID=4674;POINT (-40.370588 -2.798861)', '2026-07-06 12:41:24', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370711 -2.798789)'), GeomFromEWKT('SRID=4674;POINT (-40.370588 -2.798861)'))) / (select extract(epoch from '2026-07-06 12:41:24'::timestamp) - extract(epoch from '2026-07-06 12:41:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370711 -2.798789)'), GeomFromEWKT('SRID=4674;POINT (-40.370588 -2.798861)'))) / (select extract(epoch from '2026-07-06 12:41:24'::timestamp) - extract(epoch from '2026-07-06 12:41: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'), 47828, 'SRID=4674;POINT (-40.370424 -2.798946)', '2026-07-06 12:41:33', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370588 -2.798861)'), GeomFromEWKT('SRID=4674;POINT (-40.370424 -2.798946)'))) / (select extract(epoch from '2026-07-06 12:41:33'::timestamp) - extract(epoch from '2026-07-06 12:41:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370588 -2.798861)'), GeomFromEWKT('SRID=4674;POINT (-40.370424 -2.798946)'))) / (select extract(epoch from '2026-07-06 12:41:33'::timestamp) - extract(epoch from '2026-07-06 12:41:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.370291 -2.799037)', '2026-07-06 12:41:41', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370424 -2.798946)'), GeomFromEWKT('SRID=4674;POINT (-40.370291 -2.799037)'))) / (select extract(epoch from '2026-07-06 12:41:41'::timestamp) - extract(epoch from '2026-07-06 12:41:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370424 -2.798946)'), GeomFromEWKT('SRID=4674;POINT (-40.370291 -2.799037)'))) / (select extract(epoch from '2026-07-06 12:41:41'::timestamp) - extract(epoch from '2026-07-06 12:41: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'), 47828, 'SRID=4674;POINT (-40.370186 -2.799111)', '2026-07-06 12:41:48', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370291 -2.799037)'), GeomFromEWKT('SRID=4674;POINT (-40.370186 -2.799111)'))) / (select extract(epoch from '2026-07-06 12:41:48'::timestamp) - extract(epoch from '2026-07-06 12:41:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370291 -2.799037)'), GeomFromEWKT('SRID=4674;POINT (-40.370186 -2.799111)'))) / (select extract(epoch from '2026-07-06 12:41:48'::timestamp) - extract(epoch from '2026-07-06 12:41: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'), 47828, 'SRID=4674;POINT (-40.370099 -2.799187)', '2026-07-06 12:41:54', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370186 -2.799111)'), GeomFromEWKT('SRID=4674;POINT (-40.370099 -2.799187)'))) / (select extract(epoch from '2026-07-06 12:41:54'::timestamp) - extract(epoch from '2026-07-06 12:41:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370186 -2.799111)'), GeomFromEWKT('SRID=4674;POINT (-40.370099 -2.799187)'))) / (select extract(epoch from '2026-07-06 12:41:54'::timestamp) - extract(epoch from '2026-07-06 12:41: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'), 47828, 'SRID=4674;POINT (-40.369965 -2.799277)', '2026-07-06 12:42:02', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370099 -2.799187)'), GeomFromEWKT('SRID=4674;POINT (-40.369965 -2.799277)'))) / (select extract(epoch from '2026-07-06 12:42:02'::timestamp) - extract(epoch from '2026-07-06 12:41:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370099 -2.799187)'), GeomFromEWKT('SRID=4674;POINT (-40.369965 -2.799277)'))) / (select extract(epoch from '2026-07-06 12:42:02'::timestamp) - extract(epoch from '2026-07-06 12:41: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'), 47828, 'SRID=4674;POINT (-40.369795 -2.799357)', '2026-07-06 12:42:11', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369965 -2.799277)'), GeomFromEWKT('SRID=4674;POINT (-40.369795 -2.799357)'))) / (select extract(epoch from '2026-07-06 12:42:11'::timestamp) - extract(epoch from '2026-07-06 12:42:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369965 -2.799277)'), GeomFromEWKT('SRID=4674;POINT (-40.369795 -2.799357)'))) / (select extract(epoch from '2026-07-06 12:42:11'::timestamp) - extract(epoch from '2026-07-06 12:42:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.3697 -2.799423)', '2026-07-06 12:42:17', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369795 -2.799357)'), GeomFromEWKT('SRID=4674;POINT (-40.3697 -2.799423)'))) / (select extract(epoch from '2026-07-06 12:42:17'::timestamp) - extract(epoch from '2026-07-06 12:42:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369795 -2.799357)'), GeomFromEWKT('SRID=4674;POINT (-40.3697 -2.799423)'))) / (select extract(epoch from '2026-07-06 12:42:17'::timestamp) - extract(epoch from '2026-07-06 12:42: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'), 47828, 'SRID=4674;POINT (-40.369589 -2.799507)', '2026-07-06 12:42:25', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3697 -2.799423)'), GeomFromEWKT('SRID=4674;POINT (-40.369589 -2.799507)'))) / (select extract(epoch from '2026-07-06 12:42:25'::timestamp) - extract(epoch from '2026-07-06 12:42:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3697 -2.799423)'), GeomFromEWKT('SRID=4674;POINT (-40.369589 -2.799507)'))) / (select extract(epoch from '2026-07-06 12:42:25'::timestamp) - extract(epoch from '2026-07-06 12:42: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'), 47828, 'SRID=4674;POINT (-40.369477 -2.799599)', '2026-07-06 12:42:33', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369589 -2.799507)'), GeomFromEWKT('SRID=4674;POINT (-40.369477 -2.799599)'))) / (select extract(epoch from '2026-07-06 12:42:33'::timestamp) - extract(epoch from '2026-07-06 12:42:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369589 -2.799507)'), GeomFromEWKT('SRID=4674;POINT (-40.369477 -2.799599)'))) / (select extract(epoch from '2026-07-06 12:42:33'::timestamp) - extract(epoch from '2026-07-06 12:42: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'), 47828, 'SRID=4674;POINT (-40.36934 -2.79971)', '2026-07-06 12:42:42', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369477 -2.799599)'), GeomFromEWKT('SRID=4674;POINT (-40.36934 -2.79971)'))) / (select extract(epoch from '2026-07-06 12:42:42'::timestamp) - extract(epoch from '2026-07-06 12:42:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369477 -2.799599)'), GeomFromEWKT('SRID=4674;POINT (-40.36934 -2.79971)'))) / (select extract(epoch from '2026-07-06 12:42:42'::timestamp) - extract(epoch from '2026-07-06 12:42: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'), 47828, 'SRID=4674;POINT (-40.369239 -2.799768)', '2026-07-06 12:42:48', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36934 -2.79971)'), GeomFromEWKT('SRID=4674;POINT (-40.369239 -2.799768)'))) / (select extract(epoch from '2026-07-06 12:42:48'::timestamp) - extract(epoch from '2026-07-06 12:42:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36934 -2.79971)'), GeomFromEWKT('SRID=4674;POINT (-40.369239 -2.799768)'))) / (select extract(epoch from '2026-07-06 12:42:48'::timestamp) - extract(epoch from '2026-07-06 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'), 47828, 'SRID=4674;POINT (-40.369099 -2.799842)', '2026-07-06 12:42:56', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369239 -2.799768)'), GeomFromEWKT('SRID=4674;POINT (-40.369099 -2.799842)'))) / (select extract(epoch from '2026-07-06 12:42:56'::timestamp) - extract(epoch from '2026-07-06 12:42:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369239 -2.799768)'), GeomFromEWKT('SRID=4674;POINT (-40.369099 -2.799842)'))) / (select extract(epoch from '2026-07-06 12:42:56'::timestamp) - extract(epoch from '2026-07-06 12:42: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'), 47828, 'SRID=4674;POINT (-40.368978 -2.799925)', '2026-07-06 12:43:04', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369099 -2.799842)'), GeomFromEWKT('SRID=4674;POINT (-40.368978 -2.799925)'))) / (select extract(epoch from '2026-07-06 12:43:04'::timestamp) - extract(epoch from '2026-07-06 12:42:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369099 -2.799842)'), GeomFromEWKT('SRID=4674;POINT (-40.368978 -2.799925)'))) / (select extract(epoch from '2026-07-06 12:43:04'::timestamp) - extract(epoch from '2026-07-06 12:42: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'), 47828, 'SRID=4674;POINT (-40.368837 -2.800003)', '2026-07-06 12:43:12', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368978 -2.799925)'), GeomFromEWKT('SRID=4674;POINT (-40.368837 -2.800003)'))) / (select extract(epoch from '2026-07-06 12:43:12'::timestamp) - extract(epoch from '2026-07-06 12:43:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368978 -2.799925)'), GeomFromEWKT('SRID=4674;POINT (-40.368837 -2.800003)'))) / (select extract(epoch from '2026-07-06 12:43:12'::timestamp) - extract(epoch from '2026-07-06 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'), 47828, 'SRID=4674;POINT (-40.368708 -2.800077)', '2026-07-06 12:43:20', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368837 -2.800003)'), GeomFromEWKT('SRID=4674;POINT (-40.368708 -2.800077)'))) / (select extract(epoch from '2026-07-06 12:43:20'::timestamp) - extract(epoch from '2026-07-06 12:43:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368837 -2.800003)'), GeomFromEWKT('SRID=4674;POINT (-40.368708 -2.800077)'))) / (select extract(epoch from '2026-07-06 12:43:20'::timestamp) - extract(epoch from '2026-07-06 12:43: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'), 47828, 'SRID=4674;POINT (-40.368591 -2.800141)', '2026-07-06 12:43:27', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368708 -2.800077)'), GeomFromEWKT('SRID=4674;POINT (-40.368591 -2.800141)'))) / (select extract(epoch from '2026-07-06 12:43:27'::timestamp) - extract(epoch from '2026-07-06 12:43:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368708 -2.800077)'), GeomFromEWKT('SRID=4674;POINT (-40.368591 -2.800141)'))) / (select extract(epoch from '2026-07-06 12:43:27'::timestamp) - extract(epoch from '2026-07-06 12:43:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.36844 -2.800185)', '2026-07-06 12:43:35', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368591 -2.800141)'), GeomFromEWKT('SRID=4674;POINT (-40.36844 -2.800185)'))) / (select extract(epoch from '2026-07-06 12:43:35'::timestamp) - extract(epoch from '2026-07-06 12:43:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368591 -2.800141)'), GeomFromEWKT('SRID=4674;POINT (-40.36844 -2.800185)'))) / (select extract(epoch from '2026-07-06 12:43:35'::timestamp) - extract(epoch from '2026-07-06 12:43: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'), 47828, 'SRID=4674;POINT (-40.368301 -2.800241)', '2026-07-06 12:43:43', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36844 -2.800185)'), GeomFromEWKT('SRID=4674;POINT (-40.368301 -2.800241)'))) / (select extract(epoch from '2026-07-06 12:43:43'::timestamp) - extract(epoch from '2026-07-06 12:43:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36844 -2.800185)'), GeomFromEWKT('SRID=4674;POINT (-40.368301 -2.800241)'))) / (select extract(epoch from '2026-07-06 12:43:43'::timestamp) - extract(epoch from '2026-07-06 12:43: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'), 47828, 'SRID=4674;POINT (-40.368199 -2.800301)', '2026-07-06 12:43:50', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368301 -2.800241)'), GeomFromEWKT('SRID=4674;POINT (-40.368199 -2.800301)'))) / (select extract(epoch from '2026-07-06 12:43:50'::timestamp) - extract(epoch from '2026-07-06 12:43:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368301 -2.800241)'), GeomFromEWKT('SRID=4674;POINT (-40.368199 -2.800301)'))) / (select extract(epoch from '2026-07-06 12:43:50'::timestamp) - extract(epoch from '2026-07-06 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'), 47828, 'SRID=4674;POINT (-40.368079 -2.800341)', '2026-07-06 12:43:57', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368199 -2.800301)'), GeomFromEWKT('SRID=4674;POINT (-40.368079 -2.800341)'))) / (select extract(epoch from '2026-07-06 12:43:57'::timestamp) - extract(epoch from '2026-07-06 12:43:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368199 -2.800301)'), GeomFromEWKT('SRID=4674;POINT (-40.368079 -2.800341)'))) / (select extract(epoch from '2026-07-06 12:43:57'::timestamp) - extract(epoch from '2026-07-06 12:43: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'), 47828, 'SRID=4674;POINT (-40.367974 -2.800433)', '2026-07-06 12:44:04', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368079 -2.800341)'), GeomFromEWKT('SRID=4674;POINT (-40.367974 -2.800433)'))) / (select extract(epoch from '2026-07-06 12:44:04'::timestamp) - extract(epoch from '2026-07-06 12:43:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368079 -2.800341)'), GeomFromEWKT('SRID=4674;POINT (-40.367974 -2.800433)'))) / (select extract(epoch from '2026-07-06 12:44:04'::timestamp) - extract(epoch from '2026-07-06 12:43: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'), 47828, 'SRID=4674;POINT (-40.36789 -2.800544)', '2026-07-06 12:44:10', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367974 -2.800433)'), GeomFromEWKT('SRID=4674;POINT (-40.36789 -2.800544)'))) / (select extract(epoch from '2026-07-06 12:44:10'::timestamp) - extract(epoch from '2026-07-06 12:44:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367974 -2.800433)'), GeomFromEWKT('SRID=4674;POINT (-40.36789 -2.800544)'))) / (select extract(epoch from '2026-07-06 12:44:10'::timestamp) - extract(epoch from '2026-07-06 12:44:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.367796 -2.800662)', '2026-07-06 12:44:17', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36789 -2.800544)'), GeomFromEWKT('SRID=4674;POINT (-40.367796 -2.800662)'))) / (select extract(epoch from '2026-07-06 12:44:17'::timestamp) - extract(epoch from '2026-07-06 12:44:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36789 -2.800544)'), GeomFromEWKT('SRID=4674;POINT (-40.367796 -2.800662)'))) / (select extract(epoch from '2026-07-06 12:44:17'::timestamp) - extract(epoch from '2026-07-06 12:44:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.367672 -2.800802)', '2026-07-06 12:44:26', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367796 -2.800662)'), GeomFromEWKT('SRID=4674;POINT (-40.367672 -2.800802)'))) / (select extract(epoch from '2026-07-06 12:44:26'::timestamp) - extract(epoch from '2026-07-06 12:44:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367796 -2.800662)'), GeomFromEWKT('SRID=4674;POINT (-40.367672 -2.800802)'))) / (select extract(epoch from '2026-07-06 12:44:26'::timestamp) - extract(epoch from '2026-07-06 12:44:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.367548 -2.800917)', '2026-07-06 12:44:35', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367672 -2.800802)'), GeomFromEWKT('SRID=4674;POINT (-40.367548 -2.800917)'))) / (select extract(epoch from '2026-07-06 12:44:35'::timestamp) - extract(epoch from '2026-07-06 12:44:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367672 -2.800802)'), GeomFromEWKT('SRID=4674;POINT (-40.367548 -2.800917)'))) / (select extract(epoch from '2026-07-06 12:44:35'::timestamp) - extract(epoch from '2026-07-06 12:44: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'), 47828, 'SRID=4674;POINT (-40.367457 -2.801025)', '2026-07-06 12:44:42', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367548 -2.800917)'), GeomFromEWKT('SRID=4674;POINT (-40.367457 -2.801025)'))) / (select extract(epoch from '2026-07-06 12:44:42'::timestamp) - extract(epoch from '2026-07-06 12:44:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367548 -2.800917)'), GeomFromEWKT('SRID=4674;POINT (-40.367457 -2.801025)'))) / (select extract(epoch from '2026-07-06 12:44:42'::timestamp) - extract(epoch from '2026-07-06 12:44: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'), 47828, 'SRID=4674;POINT (-40.367378 -2.801158)', '2026-07-06 12:44:49', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367457 -2.801025)'), GeomFromEWKT('SRID=4674;POINT (-40.367378 -2.801158)'))) / (select extract(epoch from '2026-07-06 12:44:49'::timestamp) - extract(epoch from '2026-07-06 12:44:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367457 -2.801025)'), GeomFromEWKT('SRID=4674;POINT (-40.367378 -2.801158)'))) / (select extract(epoch from '2026-07-06 12:44:49'::timestamp) - extract(epoch from '2026-07-06 12:44: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'), 47828, 'SRID=4674;POINT (-40.367296 -2.801312)', '2026-07-06 12:44:57', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367378 -2.801158)'), GeomFromEWKT('SRID=4674;POINT (-40.367296 -2.801312)'))) / (select extract(epoch from '2026-07-06 12:44:57'::timestamp) - extract(epoch from '2026-07-06 12:44:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367378 -2.801158)'), GeomFromEWKT('SRID=4674;POINT (-40.367296 -2.801312)'))) / (select extract(epoch from '2026-07-06 12:44:57'::timestamp) - extract(epoch from '2026-07-06 12:44: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'), 47828, 'SRID=4674;POINT (-40.367216 -2.801458)', '2026-07-06 12:45:04', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367296 -2.801312)'), GeomFromEWKT('SRID=4674;POINT (-40.367216 -2.801458)'))) / (select extract(epoch from '2026-07-06 12:45:04'::timestamp) - extract(epoch from '2026-07-06 12:44:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367296 -2.801312)'), GeomFromEWKT('SRID=4674;POINT (-40.367216 -2.801458)'))) / (select extract(epoch from '2026-07-06 12:45:04'::timestamp) - extract(epoch from '2026-07-06 12:44: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'), 47828, 'SRID=4674;POINT (-40.367155 -2.801561)', '2026-07-06 12:45:10', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367216 -2.801458)'), GeomFromEWKT('SRID=4674;POINT (-40.367155 -2.801561)'))) / (select extract(epoch from '2026-07-06 12:45:10'::timestamp) - extract(epoch from '2026-07-06 12:45:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367216 -2.801458)'), GeomFromEWKT('SRID=4674;POINT (-40.367155 -2.801561)'))) / (select extract(epoch from '2026-07-06 12:45:10'::timestamp) - extract(epoch from '2026-07-06 12:45:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.367066 -2.80171)', '2026-07-06 12:45:18', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367155 -2.801561)'), GeomFromEWKT('SRID=4674;POINT (-40.367066 -2.80171)'))) / (select extract(epoch from '2026-07-06 12:45:18'::timestamp) - extract(epoch from '2026-07-06 12:45:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367155 -2.801561)'), GeomFromEWKT('SRID=4674;POINT (-40.367066 -2.80171)'))) / (select extract(epoch from '2026-07-06 12:45:18'::timestamp) - extract(epoch from '2026-07-06 12:45: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'), 47828, 'SRID=4674;POINT (-40.366959 -2.801859)', '2026-07-06 12:45:26', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367066 -2.80171)'), GeomFromEWKT('SRID=4674;POINT (-40.366959 -2.801859)'))) / (select extract(epoch from '2026-07-06 12:45:26'::timestamp) - extract(epoch from '2026-07-06 12:45:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367066 -2.80171)'), GeomFromEWKT('SRID=4674;POINT (-40.366959 -2.801859)'))) / (select extract(epoch from '2026-07-06 12:45:26'::timestamp) - extract(epoch from '2026-07-06 12:45:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.366876 -2.801957)', '2026-07-06 12:45:32', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366959 -2.801859)'), GeomFromEWKT('SRID=4674;POINT (-40.366876 -2.801957)'))) / (select extract(epoch from '2026-07-06 12:45:32'::timestamp) - extract(epoch from '2026-07-06 12:45:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366959 -2.801859)'), GeomFromEWKT('SRID=4674;POINT (-40.366876 -2.801957)'))) / (select extract(epoch from '2026-07-06 12:45:32'::timestamp) - extract(epoch from '2026-07-06 12:45:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.366794 -2.802094)', '2026-07-06 12:45:39', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366876 -2.801957)'), GeomFromEWKT('SRID=4674;POINT (-40.366794 -2.802094)'))) / (select extract(epoch from '2026-07-06 12:45:39'::timestamp) - extract(epoch from '2026-07-06 12:45:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366876 -2.801957)'), GeomFromEWKT('SRID=4674;POINT (-40.366794 -2.802094)'))) / (select extract(epoch from '2026-07-06 12:45:39'::timestamp) - extract(epoch from '2026-07-06 12:45:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.366721 -2.802223)', '2026-07-06 12:45:46', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366794 -2.802094)'), GeomFromEWKT('SRID=4674;POINT (-40.366721 -2.802223)'))) / (select extract(epoch from '2026-07-06 12:45:46'::timestamp) - extract(epoch from '2026-07-06 12:45:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366794 -2.802094)'), GeomFromEWKT('SRID=4674;POINT (-40.366721 -2.802223)'))) / (select extract(epoch from '2026-07-06 12:45:46'::timestamp) - extract(epoch from '2026-07-06 12:45:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.366616 -2.80239)', '2026-07-06 12:45:55', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366721 -2.802223)'), GeomFromEWKT('SRID=4674;POINT (-40.366616 -2.80239)'))) / (select extract(epoch from '2026-07-06 12:45:55'::timestamp) - extract(epoch from '2026-07-06 12:45:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366721 -2.802223)'), GeomFromEWKT('SRID=4674;POINT (-40.366616 -2.80239)'))) / (select extract(epoch from '2026-07-06 12:45:55'::timestamp) - extract(epoch from '2026-07-06 12:45:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.366521 -2.802487)', '2026-07-06 12:46:02', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366616 -2.80239)'), GeomFromEWKT('SRID=4674;POINT (-40.366521 -2.802487)'))) / (select extract(epoch from '2026-07-06 12:46:02'::timestamp) - extract(epoch from '2026-07-06 12:45:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366616 -2.80239)'), GeomFromEWKT('SRID=4674;POINT (-40.366521 -2.802487)'))) / (select extract(epoch from '2026-07-06 12:46:02'::timestamp) - extract(epoch from '2026-07-06 12:45:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.3664 -2.802577)', '2026-07-06 12:46:10', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366521 -2.802487)'), GeomFromEWKT('SRID=4674;POINT (-40.3664 -2.802577)'))) / (select extract(epoch from '2026-07-06 12:46:10'::timestamp) - extract(epoch from '2026-07-06 12:46:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366521 -2.802487)'), GeomFromEWKT('SRID=4674;POINT (-40.3664 -2.802577)'))) / (select extract(epoch from '2026-07-06 12:46:10'::timestamp) - extract(epoch from '2026-07-06 12:46:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.366288 -2.802653)', '2026-07-06 12:46:17', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3664 -2.802577)'), GeomFromEWKT('SRID=4674;POINT (-40.366288 -2.802653)'))) / (select extract(epoch from '2026-07-06 12:46:17'::timestamp) - extract(epoch from '2026-07-06 12:46:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3664 -2.802577)'), GeomFromEWKT('SRID=4674;POINT (-40.366288 -2.802653)'))) / (select extract(epoch from '2026-07-06 12:46:17'::timestamp) - extract(epoch from '2026-07-06 12:46:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.366149 -2.80273)', '2026-07-06 12:46:25', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366288 -2.802653)'), GeomFromEWKT('SRID=4674;POINT (-40.366149 -2.80273)'))) / (select extract(epoch from '2026-07-06 12:46:25'::timestamp) - extract(epoch from '2026-07-06 12:46:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366288 -2.802653)'), GeomFromEWKT('SRID=4674;POINT (-40.366149 -2.80273)'))) / (select extract(epoch from '2026-07-06 12:46:25'::timestamp) - extract(epoch from '2026-07-06 12:46: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'), 47828, 'SRID=4674;POINT (-40.366009 -2.802816)', '2026-07-06 12:46:33', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366149 -2.80273)'), GeomFromEWKT('SRID=4674;POINT (-40.366009 -2.802816)'))) / (select extract(epoch from '2026-07-06 12:46:33'::timestamp) - extract(epoch from '2026-07-06 12:46:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366149 -2.80273)'), GeomFromEWKT('SRID=4674;POINT (-40.366009 -2.802816)'))) / (select extract(epoch from '2026-07-06 12:46:33'::timestamp) - extract(epoch from '2026-07-06 12:46:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.365888 -2.802902)', '2026-07-06 12:46:40', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366009 -2.802816)'), GeomFromEWKT('SRID=4674;POINT (-40.365888 -2.802902)'))) / (select extract(epoch from '2026-07-06 12:46:40'::timestamp) - extract(epoch from '2026-07-06 12:46:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366009 -2.802816)'), GeomFromEWKT('SRID=4674;POINT (-40.365888 -2.802902)'))) / (select extract(epoch from '2026-07-06 12:46:40'::timestamp) - extract(epoch from '2026-07-06 12:46: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'), 47828, 'SRID=4674;POINT (-40.365748 -2.802955)', '2026-07-06 12:46:48', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365888 -2.802902)'), GeomFromEWKT('SRID=4674;POINT (-40.365748 -2.802955)'))) / (select extract(epoch from '2026-07-06 12:46:48'::timestamp) - extract(epoch from '2026-07-06 12:46:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365888 -2.802902)'), GeomFromEWKT('SRID=4674;POINT (-40.365748 -2.802955)'))) / (select extract(epoch from '2026-07-06 12:46:48'::timestamp) - extract(epoch from '2026-07-06 12:46: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'), 47828, 'SRID=4674;POINT (-40.365632 -2.802931)', '2026-07-06 12:46:55', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365748 -2.802955)'), GeomFromEWKT('SRID=4674;POINT (-40.365632 -2.802931)'))) / (select extract(epoch from '2026-07-06 12:46:55'::timestamp) - extract(epoch from '2026-07-06 12:46:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365748 -2.802955)'), GeomFromEWKT('SRID=4674;POINT (-40.365632 -2.802931)'))) / (select extract(epoch from '2026-07-06 12:46:55'::timestamp) - extract(epoch from '2026-07-06 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'), 47828, 'SRID=4674;POINT (-40.365508 -2.80296)', '2026-07-06 12:47:02', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365632 -2.802931)'), GeomFromEWKT('SRID=4674;POINT (-40.365508 -2.80296)'))) / (select extract(epoch from '2026-07-06 12:47:02'::timestamp) - extract(epoch from '2026-07-06 12:46:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365632 -2.802931)'), GeomFromEWKT('SRID=4674;POINT (-40.365508 -2.80296)'))) / (select extract(epoch from '2026-07-06 12:47:02'::timestamp) - extract(epoch from '2026-07-06 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'), 47828, 'SRID=4674;POINT (-40.365439 -2.80307)', '2026-07-06 12:47:09', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365508 -2.80296)'), GeomFromEWKT('SRID=4674;POINT (-40.365439 -2.80307)'))) / (select extract(epoch from '2026-07-06 12:47:09'::timestamp) - extract(epoch from '2026-07-06 12:47:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365508 -2.80296)'), GeomFromEWKT('SRID=4674;POINT (-40.365439 -2.80307)'))) / (select extract(epoch from '2026-07-06 12:47:09'::timestamp) - extract(epoch from '2026-07-06 12:47:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.365374 -2.803201)', '2026-07-06 12:47:16', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365439 -2.80307)'), GeomFromEWKT('SRID=4674;POINT (-40.365374 -2.803201)'))) / (select extract(epoch from '2026-07-06 12:47:16'::timestamp) - extract(epoch from '2026-07-06 12:47:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365439 -2.80307)'), GeomFromEWKT('SRID=4674;POINT (-40.365374 -2.803201)'))) / (select extract(epoch from '2026-07-06 12:47:16'::timestamp) - extract(epoch from '2026-07-06 12:47: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'), 47828, 'SRID=4674;POINT (-40.36525 -2.803327)', '2026-07-06 12:47:24', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365374 -2.803201)'), GeomFromEWKT('SRID=4674;POINT (-40.36525 -2.803327)'))) / (select extract(epoch from '2026-07-06 12:47:24'::timestamp) - extract(epoch from '2026-07-06 12:47:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365374 -2.803201)'), GeomFromEWKT('SRID=4674;POINT (-40.36525 -2.803327)'))) / (select extract(epoch from '2026-07-06 12:47:24'::timestamp) - extract(epoch from '2026-07-06 12:47: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'), 47828, 'SRID=4674;POINT (-40.365166 -2.803447)', '2026-07-06 12:47:31', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36525 -2.803327)'), GeomFromEWKT('SRID=4674;POINT (-40.365166 -2.803447)'))) / (select extract(epoch from '2026-07-06 12:47:31'::timestamp) - extract(epoch from '2026-07-06 12:47:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36525 -2.803327)'), GeomFromEWKT('SRID=4674;POINT (-40.365166 -2.803447)'))) / (select extract(epoch from '2026-07-06 12:47:31'::timestamp) - extract(epoch from '2026-07-06 12:47: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'), 47828, 'SRID=4674;POINT (-40.365033 -2.803594)', '2026-07-06 12:47:40', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365166 -2.803447)'), GeomFromEWKT('SRID=4674;POINT (-40.365033 -2.803594)'))) / (select extract(epoch from '2026-07-06 12:47:40'::timestamp) - extract(epoch from '2026-07-06 12:47:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365166 -2.803447)'), GeomFromEWKT('SRID=4674;POINT (-40.365033 -2.803594)'))) / (select extract(epoch from '2026-07-06 12:47:40'::timestamp) - extract(epoch from '2026-07-06 12:47:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.364901 -2.803774)', '2026-07-06 12:47:50', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365033 -2.803594)'), GeomFromEWKT('SRID=4674;POINT (-40.364901 -2.803774)'))) / (select extract(epoch from '2026-07-06 12:47:50'::timestamp) - extract(epoch from '2026-07-06 12:47:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365033 -2.803594)'), GeomFromEWKT('SRID=4674;POINT (-40.364901 -2.803774)'))) / (select extract(epoch from '2026-07-06 12:47:50'::timestamp) - extract(epoch from '2026-07-06 12:47: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'), 47828, 'SRID=4674;POINT (-40.364808 -2.803897)', '2026-07-06 12:47:57', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364901 -2.803774)'), GeomFromEWKT('SRID=4674;POINT (-40.364808 -2.803897)'))) / (select extract(epoch from '2026-07-06 12:47:57'::timestamp) - extract(epoch from '2026-07-06 12:47:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364901 -2.803774)'), GeomFromEWKT('SRID=4674;POINT (-40.364808 -2.803897)'))) / (select extract(epoch from '2026-07-06 12:47:57'::timestamp) - extract(epoch from '2026-07-06 12:47: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'), 47828, 'SRID=4674;POINT (-40.364722 -2.804009)', '2026-07-06 12:48:04', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364808 -2.803897)'), GeomFromEWKT('SRID=4674;POINT (-40.364722 -2.804009)'))) / (select extract(epoch from '2026-07-06 12:48:04'::timestamp) - extract(epoch from '2026-07-06 12:47:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364808 -2.803897)'), GeomFromEWKT('SRID=4674;POINT (-40.364722 -2.804009)'))) / (select extract(epoch from '2026-07-06 12:48:04'::timestamp) - extract(epoch from '2026-07-06 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'), 47828, 'SRID=4674;POINT (-40.364633 -2.804148)', '2026-07-06 12:48:12', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364722 -2.804009)'), GeomFromEWKT('SRID=4674;POINT (-40.364633 -2.804148)'))) / (select extract(epoch from '2026-07-06 12:48:12'::timestamp) - extract(epoch from '2026-07-06 12:48:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364722 -2.804009)'), GeomFromEWKT('SRID=4674;POINT (-40.364633 -2.804148)'))) / (select extract(epoch from '2026-07-06 12:48:12'::timestamp) - extract(epoch from '2026-07-06 12:48: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'), 47828, 'SRID=4674;POINT (-40.364559 -2.804241)', '2026-07-06 12:48:18', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364633 -2.804148)'), GeomFromEWKT('SRID=4674;POINT (-40.364559 -2.804241)'))) / (select extract(epoch from '2026-07-06 12:48:18'::timestamp) - extract(epoch from '2026-07-06 12:48:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364633 -2.804148)'), GeomFromEWKT('SRID=4674;POINT (-40.364559 -2.804241)'))) / (select extract(epoch from '2026-07-06 12:48:18'::timestamp) - extract(epoch from '2026-07-06 12:48: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'), 47828, 'SRID=4674;POINT (-40.364411 -2.804361)', '2026-07-06 12:48:28', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364559 -2.804241)'), GeomFromEWKT('SRID=4674;POINT (-40.364411 -2.804361)'))) / (select extract(epoch from '2026-07-06 12:48:28'::timestamp) - extract(epoch from '2026-07-06 12:48:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364559 -2.804241)'), GeomFromEWKT('SRID=4674;POINT (-40.364411 -2.804361)'))) / (select extract(epoch from '2026-07-06 12:48:28'::timestamp) - extract(epoch from '2026-07-06 12:48:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.364323 -2.804463)', '2026-07-06 12:48:34', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364411 -2.804361)'), GeomFromEWKT('SRID=4674;POINT (-40.364323 -2.804463)'))) / (select extract(epoch from '2026-07-06 12:48:34'::timestamp) - extract(epoch from '2026-07-06 12:48:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364411 -2.804361)'), GeomFromEWKT('SRID=4674;POINT (-40.364323 -2.804463)'))) / (select extract(epoch from '2026-07-06 12:48:34'::timestamp) - extract(epoch from '2026-07-06 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'), 47828, 'SRID=4674;POINT (-40.36422 -2.804569)', '2026-07-06 12:48:41', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364323 -2.804463)'), GeomFromEWKT('SRID=4674;POINT (-40.36422 -2.804569)'))) / (select extract(epoch from '2026-07-06 12:48:41'::timestamp) - extract(epoch from '2026-07-06 12:48:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364323 -2.804463)'), GeomFromEWKT('SRID=4674;POINT (-40.36422 -2.804569)'))) / (select extract(epoch from '2026-07-06 12:48:41'::timestamp) - extract(epoch from '2026-07-06 12:48: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'), 47828, 'SRID=4674;POINT (-40.364091 -2.804676)', '2026-07-06 12:48:49', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36422 -2.804569)'), GeomFromEWKT('SRID=4674;POINT (-40.364091 -2.804676)'))) / (select extract(epoch from '2026-07-06 12:48:49'::timestamp) - extract(epoch from '2026-07-06 12:48:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36422 -2.804569)'), GeomFromEWKT('SRID=4674;POINT (-40.364091 -2.804676)'))) / (select extract(epoch from '2026-07-06 12:48:49'::timestamp) - extract(epoch from '2026-07-06 12:48:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363952 -2.804765)', '2026-07-06 12:48:57', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364091 -2.804676)'), GeomFromEWKT('SRID=4674;POINT (-40.363952 -2.804765)'))) / (select extract(epoch from '2026-07-06 12:48:57'::timestamp) - extract(epoch from '2026-07-06 12:48:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364091 -2.804676)'), GeomFromEWKT('SRID=4674;POINT (-40.363952 -2.804765)'))) / (select extract(epoch from '2026-07-06 12:48:57'::timestamp) - extract(epoch from '2026-07-06 12:48: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'), 47828, 'SRID=4674;POINT (-40.363857 -2.804905)', '2026-07-06 12:49:05', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363952 -2.804765)'), GeomFromEWKT('SRID=4674;POINT (-40.363857 -2.804905)'))) / (select extract(epoch from '2026-07-06 12:49:05'::timestamp) - extract(epoch from '2026-07-06 12:48:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363952 -2.804765)'), GeomFromEWKT('SRID=4674;POINT (-40.363857 -2.804905)'))) / (select extract(epoch from '2026-07-06 12:49:05'::timestamp) - extract(epoch from '2026-07-06 12:48: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'), 47828, 'SRID=4674;POINT (-40.363749 -2.805035)', '2026-07-06 12:49:13', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363857 -2.804905)'), GeomFromEWKT('SRID=4674;POINT (-40.363749 -2.805035)'))) / (select extract(epoch from '2026-07-06 12:49:13'::timestamp) - extract(epoch from '2026-07-06 12:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363857 -2.804905)'), GeomFromEWKT('SRID=4674;POINT (-40.363749 -2.805035)'))) / (select extract(epoch from '2026-07-06 12:49:13'::timestamp) - extract(epoch from '2026-07-06 12:49: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'), 47828, 'SRID=4674;POINT (-40.363608 -2.805118)', '2026-07-06 12:49:21', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363749 -2.805035)'), GeomFromEWKT('SRID=4674;POINT (-40.363608 -2.805118)'))) / (select extract(epoch from '2026-07-06 12:49:21'::timestamp) - extract(epoch from '2026-07-06 12:49:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363749 -2.805035)'), GeomFromEWKT('SRID=4674;POINT (-40.363608 -2.805118)'))) / (select extract(epoch from '2026-07-06 12:49:21'::timestamp) - extract(epoch from '2026-07-06 12:49: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'), 47828, 'SRID=4674;POINT (-40.36342 -2.805199)', '2026-07-06 12:49:31', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363608 -2.805118)'), GeomFromEWKT('SRID=4674;POINT (-40.36342 -2.805199)'))) / (select extract(epoch from '2026-07-06 12:49:31'::timestamp) - extract(epoch from '2026-07-06 12:49:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363608 -2.805118)'), GeomFromEWKT('SRID=4674;POINT (-40.36342 -2.805199)'))) / (select extract(epoch from '2026-07-06 12:49:31'::timestamp) - extract(epoch from '2026-07-06 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'), 47828, 'SRID=4674;POINT (-40.363309 -2.805256)', '2026-07-06 12:49:38', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36342 -2.805199)'), GeomFromEWKT('SRID=4674;POINT (-40.363309 -2.805256)'))) / (select extract(epoch from '2026-07-06 12:49:38'::timestamp) - extract(epoch from '2026-07-06 12:49:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36342 -2.805199)'), GeomFromEWKT('SRID=4674;POINT (-40.363309 -2.805256)'))) / (select extract(epoch from '2026-07-06 12:49:38'::timestamp) - extract(epoch from '2026-07-06 12:49: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'), 47828, 'SRID=4674;POINT (-40.363163 -2.805305)', '2026-07-06 12:49:46', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363309 -2.805256)'), GeomFromEWKT('SRID=4674;POINT (-40.363163 -2.805305)'))) / (select extract(epoch from '2026-07-06 12:49:46'::timestamp) - extract(epoch from '2026-07-06 12:49:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363309 -2.805256)'), GeomFromEWKT('SRID=4674;POINT (-40.363163 -2.805305)'))) / (select extract(epoch from '2026-07-06 12:49:46'::timestamp) - extract(epoch from '2026-07-06 12:49:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.363053 -2.805358)', '2026-07-06 12:49:52', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363163 -2.805305)'), GeomFromEWKT('SRID=4674;POINT (-40.363053 -2.805358)'))) / (select extract(epoch from '2026-07-06 12:49:52'::timestamp) - extract(epoch from '2026-07-06 12:49:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363163 -2.805305)'), GeomFromEWKT('SRID=4674;POINT (-40.363053 -2.805358)'))) / (select extract(epoch from '2026-07-06 12:49:52'::timestamp) - extract(epoch from '2026-07-06 12:49: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'), 47828, 'SRID=4674;POINT (-40.362961 -2.805426)', '2026-07-06 12:49:58', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363053 -2.805358)'), GeomFromEWKT('SRID=4674;POINT (-40.362961 -2.805426)'))) / (select extract(epoch from '2026-07-06 12:49:58'::timestamp) - extract(epoch from '2026-07-06 12:49:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363053 -2.805358)'), GeomFromEWKT('SRID=4674;POINT (-40.362961 -2.805426)'))) / (select extract(epoch from '2026-07-06 12:49:58'::timestamp) - extract(epoch from '2026-07-06 12:49:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.362857 -2.805513)', '2026-07-06 12:50:05', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362961 -2.805426)'), GeomFromEWKT('SRID=4674;POINT (-40.362857 -2.805513)'))) / (select extract(epoch from '2026-07-06 12:50:05'::timestamp) - extract(epoch from '2026-07-06 12:49:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362961 -2.805426)'), GeomFromEWKT('SRID=4674;POINT (-40.362857 -2.805513)'))) / (select extract(epoch from '2026-07-06 12:50:05'::timestamp) - extract(epoch from '2026-07-06 12:49: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'), 47828, 'SRID=4674;POINT (-40.362766 -2.805598)', '2026-07-06 12:50:11', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362857 -2.805513)'), GeomFromEWKT('SRID=4674;POINT (-40.362766 -2.805598)'))) / (select extract(epoch from '2026-07-06 12:50:11'::timestamp) - extract(epoch from '2026-07-06 12:50:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362857 -2.805513)'), GeomFromEWKT('SRID=4674;POINT (-40.362766 -2.805598)'))) / (select extract(epoch from '2026-07-06 12:50:11'::timestamp) - extract(epoch from '2026-07-06 12:50:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.362673 -2.805691)', '2026-07-06 12:50:18', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362766 -2.805598)'), GeomFromEWKT('SRID=4674;POINT (-40.362673 -2.805691)'))) / (select extract(epoch from '2026-07-06 12:50:18'::timestamp) - extract(epoch from '2026-07-06 12:50:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362766 -2.805598)'), GeomFromEWKT('SRID=4674;POINT (-40.362673 -2.805691)'))) / (select extract(epoch from '2026-07-06 12:50:18'::timestamp) - extract(epoch from '2026-07-06 12:50: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'), 47828, 'SRID=4674;POINT (-40.362565 -2.805786)', '2026-07-06 12:50:25', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362673 -2.805691)'), GeomFromEWKT('SRID=4674;POINT (-40.362565 -2.805786)'))) / (select extract(epoch from '2026-07-06 12:50:25'::timestamp) - extract(epoch from '2026-07-06 12:50:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362673 -2.805691)'), GeomFromEWKT('SRID=4674;POINT (-40.362565 -2.805786)'))) / (select extract(epoch from '2026-07-06 12:50:25'::timestamp) - extract(epoch from '2026-07-06 12:50: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'), 47828, 'SRID=4674;POINT (-40.36246 -2.805855)', '2026-07-06 12:50:31', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362565 -2.805786)'), GeomFromEWKT('SRID=4674;POINT (-40.36246 -2.805855)'))) / (select extract(epoch from '2026-07-06 12:50:31'::timestamp) - extract(epoch from '2026-07-06 12:50:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362565 -2.805786)'), GeomFromEWKT('SRID=4674;POINT (-40.36246 -2.805855)'))) / (select extract(epoch from '2026-07-06 12:50:31'::timestamp) - extract(epoch from '2026-07-06 12:50:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.362294 -2.805947)', '2026-07-06 12:50:40', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36246 -2.805855)'), GeomFromEWKT('SRID=4674;POINT (-40.362294 -2.805947)'))) / (select extract(epoch from '2026-07-06 12:50:40'::timestamp) - extract(epoch from '2026-07-06 12:50:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36246 -2.805855)'), GeomFromEWKT('SRID=4674;POINT (-40.362294 -2.805947)'))) / (select extract(epoch from '2026-07-06 12:50:40'::timestamp) - extract(epoch from '2026-07-06 12:50: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'), 47828, 'SRID=4674;POINT (-40.362162 -2.806049)', '2026-07-06 12:50:48', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362294 -2.805947)'), GeomFromEWKT('SRID=4674;POINT (-40.362162 -2.806049)'))) / (select extract(epoch from '2026-07-06 12:50:48'::timestamp) - extract(epoch from '2026-07-06 12:50:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362294 -2.805947)'), GeomFromEWKT('SRID=4674;POINT (-40.362162 -2.806049)'))) / (select extract(epoch from '2026-07-06 12:50:48'::timestamp) - extract(epoch from '2026-07-06 12:50: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'), 47828, 'SRID=4674;POINT (-40.362102 -2.806127)', '2026-07-06 12:50:53', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362162 -2.806049)'), GeomFromEWKT('SRID=4674;POINT (-40.362102 -2.806127)'))) / (select extract(epoch from '2026-07-06 12:50:53'::timestamp) - extract(epoch from '2026-07-06 12:50:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362162 -2.806049)'), GeomFromEWKT('SRID=4674;POINT (-40.362102 -2.806127)'))) / (select extract(epoch from '2026-07-06 12:50:53'::timestamp) - extract(epoch from '2026-07-06 12:50: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'), 47828, 'SRID=4674;POINT (-40.362018 -2.806261)', '2026-07-06 12:51:00', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362102 -2.806127)'), GeomFromEWKT('SRID=4674;POINT (-40.362018 -2.806261)'))) / (select extract(epoch from '2026-07-06 12:51:00'::timestamp) - extract(epoch from '2026-07-06 12:50:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362102 -2.806127)'), GeomFromEWKT('SRID=4674;POINT (-40.362018 -2.806261)'))) / (select extract(epoch from '2026-07-06 12:51:00'::timestamp) - extract(epoch from '2026-07-06 12:50:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.361914 -2.806375)', '2026-07-06 12:51:07', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362018 -2.806261)'), GeomFromEWKT('SRID=4674;POINT (-40.361914 -2.806375)'))) / (select extract(epoch from '2026-07-06 12:51:07'::timestamp) - extract(epoch from '2026-07-06 12:51:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362018 -2.806261)'), GeomFromEWKT('SRID=4674;POINT (-40.361914 -2.806375)'))) / (select extract(epoch from '2026-07-06 12:51:07'::timestamp) - extract(epoch from '2026-07-06 12:51: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'), 47828, 'SRID=4674;POINT (-40.361804 -2.806472)', '2026-07-06 12:51:14', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361914 -2.806375)'), GeomFromEWKT('SRID=4674;POINT (-40.361804 -2.806472)'))) / (select extract(epoch from '2026-07-06 12:51:14'::timestamp) - extract(epoch from '2026-07-06 12:51:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361914 -2.806375)'), GeomFromEWKT('SRID=4674;POINT (-40.361804 -2.806472)'))) / (select extract(epoch from '2026-07-06 12:51:14'::timestamp) - extract(epoch from '2026-07-06 12:51: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'), 47828, 'SRID=4674;POINT (-40.36171 -2.80664)', '2026-07-06 12:51:23', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361804 -2.806472)'), GeomFromEWKT('SRID=4674;POINT (-40.36171 -2.80664)'))) / (select extract(epoch from '2026-07-06 12:51:23'::timestamp) - extract(epoch from '2026-07-06 12:51:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361804 -2.806472)'), GeomFromEWKT('SRID=4674;POINT (-40.36171 -2.80664)'))) / (select extract(epoch from '2026-07-06 12:51:23'::timestamp) - extract(epoch from '2026-07-06 12:51:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.361657 -2.806761)', '2026-07-06 12:51:29', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36171 -2.80664)'), GeomFromEWKT('SRID=4674;POINT (-40.361657 -2.806761)'))) / (select extract(epoch from '2026-07-06 12:51:29'::timestamp) - extract(epoch from '2026-07-06 12:51:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36171 -2.80664)'), GeomFromEWKT('SRID=4674;POINT (-40.361657 -2.806761)'))) / (select extract(epoch from '2026-07-06 12:51:29'::timestamp) - extract(epoch from '2026-07-06 12:51: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'), 47828, 'SRID=4674;POINT (-40.361572 -2.806896)', '2026-07-06 12:51:36', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361657 -2.806761)'), GeomFromEWKT('SRID=4674;POINT (-40.361572 -2.806896)'))) / (select extract(epoch from '2026-07-06 12:51:36'::timestamp) - extract(epoch from '2026-07-06 12:51:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361657 -2.806761)'), GeomFromEWKT('SRID=4674;POINT (-40.361572 -2.806896)'))) / (select extract(epoch from '2026-07-06 12:51:36'::timestamp) - extract(epoch from '2026-07-06 12:51:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.361473 -2.807031)', '2026-07-06 12:51:44', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361572 -2.806896)'), GeomFromEWKT('SRID=4674;POINT (-40.361473 -2.807031)'))) / (select extract(epoch from '2026-07-06 12:51:44'::timestamp) - extract(epoch from '2026-07-06 12:51:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361572 -2.806896)'), GeomFromEWKT('SRID=4674;POINT (-40.361473 -2.807031)'))) / (select extract(epoch from '2026-07-06 12:51:44'::timestamp) - extract(epoch from '2026-07-06 12:51:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.361381 -2.807152)', '2026-07-06 12:51:51', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361473 -2.807031)'), GeomFromEWKT('SRID=4674;POINT (-40.361381 -2.807152)'))) / (select extract(epoch from '2026-07-06 12:51:51'::timestamp) - extract(epoch from '2026-07-06 12:51:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361473 -2.807031)'), GeomFromEWKT('SRID=4674;POINT (-40.361381 -2.807152)'))) / (select extract(epoch from '2026-07-06 12:51:51'::timestamp) - extract(epoch from '2026-07-06 12:51:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.361249 -2.807271)', '2026-07-06 12:51:59', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361381 -2.807152)'), GeomFromEWKT('SRID=4674;POINT (-40.361249 -2.807271)'))) / (select extract(epoch from '2026-07-06 12:51:59'::timestamp) - extract(epoch from '2026-07-06 12:51:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361381 -2.807152)'), GeomFromEWKT('SRID=4674;POINT (-40.361249 -2.807271)'))) / (select extract(epoch from '2026-07-06 12:51:59'::timestamp) - extract(epoch from '2026-07-06 12:51:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.361129 -2.807383)', '2026-07-06 12:52:06', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361249 -2.807271)'), GeomFromEWKT('SRID=4674;POINT (-40.361129 -2.807383)'))) / (select extract(epoch from '2026-07-06 12:52:06'::timestamp) - extract(epoch from '2026-07-06 12:51:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361249 -2.807271)'), GeomFromEWKT('SRID=4674;POINT (-40.361129 -2.807383)'))) / (select extract(epoch from '2026-07-06 12:52:06'::timestamp) - extract(epoch from '2026-07-06 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'), 47828, 'SRID=4674;POINT (-40.361028 -2.807512)', '2026-07-06 12:52:14', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361129 -2.807383)'), GeomFromEWKT('SRID=4674;POINT (-40.361028 -2.807512)'))) / (select extract(epoch from '2026-07-06 12:52:14'::timestamp) - extract(epoch from '2026-07-06 12:52:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361129 -2.807383)'), GeomFromEWKT('SRID=4674;POINT (-40.361028 -2.807512)'))) / (select extract(epoch from '2026-07-06 12:52:14'::timestamp) - extract(epoch from '2026-07-06 12:52:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
