 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.119722 -2.812836)', '2026-07-20 16:33:08', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119666 -2.812822)'), GeomFromEWKT('SRID=4674;POINT (-40.119722 -2.812836)'))) / (select extract(epoch from '2026-07-20 16:33:08'::timestamp) - extract(epoch from '2026-07-20 16:33:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119666 -2.812822)'), GeomFromEWKT('SRID=4674;POINT (-40.119722 -2.812836)'))) / (select extract(epoch from '2026-07-20 16:33:08'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47632, 'SRID=4674;POINT (-40.119753 -2.812868)', '2026-07-20 16:33:16', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119722 -2.812836)'), GeomFromEWKT('SRID=4674;POINT (-40.119753 -2.812868)'))) / (select extract(epoch from '2026-07-20 16:33:16'::timestamp) - extract(epoch from '2026-07-20 16:33:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119722 -2.812836)'), GeomFromEWKT('SRID=4674;POINT (-40.119753 -2.812868)'))) / (select extract(epoch from '2026-07-20 16:33:16'::timestamp) - extract(epoch from '2026-07-20 16:33:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.119795 -2.812877)', '2026-07-20 16:33:22', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119753 -2.812868)'), GeomFromEWKT('SRID=4674;POINT (-40.119795 -2.812877)'))) / (select extract(epoch from '2026-07-20 16:33:22'::timestamp) - extract(epoch from '2026-07-20 16:33:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119753 -2.812868)'), GeomFromEWKT('SRID=4674;POINT (-40.119795 -2.812877)'))) / (select extract(epoch from '2026-07-20 16:33:22'::timestamp) - extract(epoch from '2026-07-20 16:33: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'), 47632, 'SRID=4674;POINT (-40.119852 -2.812892)', '2026-07-20 16:33:31', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119795 -2.812877)'), GeomFromEWKT('SRID=4674;POINT (-40.119852 -2.812892)'))) / (select extract(epoch from '2026-07-20 16:33:31'::timestamp) - extract(epoch from '2026-07-20 16:33:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119795 -2.812877)'), GeomFromEWKT('SRID=4674;POINT (-40.119852 -2.812892)'))) / (select extract(epoch from '2026-07-20 16:33:31'::timestamp) - extract(epoch from '2026-07-20 16:33: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'), 47632, 'SRID=4674;POINT (-40.119902 -2.81291)', '2026-07-20 16:33:39', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119852 -2.812892)'), GeomFromEWKT('SRID=4674;POINT (-40.119902 -2.81291)'))) / (select extract(epoch from '2026-07-20 16:33:39'::timestamp) - extract(epoch from '2026-07-20 16:33:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119852 -2.812892)'), GeomFromEWKT('SRID=4674;POINT (-40.119902 -2.81291)'))) / (select extract(epoch from '2026-07-20 16:33:39'::timestamp) - extract(epoch from '2026-07-20 16:33:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.119971 -2.812881)', '2026-07-20 16:33:47', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119902 -2.81291)'), GeomFromEWKT('SRID=4674;POINT (-40.119971 -2.812881)'))) / (select extract(epoch from '2026-07-20 16:33:47'::timestamp) - extract(epoch from '2026-07-20 16:33:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119902 -2.81291)'), GeomFromEWKT('SRID=4674;POINT (-40.119971 -2.812881)'))) / (select extract(epoch from '2026-07-20 16:33:47'::timestamp) - extract(epoch from '2026-07-20 16:33:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.120042 -2.812869)', '2026-07-20 16:33:54', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119971 -2.812881)'), GeomFromEWKT('SRID=4674;POINT (-40.120042 -2.812869)'))) / (select extract(epoch from '2026-07-20 16:33:54'::timestamp) - extract(epoch from '2026-07-20 16:33:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119971 -2.812881)'), GeomFromEWKT('SRID=4674;POINT (-40.120042 -2.812869)'))) / (select extract(epoch from '2026-07-20 16:33:54'::timestamp) - extract(epoch from '2026-07-20 16:33: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'), 47632, 'SRID=4674;POINT (-40.120086 -2.812883)', '2026-07-20 16:34:01', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120042 -2.812869)'), GeomFromEWKT('SRID=4674;POINT (-40.120086 -2.812883)'))) / (select extract(epoch from '2026-07-20 16:34:01'::timestamp) - extract(epoch from '2026-07-20 16:33:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120042 -2.812869)'), GeomFromEWKT('SRID=4674;POINT (-40.120086 -2.812883)'))) / (select extract(epoch from '2026-07-20 16:34:01'::timestamp) - extract(epoch from '2026-07-20 16:33:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.120148 -2.812891)', '2026-07-20 16:34:09', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120086 -2.812883)'), GeomFromEWKT('SRID=4674;POINT (-40.120148 -2.812891)'))) / (select extract(epoch from '2026-07-20 16:34:09'::timestamp) - extract(epoch from '2026-07-20 16:34:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120086 -2.812883)'), GeomFromEWKT('SRID=4674;POINT (-40.120148 -2.812891)'))) / (select extract(epoch from '2026-07-20 16:34:09'::timestamp) - extract(epoch from '2026-07-20 16:34:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.120214 -2.812909)', '2026-07-20 16:34:18', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120148 -2.812891)'), GeomFromEWKT('SRID=4674;POINT (-40.120214 -2.812909)'))) / (select extract(epoch from '2026-07-20 16:34:18'::timestamp) - extract(epoch from '2026-07-20 16:34:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120148 -2.812891)'), GeomFromEWKT('SRID=4674;POINT (-40.120214 -2.812909)'))) / (select extract(epoch from '2026-07-20 16:34:18'::timestamp) - extract(epoch from '2026-07-20 16:34: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'), 47632, 'SRID=4674;POINT (-40.120253 -2.812935)', '2026-07-20 16:34:26', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120214 -2.812909)'), GeomFromEWKT('SRID=4674;POINT (-40.120253 -2.812935)'))) / (select extract(epoch from '2026-07-20 16:34:26'::timestamp) - extract(epoch from '2026-07-20 16:34:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120214 -2.812909)'), GeomFromEWKT('SRID=4674;POINT (-40.120253 -2.812935)'))) / (select extract(epoch from '2026-07-20 16:34:26'::timestamp) - extract(epoch from '2026-07-20 16:34:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.120302 -2.812946)', '2026-07-20 16:34:34', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120253 -2.812935)'), GeomFromEWKT('SRID=4674;POINT (-40.120302 -2.812946)'))) / (select extract(epoch from '2026-07-20 16:34:34'::timestamp) - extract(epoch from '2026-07-20 16:34:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120253 -2.812935)'), GeomFromEWKT('SRID=4674;POINT (-40.120302 -2.812946)'))) / (select extract(epoch from '2026-07-20 16:34:34'::timestamp) - extract(epoch from '2026-07-20 16:34: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'), 47632, 'SRID=4674;POINT (-40.120329 -2.812944)', '2026-07-20 16:34:41', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120302 -2.812946)'), GeomFromEWKT('SRID=4674;POINT (-40.120329 -2.812944)'))) / (select extract(epoch from '2026-07-20 16:34:41'::timestamp) - extract(epoch from '2026-07-20 16:34:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120302 -2.812946)'), GeomFromEWKT('SRID=4674;POINT (-40.120329 -2.812944)'))) / (select extract(epoch from '2026-07-20 16:34:41'::timestamp) - extract(epoch from '2026-07-20 16:34:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.120369 -2.812959)', '2026-07-20 16:34:48', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120329 -2.812944)'), GeomFromEWKT('SRID=4674;POINT (-40.120369 -2.812959)'))) / (select extract(epoch from '2026-07-20 16:34:48'::timestamp) - extract(epoch from '2026-07-20 16:34:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120329 -2.812944)'), GeomFromEWKT('SRID=4674;POINT (-40.120369 -2.812959)'))) / (select extract(epoch from '2026-07-20 16:34:48'::timestamp) - extract(epoch from '2026-07-20 16:34:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.120406 -2.812975)', '2026-07-20 16:34:55', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120369 -2.812959)'), GeomFromEWKT('SRID=4674;POINT (-40.120406 -2.812975)'))) / (select extract(epoch from '2026-07-20 16:34:55'::timestamp) - extract(epoch from '2026-07-20 16:34:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120369 -2.812959)'), GeomFromEWKT('SRID=4674;POINT (-40.120406 -2.812975)'))) / (select extract(epoch from '2026-07-20 16:34:55'::timestamp) - extract(epoch from '2026-07-20 16:34: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'), 47632, 'SRID=4674;POINT (-40.120485 -2.813001)', '2026-07-20 16:35:05', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120406 -2.812975)'), GeomFromEWKT('SRID=4674;POINT (-40.120485 -2.813001)'))) / (select extract(epoch from '2026-07-20 16:35:05'::timestamp) - extract(epoch from '2026-07-20 16:34:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120406 -2.812975)'), GeomFromEWKT('SRID=4674;POINT (-40.120485 -2.813001)'))) / (select extract(epoch from '2026-07-20 16:35:05'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47632, 'SRID=4674;POINT (-40.120526 -2.813027)', '2026-07-20 16:35:12', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120485 -2.813001)'), GeomFromEWKT('SRID=4674;POINT (-40.120526 -2.813027)'))) / (select extract(epoch from '2026-07-20 16:35:12'::timestamp) - extract(epoch from '2026-07-20 16:35:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120485 -2.813001)'), GeomFromEWKT('SRID=4674;POINT (-40.120526 -2.813027)'))) / (select extract(epoch from '2026-07-20 16:35:12'::timestamp) - extract(epoch from '2026-07-20 16:35: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'), 47632, 'SRID=4674;POINT (-40.120569 -2.81305)', '2026-07-20 16:35:19', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120526 -2.813027)'), GeomFromEWKT('SRID=4674;POINT (-40.120569 -2.81305)'))) / (select extract(epoch from '2026-07-20 16:35:19'::timestamp) - extract(epoch from '2026-07-20 16:35:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120526 -2.813027)'), GeomFromEWKT('SRID=4674;POINT (-40.120569 -2.81305)'))) / (select extract(epoch from '2026-07-20 16:35:19'::timestamp) - extract(epoch from '2026-07-20 16:35: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'), 47632, 'SRID=4674;POINT (-40.120623 -2.813062)', '2026-07-20 16:35:28', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120569 -2.81305)'), GeomFromEWKT('SRID=4674;POINT (-40.120623 -2.813062)'))) / (select extract(epoch from '2026-07-20 16:35:28'::timestamp) - extract(epoch from '2026-07-20 16:35:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120569 -2.81305)'), GeomFromEWKT('SRID=4674;POINT (-40.120623 -2.813062)'))) / (select extract(epoch from '2026-07-20 16:35:28'::timestamp) - extract(epoch from '2026-07-20 16:35:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.120689 -2.813079)', '2026-07-20 16:35:39', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120623 -2.813062)'), GeomFromEWKT('SRID=4674;POINT (-40.120689 -2.813079)'))) / (select extract(epoch from '2026-07-20 16:35:39'::timestamp) - extract(epoch from '2026-07-20 16:35:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120623 -2.813062)'), GeomFromEWKT('SRID=4674;POINT (-40.120689 -2.813079)'))) / (select extract(epoch from '2026-07-20 16:35:39'::timestamp) - extract(epoch from '2026-07-20 16:35: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'), 47632, 'SRID=4674;POINT (-40.120714 -2.813093)', '2026-07-20 16:35:45', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120689 -2.813079)'), GeomFromEWKT('SRID=4674;POINT (-40.120714 -2.813093)'))) / (select extract(epoch from '2026-07-20 16:35:45'::timestamp) - extract(epoch from '2026-07-20 16:35:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120689 -2.813079)'), GeomFromEWKT('SRID=4674;POINT (-40.120714 -2.813093)'))) / (select extract(epoch from '2026-07-20 16:35:45'::timestamp) - extract(epoch from '2026-07-20 16:35: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'), 47632, 'SRID=4674;POINT (-40.120753 -2.813101)', '2026-07-20 16:35:52', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120714 -2.813093)'), GeomFromEWKT('SRID=4674;POINT (-40.120753 -2.813101)'))) / (select extract(epoch from '2026-07-20 16:35:52'::timestamp) - extract(epoch from '2026-07-20 16:35:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120714 -2.813093)'), GeomFromEWKT('SRID=4674;POINT (-40.120753 -2.813101)'))) / (select extract(epoch from '2026-07-20 16:35:52'::timestamp) - extract(epoch from '2026-07-20 16:35:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.120817 -2.813115)', '2026-07-20 16:36:00', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120753 -2.813101)'), GeomFromEWKT('SRID=4674;POINT (-40.120817 -2.813115)'))) / (select extract(epoch from '2026-07-20 16:36:00'::timestamp) - extract(epoch from '2026-07-20 16:35:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120753 -2.813101)'), GeomFromEWKT('SRID=4674;POINT (-40.120817 -2.813115)'))) / (select extract(epoch from '2026-07-20 16:36:00'::timestamp) - extract(epoch from '2026-07-20 16:35:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.120873 -2.813129)', '2026-07-20 16:36:07', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120817 -2.813115)'), GeomFromEWKT('SRID=4674;POINT (-40.120873 -2.813129)'))) / (select extract(epoch from '2026-07-20 16:36:07'::timestamp) - extract(epoch from '2026-07-20 16:36:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120817 -2.813115)'), GeomFromEWKT('SRID=4674;POINT (-40.120873 -2.813129)'))) / (select extract(epoch from '2026-07-20 16:36:07'::timestamp) - extract(epoch from '2026-07-20 16:36: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'), 47632, 'SRID=4674;POINT (-40.120929 -2.813143)', '2026-07-20 16:36:20', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120873 -2.813129)'), GeomFromEWKT('SRID=4674;POINT (-40.120929 -2.813143)'))) / (select extract(epoch from '2026-07-20 16:36:20'::timestamp) - extract(epoch from '2026-07-20 16:36:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120873 -2.813129)'), GeomFromEWKT('SRID=4674;POINT (-40.120929 -2.813143)'))) / (select extract(epoch from '2026-07-20 16:36:20'::timestamp) - extract(epoch from '2026-07-20 16:36:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.121022 -2.813182)', '2026-07-20 16:36:35', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120929 -2.813143)'), GeomFromEWKT('SRID=4674;POINT (-40.121022 -2.813182)'))) / (select extract(epoch from '2026-07-20 16:36:35'::timestamp) - extract(epoch from '2026-07-20 16:36:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120929 -2.813143)'), GeomFromEWKT('SRID=4674;POINT (-40.121022 -2.813182)'))) / (select extract(epoch from '2026-07-20 16:36:35'::timestamp) - extract(epoch from '2026-07-20 16:36:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.121084 -2.813192)', '2026-07-20 16:36:49', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121022 -2.813182)'), GeomFromEWKT('SRID=4674;POINT (-40.121084 -2.813192)'))) / (select extract(epoch from '2026-07-20 16:36:49'::timestamp) - extract(epoch from '2026-07-20 16:36:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121022 -2.813182)'), GeomFromEWKT('SRID=4674;POINT (-40.121084 -2.813192)'))) / (select extract(epoch from '2026-07-20 16:36:49'::timestamp) - extract(epoch from '2026-07-20 16:36: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'), 47632, 'SRID=4674;POINT (-40.121198 -2.813216)', '2026-07-20 16:37:04', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121084 -2.813192)'), GeomFromEWKT('SRID=4674;POINT (-40.121198 -2.813216)'))) / (select extract(epoch from '2026-07-20 16:37:04'::timestamp) - extract(epoch from '2026-07-20 16:36:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121084 -2.813192)'), GeomFromEWKT('SRID=4674;POINT (-40.121198 -2.813216)'))) / (select extract(epoch from '2026-07-20 16:37:04'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47632, 'SRID=4674;POINT (-40.121307 -2.813242)', '2026-07-20 16:37:19', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121198 -2.813216)'), GeomFromEWKT('SRID=4674;POINT (-40.121307 -2.813242)'))) / (select extract(epoch from '2026-07-20 16:37:19'::timestamp) - extract(epoch from '2026-07-20 16:37:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121198 -2.813216)'), GeomFromEWKT('SRID=4674;POINT (-40.121307 -2.813242)'))) / (select extract(epoch from '2026-07-20 16:37:19'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47632, 'SRID=4674;POINT (-40.121362 -2.813252)', '2026-07-20 16:37:28', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121307 -2.813242)'), GeomFromEWKT('SRID=4674;POINT (-40.121362 -2.813252)'))) / (select extract(epoch from '2026-07-20 16:37:28'::timestamp) - extract(epoch from '2026-07-20 16:37:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121307 -2.813242)'), GeomFromEWKT('SRID=4674;POINT (-40.121362 -2.813252)'))) / (select extract(epoch from '2026-07-20 16:37:28'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47632, 'SRID=4674;POINT (-40.121423 -2.813226)', '2026-07-20 16:37:37', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121362 -2.813252)'), GeomFromEWKT('SRID=4674;POINT (-40.121423 -2.813226)'))) / (select extract(epoch from '2026-07-20 16:37:37'::timestamp) - extract(epoch from '2026-07-20 16:37:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121362 -2.813252)'), GeomFromEWKT('SRID=4674;POINT (-40.121423 -2.813226)'))) / (select extract(epoch from '2026-07-20 16:37:37'::timestamp) - extract(epoch from '2026-07-20 16:37:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.121553 -2.813206)', '2026-07-20 16:37:52', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121423 -2.813226)'), GeomFromEWKT('SRID=4674;POINT (-40.121553 -2.813206)'))) / (select extract(epoch from '2026-07-20 16:37:52'::timestamp) - extract(epoch from '2026-07-20 16:37:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121423 -2.813226)'), GeomFromEWKT('SRID=4674;POINT (-40.121553 -2.813206)'))) / (select extract(epoch from '2026-07-20 16:37:52'::timestamp) - extract(epoch from '2026-07-20 16:37:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.121658 -2.813246)', '2026-07-20 16:38:07', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121553 -2.813206)'), GeomFromEWKT('SRID=4674;POINT (-40.121658 -2.813246)'))) / (select extract(epoch from '2026-07-20 16:38:07'::timestamp) - extract(epoch from '2026-07-20 16:37:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121553 -2.813206)'), GeomFromEWKT('SRID=4674;POINT (-40.121658 -2.813246)'))) / (select extract(epoch from '2026-07-20 16:38:07'::timestamp) - extract(epoch from '2026-07-20 16:37: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'), 47632, 'SRID=4674;POINT (-40.121731 -2.813272)', '2026-07-20 16:38:16', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121658 -2.813246)'), GeomFromEWKT('SRID=4674;POINT (-40.121731 -2.813272)'))) / (select extract(epoch from '2026-07-20 16:38:16'::timestamp) - extract(epoch from '2026-07-20 16:38:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121658 -2.813246)'), GeomFromEWKT('SRID=4674;POINT (-40.121731 -2.813272)'))) / (select extract(epoch from '2026-07-20 16:38:16'::timestamp) - extract(epoch from '2026-07-20 16:38: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'), 47632, 'SRID=4674;POINT (-40.121781 -2.813273)', '2026-07-20 16:38:25', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121731 -2.813272)'), GeomFromEWKT('SRID=4674;POINT (-40.121781 -2.813273)'))) / (select extract(epoch from '2026-07-20 16:38:25'::timestamp) - extract(epoch from '2026-07-20 16:38:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121731 -2.813272)'), GeomFromEWKT('SRID=4674;POINT (-40.121781 -2.813273)'))) / (select extract(epoch from '2026-07-20 16:38:25'::timestamp) - extract(epoch from '2026-07-20 16:38: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'), 47632, 'SRID=4674;POINT (-40.12186 -2.81328)', '2026-07-20 16:38:35', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121781 -2.813273)'), GeomFromEWKT('SRID=4674;POINT (-40.12186 -2.81328)'))) / (select extract(epoch from '2026-07-20 16:38:35'::timestamp) - extract(epoch from '2026-07-20 16:38:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121781 -2.813273)'), GeomFromEWKT('SRID=4674;POINT (-40.12186 -2.81328)'))) / (select extract(epoch from '2026-07-20 16:38:35'::timestamp) - extract(epoch from '2026-07-20 16:38: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'), 47632, 'SRID=4674;POINT (-40.121948 -2.813285)', '2026-07-20 16:38:47', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12186 -2.81328)'), GeomFromEWKT('SRID=4674;POINT (-40.121948 -2.813285)'))) / (select extract(epoch from '2026-07-20 16:38:47'::timestamp) - extract(epoch from '2026-07-20 16:38:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12186 -2.81328)'), GeomFromEWKT('SRID=4674;POINT (-40.121948 -2.813285)'))) / (select extract(epoch from '2026-07-20 16:38:47'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47632, 'SRID=4674;POINT (-40.122103 -2.813257)', '2026-07-20 16:39:06', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121948 -2.813285)'), GeomFromEWKT('SRID=4674;POINT (-40.122103 -2.813257)'))) / (select extract(epoch from '2026-07-20 16:39:06'::timestamp) - extract(epoch from '2026-07-20 16:38:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121948 -2.813285)'), GeomFromEWKT('SRID=4674;POINT (-40.122103 -2.813257)'))) / (select extract(epoch from '2026-07-20 16:39:06'::timestamp) - extract(epoch from '2026-07-20 16:38: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'), 47632, 'SRID=4674;POINT (-40.122245 -2.813218)', '2026-07-20 16:39:26', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122103 -2.813257)'), GeomFromEWKT('SRID=4674;POINT (-40.122245 -2.813218)'))) / (select extract(epoch from '2026-07-20 16:39:26'::timestamp) - extract(epoch from '2026-07-20 16:39:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122103 -2.813257)'), GeomFromEWKT('SRID=4674;POINT (-40.122245 -2.813218)'))) / (select extract(epoch from '2026-07-20 16:39:26'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47632, 'SRID=4674;POINT (-40.122324 -2.813235)', '2026-07-20 16:39:43', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122245 -2.813218)'), GeomFromEWKT('SRID=4674;POINT (-40.122324 -2.813235)'))) / (select extract(epoch from '2026-07-20 16:39:43'::timestamp) - extract(epoch from '2026-07-20 16:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122245 -2.813218)'), GeomFromEWKT('SRID=4674;POINT (-40.122324 -2.813235)'))) / (select extract(epoch from '2026-07-20 16:39:43'::timestamp) - extract(epoch from '2026-07-20 16:39:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.122421 -2.813284)', '2026-07-20 16:39:58', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122324 -2.813235)'), GeomFromEWKT('SRID=4674;POINT (-40.122421 -2.813284)'))) / (select extract(epoch from '2026-07-20 16:39:58'::timestamp) - extract(epoch from '2026-07-20 16:39:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122324 -2.813235)'), GeomFromEWKT('SRID=4674;POINT (-40.122421 -2.813284)'))) / (select extract(epoch from '2026-07-20 16:39:58'::timestamp) - extract(epoch from '2026-07-20 16:39:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.122569 -2.813255)', '2026-07-20 16:40:14', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122421 -2.813284)'), GeomFromEWKT('SRID=4674;POINT (-40.122569 -2.813255)'))) / (select extract(epoch from '2026-07-20 16:40:14'::timestamp) - extract(epoch from '2026-07-20 16:39:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122421 -2.813284)'), GeomFromEWKT('SRID=4674;POINT (-40.122569 -2.813255)'))) / (select extract(epoch from '2026-07-20 16:40:14'::timestamp) - extract(epoch from '2026-07-20 16:39: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'), 47632, 'SRID=4674;POINT (-40.122686 -2.813241)', '2026-07-20 16:40:30', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122569 -2.813255)'), GeomFromEWKT('SRID=4674;POINT (-40.122686 -2.813241)'))) / (select extract(epoch from '2026-07-20 16:40:30'::timestamp) - extract(epoch from '2026-07-20 16:40:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122569 -2.813255)'), GeomFromEWKT('SRID=4674;POINT (-40.122686 -2.813241)'))) / (select extract(epoch from '2026-07-20 16:40:30'::timestamp) - extract(epoch from '2026-07-20 16:40:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.122759 -2.813218)', '2026-07-20 16:40:46', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122686 -2.813241)'), GeomFromEWKT('SRID=4674;POINT (-40.122759 -2.813218)'))) / (select extract(epoch from '2026-07-20 16:40:46'::timestamp) - extract(epoch from '2026-07-20 16:40:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122686 -2.813241)'), GeomFromEWKT('SRID=4674;POINT (-40.122759 -2.813218)'))) / (select extract(epoch from '2026-07-20 16:40:46'::timestamp) - extract(epoch from '2026-07-20 16:40: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'), 47632, 'SRID=4674;POINT (-40.12287 -2.81323)', '2026-07-20 16:41:02', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122759 -2.813218)'), GeomFromEWKT('SRID=4674;POINT (-40.12287 -2.81323)'))) / (select extract(epoch from '2026-07-20 16:41:02'::timestamp) - extract(epoch from '2026-07-20 16:40:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122759 -2.813218)'), GeomFromEWKT('SRID=4674;POINT (-40.12287 -2.81323)'))) / (select extract(epoch from '2026-07-20 16:41:02'::timestamp) - extract(epoch from '2026-07-20 16:40:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.122989 -2.813261)', '2026-07-20 16:41:18', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12287 -2.81323)'), GeomFromEWKT('SRID=4674;POINT (-40.122989 -2.813261)'))) / (select extract(epoch from '2026-07-20 16:41:18'::timestamp) - extract(epoch from '2026-07-20 16:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12287 -2.81323)'), GeomFromEWKT('SRID=4674;POINT (-40.122989 -2.813261)'))) / (select extract(epoch from '2026-07-20 16:41:18'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47632, 'SRID=4674;POINT (-40.123114 -2.813289)', '2026-07-20 16:41:37', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122989 -2.813261)'), GeomFromEWKT('SRID=4674;POINT (-40.123114 -2.813289)'))) / (select extract(epoch from '2026-07-20 16:41:37'::timestamp) - extract(epoch from '2026-07-20 16:41:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122989 -2.813261)'), GeomFromEWKT('SRID=4674;POINT (-40.123114 -2.813289)'))) / (select extract(epoch from '2026-07-20 16:41:37'::timestamp) - extract(epoch from '2026-07-20 16:41: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'), 47632, 'SRID=4674;POINT (-40.123234 -2.813356)', '2026-07-20 16:41:55', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123114 -2.813289)'), GeomFromEWKT('SRID=4674;POINT (-40.123234 -2.813356)'))) / (select extract(epoch from '2026-07-20 16:41:55'::timestamp) - extract(epoch from '2026-07-20 16:41:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123114 -2.813289)'), GeomFromEWKT('SRID=4674;POINT (-40.123234 -2.813356)'))) / (select extract(epoch from '2026-07-20 16:41:55'::timestamp) - extract(epoch from '2026-07-20 16:41: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'), 47632, 'SRID=4674;POINT (-40.123304 -2.813382)', '2026-07-20 16:42:09', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123234 -2.813356)'), GeomFromEWKT('SRID=4674;POINT (-40.123304 -2.813382)'))) / (select extract(epoch from '2026-07-20 16:42:09'::timestamp) - extract(epoch from '2026-07-20 16:41:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123234 -2.813356)'), GeomFromEWKT('SRID=4674;POINT (-40.123304 -2.813382)'))) / (select extract(epoch from '2026-07-20 16:42:09'::timestamp) - extract(epoch from '2026-07-20 16:41:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.123415 -2.813429)', '2026-07-20 16:42:26', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123304 -2.813382)'), GeomFromEWKT('SRID=4674;POINT (-40.123415 -2.813429)'))) / (select extract(epoch from '2026-07-20 16:42:26'::timestamp) - extract(epoch from '2026-07-20 16:42:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123304 -2.813382)'), GeomFromEWKT('SRID=4674;POINT (-40.123415 -2.813429)'))) / (select extract(epoch from '2026-07-20 16:42:26'::timestamp) - extract(epoch from '2026-07-20 16:42: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'), 47632, 'SRID=4674;POINT (-40.123511 -2.813453)', '2026-07-20 16:42:38', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123415 -2.813429)'), GeomFromEWKT('SRID=4674;POINT (-40.123511 -2.813453)'))) / (select extract(epoch from '2026-07-20 16:42:38'::timestamp) - extract(epoch from '2026-07-20 16:42:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123415 -2.813429)'), GeomFromEWKT('SRID=4674;POINT (-40.123511 -2.813453)'))) / (select extract(epoch from '2026-07-20 16:42:38'::timestamp) - extract(epoch from '2026-07-20 16:42: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'), 47632, 'SRID=4674;POINT (-40.123514 -2.813455)', '2026-07-20 16:42:39', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123511 -2.813453)'), GeomFromEWKT('SRID=4674;POINT (-40.123514 -2.813455)'))) / (select extract(epoch from '2026-07-20 16:42:39'::timestamp) - extract(epoch from '2026-07-20 16:42:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123511 -2.813453)'), GeomFromEWKT('SRID=4674;POINT (-40.123514 -2.813455)'))) / (select extract(epoch from '2026-07-20 16:42:39'::timestamp) - extract(epoch from '2026-07-20 16:42:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.123554 -2.813469)', '2026-07-20 16:42:46', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123514 -2.813455)'), GeomFromEWKT('SRID=4674;POINT (-40.123554 -2.813469)'))) / (select extract(epoch from '2026-07-20 16:42:46'::timestamp) - extract(epoch from '2026-07-20 16:42:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123514 -2.813455)'), GeomFromEWKT('SRID=4674;POINT (-40.123554 -2.813469)'))) / (select extract(epoch from '2026-07-20 16:42:46'::timestamp) - extract(epoch from '2026-07-20 16:42: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'), 47632, 'SRID=4674;POINT (-40.123616 -2.813483)', '2026-07-20 16:42:54', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123554 -2.813469)'), GeomFromEWKT('SRID=4674;POINT (-40.123616 -2.813483)'))) / (select extract(epoch from '2026-07-20 16:42:54'::timestamp) - extract(epoch from '2026-07-20 16:42:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123554 -2.813469)'), GeomFromEWKT('SRID=4674;POINT (-40.123616 -2.813483)'))) / (select extract(epoch from '2026-07-20 16:42:54'::timestamp) - extract(epoch from '2026-07-20 16:42: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'), 47632, 'SRID=4674;POINT (-40.123663 -2.813508)', '2026-07-20 16:43:01', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123616 -2.813483)'), GeomFromEWKT('SRID=4674;POINT (-40.123663 -2.813508)'))) / (select extract(epoch from '2026-07-20 16:43:01'::timestamp) - extract(epoch from '2026-07-20 16:42:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123616 -2.813483)'), GeomFromEWKT('SRID=4674;POINT (-40.123663 -2.813508)'))) / (select extract(epoch from '2026-07-20 16:43:01'::timestamp) - extract(epoch from '2026-07-20 16:42:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.123733 -2.813542)', '2026-07-20 16:43:13', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123663 -2.813508)'), GeomFromEWKT('SRID=4674;POINT (-40.123733 -2.813542)'))) / (select extract(epoch from '2026-07-20 16:43:13'::timestamp) - extract(epoch from '2026-07-20 16:43:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123663 -2.813508)'), GeomFromEWKT('SRID=4674;POINT (-40.123733 -2.813542)'))) / (select extract(epoch from '2026-07-20 16:43:13'::timestamp) - extract(epoch from '2026-07-20 16:43:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.123835 -2.813575)', '2026-07-20 16:43:29', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123733 -2.813542)'), GeomFromEWKT('SRID=4674;POINT (-40.123835 -2.813575)'))) / (select extract(epoch from '2026-07-20 16:43:29'::timestamp) - extract(epoch from '2026-07-20 16:43:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123733 -2.813542)'), GeomFromEWKT('SRID=4674;POINT (-40.123835 -2.813575)'))) / (select extract(epoch from '2026-07-20 16:43:29'::timestamp) - extract(epoch from '2026-07-20 16:43:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.123943 -2.813603)', '2026-07-20 16:43:46', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123835 -2.813575)'), GeomFromEWKT('SRID=4674;POINT (-40.123943 -2.813603)'))) / (select extract(epoch from '2026-07-20 16:43:46'::timestamp) - extract(epoch from '2026-07-20 16:43:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123835 -2.813575)'), GeomFromEWKT('SRID=4674;POINT (-40.123943 -2.813603)'))) / (select extract(epoch from '2026-07-20 16:43:46'::timestamp) - extract(epoch from '2026-07-20 16:43:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.124053 -2.813662)', '2026-07-20 16:44:02', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123943 -2.813603)'), GeomFromEWKT('SRID=4674;POINT (-40.124053 -2.813662)'))) / (select extract(epoch from '2026-07-20 16:44:02'::timestamp) - extract(epoch from '2026-07-20 16:43:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123943 -2.813603)'), GeomFromEWKT('SRID=4674;POINT (-40.124053 -2.813662)'))) / (select extract(epoch from '2026-07-20 16:44:02'::timestamp) - extract(epoch from '2026-07-20 16:43: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'), 47632, 'SRID=4674;POINT (-40.124168 -2.813718)', '2026-07-20 16:44:20', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124053 -2.813662)'), GeomFromEWKT('SRID=4674;POINT (-40.124168 -2.813718)'))) / (select extract(epoch from '2026-07-20 16:44:20'::timestamp) - extract(epoch from '2026-07-20 16:44:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124053 -2.813662)'), GeomFromEWKT('SRID=4674;POINT (-40.124168 -2.813718)'))) / (select extract(epoch from '2026-07-20 16:44:20'::timestamp) - extract(epoch from '2026-07-20 16:44:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.124258 -2.813771)', '2026-07-20 16:44:38', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124168 -2.813718)'), GeomFromEWKT('SRID=4674;POINT (-40.124258 -2.813771)'))) / (select extract(epoch from '2026-07-20 16:44:38'::timestamp) - extract(epoch from '2026-07-20 16:44:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124168 -2.813718)'), GeomFromEWKT('SRID=4674;POINT (-40.124258 -2.813771)'))) / (select extract(epoch from '2026-07-20 16:44:38'::timestamp) - extract(epoch from '2026-07-20 16:44:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.124327 -2.813788)', '2026-07-20 16:44:52', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124258 -2.813771)'), GeomFromEWKT('SRID=4674;POINT (-40.124327 -2.813788)'))) / (select extract(epoch from '2026-07-20 16:44:52'::timestamp) - extract(epoch from '2026-07-20 16:44:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124258 -2.813771)'), GeomFromEWKT('SRID=4674;POINT (-40.124327 -2.813788)'))) / (select extract(epoch from '2026-07-20 16:44:52'::timestamp) - extract(epoch from '2026-07-20 16:44: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'), 47632, 'SRID=4674;POINT (-40.124366 -2.813778)', '2026-07-20 16:45:02', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124327 -2.813788)'), GeomFromEWKT('SRID=4674;POINT (-40.124366 -2.813778)'))) / (select extract(epoch from '2026-07-20 16:45:02'::timestamp) - extract(epoch from '2026-07-20 16:44:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124327 -2.813788)'), GeomFromEWKT('SRID=4674;POINT (-40.124366 -2.813778)'))) / (select extract(epoch from '2026-07-20 16:45:02'::timestamp) - extract(epoch from '2026-07-20 16:44:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.12438 -2.813775)', '2026-07-20 16:46:09', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124366 -2.813778)'), GeomFromEWKT('SRID=4674;POINT (-40.12438 -2.813775)'))) / (select extract(epoch from '2026-07-20 16:46:09'::timestamp) - extract(epoch from '2026-07-20 16:45:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124366 -2.813778)'), GeomFromEWKT('SRID=4674;POINT (-40.12438 -2.813775)'))) / (select extract(epoch from '2026-07-20 16:46:09'::timestamp) - extract(epoch from '2026-07-20 16:45: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'), 47632, 'SRID=4674;POINT (-40.124419 -2.813797)', '2026-07-20 16:47:35', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12438 -2.813775)'), GeomFromEWKT('SRID=4674;POINT (-40.124419 -2.813797)'))) / (select extract(epoch from '2026-07-20 16:47:35'::timestamp) - extract(epoch from '2026-07-20 16:46:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12438 -2.813775)'), GeomFromEWKT('SRID=4674;POINT (-40.124419 -2.813797)'))) / (select extract(epoch from '2026-07-20 16:47:35'::timestamp) - extract(epoch from '2026-07-20 16:46:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.124406 -2.813814)', '2026-07-20 16:49:23', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124419 -2.813797)'), GeomFromEWKT('SRID=4674;POINT (-40.124406 -2.813814)'))) / (select extract(epoch from '2026-07-20 16:49:23'::timestamp) - extract(epoch from '2026-07-20 16:47:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124419 -2.813797)'), GeomFromEWKT('SRID=4674;POINT (-40.124406 -2.813814)'))) / (select extract(epoch from '2026-07-20 16:49:23'::timestamp) - extract(epoch from '2026-07-20 16:47:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.12443 -2.813832)', '2026-07-20 16:49:32', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124406 -2.813814)'), GeomFromEWKT('SRID=4674;POINT (-40.12443 -2.813832)'))) / (select extract(epoch from '2026-07-20 16:49:32'::timestamp) - extract(epoch from '2026-07-20 16:49:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124406 -2.813814)'), GeomFromEWKT('SRID=4674;POINT (-40.12443 -2.813832)'))) / (select extract(epoch from '2026-07-20 16:49:32'::timestamp) - extract(epoch from '2026-07-20 16:49: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'), 47632, 'SRID=4674;POINT (-40.124444 -2.813827)', '2026-07-20 16:49:39', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12443 -2.813832)'), GeomFromEWKT('SRID=4674;POINT (-40.124444 -2.813827)'))) / (select extract(epoch from '2026-07-20 16:49:39'::timestamp) - extract(epoch from '2026-07-20 16:49:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12443 -2.813832)'), GeomFromEWKT('SRID=4674;POINT (-40.124444 -2.813827)'))) / (select extract(epoch from '2026-07-20 16:49:39'::timestamp) - extract(epoch from '2026-07-20 16:49:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.124459 -2.813818)', '2026-07-20 16:49:45', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124444 -2.813827)'), GeomFromEWKT('SRID=4674;POINT (-40.124459 -2.813818)'))) / (select extract(epoch from '2026-07-20 16:49:45'::timestamp) - extract(epoch from '2026-07-20 16:49:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124444 -2.813827)'), GeomFromEWKT('SRID=4674;POINT (-40.124459 -2.813818)'))) / (select extract(epoch from '2026-07-20 16:49:45'::timestamp) - extract(epoch from '2026-07-20 16:49:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.124413 -2.813777)', '2026-07-20 16:59:29', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124459 -2.813818)'), GeomFromEWKT('SRID=4674;POINT (-40.124413 -2.813777)'))) / (select extract(epoch from '2026-07-20 16:59:29'::timestamp) - extract(epoch from '2026-07-20 16:49:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124459 -2.813818)'), GeomFromEWKT('SRID=4674;POINT (-40.124413 -2.813777)'))) / (select extract(epoch from '2026-07-20 16:59:29'::timestamp) - extract(epoch from '2026-07-20 16:49: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'), 47632, 'SRID=4674;POINT (-40.12445 -2.813809)', '2026-07-20 17:01:41', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124413 -2.813777)'), GeomFromEWKT('SRID=4674;POINT (-40.12445 -2.813809)'))) / (select extract(epoch from '2026-07-20 17:01:41'::timestamp) - extract(epoch from '2026-07-20 16:59:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124413 -2.813777)'), GeomFromEWKT('SRID=4674;POINT (-40.12445 -2.813809)'))) / (select extract(epoch from '2026-07-20 17:01:41'::timestamp) - extract(epoch from '2026-07-20 16:59: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'), 47632, 'SRID=4674;POINT (-40.12453 -2.813843)', '2026-07-20 17:01:55', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12445 -2.813809)'), GeomFromEWKT('SRID=4674;POINT (-40.12453 -2.813843)'))) / (select extract(epoch from '2026-07-20 17:01:55'::timestamp) - extract(epoch from '2026-07-20 17:01:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12445 -2.813809)'), GeomFromEWKT('SRID=4674;POINT (-40.12453 -2.813843)'))) / (select extract(epoch from '2026-07-20 17:01:55'::timestamp) - extract(epoch from '2026-07-20 17:01:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.124574 -2.813879)', '2026-07-20 17:02:03', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12453 -2.813843)'), GeomFromEWKT('SRID=4674;POINT (-40.124574 -2.813879)'))) / (select extract(epoch from '2026-07-20 17:02:03'::timestamp) - extract(epoch from '2026-07-20 17:01:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12453 -2.813843)'), GeomFromEWKT('SRID=4674;POINT (-40.124574 -2.813879)'))) / (select extract(epoch from '2026-07-20 17:02:03'::timestamp) - extract(epoch from '2026-07-20 17:01:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.124629 -2.813887)', '2026-07-20 17:02:11', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124574 -2.813879)'), GeomFromEWKT('SRID=4674;POINT (-40.124629 -2.813887)'))) / (select extract(epoch from '2026-07-20 17:02:11'::timestamp) - extract(epoch from '2026-07-20 17:02:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124574 -2.813879)'), GeomFromEWKT('SRID=4674;POINT (-40.124629 -2.813887)'))) / (select extract(epoch from '2026-07-20 17:02:11'::timestamp) - extract(epoch from '2026-07-20 17:02: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'), 47632, 'SRID=4674;POINT (-40.124695 -2.813907)', '2026-07-20 17:02:20', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124629 -2.813887)'), GeomFromEWKT('SRID=4674;POINT (-40.124695 -2.813907)'))) / (select extract(epoch from '2026-07-20 17:02:20'::timestamp) - extract(epoch from '2026-07-20 17:02:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124629 -2.813887)'), GeomFromEWKT('SRID=4674;POINT (-40.124695 -2.813907)'))) / (select extract(epoch from '2026-07-20 17:02:20'::timestamp) - extract(epoch from '2026-07-20 17:02: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'), 47632, 'SRID=4674;POINT (-40.124728 -2.81395)', '2026-07-20 17:02:29', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124695 -2.813907)'), GeomFromEWKT('SRID=4674;POINT (-40.124728 -2.81395)'))) / (select extract(epoch from '2026-07-20 17:02:29'::timestamp) - extract(epoch from '2026-07-20 17:02:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124695 -2.813907)'), GeomFromEWKT('SRID=4674;POINT (-40.124728 -2.81395)'))) / (select extract(epoch from '2026-07-20 17:02:29'::timestamp) - extract(epoch from '2026-07-20 17:02: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'), 47632, 'SRID=4674;POINT (-40.124734 -2.813954)', '2026-07-20 17:02:30', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124728 -2.81395)'), GeomFromEWKT('SRID=4674;POINT (-40.124734 -2.813954)'))) / (select extract(epoch from '2026-07-20 17:02:30'::timestamp) - extract(epoch from '2026-07-20 17:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124728 -2.81395)'), GeomFromEWKT('SRID=4674;POINT (-40.124734 -2.813954)'))) / (select extract(epoch from '2026-07-20 17:02:30'::timestamp) - extract(epoch from '2026-07-20 17:02:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.12477 -2.813991)', '2026-07-20 17:02:36', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124734 -2.813954)'), GeomFromEWKT('SRID=4674;POINT (-40.12477 -2.813991)'))) / (select extract(epoch from '2026-07-20 17:02:36'::timestamp) - extract(epoch from '2026-07-20 17:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124734 -2.813954)'), GeomFromEWKT('SRID=4674;POINT (-40.12477 -2.813991)'))) / (select extract(epoch from '2026-07-20 17:02:36'::timestamp) - extract(epoch from '2026-07-20 17:02: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'), 47632, 'SRID=4674;POINT (-40.124821 -2.81401)', '2026-07-20 17:02:43', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12477 -2.813991)'), GeomFromEWKT('SRID=4674;POINT (-40.124821 -2.81401)'))) / (select extract(epoch from '2026-07-20 17:02:43'::timestamp) - extract(epoch from '2026-07-20 17:02:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12477 -2.813991)'), GeomFromEWKT('SRID=4674;POINT (-40.124821 -2.81401)'))) / (select extract(epoch from '2026-07-20 17:02:43'::timestamp) - extract(epoch from '2026-07-20 17:02:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.124829 -2.814013)', '2026-07-20 17:02:44', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124821 -2.81401)'), GeomFromEWKT('SRID=4674;POINT (-40.124829 -2.814013)'))) / (select extract(epoch from '2026-07-20 17:02:44'::timestamp) - extract(epoch from '2026-07-20 17:02:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124821 -2.81401)'), GeomFromEWKT('SRID=4674;POINT (-40.124829 -2.814013)'))) / (select extract(epoch from '2026-07-20 17:02:44'::timestamp) - extract(epoch from '2026-07-20 17:02: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'), 47632, 'SRID=4674;POINT (-40.124893 -2.814034)', '2026-07-20 17:02:54', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124829 -2.814013)'), GeomFromEWKT('SRID=4674;POINT (-40.124893 -2.814034)'))) / (select extract(epoch from '2026-07-20 17:02:54'::timestamp) - extract(epoch from '2026-07-20 17:02:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124829 -2.814013)'), GeomFromEWKT('SRID=4674;POINT (-40.124893 -2.814034)'))) / (select extract(epoch from '2026-07-20 17:02:54'::timestamp) - extract(epoch from '2026-07-20 17:02:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.124939 -2.81408)', '2026-07-20 17:03:03', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124893 -2.814034)'), GeomFromEWKT('SRID=4674;POINT (-40.124939 -2.81408)'))) / (select extract(epoch from '2026-07-20 17:03:03'::timestamp) - extract(epoch from '2026-07-20 17:02:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124893 -2.814034)'), GeomFromEWKT('SRID=4674;POINT (-40.124939 -2.81408)'))) / (select extract(epoch from '2026-07-20 17:03:03'::timestamp) - extract(epoch from '2026-07-20 17:02: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'), 47632, 'SRID=4674;POINT (-40.124999 -2.814114)', '2026-07-20 17:03:13', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124939 -2.81408)'), GeomFromEWKT('SRID=4674;POINT (-40.124999 -2.814114)'))) / (select extract(epoch from '2026-07-20 17:03:13'::timestamp) - extract(epoch from '2026-07-20 17:03:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124939 -2.81408)'), GeomFromEWKT('SRID=4674;POINT (-40.124999 -2.814114)'))) / (select extract(epoch from '2026-07-20 17:03:13'::timestamp) - extract(epoch from '2026-07-20 17:03: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'), 47632, 'SRID=4674;POINT (-40.125047 -2.814133)', '2026-07-20 17:03:21', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124999 -2.814114)'), GeomFromEWKT('SRID=4674;POINT (-40.125047 -2.814133)'))) / (select extract(epoch from '2026-07-20 17:03:21'::timestamp) - extract(epoch from '2026-07-20 17:03:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124999 -2.814114)'), GeomFromEWKT('SRID=4674;POINT (-40.125047 -2.814133)'))) / (select extract(epoch from '2026-07-20 17:03:21'::timestamp) - extract(epoch from '2026-07-20 17:03:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.125091 -2.814138)', '2026-07-20 17:03:28', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125047 -2.814133)'), GeomFromEWKT('SRID=4674;POINT (-40.125091 -2.814138)'))) / (select extract(epoch from '2026-07-20 17:03:28'::timestamp) - extract(epoch from '2026-07-20 17:03:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125047 -2.814133)'), GeomFromEWKT('SRID=4674;POINT (-40.125091 -2.814138)'))) / (select extract(epoch from '2026-07-20 17:03:28'::timestamp) - extract(epoch from '2026-07-20 17:03: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'), 47632, 'SRID=4674;POINT (-40.125132 -2.814161)', '2026-07-20 17:03:36', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125091 -2.814138)'), GeomFromEWKT('SRID=4674;POINT (-40.125132 -2.814161)'))) / (select extract(epoch from '2026-07-20 17:03:36'::timestamp) - extract(epoch from '2026-07-20 17:03:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125091 -2.814138)'), GeomFromEWKT('SRID=4674;POINT (-40.125132 -2.814161)'))) / (select extract(epoch from '2026-07-20 17:03:36'::timestamp) - extract(epoch from '2026-07-20 17:03: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'), 47632, 'SRID=4674;POINT (-40.125171 -2.814179)', '2026-07-20 17:03:41', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125132 -2.814161)'), GeomFromEWKT('SRID=4674;POINT (-40.125171 -2.814179)'))) / (select extract(epoch from '2026-07-20 17:03:41'::timestamp) - extract(epoch from '2026-07-20 17:03:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125132 -2.814161)'), GeomFromEWKT('SRID=4674;POINT (-40.125171 -2.814179)'))) / (select extract(epoch from '2026-07-20 17:03:41'::timestamp) - extract(epoch from '2026-07-20 17:03: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'), 47632, 'SRID=4674;POINT (-40.125223 -2.814192)', '2026-07-20 17:03:50', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125171 -2.814179)'), GeomFromEWKT('SRID=4674;POINT (-40.125223 -2.814192)'))) / (select extract(epoch from '2026-07-20 17:03:50'::timestamp) - extract(epoch from '2026-07-20 17:03:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125171 -2.814179)'), GeomFromEWKT('SRID=4674;POINT (-40.125223 -2.814192)'))) / (select extract(epoch from '2026-07-20 17:03:50'::timestamp) - extract(epoch from '2026-07-20 17:03:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.125276 -2.814191)', '2026-07-20 17:04:01', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125223 -2.814192)'), GeomFromEWKT('SRID=4674;POINT (-40.125276 -2.814191)'))) / (select extract(epoch from '2026-07-20 17:04:01'::timestamp) - extract(epoch from '2026-07-20 17:03:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125223 -2.814192)'), GeomFromEWKT('SRID=4674;POINT (-40.125276 -2.814191)'))) / (select extract(epoch from '2026-07-20 17:04:01'::timestamp) - extract(epoch from '2026-07-20 17:03:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.125295 -2.814186)', '2026-07-20 17:04:09', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125276 -2.814191)'), GeomFromEWKT('SRID=4674;POINT (-40.125295 -2.814186)'))) / (select extract(epoch from '2026-07-20 17:04:09'::timestamp) - extract(epoch from '2026-07-20 17:04:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125276 -2.814191)'), GeomFromEWKT('SRID=4674;POINT (-40.125295 -2.814186)'))) / (select extract(epoch from '2026-07-20 17:04:09'::timestamp) - extract(epoch from '2026-07-20 17:04: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'), 47632, 'SRID=4674;POINT (-40.125314 -2.814194)', '2026-07-20 17:04:16', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125295 -2.814186)'), GeomFromEWKT('SRID=4674;POINT (-40.125314 -2.814194)'))) / (select extract(epoch from '2026-07-20 17:04:16'::timestamp) - extract(epoch from '2026-07-20 17:04:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125295 -2.814186)'), GeomFromEWKT('SRID=4674;POINT (-40.125314 -2.814194)'))) / (select extract(epoch from '2026-07-20 17:04:16'::timestamp) - extract(epoch from '2026-07-20 17:04:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.125347 -2.814197)', '2026-07-20 17:04:25', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125314 -2.814194)'), GeomFromEWKT('SRID=4674;POINT (-40.125347 -2.814197)'))) / (select extract(epoch from '2026-07-20 17:04:25'::timestamp) - extract(epoch from '2026-07-20 17:04:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125314 -2.814194)'), GeomFromEWKT('SRID=4674;POINT (-40.125347 -2.814197)'))) / (select extract(epoch from '2026-07-20 17:04:25'::timestamp) - extract(epoch from '2026-07-20 17:04: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'), 47632, 'SRID=4674;POINT (-40.125353 -2.814215)', '2026-07-20 17:04:31', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125347 -2.814197)'), GeomFromEWKT('SRID=4674;POINT (-40.125353 -2.814215)'))) / (select extract(epoch from '2026-07-20 17:04:31'::timestamp) - extract(epoch from '2026-07-20 17:04:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125347 -2.814197)'), GeomFromEWKT('SRID=4674;POINT (-40.125353 -2.814215)'))) / (select extract(epoch from '2026-07-20 17:04:31'::timestamp) - extract(epoch from '2026-07-20 17:04:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.125355 -2.814232)', '2026-07-20 17:04:33', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125353 -2.814215)'), GeomFromEWKT('SRID=4674;POINT (-40.125355 -2.814232)'))) / (select extract(epoch from '2026-07-20 17:04:33'::timestamp) - extract(epoch from '2026-07-20 17:04:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125353 -2.814215)'), GeomFromEWKT('SRID=4674;POINT (-40.125355 -2.814232)'))) / (select extract(epoch from '2026-07-20 17:04:33'::timestamp) - extract(epoch from '2026-07-20 17:04:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.125384 -2.814266)', '2026-07-20 17:04:38', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125355 -2.814232)'), GeomFromEWKT('SRID=4674;POINT (-40.125384 -2.814266)'))) / (select extract(epoch from '2026-07-20 17:04:38'::timestamp) - extract(epoch from '2026-07-20 17:04:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125355 -2.814232)'), GeomFromEWKT('SRID=4674;POINT (-40.125384 -2.814266)'))) / (select extract(epoch from '2026-07-20 17:04:38'::timestamp) - extract(epoch from '2026-07-20 17:04: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'), 47632, 'SRID=4674;POINT (-40.125419 -2.814279)', '2026-07-20 17:04:45', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125384 -2.814266)'), GeomFromEWKT('SRID=4674;POINT (-40.125419 -2.814279)'))) / (select extract(epoch from '2026-07-20 17:04:45'::timestamp) - extract(epoch from '2026-07-20 17:04:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125384 -2.814266)'), GeomFromEWKT('SRID=4674;POINT (-40.125419 -2.814279)'))) / (select extract(epoch from '2026-07-20 17:04:45'::timestamp) - extract(epoch from '2026-07-20 17:04:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.125438 -2.81428)', '2026-07-20 17:04:53', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125419 -2.814279)'), GeomFromEWKT('SRID=4674;POINT (-40.125438 -2.81428)'))) / (select extract(epoch from '2026-07-20 17:04:53'::timestamp) - extract(epoch from '2026-07-20 17:04:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125419 -2.814279)'), GeomFromEWKT('SRID=4674;POINT (-40.125438 -2.81428)'))) / (select extract(epoch from '2026-07-20 17:04:53'::timestamp) - extract(epoch from '2026-07-20 17:04:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.12546 -2.814258)', '2026-07-20 17:05:38', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125438 -2.81428)'), GeomFromEWKT('SRID=4674;POINT (-40.12546 -2.814258)'))) / (select extract(epoch from '2026-07-20 17:05:38'::timestamp) - extract(epoch from '2026-07-20 17:04:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125438 -2.81428)'), GeomFromEWKT('SRID=4674;POINT (-40.12546 -2.814258)'))) / (select extract(epoch from '2026-07-20 17:05:38'::timestamp) - extract(epoch from '2026-07-20 17:04: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'), 47632, 'SRID=4674;POINT (-40.12547 -2.814264)', '2026-07-20 17:06:02', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12546 -2.814258)'), GeomFromEWKT('SRID=4674;POINT (-40.12547 -2.814264)'))) / (select extract(epoch from '2026-07-20 17:06:02'::timestamp) - extract(epoch from '2026-07-20 17:05:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12546 -2.814258)'), GeomFromEWKT('SRID=4674;POINT (-40.12547 -2.814264)'))) / (select extract(epoch from '2026-07-20 17:06:02'::timestamp) - extract(epoch from '2026-07-20 17:05: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'), 47632, 'SRID=4674;POINT (-40.125385 -2.814243)', '2026-07-20 17:09:15', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12547 -2.814264)'), GeomFromEWKT('SRID=4674;POINT (-40.125385 -2.814243)'))) / (select extract(epoch from '2026-07-20 17:09:15'::timestamp) - extract(epoch from '2026-07-20 17:06:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12547 -2.814264)'), GeomFromEWKT('SRID=4674;POINT (-40.125385 -2.814243)'))) / (select extract(epoch from '2026-07-20 17:09:15'::timestamp) - extract(epoch from '2026-07-20 17:06: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'), 47632, 'SRID=4674;POINT (-40.125253 -2.814286)', '2026-07-20 17:09:30', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125385 -2.814243)'), GeomFromEWKT('SRID=4674;POINT (-40.125253 -2.814286)'))) / (select extract(epoch from '2026-07-20 17:09:30'::timestamp) - extract(epoch from '2026-07-20 17:09:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125385 -2.814243)'), GeomFromEWKT('SRID=4674;POINT (-40.125253 -2.814286)'))) / (select extract(epoch from '2026-07-20 17:09:30'::timestamp) - extract(epoch from '2026-07-20 17:09:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.12518 -2.814292)', '2026-07-20 17:09:43', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125253 -2.814286)'), GeomFromEWKT('SRID=4674;POINT (-40.12518 -2.814292)'))) / (select extract(epoch from '2026-07-20 17:09:43'::timestamp) - extract(epoch from '2026-07-20 17:09:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125253 -2.814286)'), GeomFromEWKT('SRID=4674;POINT (-40.12518 -2.814292)'))) / (select extract(epoch from '2026-07-20 17:09:43'::timestamp) - extract(epoch from '2026-07-20 17:09:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.125187 -2.81426)', '2026-07-20 17:09:47', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12518 -2.814292)'), GeomFromEWKT('SRID=4674;POINT (-40.125187 -2.81426)'))) / (select extract(epoch from '2026-07-20 17:09:47'::timestamp) - extract(epoch from '2026-07-20 17:09:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12518 -2.814292)'), GeomFromEWKT('SRID=4674;POINT (-40.125187 -2.81426)'))) / (select extract(epoch from '2026-07-20 17:09:47'::timestamp) - extract(epoch from '2026-07-20 17:09: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'), 47632, 'SRID=4674;POINT (-40.125216 -2.814214)', '2026-07-20 17:09:53', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125187 -2.81426)'), GeomFromEWKT('SRID=4674;POINT (-40.125216 -2.814214)'))) / (select extract(epoch from '2026-07-20 17:09:53'::timestamp) - extract(epoch from '2026-07-20 17:09:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125187 -2.81426)'), GeomFromEWKT('SRID=4674;POINT (-40.125216 -2.814214)'))) / (select extract(epoch from '2026-07-20 17:09:53'::timestamp) - extract(epoch from '2026-07-20 17:09: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'), 47632, 'SRID=4674;POINT (-40.125318 -2.814063)', '2026-07-20 17:10:12', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125216 -2.814214)'), GeomFromEWKT('SRID=4674;POINT (-40.125318 -2.814063)'))) / (select extract(epoch from '2026-07-20 17:10:12'::timestamp) - extract(epoch from '2026-07-20 17:09:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125216 -2.814214)'), GeomFromEWKT('SRID=4674;POINT (-40.125318 -2.814063)'))) / (select extract(epoch from '2026-07-20 17:10:12'::timestamp) - extract(epoch from '2026-07-20 17:09: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'), 47632, 'SRID=4674;POINT (-40.125395 -2.813984)', '2026-07-20 17:10:30', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125318 -2.814063)'), GeomFromEWKT('SRID=4674;POINT (-40.125395 -2.813984)'))) / (select extract(epoch from '2026-07-20 17:10:30'::timestamp) - extract(epoch from '2026-07-20 17:10:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125318 -2.814063)'), GeomFromEWKT('SRID=4674;POINT (-40.125395 -2.813984)'))) / (select extract(epoch from '2026-07-20 17:10:30'::timestamp) - extract(epoch from '2026-07-20 17:10: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'), 47632, 'SRID=4674;POINT (-40.125372 -2.814)', '2026-07-20 17:10:39', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125395 -2.813984)'), GeomFromEWKT('SRID=4674;POINT (-40.125372 -2.814)'))) / (select extract(epoch from '2026-07-20 17:10:39'::timestamp) - extract(epoch from '2026-07-20 17:10:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125395 -2.813984)'), GeomFromEWKT('SRID=4674;POINT (-40.125372 -2.814)'))) / (select extract(epoch from '2026-07-20 17:10:39'::timestamp) - extract(epoch from '2026-07-20 17:10:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.12538 -2.814008)', '2026-07-20 17:10:52', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125372 -2.814)'), GeomFromEWKT('SRID=4674;POINT (-40.12538 -2.814008)'))) / (select extract(epoch from '2026-07-20 17:10:52'::timestamp) - extract(epoch from '2026-07-20 17:10:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125372 -2.814)'), GeomFromEWKT('SRID=4674;POINT (-40.12538 -2.814008)'))) / (select extract(epoch from '2026-07-20 17:10:52'::timestamp) - extract(epoch from '2026-07-20 17:10: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'), 47632, 'SRID=4674;POINT (-40.125383 -2.813997)', '2026-07-20 17:11:01', 21.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12538 -2.814008)'), GeomFromEWKT('SRID=4674;POINT (-40.125383 -2.813997)'))) / (select extract(epoch from '2026-07-20 17:11:01'::timestamp) - extract(epoch from '2026-07-20 17:10:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12538 -2.814008)'), GeomFromEWKT('SRID=4674;POINT (-40.125383 -2.813997)'))) / (select extract(epoch from '2026-07-20 17:11:01'::timestamp) - extract(epoch from '2026-07-20 17:10:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.12537 -2.813992)', '2026-07-20 17:11:17', 21.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125383 -2.813997)'), GeomFromEWKT('SRID=4674;POINT (-40.12537 -2.813992)'))) / (select extract(epoch from '2026-07-20 17:11:17'::timestamp) - extract(epoch from '2026-07-20 17:11:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125383 -2.813997)'), GeomFromEWKT('SRID=4674;POINT (-40.12537 -2.813992)'))) / (select extract(epoch from '2026-07-20 17:11:17'::timestamp) - extract(epoch from '2026-07-20 17:11:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.125389 -2.814028)', '2026-07-20 17:11:24', 21.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12537 -2.813992)'), GeomFromEWKT('SRID=4674;POINT (-40.125389 -2.814028)'))) / (select extract(epoch from '2026-07-20 17:11:24'::timestamp) - extract(epoch from '2026-07-20 17:11:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12537 -2.813992)'), GeomFromEWKT('SRID=4674;POINT (-40.125389 -2.814028)'))) / (select extract(epoch from '2026-07-20 17:11:24'::timestamp) - extract(epoch from '2026-07-20 17:11: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'), 47632, 'SRID=4674;POINT (-40.125384 -2.813992)', '2026-07-20 17:11:40', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125389 -2.814028)'), GeomFromEWKT('SRID=4674;POINT (-40.125384 -2.813992)'))) / (select extract(epoch from '2026-07-20 17:11:40'::timestamp) - extract(epoch from '2026-07-20 17:11:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125389 -2.814028)'), GeomFromEWKT('SRID=4674;POINT (-40.125384 -2.813992)'))) / (select extract(epoch from '2026-07-20 17:11:40'::timestamp) - extract(epoch from '2026-07-20 17:11: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'), 47632, 'SRID=4674;POINT (-40.125341 -2.813991)', '2026-07-20 17:11:52', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125384 -2.813992)'), GeomFromEWKT('SRID=4674;POINT (-40.125341 -2.813991)'))) / (select extract(epoch from '2026-07-20 17:11:52'::timestamp) - extract(epoch from '2026-07-20 17:11:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125384 -2.813992)'), GeomFromEWKT('SRID=4674;POINT (-40.125341 -2.813991)'))) / (select extract(epoch from '2026-07-20 17:11:52'::timestamp) - extract(epoch from '2026-07-20 17:11:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.12531 -2.814)', '2026-07-20 17:12:01', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125341 -2.813991)'), GeomFromEWKT('SRID=4674;POINT (-40.12531 -2.814)'))) / (select extract(epoch from '2026-07-20 17:12:01'::timestamp) - extract(epoch from '2026-07-20 17:11:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125341 -2.813991)'), GeomFromEWKT('SRID=4674;POINT (-40.12531 -2.814)'))) / (select extract(epoch from '2026-07-20 17:12:01'::timestamp) - extract(epoch from '2026-07-20 17:11: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'), 47632, 'SRID=4674;POINT (-40.125239 -2.814029)', '2026-07-20 17:12:14', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12531 -2.814)'), GeomFromEWKT('SRID=4674;POINT (-40.125239 -2.814029)'))) / (select extract(epoch from '2026-07-20 17:12:14'::timestamp) - extract(epoch from '2026-07-20 17:12:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12531 -2.814)'), GeomFromEWKT('SRID=4674;POINT (-40.125239 -2.814029)'))) / (select extract(epoch from '2026-07-20 17:12:14'::timestamp) - extract(epoch from '2026-07-20 17:12:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.125227 -2.814038)', '2026-07-20 17:12:22', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125239 -2.814029)'), GeomFromEWKT('SRID=4674;POINT (-40.125227 -2.814038)'))) / (select extract(epoch from '2026-07-20 17:12:22'::timestamp) - extract(epoch from '2026-07-20 17:12:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125239 -2.814029)'), GeomFromEWKT('SRID=4674;POINT (-40.125227 -2.814038)'))) / (select extract(epoch from '2026-07-20 17:12:22'::timestamp) - extract(epoch from '2026-07-20 17:12:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.125187 -2.814046)', '2026-07-20 17:12:32', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125227 -2.814038)'), GeomFromEWKT('SRID=4674;POINT (-40.125187 -2.814046)'))) / (select extract(epoch from '2026-07-20 17:12:32'::timestamp) - extract(epoch from '2026-07-20 17:12:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125227 -2.814038)'), GeomFromEWKT('SRID=4674;POINT (-40.125187 -2.814046)'))) / (select extract(epoch from '2026-07-20 17:12:32'::timestamp) - extract(epoch from '2026-07-20 17:12: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'), 47632, 'SRID=4674;POINT (-40.125144 -2.814033)', '2026-07-20 17:12:47', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125187 -2.814046)'), GeomFromEWKT('SRID=4674;POINT (-40.125144 -2.814033)'))) / (select extract(epoch from '2026-07-20 17:12:47'::timestamp) - extract(epoch from '2026-07-20 17:12:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125187 -2.814046)'), GeomFromEWKT('SRID=4674;POINT (-40.125144 -2.814033)'))) / (select extract(epoch from '2026-07-20 17:12:47'::timestamp) - extract(epoch from '2026-07-20 17:12: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'), 47632, 'SRID=4674;POINT (-40.125131 -2.814037)', '2026-07-20 17:12:50', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125144 -2.814033)'), GeomFromEWKT('SRID=4674;POINT (-40.125131 -2.814037)'))) / (select extract(epoch from '2026-07-20 17:12:50'::timestamp) - extract(epoch from '2026-07-20 17:12:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125144 -2.814033)'), GeomFromEWKT('SRID=4674;POINT (-40.125131 -2.814037)'))) / (select extract(epoch from '2026-07-20 17:12:50'::timestamp) - extract(epoch from '2026-07-20 17:12:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.125087 -2.814037)', '2026-07-20 17:12:58', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125131 -2.814037)'), GeomFromEWKT('SRID=4674;POINT (-40.125087 -2.814037)'))) / (select extract(epoch from '2026-07-20 17:12:58'::timestamp) - extract(epoch from '2026-07-20 17:12:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125131 -2.814037)'), GeomFromEWKT('SRID=4674;POINT (-40.125087 -2.814037)'))) / (select extract(epoch from '2026-07-20 17:12:58'::timestamp) - extract(epoch from '2026-07-20 17:12: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'), 47632, 'SRID=4674;POINT (-40.125068 -2.814035)', '2026-07-20 17:13:10', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125087 -2.814037)'), GeomFromEWKT('SRID=4674;POINT (-40.125068 -2.814035)'))) / (select extract(epoch from '2026-07-20 17:13:10'::timestamp) - extract(epoch from '2026-07-20 17:12:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125087 -2.814037)'), GeomFromEWKT('SRID=4674;POINT (-40.125068 -2.814035)'))) / (select extract(epoch from '2026-07-20 17:13:10'::timestamp) - extract(epoch from '2026-07-20 17:12:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.124977 -2.814008)', '2026-07-20 17:13:50', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125068 -2.814035)'), GeomFromEWKT('SRID=4674;POINT (-40.124977 -2.814008)'))) / (select extract(epoch from '2026-07-20 17:13:50'::timestamp) - extract(epoch from '2026-07-20 17:13:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125068 -2.814035)'), GeomFromEWKT('SRID=4674;POINT (-40.124977 -2.814008)'))) / (select extract(epoch from '2026-07-20 17:13:50'::timestamp) - extract(epoch from '2026-07-20 17:13:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.124921 -2.814024)', '2026-07-20 17:13:59', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124977 -2.814008)'), GeomFromEWKT('SRID=4674;POINT (-40.124921 -2.814024)'))) / (select extract(epoch from '2026-07-20 17:13:59'::timestamp) - extract(epoch from '2026-07-20 17:13:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124977 -2.814008)'), GeomFromEWKT('SRID=4674;POINT (-40.124921 -2.814024)'))) / (select extract(epoch from '2026-07-20 17:13:59'::timestamp) - extract(epoch from '2026-07-20 17:13: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'), 47632, 'SRID=4674;POINT (-40.124862 -2.814047)', '2026-07-20 17:14:08', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124921 -2.814024)'), GeomFromEWKT('SRID=4674;POINT (-40.124862 -2.814047)'))) / (select extract(epoch from '2026-07-20 17:14:08'::timestamp) - extract(epoch from '2026-07-20 17:13:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124921 -2.814024)'), GeomFromEWKT('SRID=4674;POINT (-40.124862 -2.814047)'))) / (select extract(epoch from '2026-07-20 17:14:08'::timestamp) - extract(epoch from '2026-07-20 17:13: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'), 47632, 'SRID=4674;POINT (-40.124779 -2.814049)', '2026-07-20 17:14:25', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124862 -2.814047)'), GeomFromEWKT('SRID=4674;POINT (-40.124779 -2.814049)'))) / (select extract(epoch from '2026-07-20 17:14:25'::timestamp) - extract(epoch from '2026-07-20 17:14:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124862 -2.814047)'), GeomFromEWKT('SRID=4674;POINT (-40.124779 -2.814049)'))) / (select extract(epoch from '2026-07-20 17:14:25'::timestamp) - extract(epoch from '2026-07-20 17:14:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.124753 -2.814062)', '2026-07-20 17:14:33', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124779 -2.814049)'), GeomFromEWKT('SRID=4674;POINT (-40.124753 -2.814062)'))) / (select extract(epoch from '2026-07-20 17:14:33'::timestamp) - extract(epoch from '2026-07-20 17:14:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124779 -2.814049)'), GeomFromEWKT('SRID=4674;POINT (-40.124753 -2.814062)'))) / (select extract(epoch from '2026-07-20 17:14:33'::timestamp) - extract(epoch from '2026-07-20 17:14: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'), 47632, 'SRID=4674;POINT (-40.124687 -2.814068)', '2026-07-20 17:14:49', 22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124753 -2.814062)'), GeomFromEWKT('SRID=4674;POINT (-40.124687 -2.814068)'))) / (select extract(epoch from '2026-07-20 17:14:49'::timestamp) - extract(epoch from '2026-07-20 17:14:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124753 -2.814062)'), GeomFromEWKT('SRID=4674;POINT (-40.124687 -2.814068)'))) / (select extract(epoch from '2026-07-20 17:14:49'::timestamp) - extract(epoch from '2026-07-20 17:14: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'), 47632, 'SRID=4674;POINT (-40.124662 -2.814114)', '2026-07-20 17:15:01', 22.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124687 -2.814068)'), GeomFromEWKT('SRID=4674;POINT (-40.124662 -2.814114)'))) / (select extract(epoch from '2026-07-20 17:15:01'::timestamp) - extract(epoch from '2026-07-20 17:14:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124687 -2.814068)'), GeomFromEWKT('SRID=4674;POINT (-40.124662 -2.814114)'))) / (select extract(epoch from '2026-07-20 17:15:01'::timestamp) - extract(epoch from '2026-07-20 17:14:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.124619 -2.814087)', '2026-07-20 17:15:16', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124662 -2.814114)'), GeomFromEWKT('SRID=4674;POINT (-40.124619 -2.814087)'))) / (select extract(epoch from '2026-07-20 17:15:16'::timestamp) - extract(epoch from '2026-07-20 17:15:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124662 -2.814114)'), GeomFromEWKT('SRID=4674;POINT (-40.124619 -2.814087)'))) / (select extract(epoch from '2026-07-20 17:15:16'::timestamp) - extract(epoch from '2026-07-20 17:15: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'), 47632, 'SRID=4674;POINT (-40.12456 -2.814034)', '2026-07-20 17:15:32', 23.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124619 -2.814087)'), GeomFromEWKT('SRID=4674;POINT (-40.12456 -2.814034)'))) / (select extract(epoch from '2026-07-20 17:15:32'::timestamp) - extract(epoch from '2026-07-20 17:15:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124619 -2.814087)'), GeomFromEWKT('SRID=4674;POINT (-40.12456 -2.814034)'))) / (select extract(epoch from '2026-07-20 17:15:32'::timestamp) - extract(epoch from '2026-07-20 17:15: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'), 47632, 'SRID=4674;POINT (-40.124527 -2.814073)', '2026-07-20 17:15:53', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12456 -2.814034)'), GeomFromEWKT('SRID=4674;POINT (-40.124527 -2.814073)'))) / (select extract(epoch from '2026-07-20 17:15:53'::timestamp) - extract(epoch from '2026-07-20 17:15:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12456 -2.814034)'), GeomFromEWKT('SRID=4674;POINT (-40.124527 -2.814073)'))) / (select extract(epoch from '2026-07-20 17:15:53'::timestamp) - extract(epoch from '2026-07-20 17:15:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.124475 -2.814066)', '2026-07-20 17:16:11', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124527 -2.814073)'), GeomFromEWKT('SRID=4674;POINT (-40.124475 -2.814066)'))) / (select extract(epoch from '2026-07-20 17:16:11'::timestamp) - extract(epoch from '2026-07-20 17:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124527 -2.814073)'), GeomFromEWKT('SRID=4674;POINT (-40.124475 -2.814066)'))) / (select extract(epoch from '2026-07-20 17:16:11'::timestamp) - extract(epoch from '2026-07-20 17:15:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.124451 -2.814062)', '2026-07-20 17:16:26', 24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124475 -2.814066)'), GeomFromEWKT('SRID=4674;POINT (-40.124451 -2.814062)'))) / (select extract(epoch from '2026-07-20 17:16:26'::timestamp) - extract(epoch from '2026-07-20 17:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124475 -2.814066)'), GeomFromEWKT('SRID=4674;POINT (-40.124451 -2.814062)'))) / (select extract(epoch from '2026-07-20 17:16:26'::timestamp) - extract(epoch from '2026-07-20 17:16: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'), 47632, 'SRID=4674;POINT (-40.124407 -2.814061)', '2026-07-20 17:16:39', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124451 -2.814062)'), GeomFromEWKT('SRID=4674;POINT (-40.124407 -2.814061)'))) / (select extract(epoch from '2026-07-20 17:16:39'::timestamp) - extract(epoch from '2026-07-20 17:16:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124451 -2.814062)'), GeomFromEWKT('SRID=4674;POINT (-40.124407 -2.814061)'))) / (select extract(epoch from '2026-07-20 17:16:39'::timestamp) - extract(epoch from '2026-07-20 17:16:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.124357 -2.814074)', '2026-07-20 17:16:59', 24, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124407 -2.814061)'), GeomFromEWKT('SRID=4674;POINT (-40.124357 -2.814074)'))) / (select extract(epoch from '2026-07-20 17:16:59'::timestamp) - extract(epoch from '2026-07-20 17:16:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124407 -2.814061)'), GeomFromEWKT('SRID=4674;POINT (-40.124357 -2.814074)'))) / (select extract(epoch from '2026-07-20 17:16:59'::timestamp) - extract(epoch from '2026-07-20 17:16: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'), 47632, 'SRID=4674;POINT (-40.124305 -2.814045)', '2026-07-20 17:17:12', 23.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124357 -2.814074)'), GeomFromEWKT('SRID=4674;POINT (-40.124305 -2.814045)'))) / (select extract(epoch from '2026-07-20 17:17:12'::timestamp) - extract(epoch from '2026-07-20 17:16:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124357 -2.814074)'), GeomFromEWKT('SRID=4674;POINT (-40.124305 -2.814045)'))) / (select extract(epoch from '2026-07-20 17:17:12'::timestamp) - extract(epoch from '2026-07-20 17:16:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.124211 -2.81405)', '2026-07-20 17:17:47', 23.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124305 -2.814045)'), GeomFromEWKT('SRID=4674;POINT (-40.124211 -2.81405)'))) / (select extract(epoch from '2026-07-20 17:17:47'::timestamp) - extract(epoch from '2026-07-20 17:17:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124305 -2.814045)'), GeomFromEWKT('SRID=4674;POINT (-40.124211 -2.81405)'))) / (select extract(epoch from '2026-07-20 17:17:47'::timestamp) - extract(epoch from '2026-07-20 17:17: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'), 47632, 'SRID=4674;POINT (-40.124181 -2.814058)', '2026-07-20 17:17:55', 23.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124211 -2.81405)'), GeomFromEWKT('SRID=4674;POINT (-40.124181 -2.814058)'))) / (select extract(epoch from '2026-07-20 17:17:55'::timestamp) - extract(epoch from '2026-07-20 17:17:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124211 -2.81405)'), GeomFromEWKT('SRID=4674;POINT (-40.124181 -2.814058)'))) / (select extract(epoch from '2026-07-20 17:17:55'::timestamp) - extract(epoch from '2026-07-20 17:17:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.124069 -2.814021)', '2026-07-20 17:19:23', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124181 -2.814058)'), GeomFromEWKT('SRID=4674;POINT (-40.124069 -2.814021)'))) / (select extract(epoch from '2026-07-20 17:19:23'::timestamp) - extract(epoch from '2026-07-20 17:17:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124181 -2.814058)'), GeomFromEWKT('SRID=4674;POINT (-40.124069 -2.814021)'))) / (select extract(epoch from '2026-07-20 17:19:23'::timestamp) - extract(epoch from '2026-07-20 17:17: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'), 47632, 'SRID=4674;POINT (-40.124054 -2.81401)', '2026-07-20 17:19:33', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124069 -2.814021)'), GeomFromEWKT('SRID=4674;POINT (-40.124054 -2.81401)'))) / (select extract(epoch from '2026-07-20 17:19:33'::timestamp) - extract(epoch from '2026-07-20 17:19:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124069 -2.814021)'), GeomFromEWKT('SRID=4674;POINT (-40.124054 -2.81401)'))) / (select extract(epoch from '2026-07-20 17:19:33'::timestamp) - extract(epoch from '2026-07-20 17:19:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.123985 -2.814001)', '2026-07-20 17:19:50', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124054 -2.81401)'), GeomFromEWKT('SRID=4674;POINT (-40.123985 -2.814001)'))) / (select extract(epoch from '2026-07-20 17:19:50'::timestamp) - extract(epoch from '2026-07-20 17:19:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124054 -2.81401)'), GeomFromEWKT('SRID=4674;POINT (-40.123985 -2.814001)'))) / (select extract(epoch from '2026-07-20 17:19:50'::timestamp) - extract(epoch from '2026-07-20 17:19: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'), 47632, 'SRID=4674;POINT (-40.123927 -2.813964)', '2026-07-20 17:20:03', 22.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123985 -2.814001)'), GeomFromEWKT('SRID=4674;POINT (-40.123927 -2.813964)'))) / (select extract(epoch from '2026-07-20 17:20:03'::timestamp) - extract(epoch from '2026-07-20 17:19:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123985 -2.814001)'), GeomFromEWKT('SRID=4674;POINT (-40.123927 -2.813964)'))) / (select extract(epoch from '2026-07-20 17:20:03'::timestamp) - extract(epoch from '2026-07-20 17:19: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'), 47632, 'SRID=4674;POINT (-40.123912 -2.813944)', '2026-07-20 17:20:17', 22.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123927 -2.813964)'), GeomFromEWKT('SRID=4674;POINT (-40.123912 -2.813944)'))) / (select extract(epoch from '2026-07-20 17:20:17'::timestamp) - extract(epoch from '2026-07-20 17:20:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123927 -2.813964)'), GeomFromEWKT('SRID=4674;POINT (-40.123912 -2.813944)'))) / (select extract(epoch from '2026-07-20 17:20:17'::timestamp) - extract(epoch from '2026-07-20 17:20: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'), 47632, 'SRID=4674;POINT (-40.123867 -2.813913)', '2026-07-20 17:21:05', 22.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123912 -2.813944)'), GeomFromEWKT('SRID=4674;POINT (-40.123867 -2.813913)'))) / (select extract(epoch from '2026-07-20 17:21:05'::timestamp) - extract(epoch from '2026-07-20 17:20:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123912 -2.813944)'), GeomFromEWKT('SRID=4674;POINT (-40.123867 -2.813913)'))) / (select extract(epoch from '2026-07-20 17:21:05'::timestamp) - extract(epoch from '2026-07-20 17:20: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'), 47632, 'SRID=4674;POINT (-40.123786 -2.813913)', '2026-07-20 17:21:19', 23.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123867 -2.813913)'), GeomFromEWKT('SRID=4674;POINT (-40.123786 -2.813913)'))) / (select extract(epoch from '2026-07-20 17:21:19'::timestamp) - extract(epoch from '2026-07-20 17:21:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123867 -2.813913)'), GeomFromEWKT('SRID=4674;POINT (-40.123786 -2.813913)'))) / (select extract(epoch from '2026-07-20 17:21:19'::timestamp) - extract(epoch from '2026-07-20 17: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'), 47632, 'SRID=4674;POINT (-40.123731 -2.813911)', '2026-07-20 17:21:31', 23.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123786 -2.813913)'), GeomFromEWKT('SRID=4674;POINT (-40.123731 -2.813911)'))) / (select extract(epoch from '2026-07-20 17:21:31'::timestamp) - extract(epoch from '2026-07-20 17:21:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123786 -2.813913)'), GeomFromEWKT('SRID=4674;POINT (-40.123731 -2.813911)'))) / (select extract(epoch from '2026-07-20 17:21:31'::timestamp) - extract(epoch from '2026-07-20 17:21: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'), 47632, 'SRID=4674;POINT (-40.12369 -2.813892)', '2026-07-20 17:21:43', 23.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123731 -2.813911)'), GeomFromEWKT('SRID=4674;POINT (-40.12369 -2.813892)'))) / (select extract(epoch from '2026-07-20 17:21:43'::timestamp) - extract(epoch from '2026-07-20 17:21:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123731 -2.813911)'), GeomFromEWKT('SRID=4674;POINT (-40.12369 -2.813892)'))) / (select extract(epoch from '2026-07-20 17:21:43'::timestamp) - extract(epoch from '2026-07-20 17:21:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.123662 -2.813857)', '2026-07-20 17:21:53', 23.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12369 -2.813892)'), GeomFromEWKT('SRID=4674;POINT (-40.123662 -2.813857)'))) / (select extract(epoch from '2026-07-20 17:21:53'::timestamp) - extract(epoch from '2026-07-20 17:21:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12369 -2.813892)'), GeomFromEWKT('SRID=4674;POINT (-40.123662 -2.813857)'))) / (select extract(epoch from '2026-07-20 17:21:53'::timestamp) - extract(epoch from '2026-07-20 17: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'), 47632, 'SRID=4674;POINT (-40.12366 -2.813801)', '2026-07-20 17:22:09', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123662 -2.813857)'), GeomFromEWKT('SRID=4674;POINT (-40.12366 -2.813801)'))) / (select extract(epoch from '2026-07-20 17:22:09'::timestamp) - extract(epoch from '2026-07-20 17:21:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123662 -2.813857)'), GeomFromEWKT('SRID=4674;POINT (-40.12366 -2.813801)'))) / (select extract(epoch from '2026-07-20 17:22:09'::timestamp) - extract(epoch from '2026-07-20 17:21:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.123635 -2.813791)', '2026-07-20 17:22:22', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12366 -2.813801)'), GeomFromEWKT('SRID=4674;POINT (-40.123635 -2.813791)'))) / (select extract(epoch from '2026-07-20 17:22:22'::timestamp) - extract(epoch from '2026-07-20 17:22:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12366 -2.813801)'), GeomFromEWKT('SRID=4674;POINT (-40.123635 -2.813791)'))) / (select extract(epoch from '2026-07-20 17:22:22'::timestamp) - extract(epoch from '2026-07-20 17:22: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'), 47632, 'SRID=4674;POINT (-40.123548 -2.813794)', '2026-07-20 17:22:37', 24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123635 -2.813791)'), GeomFromEWKT('SRID=4674;POINT (-40.123548 -2.813794)'))) / (select extract(epoch from '2026-07-20 17:22:37'::timestamp) - extract(epoch from '2026-07-20 17:22:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123635 -2.813791)'), GeomFromEWKT('SRID=4674;POINT (-40.123548 -2.813794)'))) / (select extract(epoch from '2026-07-20 17:22:37'::timestamp) - extract(epoch from '2026-07-20 17:22:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.123517 -2.813804)', '2026-07-20 17:22:48', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123548 -2.813794)'), GeomFromEWKT('SRID=4674;POINT (-40.123517 -2.813804)'))) / (select extract(epoch from '2026-07-20 17:22:48'::timestamp) - extract(epoch from '2026-07-20 17:22:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123548 -2.813794)'), GeomFromEWKT('SRID=4674;POINT (-40.123517 -2.813804)'))) / (select extract(epoch from '2026-07-20 17:22:48'::timestamp) - extract(epoch from '2026-07-20 17:22: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'), 47632, 'SRID=4674;POINT (-40.12347 -2.813775)', '2026-07-20 17:23:01', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123517 -2.813804)'), GeomFromEWKT('SRID=4674;POINT (-40.12347 -2.813775)'))) / (select extract(epoch from '2026-07-20 17:23:01'::timestamp) - extract(epoch from '2026-07-20 17:22:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123517 -2.813804)'), GeomFromEWKT('SRID=4674;POINT (-40.12347 -2.813775)'))) / (select extract(epoch from '2026-07-20 17:23:01'::timestamp) - extract(epoch from '2026-07-20 17:22:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.123411 -2.81375)', '2026-07-20 17:23:22', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12347 -2.813775)'), GeomFromEWKT('SRID=4674;POINT (-40.123411 -2.81375)'))) / (select extract(epoch from '2026-07-20 17:23:22'::timestamp) - extract(epoch from '2026-07-20 17:23:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12347 -2.813775)'), GeomFromEWKT('SRID=4674;POINT (-40.123411 -2.81375)'))) / (select extract(epoch from '2026-07-20 17:23:22'::timestamp) - extract(epoch from '2026-07-20 17:23:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.123363 -2.813719)', '2026-07-20 17:23:36', 23.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123411 -2.81375)'), GeomFromEWKT('SRID=4674;POINT (-40.123363 -2.813719)'))) / (select extract(epoch from '2026-07-20 17:23:36'::timestamp) - extract(epoch from '2026-07-20 17:23:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123411 -2.81375)'), GeomFromEWKT('SRID=4674;POINT (-40.123363 -2.813719)'))) / (select extract(epoch from '2026-07-20 17:23:36'::timestamp) - extract(epoch from '2026-07-20 17:23: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'), 47632, 'SRID=4674;POINT (-40.123351 -2.813701)', '2026-07-20 17:23:47', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123363 -2.813719)'), GeomFromEWKT('SRID=4674;POINT (-40.123351 -2.813701)'))) / (select extract(epoch from '2026-07-20 17:23:47'::timestamp) - extract(epoch from '2026-07-20 17:23:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123363 -2.813719)'), GeomFromEWKT('SRID=4674;POINT (-40.123351 -2.813701)'))) / (select extract(epoch from '2026-07-20 17:23:47'::timestamp) - extract(epoch from '2026-07-20 17:23:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.123324 -2.813659)', '2026-07-20 17:24:16', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123351 -2.813701)'), GeomFromEWKT('SRID=4674;POINT (-40.123324 -2.813659)'))) / (select extract(epoch from '2026-07-20 17:24:16'::timestamp) - extract(epoch from '2026-07-20 17:23:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123351 -2.813701)'), GeomFromEWKT('SRID=4674;POINT (-40.123324 -2.813659)'))) / (select extract(epoch from '2026-07-20 17:24:16'::timestamp) - extract(epoch from '2026-07-20 17: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'), 47632, 'SRID=4674;POINT (-40.123347 -2.813617)', '2026-07-20 17:24:56', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123324 -2.813659)'), GeomFromEWKT('SRID=4674;POINT (-40.123347 -2.813617)'))) / (select extract(epoch from '2026-07-20 17:24:56'::timestamp) - extract(epoch from '2026-07-20 17:24:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123324 -2.813659)'), GeomFromEWKT('SRID=4674;POINT (-40.123347 -2.813617)'))) / (select extract(epoch from '2026-07-20 17:24:56'::timestamp) - extract(epoch from '2026-07-20 17:24:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.123394 -2.813591)', '2026-07-20 17:25:10', 23.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123347 -2.813617)'), GeomFromEWKT('SRID=4674;POINT (-40.123394 -2.813591)'))) / (select extract(epoch from '2026-07-20 17:25:10'::timestamp) - extract(epoch from '2026-07-20 17:24:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123347 -2.813617)'), GeomFromEWKT('SRID=4674;POINT (-40.123394 -2.813591)'))) / (select extract(epoch from '2026-07-20 17:25:10'::timestamp) - extract(epoch from '2026-07-20 17: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'), 47632, 'SRID=4674;POINT (-40.123422 -2.813586)', '2026-07-20 17:25:26', 23.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123394 -2.813591)'), GeomFromEWKT('SRID=4674;POINT (-40.123422 -2.813586)'))) / (select extract(epoch from '2026-07-20 17:25:26'::timestamp) - extract(epoch from '2026-07-20 17:25:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123394 -2.813591)'), GeomFromEWKT('SRID=4674;POINT (-40.123422 -2.813586)'))) / (select extract(epoch from '2026-07-20 17:25:26'::timestamp) - extract(epoch from '2026-07-20 17: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'), 47632, 'SRID=4674;POINT (-40.123476 -2.813513)', '2026-07-20 17:25:58', 23.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123422 -2.813586)'), GeomFromEWKT('SRID=4674;POINT (-40.123476 -2.813513)'))) / (select extract(epoch from '2026-07-20 17:25:58'::timestamp) - extract(epoch from '2026-07-20 17:25:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123422 -2.813586)'), GeomFromEWKT('SRID=4674;POINT (-40.123476 -2.813513)'))) / (select extract(epoch from '2026-07-20 17:25:58'::timestamp) - extract(epoch from '2026-07-20 17:25: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'), 47632, 'SRID=4674;POINT (-40.123486 -2.813475)', '2026-07-20 17:26:06', 23.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123476 -2.813513)'), GeomFromEWKT('SRID=4674;POINT (-40.123486 -2.813475)'))) / (select extract(epoch from '2026-07-20 17:26:06'::timestamp) - extract(epoch from '2026-07-20 17:25:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123476 -2.813513)'), GeomFromEWKT('SRID=4674;POINT (-40.123486 -2.813475)'))) / (select extract(epoch from '2026-07-20 17:26:06'::timestamp) - extract(epoch from '2026-07-20 17: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'), 47632, 'SRID=4674;POINT (-40.123486 -2.813446)', '2026-07-20 17:26:12', 23.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123486 -2.813475)'), GeomFromEWKT('SRID=4674;POINT (-40.123486 -2.813446)'))) / (select extract(epoch from '2026-07-20 17:26:12'::timestamp) - extract(epoch from '2026-07-20 17:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123486 -2.813475)'), GeomFromEWKT('SRID=4674;POINT (-40.123486 -2.813446)'))) / (select extract(epoch from '2026-07-20 17:26:12'::timestamp) - extract(epoch from '2026-07-20 17:26:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.123501 -2.813408)', '2026-07-20 17:26:43', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123486 -2.813446)'), GeomFromEWKT('SRID=4674;POINT (-40.123501 -2.813408)'))) / (select extract(epoch from '2026-07-20 17:26:43'::timestamp) - extract(epoch from '2026-07-20 17:26:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123486 -2.813446)'), GeomFromEWKT('SRID=4674;POINT (-40.123501 -2.813408)'))) / (select extract(epoch from '2026-07-20 17:26:43'::timestamp) - extract(epoch from '2026-07-20 17: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'), 47632, 'SRID=4674;POINT (-40.123477 -2.813364)', '2026-07-20 17:26:54', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123501 -2.813408)'), GeomFromEWKT('SRID=4674;POINT (-40.123477 -2.813364)'))) / (select extract(epoch from '2026-07-20 17:26:54'::timestamp) - extract(epoch from '2026-07-20 17:26:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123501 -2.813408)'), GeomFromEWKT('SRID=4674;POINT (-40.123477 -2.813364)'))) / (select extract(epoch from '2026-07-20 17:26:54'::timestamp) - extract(epoch from '2026-07-20 17: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'), 47632, 'SRID=4674;POINT (-40.123483 -2.813399)', '2026-07-20 17:27:01', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123477 -2.813364)'), GeomFromEWKT('SRID=4674;POINT (-40.123483 -2.813399)'))) / (select extract(epoch from '2026-07-20 17:27:01'::timestamp) - extract(epoch from '2026-07-20 17:26:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123477 -2.813364)'), GeomFromEWKT('SRID=4674;POINT (-40.123483 -2.813399)'))) / (select extract(epoch from '2026-07-20 17:27:01'::timestamp) - extract(epoch from '2026-07-20 17:26:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.123537 -2.813474)', '2026-07-20 17:27:08', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123483 -2.813399)'), GeomFromEWKT('SRID=4674;POINT (-40.123537 -2.813474)'))) / (select extract(epoch from '2026-07-20 17:27:08'::timestamp) - extract(epoch from '2026-07-20 17:27:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123483 -2.813399)'), GeomFromEWKT('SRID=4674;POINT (-40.123537 -2.813474)'))) / (select extract(epoch from '2026-07-20 17:27:08'::timestamp) - extract(epoch from '2026-07-20 17:27: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'), 47632, 'SRID=4674;POINT (-40.123638 -2.813539)', '2026-07-20 17:27:16', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123537 -2.813474)'), GeomFromEWKT('SRID=4674;POINT (-40.123638 -2.813539)'))) / (select extract(epoch from '2026-07-20 17:27:16'::timestamp) - extract(epoch from '2026-07-20 17:27:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123537 -2.813474)'), GeomFromEWKT('SRID=4674;POINT (-40.123638 -2.813539)'))) / (select extract(epoch from '2026-07-20 17:27:16'::timestamp) - extract(epoch from '2026-07-20 17:27: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'), 47632, 'SRID=4674;POINT (-40.123771 -2.813572)', '2026-07-20 17:27:22', 24, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123638 -2.813539)'), GeomFromEWKT('SRID=4674;POINT (-40.123771 -2.813572)'))) / (select extract(epoch from '2026-07-20 17:27:22'::timestamp) - extract(epoch from '2026-07-20 17:27:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123638 -2.813539)'), GeomFromEWKT('SRID=4674;POINT (-40.123771 -2.813572)'))) / (select extract(epoch from '2026-07-20 17:27:22'::timestamp) - extract(epoch from '2026-07-20 17:27:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.123915 -2.813591)', '2026-07-20 17:27:29', 23.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123771 -2.813572)'), GeomFromEWKT('SRID=4674;POINT (-40.123915 -2.813591)'))) / (select extract(epoch from '2026-07-20 17:27:29'::timestamp) - extract(epoch from '2026-07-20 17:27:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123771 -2.813572)'), GeomFromEWKT('SRID=4674;POINT (-40.123915 -2.813591)'))) / (select extract(epoch from '2026-07-20 17:27:29'::timestamp) - extract(epoch from '2026-07-20 17:27: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'), 47632, 'SRID=4674;POINT (-40.124054 -2.813625)', '2026-07-20 17:27:37', 23.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123915 -2.813591)'), GeomFromEWKT('SRID=4674;POINT (-40.124054 -2.813625)'))) / (select extract(epoch from '2026-07-20 17:27:37'::timestamp) - extract(epoch from '2026-07-20 17:27:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123915 -2.813591)'), GeomFromEWKT('SRID=4674;POINT (-40.124054 -2.813625)'))) / (select extract(epoch from '2026-07-20 17:27:37'::timestamp) - extract(epoch from '2026-07-20 17:27: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'), 47632, 'SRID=4674;POINT (-40.124192 -2.813647)', '2026-07-20 17:27:45', 22.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124054 -2.813625)'), GeomFromEWKT('SRID=4674;POINT (-40.124192 -2.813647)'))) / (select extract(epoch from '2026-07-20 17:27:45'::timestamp) - extract(epoch from '2026-07-20 17:27:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124054 -2.813625)'), GeomFromEWKT('SRID=4674;POINT (-40.124192 -2.813647)'))) / (select extract(epoch from '2026-07-20 17:27:45'::timestamp) - extract(epoch from '2026-07-20 17:27:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.124323 -2.813665)', '2026-07-20 17:27:52', 21.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124192 -2.813647)'), GeomFromEWKT('SRID=4674;POINT (-40.124323 -2.813665)'))) / (select extract(epoch from '2026-07-20 17:27:52'::timestamp) - extract(epoch from '2026-07-20 17:27:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124192 -2.813647)'), GeomFromEWKT('SRID=4674;POINT (-40.124323 -2.813665)'))) / (select extract(epoch from '2026-07-20 17:27:52'::timestamp) - extract(epoch from '2026-07-20 17:27:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.124464 -2.813657)', '2026-07-20 17:28:00', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124323 -2.813665)'), GeomFromEWKT('SRID=4674;POINT (-40.124464 -2.813657)'))) / (select extract(epoch from '2026-07-20 17:28:00'::timestamp) - extract(epoch from '2026-07-20 17:27:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124323 -2.813665)'), GeomFromEWKT('SRID=4674;POINT (-40.124464 -2.813657)'))) / (select extract(epoch from '2026-07-20 17:28:00'::timestamp) - extract(epoch from '2026-07-20 17:27: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'), 47632, 'SRID=4674;POINT (-40.124595 -2.813633)', '2026-07-20 17:28:08', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124464 -2.813657)'), GeomFromEWKT('SRID=4674;POINT (-40.124595 -2.813633)'))) / (select extract(epoch from '2026-07-20 17:28:08'::timestamp) - extract(epoch from '2026-07-20 17:28:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124464 -2.813657)'), GeomFromEWKT('SRID=4674;POINT (-40.124595 -2.813633)'))) / (select extract(epoch from '2026-07-20 17:28:08'::timestamp) - extract(epoch from '2026-07-20 17:28:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.124741 -2.813622)', '2026-07-20 17:28:16', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124595 -2.813633)'), GeomFromEWKT('SRID=4674;POINT (-40.124741 -2.813622)'))) / (select extract(epoch from '2026-07-20 17:28:16'::timestamp) - extract(epoch from '2026-07-20 17:28:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124595 -2.813633)'), GeomFromEWKT('SRID=4674;POINT (-40.124741 -2.813622)'))) / (select extract(epoch from '2026-07-20 17:28:16'::timestamp) - extract(epoch from '2026-07-20 17:28:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.124901 -2.813604)', '2026-07-20 17:28:25', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124741 -2.813622)'), GeomFromEWKT('SRID=4674;POINT (-40.124901 -2.813604)'))) / (select extract(epoch from '2026-07-20 17:28:25'::timestamp) - extract(epoch from '2026-07-20 17:28:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124741 -2.813622)'), GeomFromEWKT('SRID=4674;POINT (-40.124901 -2.813604)'))) / (select extract(epoch from '2026-07-20 17:28:25'::timestamp) - extract(epoch from '2026-07-20 17:28: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'), 47632, 'SRID=4674;POINT (-40.125057 -2.81359)', '2026-07-20 17:28:33', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124901 -2.813604)'), GeomFromEWKT('SRID=4674;POINT (-40.125057 -2.81359)'))) / (select extract(epoch from '2026-07-20 17:28:33'::timestamp) - extract(epoch from '2026-07-20 17:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124901 -2.813604)'), GeomFromEWKT('SRID=4674;POINT (-40.125057 -2.81359)'))) / (select extract(epoch from '2026-07-20 17:28:33'::timestamp) - extract(epoch from '2026-07-20 17:28: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'), 47632, 'SRID=4674;POINT (-40.125184 -2.813546)', '2026-07-20 17:28:40', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125057 -2.81359)'), GeomFromEWKT('SRID=4674;POINT (-40.125184 -2.813546)'))) / (select extract(epoch from '2026-07-20 17:28:40'::timestamp) - extract(epoch from '2026-07-20 17:28:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125057 -2.81359)'), GeomFromEWKT('SRID=4674;POINT (-40.125184 -2.813546)'))) / (select extract(epoch from '2026-07-20 17:28:40'::timestamp) - extract(epoch from '2026-07-20 17:28: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'), 47632, 'SRID=4674;POINT (-40.125287 -2.813492)', '2026-07-20 17:28:47', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125184 -2.813546)'), GeomFromEWKT('SRID=4674;POINT (-40.125287 -2.813492)'))) / (select extract(epoch from '2026-07-20 17:28:47'::timestamp) - extract(epoch from '2026-07-20 17:28:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125184 -2.813546)'), GeomFromEWKT('SRID=4674;POINT (-40.125287 -2.813492)'))) / (select extract(epoch from '2026-07-20 17:28:47'::timestamp) - extract(epoch from '2026-07-20 17: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'), 47632, 'SRID=4674;POINT (-40.125358 -2.813502)', '2026-07-20 17:28:53', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125287 -2.813492)'), GeomFromEWKT('SRID=4674;POINT (-40.125358 -2.813502)'))) / (select extract(epoch from '2026-07-20 17:28:53'::timestamp) - extract(epoch from '2026-07-20 17:28:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125287 -2.813492)'), GeomFromEWKT('SRID=4674;POINT (-40.125358 -2.813502)'))) / (select extract(epoch from '2026-07-20 17:28:53'::timestamp) - extract(epoch from '2026-07-20 17:28:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.125485 -2.813496)', '2026-07-20 17:29:01', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125358 -2.813502)'), GeomFromEWKT('SRID=4674;POINT (-40.125485 -2.813496)'))) / (select extract(epoch from '2026-07-20 17:29:01'::timestamp) - extract(epoch from '2026-07-20 17:28:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125358 -2.813502)'), GeomFromEWKT('SRID=4674;POINT (-40.125485 -2.813496)'))) / (select extract(epoch from '2026-07-20 17:29:01'::timestamp) - extract(epoch from '2026-07-20 17:28: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'), 47632, 'SRID=4674;POINT (-40.125619 -2.813494)', '2026-07-20 17:29:08', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125485 -2.813496)'), GeomFromEWKT('SRID=4674;POINT (-40.125619 -2.813494)'))) / (select extract(epoch from '2026-07-20 17:29:08'::timestamp) - extract(epoch from '2026-07-20 17:29:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125485 -2.813496)'), GeomFromEWKT('SRID=4674;POINT (-40.125619 -2.813494)'))) / (select extract(epoch from '2026-07-20 17:29:08'::timestamp) - extract(epoch from '2026-07-20 17:29: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'), 47632, 'SRID=4674;POINT (-40.125701 -2.813487)', '2026-07-20 17:29:15', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125619 -2.813494)'), GeomFromEWKT('SRID=4674;POINT (-40.125701 -2.813487)'))) / (select extract(epoch from '2026-07-20 17:29:15'::timestamp) - extract(epoch from '2026-07-20 17:29:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125619 -2.813494)'), GeomFromEWKT('SRID=4674;POINT (-40.125701 -2.813487)'))) / (select extract(epoch from '2026-07-20 17:29:15'::timestamp) - extract(epoch from '2026-07-20 17:29:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.1258 -2.813466)', '2026-07-20 17:29:22', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125701 -2.813487)'), GeomFromEWKT('SRID=4674;POINT (-40.1258 -2.813466)'))) / (select extract(epoch from '2026-07-20 17:29:22'::timestamp) - extract(epoch from '2026-07-20 17:29:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125701 -2.813487)'), GeomFromEWKT('SRID=4674;POINT (-40.1258 -2.813466)'))) / (select extract(epoch from '2026-07-20 17:29:22'::timestamp) - extract(epoch from '2026-07-20 17:29: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'), 47632, 'SRID=4674;POINT (-40.125895 -2.813454)', '2026-07-20 17:29:29', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1258 -2.813466)'), GeomFromEWKT('SRID=4674;POINT (-40.125895 -2.813454)'))) / (select extract(epoch from '2026-07-20 17:29:29'::timestamp) - extract(epoch from '2026-07-20 17:29:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1258 -2.813466)'), GeomFromEWKT('SRID=4674;POINT (-40.125895 -2.813454)'))) / (select extract(epoch from '2026-07-20 17:29:29'::timestamp) - extract(epoch from '2026-07-20 17:29: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'), 47632, 'SRID=4674;POINT (-40.126012 -2.813437)', '2026-07-20 17:29:36', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125895 -2.813454)'), GeomFromEWKT('SRID=4674;POINT (-40.126012 -2.813437)'))) / (select extract(epoch from '2026-07-20 17:29:36'::timestamp) - extract(epoch from '2026-07-20 17:29:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125895 -2.813454)'), GeomFromEWKT('SRID=4674;POINT (-40.126012 -2.813437)'))) / (select extract(epoch from '2026-07-20 17:29:36'::timestamp) - extract(epoch from '2026-07-20 17:29:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.126135 -2.813415)', '2026-07-20 17:29:43', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126012 -2.813437)'), GeomFromEWKT('SRID=4674;POINT (-40.126135 -2.813415)'))) / (select extract(epoch from '2026-07-20 17:29:43'::timestamp) - extract(epoch from '2026-07-20 17:29:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126012 -2.813437)'), GeomFromEWKT('SRID=4674;POINT (-40.126135 -2.813415)'))) / (select extract(epoch from '2026-07-20 17:29:43'::timestamp) - extract(epoch from '2026-07-20 17:29:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.126287 -2.813357)', '2026-07-20 17:29:53', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126135 -2.813415)'), GeomFromEWKT('SRID=4674;POINT (-40.126287 -2.813357)'))) / (select extract(epoch from '2026-07-20 17:29:53'::timestamp) - extract(epoch from '2026-07-20 17:29:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126135 -2.813415)'), GeomFromEWKT('SRID=4674;POINT (-40.126287 -2.813357)'))) / (select extract(epoch from '2026-07-20 17:29:53'::timestamp) - extract(epoch from '2026-07-20 17: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'), 47632, 'SRID=4674;POINT (-40.126406 -2.813357)', '2026-07-20 17:30:00', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126287 -2.813357)'), GeomFromEWKT('SRID=4674;POINT (-40.126406 -2.813357)'))) / (select extract(epoch from '2026-07-20 17:30:00'::timestamp) - extract(epoch from '2026-07-20 17:29:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126287 -2.813357)'), GeomFromEWKT('SRID=4674;POINT (-40.126406 -2.813357)'))) / (select extract(epoch from '2026-07-20 17:30:00'::timestamp) - extract(epoch from '2026-07-20 17:29: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'), 47632, 'SRID=4674;POINT (-40.126601 -2.813329)', '2026-07-20 17:30:11', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126406 -2.813357)'), GeomFromEWKT('SRID=4674;POINT (-40.126601 -2.813329)'))) / (select extract(epoch from '2026-07-20 17:30:11'::timestamp) - extract(epoch from '2026-07-20 17:30:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126406 -2.813357)'), GeomFromEWKT('SRID=4674;POINT (-40.126601 -2.813329)'))) / (select extract(epoch from '2026-07-20 17:30:11'::timestamp) - extract(epoch from '2026-07-20 17:30:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.1267 -2.813289)', '2026-07-20 17:30:17', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126601 -2.813329)'), GeomFromEWKT('SRID=4674;POINT (-40.1267 -2.813289)'))) / (select extract(epoch from '2026-07-20 17:30:17'::timestamp) - extract(epoch from '2026-07-20 17:30:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126601 -2.813329)'), GeomFromEWKT('SRID=4674;POINT (-40.1267 -2.813289)'))) / (select extract(epoch from '2026-07-20 17:30:17'::timestamp) - extract(epoch from '2026-07-20 17:30:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.126816 -2.813265)', '2026-07-20 17:30:23', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1267 -2.813289)'), GeomFromEWKT('SRID=4674;POINT (-40.126816 -2.813265)'))) / (select extract(epoch from '2026-07-20 17:30:23'::timestamp) - extract(epoch from '2026-07-20 17:30:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1267 -2.813289)'), GeomFromEWKT('SRID=4674;POINT (-40.126816 -2.813265)'))) / (select extract(epoch from '2026-07-20 17:30:23'::timestamp) - extract(epoch from '2026-07-20 17:30: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'), 47632, 'SRID=4674;POINT (-40.126975 -2.813232)', '2026-07-20 17:30:32', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126816 -2.813265)'), GeomFromEWKT('SRID=4674;POINT (-40.126975 -2.813232)'))) / (select extract(epoch from '2026-07-20 17:30:32'::timestamp) - extract(epoch from '2026-07-20 17:30:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126816 -2.813265)'), GeomFromEWKT('SRID=4674;POINT (-40.126975 -2.813232)'))) / (select extract(epoch from '2026-07-20 17:30:32'::timestamp) - extract(epoch from '2026-07-20 17:30: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'), 47632, 'SRID=4674;POINT (-40.127114 -2.813206)', '2026-07-20 17:30:39', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126975 -2.813232)'), GeomFromEWKT('SRID=4674;POINT (-40.127114 -2.813206)'))) / (select extract(epoch from '2026-07-20 17:30:39'::timestamp) - extract(epoch from '2026-07-20 17:30:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126975 -2.813232)'), GeomFromEWKT('SRID=4674;POINT (-40.127114 -2.813206)'))) / (select extract(epoch from '2026-07-20 17:30:39'::timestamp) - extract(epoch from '2026-07-20 17:30: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'), 47632, 'SRID=4674;POINT (-40.127213 -2.813158)', '2026-07-20 17:30:48', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127114 -2.813206)'), GeomFromEWKT('SRID=4674;POINT (-40.127213 -2.813158)'))) / (select extract(epoch from '2026-07-20 17:30:48'::timestamp) - extract(epoch from '2026-07-20 17:30:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127114 -2.813206)'), GeomFromEWKT('SRID=4674;POINT (-40.127213 -2.813158)'))) / (select extract(epoch from '2026-07-20 17:30:48'::timestamp) - extract(epoch from '2026-07-20 17:30:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.127307 -2.813147)', '2026-07-20 17:30:55', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127213 -2.813158)'), GeomFromEWKT('SRID=4674;POINT (-40.127307 -2.813147)'))) / (select extract(epoch from '2026-07-20 17:30:55'::timestamp) - extract(epoch from '2026-07-20 17:30:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127213 -2.813158)'), GeomFromEWKT('SRID=4674;POINT (-40.127307 -2.813147)'))) / (select extract(epoch from '2026-07-20 17:30:55'::timestamp) - extract(epoch from '2026-07-20 17:30: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'), 47632, 'SRID=4674;POINT (-40.127405 -2.813106)', '2026-07-20 17:31:01', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127307 -2.813147)'), GeomFromEWKT('SRID=4674;POINT (-40.127405 -2.813106)'))) / (select extract(epoch from '2026-07-20 17:31:01'::timestamp) - extract(epoch from '2026-07-20 17:30:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127307 -2.813147)'), GeomFromEWKT('SRID=4674;POINT (-40.127405 -2.813106)'))) / (select extract(epoch from '2026-07-20 17:31:01'::timestamp) - extract(epoch from '2026-07-20 17:30: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'), 47632, 'SRID=4674;POINT (-40.127534 -2.813063)', '2026-07-20 17:31:08', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127405 -2.813106)'), GeomFromEWKT('SRID=4674;POINT (-40.127534 -2.813063)'))) / (select extract(epoch from '2026-07-20 17:31:08'::timestamp) - extract(epoch from '2026-07-20 17:31:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127405 -2.813106)'), GeomFromEWKT('SRID=4674;POINT (-40.127534 -2.813063)'))) / (select extract(epoch from '2026-07-20 17:31:08'::timestamp) - extract(epoch from '2026-07-20 17: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'), 47632, 'SRID=4674;POINT (-40.12767 -2.813011)', '2026-07-20 17:31:17', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127534 -2.813063)'), GeomFromEWKT('SRID=4674;POINT (-40.12767 -2.813011)'))) / (select extract(epoch from '2026-07-20 17:31:17'::timestamp) - extract(epoch from '2026-07-20 17:31:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127534 -2.813063)'), GeomFromEWKT('SRID=4674;POINT (-40.12767 -2.813011)'))) / (select extract(epoch from '2026-07-20 17:31:17'::timestamp) - extract(epoch from '2026-07-20 17:31: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'), 47632, 'SRID=4674;POINT (-40.127792 -2.812977)', '2026-07-20 17:31:24', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12767 -2.813011)'), GeomFromEWKT('SRID=4674;POINT (-40.127792 -2.812977)'))) / (select extract(epoch from '2026-07-20 17:31:24'::timestamp) - extract(epoch from '2026-07-20 17:31:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12767 -2.813011)'), GeomFromEWKT('SRID=4674;POINT (-40.127792 -2.812977)'))) / (select extract(epoch from '2026-07-20 17:31:24'::timestamp) - extract(epoch from '2026-07-20 17:31: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'), 47632, 'SRID=4674;POINT (-40.127905 -2.812963)', '2026-07-20 17:31:32', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127792 -2.812977)'), GeomFromEWKT('SRID=4674;POINT (-40.127905 -2.812963)'))) / (select extract(epoch from '2026-07-20 17:31:32'::timestamp) - extract(epoch from '2026-07-20 17:31:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127792 -2.812977)'), GeomFromEWKT('SRID=4674;POINT (-40.127905 -2.812963)'))) / (select extract(epoch from '2026-07-20 17:31:32'::timestamp) - extract(epoch from '2026-07-20 17:31: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'), 47632, 'SRID=4674;POINT (-40.128087 -2.812953)', '2026-07-20 17:31:41', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127905 -2.812963)'), GeomFromEWKT('SRID=4674;POINT (-40.128087 -2.812953)'))) / (select extract(epoch from '2026-07-20 17:31:41'::timestamp) - extract(epoch from '2026-07-20 17:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127905 -2.812963)'), GeomFromEWKT('SRID=4674;POINT (-40.128087 -2.812953)'))) / (select extract(epoch from '2026-07-20 17:31:41'::timestamp) - extract(epoch from '2026-07-20 17:31:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.128233 -2.812955)', '2026-07-20 17:31:49', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128087 -2.812953)'), GeomFromEWKT('SRID=4674;POINT (-40.128233 -2.812955)'))) / (select extract(epoch from '2026-07-20 17:31:49'::timestamp) - extract(epoch from '2026-07-20 17:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128087 -2.812953)'), GeomFromEWKT('SRID=4674;POINT (-40.128233 -2.812955)'))) / (select extract(epoch from '2026-07-20 17:31:49'::timestamp) - extract(epoch from '2026-07-20 17:31: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'), 47632, 'SRID=4674;POINT (-40.128358 -2.812976)', '2026-07-20 17:31:56', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128233 -2.812955)'), GeomFromEWKT('SRID=4674;POINT (-40.128358 -2.812976)'))) / (select extract(epoch from '2026-07-20 17:31:56'::timestamp) - extract(epoch from '2026-07-20 17:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128233 -2.812955)'), GeomFromEWKT('SRID=4674;POINT (-40.128358 -2.812976)'))) / (select extract(epoch from '2026-07-20 17:31:56'::timestamp) - extract(epoch from '2026-07-20 17:31: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'), 47632, 'SRID=4674;POINT (-40.128469 -2.81301)', '2026-07-20 17:32:03', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128358 -2.812976)'), GeomFromEWKT('SRID=4674;POINT (-40.128469 -2.81301)'))) / (select extract(epoch from '2026-07-20 17:32:03'::timestamp) - extract(epoch from '2026-07-20 17:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128358 -2.812976)'), GeomFromEWKT('SRID=4674;POINT (-40.128469 -2.81301)'))) / (select extract(epoch from '2026-07-20 17:32:03'::timestamp) - extract(epoch from '2026-07-20 17:31:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.128551 -2.813052)', '2026-07-20 17:32:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128469 -2.81301)'), GeomFromEWKT('SRID=4674;POINT (-40.128551 -2.813052)'))) / (select extract(epoch from '2026-07-20 17:32:10'::timestamp) - extract(epoch from '2026-07-20 17:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128469 -2.81301)'), GeomFromEWKT('SRID=4674;POINT (-40.128551 -2.813052)'))) / (select extract(epoch from '2026-07-20 17:32:10'::timestamp) - extract(epoch from '2026-07-20 17:32: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'), 47632, 'SRID=4674;POINT (-40.128668 -2.813126)', '2026-07-20 17:32:18', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128551 -2.813052)'), GeomFromEWKT('SRID=4674;POINT (-40.128668 -2.813126)'))) / (select extract(epoch from '2026-07-20 17:32:18'::timestamp) - extract(epoch from '2026-07-20 17:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128551 -2.813052)'), GeomFromEWKT('SRID=4674;POINT (-40.128668 -2.813126)'))) / (select extract(epoch from '2026-07-20 17:32:18'::timestamp) - extract(epoch from '2026-07-20 17:32: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'), 47632, 'SRID=4674;POINT (-40.128808 -2.813212)', '2026-07-20 17:32:27', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128668 -2.813126)'), GeomFromEWKT('SRID=4674;POINT (-40.128808 -2.813212)'))) / (select extract(epoch from '2026-07-20 17:32:27'::timestamp) - extract(epoch from '2026-07-20 17:32:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128668 -2.813126)'), GeomFromEWKT('SRID=4674;POINT (-40.128808 -2.813212)'))) / (select extract(epoch from '2026-07-20 17:32:27'::timestamp) - extract(epoch from '2026-07-20 17:32: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'), 47632, 'SRID=4674;POINT (-40.128902 -2.813263)', '2026-07-20 17:32:33', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128808 -2.813212)'), GeomFromEWKT('SRID=4674;POINT (-40.128902 -2.813263)'))) / (select extract(epoch from '2026-07-20 17:32:33'::timestamp) - extract(epoch from '2026-07-20 17:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128808 -2.813212)'), GeomFromEWKT('SRID=4674;POINT (-40.128902 -2.813263)'))) / (select extract(epoch from '2026-07-20 17:32:33'::timestamp) - extract(epoch from '2026-07-20 17:32: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'), 47632, 'SRID=4674;POINT (-40.128996 -2.813318)', '2026-07-20 17:32:40', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128902 -2.813263)'), GeomFromEWKT('SRID=4674;POINT (-40.128996 -2.813318)'))) / (select extract(epoch from '2026-07-20 17:32:40'::timestamp) - extract(epoch from '2026-07-20 17:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128902 -2.813263)'), GeomFromEWKT('SRID=4674;POINT (-40.128996 -2.813318)'))) / (select extract(epoch from '2026-07-20 17:32:40'::timestamp) - extract(epoch from '2026-07-20 17:32: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'), 47632, 'SRID=4674;POINT (-40.129102 -2.813379)', '2026-07-20 17:32:48', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128996 -2.813318)'), GeomFromEWKT('SRID=4674;POINT (-40.129102 -2.813379)'))) / (select extract(epoch from '2026-07-20 17:32:48'::timestamp) - extract(epoch from '2026-07-20 17:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128996 -2.813318)'), GeomFromEWKT('SRID=4674;POINT (-40.129102 -2.813379)'))) / (select extract(epoch from '2026-07-20 17:32:48'::timestamp) - extract(epoch from '2026-07-20 17:32: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'), 47632, 'SRID=4674;POINT (-40.12921 -2.813426)', '2026-07-20 17:32:55', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129102 -2.813379)'), GeomFromEWKT('SRID=4674;POINT (-40.12921 -2.813426)'))) / (select extract(epoch from '2026-07-20 17:32:55'::timestamp) - extract(epoch from '2026-07-20 17:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129102 -2.813379)'), GeomFromEWKT('SRID=4674;POINT (-40.12921 -2.813426)'))) / (select extract(epoch from '2026-07-20 17:32:55'::timestamp) - extract(epoch from '2026-07-20 17:32:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.129356 -2.813504)', '2026-07-20 17:33:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12921 -2.813426)'), GeomFromEWKT('SRID=4674;POINT (-40.129356 -2.813504)'))) / (select extract(epoch from '2026-07-20 17:33:04'::timestamp) - extract(epoch from '2026-07-20 17:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12921 -2.813426)'), GeomFromEWKT('SRID=4674;POINT (-40.129356 -2.813504)'))) / (select extract(epoch from '2026-07-20 17:33:04'::timestamp) - extract(epoch from '2026-07-20 17:32: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'), 47632, 'SRID=4674;POINT (-40.129484 -2.81357)', '2026-07-20 17:33:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129356 -2.813504)'), GeomFromEWKT('SRID=4674;POINT (-40.129484 -2.81357)'))) / (select extract(epoch from '2026-07-20 17:33:12'::timestamp) - extract(epoch from '2026-07-20 17:33:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129356 -2.813504)'), GeomFromEWKT('SRID=4674;POINT (-40.129484 -2.81357)'))) / (select extract(epoch from '2026-07-20 17:33:12'::timestamp) - extract(epoch from '2026-07-20 17:33:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.129582 -2.813624)', '2026-07-20 17:33:19', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129484 -2.81357)'), GeomFromEWKT('SRID=4674;POINT (-40.129582 -2.813624)'))) / (select extract(epoch from '2026-07-20 17:33:19'::timestamp) - extract(epoch from '2026-07-20 17:33:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129484 -2.81357)'), GeomFromEWKT('SRID=4674;POINT (-40.129582 -2.813624)'))) / (select extract(epoch from '2026-07-20 17:33:19'::timestamp) - extract(epoch from '2026-07-20 17:33: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'), 47632, 'SRID=4674;POINT (-40.129655 -2.813682)', '2026-07-20 17:33:25', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129582 -2.813624)'), GeomFromEWKT('SRID=4674;POINT (-40.129655 -2.813682)'))) / (select extract(epoch from '2026-07-20 17:33:25'::timestamp) - extract(epoch from '2026-07-20 17:33:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129582 -2.813624)'), GeomFromEWKT('SRID=4674;POINT (-40.129655 -2.813682)'))) / (select extract(epoch from '2026-07-20 17:33:25'::timestamp) - extract(epoch from '2026-07-20 17: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'), 47632, 'SRID=4674;POINT (-40.129744 -2.813738)', '2026-07-20 17:33:32', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129655 -2.813682)'), GeomFromEWKT('SRID=4674;POINT (-40.129744 -2.813738)'))) / (select extract(epoch from '2026-07-20 17:33:32'::timestamp) - extract(epoch from '2026-07-20 17:33:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129655 -2.813682)'), GeomFromEWKT('SRID=4674;POINT (-40.129744 -2.813738)'))) / (select extract(epoch from '2026-07-20 17:33:32'::timestamp) - extract(epoch from '2026-07-20 17:33:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.129946 -2.813811)', '2026-07-20 17:33:44', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129744 -2.813738)'), GeomFromEWKT('SRID=4674;POINT (-40.129946 -2.813811)'))) / (select extract(epoch from '2026-07-20 17:33:44'::timestamp) - extract(epoch from '2026-07-20 17:33:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129744 -2.813738)'), GeomFromEWKT('SRID=4674;POINT (-40.129946 -2.813811)'))) / (select extract(epoch from '2026-07-20 17:33:44'::timestamp) - extract(epoch from '2026-07-20 17:33: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'), 47632, 'SRID=4674;POINT (-40.130075 -2.813858)', '2026-07-20 17:33:51', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129946 -2.813811)'), GeomFromEWKT('SRID=4674;POINT (-40.130075 -2.813858)'))) / (select extract(epoch from '2026-07-20 17:33:51'::timestamp) - extract(epoch from '2026-07-20 17:33:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129946 -2.813811)'), GeomFromEWKT('SRID=4674;POINT (-40.130075 -2.813858)'))) / (select extract(epoch from '2026-07-20 17:33:51'::timestamp) - extract(epoch from '2026-07-20 17:33:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.130198 -2.813907)', '2026-07-20 17:33:58', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130075 -2.813858)'), GeomFromEWKT('SRID=4674;POINT (-40.130198 -2.813907)'))) / (select extract(epoch from '2026-07-20 17:33:58'::timestamp) - extract(epoch from '2026-07-20 17:33:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130075 -2.813858)'), GeomFromEWKT('SRID=4674;POINT (-40.130198 -2.813907)'))) / (select extract(epoch from '2026-07-20 17:33:58'::timestamp) - extract(epoch from '2026-07-20 17: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'), 47632, 'SRID=4674;POINT (-40.130315 -2.814004)', '2026-07-20 17:34:08', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130198 -2.813907)'), GeomFromEWKT('SRID=4674;POINT (-40.130315 -2.814004)'))) / (select extract(epoch from '2026-07-20 17:34:08'::timestamp) - extract(epoch from '2026-07-20 17:33:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130198 -2.813907)'), GeomFromEWKT('SRID=4674;POINT (-40.130315 -2.814004)'))) / (select extract(epoch from '2026-07-20 17:34:08'::timestamp) - extract(epoch from '2026-07-20 17: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'), 47632, 'SRID=4674;POINT (-40.130385 -2.814051)', '2026-07-20 17:34:14', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130315 -2.814004)'), GeomFromEWKT('SRID=4674;POINT (-40.130385 -2.814051)'))) / (select extract(epoch from '2026-07-20 17:34:14'::timestamp) - extract(epoch from '2026-07-20 17:34:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130315 -2.814004)'), GeomFromEWKT('SRID=4674;POINT (-40.130385 -2.814051)'))) / (select extract(epoch from '2026-07-20 17:34:14'::timestamp) - extract(epoch from '2026-07-20 17:34: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'), 47632, 'SRID=4674;POINT (-40.1305 -2.814121)', '2026-07-20 17:34:22', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130385 -2.814051)'), GeomFromEWKT('SRID=4674;POINT (-40.1305 -2.814121)'))) / (select extract(epoch from '2026-07-20 17:34:22'::timestamp) - extract(epoch from '2026-07-20 17:34:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130385 -2.814051)'), GeomFromEWKT('SRID=4674;POINT (-40.1305 -2.814121)'))) / (select extract(epoch from '2026-07-20 17:34:22'::timestamp) - extract(epoch from '2026-07-20 17:34: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'), 47632, 'SRID=4674;POINT (-40.130582 -2.814205)', '2026-07-20 17:34:30', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1305 -2.814121)'), GeomFromEWKT('SRID=4674;POINT (-40.130582 -2.814205)'))) / (select extract(epoch from '2026-07-20 17:34:30'::timestamp) - extract(epoch from '2026-07-20 17:34:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1305 -2.814121)'), GeomFromEWKT('SRID=4674;POINT (-40.130582 -2.814205)'))) / (select extract(epoch from '2026-07-20 17:34:30'::timestamp) - extract(epoch from '2026-07-20 17: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'), 47632, 'SRID=4674;POINT (-40.130702 -2.814291)', '2026-07-20 17:34:37', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130582 -2.814205)'), GeomFromEWKT('SRID=4674;POINT (-40.130702 -2.814291)'))) / (select extract(epoch from '2026-07-20 17:34:37'::timestamp) - extract(epoch from '2026-07-20 17:34:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130582 -2.814205)'), GeomFromEWKT('SRID=4674;POINT (-40.130702 -2.814291)'))) / (select extract(epoch from '2026-07-20 17:34:37'::timestamp) - extract(epoch from '2026-07-20 17: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'), 47632, 'SRID=4674;POINT (-40.130838 -2.814368)', '2026-07-20 17:34:45', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130702 -2.814291)'), GeomFromEWKT('SRID=4674;POINT (-40.130838 -2.814368)'))) / (select extract(epoch from '2026-07-20 17:34:45'::timestamp) - extract(epoch from '2026-07-20 17:34:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130702 -2.814291)'), GeomFromEWKT('SRID=4674;POINT (-40.130838 -2.814368)'))) / (select extract(epoch from '2026-07-20 17:34:45'::timestamp) - extract(epoch from '2026-07-20 17:34: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'), 47632, 'SRID=4674;POINT (-40.130983 -2.814406)', '2026-07-20 17:34:53', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130838 -2.814368)'), GeomFromEWKT('SRID=4674;POINT (-40.130983 -2.814406)'))) / (select extract(epoch from '2026-07-20 17:34:53'::timestamp) - extract(epoch from '2026-07-20 17:34:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130838 -2.814368)'), GeomFromEWKT('SRID=4674;POINT (-40.130983 -2.814406)'))) / (select extract(epoch from '2026-07-20 17:34:53'::timestamp) - extract(epoch from '2026-07-20 17:34: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'), 47632, 'SRID=4674;POINT (-40.131153 -2.814455)', '2026-07-20 17:35:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130983 -2.814406)'), GeomFromEWKT('SRID=4674;POINT (-40.131153 -2.814455)'))) / (select extract(epoch from '2026-07-20 17:35:02'::timestamp) - extract(epoch from '2026-07-20 17:34:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130983 -2.814406)'), GeomFromEWKT('SRID=4674;POINT (-40.131153 -2.814455)'))) / (select extract(epoch from '2026-07-20 17:35:02'::timestamp) - extract(epoch from '2026-07-20 17:34:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.131297 -2.814518)', '2026-07-20 17:35:11', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131153 -2.814455)'), GeomFromEWKT('SRID=4674;POINT (-40.131297 -2.814518)'))) / (select extract(epoch from '2026-07-20 17:35:11'::timestamp) - extract(epoch from '2026-07-20 17:35:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131153 -2.814455)'), GeomFromEWKT('SRID=4674;POINT (-40.131297 -2.814518)'))) / (select extract(epoch from '2026-07-20 17:35:11'::timestamp) - extract(epoch from '2026-07-20 17:35:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.131415 -2.814571)', '2026-07-20 17:35:19', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131297 -2.814518)'), GeomFromEWKT('SRID=4674;POINT (-40.131415 -2.814571)'))) / (select extract(epoch from '2026-07-20 17:35:19'::timestamp) - extract(epoch from '2026-07-20 17:35:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131297 -2.814518)'), GeomFromEWKT('SRID=4674;POINT (-40.131415 -2.814571)'))) / (select extract(epoch from '2026-07-20 17:35:19'::timestamp) - extract(epoch from '2026-07-20 17:35: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'), 47632, 'SRID=4674;POINT (-40.131529 -2.814609)', '2026-07-20 17:35:26', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131415 -2.814571)'), GeomFromEWKT('SRID=4674;POINT (-40.131529 -2.814609)'))) / (select extract(epoch from '2026-07-20 17:35:26'::timestamp) - extract(epoch from '2026-07-20 17:35:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131415 -2.814571)'), GeomFromEWKT('SRID=4674;POINT (-40.131529 -2.814609)'))) / (select extract(epoch from '2026-07-20 17:35:26'::timestamp) - extract(epoch from '2026-07-20 17:35:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.131655 -2.814658)', '2026-07-20 17:35:33', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131529 -2.814609)'), GeomFromEWKT('SRID=4674;POINT (-40.131655 -2.814658)'))) / (select extract(epoch from '2026-07-20 17:35:33'::timestamp) - extract(epoch from '2026-07-20 17:35:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131529 -2.814609)'), GeomFromEWKT('SRID=4674;POINT (-40.131655 -2.814658)'))) / (select extract(epoch from '2026-07-20 17:35:33'::timestamp) - extract(epoch from '2026-07-20 17:35: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'), 47632, 'SRID=4674;POINT (-40.13175 -2.814699)', '2026-07-20 17:35:40', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131655 -2.814658)'), GeomFromEWKT('SRID=4674;POINT (-40.13175 -2.814699)'))) / (select extract(epoch from '2026-07-20 17:35:40'::timestamp) - extract(epoch from '2026-07-20 17:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131655 -2.814658)'), GeomFromEWKT('SRID=4674;POINT (-40.13175 -2.814699)'))) / (select extract(epoch from '2026-07-20 17:35:40'::timestamp) - extract(epoch from '2026-07-20 17:35:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.131893 -2.814753)', '2026-07-20 17:35:49', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13175 -2.814699)'), GeomFromEWKT('SRID=4674;POINT (-40.131893 -2.814753)'))) / (select extract(epoch from '2026-07-20 17:35:49'::timestamp) - extract(epoch from '2026-07-20 17:35:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13175 -2.814699)'), GeomFromEWKT('SRID=4674;POINT (-40.131893 -2.814753)'))) / (select extract(epoch from '2026-07-20 17:35:49'::timestamp) - extract(epoch from '2026-07-20 17:35:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.132024 -2.814812)', '2026-07-20 17:35:57', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131893 -2.814753)'), GeomFromEWKT('SRID=4674;POINT (-40.132024 -2.814812)'))) / (select extract(epoch from '2026-07-20 17:35:57'::timestamp) - extract(epoch from '2026-07-20 17:35:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131893 -2.814753)'), GeomFromEWKT('SRID=4674;POINT (-40.132024 -2.814812)'))) / (select extract(epoch from '2026-07-20 17:35:57'::timestamp) - extract(epoch from '2026-07-20 17:35:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.13217 -2.814857)', '2026-07-20 17:36:06', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132024 -2.814812)'), GeomFromEWKT('SRID=4674;POINT (-40.13217 -2.814857)'))) / (select extract(epoch from '2026-07-20 17:36:06'::timestamp) - extract(epoch from '2026-07-20 17:35:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132024 -2.814812)'), GeomFromEWKT('SRID=4674;POINT (-40.13217 -2.814857)'))) / (select extract(epoch from '2026-07-20 17:36:06'::timestamp) - extract(epoch from '2026-07-20 17: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'), 47632, 'SRID=4674;POINT (-40.132262 -2.81491)', '2026-07-20 17:36:12', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13217 -2.814857)'), GeomFromEWKT('SRID=4674;POINT (-40.132262 -2.81491)'))) / (select extract(epoch from '2026-07-20 17:36:12'::timestamp) - extract(epoch from '2026-07-20 17:36:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13217 -2.814857)'), GeomFromEWKT('SRID=4674;POINT (-40.132262 -2.81491)'))) / (select extract(epoch from '2026-07-20 17:36:12'::timestamp) - extract(epoch from '2026-07-20 17:36:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.132371 -2.814983)', '2026-07-20 17:36:19', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132262 -2.81491)'), GeomFromEWKT('SRID=4674;POINT (-40.132371 -2.814983)'))) / (select extract(epoch from '2026-07-20 17:36:19'::timestamp) - extract(epoch from '2026-07-20 17:36:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132262 -2.81491)'), GeomFromEWKT('SRID=4674;POINT (-40.132371 -2.814983)'))) / (select extract(epoch from '2026-07-20 17:36:19'::timestamp) - extract(epoch from '2026-07-20 17:36: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'), 47632, 'SRID=4674;POINT (-40.132473 -2.815051)', '2026-07-20 17:36:26', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132371 -2.814983)'), GeomFromEWKT('SRID=4674;POINT (-40.132473 -2.815051)'))) / (select extract(epoch from '2026-07-20 17:36:26'::timestamp) - extract(epoch from '2026-07-20 17:36:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132371 -2.814983)'), GeomFromEWKT('SRID=4674;POINT (-40.132473 -2.815051)'))) / (select extract(epoch from '2026-07-20 17:36:26'::timestamp) - extract(epoch from '2026-07-20 17:36: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'), 47632, 'SRID=4674;POINT (-40.132571 -2.815103)', '2026-07-20 17:36:32', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132473 -2.815051)'), GeomFromEWKT('SRID=4674;POINT (-40.132571 -2.815103)'))) / (select extract(epoch from '2026-07-20 17:36:32'::timestamp) - extract(epoch from '2026-07-20 17:36:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132473 -2.815051)'), GeomFromEWKT('SRID=4674;POINT (-40.132571 -2.815103)'))) / (select extract(epoch from '2026-07-20 17:36:32'::timestamp) - extract(epoch from '2026-07-20 17:36:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.132686 -2.815158)', '2026-07-20 17:36:39', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132571 -2.815103)'), GeomFromEWKT('SRID=4674;POINT (-40.132686 -2.815158)'))) / (select extract(epoch from '2026-07-20 17:36:39'::timestamp) - extract(epoch from '2026-07-20 17:36:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132571 -2.815103)'), GeomFromEWKT('SRID=4674;POINT (-40.132686 -2.815158)'))) / (select extract(epoch from '2026-07-20 17:36:39'::timestamp) - extract(epoch from '2026-07-20 17:36:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.13279 -2.815202)', '2026-07-20 17:36:46', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132686 -2.815158)'), GeomFromEWKT('SRID=4674;POINT (-40.13279 -2.815202)'))) / (select extract(epoch from '2026-07-20 17:36:46'::timestamp) - extract(epoch from '2026-07-20 17:36:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132686 -2.815158)'), GeomFromEWKT('SRID=4674;POINT (-40.13279 -2.815202)'))) / (select extract(epoch from '2026-07-20 17:36:46'::timestamp) - extract(epoch from '2026-07-20 17:36:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.132886 -2.815242)', '2026-07-20 17:36:52', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13279 -2.815202)'), GeomFromEWKT('SRID=4674;POINT (-40.132886 -2.815242)'))) / (select extract(epoch from '2026-07-20 17:36:52'::timestamp) - extract(epoch from '2026-07-20 17:36:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13279 -2.815202)'), GeomFromEWKT('SRID=4674;POINT (-40.132886 -2.815242)'))) / (select extract(epoch from '2026-07-20 17:36:52'::timestamp) - extract(epoch from '2026-07-20 17:36: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'), 47632, 'SRID=4674;POINT (-40.132995 -2.815294)', '2026-07-20 17:36:59', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132886 -2.815242)'), GeomFromEWKT('SRID=4674;POINT (-40.132995 -2.815294)'))) / (select extract(epoch from '2026-07-20 17:36:59'::timestamp) - extract(epoch from '2026-07-20 17:36:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132886 -2.815242)'), GeomFromEWKT('SRID=4674;POINT (-40.132995 -2.815294)'))) / (select extract(epoch from '2026-07-20 17:36:59'::timestamp) - extract(epoch from '2026-07-20 17:36: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'), 47632, 'SRID=4674;POINT (-40.133121 -2.81532)', '2026-07-20 17:37:05', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132995 -2.815294)'), GeomFromEWKT('SRID=4674;POINT (-40.133121 -2.81532)'))) / (select extract(epoch from '2026-07-20 17:37:05'::timestamp) - extract(epoch from '2026-07-20 17:36:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132995 -2.815294)'), GeomFromEWKT('SRID=4674;POINT (-40.133121 -2.81532)'))) / (select extract(epoch from '2026-07-20 17:37:05'::timestamp) - extract(epoch from '2026-07-20 17:36: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'), 47632, 'SRID=4674;POINT (-40.13324 -2.815361)', '2026-07-20 17:37:12', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133121 -2.81532)'), GeomFromEWKT('SRID=4674;POINT (-40.13324 -2.815361)'))) / (select extract(epoch from '2026-07-20 17:37:12'::timestamp) - extract(epoch from '2026-07-20 17:37:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133121 -2.81532)'), GeomFromEWKT('SRID=4674;POINT (-40.13324 -2.815361)'))) / (select extract(epoch from '2026-07-20 17:37:12'::timestamp) - extract(epoch from '2026-07-20 17:37:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.133348 -2.815392)', '2026-07-20 17:37:19', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13324 -2.815361)'), GeomFromEWKT('SRID=4674;POINT (-40.133348 -2.815392)'))) / (select extract(epoch from '2026-07-20 17:37:19'::timestamp) - extract(epoch from '2026-07-20 17:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13324 -2.815361)'), GeomFromEWKT('SRID=4674;POINT (-40.133348 -2.815392)'))) / (select extract(epoch from '2026-07-20 17:37:19'::timestamp) - extract(epoch from '2026-07-20 17:37:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.133455 -2.815431)', '2026-07-20 17:37:26', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133348 -2.815392)'), GeomFromEWKT('SRID=4674;POINT (-40.133455 -2.815431)'))) / (select extract(epoch from '2026-07-20 17:37:26'::timestamp) - extract(epoch from '2026-07-20 17:37:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133348 -2.815392)'), GeomFromEWKT('SRID=4674;POINT (-40.133455 -2.815431)'))) / (select extract(epoch from '2026-07-20 17:37:26'::timestamp) - extract(epoch from '2026-07-20 17: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'), 47632, 'SRID=4674;POINT (-40.133594 -2.815496)', '2026-07-20 17:37:35', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133455 -2.815431)'), GeomFromEWKT('SRID=4674;POINT (-40.133594 -2.815496)'))) / (select extract(epoch from '2026-07-20 17:37:35'::timestamp) - extract(epoch from '2026-07-20 17:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133455 -2.815431)'), GeomFromEWKT('SRID=4674;POINT (-40.133594 -2.815496)'))) / (select extract(epoch from '2026-07-20 17:37:35'::timestamp) - extract(epoch from '2026-07-20 17: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'), 47632, 'SRID=4674;POINT (-40.133626 -2.815511)', '2026-07-20 17:37:38', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133594 -2.815496)'), GeomFromEWKT('SRID=4674;POINT (-40.133626 -2.815511)'))) / (select extract(epoch from '2026-07-20 17:37:38'::timestamp) - extract(epoch from '2026-07-20 17:37:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133594 -2.815496)'), GeomFromEWKT('SRID=4674;POINT (-40.133626 -2.815511)'))) / (select extract(epoch from '2026-07-20 17:37:38'::timestamp) - extract(epoch from '2026-07-20 17:37: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'), 47632, 'SRID=4674;POINT (-40.133671 -2.815523)', '2026-07-20 17:37:41', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133626 -2.815511)'), GeomFromEWKT('SRID=4674;POINT (-40.133671 -2.815523)'))) / (select extract(epoch from '2026-07-20 17:37:41'::timestamp) - extract(epoch from '2026-07-20 17:37:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133626 -2.815511)'), GeomFromEWKT('SRID=4674;POINT (-40.133671 -2.815523)'))) / (select extract(epoch from '2026-07-20 17:37:41'::timestamp) - extract(epoch from '2026-07-20 17:37:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.133822 -2.815579)', '2026-07-20 17:37:49', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133671 -2.815523)'), GeomFromEWKT('SRID=4674;POINT (-40.133822 -2.815579)'))) / (select extract(epoch from '2026-07-20 17:37:49'::timestamp) - extract(epoch from '2026-07-20 17:37:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133671 -2.815523)'), GeomFromEWKT('SRID=4674;POINT (-40.133822 -2.815579)'))) / (select extract(epoch from '2026-07-20 17:37:49'::timestamp) - extract(epoch from '2026-07-20 17:37: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'), 47632, 'SRID=4674;POINT (-40.13399 -2.815629)', '2026-07-20 17:37:57', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133822 -2.815579)'), GeomFromEWKT('SRID=4674;POINT (-40.13399 -2.815629)'))) / (select extract(epoch from '2026-07-20 17:37:57'::timestamp) - extract(epoch from '2026-07-20 17:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133822 -2.815579)'), GeomFromEWKT('SRID=4674;POINT (-40.13399 -2.815629)'))) / (select extract(epoch from '2026-07-20 17:37:57'::timestamp) - extract(epoch from '2026-07-20 17:37:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.134147 -2.815682)', '2026-07-20 17:38:06', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13399 -2.815629)'), GeomFromEWKT('SRID=4674;POINT (-40.134147 -2.815682)'))) / (select extract(epoch from '2026-07-20 17:38:06'::timestamp) - extract(epoch from '2026-07-20 17:37:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13399 -2.815629)'), GeomFromEWKT('SRID=4674;POINT (-40.134147 -2.815682)'))) / (select extract(epoch from '2026-07-20 17:38:06'::timestamp) - extract(epoch from '2026-07-20 17: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'), 47632, 'SRID=4674;POINT (-40.134254 -2.81572)', '2026-07-20 17:38:12', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134147 -2.815682)'), GeomFromEWKT('SRID=4674;POINT (-40.134254 -2.81572)'))) / (select extract(epoch from '2026-07-20 17:38:12'::timestamp) - extract(epoch from '2026-07-20 17:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134147 -2.815682)'), GeomFromEWKT('SRID=4674;POINT (-40.134254 -2.81572)'))) / (select extract(epoch from '2026-07-20 17:38:12'::timestamp) - extract(epoch from '2026-07-20 17:38:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.134397 -2.815755)', '2026-07-20 17:38:21', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134254 -2.81572)'), GeomFromEWKT('SRID=4674;POINT (-40.134397 -2.815755)'))) / (select extract(epoch from '2026-07-20 17:38:21'::timestamp) - extract(epoch from '2026-07-20 17:38:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134254 -2.81572)'), GeomFromEWKT('SRID=4674;POINT (-40.134397 -2.815755)'))) / (select extract(epoch from '2026-07-20 17:38:21'::timestamp) - extract(epoch from '2026-07-20 17:38:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.134491 -2.815787)', '2026-07-20 17:38:29', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134397 -2.815755)'), GeomFromEWKT('SRID=4674;POINT (-40.134491 -2.815787)'))) / (select extract(epoch from '2026-07-20 17:38:29'::timestamp) - extract(epoch from '2026-07-20 17:38:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134397 -2.815755)'), GeomFromEWKT('SRID=4674;POINT (-40.134491 -2.815787)'))) / (select extract(epoch from '2026-07-20 17:38:29'::timestamp) - extract(epoch from '2026-07-20 17:38: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'), 47632, 'SRID=4674;POINT (-40.134633 -2.815836)', '2026-07-20 17:38:37', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134491 -2.815787)'), GeomFromEWKT('SRID=4674;POINT (-40.134633 -2.815836)'))) / (select extract(epoch from '2026-07-20 17:38:37'::timestamp) - extract(epoch from '2026-07-20 17:38:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134491 -2.815787)'), GeomFromEWKT('SRID=4674;POINT (-40.134633 -2.815836)'))) / (select extract(epoch from '2026-07-20 17:38:37'::timestamp) - extract(epoch from '2026-07-20 17:38:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.134777 -2.815902)', '2026-07-20 17:38:46', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134633 -2.815836)'), GeomFromEWKT('SRID=4674;POINT (-40.134777 -2.815902)'))) / (select extract(epoch from '2026-07-20 17:38:46'::timestamp) - extract(epoch from '2026-07-20 17:38:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134633 -2.815836)'), GeomFromEWKT('SRID=4674;POINT (-40.134777 -2.815902)'))) / (select extract(epoch from '2026-07-20 17:38:46'::timestamp) - extract(epoch from '2026-07-20 17:38: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'), 47632, 'SRID=4674;POINT (-40.134891 -2.815961)', '2026-07-20 17:38:53', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134777 -2.815902)'), GeomFromEWKT('SRID=4674;POINT (-40.134891 -2.815961)'))) / (select extract(epoch from '2026-07-20 17:38:53'::timestamp) - extract(epoch from '2026-07-20 17:38:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134777 -2.815902)'), GeomFromEWKT('SRID=4674;POINT (-40.134891 -2.815961)'))) / (select extract(epoch from '2026-07-20 17:38:53'::timestamp) - extract(epoch from '2026-07-20 17:38: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'), 47632, 'SRID=4674;POINT (-40.134974 -2.816007)', '2026-07-20 17:38:59', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134891 -2.815961)'), GeomFromEWKT('SRID=4674;POINT (-40.134974 -2.816007)'))) / (select extract(epoch from '2026-07-20 17:38:59'::timestamp) - extract(epoch from '2026-07-20 17:38:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134891 -2.815961)'), GeomFromEWKT('SRID=4674;POINT (-40.134974 -2.816007)'))) / (select extract(epoch from '2026-07-20 17:38:59'::timestamp) - extract(epoch from '2026-07-20 17:38:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.135091 -2.816079)', '2026-07-20 17:39:07', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134974 -2.816007)'), GeomFromEWKT('SRID=4674;POINT (-40.135091 -2.816079)'))) / (select extract(epoch from '2026-07-20 17:39:07'::timestamp) - extract(epoch from '2026-07-20 17:38:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134974 -2.816007)'), GeomFromEWKT('SRID=4674;POINT (-40.135091 -2.816079)'))) / (select extract(epoch from '2026-07-20 17:39:07'::timestamp) - extract(epoch from '2026-07-20 17: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'), 47632, 'SRID=4674;POINT (-40.135192 -2.816149)', '2026-07-20 17:39:15', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135091 -2.816079)'), GeomFromEWKT('SRID=4674;POINT (-40.135192 -2.816149)'))) / (select extract(epoch from '2026-07-20 17:39:15'::timestamp) - extract(epoch from '2026-07-20 17:39:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135091 -2.816079)'), GeomFromEWKT('SRID=4674;POINT (-40.135192 -2.816149)'))) / (select extract(epoch from '2026-07-20 17:39:15'::timestamp) - extract(epoch from '2026-07-20 17:39:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.13527 -2.816202)', '2026-07-20 17:39:23', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135192 -2.816149)'), GeomFromEWKT('SRID=4674;POINT (-40.13527 -2.816202)'))) / (select extract(epoch from '2026-07-20 17:39:23'::timestamp) - extract(epoch from '2026-07-20 17:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135192 -2.816149)'), GeomFromEWKT('SRID=4674;POINT (-40.13527 -2.816202)'))) / (select extract(epoch from '2026-07-20 17:39:23'::timestamp) - extract(epoch from '2026-07-20 17: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'), 47632, 'SRID=4674;POINT (-40.135307 -2.816252)', '2026-07-20 17:39:30', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13527 -2.816202)'), GeomFromEWKT('SRID=4674;POINT (-40.135307 -2.816252)'))) / (select extract(epoch from '2026-07-20 17:39:30'::timestamp) - extract(epoch from '2026-07-20 17:39:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13527 -2.816202)'), GeomFromEWKT('SRID=4674;POINT (-40.135307 -2.816252)'))) / (select extract(epoch from '2026-07-20 17:39:30'::timestamp) - extract(epoch from '2026-07-20 17: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'), 47632, 'SRID=4674;POINT (-40.135364 -2.816305)', '2026-07-20 17:39:40', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135307 -2.816252)'), GeomFromEWKT('SRID=4674;POINT (-40.135364 -2.816305)'))) / (select extract(epoch from '2026-07-20 17:39:40'::timestamp) - extract(epoch from '2026-07-20 17:39:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135307 -2.816252)'), GeomFromEWKT('SRID=4674;POINT (-40.135364 -2.816305)'))) / (select extract(epoch from '2026-07-20 17:39:40'::timestamp) - extract(epoch from '2026-07-20 17: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'), 47632, 'SRID=4674;POINT (-40.135414 -2.81633)', '2026-07-20 17:39:48', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135364 -2.816305)'), GeomFromEWKT('SRID=4674;POINT (-40.135414 -2.81633)'))) / (select extract(epoch from '2026-07-20 17:39:48'::timestamp) - extract(epoch from '2026-07-20 17:39:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135364 -2.816305)'), GeomFromEWKT('SRID=4674;POINT (-40.135414 -2.81633)'))) / (select extract(epoch from '2026-07-20 17:39:48'::timestamp) - extract(epoch from '2026-07-20 17:39: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'), 47632, 'SRID=4674;POINT (-40.1355 -2.816339)', '2026-07-20 17:39:56', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135414 -2.81633)'), GeomFromEWKT('SRID=4674;POINT (-40.1355 -2.816339)'))) / (select extract(epoch from '2026-07-20 17:39:56'::timestamp) - extract(epoch from '2026-07-20 17:39:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135414 -2.81633)'), GeomFromEWKT('SRID=4674;POINT (-40.1355 -2.816339)'))) / (select extract(epoch from '2026-07-20 17:39:56'::timestamp) - extract(epoch from '2026-07-20 17:39: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'), 47632, 'SRID=4674;POINT (-40.135571 -2.816355)', '2026-07-20 17:40:04', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1355 -2.816339)'), GeomFromEWKT('SRID=4674;POINT (-40.135571 -2.816355)'))) / (select extract(epoch from '2026-07-20 17:40:04'::timestamp) - extract(epoch from '2026-07-20 17:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1355 -2.816339)'), GeomFromEWKT('SRID=4674;POINT (-40.135571 -2.816355)'))) / (select extract(epoch from '2026-07-20 17:40:04'::timestamp) - extract(epoch from '2026-07-20 17:39: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'), 47632, 'SRID=4674;POINT (-40.135604 -2.816347)', '2026-07-20 17:40:13', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135571 -2.816355)'), GeomFromEWKT('SRID=4674;POINT (-40.135604 -2.816347)'))) / (select extract(epoch from '2026-07-20 17:40:13'::timestamp) - extract(epoch from '2026-07-20 17:40:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135571 -2.816355)'), GeomFromEWKT('SRID=4674;POINT (-40.135604 -2.816347)'))) / (select extract(epoch from '2026-07-20 17:40:13'::timestamp) - extract(epoch from '2026-07-20 17:40:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.135625 -2.816353)', '2026-07-20 17:40:22', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135604 -2.816347)'), GeomFromEWKT('SRID=4674;POINT (-40.135625 -2.816353)'))) / (select extract(epoch from '2026-07-20 17:40:22'::timestamp) - extract(epoch from '2026-07-20 17:40:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135604 -2.816347)'), GeomFromEWKT('SRID=4674;POINT (-40.135625 -2.816353)'))) / (select extract(epoch from '2026-07-20 17:40:22'::timestamp) - extract(epoch from '2026-07-20 17:40: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'), 47632, 'SRID=4674;POINT (-40.135662 -2.816304)', '2026-07-20 17:42:55', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135625 -2.816353)'), GeomFromEWKT('SRID=4674;POINT (-40.135662 -2.816304)'))) / (select extract(epoch from '2026-07-20 17:42:55'::timestamp) - extract(epoch from '2026-07-20 17:40:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135625 -2.816353)'), GeomFromEWKT('SRID=4674;POINT (-40.135662 -2.816304)'))) / (select extract(epoch from '2026-07-20 17:42:55'::timestamp) - extract(epoch from '2026-07-20 17:40: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'), 47632, 'SRID=4674;POINT (-40.135679 -2.816296)', '2026-07-20 17:43:43', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135662 -2.816304)'), GeomFromEWKT('SRID=4674;POINT (-40.135679 -2.816296)'))) / (select extract(epoch from '2026-07-20 17:43:43'::timestamp) - extract(epoch from '2026-07-20 17:42:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135662 -2.816304)'), GeomFromEWKT('SRID=4674;POINT (-40.135679 -2.816296)'))) / (select extract(epoch from '2026-07-20 17:43:43'::timestamp) - extract(epoch from '2026-07-20 17:42:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.135642 -2.816261)', '2026-07-20 17:45:39', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135679 -2.816296)'), GeomFromEWKT('SRID=4674;POINT (-40.135642 -2.816261)'))) / (select extract(epoch from '2026-07-20 17:45:39'::timestamp) - extract(epoch from '2026-07-20 17:43:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135679 -2.816296)'), GeomFromEWKT('SRID=4674;POINT (-40.135642 -2.816261)'))) / (select extract(epoch from '2026-07-20 17:45:39'::timestamp) - extract(epoch from '2026-07-20 17: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'), 47632, 'SRID=4674;POINT (-40.135661 -2.816184)', '2026-07-20 17:49:29', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135642 -2.816261)'), GeomFromEWKT('SRID=4674;POINT (-40.135661 -2.816184)'))) / (select extract(epoch from '2026-07-20 17:49:29'::timestamp) - extract(epoch from '2026-07-20 17:45:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135642 -2.816261)'), GeomFromEWKT('SRID=4674;POINT (-40.135661 -2.816184)'))) / (select extract(epoch from '2026-07-20 17:49:29'::timestamp) - extract(epoch from '2026-07-20 17: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'), 47632, 'SRID=4674;POINT (-40.135654 -2.816204)', '2026-07-20 17:50:31', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135661 -2.816184)'), GeomFromEWKT('SRID=4674;POINT (-40.135654 -2.816204)'))) / (select extract(epoch from '2026-07-20 17:50:31'::timestamp) - extract(epoch from '2026-07-20 17:49:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135661 -2.816184)'), GeomFromEWKT('SRID=4674;POINT (-40.135654 -2.816204)'))) / (select extract(epoch from '2026-07-20 17:50:31'::timestamp) - extract(epoch from '2026-07-20 17:49: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'), 47632, 'SRID=4674;POINT (-40.13566 -2.816245)', '2026-07-20 17:51:31', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135654 -2.816204)'), GeomFromEWKT('SRID=4674;POINT (-40.13566 -2.816245)'))) / (select extract(epoch from '2026-07-20 17:51:31'::timestamp) - extract(epoch from '2026-07-20 17:50:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135654 -2.816204)'), GeomFromEWKT('SRID=4674;POINT (-40.13566 -2.816245)'))) / (select extract(epoch from '2026-07-20 17:51:31'::timestamp) - extract(epoch from '2026-07-20 17: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'), 47632, 'SRID=4674;POINT (-40.135641 -2.81624)', '2026-07-20 17:51:59', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13566 -2.816245)'), GeomFromEWKT('SRID=4674;POINT (-40.135641 -2.81624)'))) / (select extract(epoch from '2026-07-20 17:51:59'::timestamp) - extract(epoch from '2026-07-20 17:51:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13566 -2.816245)'), GeomFromEWKT('SRID=4674;POINT (-40.135641 -2.81624)'))) / (select extract(epoch from '2026-07-20 17:51:59'::timestamp) - extract(epoch from '2026-07-20 17:51: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'), 47632, 'SRID=4674;POINT (-40.135647 -2.816232)', '2026-07-20 17:52:29', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135641 -2.81624)'), GeomFromEWKT('SRID=4674;POINT (-40.135647 -2.816232)'))) / (select extract(epoch from '2026-07-20 17:52:29'::timestamp) - extract(epoch from '2026-07-20 17:51:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135641 -2.81624)'), GeomFromEWKT('SRID=4674;POINT (-40.135647 -2.816232)'))) / (select extract(epoch from '2026-07-20 17:52:29'::timestamp) - extract(epoch from '2026-07-20 17: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'), 47632, 'SRID=4674;POINT (-40.135692 -2.816251)', '2026-07-20 17:54:03', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135647 -2.816232)'), GeomFromEWKT('SRID=4674;POINT (-40.135692 -2.816251)'))) / (select extract(epoch from '2026-07-20 17:54:03'::timestamp) - extract(epoch from '2026-07-20 17:52:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135647 -2.816232)'), GeomFromEWKT('SRID=4674;POINT (-40.135692 -2.816251)'))) / (select extract(epoch from '2026-07-20 17:54:03'::timestamp) - extract(epoch from '2026-07-20 17:52: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'), 47632, 'SRID=4674;POINT (-40.135702 -2.816252)', '2026-07-20 17:58:10', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135692 -2.816251)'), GeomFromEWKT('SRID=4674;POINT (-40.135702 -2.816252)'))) / (select extract(epoch from '2026-07-20 17:58:10'::timestamp) - extract(epoch from '2026-07-20 17:54:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135692 -2.816251)'), GeomFromEWKT('SRID=4674;POINT (-40.135702 -2.816252)'))) / (select extract(epoch from '2026-07-20 17:58:10'::timestamp) - extract(epoch from '2026-07-20 17:54:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.135698 -2.816254)', '2026-07-20 17:58:15', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135702 -2.816252)'), GeomFromEWKT('SRID=4674;POINT (-40.135698 -2.816254)'))) / (select extract(epoch from '2026-07-20 17:58:15'::timestamp) - extract(epoch from '2026-07-20 17:58:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135702 -2.816252)'), GeomFromEWKT('SRID=4674;POINT (-40.135698 -2.816254)'))) / (select extract(epoch from '2026-07-20 17:58:15'::timestamp) - extract(epoch from '2026-07-20 17:58: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'), 47632, 'SRID=4674;POINT (-40.135675 -2.816267)', '2026-07-20 17:58:28', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135698 -2.816254)'), GeomFromEWKT('SRID=4674;POINT (-40.135675 -2.816267)'))) / (select extract(epoch from '2026-07-20 17:58:28'::timestamp) - extract(epoch from '2026-07-20 17:58:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135698 -2.816254)'), GeomFromEWKT('SRID=4674;POINT (-40.135675 -2.816267)'))) / (select extract(epoch from '2026-07-20 17:58:28'::timestamp) - extract(epoch from '2026-07-20 17:58: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'), 47632, 'SRID=4674;POINT (-40.13562 -2.816251)', '2026-07-20 18:07:09', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135675 -2.816267)'), GeomFromEWKT('SRID=4674;POINT (-40.13562 -2.816251)'))) / (select extract(epoch from '2026-07-20 18:07:09'::timestamp) - extract(epoch from '2026-07-20 17:58:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135675 -2.816267)'), GeomFromEWKT('SRID=4674;POINT (-40.13562 -2.816251)'))) / (select extract(epoch from '2026-07-20 18:07:09'::timestamp) - extract(epoch from '2026-07-20 17:58: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'), 47632, 'SRID=4674;POINT (-40.135613 -2.816293)', '2026-07-20 18:20:30', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13562 -2.816251)'), GeomFromEWKT('SRID=4674;POINT (-40.135613 -2.816293)'))) / (select extract(epoch from '2026-07-20 18:20:30'::timestamp) - extract(epoch from '2026-07-20 18:07:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13562 -2.816251)'), GeomFromEWKT('SRID=4674;POINT (-40.135613 -2.816293)'))) / (select extract(epoch from '2026-07-20 18:20:30'::timestamp) - extract(epoch from '2026-07-20 18:07:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.135722 -2.816366)', '2026-07-20 18:20:45', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135613 -2.816293)'), GeomFromEWKT('SRID=4674;POINT (-40.135722 -2.816366)'))) / (select extract(epoch from '2026-07-20 18:20:45'::timestamp) - extract(epoch from '2026-07-20 18:20:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135613 -2.816293)'), GeomFromEWKT('SRID=4674;POINT (-40.135722 -2.816366)'))) / (select extract(epoch from '2026-07-20 18:20:45'::timestamp) - extract(epoch from '2026-07-20 18:20: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'), 47632, 'SRID=4674;POINT (-40.135817 -2.816446)', '2026-07-20 18:20:58', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135722 -2.816366)'), GeomFromEWKT('SRID=4674;POINT (-40.135817 -2.816446)'))) / (select extract(epoch from '2026-07-20 18:20:58'::timestamp) - extract(epoch from '2026-07-20 18:20:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135722 -2.816366)'), GeomFromEWKT('SRID=4674;POINT (-40.135817 -2.816446)'))) / (select extract(epoch from '2026-07-20 18:20:58'::timestamp) - extract(epoch from '2026-07-20 18:20:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.135925 -2.816529)', '2026-07-20 18:21:14', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135817 -2.816446)'), GeomFromEWKT('SRID=4674;POINT (-40.135925 -2.816529)'))) / (select extract(epoch from '2026-07-20 18:21:14'::timestamp) - extract(epoch from '2026-07-20 18:20:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135817 -2.816446)'), GeomFromEWKT('SRID=4674;POINT (-40.135925 -2.816529)'))) / (select extract(epoch from '2026-07-20 18:21:14'::timestamp) - extract(epoch from '2026-07-20 18:20: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'), 47632, 'SRID=4674;POINT (-40.136061 -2.81659)', '2026-07-20 18:21:33', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135925 -2.816529)'), GeomFromEWKT('SRID=4674;POINT (-40.136061 -2.81659)'))) / (select extract(epoch from '2026-07-20 18:21:33'::timestamp) - extract(epoch from '2026-07-20 18:21:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135925 -2.816529)'), GeomFromEWKT('SRID=4674;POINT (-40.136061 -2.81659)'))) / (select extract(epoch from '2026-07-20 18:21:33'::timestamp) - extract(epoch from '2026-07-20 18:21: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'), 47632, 'SRID=4674;POINT (-40.136214 -2.816666)', '2026-07-20 18:21:52', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136061 -2.81659)'), GeomFromEWKT('SRID=4674;POINT (-40.136214 -2.816666)'))) / (select extract(epoch from '2026-07-20 18:21:52'::timestamp) - extract(epoch from '2026-07-20 18:21:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136061 -2.81659)'), GeomFromEWKT('SRID=4674;POINT (-40.136214 -2.816666)'))) / (select extract(epoch from '2026-07-20 18:21:52'::timestamp) - extract(epoch from '2026-07-20 18:21:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.136339 -2.816736)', '2026-07-20 18:22:09', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136214 -2.816666)'), GeomFromEWKT('SRID=4674;POINT (-40.136339 -2.816736)'))) / (select extract(epoch from '2026-07-20 18:22:09'::timestamp) - extract(epoch from '2026-07-20 18:21:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136214 -2.816666)'), GeomFromEWKT('SRID=4674;POINT (-40.136339 -2.816736)'))) / (select extract(epoch from '2026-07-20 18:22:09'::timestamp) - extract(epoch from '2026-07-20 18:21:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.136452 -2.816796)', '2026-07-20 18:22:23', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136339 -2.816736)'), GeomFromEWKT('SRID=4674;POINT (-40.136452 -2.816796)'))) / (select extract(epoch from '2026-07-20 18:22:23'::timestamp) - extract(epoch from '2026-07-20 18:22:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136339 -2.816736)'), GeomFromEWKT('SRID=4674;POINT (-40.136452 -2.816796)'))) / (select extract(epoch from '2026-07-20 18:22:23'::timestamp) - extract(epoch from '2026-07-20 18:22: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'), 47632, 'SRID=4674;POINT (-40.13654 -2.81686)', '2026-07-20 18:22:38', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136452 -2.816796)'), GeomFromEWKT('SRID=4674;POINT (-40.13654 -2.81686)'))) / (select extract(epoch from '2026-07-20 18:22:38'::timestamp) - extract(epoch from '2026-07-20 18:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136452 -2.816796)'), GeomFromEWKT('SRID=4674;POINT (-40.13654 -2.81686)'))) / (select extract(epoch from '2026-07-20 18:22:38'::timestamp) - extract(epoch from '2026-07-20 18:22: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'), 47632, 'SRID=4674;POINT (-40.136657 -2.816929)', '2026-07-20 18:22:53', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13654 -2.81686)'), GeomFromEWKT('SRID=4674;POINT (-40.136657 -2.816929)'))) / (select extract(epoch from '2026-07-20 18:22:53'::timestamp) - extract(epoch from '2026-07-20 18:22:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13654 -2.81686)'), GeomFromEWKT('SRID=4674;POINT (-40.136657 -2.816929)'))) / (select extract(epoch from '2026-07-20 18:22:53'::timestamp) - extract(epoch from '2026-07-20 18:22: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'), 47632, 'SRID=4674;POINT (-40.136777 -2.817002)', '2026-07-20 18:23:10', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136657 -2.816929)'), GeomFromEWKT('SRID=4674;POINT (-40.136777 -2.817002)'))) / (select extract(epoch from '2026-07-20 18:23:10'::timestamp) - extract(epoch from '2026-07-20 18:22:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136657 -2.816929)'), GeomFromEWKT('SRID=4674;POINT (-40.136777 -2.817002)'))) / (select extract(epoch from '2026-07-20 18:23:10'::timestamp) - extract(epoch from '2026-07-20 18: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'), 47632, 'SRID=4674;POINT (-40.136909 -2.817067)', '2026-07-20 18:23:27', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136777 -2.817002)'), GeomFromEWKT('SRID=4674;POINT (-40.136909 -2.817067)'))) / (select extract(epoch from '2026-07-20 18:23:27'::timestamp) - extract(epoch from '2026-07-20 18:23:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136777 -2.817002)'), GeomFromEWKT('SRID=4674;POINT (-40.136909 -2.817067)'))) / (select extract(epoch from '2026-07-20 18:23:27'::timestamp) - extract(epoch from '2026-07-20 18: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'), 47632, 'SRID=4674;POINT (-40.137026 -2.817128)', '2026-07-20 18:23:45', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136909 -2.817067)'), GeomFromEWKT('SRID=4674;POINT (-40.137026 -2.817128)'))) / (select extract(epoch from '2026-07-20 18:23:45'::timestamp) - extract(epoch from '2026-07-20 18:23:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136909 -2.817067)'), GeomFromEWKT('SRID=4674;POINT (-40.137026 -2.817128)'))) / (select extract(epoch from '2026-07-20 18:23:45'::timestamp) - extract(epoch from '2026-07-20 18:23: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'), 47632, 'SRID=4674;POINT (-40.137157 -2.817207)', '2026-07-20 18:24:04', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137026 -2.817128)'), GeomFromEWKT('SRID=4674;POINT (-40.137157 -2.817207)'))) / (select extract(epoch from '2026-07-20 18:24:04'::timestamp) - extract(epoch from '2026-07-20 18:23:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137026 -2.817128)'), GeomFromEWKT('SRID=4674;POINT (-40.137157 -2.817207)'))) / (select extract(epoch from '2026-07-20 18:24:04'::timestamp) - extract(epoch from '2026-07-20 18:23:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.137263 -2.817256)', '2026-07-20 18:24:20', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137157 -2.817207)'), GeomFromEWKT('SRID=4674;POINT (-40.137263 -2.817256)'))) / (select extract(epoch from '2026-07-20 18:24:20'::timestamp) - extract(epoch from '2026-07-20 18:24:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137157 -2.817207)'), GeomFromEWKT('SRID=4674;POINT (-40.137263 -2.817256)'))) / (select extract(epoch from '2026-07-20 18:24:20'::timestamp) - extract(epoch from '2026-07-20 18:24:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.137378 -2.817332)', '2026-07-20 18:24:38', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137263 -2.817256)'), GeomFromEWKT('SRID=4674;POINT (-40.137378 -2.817332)'))) / (select extract(epoch from '2026-07-20 18:24:38'::timestamp) - extract(epoch from '2026-07-20 18:24:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137263 -2.817256)'), GeomFromEWKT('SRID=4674;POINT (-40.137378 -2.817332)'))) / (select extract(epoch from '2026-07-20 18:24:38'::timestamp) - extract(epoch from '2026-07-20 18:24:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.13749 -2.817378)', '2026-07-20 18:24:52', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137378 -2.817332)'), GeomFromEWKT('SRID=4674;POINT (-40.13749 -2.817378)'))) / (select extract(epoch from '2026-07-20 18:24:52'::timestamp) - extract(epoch from '2026-07-20 18:24:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137378 -2.817332)'), GeomFromEWKT('SRID=4674;POINT (-40.13749 -2.817378)'))) / (select extract(epoch from '2026-07-20 18:24:52'::timestamp) - extract(epoch from '2026-07-20 18:24: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'), 47632, 'SRID=4674;POINT (-40.137576 -2.817428)', '2026-07-20 18:25:05', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13749 -2.817378)'), GeomFromEWKT('SRID=4674;POINT (-40.137576 -2.817428)'))) / (select extract(epoch from '2026-07-20 18:25:05'::timestamp) - extract(epoch from '2026-07-20 18:24:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13749 -2.817378)'), GeomFromEWKT('SRID=4674;POINT (-40.137576 -2.817428)'))) / (select extract(epoch from '2026-07-20 18:25:05'::timestamp) - extract(epoch from '2026-07-20 18:24: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'), 47632, 'SRID=4674;POINT (-40.137686 -2.817485)', '2026-07-20 18:25:19', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137576 -2.817428)'), GeomFromEWKT('SRID=4674;POINT (-40.137686 -2.817485)'))) / (select extract(epoch from '2026-07-20 18:25:19'::timestamp) - extract(epoch from '2026-07-20 18:25:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137576 -2.817428)'), GeomFromEWKT('SRID=4674;POINT (-40.137686 -2.817485)'))) / (select extract(epoch from '2026-07-20 18:25:19'::timestamp) - extract(epoch from '2026-07-20 18:25:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.137788 -2.817549)', '2026-07-20 18:25:33', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137686 -2.817485)'), GeomFromEWKT('SRID=4674;POINT (-40.137788 -2.817549)'))) / (select extract(epoch from '2026-07-20 18:25:33'::timestamp) - extract(epoch from '2026-07-20 18:25:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137686 -2.817485)'), GeomFromEWKT('SRID=4674;POINT (-40.137788 -2.817549)'))) / (select extract(epoch from '2026-07-20 18:25:33'::timestamp) - extract(epoch from '2026-07-20 18:25: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'), 47632, 'SRID=4674;POINT (-40.137911 -2.817607)', '2026-07-20 18:25:51', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137788 -2.817549)'), GeomFromEWKT('SRID=4674;POINT (-40.137911 -2.817607)'))) / (select extract(epoch from '2026-07-20 18:25:51'::timestamp) - extract(epoch from '2026-07-20 18:25:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137788 -2.817549)'), GeomFromEWKT('SRID=4674;POINT (-40.137911 -2.817607)'))) / (select extract(epoch from '2026-07-20 18:25:51'::timestamp) - extract(epoch from '2026-07-20 18:25: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'), 47632, 'SRID=4674;POINT (-40.138029 -2.817683)', '2026-07-20 18:26:10', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137911 -2.817607)'), GeomFromEWKT('SRID=4674;POINT (-40.138029 -2.817683)'))) / (select extract(epoch from '2026-07-20 18:26:10'::timestamp) - extract(epoch from '2026-07-20 18:25:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137911 -2.817607)'), GeomFromEWKT('SRID=4674;POINT (-40.138029 -2.817683)'))) / (select extract(epoch from '2026-07-20 18:26:10'::timestamp) - extract(epoch from '2026-07-20 18: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'), 47632, 'SRID=4674;POINT (-40.138151 -2.81773)', '2026-07-20 18:26:29', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138029 -2.817683)'), GeomFromEWKT('SRID=4674;POINT (-40.138151 -2.81773)'))) / (select extract(epoch from '2026-07-20 18:26:29'::timestamp) - extract(epoch from '2026-07-20 18:26:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138029 -2.817683)'), GeomFromEWKT('SRID=4674;POINT (-40.138151 -2.81773)'))) / (select extract(epoch from '2026-07-20 18:26:29'::timestamp) - extract(epoch from '2026-07-20 18:26: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'), 47632, 'SRID=4674;POINT (-40.138221 -2.817771)', '2026-07-20 18:26:46', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138151 -2.81773)'), GeomFromEWKT('SRID=4674;POINT (-40.138221 -2.817771)'))) / (select extract(epoch from '2026-07-20 18:26:46'::timestamp) - extract(epoch from '2026-07-20 18:26:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138151 -2.81773)'), GeomFromEWKT('SRID=4674;POINT (-40.138221 -2.817771)'))) / (select extract(epoch from '2026-07-20 18:26:46'::timestamp) - extract(epoch from '2026-07-20 18:26:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.138299 -2.817801)', '2026-07-20 18:27:03', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138221 -2.817771)'), GeomFromEWKT('SRID=4674;POINT (-40.138299 -2.817801)'))) / (select extract(epoch from '2026-07-20 18:27:03'::timestamp) - extract(epoch from '2026-07-20 18:26:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138221 -2.817771)'), GeomFromEWKT('SRID=4674;POINT (-40.138299 -2.817801)'))) / (select extract(epoch from '2026-07-20 18:27:03'::timestamp) - extract(epoch from '2026-07-20 18:26: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'), 47632, 'SRID=4674;POINT (-40.138348 -2.817808)', '2026-07-20 18:27:13', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138299 -2.817801)'), GeomFromEWKT('SRID=4674;POINT (-40.138348 -2.817808)'))) / (select extract(epoch from '2026-07-20 18:27:13'::timestamp) - extract(epoch from '2026-07-20 18:27:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138299 -2.817801)'), GeomFromEWKT('SRID=4674;POINT (-40.138348 -2.817808)'))) / (select extract(epoch from '2026-07-20 18:27:13'::timestamp) - extract(epoch from '2026-07-20 18:27:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.138467 -2.817852)', '2026-07-20 18:27:33', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138348 -2.817808)'), GeomFromEWKT('SRID=4674;POINT (-40.138467 -2.817852)'))) / (select extract(epoch from '2026-07-20 18:27:33'::timestamp) - extract(epoch from '2026-07-20 18:27:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138348 -2.817808)'), GeomFromEWKT('SRID=4674;POINT (-40.138467 -2.817852)'))) / (select extract(epoch from '2026-07-20 18:27:33'::timestamp) - extract(epoch from '2026-07-20 18:27:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.138529 -2.817867)', '2026-07-20 18:27:48', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138467 -2.817852)'), GeomFromEWKT('SRID=4674;POINT (-40.138529 -2.817867)'))) / (select extract(epoch from '2026-07-20 18:27:48'::timestamp) - extract(epoch from '2026-07-20 18:27:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138467 -2.817852)'), GeomFromEWKT('SRID=4674;POINT (-40.138529 -2.817867)'))) / (select extract(epoch from '2026-07-20 18:27:48'::timestamp) - extract(epoch from '2026-07-20 18:27:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.138616 -2.817892)', '2026-07-20 18:28:02', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138529 -2.817867)'), GeomFromEWKT('SRID=4674;POINT (-40.138616 -2.817892)'))) / (select extract(epoch from '2026-07-20 18:28:02'::timestamp) - extract(epoch from '2026-07-20 18:27:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138529 -2.817867)'), GeomFromEWKT('SRID=4674;POINT (-40.138616 -2.817892)'))) / (select extract(epoch from '2026-07-20 18:28:02'::timestamp) - extract(epoch from '2026-07-20 18:27: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'), 47632, 'SRID=4674;POINT (-40.138738 -2.817983)', '2026-07-20 18:28:20', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138616 -2.817892)'), GeomFromEWKT('SRID=4674;POINT (-40.138738 -2.817983)'))) / (select extract(epoch from '2026-07-20 18:28:20'::timestamp) - extract(epoch from '2026-07-20 18:28:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138616 -2.817892)'), GeomFromEWKT('SRID=4674;POINT (-40.138738 -2.817983)'))) / (select extract(epoch from '2026-07-20 18:28:20'::timestamp) - extract(epoch from '2026-07-20 18:28: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'), 47632, 'SRID=4674;POINT (-40.138853 -2.818038)', '2026-07-20 18:28:36', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138738 -2.817983)'), GeomFromEWKT('SRID=4674;POINT (-40.138853 -2.818038)'))) / (select extract(epoch from '2026-07-20 18:28:36'::timestamp) - extract(epoch from '2026-07-20 18:28:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138738 -2.817983)'), GeomFromEWKT('SRID=4674;POINT (-40.138853 -2.818038)'))) / (select extract(epoch from '2026-07-20 18:28:36'::timestamp) - extract(epoch from '2026-07-20 18:28:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.138976 -2.818112)', '2026-07-20 18:28:55', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138853 -2.818038)'), GeomFromEWKT('SRID=4674;POINT (-40.138976 -2.818112)'))) / (select extract(epoch from '2026-07-20 18:28:55'::timestamp) - extract(epoch from '2026-07-20 18:28:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138853 -2.818038)'), GeomFromEWKT('SRID=4674;POINT (-40.138976 -2.818112)'))) / (select extract(epoch from '2026-07-20 18:28:55'::timestamp) - extract(epoch from '2026-07-20 18:28: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'), 47632, 'SRID=4674;POINT (-40.139077 -2.818158)', '2026-07-20 18:29:11', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138976 -2.818112)'), GeomFromEWKT('SRID=4674;POINT (-40.139077 -2.818158)'))) / (select extract(epoch from '2026-07-20 18:29:11'::timestamp) - extract(epoch from '2026-07-20 18:28:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138976 -2.818112)'), GeomFromEWKT('SRID=4674;POINT (-40.139077 -2.818158)'))) / (select extract(epoch from '2026-07-20 18:29:11'::timestamp) - extract(epoch from '2026-07-20 18:28: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'), 47632, 'SRID=4674;POINT (-40.139184 -2.818212)', '2026-07-20 18:29:25', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139077 -2.818158)'), GeomFromEWKT('SRID=4674;POINT (-40.139184 -2.818212)'))) / (select extract(epoch from '2026-07-20 18:29:25'::timestamp) - extract(epoch from '2026-07-20 18:29:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139077 -2.818158)'), GeomFromEWKT('SRID=4674;POINT (-40.139184 -2.818212)'))) / (select extract(epoch from '2026-07-20 18:29:25'::timestamp) - extract(epoch from '2026-07-20 18: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'), 47632, 'SRID=4674;POINT (-40.139325 -2.818288)', '2026-07-20 18:29:46', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139184 -2.818212)'), GeomFromEWKT('SRID=4674;POINT (-40.139325 -2.818288)'))) / (select extract(epoch from '2026-07-20 18:29:46'::timestamp) - extract(epoch from '2026-07-20 18:29:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139184 -2.818212)'), GeomFromEWKT('SRID=4674;POINT (-40.139325 -2.818288)'))) / (select extract(epoch from '2026-07-20 18:29:46'::timestamp) - extract(epoch from '2026-07-20 18:29:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.139443 -2.818341)', '2026-07-20 18:30:02', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139325 -2.818288)'), GeomFromEWKT('SRID=4674;POINT (-40.139443 -2.818341)'))) / (select extract(epoch from '2026-07-20 18:30:02'::timestamp) - extract(epoch from '2026-07-20 18:29:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139325 -2.818288)'), GeomFromEWKT('SRID=4674;POINT (-40.139443 -2.818341)'))) / (select extract(epoch from '2026-07-20 18:30:02'::timestamp) - extract(epoch from '2026-07-20 18:29: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'), 47632, 'SRID=4674;POINT (-40.139541 -2.818412)', '2026-07-20 18:30:14', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139443 -2.818341)'), GeomFromEWKT('SRID=4674;POINT (-40.139541 -2.818412)'))) / (select extract(epoch from '2026-07-20 18:30:14'::timestamp) - extract(epoch from '2026-07-20 18:30:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139443 -2.818341)'), GeomFromEWKT('SRID=4674;POINT (-40.139541 -2.818412)'))) / (select extract(epoch from '2026-07-20 18:30:14'::timestamp) - extract(epoch from '2026-07-20 18:30:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.139674 -2.818456)', '2026-07-20 18:30:33', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139541 -2.818412)'), GeomFromEWKT('SRID=4674;POINT (-40.139674 -2.818456)'))) / (select extract(epoch from '2026-07-20 18:30:33'::timestamp) - extract(epoch from '2026-07-20 18:30:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139541 -2.818412)'), GeomFromEWKT('SRID=4674;POINT (-40.139674 -2.818456)'))) / (select extract(epoch from '2026-07-20 18:30:33'::timestamp) - extract(epoch from '2026-07-20 18: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'), 47632, 'SRID=4674;POINT (-40.139789 -2.818538)', '2026-07-20 18:30:50', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139674 -2.818456)'), GeomFromEWKT('SRID=4674;POINT (-40.139789 -2.818538)'))) / (select extract(epoch from '2026-07-20 18:30:50'::timestamp) - extract(epoch from '2026-07-20 18:30:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139674 -2.818456)'), GeomFromEWKT('SRID=4674;POINT (-40.139789 -2.818538)'))) / (select extract(epoch from '2026-07-20 18:30:50'::timestamp) - extract(epoch from '2026-07-20 18:30: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'), 47632, 'SRID=4674;POINT (-40.139906 -2.818615)', '2026-07-20 18:31:06', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139789 -2.818538)'), GeomFromEWKT('SRID=4674;POINT (-40.139906 -2.818615)'))) / (select extract(epoch from '2026-07-20 18:31:06'::timestamp) - extract(epoch from '2026-07-20 18:30:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139789 -2.818538)'), GeomFromEWKT('SRID=4674;POINT (-40.139906 -2.818615)'))) / (select extract(epoch from '2026-07-20 18:31:06'::timestamp) - extract(epoch from '2026-07-20 18:30: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'), 47632, 'SRID=4674;POINT (-40.14 -2.818682)', '2026-07-20 18:31:21', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139906 -2.818615)'), GeomFromEWKT('SRID=4674;POINT (-40.14 -2.818682)'))) / (select extract(epoch from '2026-07-20 18:31:21'::timestamp) - extract(epoch from '2026-07-20 18:31:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139906 -2.818615)'), GeomFromEWKT('SRID=4674;POINT (-40.14 -2.818682)'))) / (select extract(epoch from '2026-07-20 18:31:21'::timestamp) - extract(epoch from '2026-07-20 18:31:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.140148 -2.81875)', '2026-07-20 18:31:39', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14 -2.818682)'), GeomFromEWKT('SRID=4674;POINT (-40.140148 -2.81875)'))) / (select extract(epoch from '2026-07-20 18:31:39'::timestamp) - extract(epoch from '2026-07-20 18:31:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14 -2.818682)'), GeomFromEWKT('SRID=4674;POINT (-40.140148 -2.81875)'))) / (select extract(epoch from '2026-07-20 18:31:39'::timestamp) - extract(epoch from '2026-07-20 18:31: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'), 47632, 'SRID=4674;POINT (-40.140231 -2.818807)', '2026-07-20 18:31:52', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140148 -2.81875)'), GeomFromEWKT('SRID=4674;POINT (-40.140231 -2.818807)'))) / (select extract(epoch from '2026-07-20 18:31:52'::timestamp) - extract(epoch from '2026-07-20 18:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140148 -2.81875)'), GeomFromEWKT('SRID=4674;POINT (-40.140231 -2.818807)'))) / (select extract(epoch from '2026-07-20 18:31:52'::timestamp) - extract(epoch from '2026-07-20 18:31:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.140326 -2.818864)', '2026-07-20 18:32:07', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140231 -2.818807)'), GeomFromEWKT('SRID=4674;POINT (-40.140326 -2.818864)'))) / (select extract(epoch from '2026-07-20 18:32:07'::timestamp) - extract(epoch from '2026-07-20 18:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140231 -2.818807)'), GeomFromEWKT('SRID=4674;POINT (-40.140326 -2.818864)'))) / (select extract(epoch from '2026-07-20 18:32:07'::timestamp) - extract(epoch from '2026-07-20 18:31:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.140443 -2.818932)', '2026-07-20 18:32:22', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140326 -2.818864)'), GeomFromEWKT('SRID=4674;POINT (-40.140443 -2.818932)'))) / (select extract(epoch from '2026-07-20 18:32:22'::timestamp) - extract(epoch from '2026-07-20 18:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140326 -2.818864)'), GeomFromEWKT('SRID=4674;POINT (-40.140443 -2.818932)'))) / (select extract(epoch from '2026-07-20 18:32:22'::timestamp) - extract(epoch from '2026-07-20 18:32: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'), 47632, 'SRID=4674;POINT (-40.140531 -2.818976)', '2026-07-20 18:32:38', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140443 -2.818932)'), GeomFromEWKT('SRID=4674;POINT (-40.140531 -2.818976)'))) / (select extract(epoch from '2026-07-20 18:32:38'::timestamp) - extract(epoch from '2026-07-20 18:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140443 -2.818932)'), GeomFromEWKT('SRID=4674;POINT (-40.140531 -2.818976)'))) / (select extract(epoch from '2026-07-20 18:32:38'::timestamp) - extract(epoch from '2026-07-20 18: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'), 47632, 'SRID=4674;POINT (-40.140652 -2.819036)', '2026-07-20 18:32:57', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140531 -2.818976)'), GeomFromEWKT('SRID=4674;POINT (-40.140652 -2.819036)'))) / (select extract(epoch from '2026-07-20 18:32:57'::timestamp) - extract(epoch from '2026-07-20 18:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140531 -2.818976)'), GeomFromEWKT('SRID=4674;POINT (-40.140652 -2.819036)'))) / (select extract(epoch from '2026-07-20 18:32:57'::timestamp) - extract(epoch from '2026-07-20 18:32:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.140751 -2.819098)', '2026-07-20 18:33:13', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140652 -2.819036)'), GeomFromEWKT('SRID=4674;POINT (-40.140751 -2.819098)'))) / (select extract(epoch from '2026-07-20 18:33:13'::timestamp) - extract(epoch from '2026-07-20 18:32:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140652 -2.819036)'), GeomFromEWKT('SRID=4674;POINT (-40.140751 -2.819098)'))) / (select extract(epoch from '2026-07-20 18:33:13'::timestamp) - extract(epoch from '2026-07-20 18:32:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.140871 -2.819176)', '2026-07-20 18:33:31', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140751 -2.819098)'), GeomFromEWKT('SRID=4674;POINT (-40.140871 -2.819176)'))) / (select extract(epoch from '2026-07-20 18:33:31'::timestamp) - extract(epoch from '2026-07-20 18:33:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140751 -2.819098)'), GeomFromEWKT('SRID=4674;POINT (-40.140871 -2.819176)'))) / (select extract(epoch from '2026-07-20 18:33:31'::timestamp) - extract(epoch from '2026-07-20 18: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'), 47632, 'SRID=4674;POINT (-40.141011 -2.819268)', '2026-07-20 18:33:52', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140871 -2.819176)'), GeomFromEWKT('SRID=4674;POINT (-40.141011 -2.819268)'))) / (select extract(epoch from '2026-07-20 18:33:52'::timestamp) - extract(epoch from '2026-07-20 18:33:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140871 -2.819176)'), GeomFromEWKT('SRID=4674;POINT (-40.141011 -2.819268)'))) / (select extract(epoch from '2026-07-20 18:33:52'::timestamp) - extract(epoch from '2026-07-20 18:33:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.141104 -2.819342)', '2026-07-20 18:34:10', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141011 -2.819268)'), GeomFromEWKT('SRID=4674;POINT (-40.141104 -2.819342)'))) / (select extract(epoch from '2026-07-20 18:34:10'::timestamp) - extract(epoch from '2026-07-20 18:33:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141011 -2.819268)'), GeomFromEWKT('SRID=4674;POINT (-40.141104 -2.819342)'))) / (select extract(epoch from '2026-07-20 18:34:10'::timestamp) - extract(epoch from '2026-07-20 18:33: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'), 47632, 'SRID=4674;POINT (-40.141182 -2.819374)', '2026-07-20 18:34:25', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141104 -2.819342)'), GeomFromEWKT('SRID=4674;POINT (-40.141182 -2.819374)'))) / (select extract(epoch from '2026-07-20 18:34:25'::timestamp) - extract(epoch from '2026-07-20 18:34:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141104 -2.819342)'), GeomFromEWKT('SRID=4674;POINT (-40.141182 -2.819374)'))) / (select extract(epoch from '2026-07-20 18:34:25'::timestamp) - extract(epoch from '2026-07-20 18:34: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'), 47632, 'SRID=4674;POINT (-40.14125 -2.819391)', '2026-07-20 18:34:42', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141182 -2.819374)'), GeomFromEWKT('SRID=4674;POINT (-40.14125 -2.819391)'))) / (select extract(epoch from '2026-07-20 18:34:42'::timestamp) - extract(epoch from '2026-07-20 18:34:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141182 -2.819374)'), GeomFromEWKT('SRID=4674;POINT (-40.14125 -2.819391)'))) / (select extract(epoch from '2026-07-20 18:34:42'::timestamp) - extract(epoch from '2026-07-20 18:34:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.141339 -2.819426)', '2026-07-20 18:34:55', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14125 -2.819391)'), GeomFromEWKT('SRID=4674;POINT (-40.141339 -2.819426)'))) / (select extract(epoch from '2026-07-20 18:34:55'::timestamp) - extract(epoch from '2026-07-20 18:34:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14125 -2.819391)'), GeomFromEWKT('SRID=4674;POINT (-40.141339 -2.819426)'))) / (select extract(epoch from '2026-07-20 18:34:55'::timestamp) - extract(epoch from '2026-07-20 18:34: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'), 47632, 'SRID=4674;POINT (-40.14145 -2.819492)', '2026-07-20 18:35:13', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141339 -2.819426)'), GeomFromEWKT('SRID=4674;POINT (-40.14145 -2.819492)'))) / (select extract(epoch from '2026-07-20 18:35:13'::timestamp) - extract(epoch from '2026-07-20 18:34:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141339 -2.819426)'), GeomFromEWKT('SRID=4674;POINT (-40.14145 -2.819492)'))) / (select extract(epoch from '2026-07-20 18:35:13'::timestamp) - extract(epoch from '2026-07-20 18: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'), 47632, 'SRID=4674;POINT (-40.141568 -2.819554)', '2026-07-20 18:35:31', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14145 -2.819492)'), GeomFromEWKT('SRID=4674;POINT (-40.141568 -2.819554)'))) / (select extract(epoch from '2026-07-20 18:35:31'::timestamp) - extract(epoch from '2026-07-20 18:35:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14145 -2.819492)'), GeomFromEWKT('SRID=4674;POINT (-40.141568 -2.819554)'))) / (select extract(epoch from '2026-07-20 18:35:31'::timestamp) - extract(epoch from '2026-07-20 18:35: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'), 47632, 'SRID=4674;POINT (-40.141685 -2.819604)', '2026-07-20 18:35:47', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141568 -2.819554)'), GeomFromEWKT('SRID=4674;POINT (-40.141685 -2.819604)'))) / (select extract(epoch from '2026-07-20 18:35:47'::timestamp) - extract(epoch from '2026-07-20 18:35:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141568 -2.819554)'), GeomFromEWKT('SRID=4674;POINT (-40.141685 -2.819604)'))) / (select extract(epoch from '2026-07-20 18:35:47'::timestamp) - extract(epoch from '2026-07-20 18:35:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.141794 -2.819675)', '2026-07-20 18:36:06', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141685 -2.819604)'), GeomFromEWKT('SRID=4674;POINT (-40.141794 -2.819675)'))) / (select extract(epoch from '2026-07-20 18:36:06'::timestamp) - extract(epoch from '2026-07-20 18:35:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141685 -2.819604)'), GeomFromEWKT('SRID=4674;POINT (-40.141794 -2.819675)'))) / (select extract(epoch from '2026-07-20 18:36:06'::timestamp) - extract(epoch from '2026-07-20 18:35: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'), 47632, 'SRID=4674;POINT (-40.141918 -2.819754)', '2026-07-20 18:36:23', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141794 -2.819675)'), GeomFromEWKT('SRID=4674;POINT (-40.141918 -2.819754)'))) / (select extract(epoch from '2026-07-20 18:36:23'::timestamp) - extract(epoch from '2026-07-20 18:36:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141794 -2.819675)'), GeomFromEWKT('SRID=4674;POINT (-40.141918 -2.819754)'))) / (select extract(epoch from '2026-07-20 18:36:23'::timestamp) - extract(epoch from '2026-07-20 18:36:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.142038 -2.819826)', '2026-07-20 18:36:42', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141918 -2.819754)'), GeomFromEWKT('SRID=4674;POINT (-40.142038 -2.819826)'))) / (select extract(epoch from '2026-07-20 18:36:42'::timestamp) - extract(epoch from '2026-07-20 18:36:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141918 -2.819754)'), GeomFromEWKT('SRID=4674;POINT (-40.142038 -2.819826)'))) / (select extract(epoch from '2026-07-20 18:36:42'::timestamp) - extract(epoch from '2026-07-20 18: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'), 47632, 'SRID=4674;POINT (-40.142084 -2.819835)', '2026-07-20 18:36:56', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142038 -2.819826)'), GeomFromEWKT('SRID=4674;POINT (-40.142084 -2.819835)'))) / (select extract(epoch from '2026-07-20 18:36:56'::timestamp) - extract(epoch from '2026-07-20 18:36:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142038 -2.819826)'), GeomFromEWKT('SRID=4674;POINT (-40.142084 -2.819835)'))) / (select extract(epoch from '2026-07-20 18:36:56'::timestamp) - extract(epoch from '2026-07-20 18: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'), 47632, 'SRID=4674;POINT (-40.142118 -2.81983)', '2026-07-20 18:37:12', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142084 -2.819835)'), GeomFromEWKT('SRID=4674;POINT (-40.142118 -2.81983)'))) / (select extract(epoch from '2026-07-20 18:37:12'::timestamp) - extract(epoch from '2026-07-20 18:36:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142084 -2.819835)'), GeomFromEWKT('SRID=4674;POINT (-40.142118 -2.81983)'))) / (select extract(epoch from '2026-07-20 18:37:12'::timestamp) - extract(epoch from '2026-07-20 18:36:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.14218 -2.819825)', '2026-07-20 18:37:26', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142118 -2.81983)'), GeomFromEWKT('SRID=4674;POINT (-40.14218 -2.819825)'))) / (select extract(epoch from '2026-07-20 18:37:26'::timestamp) - extract(epoch from '2026-07-20 18:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142118 -2.81983)'), GeomFromEWKT('SRID=4674;POINT (-40.14218 -2.819825)'))) / (select extract(epoch from '2026-07-20 18:37:26'::timestamp) - extract(epoch from '2026-07-20 18:37:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.142189 -2.819821)', '2026-07-20 18:37:37', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14218 -2.819825)'), GeomFromEWKT('SRID=4674;POINT (-40.142189 -2.819821)'))) / (select extract(epoch from '2026-07-20 18:37:37'::timestamp) - extract(epoch from '2026-07-20 18:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14218 -2.819825)'), GeomFromEWKT('SRID=4674;POINT (-40.142189 -2.819821)'))) / (select extract(epoch from '2026-07-20 18:37:37'::timestamp) - extract(epoch from '2026-07-20 18: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'), 47632, 'SRID=4674;POINT (-40.142261 -2.819812)', '2026-07-20 18:37:51', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142189 -2.819821)'), GeomFromEWKT('SRID=4674;POINT (-40.142261 -2.819812)'))) / (select extract(epoch from '2026-07-20 18:37:51'::timestamp) - extract(epoch from '2026-07-20 18:37:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142189 -2.819821)'), GeomFromEWKT('SRID=4674;POINT (-40.142261 -2.819812)'))) / (select extract(epoch from '2026-07-20 18:37:51'::timestamp) - extract(epoch from '2026-07-20 18:37:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.142359 -2.819856)', '2026-07-20 18:38:06', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142261 -2.819812)'), GeomFromEWKT('SRID=4674;POINT (-40.142359 -2.819856)'))) / (select extract(epoch from '2026-07-20 18:38:06'::timestamp) - extract(epoch from '2026-07-20 18:37:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142261 -2.819812)'), GeomFromEWKT('SRID=4674;POINT (-40.142359 -2.819856)'))) / (select extract(epoch from '2026-07-20 18:38:06'::timestamp) - extract(epoch from '2026-07-20 18: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'), 47632, 'SRID=4674;POINT (-40.14246 -2.819905)', '2026-07-20 18:38:22', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142359 -2.819856)'), GeomFromEWKT('SRID=4674;POINT (-40.14246 -2.819905)'))) / (select extract(epoch from '2026-07-20 18:38:22'::timestamp) - extract(epoch from '2026-07-20 18:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142359 -2.819856)'), GeomFromEWKT('SRID=4674;POINT (-40.14246 -2.819905)'))) / (select extract(epoch from '2026-07-20 18:38:22'::timestamp) - extract(epoch from '2026-07-20 18:38:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.142572 -2.819952)', '2026-07-20 18:38:40', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14246 -2.819905)'), GeomFromEWKT('SRID=4674;POINT (-40.142572 -2.819952)'))) / (select extract(epoch from '2026-07-20 18:38:40'::timestamp) - extract(epoch from '2026-07-20 18:38:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14246 -2.819905)'), GeomFromEWKT('SRID=4674;POINT (-40.142572 -2.819952)'))) / (select extract(epoch from '2026-07-20 18:38:40'::timestamp) - extract(epoch from '2026-07-20 18:38:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.1427 -2.820047)', '2026-07-20 18:38:59', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142572 -2.819952)'), GeomFromEWKT('SRID=4674;POINT (-40.1427 -2.820047)'))) / (select extract(epoch from '2026-07-20 18:38:59'::timestamp) - extract(epoch from '2026-07-20 18:38:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142572 -2.819952)'), GeomFromEWKT('SRID=4674;POINT (-40.1427 -2.820047)'))) / (select extract(epoch from '2026-07-20 18:38:59'::timestamp) - extract(epoch from '2026-07-20 18:38: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'), 47632, 'SRID=4674;POINT (-40.142779 -2.820097)', '2026-07-20 18:39:13', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1427 -2.820047)'), GeomFromEWKT('SRID=4674;POINT (-40.142779 -2.820097)'))) / (select extract(epoch from '2026-07-20 18:39:13'::timestamp) - extract(epoch from '2026-07-20 18:38:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1427 -2.820047)'), GeomFromEWKT('SRID=4674;POINT (-40.142779 -2.820097)'))) / (select extract(epoch from '2026-07-20 18:39:13'::timestamp) - extract(epoch from '2026-07-20 18: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'), 47632, 'SRID=4674;POINT (-40.142893 -2.820171)', '2026-07-20 18:39:29', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142779 -2.820097)'), GeomFromEWKT('SRID=4674;POINT (-40.142893 -2.820171)'))) / (select extract(epoch from '2026-07-20 18:39:29'::timestamp) - extract(epoch from '2026-07-20 18:39:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142779 -2.820097)'), GeomFromEWKT('SRID=4674;POINT (-40.142893 -2.820171)'))) / (select extract(epoch from '2026-07-20 18:39:29'::timestamp) - extract(epoch from '2026-07-20 18:39:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.143007 -2.820223)', '2026-07-20 18:39:45', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142893 -2.820171)'), GeomFromEWKT('SRID=4674;POINT (-40.143007 -2.820223)'))) / (select extract(epoch from '2026-07-20 18:39:45'::timestamp) - extract(epoch from '2026-07-20 18:39:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142893 -2.820171)'), GeomFromEWKT('SRID=4674;POINT (-40.143007 -2.820223)'))) / (select extract(epoch from '2026-07-20 18:39:45'::timestamp) - extract(epoch from '2026-07-20 18:39:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.143079 -2.820269)', '2026-07-20 18:39:57', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143007 -2.820223)'), GeomFromEWKT('SRID=4674;POINT (-40.143079 -2.820269)'))) / (select extract(epoch from '2026-07-20 18:39:57'::timestamp) - extract(epoch from '2026-07-20 18:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143007 -2.820223)'), GeomFromEWKT('SRID=4674;POINT (-40.143079 -2.820269)'))) / (select extract(epoch from '2026-07-20 18:39:57'::timestamp) - extract(epoch from '2026-07-20 18:39:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.143185 -2.82034)', '2026-07-20 18:40:14', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143079 -2.820269)'), GeomFromEWKT('SRID=4674;POINT (-40.143185 -2.82034)'))) / (select extract(epoch from '2026-07-20 18:40:14'::timestamp) - extract(epoch from '2026-07-20 18:39:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143079 -2.820269)'), GeomFromEWKT('SRID=4674;POINT (-40.143185 -2.82034)'))) / (select extract(epoch from '2026-07-20 18:40:14'::timestamp) - extract(epoch from '2026-07-20 18:39:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.143266 -2.820435)', '2026-07-20 18:40:34', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143185 -2.82034)'), GeomFromEWKT('SRID=4674;POINT (-40.143266 -2.820435)'))) / (select extract(epoch from '2026-07-20 18:40:34'::timestamp) - extract(epoch from '2026-07-20 18:40:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143185 -2.82034)'), GeomFromEWKT('SRID=4674;POINT (-40.143266 -2.820435)'))) / (select extract(epoch from '2026-07-20 18:40:34'::timestamp) - extract(epoch from '2026-07-20 18:40:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.143379 -2.820516)', '2026-07-20 18:40:53', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143266 -2.820435)'), GeomFromEWKT('SRID=4674;POINT (-40.143379 -2.820516)'))) / (select extract(epoch from '2026-07-20 18:40:53'::timestamp) - extract(epoch from '2026-07-20 18:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143266 -2.820435)'), GeomFromEWKT('SRID=4674;POINT (-40.143379 -2.820516)'))) / (select extract(epoch from '2026-07-20 18:40:53'::timestamp) - extract(epoch from '2026-07-20 18:40:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.143416 -2.820525)', '2026-07-20 18:41:05', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143379 -2.820516)'), GeomFromEWKT('SRID=4674;POINT (-40.143416 -2.820525)'))) / (select extract(epoch from '2026-07-20 18:41:05'::timestamp) - extract(epoch from '2026-07-20 18:40:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143379 -2.820516)'), GeomFromEWKT('SRID=4674;POINT (-40.143416 -2.820525)'))) / (select extract(epoch from '2026-07-20 18:41:05'::timestamp) - extract(epoch from '2026-07-20 18:40:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.143407 -2.820549)', '2026-07-20 18:50:41', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143416 -2.820525)'), GeomFromEWKT('SRID=4674;POINT (-40.143407 -2.820549)'))) / (select extract(epoch from '2026-07-20 18:50:41'::timestamp) - extract(epoch from '2026-07-20 18:41:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143416 -2.820525)'), GeomFromEWKT('SRID=4674;POINT (-40.143407 -2.820549)'))) / (select extract(epoch from '2026-07-20 18:50:41'::timestamp) - extract(epoch from '2026-07-20 18:41:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.1435 -2.820695)', '2026-07-20 18:50:52', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143407 -2.820549)'), GeomFromEWKT('SRID=4674;POINT (-40.1435 -2.820695)'))) / (select extract(epoch from '2026-07-20 18:50:52'::timestamp) - extract(epoch from '2026-07-20 18:50:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143407 -2.820549)'), GeomFromEWKT('SRID=4674;POINT (-40.1435 -2.820695)'))) / (select extract(epoch from '2026-07-20 18:50:52'::timestamp) - extract(epoch from '2026-07-20 18:50:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.143598 -2.820791)', '2026-07-20 18:51:00', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1435 -2.820695)'), GeomFromEWKT('SRID=4674;POINT (-40.143598 -2.820791)'))) / (select extract(epoch from '2026-07-20 18:51:00'::timestamp) - extract(epoch from '2026-07-20 18:50:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1435 -2.820695)'), GeomFromEWKT('SRID=4674;POINT (-40.143598 -2.820791)'))) / (select extract(epoch from '2026-07-20 18:51:00'::timestamp) - extract(epoch from '2026-07-20 18:50:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.143719 -2.82089)', '2026-07-20 18:51:08', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143598 -2.820791)'), GeomFromEWKT('SRID=4674;POINT (-40.143719 -2.82089)'))) / (select extract(epoch from '2026-07-20 18:51:08'::timestamp) - extract(epoch from '2026-07-20 18:51:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143598 -2.820791)'), GeomFromEWKT('SRID=4674;POINT (-40.143719 -2.82089)'))) / (select extract(epoch from '2026-07-20 18:51:08'::timestamp) - extract(epoch from '2026-07-20 18: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'), 47632, 'SRID=4674;POINT (-40.143843 -2.821017)', '2026-07-20 18:51:17', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143719 -2.82089)'), GeomFromEWKT('SRID=4674;POINT (-40.143843 -2.821017)'))) / (select extract(epoch from '2026-07-20 18:51:17'::timestamp) - extract(epoch from '2026-07-20 18:51:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143719 -2.82089)'), GeomFromEWKT('SRID=4674;POINT (-40.143843 -2.821017)'))) / (select extract(epoch from '2026-07-20 18:51:17'::timestamp) - extract(epoch from '2026-07-20 18:51: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'), 47632, 'SRID=4674;POINT (-40.143917 -2.821132)', '2026-07-20 18:51:25', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143843 -2.821017)'), GeomFromEWKT('SRID=4674;POINT (-40.143917 -2.821132)'))) / (select extract(epoch from '2026-07-20 18:51:25'::timestamp) - extract(epoch from '2026-07-20 18:51:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143843 -2.821017)'), GeomFromEWKT('SRID=4674;POINT (-40.143917 -2.821132)'))) / (select extract(epoch from '2026-07-20 18:51:25'::timestamp) - extract(epoch from '2026-07-20 18:51:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.143989 -2.821261)', '2026-07-20 18:51:34', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143917 -2.821132)'), GeomFromEWKT('SRID=4674;POINT (-40.143989 -2.821261)'))) / (select extract(epoch from '2026-07-20 18:51:34'::timestamp) - extract(epoch from '2026-07-20 18:51:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143917 -2.821132)'), GeomFromEWKT('SRID=4674;POINT (-40.143989 -2.821261)'))) / (select extract(epoch from '2026-07-20 18:51:34'::timestamp) - extract(epoch from '2026-07-20 18:51: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'), 47632, 'SRID=4674;POINT (-40.144021 -2.82139)', '2026-07-20 18:51:44', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143989 -2.821261)'), GeomFromEWKT('SRID=4674;POINT (-40.144021 -2.82139)'))) / (select extract(epoch from '2026-07-20 18:51:44'::timestamp) - extract(epoch from '2026-07-20 18:51:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143989 -2.821261)'), GeomFromEWKT('SRID=4674;POINT (-40.144021 -2.82139)'))) / (select extract(epoch from '2026-07-20 18:51:44'::timestamp) - extract(epoch from '2026-07-20 18:51: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'), 47632, 'SRID=4674;POINT (-40.144048 -2.821501)', '2026-07-20 18:51:51', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144021 -2.82139)'), GeomFromEWKT('SRID=4674;POINT (-40.144048 -2.821501)'))) / (select extract(epoch from '2026-07-20 18:51:51'::timestamp) - extract(epoch from '2026-07-20 18:51:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144021 -2.82139)'), GeomFromEWKT('SRID=4674;POINT (-40.144048 -2.821501)'))) / (select extract(epoch from '2026-07-20 18:51:51'::timestamp) - extract(epoch from '2026-07-20 18: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'), 47632, 'SRID=4674;POINT (-40.144082 -2.821618)', '2026-07-20 18:51:59', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144048 -2.821501)'), GeomFromEWKT('SRID=4674;POINT (-40.144082 -2.821618)'))) / (select extract(epoch from '2026-07-20 18:51:59'::timestamp) - extract(epoch from '2026-07-20 18:51:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144048 -2.821501)'), GeomFromEWKT('SRID=4674;POINT (-40.144082 -2.821618)'))) / (select extract(epoch from '2026-07-20 18:51:59'::timestamp) - extract(epoch from '2026-07-20 18: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'), 47632, 'SRID=4674;POINT (-40.144112 -2.821751)', '2026-07-20 18:52:09', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144082 -2.821618)'), GeomFromEWKT('SRID=4674;POINT (-40.144112 -2.821751)'))) / (select extract(epoch from '2026-07-20 18:52:09'::timestamp) - extract(epoch from '2026-07-20 18:51:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144082 -2.821618)'), GeomFromEWKT('SRID=4674;POINT (-40.144112 -2.821751)'))) / (select extract(epoch from '2026-07-20 18:52:09'::timestamp) - extract(epoch from '2026-07-20 18: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'), 47632, 'SRID=4674;POINT (-40.144104 -2.821869)', '2026-07-20 18:52:18', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144112 -2.821751)'), GeomFromEWKT('SRID=4674;POINT (-40.144104 -2.821869)'))) / (select extract(epoch from '2026-07-20 18:52:18'::timestamp) - extract(epoch from '2026-07-20 18:52:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144112 -2.821751)'), GeomFromEWKT('SRID=4674;POINT (-40.144104 -2.821869)'))) / (select extract(epoch from '2026-07-20 18:52:18'::timestamp) - extract(epoch from '2026-07-20 18:52: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'), 47632, 'SRID=4674;POINT (-40.144084 -2.821953)', '2026-07-20 18:52:27', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144104 -2.821869)'), GeomFromEWKT('SRID=4674;POINT (-40.144084 -2.821953)'))) / (select extract(epoch from '2026-07-20 18:52:27'::timestamp) - extract(epoch from '2026-07-20 18:52:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144104 -2.821869)'), GeomFromEWKT('SRID=4674;POINT (-40.144084 -2.821953)'))) / (select extract(epoch from '2026-07-20 18:52:27'::timestamp) - extract(epoch from '2026-07-20 18:52:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.144059 -2.821976)', '2026-07-20 18:52:35', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144084 -2.821953)'), GeomFromEWKT('SRID=4674;POINT (-40.144059 -2.821976)'))) / (select extract(epoch from '2026-07-20 18:52:35'::timestamp) - extract(epoch from '2026-07-20 18:52:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144084 -2.821953)'), GeomFromEWKT('SRID=4674;POINT (-40.144059 -2.821976)'))) / (select extract(epoch from '2026-07-20 18:52:35'::timestamp) - extract(epoch from '2026-07-20 18:52:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.144037 -2.82199)', '2026-07-20 18:52:45', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144059 -2.821976)'), GeomFromEWKT('SRID=4674;POINT (-40.144037 -2.82199)'))) / (select extract(epoch from '2026-07-20 18:52:45'::timestamp) - extract(epoch from '2026-07-20 18:52:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144059 -2.821976)'), GeomFromEWKT('SRID=4674;POINT (-40.144037 -2.82199)'))) / (select extract(epoch from '2026-07-20 18:52:45'::timestamp) - extract(epoch from '2026-07-20 18:52:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.144055 -2.82204)', '2026-07-20 18:53:06', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144037 -2.82199)'), GeomFromEWKT('SRID=4674;POINT (-40.144055 -2.82204)'))) / (select extract(epoch from '2026-07-20 18:53:06'::timestamp) - extract(epoch from '2026-07-20 18:52:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144037 -2.82199)'), GeomFromEWKT('SRID=4674;POINT (-40.144055 -2.82204)'))) / (select extract(epoch from '2026-07-20 18:53:06'::timestamp) - extract(epoch from '2026-07-20 18:52: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'), 47632, 'SRID=4674;POINT (-40.144054 -2.822042)', '2026-07-20 18:53:16', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144055 -2.82204)'), GeomFromEWKT('SRID=4674;POINT (-40.144054 -2.822042)'))) / (select extract(epoch from '2026-07-20 18:53:16'::timestamp) - extract(epoch from '2026-07-20 18:53:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144055 -2.82204)'), GeomFromEWKT('SRID=4674;POINT (-40.144054 -2.822042)'))) / (select extract(epoch from '2026-07-20 18:53:16'::timestamp) - extract(epoch from '2026-07-20 18:53:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.144039 -2.822047)', '2026-07-20 18:53:17', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144054 -2.822042)'), GeomFromEWKT('SRID=4674;POINT (-40.144039 -2.822047)'))) / (select extract(epoch from '2026-07-20 18:53:17'::timestamp) - extract(epoch from '2026-07-20 18:53:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144054 -2.822042)'), GeomFromEWKT('SRID=4674;POINT (-40.144039 -2.822047)'))) / (select extract(epoch from '2026-07-20 18:53:17'::timestamp) - extract(epoch from '2026-07-20 18:53:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.143992 -2.822043)', '2026-07-20 18:53:26', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144039 -2.822047)'), GeomFromEWKT('SRID=4674;POINT (-40.143992 -2.822043)'))) / (select extract(epoch from '2026-07-20 18:53:26'::timestamp) - extract(epoch from '2026-07-20 18:53:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144039 -2.822047)'), GeomFromEWKT('SRID=4674;POINT (-40.143992 -2.822043)'))) / (select extract(epoch from '2026-07-20 18:53:26'::timestamp) - extract(epoch from '2026-07-20 18:53: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'), 47632, 'SRID=4674;POINT (-40.143947 -2.822057)', '2026-07-20 18:53:39', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143992 -2.822043)'), GeomFromEWKT('SRID=4674;POINT (-40.143947 -2.822057)'))) / (select extract(epoch from '2026-07-20 18:53:39'::timestamp) - extract(epoch from '2026-07-20 18:53:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143992 -2.822043)'), GeomFromEWKT('SRID=4674;POINT (-40.143947 -2.822057)'))) / (select extract(epoch from '2026-07-20 18:53:39'::timestamp) - extract(epoch from '2026-07-20 18:53:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.143907 -2.822078)', '2026-07-20 18:53:49', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143947 -2.822057)'), GeomFromEWKT('SRID=4674;POINT (-40.143907 -2.822078)'))) / (select extract(epoch from '2026-07-20 18:53:49'::timestamp) - extract(epoch from '2026-07-20 18:53:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143947 -2.822057)'), GeomFromEWKT('SRID=4674;POINT (-40.143907 -2.822078)'))) / (select extract(epoch from '2026-07-20 18:53:49'::timestamp) - extract(epoch from '2026-07-20 18:53:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.143857 -2.822151)', '2026-07-20 18:54:04', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143907 -2.822078)'), GeomFromEWKT('SRID=4674;POINT (-40.143857 -2.822151)'))) / (select extract(epoch from '2026-07-20 18:54:04'::timestamp) - extract(epoch from '2026-07-20 18:53:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143907 -2.822078)'), GeomFromEWKT('SRID=4674;POINT (-40.143857 -2.822151)'))) / (select extract(epoch from '2026-07-20 18:54:04'::timestamp) - extract(epoch from '2026-07-20 18:53: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'), 47632, 'SRID=4674;POINT (-40.143807 -2.822179)', '2026-07-20 18:54:19', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143857 -2.822151)'), GeomFromEWKT('SRID=4674;POINT (-40.143807 -2.822179)'))) / (select extract(epoch from '2026-07-20 18:54:19'::timestamp) - extract(epoch from '2026-07-20 18:54:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143857 -2.822151)'), GeomFromEWKT('SRID=4674;POINT (-40.143807 -2.822179)'))) / (select extract(epoch from '2026-07-20 18:54:19'::timestamp) - extract(epoch from '2026-07-20 18:54: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'), 47632, 'SRID=4674;POINT (-40.143711 -2.822205)', '2026-07-20 18:55:08', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143807 -2.822179)'), GeomFromEWKT('SRID=4674;POINT (-40.143711 -2.822205)'))) / (select extract(epoch from '2026-07-20 18:55:08'::timestamp) - extract(epoch from '2026-07-20 18:54:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143807 -2.822179)'), GeomFromEWKT('SRID=4674;POINT (-40.143711 -2.822205)'))) / (select extract(epoch from '2026-07-20 18:55:08'::timestamp) - extract(epoch from '2026-07-20 18:54: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'), 47632, 'SRID=4674;POINT (-40.143642 -2.822238)', '2026-07-20 18:55:23', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143711 -2.822205)'), GeomFromEWKT('SRID=4674;POINT (-40.143642 -2.822238)'))) / (select extract(epoch from '2026-07-20 18:55:23'::timestamp) - extract(epoch from '2026-07-20 18:55:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143711 -2.822205)'), GeomFromEWKT('SRID=4674;POINT (-40.143642 -2.822238)'))) / (select extract(epoch from '2026-07-20 18:55:23'::timestamp) - extract(epoch from '2026-07-20 18:55: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'), 47632, 'SRID=4674;POINT (-40.143594 -2.822218)', '2026-07-20 18:55:37', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143642 -2.822238)'), GeomFromEWKT('SRID=4674;POINT (-40.143594 -2.822218)'))) / (select extract(epoch from '2026-07-20 18:55:37'::timestamp) - extract(epoch from '2026-07-20 18:55:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143642 -2.822238)'), GeomFromEWKT('SRID=4674;POINT (-40.143594 -2.822218)'))) / (select extract(epoch from '2026-07-20 18:55:37'::timestamp) - extract(epoch from '2026-07-20 18:55:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.14355 -2.822218)', '2026-07-20 18:55:47', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143594 -2.822218)'), GeomFromEWKT('SRID=4674;POINT (-40.14355 -2.822218)'))) / (select extract(epoch from '2026-07-20 18:55:47'::timestamp) - extract(epoch from '2026-07-20 18:55:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143594 -2.822218)'), GeomFromEWKT('SRID=4674;POINT (-40.14355 -2.822218)'))) / (select extract(epoch from '2026-07-20 18:55:47'::timestamp) - extract(epoch from '2026-07-20 18:55: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'), 47632, 'SRID=4674;POINT (-40.143482 -2.822208)', '2026-07-20 18:56:06', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14355 -2.822218)'), GeomFromEWKT('SRID=4674;POINT (-40.143482 -2.822208)'))) / (select extract(epoch from '2026-07-20 18:56:06'::timestamp) - extract(epoch from '2026-07-20 18:55:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14355 -2.822218)'), GeomFromEWKT('SRID=4674;POINT (-40.143482 -2.822208)'))) / (select extract(epoch from '2026-07-20 18:56:06'::timestamp) - extract(epoch from '2026-07-20 18:55: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'), 47632, 'SRID=4674;POINT (-40.143423 -2.822221)', '2026-07-20 18:56:21', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143482 -2.822208)'), GeomFromEWKT('SRID=4674;POINT (-40.143423 -2.822221)'))) / (select extract(epoch from '2026-07-20 18:56:21'::timestamp) - extract(epoch from '2026-07-20 18:56:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143482 -2.822208)'), GeomFromEWKT('SRID=4674;POINT (-40.143423 -2.822221)'))) / (select extract(epoch from '2026-07-20 18:56:21'::timestamp) - extract(epoch from '2026-07-20 18:56:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.143365 -2.82223)', '2026-07-20 18:56:36', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143423 -2.822221)'), GeomFromEWKT('SRID=4674;POINT (-40.143365 -2.82223)'))) / (select extract(epoch from '2026-07-20 18:56:36'::timestamp) - extract(epoch from '2026-07-20 18:56:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143423 -2.822221)'), GeomFromEWKT('SRID=4674;POINT (-40.143365 -2.82223)'))) / (select extract(epoch from '2026-07-20 18:56:36'::timestamp) - extract(epoch from '2026-07-20 18:56:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.143326 -2.822241)', '2026-07-20 18:56:46', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143365 -2.82223)'), GeomFromEWKT('SRID=4674;POINT (-40.143326 -2.822241)'))) / (select extract(epoch from '2026-07-20 18:56:46'::timestamp) - extract(epoch from '2026-07-20 18:56:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143365 -2.82223)'), GeomFromEWKT('SRID=4674;POINT (-40.143326 -2.822241)'))) / (select extract(epoch from '2026-07-20 18:56:46'::timestamp) - extract(epoch from '2026-07-20 18:56:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.143292 -2.822239)', '2026-07-20 18:56:59', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143326 -2.822241)'), GeomFromEWKT('SRID=4674;POINT (-40.143292 -2.822239)'))) / (select extract(epoch from '2026-07-20 18:56:59'::timestamp) - extract(epoch from '2026-07-20 18:56:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143326 -2.822241)'), GeomFromEWKT('SRID=4674;POINT (-40.143292 -2.822239)'))) / (select extract(epoch from '2026-07-20 18:56:59'::timestamp) - extract(epoch from '2026-07-20 18:56: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'), 47632, 'SRID=4674;POINT (-40.143244 -2.82226)', '2026-07-20 18:57:15', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143292 -2.822239)'), GeomFromEWKT('SRID=4674;POINT (-40.143244 -2.82226)'))) / (select extract(epoch from '2026-07-20 18:57:15'::timestamp) - extract(epoch from '2026-07-20 18:56:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143292 -2.822239)'), GeomFromEWKT('SRID=4674;POINT (-40.143244 -2.82226)'))) / (select extract(epoch from '2026-07-20 18:57:15'::timestamp) - extract(epoch from '2026-07-20 18:56: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'), 47632, 'SRID=4674;POINT (-40.143183 -2.822255)', '2026-07-20 18:57:28', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143244 -2.82226)'), GeomFromEWKT('SRID=4674;POINT (-40.143183 -2.822255)'))) / (select extract(epoch from '2026-07-20 18:57:28'::timestamp) - extract(epoch from '2026-07-20 18:57:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143244 -2.82226)'), GeomFromEWKT('SRID=4674;POINT (-40.143183 -2.822255)'))) / (select extract(epoch from '2026-07-20 18:57:28'::timestamp) - extract(epoch from '2026-07-20 18:57: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'), 47632, 'SRID=4674;POINT (-40.143116 -2.822239)', '2026-07-20 18:57:52', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143183 -2.822255)'), GeomFromEWKT('SRID=4674;POINT (-40.143116 -2.822239)'))) / (select extract(epoch from '2026-07-20 18:57:52'::timestamp) - extract(epoch from '2026-07-20 18:57:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143183 -2.822255)'), GeomFromEWKT('SRID=4674;POINT (-40.143116 -2.822239)'))) / (select extract(epoch from '2026-07-20 18:57:52'::timestamp) - extract(epoch from '2026-07-20 18:57: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'), 47632, 'SRID=4674;POINT (-40.143094 -2.822239)', '2026-07-20 18:57:59', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143116 -2.822239)'), GeomFromEWKT('SRID=4674;POINT (-40.143094 -2.822239)'))) / (select extract(epoch from '2026-07-20 18:57:59'::timestamp) - extract(epoch from '2026-07-20 18:57:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143116 -2.822239)'), GeomFromEWKT('SRID=4674;POINT (-40.143094 -2.822239)'))) / (select extract(epoch from '2026-07-20 18:57:59'::timestamp) - extract(epoch from '2026-07-20 18:57: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'), 47632, 'SRID=4674;POINT (-40.143075 -2.822236)', '2026-07-20 18:58:14', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143094 -2.822239)'), GeomFromEWKT('SRID=4674;POINT (-40.143075 -2.822236)'))) / (select extract(epoch from '2026-07-20 18:58:14'::timestamp) - extract(epoch from '2026-07-20 18:57:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143094 -2.822239)'), GeomFromEWKT('SRID=4674;POINT (-40.143075 -2.822236)'))) / (select extract(epoch from '2026-07-20 18:58:14'::timestamp) - extract(epoch from '2026-07-20 18:57: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'), 47632, 'SRID=4674;POINT (-40.143009 -2.822245)', '2026-07-20 18:58:26', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143075 -2.822236)'), GeomFromEWKT('SRID=4674;POINT (-40.143009 -2.822245)'))) / (select extract(epoch from '2026-07-20 18:58:26'::timestamp) - extract(epoch from '2026-07-20 18:58:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143075 -2.822236)'), GeomFromEWKT('SRID=4674;POINT (-40.143009 -2.822245)'))) / (select extract(epoch from '2026-07-20 18:58:26'::timestamp) - extract(epoch from '2026-07-20 18:58: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'), 47632, 'SRID=4674;POINT (-40.142951 -2.822278)', '2026-07-20 18:58:43', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143009 -2.822245)'), GeomFromEWKT('SRID=4674;POINT (-40.142951 -2.822278)'))) / (select extract(epoch from '2026-07-20 18:58:43'::timestamp) - extract(epoch from '2026-07-20 18:58:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143009 -2.822245)'), GeomFromEWKT('SRID=4674;POINT (-40.142951 -2.822278)'))) / (select extract(epoch from '2026-07-20 18:58:43'::timestamp) - extract(epoch from '2026-07-20 18:58:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.142937 -2.822283)', '2026-07-20 18:58:54', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142951 -2.822278)'), GeomFromEWKT('SRID=4674;POINT (-40.142937 -2.822283)'))) / (select extract(epoch from '2026-07-20 18:58:54'::timestamp) - extract(epoch from '2026-07-20 18:58:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142951 -2.822278)'), GeomFromEWKT('SRID=4674;POINT (-40.142937 -2.822283)'))) / (select extract(epoch from '2026-07-20 18:58:54'::timestamp) - extract(epoch from '2026-07-20 18:58: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'), 47632, 'SRID=4674;POINT (-40.142897 -2.822278)', '2026-07-20 18:59:08', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142937 -2.822283)'), GeomFromEWKT('SRID=4674;POINT (-40.142897 -2.822278)'))) / (select extract(epoch from '2026-07-20 18:59:08'::timestamp) - extract(epoch from '2026-07-20 18:58:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142937 -2.822283)'), GeomFromEWKT('SRID=4674;POINT (-40.142897 -2.822278)'))) / (select extract(epoch from '2026-07-20 18:59:08'::timestamp) - extract(epoch from '2026-07-20 18:58:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.142877 -2.82228)', '2026-07-20 18:59:22', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142897 -2.822278)'), GeomFromEWKT('SRID=4674;POINT (-40.142877 -2.82228)'))) / (select extract(epoch from '2026-07-20 18:59:22'::timestamp) - extract(epoch from '2026-07-20 18:59:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142897 -2.822278)'), GeomFromEWKT('SRID=4674;POINT (-40.142877 -2.82228)'))) / (select extract(epoch from '2026-07-20 18:59:22'::timestamp) - extract(epoch from '2026-07-20 18:59:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.142824 -2.822282)', '2026-07-20 18:59:29', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142877 -2.82228)'), GeomFromEWKT('SRID=4674;POINT (-40.142824 -2.822282)'))) / (select extract(epoch from '2026-07-20 18:59:29'::timestamp) - extract(epoch from '2026-07-20 18:59:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142877 -2.82228)'), GeomFromEWKT('SRID=4674;POINT (-40.142824 -2.822282)'))) / (select extract(epoch from '2026-07-20 18:59:29'::timestamp) - extract(epoch from '2026-07-20 18:59: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'), 47632, 'SRID=4674;POINT (-40.14278 -2.82229)', '2026-07-20 18:59:45', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142824 -2.822282)'), GeomFromEWKT('SRID=4674;POINT (-40.14278 -2.82229)'))) / (select extract(epoch from '2026-07-20 18:59:45'::timestamp) - extract(epoch from '2026-07-20 18:59:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142824 -2.822282)'), GeomFromEWKT('SRID=4674;POINT (-40.14278 -2.82229)'))) / (select extract(epoch from '2026-07-20 18:59:45'::timestamp) - extract(epoch from '2026-07-20 18:59: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'), 47632, 'SRID=4674;POINT (-40.142755 -2.822337)', '2026-07-20 18:59:57', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14278 -2.82229)'), GeomFromEWKT('SRID=4674;POINT (-40.142755 -2.822337)'))) / (select extract(epoch from '2026-07-20 18:59:57'::timestamp) - extract(epoch from '2026-07-20 18:59:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14278 -2.82229)'), GeomFromEWKT('SRID=4674;POINT (-40.142755 -2.822337)'))) / (select extract(epoch from '2026-07-20 18:59:57'::timestamp) - extract(epoch from '2026-07-20 18:59: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'), 47632, 'SRID=4674;POINT (-40.142718 -2.822361)', '2026-07-20 19:00:09', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142755 -2.822337)'), GeomFromEWKT('SRID=4674;POINT (-40.142718 -2.822361)'))) / (select extract(epoch from '2026-07-20 19:00:09'::timestamp) - extract(epoch from '2026-07-20 18:59:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142755 -2.822337)'), GeomFromEWKT('SRID=4674;POINT (-40.142718 -2.822361)'))) / (select extract(epoch from '2026-07-20 19:00:09'::timestamp) - extract(epoch from '2026-07-20 18:59:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.142683 -2.822373)', '2026-07-20 19:00:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142718 -2.822361)'), GeomFromEWKT('SRID=4674;POINT (-40.142683 -2.822373)'))) / (select extract(epoch from '2026-07-20 19:00:19'::timestamp) - extract(epoch from '2026-07-20 19:00:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142718 -2.822361)'), GeomFromEWKT('SRID=4674;POINT (-40.142683 -2.822373)'))) / (select extract(epoch from '2026-07-20 19:00:19'::timestamp) - extract(epoch from '2026-07-20 19:00: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'), 47632, 'SRID=4674;POINT (-40.142624 -2.822373)', '2026-07-20 19:00:48', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142683 -2.822373)'), GeomFromEWKT('SRID=4674;POINT (-40.142624 -2.822373)'))) / (select extract(epoch from '2026-07-20 19:00:48'::timestamp) - extract(epoch from '2026-07-20 19:00:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142683 -2.822373)'), GeomFromEWKT('SRID=4674;POINT (-40.142624 -2.822373)'))) / (select extract(epoch from '2026-07-20 19:00:48'::timestamp) - extract(epoch from '2026-07-20 19:00: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'), 47632, 'SRID=4674;POINT (-40.142615 -2.822371)', '2026-07-20 19:00:49', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142624 -2.822373)'), GeomFromEWKT('SRID=4674;POINT (-40.142615 -2.822371)'))) / (select extract(epoch from '2026-07-20 19:00:49'::timestamp) - extract(epoch from '2026-07-20 19:00:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142624 -2.822373)'), GeomFromEWKT('SRID=4674;POINT (-40.142615 -2.822371)'))) / (select extract(epoch from '2026-07-20 19:00:49'::timestamp) - extract(epoch from '2026-07-20 19:00: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'), 47632, 'SRID=4674;POINT (-40.14256 -2.822367)', '2026-07-20 19:00:58', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142615 -2.822371)'), GeomFromEWKT('SRID=4674;POINT (-40.14256 -2.822367)'))) / (select extract(epoch from '2026-07-20 19:00:58'::timestamp) - extract(epoch from '2026-07-20 19:00:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142615 -2.822371)'), GeomFromEWKT('SRID=4674;POINT (-40.14256 -2.822367)'))) / (select extract(epoch from '2026-07-20 19:00:58'::timestamp) - extract(epoch from '2026-07-20 19:00: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'), 47632, 'SRID=4674;POINT (-40.142512 -2.822376)', '2026-07-20 19:01:10', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14256 -2.822367)'), GeomFromEWKT('SRID=4674;POINT (-40.142512 -2.822376)'))) / (select extract(epoch from '2026-07-20 19:01:10'::timestamp) - extract(epoch from '2026-07-20 19:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14256 -2.822367)'), GeomFromEWKT('SRID=4674;POINT (-40.142512 -2.822376)'))) / (select extract(epoch from '2026-07-20 19:01:10'::timestamp) - extract(epoch from '2026-07-20 19:00:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.142488 -2.822402)', '2026-07-20 19:01:23', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142512 -2.822376)'), GeomFromEWKT('SRID=4674;POINT (-40.142488 -2.822402)'))) / (select extract(epoch from '2026-07-20 19:01:23'::timestamp) - extract(epoch from '2026-07-20 19:01:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142512 -2.822376)'), GeomFromEWKT('SRID=4674;POINT (-40.142488 -2.822402)'))) / (select extract(epoch from '2026-07-20 19:01:23'::timestamp) - extract(epoch from '2026-07-20 19:01: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'), 47632, 'SRID=4674;POINT (-40.142449 -2.822402)', '2026-07-20 19:01:33', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142488 -2.822402)'), GeomFromEWKT('SRID=4674;POINT (-40.142449 -2.822402)'))) / (select extract(epoch from '2026-07-20 19:01:33'::timestamp) - extract(epoch from '2026-07-20 19:01:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142488 -2.822402)'), GeomFromEWKT('SRID=4674;POINT (-40.142449 -2.822402)'))) / (select extract(epoch from '2026-07-20 19:01:33'::timestamp) - extract(epoch from '2026-07-20 19:01:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.142365 -2.822393)', '2026-07-20 19:01:50', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142449 -2.822402)'), GeomFromEWKT('SRID=4674;POINT (-40.142365 -2.822393)'))) / (select extract(epoch from '2026-07-20 19:01:50'::timestamp) - extract(epoch from '2026-07-20 19:01:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142449 -2.822402)'), GeomFromEWKT('SRID=4674;POINT (-40.142365 -2.822393)'))) / (select extract(epoch from '2026-07-20 19:01:50'::timestamp) - extract(epoch from '2026-07-20 19:01: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'), 47632, 'SRID=4674;POINT (-40.142333 -2.822417)', '2026-07-20 19:02:01', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142365 -2.822393)'), GeomFromEWKT('SRID=4674;POINT (-40.142333 -2.822417)'))) / (select extract(epoch from '2026-07-20 19:02:01'::timestamp) - extract(epoch from '2026-07-20 19:01:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142365 -2.822393)'), GeomFromEWKT('SRID=4674;POINT (-40.142333 -2.822417)'))) / (select extract(epoch from '2026-07-20 19:02:01'::timestamp) - extract(epoch from '2026-07-20 19:01:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.142298 -2.822473)', '2026-07-20 19:02:16', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142333 -2.822417)'), GeomFromEWKT('SRID=4674;POINT (-40.142298 -2.822473)'))) / (select extract(epoch from '2026-07-20 19:02:16'::timestamp) - extract(epoch from '2026-07-20 19:02:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142333 -2.822417)'), GeomFromEWKT('SRID=4674;POINT (-40.142298 -2.822473)'))) / (select extract(epoch from '2026-07-20 19:02:16'::timestamp) - extract(epoch from '2026-07-20 19:02: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'), 47632, 'SRID=4674;POINT (-40.142221 -2.822494)', '2026-07-20 19:02:31', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142298 -2.822473)'), GeomFromEWKT('SRID=4674;POINT (-40.142221 -2.822494)'))) / (select extract(epoch from '2026-07-20 19:02:31'::timestamp) - extract(epoch from '2026-07-20 19:02:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142298 -2.822473)'), GeomFromEWKT('SRID=4674;POINT (-40.142221 -2.822494)'))) / (select extract(epoch from '2026-07-20 19:02:31'::timestamp) - extract(epoch from '2026-07-20 19:02:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.142165 -2.822537)', '2026-07-20 19:02:46', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142221 -2.822494)'), GeomFromEWKT('SRID=4674;POINT (-40.142165 -2.822537)'))) / (select extract(epoch from '2026-07-20 19:02:46'::timestamp) - extract(epoch from '2026-07-20 19:02:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142221 -2.822494)'), GeomFromEWKT('SRID=4674;POINT (-40.142165 -2.822537)'))) / (select extract(epoch from '2026-07-20 19:02:46'::timestamp) - extract(epoch from '2026-07-20 19:02: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'), 47632, 'SRID=4674;POINT (-40.142083 -2.822572)', '2026-07-20 19:02:59', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142165 -2.822537)'), GeomFromEWKT('SRID=4674;POINT (-40.142083 -2.822572)'))) / (select extract(epoch from '2026-07-20 19:02:59'::timestamp) - extract(epoch from '2026-07-20 19:02:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142165 -2.822537)'), GeomFromEWKT('SRID=4674;POINT (-40.142083 -2.822572)'))) / (select extract(epoch from '2026-07-20 19:02:59'::timestamp) - extract(epoch from '2026-07-20 19:02:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.142026 -2.822633)', '2026-07-20 19:03:13', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142083 -2.822572)'), GeomFromEWKT('SRID=4674;POINT (-40.142026 -2.822633)'))) / (select extract(epoch from '2026-07-20 19:03:13'::timestamp) - extract(epoch from '2026-07-20 19:02:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142083 -2.822572)'), GeomFromEWKT('SRID=4674;POINT (-40.142026 -2.822633)'))) / (select extract(epoch from '2026-07-20 19:03:13'::timestamp) - extract(epoch from '2026-07-20 19:02:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.141974 -2.822694)', '2026-07-20 19:03:29', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142026 -2.822633)'), GeomFromEWKT('SRID=4674;POINT (-40.141974 -2.822694)'))) / (select extract(epoch from '2026-07-20 19:03:29'::timestamp) - extract(epoch from '2026-07-20 19:03:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142026 -2.822633)'), GeomFromEWKT('SRID=4674;POINT (-40.141974 -2.822694)'))) / (select extract(epoch from '2026-07-20 19:03:29'::timestamp) - extract(epoch from '2026-07-20 19:03:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.141875 -2.82276)', '2026-07-20 19:03:46', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141974 -2.822694)'), GeomFromEWKT('SRID=4674;POINT (-40.141875 -2.82276)'))) / (select extract(epoch from '2026-07-20 19:03:46'::timestamp) - extract(epoch from '2026-07-20 19:03:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141974 -2.822694)'), GeomFromEWKT('SRID=4674;POINT (-40.141875 -2.82276)'))) / (select extract(epoch from '2026-07-20 19:03:46'::timestamp) - extract(epoch from '2026-07-20 19:03:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.141853 -2.822854)', '2026-07-20 19:03:59', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141875 -2.82276)'), GeomFromEWKT('SRID=4674;POINT (-40.141853 -2.822854)'))) / (select extract(epoch from '2026-07-20 19:03:59'::timestamp) - extract(epoch from '2026-07-20 19:03:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141875 -2.82276)'), GeomFromEWKT('SRID=4674;POINT (-40.141853 -2.822854)'))) / (select extract(epoch from '2026-07-20 19:03:59'::timestamp) - extract(epoch from '2026-07-20 19:03: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'), 47632, 'SRID=4674;POINT (-40.141832 -2.822882)', '2026-07-20 19:04:12', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141853 -2.822854)'), GeomFromEWKT('SRID=4674;POINT (-40.141832 -2.822882)'))) / (select extract(epoch from '2026-07-20 19:04:12'::timestamp) - extract(epoch from '2026-07-20 19:03:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141853 -2.822854)'), GeomFromEWKT('SRID=4674;POINT (-40.141832 -2.822882)'))) / (select extract(epoch from '2026-07-20 19:04:12'::timestamp) - extract(epoch from '2026-07-20 19:03: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'), 47632, 'SRID=4674;POINT (-40.141821 -2.822924)', '2026-07-20 19:04:27', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141832 -2.822882)'), GeomFromEWKT('SRID=4674;POINT (-40.141821 -2.822924)'))) / (select extract(epoch from '2026-07-20 19:04:27'::timestamp) - extract(epoch from '2026-07-20 19:04:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141832 -2.822882)'), GeomFromEWKT('SRID=4674;POINT (-40.141821 -2.822924)'))) / (select extract(epoch from '2026-07-20 19:04:27'::timestamp) - extract(epoch from '2026-07-20 19:04: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'), 47632, 'SRID=4674;POINT (-40.141811 -2.822964)', '2026-07-20 19:04:42', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141821 -2.822924)'), GeomFromEWKT('SRID=4674;POINT (-40.141811 -2.822964)'))) / (select extract(epoch from '2026-07-20 19:04:42'::timestamp) - extract(epoch from '2026-07-20 19:04:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141821 -2.822924)'), GeomFromEWKT('SRID=4674;POINT (-40.141811 -2.822964)'))) / (select extract(epoch from '2026-07-20 19:04:42'::timestamp) - extract(epoch from '2026-07-20 19:04: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'), 47632, 'SRID=4674;POINT (-40.141802 -2.823004)', '2026-07-20 19:04:56', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141811 -2.822964)'), GeomFromEWKT('SRID=4674;POINT (-40.141802 -2.823004)'))) / (select extract(epoch from '2026-07-20 19:04:56'::timestamp) - extract(epoch from '2026-07-20 19:04:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141811 -2.822964)'), GeomFromEWKT('SRID=4674;POINT (-40.141802 -2.823004)'))) / (select extract(epoch from '2026-07-20 19:04:56'::timestamp) - extract(epoch from '2026-07-20 19:04: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'), 47632, 'SRID=4674;POINT (-40.14179 -2.823111)', '2026-07-20 19:05:17', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141802 -2.823004)'), GeomFromEWKT('SRID=4674;POINT (-40.14179 -2.823111)'))) / (select extract(epoch from '2026-07-20 19:05:17'::timestamp) - extract(epoch from '2026-07-20 19:04:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141802 -2.823004)'), GeomFromEWKT('SRID=4674;POINT (-40.14179 -2.823111)'))) / (select extract(epoch from '2026-07-20 19:05:17'::timestamp) - extract(epoch from '2026-07-20 19:04: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'), 47632, 'SRID=4674;POINT (-40.141791 -2.823132)', '2026-07-20 19:05:29', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14179 -2.823111)'), GeomFromEWKT('SRID=4674;POINT (-40.141791 -2.823132)'))) / (select extract(epoch from '2026-07-20 19:05:29'::timestamp) - extract(epoch from '2026-07-20 19:05:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14179 -2.823111)'), GeomFromEWKT('SRID=4674;POINT (-40.141791 -2.823132)'))) / (select extract(epoch from '2026-07-20 19:05:29'::timestamp) - extract(epoch from '2026-07-20 19:05: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'), 47632, 'SRID=4674;POINT (-40.141795 -2.823071)', '2026-07-20 19:05:40', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141791 -2.823132)'), GeomFromEWKT('SRID=4674;POINT (-40.141795 -2.823071)'))) / (select extract(epoch from '2026-07-20 19:05:40'::timestamp) - extract(epoch from '2026-07-20 19:05:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141791 -2.823132)'), GeomFromEWKT('SRID=4674;POINT (-40.141795 -2.823071)'))) / (select extract(epoch from '2026-07-20 19:05:40'::timestamp) - extract(epoch from '2026-07-20 19: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'), 47632, 'SRID=4674;POINT (-40.141822 -2.823017)', '2026-07-20 19:05:53', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141795 -2.823071)'), GeomFromEWKT('SRID=4674;POINT (-40.141822 -2.823017)'))) / (select extract(epoch from '2026-07-20 19:05:53'::timestamp) - extract(epoch from '2026-07-20 19:05:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141795 -2.823071)'), GeomFromEWKT('SRID=4674;POINT (-40.141822 -2.823017)'))) / (select extract(epoch from '2026-07-20 19:05:53'::timestamp) - extract(epoch from '2026-07-20 19:05: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'), 47632, 'SRID=4674;POINT (-40.141819 -2.822949)', '2026-07-20 19:06:26', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141822 -2.823017)'), GeomFromEWKT('SRID=4674;POINT (-40.141819 -2.822949)'))) / (select extract(epoch from '2026-07-20 19:06:26'::timestamp) - extract(epoch from '2026-07-20 19:05:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141822 -2.823017)'), GeomFromEWKT('SRID=4674;POINT (-40.141819 -2.822949)'))) / (select extract(epoch from '2026-07-20 19:06:26'::timestamp) - extract(epoch from '2026-07-20 19:05: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'), 47632, 'SRID=4674;POINT (-40.141807 -2.822945)', '2026-07-20 19:06:38', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141819 -2.822949)'), GeomFromEWKT('SRID=4674;POINT (-40.141807 -2.822945)'))) / (select extract(epoch from '2026-07-20 19:06:38'::timestamp) - extract(epoch from '2026-07-20 19:06:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141819 -2.822949)'), GeomFromEWKT('SRID=4674;POINT (-40.141807 -2.822945)'))) / (select extract(epoch from '2026-07-20 19:06:38'::timestamp) - extract(epoch from '2026-07-20 19:06:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.141805 -2.822936)', '2026-07-20 19:06:40', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141807 -2.822945)'), GeomFromEWKT('SRID=4674;POINT (-40.141805 -2.822936)'))) / (select extract(epoch from '2026-07-20 19:06:40'::timestamp) - extract(epoch from '2026-07-20 19:06:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141807 -2.822945)'), GeomFromEWKT('SRID=4674;POINT (-40.141805 -2.822936)'))) / (select extract(epoch from '2026-07-20 19:06:40'::timestamp) - extract(epoch from '2026-07-20 19:06:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.141802 -2.822916)', '2026-07-20 19:06:47', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141805 -2.822936)'), GeomFromEWKT('SRID=4674;POINT (-40.141802 -2.822916)'))) / (select extract(epoch from '2026-07-20 19:06:47'::timestamp) - extract(epoch from '2026-07-20 19:06:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141805 -2.822936)'), GeomFromEWKT('SRID=4674;POINT (-40.141802 -2.822916)'))) / (select extract(epoch from '2026-07-20 19:06:47'::timestamp) - extract(epoch from '2026-07-20 19:06: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'), 47632, 'SRID=4674;POINT (-40.141773 -2.822973)', '2026-07-20 19:07:02', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141802 -2.822916)'), GeomFromEWKT('SRID=4674;POINT (-40.141773 -2.822973)'))) / (select extract(epoch from '2026-07-20 19:07:02'::timestamp) - extract(epoch from '2026-07-20 19:06:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141802 -2.822916)'), GeomFromEWKT('SRID=4674;POINT (-40.141773 -2.822973)'))) / (select extract(epoch from '2026-07-20 19:07:02'::timestamp) - extract(epoch from '2026-07-20 19:06:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.141676 -2.823142)', '2026-07-20 19:07:19', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141773 -2.822973)'), GeomFromEWKT('SRID=4674;POINT (-40.141676 -2.823142)'))) / (select extract(epoch from '2026-07-20 19:07:19'::timestamp) - extract(epoch from '2026-07-20 19:07:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141773 -2.822973)'), GeomFromEWKT('SRID=4674;POINT (-40.141676 -2.823142)'))) / (select extract(epoch from '2026-07-20 19:07:19'::timestamp) - extract(epoch from '2026-07-20 19:07:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.141587 -2.823294)', '2026-07-20 19:07:31', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141676 -2.823142)'), GeomFromEWKT('SRID=4674;POINT (-40.141587 -2.823294)'))) / (select extract(epoch from '2026-07-20 19:07:31'::timestamp) - extract(epoch from '2026-07-20 19:07:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141676 -2.823142)'), GeomFromEWKT('SRID=4674;POINT (-40.141587 -2.823294)'))) / (select extract(epoch from '2026-07-20 19:07:31'::timestamp) - extract(epoch from '2026-07-20 19:07: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'), 47632, 'SRID=4674;POINT (-40.141524 -2.823382)', '2026-07-20 19:07:39', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141587 -2.823294)'), GeomFromEWKT('SRID=4674;POINT (-40.141524 -2.823382)'))) / (select extract(epoch from '2026-07-20 19:07:39'::timestamp) - extract(epoch from '2026-07-20 19:07:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141587 -2.823294)'), GeomFromEWKT('SRID=4674;POINT (-40.141524 -2.823382)'))) / (select extract(epoch from '2026-07-20 19:07:39'::timestamp) - extract(epoch from '2026-07-20 19:07: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'), 47632, 'SRID=4674;POINT (-40.141432 -2.823491)', '2026-07-20 19:07:49', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141524 -2.823382)'), GeomFromEWKT('SRID=4674;POINT (-40.141432 -2.823491)'))) / (select extract(epoch from '2026-07-20 19:07:49'::timestamp) - extract(epoch from '2026-07-20 19:07:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141524 -2.823382)'), GeomFromEWKT('SRID=4674;POINT (-40.141432 -2.823491)'))) / (select extract(epoch from '2026-07-20 19:07:49'::timestamp) - extract(epoch from '2026-07-20 19:07: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'), 47632, 'SRID=4674;POINT (-40.141366 -2.82358)', '2026-07-20 19:07:56', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141432 -2.823491)'), GeomFromEWKT('SRID=4674;POINT (-40.141366 -2.82358)'))) / (select extract(epoch from '2026-07-20 19:07:56'::timestamp) - extract(epoch from '2026-07-20 19:07:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141432 -2.823491)'), GeomFromEWKT('SRID=4674;POINT (-40.141366 -2.82358)'))) / (select extract(epoch from '2026-07-20 19:07:56'::timestamp) - extract(epoch from '2026-07-20 19:07: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'), 47632, 'SRID=4674;POINT (-40.141281 -2.823685)', '2026-07-20 19:08:05', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141366 -2.82358)'), GeomFromEWKT('SRID=4674;POINT (-40.141281 -2.823685)'))) / (select extract(epoch from '2026-07-20 19:08:05'::timestamp) - extract(epoch from '2026-07-20 19:07:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141366 -2.82358)'), GeomFromEWKT('SRID=4674;POINT (-40.141281 -2.823685)'))) / (select extract(epoch from '2026-07-20 19:08:05'::timestamp) - extract(epoch from '2026-07-20 19:07: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'), 47632, 'SRID=4674;POINT (-40.141196 -2.82378)', '2026-07-20 19:08:14', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141281 -2.823685)'), GeomFromEWKT('SRID=4674;POINT (-40.141196 -2.82378)'))) / (select extract(epoch from '2026-07-20 19:08:14'::timestamp) - extract(epoch from '2026-07-20 19:08:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141281 -2.823685)'), GeomFromEWKT('SRID=4674;POINT (-40.141196 -2.82378)'))) / (select extract(epoch from '2026-07-20 19:08:14'::timestamp) - extract(epoch from '2026-07-20 19:08: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'), 47632, 'SRID=4674;POINT (-40.141128 -2.823866)', '2026-07-20 19:08:22', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141196 -2.82378)'), GeomFromEWKT('SRID=4674;POINT (-40.141128 -2.823866)'))) / (select extract(epoch from '2026-07-20 19:08:22'::timestamp) - extract(epoch from '2026-07-20 19:08:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141196 -2.82378)'), GeomFromEWKT('SRID=4674;POINT (-40.141128 -2.823866)'))) / (select extract(epoch from '2026-07-20 19:08:22'::timestamp) - extract(epoch from '2026-07-20 19:08: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'), 47632, 'SRID=4674;POINT (-40.141044 -2.823953)', '2026-07-20 19:08:30', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141128 -2.823866)'), GeomFromEWKT('SRID=4674;POINT (-40.141044 -2.823953)'))) / (select extract(epoch from '2026-07-20 19:08:30'::timestamp) - extract(epoch from '2026-07-20 19:08:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141128 -2.823866)'), GeomFromEWKT('SRID=4674;POINT (-40.141044 -2.823953)'))) / (select extract(epoch from '2026-07-20 19:08:30'::timestamp) - extract(epoch from '2026-07-20 19:08: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'), 47632, 'SRID=4674;POINT (-40.140962 -2.824057)', '2026-07-20 19:08:38', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141044 -2.823953)'), GeomFromEWKT('SRID=4674;POINT (-40.140962 -2.824057)'))) / (select extract(epoch from '2026-07-20 19:08:38'::timestamp) - extract(epoch from '2026-07-20 19:08:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141044 -2.823953)'), GeomFromEWKT('SRID=4674;POINT (-40.140962 -2.824057)'))) / (select extract(epoch from '2026-07-20 19:08:38'::timestamp) - extract(epoch from '2026-07-20 19:08:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.140866 -2.824167)', '2026-07-20 19:08:48', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140962 -2.824057)'), GeomFromEWKT('SRID=4674;POINT (-40.140866 -2.824167)'))) / (select extract(epoch from '2026-07-20 19:08:48'::timestamp) - extract(epoch from '2026-07-20 19:08:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140962 -2.824057)'), GeomFromEWKT('SRID=4674;POINT (-40.140866 -2.824167)'))) / (select extract(epoch from '2026-07-20 19:08:48'::timestamp) - extract(epoch from '2026-07-20 19:08: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'), 47632, 'SRID=4674;POINT (-40.14081 -2.824253)', '2026-07-20 19:08:55', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140866 -2.824167)'), GeomFromEWKT('SRID=4674;POINT (-40.14081 -2.824253)'))) / (select extract(epoch from '2026-07-20 19:08:55'::timestamp) - extract(epoch from '2026-07-20 19:08:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140866 -2.824167)'), GeomFromEWKT('SRID=4674;POINT (-40.14081 -2.824253)'))) / (select extract(epoch from '2026-07-20 19:08:55'::timestamp) - extract(epoch from '2026-07-20 19:08: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'), 47632, 'SRID=4674;POINT (-40.140745 -2.824364)', '2026-07-20 19:09:03', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14081 -2.824253)'), GeomFromEWKT('SRID=4674;POINT (-40.140745 -2.824364)'))) / (select extract(epoch from '2026-07-20 19:09:03'::timestamp) - extract(epoch from '2026-07-20 19:08:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14081 -2.824253)'), GeomFromEWKT('SRID=4674;POINT (-40.140745 -2.824364)'))) / (select extract(epoch from '2026-07-20 19:09:03'::timestamp) - extract(epoch from '2026-07-20 19:08: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'), 47632, 'SRID=4674;POINT (-40.140688 -2.824462)', '2026-07-20 19:09:11', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140745 -2.824364)'), GeomFromEWKT('SRID=4674;POINT (-40.140688 -2.824462)'))) / (select extract(epoch from '2026-07-20 19:09:11'::timestamp) - extract(epoch from '2026-07-20 19:09:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140745 -2.824364)'), GeomFromEWKT('SRID=4674;POINT (-40.140688 -2.824462)'))) / (select extract(epoch from '2026-07-20 19:09:11'::timestamp) - extract(epoch from '2026-07-20 19:09: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'), 47632, 'SRID=4674;POINT (-40.140608 -2.82455)', '2026-07-20 19:09:19', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140688 -2.824462)'), GeomFromEWKT('SRID=4674;POINT (-40.140608 -2.82455)'))) / (select extract(epoch from '2026-07-20 19:09:19'::timestamp) - extract(epoch from '2026-07-20 19:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140688 -2.824462)'), GeomFromEWKT('SRID=4674;POINT (-40.140608 -2.82455)'))) / (select extract(epoch from '2026-07-20 19:09:19'::timestamp) - extract(epoch from '2026-07-20 19:09: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'), 47632, 'SRID=4674;POINT (-40.140551 -2.824628)', '2026-07-20 19:09:27', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140608 -2.82455)'), GeomFromEWKT('SRID=4674;POINT (-40.140551 -2.824628)'))) / (select extract(epoch from '2026-07-20 19:09:27'::timestamp) - extract(epoch from '2026-07-20 19:09:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140608 -2.82455)'), GeomFromEWKT('SRID=4674;POINT (-40.140551 -2.824628)'))) / (select extract(epoch from '2026-07-20 19:09:27'::timestamp) - extract(epoch from '2026-07-20 19:09: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'), 47632, 'SRID=4674;POINT (-40.140485 -2.824729)', '2026-07-20 19:09:36', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140551 -2.824628)'), GeomFromEWKT('SRID=4674;POINT (-40.140485 -2.824729)'))) / (select extract(epoch from '2026-07-20 19:09:36'::timestamp) - extract(epoch from '2026-07-20 19:09:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140551 -2.824628)'), GeomFromEWKT('SRID=4674;POINT (-40.140485 -2.824729)'))) / (select extract(epoch from '2026-07-20 19:09:36'::timestamp) - extract(epoch from '2026-07-20 19:09: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'), 47632, 'SRID=4674;POINT (-40.14042 -2.824788)', '2026-07-20 19:09:44', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140485 -2.824729)'), GeomFromEWKT('SRID=4674;POINT (-40.14042 -2.824788)'))) / (select extract(epoch from '2026-07-20 19:09:44'::timestamp) - extract(epoch from '2026-07-20 19:09:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140485 -2.824729)'), GeomFromEWKT('SRID=4674;POINT (-40.14042 -2.824788)'))) / (select extract(epoch from '2026-07-20 19:09:44'::timestamp) - extract(epoch from '2026-07-20 19:09: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'), 47632, 'SRID=4674;POINT (-40.14036 -2.824842)', '2026-07-20 19:09:51', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14042 -2.824788)'), GeomFromEWKT('SRID=4674;POINT (-40.14036 -2.824842)'))) / (select extract(epoch from '2026-07-20 19:09:51'::timestamp) - extract(epoch from '2026-07-20 19:09:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14042 -2.824788)'), GeomFromEWKT('SRID=4674;POINT (-40.14036 -2.824842)'))) / (select extract(epoch from '2026-07-20 19:09:51'::timestamp) - extract(epoch from '2026-07-20 19:09: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'), 47632, 'SRID=4674;POINT (-40.14031 -2.824889)', '2026-07-20 19:09:57', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14036 -2.824842)'), GeomFromEWKT('SRID=4674;POINT (-40.14031 -2.824889)'))) / (select extract(epoch from '2026-07-20 19:09:57'::timestamp) - extract(epoch from '2026-07-20 19:09:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14036 -2.824842)'), GeomFromEWKT('SRID=4674;POINT (-40.14031 -2.824889)'))) / (select extract(epoch from '2026-07-20 19:09:57'::timestamp) - extract(epoch from '2026-07-20 19:09: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'), 47632, 'SRID=4674;POINT (-40.140238 -2.824963)', '2026-07-20 19:10:05', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14031 -2.824889)'), GeomFromEWKT('SRID=4674;POINT (-40.140238 -2.824963)'))) / (select extract(epoch from '2026-07-20 19:10:05'::timestamp) - extract(epoch from '2026-07-20 19:09:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14031 -2.824889)'), GeomFromEWKT('SRID=4674;POINT (-40.140238 -2.824963)'))) / (select extract(epoch from '2026-07-20 19:10:05'::timestamp) - extract(epoch from '2026-07-20 19:09: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'), 47632, 'SRID=4674;POINT (-40.140159 -2.825027)', '2026-07-20 19:10:13', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140238 -2.824963)'), GeomFromEWKT('SRID=4674;POINT (-40.140159 -2.825027)'))) / (select extract(epoch from '2026-07-20 19:10:13'::timestamp) - extract(epoch from '2026-07-20 19:10:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140238 -2.824963)'), GeomFromEWKT('SRID=4674;POINT (-40.140159 -2.825027)'))) / (select extract(epoch from '2026-07-20 19:10:13'::timestamp) - extract(epoch from '2026-07-20 19:10: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'), 47632, 'SRID=4674;POINT (-40.140096 -2.825101)', '2026-07-20 19:10:21', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140159 -2.825027)'), GeomFromEWKT('SRID=4674;POINT (-40.140096 -2.825101)'))) / (select extract(epoch from '2026-07-20 19:10:21'::timestamp) - extract(epoch from '2026-07-20 19:10:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140159 -2.825027)'), GeomFromEWKT('SRID=4674;POINT (-40.140096 -2.825101)'))) / (select extract(epoch from '2026-07-20 19:10:21'::timestamp) - extract(epoch from '2026-07-20 19:10: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'), 47632, 'SRID=4674;POINT (-40.140029 -2.82518)', '2026-07-20 19:10:28', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140096 -2.825101)'), GeomFromEWKT('SRID=4674;POINT (-40.140029 -2.82518)'))) / (select extract(epoch from '2026-07-20 19:10:28'::timestamp) - extract(epoch from '2026-07-20 19:10:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140096 -2.825101)'), GeomFromEWKT('SRID=4674;POINT (-40.140029 -2.82518)'))) / (select extract(epoch from '2026-07-20 19:10:28'::timestamp) - extract(epoch from '2026-07-20 19:10: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'), 47632, 'SRID=4674;POINT (-40.139967 -2.825284)', '2026-07-20 19:10:35', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140029 -2.82518)'), GeomFromEWKT('SRID=4674;POINT (-40.139967 -2.825284)'))) / (select extract(epoch from '2026-07-20 19:10:35'::timestamp) - extract(epoch from '2026-07-20 19:10:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140029 -2.82518)'), GeomFromEWKT('SRID=4674;POINT (-40.139967 -2.825284)'))) / (select extract(epoch from '2026-07-20 19:10:35'::timestamp) - extract(epoch from '2026-07-20 19:10: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'), 47632, 'SRID=4674;POINT (-40.13991 -2.825371)', '2026-07-20 19:10:42', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139967 -2.825284)'), GeomFromEWKT('SRID=4674;POINT (-40.13991 -2.825371)'))) / (select extract(epoch from '2026-07-20 19:10:42'::timestamp) - extract(epoch from '2026-07-20 19:10:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139967 -2.825284)'), GeomFromEWKT('SRID=4674;POINT (-40.13991 -2.825371)'))) / (select extract(epoch from '2026-07-20 19:10:42'::timestamp) - extract(epoch from '2026-07-20 19:10: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'), 47632, 'SRID=4674;POINT (-40.13986 -2.82545)', '2026-07-20 19:10:49', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13991 -2.825371)'), GeomFromEWKT('SRID=4674;POINT (-40.13986 -2.82545)'))) / (select extract(epoch from '2026-07-20 19:10:49'::timestamp) - extract(epoch from '2026-07-20 19:10:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13991 -2.825371)'), GeomFromEWKT('SRID=4674;POINT (-40.13986 -2.82545)'))) / (select extract(epoch from '2026-07-20 19:10:49'::timestamp) - extract(epoch from '2026-07-20 19:10: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'), 47632, 'SRID=4674;POINT (-40.139795 -2.82556)', '2026-07-20 19:10:57', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13986 -2.82545)'), GeomFromEWKT('SRID=4674;POINT (-40.139795 -2.82556)'))) / (select extract(epoch from '2026-07-20 19:10:57'::timestamp) - extract(epoch from '2026-07-20 19:10:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13986 -2.82545)'), GeomFromEWKT('SRID=4674;POINT (-40.139795 -2.82556)'))) / (select extract(epoch from '2026-07-20 19:10:57'::timestamp) - extract(epoch from '2026-07-20 19:10:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47632, 'SRID=4674;POINT (-40.139753 -2.825633)', '2026-07-20 19:11:03', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139795 -2.82556)'), GeomFromEWKT('SRID=4674;POINT (-40.139753 -2.825633)'))) / (select extract(epoch from '2026-07-20 19:11:03'::timestamp) - extract(epoch from '2026-07-20 19:10:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139795 -2.82556)'), GeomFromEWKT('SRID=4674;POINT (-40.139753 -2.825633)'))) / (select extract(epoch from '2026-07-20 19:11:03'::timestamp) - extract(epoch from '2026-07-20 19:10: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'), 47632, 'SRID=4674;POINT (-40.139719 -2.825761)', '2026-07-20 19:11:11', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139753 -2.825633)'), GeomFromEWKT('SRID=4674;POINT (-40.139719 -2.825761)'))) / (select extract(epoch from '2026-07-20 19:11:11'::timestamp) - extract(epoch from '2026-07-20 19:11:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139753 -2.825633)'), GeomFromEWKT('SRID=4674;POINT (-40.139719 -2.825761)'))) / (select extract(epoch from '2026-07-20 19:11:11'::timestamp) - extract(epoch from '2026-07-20 19: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'), 47632, 'SRID=4674;POINT (-40.139676 -2.825897)', '2026-07-20 19:11:20', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139719 -2.825761)'), GeomFromEWKT('SRID=4674;POINT (-40.139676 -2.825897)'))) / (select extract(epoch from '2026-07-20 19:11:20'::timestamp) - extract(epoch from '2026-07-20 19:11:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139719 -2.825761)'), GeomFromEWKT('SRID=4674;POINT (-40.139676 -2.825897)'))) / (select extract(epoch from '2026-07-20 19:11:20'::timestamp) - extract(epoch from '2026-07-20 19:11: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'), 47632, 'SRID=4674;POINT (-40.139619 -2.825979)', '2026-07-20 19:11:27', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139676 -2.825897)'), GeomFromEWKT('SRID=4674;POINT (-40.139619 -2.825979)'))) / (select extract(epoch from '2026-07-20 19:11:27'::timestamp) - extract(epoch from '2026-07-20 19:11:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139676 -2.825897)'), GeomFromEWKT('SRID=4674;POINT (-40.139619 -2.825979)'))) / (select extract(epoch from '2026-07-20 19:11:27'::timestamp) - extract(epoch from '2026-07-20 19:11: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'), 47632, 'SRID=4674;POINT (-40.139545 -2.826051)', '2026-07-20 19:11:35', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139619 -2.825979)'), GeomFromEWKT('SRID=4674;POINT (-40.139545 -2.826051)'))) / (select extract(epoch from '2026-07-20 19:11:35'::timestamp) - extract(epoch from '2026-07-20 19:11:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139619 -2.825979)'), GeomFromEWKT('SRID=4674;POINT (-40.139545 -2.826051)'))) / (select extract(epoch from '2026-07-20 19:11:35'::timestamp) - extract(epoch from '2026-07-20 19:11: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'), 47632, 'SRID=4674;POINT (-40.139472 -2.826111)', '2026-07-20 19:11:42', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139545 -2.826051)'), GeomFromEWKT('SRID=4674;POINT (-40.139472 -2.826111)'))) / (select extract(epoch from '2026-07-20 19:11:42'::timestamp) - extract(epoch from '2026-07-20 19:11:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139545 -2.826051)'), GeomFromEWKT('SRID=4674;POINT (-40.139472 -2.826111)'))) / (select extract(epoch from '2026-07-20 19:11:42'::timestamp) - extract(epoch from '2026-07-20 19:11:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
