BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.042329 -2.823865)', '2026-06-12 06:56:15', 0, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.042277 -2.823711)', '2026-06-12 06:56:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042329 -2.823865)'), GeomFromEWKT('SRID=4674;POINT (-40.042277 -2.823711)'))) / (select extract(epoch from '2026-06-12 06:56:23'::timestamp) - extract(epoch from '2026-06-12 06:56:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042329 -2.823865)'), GeomFromEWKT('SRID=4674;POINT (-40.042277 -2.823711)'))) / (select extract(epoch from '2026-06-12 06:56:23'::timestamp) - extract(epoch from '2026-06-12 06:56: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'), 46702, 'SRID=4674;POINT (-40.042211 -2.823552)', '2026-06-12 06:56:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042277 -2.823711)'), GeomFromEWKT('SRID=4674;POINT (-40.042211 -2.823552)'))) / (select extract(epoch from '2026-06-12 06:56:30'::timestamp) - extract(epoch from '2026-06-12 06:56:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042277 -2.823711)'), GeomFromEWKT('SRID=4674;POINT (-40.042211 -2.823552)'))) / (select extract(epoch from '2026-06-12 06:56:30'::timestamp) - extract(epoch from '2026-06-12 06:56: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'), 46702, 'SRID=4674;POINT (-40.042164 -2.823062)', '2026-06-12 06:56:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042211 -2.823552)'), GeomFromEWKT('SRID=4674;POINT (-40.042164 -2.823062)'))) / (select extract(epoch from '2026-06-12 06:56:48'::timestamp) - extract(epoch from '2026-06-12 06:56:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042211 -2.823552)'), GeomFromEWKT('SRID=4674;POINT (-40.042164 -2.823062)'))) / (select extract(epoch from '2026-06-12 06:56:48'::timestamp) - extract(epoch from '2026-06-12 06:56: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'), 46702, 'SRID=4674;POINT (-40.042148 -2.823034)', '2026-06-12 06:56:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042164 -2.823062)'), GeomFromEWKT('SRID=4674;POINT (-40.042148 -2.823034)'))) / (select extract(epoch from '2026-06-12 06:56:49'::timestamp) - extract(epoch from '2026-06-12 06:56:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042164 -2.823062)'), GeomFromEWKT('SRID=4674;POINT (-40.042148 -2.823034)'))) / (select extract(epoch from '2026-06-12 06:56:49'::timestamp) - extract(epoch from '2026-06-12 06:56: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'), 46702, 'SRID=4674;POINT (-40.042078 -2.822819)', '2026-06-12 06:56:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042148 -2.823034)'), GeomFromEWKT('SRID=4674;POINT (-40.042078 -2.822819)'))) / (select extract(epoch from '2026-06-12 06:56:58'::timestamp) - extract(epoch from '2026-06-12 06:56:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042148 -2.823034)'), GeomFromEWKT('SRID=4674;POINT (-40.042078 -2.822819)'))) / (select extract(epoch from '2026-06-12 06:56:58'::timestamp) - extract(epoch from '2026-06-12 06:56: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'), 46702, 'SRID=4674;POINT (-40.042055 -2.822469)', '2026-06-12 06:57:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042078 -2.822819)'), GeomFromEWKT('SRID=4674;POINT (-40.042055 -2.822469)'))) / (select extract(epoch from '2026-06-12 06:57:13'::timestamp) - extract(epoch from '2026-06-12 06:56:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042078 -2.822819)'), GeomFromEWKT('SRID=4674;POINT (-40.042055 -2.822469)'))) / (select extract(epoch from '2026-06-12 06:57:13'::timestamp) - extract(epoch from '2026-06-12 06:56:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.042017 -2.822327)', '2026-06-12 06:57:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042055 -2.822469)'), GeomFromEWKT('SRID=4674;POINT (-40.042017 -2.822327)'))) / (select extract(epoch from '2026-06-12 06:57:19'::timestamp) - extract(epoch from '2026-06-12 06:57:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042055 -2.822469)'), GeomFromEWKT('SRID=4674;POINT (-40.042017 -2.822327)'))) / (select extract(epoch from '2026-06-12 06:57:19'::timestamp) - extract(epoch from '2026-06-12 06:57: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'), 46702, 'SRID=4674;POINT (-40.041954 -2.822118)', '2026-06-12 06:57:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042017 -2.822327)'), GeomFromEWKT('SRID=4674;POINT (-40.041954 -2.822118)'))) / (select extract(epoch from '2026-06-12 06:57:28'::timestamp) - extract(epoch from '2026-06-12 06:57:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042017 -2.822327)'), GeomFromEWKT('SRID=4674;POINT (-40.041954 -2.822118)'))) / (select extract(epoch from '2026-06-12 06:57:28'::timestamp) - extract(epoch from '2026-06-12 06:57: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'), 46702, 'SRID=4674;POINT (-40.041917 -2.821974)', '2026-06-12 06:57:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041954 -2.822118)'), GeomFromEWKT('SRID=4674;POINT (-40.041917 -2.821974)'))) / (select extract(epoch from '2026-06-12 06:57:34'::timestamp) - extract(epoch from '2026-06-12 06:57:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041954 -2.822118)'), GeomFromEWKT('SRID=4674;POINT (-40.041917 -2.821974)'))) / (select extract(epoch from '2026-06-12 06:57:34'::timestamp) - extract(epoch from '2026-06-12 06: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'), 46702, 'SRID=4674;POINT (-40.041887 -2.821854)', '2026-06-12 06:57:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041917 -2.821974)'), GeomFromEWKT('SRID=4674;POINT (-40.041887 -2.821854)'))) / (select extract(epoch from '2026-06-12 06:57:39'::timestamp) - extract(epoch from '2026-06-12 06:57:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041917 -2.821974)'), GeomFromEWKT('SRID=4674;POINT (-40.041887 -2.821854)'))) / (select extract(epoch from '2026-06-12 06:57:39'::timestamp) - extract(epoch from '2026-06-12 06:57:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.041832 -2.821642)', '2026-06-12 06:57:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041887 -2.821854)'), GeomFromEWKT('SRID=4674;POINT (-40.041832 -2.821642)'))) / (select extract(epoch from '2026-06-12 06:57:48'::timestamp) - extract(epoch from '2026-06-12 06:57:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041887 -2.821854)'), GeomFromEWKT('SRID=4674;POINT (-40.041832 -2.821642)'))) / (select extract(epoch from '2026-06-12 06:57:48'::timestamp) - extract(epoch from '2026-06-12 06:57:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.041783 -2.821484)', '2026-06-12 06:57:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041832 -2.821642)'), GeomFromEWKT('SRID=4674;POINT (-40.041783 -2.821484)'))) / (select extract(epoch from '2026-06-12 06:57:55'::timestamp) - extract(epoch from '2026-06-12 06:57:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041832 -2.821642)'), GeomFromEWKT('SRID=4674;POINT (-40.041783 -2.821484)'))) / (select extract(epoch from '2026-06-12 06:57:55'::timestamp) - extract(epoch from '2026-06-12 06:57: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'), 46702, 'SRID=4674;POINT (-40.041696 -2.821261)', '2026-06-12 06:58:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041783 -2.821484)'), GeomFromEWKT('SRID=4674;POINT (-40.041696 -2.821261)'))) / (select extract(epoch from '2026-06-12 06:58:05'::timestamp) - extract(epoch from '2026-06-12 06:57:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041783 -2.821484)'), GeomFromEWKT('SRID=4674;POINT (-40.041696 -2.821261)'))) / (select extract(epoch from '2026-06-12 06:58:05'::timestamp) - extract(epoch from '2026-06-12 06:57: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'), 46702, 'SRID=4674;POINT (-40.04149 -2.820896)', '2026-06-12 06:58:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041696 -2.821261)'), GeomFromEWKT('SRID=4674;POINT (-40.04149 -2.820896)'))) / (select extract(epoch from '2026-06-12 06:58:23'::timestamp) - extract(epoch from '2026-06-12 06:58:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041696 -2.821261)'), GeomFromEWKT('SRID=4674;POINT (-40.04149 -2.820896)'))) / (select extract(epoch from '2026-06-12 06:58:23'::timestamp) - extract(epoch from '2026-06-12 06:58:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.041329 -2.820643)', '2026-06-12 06:58:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04149 -2.820896)'), GeomFromEWKT('SRID=4674;POINT (-40.041329 -2.820643)'))) / (select extract(epoch from '2026-06-12 06:58:36'::timestamp) - extract(epoch from '2026-06-12 06:58:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04149 -2.820896)'), GeomFromEWKT('SRID=4674;POINT (-40.041329 -2.820643)'))) / (select extract(epoch from '2026-06-12 06:58:36'::timestamp) - extract(epoch from '2026-06-12 06:58: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'), 46702, 'SRID=4674;POINT (-40.041194 -2.820476)', '2026-06-12 06:58:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041329 -2.820643)'), GeomFromEWKT('SRID=4674;POINT (-40.041194 -2.820476)'))) / (select extract(epoch from '2026-06-12 06:58:46'::timestamp) - extract(epoch from '2026-06-12 06:58:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041329 -2.820643)'), GeomFromEWKT('SRID=4674;POINT (-40.041194 -2.820476)'))) / (select extract(epoch from '2026-06-12 06:58:46'::timestamp) - extract(epoch from '2026-06-12 06:58: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'), 46702, 'SRID=4674;POINT (-40.040994 -2.820215)', '2026-06-12 06:59:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041194 -2.820476)'), GeomFromEWKT('SRID=4674;POINT (-40.040994 -2.820215)'))) / (select extract(epoch from '2026-06-12 06:59:01'::timestamp) - extract(epoch from '2026-06-12 06:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041194 -2.820476)'), GeomFromEWKT('SRID=4674;POINT (-40.040994 -2.820215)'))) / (select extract(epoch from '2026-06-12 06:59:01'::timestamp) - extract(epoch from '2026-06-12 06:58: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'), 46702, 'SRID=4674;POINT (-40.04083 -2.819949)', '2026-06-12 06:59:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040994 -2.820215)'), GeomFromEWKT('SRID=4674;POINT (-40.04083 -2.819949)'))) / (select extract(epoch from '2026-06-12 06:59:16'::timestamp) - extract(epoch from '2026-06-12 06:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040994 -2.820215)'), GeomFromEWKT('SRID=4674;POINT (-40.04083 -2.819949)'))) / (select extract(epoch from '2026-06-12 06:59:16'::timestamp) - extract(epoch from '2026-06-12 06:59: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'), 46702, 'SRID=4674;POINT (-40.040698 -2.819734)', '2026-06-12 06:59:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04083 -2.819949)'), GeomFromEWKT('SRID=4674;POINT (-40.040698 -2.819734)'))) / (select extract(epoch from '2026-06-12 06:59:28'::timestamp) - extract(epoch from '2026-06-12 06:59:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04083 -2.819949)'), GeomFromEWKT('SRID=4674;POINT (-40.040698 -2.819734)'))) / (select extract(epoch from '2026-06-12 06:59:28'::timestamp) - extract(epoch from '2026-06-12 06:59: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'), 46702, 'SRID=4674;POINT (-40.040486 -2.81945)', '2026-06-12 06:59:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040698 -2.819734)'), GeomFromEWKT('SRID=4674;POINT (-40.040486 -2.81945)'))) / (select extract(epoch from '2026-06-12 06:59:45'::timestamp) - extract(epoch from '2026-06-12 06:59:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040698 -2.819734)'), GeomFromEWKT('SRID=4674;POINT (-40.040486 -2.81945)'))) / (select extract(epoch from '2026-06-12 06:59:45'::timestamp) - extract(epoch from '2026-06-12 06:59: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'), 46702, 'SRID=4674;POINT (-40.040318 -2.81925)', '2026-06-12 06:59:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040486 -2.81945)'), GeomFromEWKT('SRID=4674;POINT (-40.040318 -2.81925)'))) / (select extract(epoch from '2026-06-12 06:59:58'::timestamp) - extract(epoch from '2026-06-12 06:59:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040486 -2.81945)'), GeomFromEWKT('SRID=4674;POINT (-40.040318 -2.81925)'))) / (select extract(epoch from '2026-06-12 06:59:58'::timestamp) - extract(epoch from '2026-06-12 06: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'), 46702, 'SRID=4674;POINT (-40.040139 -2.819018)', '2026-06-12 07:00:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040318 -2.81925)'), GeomFromEWKT('SRID=4674;POINT (-40.040139 -2.819018)'))) / (select extract(epoch from '2026-06-12 07:00:12'::timestamp) - extract(epoch from '2026-06-12 06:59:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040318 -2.81925)'), GeomFromEWKT('SRID=4674;POINT (-40.040139 -2.819018)'))) / (select extract(epoch from '2026-06-12 07:00:12'::timestamp) - extract(epoch from '2026-06-12 06:59: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'), 46702, 'SRID=4674;POINT (-40.039972 -2.818899)', '2026-06-12 07:00:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040139 -2.819018)'), GeomFromEWKT('SRID=4674;POINT (-40.039972 -2.818899)'))) / (select extract(epoch from '2026-06-12 07:00:22'::timestamp) - extract(epoch from '2026-06-12 07:00:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040139 -2.819018)'), GeomFromEWKT('SRID=4674;POINT (-40.039972 -2.818899)'))) / (select extract(epoch from '2026-06-12 07:00:22'::timestamp) - extract(epoch from '2026-06-12 07:00: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'), 46702, 'SRID=4674;POINT (-40.039826 -2.818766)', '2026-06-12 07:00:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039972 -2.818899)'), GeomFromEWKT('SRID=4674;POINT (-40.039826 -2.818766)'))) / (select extract(epoch from '2026-06-12 07:00:32'::timestamp) - extract(epoch from '2026-06-12 07:00:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039972 -2.818899)'), GeomFromEWKT('SRID=4674;POINT (-40.039826 -2.818766)'))) / (select extract(epoch from '2026-06-12 07:00:32'::timestamp) - extract(epoch from '2026-06-12 07:00: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'), 46702, 'SRID=4674;POINT (-40.039716 -2.818569)', '2026-06-12 07:00:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039826 -2.818766)'), GeomFromEWKT('SRID=4674;POINT (-40.039716 -2.818569)'))) / (select extract(epoch from '2026-06-12 07:00:43'::timestamp) - extract(epoch from '2026-06-12 07:00:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039826 -2.818766)'), GeomFromEWKT('SRID=4674;POINT (-40.039716 -2.818569)'))) / (select extract(epoch from '2026-06-12 07:00:43'::timestamp) - extract(epoch from '2026-06-12 07:00: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'), 46702, 'SRID=4674;POINT (-40.039579 -2.818354)', '2026-06-12 07:00:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039716 -2.818569)'), GeomFromEWKT('SRID=4674;POINT (-40.039579 -2.818354)'))) / (select extract(epoch from '2026-06-12 07:00:55'::timestamp) - extract(epoch from '2026-06-12 07:00:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039716 -2.818569)'), GeomFromEWKT('SRID=4674;POINT (-40.039579 -2.818354)'))) / (select extract(epoch from '2026-06-12 07:00:55'::timestamp) - extract(epoch from '2026-06-12 07:00: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'), 46702, 'SRID=4674;POINT (-40.039406 -2.818104)', '2026-06-12 07:01:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039579 -2.818354)'), GeomFromEWKT('SRID=4674;POINT (-40.039406 -2.818104)'))) / (select extract(epoch from '2026-06-12 07:01:09'::timestamp) - extract(epoch from '2026-06-12 07:00:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039579 -2.818354)'), GeomFromEWKT('SRID=4674;POINT (-40.039406 -2.818104)'))) / (select extract(epoch from '2026-06-12 07:01:09'::timestamp) - extract(epoch from '2026-06-12 07:00: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'), 46702, 'SRID=4674;POINT (-40.03922 -2.817889)', '2026-06-12 07:01:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039406 -2.818104)'), GeomFromEWKT('SRID=4674;POINT (-40.03922 -2.817889)'))) / (select extract(epoch from '2026-06-12 07:01:22'::timestamp) - extract(epoch from '2026-06-12 07:01:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039406 -2.818104)'), GeomFromEWKT('SRID=4674;POINT (-40.03922 -2.817889)'))) / (select extract(epoch from '2026-06-12 07:01:22'::timestamp) - extract(epoch from '2026-06-12 07:01: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'), 46702, 'SRID=4674;POINT (-40.038987 -2.817623)', '2026-06-12 07:01:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03922 -2.817889)'), GeomFromEWKT('SRID=4674;POINT (-40.038987 -2.817623)'))) / (select extract(epoch from '2026-06-12 07:01:39'::timestamp) - extract(epoch from '2026-06-12 07:01:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03922 -2.817889)'), GeomFromEWKT('SRID=4674;POINT (-40.038987 -2.817623)'))) / (select extract(epoch from '2026-06-12 07:01:39'::timestamp) - extract(epoch from '2026-06-12 07:01: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'), 46702, 'SRID=4674;POINT (-40.038791 -2.817426)', '2026-06-12 07:01:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038987 -2.817623)'), GeomFromEWKT('SRID=4674;POINT (-40.038791 -2.817426)'))) / (select extract(epoch from '2026-06-12 07:01:52'::timestamp) - extract(epoch from '2026-06-12 07:01:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038987 -2.817623)'), GeomFromEWKT('SRID=4674;POINT (-40.038791 -2.817426)'))) / (select extract(epoch from '2026-06-12 07:01:52'::timestamp) - extract(epoch from '2026-06-12 07:01: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'), 46702, 'SRID=4674;POINT (-40.038544 -2.817216)', '2026-06-12 07:02:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038791 -2.817426)'), GeomFromEWKT('SRID=4674;POINT (-40.038544 -2.817216)'))) / (select extract(epoch from '2026-06-12 07:02:07'::timestamp) - extract(epoch from '2026-06-12 07:01:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038791 -2.817426)'), GeomFromEWKT('SRID=4674;POINT (-40.038544 -2.817216)'))) / (select extract(epoch from '2026-06-12 07:02:07'::timestamp) - extract(epoch from '2026-06-12 07:01: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'), 46702, 'SRID=4674;POINT (-40.038359 -2.817034)', '2026-06-12 07:02:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038544 -2.817216)'), GeomFromEWKT('SRID=4674;POINT (-40.038359 -2.817034)'))) / (select extract(epoch from '2026-06-12 07:02:19'::timestamp) - extract(epoch from '2026-06-12 07:02:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038544 -2.817216)'), GeomFromEWKT('SRID=4674;POINT (-40.038359 -2.817034)'))) / (select extract(epoch from '2026-06-12 07:02:19'::timestamp) - extract(epoch from '2026-06-12 07:02: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'), 46702, 'SRID=4674;POINT (-40.038177 -2.816825)', '2026-06-12 07:02:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038359 -2.817034)'), GeomFromEWKT('SRID=4674;POINT (-40.038177 -2.816825)'))) / (select extract(epoch from '2026-06-12 07:02:32'::timestamp) - extract(epoch from '2026-06-12 07:02:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038359 -2.817034)'), GeomFromEWKT('SRID=4674;POINT (-40.038177 -2.816825)'))) / (select extract(epoch from '2026-06-12 07:02:32'::timestamp) - extract(epoch from '2026-06-12 07:02: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'), 46702, 'SRID=4674;POINT (-40.037987 -2.816638)', '2026-06-12 07:02:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038177 -2.816825)'), GeomFromEWKT('SRID=4674;POINT (-40.037987 -2.816638)'))) / (select extract(epoch from '2026-06-12 07:02:45'::timestamp) - extract(epoch from '2026-06-12 07:02:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038177 -2.816825)'), GeomFromEWKT('SRID=4674;POINT (-40.037987 -2.816638)'))) / (select extract(epoch from '2026-06-12 07:02:45'::timestamp) - extract(epoch from '2026-06-12 07:02: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'), 46702, 'SRID=4674;POINT (-40.037849 -2.816439)', '2026-06-12 07:02:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037987 -2.816638)'), GeomFromEWKT('SRID=4674;POINT (-40.037849 -2.816439)'))) / (select extract(epoch from '2026-06-12 07:02:57'::timestamp) - extract(epoch from '2026-06-12 07:02:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037987 -2.816638)'), GeomFromEWKT('SRID=4674;POINT (-40.037849 -2.816439)'))) / (select extract(epoch from '2026-06-12 07:02:57'::timestamp) - extract(epoch from '2026-06-12 07:02: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'), 46702, 'SRID=4674;POINT (-40.037716 -2.816202)', '2026-06-12 07:03:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037849 -2.816439)'), GeomFromEWKT('SRID=4674;POINT (-40.037716 -2.816202)'))) / (select extract(epoch from '2026-06-12 07:03:10'::timestamp) - extract(epoch from '2026-06-12 07:02:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037849 -2.816439)'), GeomFromEWKT('SRID=4674;POINT (-40.037716 -2.816202)'))) / (select extract(epoch from '2026-06-12 07:03:10'::timestamp) - extract(epoch from '2026-06-12 07:02: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'), 46702, 'SRID=4674;POINT (-40.037624 -2.815984)', '2026-06-12 07:03:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037716 -2.816202)'), GeomFromEWKT('SRID=4674;POINT (-40.037624 -2.815984)'))) / (select extract(epoch from '2026-06-12 07:03:22'::timestamp) - extract(epoch from '2026-06-12 07:03:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037716 -2.816202)'), GeomFromEWKT('SRID=4674;POINT (-40.037624 -2.815984)'))) / (select extract(epoch from '2026-06-12 07:03:22'::timestamp) - extract(epoch from '2026-06-12 07:03: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'), 46702, 'SRID=4674;POINT (-40.037497 -2.815747)', '2026-06-12 07:03:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037624 -2.815984)'), GeomFromEWKT('SRID=4674;POINT (-40.037497 -2.815747)'))) / (select extract(epoch from '2026-06-12 07:03:35'::timestamp) - extract(epoch from '2026-06-12 07:03:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037624 -2.815984)'), GeomFromEWKT('SRID=4674;POINT (-40.037497 -2.815747)'))) / (select extract(epoch from '2026-06-12 07:03:35'::timestamp) - extract(epoch from '2026-06-12 07:03: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'), 46702, 'SRID=4674;POINT (-40.037359 -2.81556)', '2026-06-12 07:03:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037497 -2.815747)'), GeomFromEWKT('SRID=4674;POINT (-40.037359 -2.81556)'))) / (select extract(epoch from '2026-06-12 07:03:46'::timestamp) - extract(epoch from '2026-06-12 07:03:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037497 -2.815747)'), GeomFromEWKT('SRID=4674;POINT (-40.037359 -2.81556)'))) / (select extract(epoch from '2026-06-12 07:03:46'::timestamp) - extract(epoch from '2026-06-12 07:03:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.037174 -2.815274)', '2026-06-12 07:04:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037359 -2.81556)'), GeomFromEWKT('SRID=4674;POINT (-40.037174 -2.815274)'))) / (select extract(epoch from '2026-06-12 07:04:02'::timestamp) - extract(epoch from '2026-06-12 07:03:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037359 -2.81556)'), GeomFromEWKT('SRID=4674;POINT (-40.037174 -2.815274)'))) / (select extract(epoch from '2026-06-12 07:04:02'::timestamp) - extract(epoch from '2026-06-12 07: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'), 46702, 'SRID=4674;POINT (-40.037044 -2.815059)', '2026-06-12 07:04:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037174 -2.815274)'), GeomFromEWKT('SRID=4674;POINT (-40.037044 -2.815059)'))) / (select extract(epoch from '2026-06-12 07:04:14'::timestamp) - extract(epoch from '2026-06-12 07:04:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037174 -2.815274)'), GeomFromEWKT('SRID=4674;POINT (-40.037044 -2.815059)'))) / (select extract(epoch from '2026-06-12 07:04:14'::timestamp) - extract(epoch from '2026-06-12 07:04: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'), 46702, 'SRID=4674;POINT (-40.036927 -2.814848)', '2026-06-12 07:04:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037044 -2.815059)'), GeomFromEWKT('SRID=4674;POINT (-40.036927 -2.814848)'))) / (select extract(epoch from '2026-06-12 07:04:26'::timestamp) - extract(epoch from '2026-06-12 07:04:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037044 -2.815059)'), GeomFromEWKT('SRID=4674;POINT (-40.036927 -2.814848)'))) / (select extract(epoch from '2026-06-12 07:04:26'::timestamp) - extract(epoch from '2026-06-12 07:04: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'), 46702, 'SRID=4674;POINT (-40.036808 -2.814619)', '2026-06-12 07:04:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036927 -2.814848)'), GeomFromEWKT('SRID=4674;POINT (-40.036808 -2.814619)'))) / (select extract(epoch from '2026-06-12 07:04:39'::timestamp) - extract(epoch from '2026-06-12 07:04:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036927 -2.814848)'), GeomFromEWKT('SRID=4674;POINT (-40.036808 -2.814619)'))) / (select extract(epoch from '2026-06-12 07:04:39'::timestamp) - extract(epoch from '2026-06-12 07:04:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.036732 -2.814497)', '2026-06-12 07:04:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036808 -2.814619)'), GeomFromEWKT('SRID=4674;POINT (-40.036732 -2.814497)'))) / (select extract(epoch from '2026-06-12 07:04:46'::timestamp) - extract(epoch from '2026-06-12 07:04:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036808 -2.814619)'), GeomFromEWKT('SRID=4674;POINT (-40.036732 -2.814497)'))) / (select extract(epoch from '2026-06-12 07:04:46'::timestamp) - extract(epoch from '2026-06-12 07:04:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.036584 -2.814303)', '2026-06-12 07:04:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036732 -2.814497)'), GeomFromEWKT('SRID=4674;POINT (-40.036584 -2.814303)'))) / (select extract(epoch from '2026-06-12 07:04:58'::timestamp) - extract(epoch from '2026-06-12 07:04:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036732 -2.814497)'), GeomFromEWKT('SRID=4674;POINT (-40.036584 -2.814303)'))) / (select extract(epoch from '2026-06-12 07:04:58'::timestamp) - extract(epoch from '2026-06-12 07:04:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.036428 -2.81409)', '2026-06-12 07:05:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036584 -2.814303)'), GeomFromEWKT('SRID=4674;POINT (-40.036428 -2.81409)'))) / (select extract(epoch from '2026-06-12 07:05:11'::timestamp) - extract(epoch from '2026-06-12 07:04:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036584 -2.814303)'), GeomFromEWKT('SRID=4674;POINT (-40.036428 -2.81409)'))) / (select extract(epoch from '2026-06-12 07:05:11'::timestamp) - extract(epoch from '2026-06-12 07:04:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.036274 -2.813828)', '2026-06-12 07:05:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036428 -2.81409)'), GeomFromEWKT('SRID=4674;POINT (-40.036274 -2.813828)'))) / (select extract(epoch from '2026-06-12 07:05:26'::timestamp) - extract(epoch from '2026-06-12 07:05:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036428 -2.81409)'), GeomFromEWKT('SRID=4674;POINT (-40.036274 -2.813828)'))) / (select extract(epoch from '2026-06-12 07:05:26'::timestamp) - extract(epoch from '2026-06-12 07:05: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'), 46702, 'SRID=4674;POINT (-40.036139 -2.813568)', '2026-06-12 07:05:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036274 -2.813828)'), GeomFromEWKT('SRID=4674;POINT (-40.036139 -2.813568)'))) / (select extract(epoch from '2026-06-12 07:05:41'::timestamp) - extract(epoch from '2026-06-12 07:05:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036274 -2.813828)'), GeomFromEWKT('SRID=4674;POINT (-40.036139 -2.813568)'))) / (select extract(epoch from '2026-06-12 07:05:41'::timestamp) - extract(epoch from '2026-06-12 07:05: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'), 46702, 'SRID=4674;POINT (-40.036018 -2.813381)', '2026-06-12 07:05:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036139 -2.813568)'), GeomFromEWKT('SRID=4674;POINT (-40.036018 -2.813381)'))) / (select extract(epoch from '2026-06-12 07:05:52'::timestamp) - extract(epoch from '2026-06-12 07:05:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036139 -2.813568)'), GeomFromEWKT('SRID=4674;POINT (-40.036018 -2.813381)'))) / (select extract(epoch from '2026-06-12 07:05:52'::timestamp) - extract(epoch from '2026-06-12 07:05: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'), 46702, 'SRID=4674;POINT (-40.03579 -2.813124)', '2026-06-12 07:06:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036018 -2.813381)'), GeomFromEWKT('SRID=4674;POINT (-40.03579 -2.813124)'))) / (select extract(epoch from '2026-06-12 07:06:09'::timestamp) - extract(epoch from '2026-06-12 07:05:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036018 -2.813381)'), GeomFromEWKT('SRID=4674;POINT (-40.03579 -2.813124)'))) / (select extract(epoch from '2026-06-12 07:06:09'::timestamp) - extract(epoch from '2026-06-12 07:05: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'), 46702, 'SRID=4674;POINT (-40.035642 -2.812884)', '2026-06-12 07:06:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03579 -2.813124)'), GeomFromEWKT('SRID=4674;POINT (-40.035642 -2.812884)'))) / (select extract(epoch from '2026-06-12 07:06:23'::timestamp) - extract(epoch from '2026-06-12 07:06:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03579 -2.813124)'), GeomFromEWKT('SRID=4674;POINT (-40.035642 -2.812884)'))) / (select extract(epoch from '2026-06-12 07:06:23'::timestamp) - extract(epoch from '2026-06-12 07:06: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'), 46702, 'SRID=4674;POINT (-40.035508 -2.81269)', '2026-06-12 07:06:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035642 -2.812884)'), GeomFromEWKT('SRID=4674;POINT (-40.035508 -2.81269)'))) / (select extract(epoch from '2026-06-12 07:06:35'::timestamp) - extract(epoch from '2026-06-12 07:06:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035642 -2.812884)'), GeomFromEWKT('SRID=4674;POINT (-40.035508 -2.81269)'))) / (select extract(epoch from '2026-06-12 07:06:35'::timestamp) - extract(epoch from '2026-06-12 07:06:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.035326 -2.812508)', '2026-06-12 07:06:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035508 -2.81269)'), GeomFromEWKT('SRID=4674;POINT (-40.035326 -2.812508)'))) / (select extract(epoch from '2026-06-12 07:06:48'::timestamp) - extract(epoch from '2026-06-12 07:06:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035508 -2.81269)'), GeomFromEWKT('SRID=4674;POINT (-40.035326 -2.812508)'))) / (select extract(epoch from '2026-06-12 07:06:48'::timestamp) - extract(epoch from '2026-06-12 07:06: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'), 46702, 'SRID=4674;POINT (-40.035113 -2.812345)', '2026-06-12 07:07:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035326 -2.812508)'), GeomFromEWKT('SRID=4674;POINT (-40.035113 -2.812345)'))) / (select extract(epoch from '2026-06-12 07:07:02'::timestamp) - extract(epoch from '2026-06-12 07:06:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035326 -2.812508)'), GeomFromEWKT('SRID=4674;POINT (-40.035113 -2.812345)'))) / (select extract(epoch from '2026-06-12 07:07:02'::timestamp) - extract(epoch from '2026-06-12 07:06:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.034866 -2.812155)', '2026-06-12 07:07:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035113 -2.812345)'), GeomFromEWKT('SRID=4674;POINT (-40.034866 -2.812155)'))) / (select extract(epoch from '2026-06-12 07:07:18'::timestamp) - extract(epoch from '2026-06-12 07:07:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035113 -2.812345)'), GeomFromEWKT('SRID=4674;POINT (-40.034866 -2.812155)'))) / (select extract(epoch from '2026-06-12 07:07:18'::timestamp) - extract(epoch from '2026-06-12 07: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'), 46702, 'SRID=4674;POINT (-40.034723 -2.812035)', '2026-06-12 07:07:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034866 -2.812155)'), GeomFromEWKT('SRID=4674;POINT (-40.034723 -2.812035)'))) / (select extract(epoch from '2026-06-12 07:07:28'::timestamp) - extract(epoch from '2026-06-12 07:07:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034866 -2.812155)'), GeomFromEWKT('SRID=4674;POINT (-40.034723 -2.812035)'))) / (select extract(epoch from '2026-06-12 07:07:28'::timestamp) - extract(epoch from '2026-06-12 07:07: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'), 46702, 'SRID=4674;POINT (-40.034598 -2.811971)', '2026-06-12 07:07:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034723 -2.812035)'), GeomFromEWKT('SRID=4674;POINT (-40.034598 -2.811971)'))) / (select extract(epoch from '2026-06-12 07:07:36'::timestamp) - extract(epoch from '2026-06-12 07:07:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034723 -2.812035)'), GeomFromEWKT('SRID=4674;POINT (-40.034598 -2.811971)'))) / (select extract(epoch from '2026-06-12 07:07:36'::timestamp) - extract(epoch from '2026-06-12 07:07:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.034418 -2.811923)', '2026-06-12 07:07:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034598 -2.811971)'), GeomFromEWKT('SRID=4674;POINT (-40.034418 -2.811923)'))) / (select extract(epoch from '2026-06-12 07:07:46'::timestamp) - extract(epoch from '2026-06-12 07:07:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034598 -2.811971)'), GeomFromEWKT('SRID=4674;POINT (-40.034418 -2.811923)'))) / (select extract(epoch from '2026-06-12 07:07:46'::timestamp) - extract(epoch from '2026-06-12 07:07: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'), 46702, 'SRID=4674;POINT (-40.034242 -2.811885)', '2026-06-12 07:07:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034418 -2.811923)'), GeomFromEWKT('SRID=4674;POINT (-40.034242 -2.811885)'))) / (select extract(epoch from '2026-06-12 07:07:56'::timestamp) - extract(epoch from '2026-06-12 07:07:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034418 -2.811923)'), GeomFromEWKT('SRID=4674;POINT (-40.034242 -2.811885)'))) / (select extract(epoch from '2026-06-12 07:07:56'::timestamp) - extract(epoch from '2026-06-12 07:07: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'), 46702, 'SRID=4674;POINT (-40.034078 -2.811886)', '2026-06-12 07:08:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034242 -2.811885)'), GeomFromEWKT('SRID=4674;POINT (-40.034078 -2.811886)'))) / (select extract(epoch from '2026-06-12 07:08:05'::timestamp) - extract(epoch from '2026-06-12 07:07:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034242 -2.811885)'), GeomFromEWKT('SRID=4674;POINT (-40.034078 -2.811886)'))) / (select extract(epoch from '2026-06-12 07:08:05'::timestamp) - extract(epoch from '2026-06-12 07: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'), 46702, 'SRID=4674;POINT (-40.033913 -2.811825)', '2026-06-12 07:08:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034078 -2.811886)'), GeomFromEWKT('SRID=4674;POINT (-40.033913 -2.811825)'))) / (select extract(epoch from '2026-06-12 07:08:15'::timestamp) - extract(epoch from '2026-06-12 07:08:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034078 -2.811886)'), GeomFromEWKT('SRID=4674;POINT (-40.033913 -2.811825)'))) / (select extract(epoch from '2026-06-12 07:08:15'::timestamp) - extract(epoch from '2026-06-12 07: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'), 46702, 'SRID=4674;POINT (-40.033841 -2.811758)', '2026-06-12 07:08:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033913 -2.811825)'), GeomFromEWKT('SRID=4674;POINT (-40.033841 -2.811758)'))) / (select extract(epoch from '2026-06-12 07:08:20'::timestamp) - extract(epoch from '2026-06-12 07:08:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033913 -2.811825)'), GeomFromEWKT('SRID=4674;POINT (-40.033841 -2.811758)'))) / (select extract(epoch from '2026-06-12 07:08:20'::timestamp) - extract(epoch from '2026-06-12 07:08: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'), 46702, 'SRID=4674;POINT (-40.033693 -2.811612)', '2026-06-12 07:08:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033841 -2.811758)'), GeomFromEWKT('SRID=4674;POINT (-40.033693 -2.811612)'))) / (select extract(epoch from '2026-06-12 07:08:31'::timestamp) - extract(epoch from '2026-06-12 07:08:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033841 -2.811758)'), GeomFromEWKT('SRID=4674;POINT (-40.033693 -2.811612)'))) / (select extract(epoch from '2026-06-12 07:08:31'::timestamp) - extract(epoch from '2026-06-12 07:08: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'), 46702, 'SRID=4674;POINT (-40.033491 -2.811514)', '2026-06-12 07:08:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033693 -2.811612)'), GeomFromEWKT('SRID=4674;POINT (-40.033491 -2.811514)'))) / (select extract(epoch from '2026-06-12 07:08:43'::timestamp) - extract(epoch from '2026-06-12 07:08:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033693 -2.811612)'), GeomFromEWKT('SRID=4674;POINT (-40.033491 -2.811514)'))) / (select extract(epoch from '2026-06-12 07:08:43'::timestamp) - extract(epoch from '2026-06-12 07:08: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'), 46702, 'SRID=4674;POINT (-40.033414 -2.811486)', '2026-06-12 07:08:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033491 -2.811514)'), GeomFromEWKT('SRID=4674;POINT (-40.033414 -2.811486)'))) / (select extract(epoch from '2026-06-12 07:08:48'::timestamp) - extract(epoch from '2026-06-12 07:08:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033491 -2.811514)'), GeomFromEWKT('SRID=4674;POINT (-40.033414 -2.811486)'))) / (select extract(epoch from '2026-06-12 07:08:48'::timestamp) - extract(epoch from '2026-06-12 07:08:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.033237 -2.811461)', '2026-06-12 07:08:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033414 -2.811486)'), GeomFromEWKT('SRID=4674;POINT (-40.033237 -2.811461)'))) / (select extract(epoch from '2026-06-12 07:08:58'::timestamp) - extract(epoch from '2026-06-12 07:08:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033414 -2.811486)'), GeomFromEWKT('SRID=4674;POINT (-40.033237 -2.811461)'))) / (select extract(epoch from '2026-06-12 07:08:58'::timestamp) - extract(epoch from '2026-06-12 07: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'), 46702, 'SRID=4674;POINT (-40.033093 -2.811463)', '2026-06-12 07:09:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033237 -2.811461)'), GeomFromEWKT('SRID=4674;POINT (-40.033093 -2.811463)'))) / (select extract(epoch from '2026-06-12 07:09:06'::timestamp) - extract(epoch from '2026-06-12 07:08:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033237 -2.811461)'), GeomFromEWKT('SRID=4674;POINT (-40.033093 -2.811463)'))) / (select extract(epoch from '2026-06-12 07:09:06'::timestamp) - extract(epoch from '2026-06-12 07:08:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.032918 -2.811502)', '2026-06-12 07:09:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033093 -2.811463)'), GeomFromEWKT('SRID=4674;POINT (-40.032918 -2.811502)'))) / (select extract(epoch from '2026-06-12 07:09:16'::timestamp) - extract(epoch from '2026-06-12 07:09:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033093 -2.811463)'), GeomFromEWKT('SRID=4674;POINT (-40.032918 -2.811502)'))) / (select extract(epoch from '2026-06-12 07:09:16'::timestamp) - extract(epoch from '2026-06-12 07:09:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.032779 -2.811541)', '2026-06-12 07:09:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032918 -2.811502)'), GeomFromEWKT('SRID=4674;POINT (-40.032779 -2.811541)'))) / (select extract(epoch from '2026-06-12 07:09:24'::timestamp) - extract(epoch from '2026-06-12 07:09:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032918 -2.811502)'), GeomFromEWKT('SRID=4674;POINT (-40.032779 -2.811541)'))) / (select extract(epoch from '2026-06-12 07:09:24'::timestamp) - extract(epoch from '2026-06-12 07:09:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.032669 -2.81149)', '2026-06-12 07:09:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032779 -2.811541)'), GeomFromEWKT('SRID=4674;POINT (-40.032669 -2.81149)'))) / (select extract(epoch from '2026-06-12 07:09:31'::timestamp) - extract(epoch from '2026-06-12 07:09:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032779 -2.811541)'), GeomFromEWKT('SRID=4674;POINT (-40.032669 -2.81149)'))) / (select extract(epoch from '2026-06-12 07:09:31'::timestamp) - extract(epoch from '2026-06-12 07:09:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.032554 -2.811373)', '2026-06-12 07:09:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032669 -2.81149)'), GeomFromEWKT('SRID=4674;POINT (-40.032554 -2.811373)'))) / (select extract(epoch from '2026-06-12 07:09:40'::timestamp) - extract(epoch from '2026-06-12 07:09:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032669 -2.81149)'), GeomFromEWKT('SRID=4674;POINT (-40.032554 -2.811373)'))) / (select extract(epoch from '2026-06-12 07:09:40'::timestamp) - extract(epoch from '2026-06-12 07:09: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'), 46702, 'SRID=4674;POINT (-40.032343 -2.811182)', '2026-06-12 07:09:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032554 -2.811373)'), GeomFromEWKT('SRID=4674;POINT (-40.032343 -2.811182)'))) / (select extract(epoch from '2026-06-12 07:09:55'::timestamp) - extract(epoch from '2026-06-12 07:09:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032554 -2.811373)'), GeomFromEWKT('SRID=4674;POINT (-40.032343 -2.811182)'))) / (select extract(epoch from '2026-06-12 07:09:55'::timestamp) - extract(epoch from '2026-06-12 07:09:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.032123 -2.811019)', '2026-06-12 07:10:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032343 -2.811182)'), GeomFromEWKT('SRID=4674;POINT (-40.032123 -2.811019)'))) / (select extract(epoch from '2026-06-12 07:10:10'::timestamp) - extract(epoch from '2026-06-12 07:09:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032343 -2.811182)'), GeomFromEWKT('SRID=4674;POINT (-40.032123 -2.811019)'))) / (select extract(epoch from '2026-06-12 07:10:10'::timestamp) - extract(epoch from '2026-06-12 07:09: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'), 46702, 'SRID=4674;POINT (-40.031932 -2.810904)', '2026-06-12 07:10:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032123 -2.811019)'), GeomFromEWKT('SRID=4674;POINT (-40.031932 -2.810904)'))) / (select extract(epoch from '2026-06-12 07:10:22'::timestamp) - extract(epoch from '2026-06-12 07:10:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032123 -2.811019)'), GeomFromEWKT('SRID=4674;POINT (-40.031932 -2.810904)'))) / (select extract(epoch from '2026-06-12 07:10:22'::timestamp) - extract(epoch from '2026-06-12 07:10: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'), 46702, 'SRID=4674;POINT (-40.031775 -2.810771)', '2026-06-12 07:10:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031932 -2.810904)'), GeomFromEWKT('SRID=4674;POINT (-40.031775 -2.810771)'))) / (select extract(epoch from '2026-06-12 07:10:33'::timestamp) - extract(epoch from '2026-06-12 07:10:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031932 -2.810904)'), GeomFromEWKT('SRID=4674;POINT (-40.031775 -2.810771)'))) / (select extract(epoch from '2026-06-12 07:10:33'::timestamp) - extract(epoch from '2026-06-12 07:10:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.031628 -2.810624)', '2026-06-12 07:10:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031775 -2.810771)'), GeomFromEWKT('SRID=4674;POINT (-40.031628 -2.810624)'))) / (select extract(epoch from '2026-06-12 07:10:44'::timestamp) - extract(epoch from '2026-06-12 07:10:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031775 -2.810771)'), GeomFromEWKT('SRID=4674;POINT (-40.031628 -2.810624)'))) / (select extract(epoch from '2026-06-12 07:10:44'::timestamp) - extract(epoch from '2026-06-12 07:10: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'), 46702, 'SRID=4674;POINT (-40.031445 -2.810442)', '2026-06-12 07:10:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031628 -2.810624)'), GeomFromEWKT('SRID=4674;POINT (-40.031445 -2.810442)'))) / (select extract(epoch from '2026-06-12 07:10:58'::timestamp) - extract(epoch from '2026-06-12 07:10:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031628 -2.810624)'), GeomFromEWKT('SRID=4674;POINT (-40.031445 -2.810442)'))) / (select extract(epoch from '2026-06-12 07:10:58'::timestamp) - extract(epoch from '2026-06-12 07:10: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'), 46702, 'SRID=4674;POINT (-40.031324 -2.810315)', '2026-06-12 07:11:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031445 -2.810442)'), GeomFromEWKT('SRID=4674;POINT (-40.031324 -2.810315)'))) / (select extract(epoch from '2026-06-12 07:11:09'::timestamp) - extract(epoch from '2026-06-12 07:10:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031445 -2.810442)'), GeomFromEWKT('SRID=4674;POINT (-40.031324 -2.810315)'))) / (select extract(epoch from '2026-06-12 07:11:09'::timestamp) - extract(epoch from '2026-06-12 07:10:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.031259 -2.810249)', '2026-06-12 07:11:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031324 -2.810315)'), GeomFromEWKT('SRID=4674;POINT (-40.031259 -2.810249)'))) / (select extract(epoch from '2026-06-12 07:11:16'::timestamp) - extract(epoch from '2026-06-12 07:11:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031324 -2.810315)'), GeomFromEWKT('SRID=4674;POINT (-40.031259 -2.810249)'))) / (select extract(epoch from '2026-06-12 07:11:16'::timestamp) - extract(epoch from '2026-06-12 07:11:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.031194 -2.81016)', '2026-06-12 07:11:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031259 -2.810249)'), GeomFromEWKT('SRID=4674;POINT (-40.031194 -2.81016)'))) / (select extract(epoch from '2026-06-12 07:11:25'::timestamp) - extract(epoch from '2026-06-12 07:11:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031259 -2.810249)'), GeomFromEWKT('SRID=4674;POINT (-40.031194 -2.81016)'))) / (select extract(epoch from '2026-06-12 07:11:25'::timestamp) - extract(epoch from '2026-06-12 07:11: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'), 46702, 'SRID=4674;POINT (-40.031157 -2.810065)', '2026-06-12 07:11:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031194 -2.81016)'), GeomFromEWKT('SRID=4674;POINT (-40.031157 -2.810065)'))) / (select extract(epoch from '2026-06-12 07:11:33'::timestamp) - extract(epoch from '2026-06-12 07:11:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031194 -2.81016)'), GeomFromEWKT('SRID=4674;POINT (-40.031157 -2.810065)'))) / (select extract(epoch from '2026-06-12 07:11:33'::timestamp) - extract(epoch from '2026-06-12 07:11:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.031108 -2.809987)', '2026-06-12 07:11:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031157 -2.810065)'), GeomFromEWKT('SRID=4674;POINT (-40.031108 -2.809987)'))) / (select extract(epoch from '2026-06-12 07:11:40'::timestamp) - extract(epoch from '2026-06-12 07:11:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031157 -2.810065)'), GeomFromEWKT('SRID=4674;POINT (-40.031108 -2.809987)'))) / (select extract(epoch from '2026-06-12 07:11:40'::timestamp) - extract(epoch from '2026-06-12 07:11: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'), 46702, 'SRID=4674;POINT (-40.030998 -2.809874)', '2026-06-12 07:11:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031108 -2.809987)'), GeomFromEWKT('SRID=4674;POINT (-40.030998 -2.809874)'))) / (select extract(epoch from '2026-06-12 07:11:51'::timestamp) - extract(epoch from '2026-06-12 07:11:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031108 -2.809987)'), GeomFromEWKT('SRID=4674;POINT (-40.030998 -2.809874)'))) / (select extract(epoch from '2026-06-12 07:11:51'::timestamp) - extract(epoch from '2026-06-12 07: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'), 46702, 'SRID=4674;POINT (-40.030876 -2.809791)', '2026-06-12 07:12:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030998 -2.809874)'), GeomFromEWKT('SRID=4674;POINT (-40.030876 -2.809791)'))) / (select extract(epoch from '2026-06-12 07:12:01'::timestamp) - extract(epoch from '2026-06-12 07:11:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030998 -2.809874)'), GeomFromEWKT('SRID=4674;POINT (-40.030876 -2.809791)'))) / (select extract(epoch from '2026-06-12 07:12:01'::timestamp) - extract(epoch from '2026-06-12 07:11:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.030807 -2.809753)', '2026-06-12 07:12:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030876 -2.809791)'), GeomFromEWKT('SRID=4674;POINT (-40.030807 -2.809753)'))) / (select extract(epoch from '2026-06-12 07:12:07'::timestamp) - extract(epoch from '2026-06-12 07:12:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030876 -2.809791)'), GeomFromEWKT('SRID=4674;POINT (-40.030807 -2.809753)'))) / (select extract(epoch from '2026-06-12 07:12:07'::timestamp) - extract(epoch from '2026-06-12 07: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'), 46702, 'SRID=4674;POINT (-40.030752 -2.809717)', '2026-06-12 07:12:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030807 -2.809753)'), GeomFromEWKT('SRID=4674;POINT (-40.030752 -2.809717)'))) / (select extract(epoch from '2026-06-12 07:12:13'::timestamp) - extract(epoch from '2026-06-12 07:12:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030807 -2.809753)'), GeomFromEWKT('SRID=4674;POINT (-40.030752 -2.809717)'))) / (select extract(epoch from '2026-06-12 07:12:13'::timestamp) - extract(epoch from '2026-06-12 07:12:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.030693 -2.80965)', '2026-06-12 07:12:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030752 -2.809717)'), GeomFromEWKT('SRID=4674;POINT (-40.030693 -2.80965)'))) / (select extract(epoch from '2026-06-12 07:12:23'::timestamp) - extract(epoch from '2026-06-12 07:12:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030752 -2.809717)'), GeomFromEWKT('SRID=4674;POINT (-40.030693 -2.80965)'))) / (select extract(epoch from '2026-06-12 07:12:23'::timestamp) - extract(epoch from '2026-06-12 07:12: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'), 46702, 'SRID=4674;POINT (-40.030652 -2.809583)', '2026-06-12 07:12:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030693 -2.80965)'), GeomFromEWKT('SRID=4674;POINT (-40.030652 -2.809583)'))) / (select extract(epoch from '2026-06-12 07:12:35'::timestamp) - extract(epoch from '2026-06-12 07:12:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030693 -2.80965)'), GeomFromEWKT('SRID=4674;POINT (-40.030652 -2.809583)'))) / (select extract(epoch from '2026-06-12 07:12:35'::timestamp) - extract(epoch from '2026-06-12 07:12:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.030616 -2.809497)', '2026-06-12 07:12:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030652 -2.809583)'), GeomFromEWKT('SRID=4674;POINT (-40.030616 -2.809497)'))) / (select extract(epoch from '2026-06-12 07:12:56'::timestamp) - extract(epoch from '2026-06-12 07:12:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030652 -2.809583)'), GeomFromEWKT('SRID=4674;POINT (-40.030616 -2.809497)'))) / (select extract(epoch from '2026-06-12 07:12:56'::timestamp) - extract(epoch from '2026-06-12 07:12: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'), 46702, 'SRID=4674;POINT (-40.030609 -2.809454)', '2026-06-12 07:13:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030616 -2.809497)'), GeomFromEWKT('SRID=4674;POINT (-40.030609 -2.809454)'))) / (select extract(epoch from '2026-06-12 07:13:25'::timestamp) - extract(epoch from '2026-06-12 07:12:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030616 -2.809497)'), GeomFromEWKT('SRID=4674;POINT (-40.030609 -2.809454)'))) / (select extract(epoch from '2026-06-12 07:13:25'::timestamp) - extract(epoch from '2026-06-12 07:12: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'), 46702, 'SRID=4674;POINT (-40.030624 -2.80946)', '2026-06-12 07:13:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030609 -2.809454)'), GeomFromEWKT('SRID=4674;POINT (-40.030624 -2.80946)'))) / (select extract(epoch from '2026-06-12 07:13:38'::timestamp) - extract(epoch from '2026-06-12 07:13:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030609 -2.809454)'), GeomFromEWKT('SRID=4674;POINT (-40.030624 -2.80946)'))) / (select extract(epoch from '2026-06-12 07:13:38'::timestamp) - extract(epoch from '2026-06-12 07:13:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.030651 -2.809466)', '2026-06-12 07:14:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030624 -2.80946)'), GeomFromEWKT('SRID=4674;POINT (-40.030651 -2.809466)'))) / (select extract(epoch from '2026-06-12 07:14:02'::timestamp) - extract(epoch from '2026-06-12 07:13:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030624 -2.80946)'), GeomFromEWKT('SRID=4674;POINT (-40.030651 -2.809466)'))) / (select extract(epoch from '2026-06-12 07:14:02'::timestamp) - extract(epoch from '2026-06-12 07:13: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'), 46702, 'SRID=4674;POINT (-40.030636 -2.809457)', '2026-06-12 07:14:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030651 -2.809466)'), GeomFromEWKT('SRID=4674;POINT (-40.030636 -2.809457)'))) / (select extract(epoch from '2026-06-12 07:14:26'::timestamp) - extract(epoch from '2026-06-12 07:14:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030651 -2.809466)'), GeomFromEWKT('SRID=4674;POINT (-40.030636 -2.809457)'))) / (select extract(epoch from '2026-06-12 07:14:26'::timestamp) - extract(epoch from '2026-06-12 07:14:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.030625 -2.809432)', '2026-06-12 07:14:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030636 -2.809457)'), GeomFromEWKT('SRID=4674;POINT (-40.030625 -2.809432)'))) / (select extract(epoch from '2026-06-12 07:14:59'::timestamp) - extract(epoch from '2026-06-12 07:14:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030636 -2.809457)'), GeomFromEWKT('SRID=4674;POINT (-40.030625 -2.809432)'))) / (select extract(epoch from '2026-06-12 07:14:59'::timestamp) - extract(epoch from '2026-06-12 07:14:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.030646 -2.809371)', '2026-06-12 07:15:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030625 -2.809432)'), GeomFromEWKT('SRID=4674;POINT (-40.030646 -2.809371)'))) / (select extract(epoch from '2026-06-12 07:15:32'::timestamp) - extract(epoch from '2026-06-12 07:14:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030625 -2.809432)'), GeomFromEWKT('SRID=4674;POINT (-40.030646 -2.809371)'))) / (select extract(epoch from '2026-06-12 07:15:32'::timestamp) - extract(epoch from '2026-06-12 07:14: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'), 46702, 'SRID=4674;POINT (-40.030665 -2.80933)', '2026-06-12 07:16:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030646 -2.809371)'), GeomFromEWKT('SRID=4674;POINT (-40.030665 -2.80933)'))) / (select extract(epoch from '2026-06-12 07:16:01'::timestamp) - extract(epoch from '2026-06-12 07:15:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030646 -2.809371)'), GeomFromEWKT('SRID=4674;POINT (-40.030665 -2.80933)'))) / (select extract(epoch from '2026-06-12 07:16:01'::timestamp) - extract(epoch from '2026-06-12 07: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'), 46702, 'SRID=4674;POINT (-40.030695 -2.809273)', '2026-06-12 07:16:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030665 -2.80933)'), GeomFromEWKT('SRID=4674;POINT (-40.030695 -2.809273)'))) / (select extract(epoch from '2026-06-12 07:16:33'::timestamp) - extract(epoch from '2026-06-12 07:16:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030665 -2.80933)'), GeomFromEWKT('SRID=4674;POINT (-40.030695 -2.809273)'))) / (select extract(epoch from '2026-06-12 07:16:33'::timestamp) - extract(epoch from '2026-06-12 07:16:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.03071 -2.809262)', '2026-06-12 07:17:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030695 -2.809273)'), GeomFromEWKT('SRID=4674;POINT (-40.03071 -2.809262)'))) / (select extract(epoch from '2026-06-12 07:17:05'::timestamp) - extract(epoch from '2026-06-12 07:16:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030695 -2.809273)'), GeomFromEWKT('SRID=4674;POINT (-40.03071 -2.809262)'))) / (select extract(epoch from '2026-06-12 07:17:05'::timestamp) - extract(epoch from '2026-06-12 07:16: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'), 46702, 'SRID=4674;POINT (-40.030747 -2.809248)', '2026-06-12 07:17:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03071 -2.809262)'), GeomFromEWKT('SRID=4674;POINT (-40.030747 -2.809248)'))) / (select extract(epoch from '2026-06-12 07:17:47'::timestamp) - extract(epoch from '2026-06-12 07:17:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03071 -2.809262)'), GeomFromEWKT('SRID=4674;POINT (-40.030747 -2.809248)'))) / (select extract(epoch from '2026-06-12 07:17:47'::timestamp) - extract(epoch from '2026-06-12 07:17: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'), 46702, 'SRID=4674;POINT (-40.030745 -2.809254)', '2026-06-12 07:18:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030747 -2.809248)'), GeomFromEWKT('SRID=4674;POINT (-40.030745 -2.809254)'))) / (select extract(epoch from '2026-06-12 07:18:17'::timestamp) - extract(epoch from '2026-06-12 07:17:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030747 -2.809248)'), GeomFromEWKT('SRID=4674;POINT (-40.030745 -2.809254)'))) / (select extract(epoch from '2026-06-12 07:18:17'::timestamp) - extract(epoch from '2026-06-12 07: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'), 46702, 'SRID=4674;POINT (-40.030741 -2.809274)', '2026-06-12 07:18:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030745 -2.809254)'), GeomFromEWKT('SRID=4674;POINT (-40.030741 -2.809274)'))) / (select extract(epoch from '2026-06-12 07:18:32'::timestamp) - extract(epoch from '2026-06-12 07:18:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030745 -2.809254)'), GeomFromEWKT('SRID=4674;POINT (-40.030741 -2.809274)'))) / (select extract(epoch from '2026-06-12 07:18:32'::timestamp) - extract(epoch from '2026-06-12 07:18:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.030739 -2.809253)', '2026-06-12 07:18:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030741 -2.809274)'), GeomFromEWKT('SRID=4674;POINT (-40.030739 -2.809253)'))) / (select extract(epoch from '2026-06-12 07:18:38'::timestamp) - extract(epoch from '2026-06-12 07:18:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030741 -2.809274)'), GeomFromEWKT('SRID=4674;POINT (-40.030739 -2.809253)'))) / (select extract(epoch from '2026-06-12 07:18:38'::timestamp) - extract(epoch from '2026-06-12 07:18:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.030747 -2.809238)', '2026-06-12 07:18:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030739 -2.809253)'), GeomFromEWKT('SRID=4674;POINT (-40.030747 -2.809238)'))) / (select extract(epoch from '2026-06-12 07:18:45'::timestamp) - extract(epoch from '2026-06-12 07:18:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030739 -2.809253)'), GeomFromEWKT('SRID=4674;POINT (-40.030747 -2.809238)'))) / (select extract(epoch from '2026-06-12 07:18:45'::timestamp) - extract(epoch from '2026-06-12 07:18: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'), 46702, 'SRID=4674;POINT (-40.030749 -2.809242)', '2026-06-12 07:19:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030747 -2.809238)'), GeomFromEWKT('SRID=4674;POINT (-40.030749 -2.809242)'))) / (select extract(epoch from '2026-06-12 07:19:04'::timestamp) - extract(epoch from '2026-06-12 07:18:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030747 -2.809238)'), GeomFromEWKT('SRID=4674;POINT (-40.030749 -2.809242)'))) / (select extract(epoch from '2026-06-12 07:19:04'::timestamp) - extract(epoch from '2026-06-12 07:18: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'), 46702, 'SRID=4674;POINT (-40.030691 -2.809282)', '2026-06-12 07:19:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030749 -2.809242)'), GeomFromEWKT('SRID=4674;POINT (-40.030691 -2.809282)'))) / (select extract(epoch from '2026-06-12 07:19:52'::timestamp) - extract(epoch from '2026-06-12 07:19:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030749 -2.809242)'), GeomFromEWKT('SRID=4674;POINT (-40.030691 -2.809282)'))) / (select extract(epoch from '2026-06-12 07:19:52'::timestamp) - extract(epoch from '2026-06-12 07:19: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'), 46702, 'SRID=4674;POINT (-40.030637 -2.809355)', '2026-06-12 07:20:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030691 -2.809282)'), GeomFromEWKT('SRID=4674;POINT (-40.030637 -2.809355)'))) / (select extract(epoch from '2026-06-12 07:20:00'::timestamp) - extract(epoch from '2026-06-12 07:19:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030691 -2.809282)'), GeomFromEWKT('SRID=4674;POINT (-40.030637 -2.809355)'))) / (select extract(epoch from '2026-06-12 07:20:00'::timestamp) - extract(epoch from '2026-06-12 07:19:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.030633 -2.809471)', '2026-06-12 07:20:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030637 -2.809355)'), GeomFromEWKT('SRID=4674;POINT (-40.030633 -2.809471)'))) / (select extract(epoch from '2026-06-12 07:20:10'::timestamp) - extract(epoch from '2026-06-12 07:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030637 -2.809355)'), GeomFromEWKT('SRID=4674;POINT (-40.030633 -2.809471)'))) / (select extract(epoch from '2026-06-12 07:20:10'::timestamp) - extract(epoch from '2026-06-12 07:20: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'), 46702, 'SRID=4674;POINT (-40.030644 -2.809573)', '2026-06-12 07:20:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030633 -2.809471)'), GeomFromEWKT('SRID=4674;POINT (-40.030644 -2.809573)'))) / (select extract(epoch from '2026-06-12 07:20:21'::timestamp) - extract(epoch from '2026-06-12 07:20:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030633 -2.809471)'), GeomFromEWKT('SRID=4674;POINT (-40.030644 -2.809573)'))) / (select extract(epoch from '2026-06-12 07:20:21'::timestamp) - extract(epoch from '2026-06-12 07:20: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'), 46702, 'SRID=4674;POINT (-40.030632 -2.809653)', '2026-06-12 07:20:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030644 -2.809573)'), GeomFromEWKT('SRID=4674;POINT (-40.030632 -2.809653)'))) / (select extract(epoch from '2026-06-12 07:20:31'::timestamp) - extract(epoch from '2026-06-12 07:20:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030644 -2.809573)'), GeomFromEWKT('SRID=4674;POINT (-40.030632 -2.809653)'))) / (select extract(epoch from '2026-06-12 07:20:31'::timestamp) - extract(epoch from '2026-06-12 07:20: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'), 46702, 'SRID=4674;POINT (-40.030592 -2.809714)', '2026-06-12 07:20:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030632 -2.809653)'), GeomFromEWKT('SRID=4674;POINT (-40.030592 -2.809714)'))) / (select extract(epoch from '2026-06-12 07:20:39'::timestamp) - extract(epoch from '2026-06-12 07:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030632 -2.809653)'), GeomFromEWKT('SRID=4674;POINT (-40.030592 -2.809714)'))) / (select extract(epoch from '2026-06-12 07:20:39'::timestamp) - extract(epoch from '2026-06-12 07:20: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'), 46702, 'SRID=4674;POINT (-40.03046 -2.80982)', '2026-06-12 07:20:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030592 -2.809714)'), GeomFromEWKT('SRID=4674;POINT (-40.03046 -2.80982)'))) / (select extract(epoch from '2026-06-12 07:20:51'::timestamp) - extract(epoch from '2026-06-12 07:20:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030592 -2.809714)'), GeomFromEWKT('SRID=4674;POINT (-40.03046 -2.80982)'))) / (select extract(epoch from '2026-06-12 07:20:51'::timestamp) - extract(epoch from '2026-06-12 07:20:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.030309 -2.809883)', '2026-06-12 07:21:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03046 -2.80982)'), GeomFromEWKT('SRID=4674;POINT (-40.030309 -2.809883)'))) / (select extract(epoch from '2026-06-12 07:21:03'::timestamp) - extract(epoch from '2026-06-12 07:20:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03046 -2.80982)'), GeomFromEWKT('SRID=4674;POINT (-40.030309 -2.809883)'))) / (select extract(epoch from '2026-06-12 07:21:03'::timestamp) - extract(epoch from '2026-06-12 07:20:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.03015 -2.809905)', '2026-06-12 07:21:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030309 -2.809883)'), GeomFromEWKT('SRID=4674;POINT (-40.03015 -2.809905)'))) / (select extract(epoch from '2026-06-12 07:21:14'::timestamp) - extract(epoch from '2026-06-12 07:21:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030309 -2.809883)'), GeomFromEWKT('SRID=4674;POINT (-40.03015 -2.809905)'))) / (select extract(epoch from '2026-06-12 07:21:14'::timestamp) - extract(epoch from '2026-06-12 07:21: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'), 46702, 'SRID=4674;POINT (-40.030003 -2.809905)', '2026-06-12 07:21:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03015 -2.809905)'), GeomFromEWKT('SRID=4674;POINT (-40.030003 -2.809905)'))) / (select extract(epoch from '2026-06-12 07:21:25'::timestamp) - extract(epoch from '2026-06-12 07:21:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03015 -2.809905)'), GeomFromEWKT('SRID=4674;POINT (-40.030003 -2.809905)'))) / (select extract(epoch from '2026-06-12 07:21:25'::timestamp) - extract(epoch from '2026-06-12 07: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'), 46702, 'SRID=4674;POINT (-40.029875 -2.809895)', '2026-06-12 07:21:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030003 -2.809905)'), GeomFromEWKT('SRID=4674;POINT (-40.029875 -2.809895)'))) / (select extract(epoch from '2026-06-12 07:21:35'::timestamp) - extract(epoch from '2026-06-12 07:21:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030003 -2.809905)'), GeomFromEWKT('SRID=4674;POINT (-40.029875 -2.809895)'))) / (select extract(epoch from '2026-06-12 07:21:35'::timestamp) - extract(epoch from '2026-06-12 07:21: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'), 46702, 'SRID=4674;POINT (-40.029788 -2.809887)', '2026-06-12 07:21:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029875 -2.809895)'), GeomFromEWKT('SRID=4674;POINT (-40.029788 -2.809887)'))) / (select extract(epoch from '2026-06-12 07:21:44'::timestamp) - extract(epoch from '2026-06-12 07:21:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029875 -2.809895)'), GeomFromEWKT('SRID=4674;POINT (-40.029788 -2.809887)'))) / (select extract(epoch from '2026-06-12 07:21:44'::timestamp) - extract(epoch from '2026-06-12 07:21:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.029739 -2.809876)', '2026-06-12 07:21:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029788 -2.809887)'), GeomFromEWKT('SRID=4674;POINT (-40.029739 -2.809876)'))) / (select extract(epoch from '2026-06-12 07:21:52'::timestamp) - extract(epoch from '2026-06-12 07:21:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029788 -2.809887)'), GeomFromEWKT('SRID=4674;POINT (-40.029739 -2.809876)'))) / (select extract(epoch from '2026-06-12 07:21:52'::timestamp) - extract(epoch from '2026-06-12 07:21:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.029677 -2.809834)', '2026-06-12 07:22:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029739 -2.809876)'), GeomFromEWKT('SRID=4674;POINT (-40.029677 -2.809834)'))) / (select extract(epoch from '2026-06-12 07:22:04'::timestamp) - extract(epoch from '2026-06-12 07:21:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029739 -2.809876)'), GeomFromEWKT('SRID=4674;POINT (-40.029677 -2.809834)'))) / (select extract(epoch from '2026-06-12 07:22:04'::timestamp) - extract(epoch from '2026-06-12 07: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'), 46702, 'SRID=4674;POINT (-40.029639 -2.809759)', '2026-06-12 07:22:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029677 -2.809834)'), GeomFromEWKT('SRID=4674;POINT (-40.029639 -2.809759)'))) / (select extract(epoch from '2026-06-12 07:22:23'::timestamp) - extract(epoch from '2026-06-12 07:22:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029677 -2.809834)'), GeomFromEWKT('SRID=4674;POINT (-40.029639 -2.809759)'))) / (select extract(epoch from '2026-06-12 07:22:23'::timestamp) - extract(epoch from '2026-06-12 07:22: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'), 46702, 'SRID=4674;POINT (-40.029647 -2.809701)', '2026-06-12 07:22:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029639 -2.809759)'), GeomFromEWKT('SRID=4674;POINT (-40.029647 -2.809701)'))) / (select extract(epoch from '2026-06-12 07:22:46'::timestamp) - extract(epoch from '2026-06-12 07:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029639 -2.809759)'), GeomFromEWKT('SRID=4674;POINT (-40.029647 -2.809701)'))) / (select extract(epoch from '2026-06-12 07:22:46'::timestamp) - extract(epoch from '2026-06-12 07: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'), 46702, 'SRID=4674;POINT (-40.029666 -2.809722)', '2026-06-12 07:23:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029647 -2.809701)'), GeomFromEWKT('SRID=4674;POINT (-40.029666 -2.809722)'))) / (select extract(epoch from '2026-06-12 07:23:17'::timestamp) - extract(epoch from '2026-06-12 07:22:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029647 -2.809701)'), GeomFromEWKT('SRID=4674;POINT (-40.029666 -2.809722)'))) / (select extract(epoch from '2026-06-12 07:23:17'::timestamp) - extract(epoch from '2026-06-12 07:22:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.029689 -2.809716)', '2026-06-12 07:23:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029666 -2.809722)'), GeomFromEWKT('SRID=4674;POINT (-40.029689 -2.809716)'))) / (select extract(epoch from '2026-06-12 07:23:43'::timestamp) - extract(epoch from '2026-06-12 07:23:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029666 -2.809722)'), GeomFromEWKT('SRID=4674;POINT (-40.029689 -2.809716)'))) / (select extract(epoch from '2026-06-12 07:23:43'::timestamp) - extract(epoch from '2026-06-12 07:23: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'), 46702, 'SRID=4674;POINT (-40.0297 -2.809731)', '2026-06-12 07:23:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029689 -2.809716)'), GeomFromEWKT('SRID=4674;POINT (-40.0297 -2.809731)'))) / (select extract(epoch from '2026-06-12 07:23:48'::timestamp) - extract(epoch from '2026-06-12 07:23:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029689 -2.809716)'), GeomFromEWKT('SRID=4674;POINT (-40.0297 -2.809731)'))) / (select extract(epoch from '2026-06-12 07:23:48'::timestamp) - extract(epoch from '2026-06-12 07:23: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'), 46702, 'SRID=4674;POINT (-40.029706 -2.809732)', '2026-06-12 07:23:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0297 -2.809731)'), GeomFromEWKT('SRID=4674;POINT (-40.029706 -2.809732)'))) / (select extract(epoch from '2026-06-12 07:23:50'::timestamp) - extract(epoch from '2026-06-12 07:23:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0297 -2.809731)'), GeomFromEWKT('SRID=4674;POINT (-40.029706 -2.809732)'))) / (select extract(epoch from '2026-06-12 07:23:50'::timestamp) - extract(epoch from '2026-06-12 07:23: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'), 46702, 'SRID=4674;POINT (-40.029696 -2.809721)', '2026-06-12 07:24:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029706 -2.809732)'), GeomFromEWKT('SRID=4674;POINT (-40.029696 -2.809721)'))) / (select extract(epoch from '2026-06-12 07:24:01'::timestamp) - extract(epoch from '2026-06-12 07:23:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029706 -2.809732)'), GeomFromEWKT('SRID=4674;POINT (-40.029696 -2.809721)'))) / (select extract(epoch from '2026-06-12 07:24:01'::timestamp) - extract(epoch from '2026-06-12 07:23:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.029659 -2.809734)', '2026-06-12 07:24:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029696 -2.809721)'), GeomFromEWKT('SRID=4674;POINT (-40.029659 -2.809734)'))) / (select extract(epoch from '2026-06-12 07:24:37'::timestamp) - extract(epoch from '2026-06-12 07:24:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029696 -2.809721)'), GeomFromEWKT('SRID=4674;POINT (-40.029659 -2.809734)'))) / (select extract(epoch from '2026-06-12 07:24:37'::timestamp) - extract(epoch from '2026-06-12 07:24: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'), 46702, 'SRID=4674;POINT (-40.029619 -2.80979)', '2026-06-12 07:24:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029659 -2.809734)'), GeomFromEWKT('SRID=4674;POINT (-40.029619 -2.80979)'))) / (select extract(epoch from '2026-06-12 07:24:47'::timestamp) - extract(epoch from '2026-06-12 07:24:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029659 -2.809734)'), GeomFromEWKT('SRID=4674;POINT (-40.029619 -2.80979)'))) / (select extract(epoch from '2026-06-12 07:24:47'::timestamp) - extract(epoch from '2026-06-12 07:24: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'), 46702, 'SRID=4674;POINT (-40.029555 -2.809844)', '2026-06-12 07:24:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029619 -2.80979)'), GeomFromEWKT('SRID=4674;POINT (-40.029555 -2.809844)'))) / (select extract(epoch from '2026-06-12 07:24:57'::timestamp) - extract(epoch from '2026-06-12 07:24:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029619 -2.80979)'), GeomFromEWKT('SRID=4674;POINT (-40.029555 -2.809844)'))) / (select extract(epoch from '2026-06-12 07:24:57'::timestamp) - extract(epoch from '2026-06-12 07:24: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'), 46702, 'SRID=4674;POINT (-40.029534 -2.809844)', '2026-06-12 07:24:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029555 -2.809844)'), GeomFromEWKT('SRID=4674;POINT (-40.029534 -2.809844)'))) / (select extract(epoch from '2026-06-12 07:24:59'::timestamp) - extract(epoch from '2026-06-12 07:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029555 -2.809844)'), GeomFromEWKT('SRID=4674;POINT (-40.029534 -2.809844)'))) / (select extract(epoch from '2026-06-12 07:24:59'::timestamp) - extract(epoch from '2026-06-12 07:24: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'), 46702, 'SRID=4674;POINT (-40.029523 -2.80984)', '2026-06-12 07:25:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029534 -2.809844)'), GeomFromEWKT('SRID=4674;POINT (-40.029523 -2.80984)'))) / (select extract(epoch from '2026-06-12 07:25:00'::timestamp) - extract(epoch from '2026-06-12 07:24:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029534 -2.809844)'), GeomFromEWKT('SRID=4674;POINT (-40.029523 -2.80984)'))) / (select extract(epoch from '2026-06-12 07:25:00'::timestamp) - extract(epoch from '2026-06-12 07:24:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.029473 -2.809812)', '2026-06-12 07:25:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029523 -2.80984)'), GeomFromEWKT('SRID=4674;POINT (-40.029473 -2.809812)'))) / (select extract(epoch from '2026-06-12 07:25:05'::timestamp) - extract(epoch from '2026-06-12 07:25:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029523 -2.80984)'), GeomFromEWKT('SRID=4674;POINT (-40.029473 -2.809812)'))) / (select extract(epoch from '2026-06-12 07:25:05'::timestamp) - extract(epoch from '2026-06-12 07:25:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.029418 -2.809702)', '2026-06-12 07:25:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029473 -2.809812)'), GeomFromEWKT('SRID=4674;POINT (-40.029418 -2.809702)'))) / (select extract(epoch from '2026-06-12 07:25:13'::timestamp) - extract(epoch from '2026-06-12 07:25:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029473 -2.809812)'), GeomFromEWKT('SRID=4674;POINT (-40.029418 -2.809702)'))) / (select extract(epoch from '2026-06-12 07:25:13'::timestamp) - extract(epoch from '2026-06-12 07: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'), 46702, 'SRID=4674;POINT (-40.029417 -2.809567)', '2026-06-12 07:25:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029418 -2.809702)'), GeomFromEWKT('SRID=4674;POINT (-40.029417 -2.809567)'))) / (select extract(epoch from '2026-06-12 07:25:20'::timestamp) - extract(epoch from '2026-06-12 07:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029418 -2.809702)'), GeomFromEWKT('SRID=4674;POINT (-40.029417 -2.809567)'))) / (select extract(epoch from '2026-06-12 07:25:20'::timestamp) - extract(epoch from '2026-06-12 07:25: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'), 46702, 'SRID=4674;POINT (-40.029481 -2.809384)', '2026-06-12 07:25:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029417 -2.809567)'), GeomFromEWKT('SRID=4674;POINT (-40.029481 -2.809384)'))) / (select extract(epoch from '2026-06-12 07:25:30'::timestamp) - extract(epoch from '2026-06-12 07:25:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029417 -2.809567)'), GeomFromEWKT('SRID=4674;POINT (-40.029481 -2.809384)'))) / (select extract(epoch from '2026-06-12 07:25:30'::timestamp) - extract(epoch from '2026-06-12 07:25: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'), 46702, 'SRID=4674;POINT (-40.029552 -2.809179)', '2026-06-12 07:25:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029481 -2.809384)'), GeomFromEWKT('SRID=4674;POINT (-40.029552 -2.809179)'))) / (select extract(epoch from '2026-06-12 07:25:41'::timestamp) - extract(epoch from '2026-06-12 07:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029481 -2.809384)'), GeomFromEWKT('SRID=4674;POINT (-40.029552 -2.809179)'))) / (select extract(epoch from '2026-06-12 07:25:41'::timestamp) - extract(epoch from '2026-06-12 07:25: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'), 46702, 'SRID=4674;POINT (-40.029504 -2.809008)', '2026-06-12 07:25:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029552 -2.809179)'), GeomFromEWKT('SRID=4674;POINT (-40.029504 -2.809008)'))) / (select extract(epoch from '2026-06-12 07:25:50'::timestamp) - extract(epoch from '2026-06-12 07:25:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029552 -2.809179)'), GeomFromEWKT('SRID=4674;POINT (-40.029504 -2.809008)'))) / (select extract(epoch from '2026-06-12 07:25:50'::timestamp) - extract(epoch from '2026-06-12 07:25: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'), 46702, 'SRID=4674;POINT (-40.02944 -2.808841)', '2026-06-12 07:25:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029504 -2.809008)'), GeomFromEWKT('SRID=4674;POINT (-40.02944 -2.808841)'))) / (select extract(epoch from '2026-06-12 07:25:59'::timestamp) - extract(epoch from '2026-06-12 07:25:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029504 -2.809008)'), GeomFromEWKT('SRID=4674;POINT (-40.02944 -2.808841)'))) / (select extract(epoch from '2026-06-12 07:25:59'::timestamp) - extract(epoch from '2026-06-12 07:25: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'), 46702, 'SRID=4674;POINT (-40.029376 -2.808681)', '2026-06-12 07:26:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02944 -2.808841)'), GeomFromEWKT('SRID=4674;POINT (-40.029376 -2.808681)'))) / (select extract(epoch from '2026-06-12 07:26:09'::timestamp) - extract(epoch from '2026-06-12 07:25:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02944 -2.808841)'), GeomFromEWKT('SRID=4674;POINT (-40.029376 -2.808681)'))) / (select extract(epoch from '2026-06-12 07:26:09'::timestamp) - extract(epoch from '2026-06-12 07:25: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'), 46702, 'SRID=4674;POINT (-40.029333 -2.808586)', '2026-06-12 07:26:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029376 -2.808681)'), GeomFromEWKT('SRID=4674;POINT (-40.029333 -2.808586)'))) / (select extract(epoch from '2026-06-12 07:26:18'::timestamp) - extract(epoch from '2026-06-12 07:26:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029376 -2.808681)'), GeomFromEWKT('SRID=4674;POINT (-40.029333 -2.808586)'))) / (select extract(epoch from '2026-06-12 07:26:18'::timestamp) - extract(epoch from '2026-06-12 07:26: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'), 46702, 'SRID=4674;POINT (-40.029303 -2.808531)', '2026-06-12 07:26:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029333 -2.808586)'), GeomFromEWKT('SRID=4674;POINT (-40.029303 -2.808531)'))) / (select extract(epoch from '2026-06-12 07:26:29'::timestamp) - extract(epoch from '2026-06-12 07:26:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029333 -2.808586)'), GeomFromEWKT('SRID=4674;POINT (-40.029303 -2.808531)'))) / (select extract(epoch from '2026-06-12 07:26:29'::timestamp) - extract(epoch from '2026-06-12 07:26: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'), 46702, 'SRID=4674;POINT (-40.02929 -2.808506)', '2026-06-12 07:26:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029303 -2.808531)'), GeomFromEWKT('SRID=4674;POINT (-40.02929 -2.808506)'))) / (select extract(epoch from '2026-06-12 07:26:48'::timestamp) - extract(epoch from '2026-06-12 07:26:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029303 -2.808531)'), GeomFromEWKT('SRID=4674;POINT (-40.02929 -2.808506)'))) / (select extract(epoch from '2026-06-12 07:26:48'::timestamp) - extract(epoch from '2026-06-12 07: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'), 46702, 'SRID=4674;POINT (-40.029324 -2.808507)', '2026-06-12 07:27:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02929 -2.808506)'), GeomFromEWKT('SRID=4674;POINT (-40.029324 -2.808507)'))) / (select extract(epoch from '2026-06-12 07:27:05'::timestamp) - extract(epoch from '2026-06-12 07:26:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02929 -2.808506)'), GeomFromEWKT('SRID=4674;POINT (-40.029324 -2.808507)'))) / (select extract(epoch from '2026-06-12 07:27:05'::timestamp) - extract(epoch from '2026-06-12 07:26: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'), 46702, 'SRID=4674;POINT (-40.029379 -2.80852)', '2026-06-12 07:27:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029324 -2.808507)'), GeomFromEWKT('SRID=4674;POINT (-40.029379 -2.80852)'))) / (select extract(epoch from '2026-06-12 07:27:42'::timestamp) - extract(epoch from '2026-06-12 07:27:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029324 -2.808507)'), GeomFromEWKT('SRID=4674;POINT (-40.029379 -2.80852)'))) / (select extract(epoch from '2026-06-12 07:27:42'::timestamp) - extract(epoch from '2026-06-12 07:27: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'), 46702, 'SRID=4674;POINT (-40.029376 -2.808505)', '2026-06-12 07:28:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029379 -2.80852)'), GeomFromEWKT('SRID=4674;POINT (-40.029376 -2.808505)'))) / (select extract(epoch from '2026-06-12 07:28:21'::timestamp) - extract(epoch from '2026-06-12 07:27:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029379 -2.80852)'), GeomFromEWKT('SRID=4674;POINT (-40.029376 -2.808505)'))) / (select extract(epoch from '2026-06-12 07:28:21'::timestamp) - extract(epoch from '2026-06-12 07:27:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.029407 -2.808459)', '2026-06-12 07:28:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029376 -2.808505)'), GeomFromEWKT('SRID=4674;POINT (-40.029407 -2.808459)'))) / (select extract(epoch from '2026-06-12 07:28:48'::timestamp) - extract(epoch from '2026-06-12 07:28:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029376 -2.808505)'), GeomFromEWKT('SRID=4674;POINT (-40.029407 -2.808459)'))) / (select extract(epoch from '2026-06-12 07:28:48'::timestamp) - extract(epoch from '2026-06-12 07:28:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.029417 -2.808421)', '2026-06-12 07:29:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029407 -2.808459)'), GeomFromEWKT('SRID=4674;POINT (-40.029417 -2.808421)'))) / (select extract(epoch from '2026-06-12 07:29:18'::timestamp) - extract(epoch from '2026-06-12 07:28:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029407 -2.808459)'), GeomFromEWKT('SRID=4674;POINT (-40.029417 -2.808421)'))) / (select extract(epoch from '2026-06-12 07:29:18'::timestamp) - extract(epoch from '2026-06-12 07:28:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.02941 -2.808429)', '2026-06-12 07:29:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029417 -2.808421)'), GeomFromEWKT('SRID=4674;POINT (-40.02941 -2.808429)'))) / (select extract(epoch from '2026-06-12 07:29:49'::timestamp) - extract(epoch from '2026-06-12 07:29:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029417 -2.808421)'), GeomFromEWKT('SRID=4674;POINT (-40.02941 -2.808429)'))) / (select extract(epoch from '2026-06-12 07:29:49'::timestamp) - extract(epoch from '2026-06-12 07:29:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.029403 -2.808421)', '2026-06-12 07:29:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02941 -2.808429)'), GeomFromEWKT('SRID=4674;POINT (-40.029403 -2.808421)'))) / (select extract(epoch from '2026-06-12 07:29:56'::timestamp) - extract(epoch from '2026-06-12 07:29:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02941 -2.808429)'), GeomFromEWKT('SRID=4674;POINT (-40.029403 -2.808421)'))) / (select extract(epoch from '2026-06-12 07:29:56'::timestamp) - extract(epoch from '2026-06-12 07:29:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.029434 -2.808422)', '2026-06-12 07:30:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029403 -2.808421)'), GeomFromEWKT('SRID=4674;POINT (-40.029434 -2.808422)'))) / (select extract(epoch from '2026-06-12 07:30:02'::timestamp) - extract(epoch from '2026-06-12 07:29:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029403 -2.808421)'), GeomFromEWKT('SRID=4674;POINT (-40.029434 -2.808422)'))) / (select extract(epoch from '2026-06-12 07:30:02'::timestamp) - extract(epoch from '2026-06-12 07:29: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'), 46702, 'SRID=4674;POINT (-40.02943 -2.808426)', '2026-06-12 07:30:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029434 -2.808422)'), GeomFromEWKT('SRID=4674;POINT (-40.02943 -2.808426)'))) / (select extract(epoch from '2026-06-12 07:30:16'::timestamp) - extract(epoch from '2026-06-12 07:30:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029434 -2.808422)'), GeomFromEWKT('SRID=4674;POINT (-40.02943 -2.808426)'))) / (select extract(epoch from '2026-06-12 07:30:16'::timestamp) - extract(epoch from '2026-06-12 07: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'), 46702, 'SRID=4674;POINT (-40.02938 -2.808442)', '2026-06-12 07:30:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02943 -2.808426)'), GeomFromEWKT('SRID=4674;POINT (-40.02938 -2.808442)'))) / (select extract(epoch from '2026-06-12 07:30:45'::timestamp) - extract(epoch from '2026-06-12 07:30:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02943 -2.808426)'), GeomFromEWKT('SRID=4674;POINT (-40.02938 -2.808442)'))) / (select extract(epoch from '2026-06-12 07:30:45'::timestamp) - extract(epoch from '2026-06-12 07:30:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.029364 -2.808447)', '2026-06-12 07:30:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02938 -2.808442)'), GeomFromEWKT('SRID=4674;POINT (-40.029364 -2.808447)'))) / (select extract(epoch from '2026-06-12 07:30:47'::timestamp) - extract(epoch from '2026-06-12 07:30:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02938 -2.808442)'), GeomFromEWKT('SRID=4674;POINT (-40.029364 -2.808447)'))) / (select extract(epoch from '2026-06-12 07:30:47'::timestamp) - extract(epoch from '2026-06-12 07:30:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.029288 -2.808517)', '2026-06-12 07:30:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029364 -2.808447)'), GeomFromEWKT('SRID=4674;POINT (-40.029288 -2.808517)'))) / (select extract(epoch from '2026-06-12 07:30:56'::timestamp) - extract(epoch from '2026-06-12 07:30:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029364 -2.808447)'), GeomFromEWKT('SRID=4674;POINT (-40.029288 -2.808517)'))) / (select extract(epoch from '2026-06-12 07:30:56'::timestamp) - extract(epoch from '2026-06-12 07:30: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'), 46702, 'SRID=4674;POINT (-40.02928 -2.808565)', '2026-06-12 07:31:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029288 -2.808517)'), GeomFromEWKT('SRID=4674;POINT (-40.02928 -2.808565)'))) / (select extract(epoch from '2026-06-12 07:31:01'::timestamp) - extract(epoch from '2026-06-12 07:30:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029288 -2.808517)'), GeomFromEWKT('SRID=4674;POINT (-40.02928 -2.808565)'))) / (select extract(epoch from '2026-06-12 07:31:01'::timestamp) - extract(epoch from '2026-06-12 07:30: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'), 46702, 'SRID=4674;POINT (-40.029286 -2.808584)', '2026-06-12 07:31:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02928 -2.808565)'), GeomFromEWKT('SRID=4674;POINT (-40.029286 -2.808584)'))) / (select extract(epoch from '2026-06-12 07:31:03'::timestamp) - extract(epoch from '2026-06-12 07:31:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02928 -2.808565)'), GeomFromEWKT('SRID=4674;POINT (-40.029286 -2.808584)'))) / (select extract(epoch from '2026-06-12 07:31:03'::timestamp) - extract(epoch from '2026-06-12 07: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'), 46702, 'SRID=4674;POINT (-40.02929 -2.808593)', '2026-06-12 07:31:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029286 -2.808584)'), GeomFromEWKT('SRID=4674;POINT (-40.02929 -2.808593)'))) / (select extract(epoch from '2026-06-12 07:31:04'::timestamp) - extract(epoch from '2026-06-12 07:31:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029286 -2.808584)'), GeomFromEWKT('SRID=4674;POINT (-40.02929 -2.808593)'))) / (select extract(epoch from '2026-06-12 07:31:04'::timestamp) - extract(epoch from '2026-06-12 07:31:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.029308 -2.808624)', '2026-06-12 07:31:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02929 -2.808593)'), GeomFromEWKT('SRID=4674;POINT (-40.029308 -2.808624)'))) / (select extract(epoch from '2026-06-12 07:31:08'::timestamp) - extract(epoch from '2026-06-12 07:31:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02929 -2.808593)'), GeomFromEWKT('SRID=4674;POINT (-40.029308 -2.808624)'))) / (select extract(epoch from '2026-06-12 07:31:08'::timestamp) - extract(epoch from '2026-06-12 07:31: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'), 46702, 'SRID=4674;POINT (-40.029329 -2.808635)', '2026-06-12 07:31:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029308 -2.808624)'), GeomFromEWKT('SRID=4674;POINT (-40.029329 -2.808635)'))) / (select extract(epoch from '2026-06-12 07:31:10'::timestamp) - extract(epoch from '2026-06-12 07:31:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029308 -2.808624)'), GeomFromEWKT('SRID=4674;POINT (-40.029329 -2.808635)'))) / (select extract(epoch from '2026-06-12 07:31:10'::timestamp) - extract(epoch from '2026-06-12 07: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'), 46702, 'SRID=4674;POINT (-40.029383 -2.808642)', '2026-06-12 07:31:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029329 -2.808635)'), GeomFromEWKT('SRID=4674;POINT (-40.029383 -2.808642)'))) / (select extract(epoch from '2026-06-12 07:31:15'::timestamp) - extract(epoch from '2026-06-12 07:31:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029329 -2.808635)'), GeomFromEWKT('SRID=4674;POINT (-40.029383 -2.808642)'))) / (select extract(epoch from '2026-06-12 07:31:15'::timestamp) - extract(epoch from '2026-06-12 07:31:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.029464 -2.808582)', '2026-06-12 07:31:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029383 -2.808642)'), GeomFromEWKT('SRID=4674;POINT (-40.029464 -2.808582)'))) / (select extract(epoch from '2026-06-12 07:31:22'::timestamp) - extract(epoch from '2026-06-12 07:31:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029383 -2.808642)'), GeomFromEWKT('SRID=4674;POINT (-40.029464 -2.808582)'))) / (select extract(epoch from '2026-06-12 07:31:22'::timestamp) - extract(epoch from '2026-06-12 07:31:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.029487 -2.808467)', '2026-06-12 07:31:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029464 -2.808582)'), GeomFromEWKT('SRID=4674;POINT (-40.029487 -2.808467)'))) / (select extract(epoch from '2026-06-12 07:31:30'::timestamp) - extract(epoch from '2026-06-12 07:31:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029464 -2.808582)'), GeomFromEWKT('SRID=4674;POINT (-40.029487 -2.808467)'))) / (select extract(epoch from '2026-06-12 07:31:30'::timestamp) - extract(epoch from '2026-06-12 07:31: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'), 46702, 'SRID=4674;POINT (-40.029446 -2.808395)', '2026-06-12 07:31:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029487 -2.808467)'), GeomFromEWKT('SRID=4674;POINT (-40.029446 -2.808395)'))) / (select extract(epoch from '2026-06-12 07:31:37'::timestamp) - extract(epoch from '2026-06-12 07:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029487 -2.808467)'), GeomFromEWKT('SRID=4674;POINT (-40.029446 -2.808395)'))) / (select extract(epoch from '2026-06-12 07:31:37'::timestamp) - extract(epoch from '2026-06-12 07:31: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'), 46702, 'SRID=4674;POINT (-40.029372 -2.808302)', '2026-06-12 07:31:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029446 -2.808395)'), GeomFromEWKT('SRID=4674;POINT (-40.029372 -2.808302)'))) / (select extract(epoch from '2026-06-12 07:31:47'::timestamp) - extract(epoch from '2026-06-12 07:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029446 -2.808395)'), GeomFromEWKT('SRID=4674;POINT (-40.029372 -2.808302)'))) / (select extract(epoch from '2026-06-12 07:31:47'::timestamp) - extract(epoch from '2026-06-12 07:31: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'), 46702, 'SRID=4674;POINT (-40.029352 -2.808237)', '2026-06-12 07:31:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029372 -2.808302)'), GeomFromEWKT('SRID=4674;POINT (-40.029352 -2.808237)'))) / (select extract(epoch from '2026-06-12 07:31:52'::timestamp) - extract(epoch from '2026-06-12 07:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029372 -2.808302)'), GeomFromEWKT('SRID=4674;POINT (-40.029352 -2.808237)'))) / (select extract(epoch from '2026-06-12 07:31:52'::timestamp) - extract(epoch from '2026-06-12 07:31:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.029333 -2.808118)', '2026-06-12 07:31:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029352 -2.808237)'), GeomFromEWKT('SRID=4674;POINT (-40.029333 -2.808118)'))) / (select extract(epoch from '2026-06-12 07:31:59'::timestamp) - extract(epoch from '2026-06-12 07:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029352 -2.808237)'), GeomFromEWKT('SRID=4674;POINT (-40.029333 -2.808118)'))) / (select extract(epoch from '2026-06-12 07:31:59'::timestamp) - extract(epoch from '2026-06-12 07: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'), 46702, 'SRID=4674;POINT (-40.029321 -2.807977)', '2026-06-12 07:32:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029333 -2.808118)'), GeomFromEWKT('SRID=4674;POINT (-40.029321 -2.807977)'))) / (select extract(epoch from '2026-06-12 07:32:07'::timestamp) - extract(epoch from '2026-06-12 07:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029333 -2.808118)'), GeomFromEWKT('SRID=4674;POINT (-40.029321 -2.807977)'))) / (select extract(epoch from '2026-06-12 07:32:07'::timestamp) - extract(epoch from '2026-06-12 07:31:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.029283 -2.80779)', '2026-06-12 07:32:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029321 -2.807977)'), GeomFromEWKT('SRID=4674;POINT (-40.029283 -2.80779)'))) / (select extract(epoch from '2026-06-12 07:32:17'::timestamp) - extract(epoch from '2026-06-12 07:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029321 -2.807977)'), GeomFromEWKT('SRID=4674;POINT (-40.029283 -2.80779)'))) / (select extract(epoch from '2026-06-12 07:32:17'::timestamp) - extract(epoch from '2026-06-12 07: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'), 46702, 'SRID=4674;POINT (-40.029259 -2.807615)', '2026-06-12 07:32:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029283 -2.80779)'), GeomFromEWKT('SRID=4674;POINT (-40.029259 -2.807615)'))) / (select extract(epoch from '2026-06-12 07:32:26'::timestamp) - extract(epoch from '2026-06-12 07:32:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029283 -2.80779)'), GeomFromEWKT('SRID=4674;POINT (-40.029259 -2.807615)'))) / (select extract(epoch from '2026-06-12 07:32:26'::timestamp) - extract(epoch from '2026-06-12 07:32: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'), 46702, 'SRID=4674;POINT (-40.029188 -2.807481)', '2026-06-12 07:32:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029259 -2.807615)'), GeomFromEWKT('SRID=4674;POINT (-40.029188 -2.807481)'))) / (select extract(epoch from '2026-06-12 07:32:35'::timestamp) - extract(epoch from '2026-06-12 07:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029259 -2.807615)'), GeomFromEWKT('SRID=4674;POINT (-40.029188 -2.807481)'))) / (select extract(epoch from '2026-06-12 07:32:35'::timestamp) - extract(epoch from '2026-06-12 07:32: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'), 46702, 'SRID=4674;POINT (-40.029118 -2.807342)', '2026-06-12 07:32:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029188 -2.807481)'), GeomFromEWKT('SRID=4674;POINT (-40.029118 -2.807342)'))) / (select extract(epoch from '2026-06-12 07:32:45'::timestamp) - extract(epoch from '2026-06-12 07:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029188 -2.807481)'), GeomFromEWKT('SRID=4674;POINT (-40.029118 -2.807342)'))) / (select extract(epoch from '2026-06-12 07:32:45'::timestamp) - extract(epoch from '2026-06-12 07:32: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'), 46702, 'SRID=4674;POINT (-40.029047 -2.807287)', '2026-06-12 07:32:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029118 -2.807342)'), GeomFromEWKT('SRID=4674;POINT (-40.029047 -2.807287)'))) / (select extract(epoch from '2026-06-12 07:32:54'::timestamp) - extract(epoch from '2026-06-12 07:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029118 -2.807342)'), GeomFromEWKT('SRID=4674;POINT (-40.029047 -2.807287)'))) / (select extract(epoch from '2026-06-12 07:32:54'::timestamp) - extract(epoch from '2026-06-12 07:32:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.028995 -2.80725)', '2026-06-12 07:33:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029047 -2.807287)'), GeomFromEWKT('SRID=4674;POINT (-40.028995 -2.80725)'))) / (select extract(epoch from '2026-06-12 07:33:05'::timestamp) - extract(epoch from '2026-06-12 07:32:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029047 -2.807287)'), GeomFromEWKT('SRID=4674;POINT (-40.028995 -2.80725)'))) / (select extract(epoch from '2026-06-12 07:33:05'::timestamp) - extract(epoch from '2026-06-12 07:32: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'), 46702, 'SRID=4674;POINT (-40.028952 -2.807232)', '2026-06-12 07:33:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028995 -2.80725)'), GeomFromEWKT('SRID=4674;POINT (-40.028952 -2.807232)'))) / (select extract(epoch from '2026-06-12 07:33:18'::timestamp) - extract(epoch from '2026-06-12 07:33:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028995 -2.80725)'), GeomFromEWKT('SRID=4674;POINT (-40.028952 -2.807232)'))) / (select extract(epoch from '2026-06-12 07:33:18'::timestamp) - extract(epoch from '2026-06-12 07:33: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'), 46702, 'SRID=4674;POINT (-40.028974 -2.807215)', '2026-06-12 07:33:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028952 -2.807232)'), GeomFromEWKT('SRID=4674;POINT (-40.028974 -2.807215)'))) / (select extract(epoch from '2026-06-12 07:33:43'::timestamp) - extract(epoch from '2026-06-12 07:33:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028952 -2.807232)'), GeomFromEWKT('SRID=4674;POINT (-40.028974 -2.807215)'))) / (select extract(epoch from '2026-06-12 07:33:43'::timestamp) - extract(epoch from '2026-06-12 07:33: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'), 46702, 'SRID=4674;POINT (-40.028994 -2.80722)', '2026-06-12 07:33:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028974 -2.807215)'), GeomFromEWKT('SRID=4674;POINT (-40.028994 -2.80722)'))) / (select extract(epoch from '2026-06-12 07:33:55'::timestamp) - extract(epoch from '2026-06-12 07:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028974 -2.807215)'), GeomFromEWKT('SRID=4674;POINT (-40.028994 -2.80722)'))) / (select extract(epoch from '2026-06-12 07:33:55'::timestamp) - extract(epoch from '2026-06-12 07:33: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'), 46702, 'SRID=4674;POINT (-40.028964 -2.807236)', '2026-06-12 07:34:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028994 -2.80722)'), GeomFromEWKT('SRID=4674;POINT (-40.028964 -2.807236)'))) / (select extract(epoch from '2026-06-12 07:34:02'::timestamp) - extract(epoch from '2026-06-12 07:33:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028994 -2.80722)'), GeomFromEWKT('SRID=4674;POINT (-40.028964 -2.807236)'))) / (select extract(epoch from '2026-06-12 07:34:02'::timestamp) - extract(epoch from '2026-06-12 07:33:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.028973 -2.807227)', '2026-06-12 07:34:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028964 -2.807236)'), GeomFromEWKT('SRID=4674;POINT (-40.028973 -2.807227)'))) / (select extract(epoch from '2026-06-12 07:34:07'::timestamp) - extract(epoch from '2026-06-12 07:34:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028964 -2.807236)'), GeomFromEWKT('SRID=4674;POINT (-40.028973 -2.807227)'))) / (select extract(epoch from '2026-06-12 07:34:07'::timestamp) - extract(epoch from '2026-06-12 07:34: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'), 46702, 'SRID=4674;POINT (-40.028992 -2.80722)', '2026-06-12 07:34:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028973 -2.807227)'), GeomFromEWKT('SRID=4674;POINT (-40.028992 -2.80722)'))) / (select extract(epoch from '2026-06-12 07:34:11'::timestamp) - extract(epoch from '2026-06-12 07:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028973 -2.807227)'), GeomFromEWKT('SRID=4674;POINT (-40.028992 -2.80722)'))) / (select extract(epoch from '2026-06-12 07:34:11'::timestamp) - extract(epoch from '2026-06-12 07:34: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'), 46702, 'SRID=4674;POINT (-40.029004 -2.80721)', '2026-06-12 07:34:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028992 -2.80722)'), GeomFromEWKT('SRID=4674;POINT (-40.029004 -2.80721)'))) / (select extract(epoch from '2026-06-12 07:34:14'::timestamp) - extract(epoch from '2026-06-12 07:34:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028992 -2.80722)'), GeomFromEWKT('SRID=4674;POINT (-40.029004 -2.80721)'))) / (select extract(epoch from '2026-06-12 07:34:14'::timestamp) - extract(epoch from '2026-06-12 07:34:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.029029 -2.80719)', '2026-06-12 07:34:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029004 -2.80721)'), GeomFromEWKT('SRID=4674;POINT (-40.029029 -2.80719)'))) / (select extract(epoch from '2026-06-12 07:34:21'::timestamp) - extract(epoch from '2026-06-12 07:34:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029004 -2.80721)'), GeomFromEWKT('SRID=4674;POINT (-40.029029 -2.80719)'))) / (select extract(epoch from '2026-06-12 07:34:21'::timestamp) - extract(epoch from '2026-06-12 07: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'), 46702, 'SRID=4674;POINT (-40.029059 -2.807165)', '2026-06-12 07:34:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029029 -2.80719)'), GeomFromEWKT('SRID=4674;POINT (-40.029059 -2.807165)'))) / (select extract(epoch from '2026-06-12 07:34:28'::timestamp) - extract(epoch from '2026-06-12 07:34:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029029 -2.80719)'), GeomFromEWKT('SRID=4674;POINT (-40.029059 -2.807165)'))) / (select extract(epoch from '2026-06-12 07:34:28'::timestamp) - extract(epoch from '2026-06-12 07:34: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'), 46702, 'SRID=4674;POINT (-40.029069 -2.807174)', '2026-06-12 07:34:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029059 -2.807165)'), GeomFromEWKT('SRID=4674;POINT (-40.029069 -2.807174)'))) / (select extract(epoch from '2026-06-12 07:34:38'::timestamp) - extract(epoch from '2026-06-12 07:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029059 -2.807165)'), GeomFromEWKT('SRID=4674;POINT (-40.029069 -2.807174)'))) / (select extract(epoch from '2026-06-12 07:34:38'::timestamp) - extract(epoch from '2026-06-12 07:34:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.029082 -2.807189)', '2026-06-12 07:34:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029069 -2.807174)'), GeomFromEWKT('SRID=4674;POINT (-40.029082 -2.807189)'))) / (select extract(epoch from '2026-06-12 07:34:55'::timestamp) - extract(epoch from '2026-06-12 07:34:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029069 -2.807174)'), GeomFromEWKT('SRID=4674;POINT (-40.029082 -2.807189)'))) / (select extract(epoch from '2026-06-12 07:34:55'::timestamp) - extract(epoch from '2026-06-12 07:34:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.029082 -2.80723)', '2026-06-12 07:35:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029082 -2.807189)'), GeomFromEWKT('SRID=4674;POINT (-40.029082 -2.80723)'))) / (select extract(epoch from '2026-06-12 07:35:23'::timestamp) - extract(epoch from '2026-06-12 07:34:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029082 -2.807189)'), GeomFromEWKT('SRID=4674;POINT (-40.029082 -2.80723)'))) / (select extract(epoch from '2026-06-12 07:35:23'::timestamp) - extract(epoch from '2026-06-12 07: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'), 46702, 'SRID=4674;POINT (-40.029028 -2.807281)', '2026-06-12 07:35:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029082 -2.80723)'), GeomFromEWKT('SRID=4674;POINT (-40.029028 -2.807281)'))) / (select extract(epoch from '2026-06-12 07:35:33'::timestamp) - extract(epoch from '2026-06-12 07:35:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029082 -2.80723)'), GeomFromEWKT('SRID=4674;POINT (-40.029028 -2.807281)'))) / (select extract(epoch from '2026-06-12 07:35:33'::timestamp) - extract(epoch from '2026-06-12 07:35: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'), 46702, 'SRID=4674;POINT (-40.029002 -2.807293)', '2026-06-12 07:35:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029028 -2.807281)'), GeomFromEWKT('SRID=4674;POINT (-40.029002 -2.807293)'))) / (select extract(epoch from '2026-06-12 07:35:36'::timestamp) - extract(epoch from '2026-06-12 07:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029028 -2.807281)'), GeomFromEWKT('SRID=4674;POINT (-40.029002 -2.807293)'))) / (select extract(epoch from '2026-06-12 07:35:36'::timestamp) - extract(epoch from '2026-06-12 07: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'), 46702, 'SRID=4674;POINT (-40.028989 -2.807304)', '2026-06-12 07:35:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029002 -2.807293)'), GeomFromEWKT('SRID=4674;POINT (-40.028989 -2.807304)'))) / (select extract(epoch from '2026-06-12 07:35:38'::timestamp) - extract(epoch from '2026-06-12 07:35:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029002 -2.807293)'), GeomFromEWKT('SRID=4674;POINT (-40.028989 -2.807304)'))) / (select extract(epoch from '2026-06-12 07:35:38'::timestamp) - extract(epoch from '2026-06-12 07:35: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'), 46702, 'SRID=4674;POINT (-40.028949 -2.807316)', '2026-06-12 07:35:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028989 -2.807304)'), GeomFromEWKT('SRID=4674;POINT (-40.028949 -2.807316)'))) / (select extract(epoch from '2026-06-12 07:35:42'::timestamp) - extract(epoch from '2026-06-12 07:35:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028989 -2.807304)'), GeomFromEWKT('SRID=4674;POINT (-40.028949 -2.807316)'))) / (select extract(epoch from '2026-06-12 07:35:42'::timestamp) - extract(epoch from '2026-06-12 07:35: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'), 46702, 'SRID=4674;POINT (-40.028936 -2.80732)', '2026-06-12 07:35:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028949 -2.807316)'), GeomFromEWKT('SRID=4674;POINT (-40.028936 -2.80732)'))) / (select extract(epoch from '2026-06-12 07:35:43'::timestamp) - extract(epoch from '2026-06-12 07:35:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028949 -2.807316)'), GeomFromEWKT('SRID=4674;POINT (-40.028936 -2.80732)'))) / (select extract(epoch from '2026-06-12 07:35:43'::timestamp) - extract(epoch from '2026-06-12 07:35:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.028917 -2.807317)', '2026-06-12 07:35:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028936 -2.80732)'), GeomFromEWKT('SRID=4674;POINT (-40.028917 -2.807317)'))) / (select extract(epoch from '2026-06-12 07:35:45'::timestamp) - extract(epoch from '2026-06-12 07:35:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028936 -2.80732)'), GeomFromEWKT('SRID=4674;POINT (-40.028917 -2.807317)'))) / (select extract(epoch from '2026-06-12 07:35:45'::timestamp) - extract(epoch from '2026-06-12 07:35:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.028894 -2.807316)', '2026-06-12 07:35:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028917 -2.807317)'), GeomFromEWKT('SRID=4674;POINT (-40.028894 -2.807316)'))) / (select extract(epoch from '2026-06-12 07:35:47'::timestamp) - extract(epoch from '2026-06-12 07:35:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028917 -2.807317)'), GeomFromEWKT('SRID=4674;POINT (-40.028894 -2.807316)'))) / (select extract(epoch from '2026-06-12 07:35:47'::timestamp) - extract(epoch from '2026-06-12 07: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'), 46702, 'SRID=4674;POINT (-40.028807 -2.807234)', '2026-06-12 07:35:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028894 -2.807316)'), GeomFromEWKT('SRID=4674;POINT (-40.028807 -2.807234)'))) / (select extract(epoch from '2026-06-12 07:35:56'::timestamp) - extract(epoch from '2026-06-12 07:35:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028894 -2.807316)'), GeomFromEWKT('SRID=4674;POINT (-40.028807 -2.807234)'))) / (select extract(epoch from '2026-06-12 07:35:56'::timestamp) - extract(epoch from '2026-06-12 07: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'), 46702, 'SRID=4674;POINT (-40.028769 -2.807117)', '2026-06-12 07:36:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028807 -2.807234)'), GeomFromEWKT('SRID=4674;POINT (-40.028769 -2.807117)'))) / (select extract(epoch from '2026-06-12 07:36:04'::timestamp) - extract(epoch from '2026-06-12 07:35:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028807 -2.807234)'), GeomFromEWKT('SRID=4674;POINT (-40.028769 -2.807117)'))) / (select extract(epoch from '2026-06-12 07:36:04'::timestamp) - extract(epoch from '2026-06-12 07:35: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'), 46702, 'SRID=4674;POINT (-40.028695 -2.806993)', '2026-06-12 07:36:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028769 -2.807117)'), GeomFromEWKT('SRID=4674;POINT (-40.028695 -2.806993)'))) / (select extract(epoch from '2026-06-12 07:36:13'::timestamp) - extract(epoch from '2026-06-12 07:36:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028769 -2.807117)'), GeomFromEWKT('SRID=4674;POINT (-40.028695 -2.806993)'))) / (select extract(epoch from '2026-06-12 07:36:13'::timestamp) - extract(epoch from '2026-06-12 07:36:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.028567 -2.806861)', '2026-06-12 07:36:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028695 -2.806993)'), GeomFromEWKT('SRID=4674;POINT (-40.028567 -2.806861)'))) / (select extract(epoch from '2026-06-12 07:36:23'::timestamp) - extract(epoch from '2026-06-12 07:36:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028695 -2.806993)'), GeomFromEWKT('SRID=4674;POINT (-40.028567 -2.806861)'))) / (select extract(epoch from '2026-06-12 07:36:23'::timestamp) - extract(epoch from '2026-06-12 07:36:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.02849 -2.806692)', '2026-06-12 07:36:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028567 -2.806861)'), GeomFromEWKT('SRID=4674;POINT (-40.02849 -2.806692)'))) / (select extract(epoch from '2026-06-12 07:36:33'::timestamp) - extract(epoch from '2026-06-12 07:36:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028567 -2.806861)'), GeomFromEWKT('SRID=4674;POINT (-40.02849 -2.806692)'))) / (select extract(epoch from '2026-06-12 07:36:33'::timestamp) - extract(epoch from '2026-06-12 07: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'), 46702, 'SRID=4674;POINT (-40.028444 -2.806494)', '2026-06-12 07:36:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02849 -2.806692)'), GeomFromEWKT('SRID=4674;POINT (-40.028444 -2.806494)'))) / (select extract(epoch from '2026-06-12 07:36:44'::timestamp) - extract(epoch from '2026-06-12 07:36:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02849 -2.806692)'), GeomFromEWKT('SRID=4674;POINT (-40.028444 -2.806494)'))) / (select extract(epoch from '2026-06-12 07:36:44'::timestamp) - extract(epoch from '2026-06-12 07:36:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.028417 -2.806345)', '2026-06-12 07:36:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028444 -2.806494)'), GeomFromEWKT('SRID=4674;POINT (-40.028417 -2.806345)'))) / (select extract(epoch from '2026-06-12 07:36:53'::timestamp) - extract(epoch from '2026-06-12 07:36:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028444 -2.806494)'), GeomFromEWKT('SRID=4674;POINT (-40.028417 -2.806345)'))) / (select extract(epoch from '2026-06-12 07:36:53'::timestamp) - extract(epoch from '2026-06-12 07:36:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.028402 -2.806271)', '2026-06-12 07:36:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028417 -2.806345)'), GeomFromEWKT('SRID=4674;POINT (-40.028402 -2.806271)'))) / (select extract(epoch from '2026-06-12 07:36:59'::timestamp) - extract(epoch from '2026-06-12 07:36:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028417 -2.806345)'), GeomFromEWKT('SRID=4674;POINT (-40.028402 -2.806271)'))) / (select extract(epoch from '2026-06-12 07:36:59'::timestamp) - extract(epoch from '2026-06-12 07:36:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.028385 -2.806201)', '2026-06-12 07:37:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028402 -2.806271)'), GeomFromEWKT('SRID=4674;POINT (-40.028385 -2.806201)'))) / (select extract(epoch from '2026-06-12 07:37:10'::timestamp) - extract(epoch from '2026-06-12 07:36:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028402 -2.806271)'), GeomFromEWKT('SRID=4674;POINT (-40.028385 -2.806201)'))) / (select extract(epoch from '2026-06-12 07:37:10'::timestamp) - extract(epoch from '2026-06-12 07: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'), 46702, 'SRID=4674;POINT (-40.028379 -2.80617)', '2026-06-12 07:37:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028385 -2.806201)'), GeomFromEWKT('SRID=4674;POINT (-40.028379 -2.80617)'))) / (select extract(epoch from '2026-06-12 07:37:30'::timestamp) - extract(epoch from '2026-06-12 07:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028385 -2.806201)'), GeomFromEWKT('SRID=4674;POINT (-40.028379 -2.80617)'))) / (select extract(epoch from '2026-06-12 07:37:30'::timestamp) - extract(epoch from '2026-06-12 07:37:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.028393 -2.80616)', '2026-06-12 07:38:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028379 -2.80617)'), GeomFromEWKT('SRID=4674;POINT (-40.028393 -2.80616)'))) / (select extract(epoch from '2026-06-12 07:38:03'::timestamp) - extract(epoch from '2026-06-12 07:37:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028379 -2.80617)'), GeomFromEWKT('SRID=4674;POINT (-40.028393 -2.80616)'))) / (select extract(epoch from '2026-06-12 07:38:03'::timestamp) - extract(epoch from '2026-06-12 07:37: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'), 46702, 'SRID=4674;POINT (-40.028404 -2.806168)', '2026-06-12 07:38:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028393 -2.80616)'), GeomFromEWKT('SRID=4674;POINT (-40.028404 -2.806168)'))) / (select extract(epoch from '2026-06-12 07:38:17'::timestamp) - extract(epoch from '2026-06-12 07:38:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028393 -2.80616)'), GeomFromEWKT('SRID=4674;POINT (-40.028404 -2.806168)'))) / (select extract(epoch from '2026-06-12 07:38:17'::timestamp) - extract(epoch from '2026-06-12 07:38: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'), 46702, 'SRID=4674;POINT (-40.028434 -2.806176)', '2026-06-12 07:38:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028404 -2.806168)'), GeomFromEWKT('SRID=4674;POINT (-40.028434 -2.806176)'))) / (select extract(epoch from '2026-06-12 07:38:37'::timestamp) - extract(epoch from '2026-06-12 07:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028404 -2.806168)'), GeomFromEWKT('SRID=4674;POINT (-40.028434 -2.806176)'))) / (select extract(epoch from '2026-06-12 07:38:37'::timestamp) - extract(epoch from '2026-06-12 07:38:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.028435 -2.806179)', '2026-06-12 07:38:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028434 -2.806176)'), GeomFromEWKT('SRID=4674;POINT (-40.028435 -2.806179)'))) / (select extract(epoch from '2026-06-12 07:38:44'::timestamp) - extract(epoch from '2026-06-12 07:38:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028434 -2.806176)'), GeomFromEWKT('SRID=4674;POINT (-40.028435 -2.806179)'))) / (select extract(epoch from '2026-06-12 07:38:44'::timestamp) - extract(epoch from '2026-06-12 07: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'), 46702, 'SRID=4674;POINT (-40.02842 -2.806174)', '2026-06-12 07:38:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028435 -2.806179)'), GeomFromEWKT('SRID=4674;POINT (-40.02842 -2.806174)'))) / (select extract(epoch from '2026-06-12 07:38:53'::timestamp) - extract(epoch from '2026-06-12 07:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028435 -2.806179)'), GeomFromEWKT('SRID=4674;POINT (-40.02842 -2.806174)'))) / (select extract(epoch from '2026-06-12 07:38:53'::timestamp) - extract(epoch from '2026-06-12 07:38:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.0284 -2.806142)', '2026-06-12 07:39:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02842 -2.806174)'), GeomFromEWKT('SRID=4674;POINT (-40.0284 -2.806142)'))) / (select extract(epoch from '2026-06-12 07:39:01'::timestamp) - extract(epoch from '2026-06-12 07:38:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02842 -2.806174)'), GeomFromEWKT('SRID=4674;POINT (-40.0284 -2.806142)'))) / (select extract(epoch from '2026-06-12 07:39:01'::timestamp) - extract(epoch from '2026-06-12 07: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'), 46702, 'SRID=4674;POINT (-40.028408 -2.806146)', '2026-06-12 07:39:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0284 -2.806142)'), GeomFromEWKT('SRID=4674;POINT (-40.028408 -2.806146)'))) / (select extract(epoch from '2026-06-12 07:39:09'::timestamp) - extract(epoch from '2026-06-12 07:39:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0284 -2.806142)'), GeomFromEWKT('SRID=4674;POINT (-40.028408 -2.806146)'))) / (select extract(epoch from '2026-06-12 07:39:09'::timestamp) - extract(epoch from '2026-06-12 07:39:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.028438 -2.806172)', '2026-06-12 07:39:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028408 -2.806146)'), GeomFromEWKT('SRID=4674;POINT (-40.028438 -2.806172)'))) / (select extract(epoch from '2026-06-12 07:39:17'::timestamp) - extract(epoch from '2026-06-12 07:39:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028408 -2.806146)'), GeomFromEWKT('SRID=4674;POINT (-40.028438 -2.806172)'))) / (select extract(epoch from '2026-06-12 07:39:17'::timestamp) - extract(epoch from '2026-06-12 07:39: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'), 46702, 'SRID=4674;POINT (-40.028459 -2.806184)', '2026-06-12 07:39:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028438 -2.806172)'), GeomFromEWKT('SRID=4674;POINT (-40.028459 -2.806184)'))) / (select extract(epoch from '2026-06-12 07:39:22'::timestamp) - extract(epoch from '2026-06-12 07:39:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028438 -2.806172)'), GeomFromEWKT('SRID=4674;POINT (-40.028459 -2.806184)'))) / (select extract(epoch from '2026-06-12 07:39:22'::timestamp) - extract(epoch from '2026-06-12 07:39: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'), 46702, 'SRID=4674;POINT (-40.028466 -2.806184)', '2026-06-12 07:39:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028459 -2.806184)'), GeomFromEWKT('SRID=4674;POINT (-40.028466 -2.806184)'))) / (select extract(epoch from '2026-06-12 07:39:23'::timestamp) - extract(epoch from '2026-06-12 07:39:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028459 -2.806184)'), GeomFromEWKT('SRID=4674;POINT (-40.028466 -2.806184)'))) / (select extract(epoch from '2026-06-12 07:39:23'::timestamp) - extract(epoch from '2026-06-12 07:39:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.028478 -2.806184)', '2026-06-12 07:39:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028466 -2.806184)'), GeomFromEWKT('SRID=4674;POINT (-40.028478 -2.806184)'))) / (select extract(epoch from '2026-06-12 07:39:24'::timestamp) - extract(epoch from '2026-06-12 07:39:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028466 -2.806184)'), GeomFromEWKT('SRID=4674;POINT (-40.028478 -2.806184)'))) / (select extract(epoch from '2026-06-12 07:39:24'::timestamp) - extract(epoch from '2026-06-12 07: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'), 46702, 'SRID=4674;POINT (-40.028482 -2.806181)', '2026-06-12 07:39:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028478 -2.806184)'), GeomFromEWKT('SRID=4674;POINT (-40.028482 -2.806181)'))) / (select extract(epoch from '2026-06-12 07:39:27'::timestamp) - extract(epoch from '2026-06-12 07:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028478 -2.806184)'), GeomFromEWKT('SRID=4674;POINT (-40.028482 -2.806181)'))) / (select extract(epoch from '2026-06-12 07:39:27'::timestamp) - extract(epoch from '2026-06-12 07:39:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.028473 -2.806174)', '2026-06-12 07:39:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028482 -2.806181)'), GeomFromEWKT('SRID=4674;POINT (-40.028473 -2.806174)'))) / (select extract(epoch from '2026-06-12 07:39:47'::timestamp) - extract(epoch from '2026-06-12 07:39:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028482 -2.806181)'), GeomFromEWKT('SRID=4674;POINT (-40.028473 -2.806174)'))) / (select extract(epoch from '2026-06-12 07:39:47'::timestamp) - extract(epoch from '2026-06-12 07:39: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'), 46702, 'SRID=4674;POINT (-40.028474 -2.806177)', '2026-06-12 07:40:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028473 -2.806174)'), GeomFromEWKT('SRID=4674;POINT (-40.028474 -2.806177)'))) / (select extract(epoch from '2026-06-12 07:40:31'::timestamp) - extract(epoch from '2026-06-12 07:39:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028473 -2.806174)'), GeomFromEWKT('SRID=4674;POINT (-40.028474 -2.806177)'))) / (select extract(epoch from '2026-06-12 07:40:31'::timestamp) - extract(epoch from '2026-06-12 07:39: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'), 46702, 'SRID=4674;POINT (-40.028463 -2.80618)', '2026-06-12 07:41:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028474 -2.806177)'), GeomFromEWKT('SRID=4674;POINT (-40.028463 -2.80618)'))) / (select extract(epoch from '2026-06-12 07:41:38'::timestamp) - extract(epoch from '2026-06-12 07:40:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028474 -2.806177)'), GeomFromEWKT('SRID=4674;POINT (-40.028463 -2.80618)'))) / (select extract(epoch from '2026-06-12 07:41:38'::timestamp) - extract(epoch from '2026-06-12 07:40: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'), 46702, 'SRID=4674;POINT (-40.028465 -2.806217)', '2026-06-12 07:41:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028463 -2.80618)'), GeomFromEWKT('SRID=4674;POINT (-40.028465 -2.806217)'))) / (select extract(epoch from '2026-06-12 07:41:46'::timestamp) - extract(epoch from '2026-06-12 07:41:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028463 -2.80618)'), GeomFromEWKT('SRID=4674;POINT (-40.028465 -2.806217)'))) / (select extract(epoch from '2026-06-12 07:41:46'::timestamp) - extract(epoch from '2026-06-12 07:41: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'), 46702, 'SRID=4674;POINT (-40.028429 -2.806294)', '2026-06-12 07:41:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028465 -2.806217)'), GeomFromEWKT('SRID=4674;POINT (-40.028429 -2.806294)'))) / (select extract(epoch from '2026-06-12 07:41:57'::timestamp) - extract(epoch from '2026-06-12 07:41:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028465 -2.806217)'), GeomFromEWKT('SRID=4674;POINT (-40.028429 -2.806294)'))) / (select extract(epoch from '2026-06-12 07:41:57'::timestamp) - extract(epoch from '2026-06-12 07:41:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.028346 -2.806326)', '2026-06-12 07:42:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028429 -2.806294)'), GeomFromEWKT('SRID=4674;POINT (-40.028346 -2.806326)'))) / (select extract(epoch from '2026-06-12 07:42:07'::timestamp) - extract(epoch from '2026-06-12 07:41:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028429 -2.806294)'), GeomFromEWKT('SRID=4674;POINT (-40.028346 -2.806326)'))) / (select extract(epoch from '2026-06-12 07:42:07'::timestamp) - extract(epoch from '2026-06-12 07:41:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.028273 -2.806321)', '2026-06-12 07:42:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028346 -2.806326)'), GeomFromEWKT('SRID=4674;POINT (-40.028273 -2.806321)'))) / (select extract(epoch from '2026-06-12 07:42:14'::timestamp) - extract(epoch from '2026-06-12 07:42:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028346 -2.806326)'), GeomFromEWKT('SRID=4674;POINT (-40.028273 -2.806321)'))) / (select extract(epoch from '2026-06-12 07:42:14'::timestamp) - extract(epoch from '2026-06-12 07:42:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.028161 -2.806272)', '2026-06-12 07:42:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028273 -2.806321)'), GeomFromEWKT('SRID=4674;POINT (-40.028161 -2.806272)'))) / (select extract(epoch from '2026-06-12 07:42:22'::timestamp) - extract(epoch from '2026-06-12 07:42:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028273 -2.806321)'), GeomFromEWKT('SRID=4674;POINT (-40.028161 -2.806272)'))) / (select extract(epoch from '2026-06-12 07:42:22'::timestamp) - extract(epoch from '2026-06-12 07:42: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'), 46702, 'SRID=4674;POINT (-40.028079 -2.806173)', '2026-06-12 07:42:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028161 -2.806272)'), GeomFromEWKT('SRID=4674;POINT (-40.028079 -2.806173)'))) / (select extract(epoch from '2026-06-12 07:42:29'::timestamp) - extract(epoch from '2026-06-12 07:42:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028161 -2.806272)'), GeomFromEWKT('SRID=4674;POINT (-40.028079 -2.806173)'))) / (select extract(epoch from '2026-06-12 07:42:29'::timestamp) - extract(epoch from '2026-06-12 07:42: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'), 46702, 'SRID=4674;POINT (-40.028027 -2.806006)', '2026-06-12 07:42:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028079 -2.806173)'), GeomFromEWKT('SRID=4674;POINT (-40.028027 -2.806006)'))) / (select extract(epoch from '2026-06-12 07:42:38'::timestamp) - extract(epoch from '2026-06-12 07:42:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028079 -2.806173)'), GeomFromEWKT('SRID=4674;POINT (-40.028027 -2.806006)'))) / (select extract(epoch from '2026-06-12 07:42:38'::timestamp) - extract(epoch from '2026-06-12 07:42: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'), 46702, 'SRID=4674;POINT (-40.028036 -2.805766)', '2026-06-12 07:42:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028027 -2.806006)'), GeomFromEWKT('SRID=4674;POINT (-40.028036 -2.805766)'))) / (select extract(epoch from '2026-06-12 07:42:50'::timestamp) - extract(epoch from '2026-06-12 07:42:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028027 -2.806006)'), GeomFromEWKT('SRID=4674;POINT (-40.028036 -2.805766)'))) / (select extract(epoch from '2026-06-12 07:42:50'::timestamp) - extract(epoch from '2026-06-12 07: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'), 46702, 'SRID=4674;POINT (-40.028015 -2.805582)', '2026-06-12 07:43:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028036 -2.805766)'), GeomFromEWKT('SRID=4674;POINT (-40.028015 -2.805582)'))) / (select extract(epoch from '2026-06-12 07:43:00'::timestamp) - extract(epoch from '2026-06-12 07:42:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028036 -2.805766)'), GeomFromEWKT('SRID=4674;POINT (-40.028015 -2.805582)'))) / (select extract(epoch from '2026-06-12 07:43:00'::timestamp) - extract(epoch from '2026-06-12 07:42:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.02795 -2.805392)', '2026-06-12 07:43:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028015 -2.805582)'), GeomFromEWKT('SRID=4674;POINT (-40.02795 -2.805392)'))) / (select extract(epoch from '2026-06-12 07:43:12'::timestamp) - extract(epoch from '2026-06-12 07:43:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028015 -2.805582)'), GeomFromEWKT('SRID=4674;POINT (-40.02795 -2.805392)'))) / (select extract(epoch from '2026-06-12 07:43:12'::timestamp) - extract(epoch from '2026-06-12 07:43: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'), 46702, 'SRID=4674;POINT (-40.027894 -2.805282)', '2026-06-12 07:43:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02795 -2.805392)'), GeomFromEWKT('SRID=4674;POINT (-40.027894 -2.805282)'))) / (select extract(epoch from '2026-06-12 07:43:21'::timestamp) - extract(epoch from '2026-06-12 07:43:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02795 -2.805392)'), GeomFromEWKT('SRID=4674;POINT (-40.027894 -2.805282)'))) / (select extract(epoch from '2026-06-12 07:43:21'::timestamp) - extract(epoch from '2026-06-12 07:43:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.027838 -2.805298)', '2026-06-12 07:43:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027894 -2.805282)'), GeomFromEWKT('SRID=4674;POINT (-40.027838 -2.805298)'))) / (select extract(epoch from '2026-06-12 07:43:28'::timestamp) - extract(epoch from '2026-06-12 07:43:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027894 -2.805282)'), GeomFromEWKT('SRID=4674;POINT (-40.027838 -2.805298)'))) / (select extract(epoch from '2026-06-12 07:43:28'::timestamp) - extract(epoch from '2026-06-12 07:43:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.027855 -2.805357)', '2026-06-12 07:43:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027838 -2.805298)'), GeomFromEWKT('SRID=4674;POINT (-40.027855 -2.805357)'))) / (select extract(epoch from '2026-06-12 07:43:37'::timestamp) - extract(epoch from '2026-06-12 07:43:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027838 -2.805298)'), GeomFromEWKT('SRID=4674;POINT (-40.027855 -2.805357)'))) / (select extract(epoch from '2026-06-12 07:43:37'::timestamp) - extract(epoch from '2026-06-12 07:43:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.027899 -2.805406)', '2026-06-12 07:43:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027855 -2.805357)'), GeomFromEWKT('SRID=4674;POINT (-40.027899 -2.805406)'))) / (select extract(epoch from '2026-06-12 07:43:45'::timestamp) - extract(epoch from '2026-06-12 07:43:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027855 -2.805357)'), GeomFromEWKT('SRID=4674;POINT (-40.027899 -2.805406)'))) / (select extract(epoch from '2026-06-12 07:43:45'::timestamp) - extract(epoch from '2026-06-12 07:43:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.027895 -2.805473)', '2026-06-12 07:43:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027899 -2.805406)'), GeomFromEWKT('SRID=4674;POINT (-40.027895 -2.805473)'))) / (select extract(epoch from '2026-06-12 07:43:57'::timestamp) - extract(epoch from '2026-06-12 07:43:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027899 -2.805406)'), GeomFromEWKT('SRID=4674;POINT (-40.027895 -2.805473)'))) / (select extract(epoch from '2026-06-12 07:43:57'::timestamp) - extract(epoch from '2026-06-12 07:43:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.02783 -2.805468)', '2026-06-12 07:44:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027895 -2.805473)'), GeomFromEWKT('SRID=4674;POINT (-40.02783 -2.805468)'))) / (select extract(epoch from '2026-06-12 07:44:06'::timestamp) - extract(epoch from '2026-06-12 07:43:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027895 -2.805473)'), GeomFromEWKT('SRID=4674;POINT (-40.02783 -2.805468)'))) / (select extract(epoch from '2026-06-12 07:44:06'::timestamp) - extract(epoch from '2026-06-12 07:43:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.027749 -2.805387)', '2026-06-12 07:44:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02783 -2.805468)'), GeomFromEWKT('SRID=4674;POINT (-40.027749 -2.805387)'))) / (select extract(epoch from '2026-06-12 07:44:17'::timestamp) - extract(epoch from '2026-06-12 07:44:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02783 -2.805468)'), GeomFromEWKT('SRID=4674;POINT (-40.027749 -2.805387)'))) / (select extract(epoch from '2026-06-12 07:44:17'::timestamp) - extract(epoch from '2026-06-12 07:44:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.027713 -2.805316)', '2026-06-12 07:44:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027749 -2.805387)'), GeomFromEWKT('SRID=4674;POINT (-40.027713 -2.805316)'))) / (select extract(epoch from '2026-06-12 07:44:27'::timestamp) - extract(epoch from '2026-06-12 07:44:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027749 -2.805387)'), GeomFromEWKT('SRID=4674;POINT (-40.027713 -2.805316)'))) / (select extract(epoch from '2026-06-12 07:44:27'::timestamp) - extract(epoch from '2026-06-12 07:44:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.027675 -2.805291)', '2026-06-12 07:44:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027713 -2.805316)'), GeomFromEWKT('SRID=4674;POINT (-40.027675 -2.805291)'))) / (select extract(epoch from '2026-06-12 07:44:43'::timestamp) - extract(epoch from '2026-06-12 07:44:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027713 -2.805316)'), GeomFromEWKT('SRID=4674;POINT (-40.027675 -2.805291)'))) / (select extract(epoch from '2026-06-12 07:44:43'::timestamp) - extract(epoch from '2026-06-12 07:44: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'), 46702, 'SRID=4674;POINT (-40.02768 -2.805259)', '2026-06-12 07:45:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027675 -2.805291)'), GeomFromEWKT('SRID=4674;POINT (-40.02768 -2.805259)'))) / (select extract(epoch from '2026-06-12 07:45:16'::timestamp) - extract(epoch from '2026-06-12 07:44:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027675 -2.805291)'), GeomFromEWKT('SRID=4674;POINT (-40.02768 -2.805259)'))) / (select extract(epoch from '2026-06-12 07:45:16'::timestamp) - extract(epoch from '2026-06-12 07:44: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'), 46702, 'SRID=4674;POINT (-40.027708 -2.80526)', '2026-06-12 07:45:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02768 -2.805259)'), GeomFromEWKT('SRID=4674;POINT (-40.027708 -2.80526)'))) / (select extract(epoch from '2026-06-12 07:45:51'::timestamp) - extract(epoch from '2026-06-12 07:45:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02768 -2.805259)'), GeomFromEWKT('SRID=4674;POINT (-40.027708 -2.80526)'))) / (select extract(epoch from '2026-06-12 07:45:51'::timestamp) - extract(epoch from '2026-06-12 07:45:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.027741 -2.805276)', '2026-06-12 07:46:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027708 -2.80526)'), GeomFromEWKT('SRID=4674;POINT (-40.027741 -2.805276)'))) / (select extract(epoch from '2026-06-12 07:46:31'::timestamp) - extract(epoch from '2026-06-12 07:45:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027708 -2.80526)'), GeomFromEWKT('SRID=4674;POINT (-40.027741 -2.805276)'))) / (select extract(epoch from '2026-06-12 07:46:31'::timestamp) - extract(epoch from '2026-06-12 07:45: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'), 46702, 'SRID=4674;POINT (-40.027736 -2.805258)', '2026-06-12 07:47:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027741 -2.805276)'), GeomFromEWKT('SRID=4674;POINT (-40.027736 -2.805258)'))) / (select extract(epoch from '2026-06-12 07:47:19'::timestamp) - extract(epoch from '2026-06-12 07:46:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027741 -2.805276)'), GeomFromEWKT('SRID=4674;POINT (-40.027736 -2.805258)'))) / (select extract(epoch from '2026-06-12 07:47:19'::timestamp) - extract(epoch from '2026-06-12 07:46: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'), 46702, 'SRID=4674;POINT (-40.027744 -2.805269)', '2026-06-12 07:48:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027736 -2.805258)'), GeomFromEWKT('SRID=4674;POINT (-40.027744 -2.805269)'))) / (select extract(epoch from '2026-06-12 07:48:16'::timestamp) - extract(epoch from '2026-06-12 07:47:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027736 -2.805258)'), GeomFromEWKT('SRID=4674;POINT (-40.027744 -2.805269)'))) / (select extract(epoch from '2026-06-12 07:48:16'::timestamp) - extract(epoch from '2026-06-12 07:47: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'), 46702, 'SRID=4674;POINT (-40.027734 -2.805281)', '2026-06-12 07:48:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027744 -2.805269)'), GeomFromEWKT('SRID=4674;POINT (-40.027734 -2.805281)'))) / (select extract(epoch from '2026-06-12 07:48:40'::timestamp) - extract(epoch from '2026-06-12 07:48:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027744 -2.805269)'), GeomFromEWKT('SRID=4674;POINT (-40.027734 -2.805281)'))) / (select extract(epoch from '2026-06-12 07:48:40'::timestamp) - extract(epoch from '2026-06-12 07:48: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'), 46702, 'SRID=4674;POINT (-40.027684 -2.80528)', '2026-06-12 07:48:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027734 -2.805281)'), GeomFromEWKT('SRID=4674;POINT (-40.027684 -2.80528)'))) / (select extract(epoch from '2026-06-12 07:48:48'::timestamp) - extract(epoch from '2026-06-12 07:48:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027734 -2.805281)'), GeomFromEWKT('SRID=4674;POINT (-40.027684 -2.80528)'))) / (select extract(epoch from '2026-06-12 07:48:48'::timestamp) - extract(epoch from '2026-06-12 07:48: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'), 46702, 'SRID=4674;POINT (-40.027659 -2.805247)', '2026-06-12 07:48:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027684 -2.80528)'), GeomFromEWKT('SRID=4674;POINT (-40.027659 -2.805247)'))) / (select extract(epoch from '2026-06-12 07:48:56'::timestamp) - extract(epoch from '2026-06-12 07:48:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027684 -2.80528)'), GeomFromEWKT('SRID=4674;POINT (-40.027659 -2.805247)'))) / (select extract(epoch from '2026-06-12 07:48:56'::timestamp) - extract(epoch from '2026-06-12 07:48:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.027639 -2.805256)', '2026-06-12 07:49:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027659 -2.805247)'), GeomFromEWKT('SRID=4674;POINT (-40.027639 -2.805256)'))) / (select extract(epoch from '2026-06-12 07:49:02'::timestamp) - extract(epoch from '2026-06-12 07:48:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027659 -2.805247)'), GeomFromEWKT('SRID=4674;POINT (-40.027639 -2.805256)'))) / (select extract(epoch from '2026-06-12 07:49:02'::timestamp) - extract(epoch from '2026-06-12 07:48:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.027632 -2.8053)', '2026-06-12 07:49:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027639 -2.805256)'), GeomFromEWKT('SRID=4674;POINT (-40.027632 -2.8053)'))) / (select extract(epoch from '2026-06-12 07:49:10'::timestamp) - extract(epoch from '2026-06-12 07:49:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027639 -2.805256)'), GeomFromEWKT('SRID=4674;POINT (-40.027632 -2.8053)'))) / (select extract(epoch from '2026-06-12 07:49:10'::timestamp) - extract(epoch from '2026-06-12 07:49:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.027657 -2.805291)', '2026-06-12 07:49:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027632 -2.8053)'), GeomFromEWKT('SRID=4674;POINT (-40.027657 -2.805291)'))) / (select extract(epoch from '2026-06-12 07:49:16'::timestamp) - extract(epoch from '2026-06-12 07:49:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027632 -2.8053)'), GeomFromEWKT('SRID=4674;POINT (-40.027657 -2.805291)'))) / (select extract(epoch from '2026-06-12 07:49:16'::timestamp) - extract(epoch from '2026-06-12 07:49: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'), 46702, 'SRID=4674;POINT (-40.027703 -2.805278)', '2026-06-12 07:49:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027657 -2.805291)'), GeomFromEWKT('SRID=4674;POINT (-40.027703 -2.805278)'))) / (select extract(epoch from '2026-06-12 07:49:23'::timestamp) - extract(epoch from '2026-06-12 07:49:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027657 -2.805291)'), GeomFromEWKT('SRID=4674;POINT (-40.027703 -2.805278)'))) / (select extract(epoch from '2026-06-12 07:49:23'::timestamp) - extract(epoch from '2026-06-12 07:49: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'), 46702, 'SRID=4674;POINT (-40.027744 -2.805255)', '2026-06-12 07:49:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027703 -2.805278)'), GeomFromEWKT('SRID=4674;POINT (-40.027744 -2.805255)'))) / (select extract(epoch from '2026-06-12 07:49:29'::timestamp) - extract(epoch from '2026-06-12 07:49:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027703 -2.805278)'), GeomFromEWKT('SRID=4674;POINT (-40.027744 -2.805255)'))) / (select extract(epoch from '2026-06-12 07:49:29'::timestamp) - extract(epoch from '2026-06-12 07: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'), 46702, 'SRID=4674;POINT (-40.027751 -2.805254)', '2026-06-12 07:49:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027744 -2.805255)'), GeomFromEWKT('SRID=4674;POINT (-40.027751 -2.805254)'))) / (select extract(epoch from '2026-06-12 07:49:30'::timestamp) - extract(epoch from '2026-06-12 07:49:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027744 -2.805255)'), GeomFromEWKT('SRID=4674;POINT (-40.027751 -2.805254)'))) / (select extract(epoch from '2026-06-12 07:49:30'::timestamp) - extract(epoch from '2026-06-12 07: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'), 46702, 'SRID=4674;POINT (-40.027753 -2.805246)', '2026-06-12 07:49:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027751 -2.805254)'), GeomFromEWKT('SRID=4674;POINT (-40.027753 -2.805246)'))) / (select extract(epoch from '2026-06-12 07:49:38'::timestamp) - extract(epoch from '2026-06-12 07:49:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027751 -2.805254)'), GeomFromEWKT('SRID=4674;POINT (-40.027753 -2.805246)'))) / (select extract(epoch from '2026-06-12 07:49:38'::timestamp) - extract(epoch from '2026-06-12 07:49: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'), 46702, 'SRID=4674;POINT (-40.027753 -2.805256)', '2026-06-12 07:50:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027753 -2.805246)'), GeomFromEWKT('SRID=4674;POINT (-40.027753 -2.805256)'))) / (select extract(epoch from '2026-06-12 07:50:16'::timestamp) - extract(epoch from '2026-06-12 07:49:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027753 -2.805246)'), GeomFromEWKT('SRID=4674;POINT (-40.027753 -2.805256)'))) / (select extract(epoch from '2026-06-12 07:50:16'::timestamp) - extract(epoch from '2026-06-12 07:49:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.027751 -2.805327)', '2026-06-12 07:50:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027753 -2.805256)'), GeomFromEWKT('SRID=4674;POINT (-40.027751 -2.805327)'))) / (select extract(epoch from '2026-06-12 07:50:47'::timestamp) - extract(epoch from '2026-06-12 07:50:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027753 -2.805256)'), GeomFromEWKT('SRID=4674;POINT (-40.027751 -2.805327)'))) / (select extract(epoch from '2026-06-12 07:50:47'::timestamp) - extract(epoch from '2026-06-12 07:50: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'), 46702, 'SRID=4674;POINT (-40.02771 -2.805371)', '2026-06-12 07:50:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027751 -2.805327)'), GeomFromEWKT('SRID=4674;POINT (-40.02771 -2.805371)'))) / (select extract(epoch from '2026-06-12 07:50:55'::timestamp) - extract(epoch from '2026-06-12 07:50:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027751 -2.805327)'), GeomFromEWKT('SRID=4674;POINT (-40.02771 -2.805371)'))) / (select extract(epoch from '2026-06-12 07:50:55'::timestamp) - extract(epoch from '2026-06-12 07:50:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.027662 -2.805366)', '2026-06-12 07:51:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02771 -2.805371)'), GeomFromEWKT('SRID=4674;POINT (-40.027662 -2.805366)'))) / (select extract(epoch from '2026-06-12 07:51:03'::timestamp) - extract(epoch from '2026-06-12 07:50:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02771 -2.805371)'), GeomFromEWKT('SRID=4674;POINT (-40.027662 -2.805366)'))) / (select extract(epoch from '2026-06-12 07:51:03'::timestamp) - extract(epoch from '2026-06-12 07:50: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'), 46702, 'SRID=4674;POINT (-40.027643 -2.805349)', '2026-06-12 07:51:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027662 -2.805366)'), GeomFromEWKT('SRID=4674;POINT (-40.027643 -2.805349)'))) / (select extract(epoch from '2026-06-12 07:51:06'::timestamp) - extract(epoch from '2026-06-12 07:51:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027662 -2.805366)'), GeomFromEWKT('SRID=4674;POINT (-40.027643 -2.805349)'))) / (select extract(epoch from '2026-06-12 07:51:06'::timestamp) - extract(epoch from '2026-06-12 07:51:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.02762 -2.805325)', '2026-06-12 07:51:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027643 -2.805349)'), GeomFromEWKT('SRID=4674;POINT (-40.02762 -2.805325)'))) / (select extract(epoch from '2026-06-12 07:51:10'::timestamp) - extract(epoch from '2026-06-12 07:51:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027643 -2.805349)'), GeomFromEWKT('SRID=4674;POINT (-40.02762 -2.805325)'))) / (select extract(epoch from '2026-06-12 07:51:10'::timestamp) - extract(epoch from '2026-06-12 07:51: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'), 46702, 'SRID=4674;POINT (-40.02758 -2.805234)', '2026-06-12 07:51:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02762 -2.805325)'), GeomFromEWKT('SRID=4674;POINT (-40.02758 -2.805234)'))) / (select extract(epoch from '2026-06-12 07:51:18'::timestamp) - extract(epoch from '2026-06-12 07:51:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02762 -2.805325)'), GeomFromEWKT('SRID=4674;POINT (-40.02758 -2.805234)'))) / (select extract(epoch from '2026-06-12 07:51:18'::timestamp) - extract(epoch from '2026-06-12 07:51:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.027597 -2.805097)', '2026-06-12 07:51:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02758 -2.805234)'), GeomFromEWKT('SRID=4674;POINT (-40.027597 -2.805097)'))) / (select extract(epoch from '2026-06-12 07:51:27'::timestamp) - extract(epoch from '2026-06-12 07:51:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02758 -2.805234)'), GeomFromEWKT('SRID=4674;POINT (-40.027597 -2.805097)'))) / (select extract(epoch from '2026-06-12 07:51:27'::timestamp) - extract(epoch from '2026-06-12 07:51: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'), 46702, 'SRID=4674;POINT (-40.027685 -2.804942)', '2026-06-12 07:51:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027597 -2.805097)'), GeomFromEWKT('SRID=4674;POINT (-40.027685 -2.804942)'))) / (select extract(epoch from '2026-06-12 07:51:37'::timestamp) - extract(epoch from '2026-06-12 07:51:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027597 -2.805097)'), GeomFromEWKT('SRID=4674;POINT (-40.027685 -2.804942)'))) / (select extract(epoch from '2026-06-12 07:51:37'::timestamp) - extract(epoch from '2026-06-12 07:51: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'), 46702, 'SRID=4674;POINT (-40.027739 -2.804776)', '2026-06-12 07:51:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027685 -2.804942)'), GeomFromEWKT('SRID=4674;POINT (-40.027739 -2.804776)'))) / (select extract(epoch from '2026-06-12 07:51:46'::timestamp) - extract(epoch from '2026-06-12 07:51:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027685 -2.804942)'), GeomFromEWKT('SRID=4674;POINT (-40.027739 -2.804776)'))) / (select extract(epoch from '2026-06-12 07:51:46'::timestamp) - extract(epoch from '2026-06-12 07:51: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'), 46702, 'SRID=4674;POINT (-40.027765 -2.804567)', '2026-06-12 07:51:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027739 -2.804776)'), GeomFromEWKT('SRID=4674;POINT (-40.027765 -2.804567)'))) / (select extract(epoch from '2026-06-12 07:51:57'::timestamp) - extract(epoch from '2026-06-12 07:51:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027739 -2.804776)'), GeomFromEWKT('SRID=4674;POINT (-40.027765 -2.804567)'))) / (select extract(epoch from '2026-06-12 07:51:57'::timestamp) - extract(epoch from '2026-06-12 07:51: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'), 46702, 'SRID=4674;POINT (-40.027766 -2.804363)', '2026-06-12 07:52:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027765 -2.804567)'), GeomFromEWKT('SRID=4674;POINT (-40.027766 -2.804363)'))) / (select extract(epoch from '2026-06-12 07:52:09'::timestamp) - extract(epoch from '2026-06-12 07:51:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027765 -2.804567)'), GeomFromEWKT('SRID=4674;POINT (-40.027766 -2.804363)'))) / (select extract(epoch from '2026-06-12 07:52:09'::timestamp) - extract(epoch from '2026-06-12 07:51:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.027767 -2.804243)', '2026-06-12 07:52:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027766 -2.804363)'), GeomFromEWKT('SRID=4674;POINT (-40.027767 -2.804243)'))) / (select extract(epoch from '2026-06-12 07:52:18'::timestamp) - extract(epoch from '2026-06-12 07:52:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027766 -2.804363)'), GeomFromEWKT('SRID=4674;POINT (-40.027767 -2.804243)'))) / (select extract(epoch from '2026-06-12 07:52:18'::timestamp) - extract(epoch from '2026-06-12 07: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'), 46702, 'SRID=4674;POINT (-40.02775 -2.804165)', '2026-06-12 07:52:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027767 -2.804243)'), GeomFromEWKT('SRID=4674;POINT (-40.02775 -2.804165)'))) / (select extract(epoch from '2026-06-12 07:52:28'::timestamp) - extract(epoch from '2026-06-12 07:52:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027767 -2.804243)'), GeomFromEWKT('SRID=4674;POINT (-40.02775 -2.804165)'))) / (select extract(epoch from '2026-06-12 07:52:28'::timestamp) - extract(epoch from '2026-06-12 07: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'), 46702, 'SRID=4674;POINT (-40.027726 -2.80414)', '2026-06-12 07:52:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02775 -2.804165)'), GeomFromEWKT('SRID=4674;POINT (-40.027726 -2.80414)'))) / (select extract(epoch from '2026-06-12 07:52:47'::timestamp) - extract(epoch from '2026-06-12 07:52:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02775 -2.804165)'), GeomFromEWKT('SRID=4674;POINT (-40.027726 -2.80414)'))) / (select extract(epoch from '2026-06-12 07:52:47'::timestamp) - extract(epoch from '2026-06-12 07:52: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'), 46702, 'SRID=4674;POINT (-40.027751 -2.80413)', '2026-06-12 07:53:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027726 -2.80414)'), GeomFromEWKT('SRID=4674;POINT (-40.027751 -2.80413)'))) / (select extract(epoch from '2026-06-12 07:53:09'::timestamp) - extract(epoch from '2026-06-12 07:52:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027726 -2.80414)'), GeomFromEWKT('SRID=4674;POINT (-40.027751 -2.80413)'))) / (select extract(epoch from '2026-06-12 07:53:09'::timestamp) - extract(epoch from '2026-06-12 07:52:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.027749 -2.80416)', '2026-06-12 07:53:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027751 -2.80413)'), GeomFromEWKT('SRID=4674;POINT (-40.027749 -2.80416)'))) / (select extract(epoch from '2026-06-12 07:53:16'::timestamp) - extract(epoch from '2026-06-12 07:53:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027751 -2.80413)'), GeomFromEWKT('SRID=4674;POINT (-40.027749 -2.80416)'))) / (select extract(epoch from '2026-06-12 07:53:16'::timestamp) - extract(epoch from '2026-06-12 07:53:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.027758 -2.804152)', '2026-06-12 07:53:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027749 -2.80416)'), GeomFromEWKT('SRID=4674;POINT (-40.027758 -2.804152)'))) / (select extract(epoch from '2026-06-12 07:53:20'::timestamp) - extract(epoch from '2026-06-12 07:53:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027749 -2.80416)'), GeomFromEWKT('SRID=4674;POINT (-40.027758 -2.804152)'))) / (select extract(epoch from '2026-06-12 07:53:20'::timestamp) - extract(epoch from '2026-06-12 07: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'), 46702, 'SRID=4674;POINT (-40.027764 -2.804144)', '2026-06-12 07:53:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027758 -2.804152)'), GeomFromEWKT('SRID=4674;POINT (-40.027764 -2.804144)'))) / (select extract(epoch from '2026-06-12 07:53:22'::timestamp) - extract(epoch from '2026-06-12 07:53:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027758 -2.804152)'), GeomFromEWKT('SRID=4674;POINT (-40.027764 -2.804144)'))) / (select extract(epoch from '2026-06-12 07:53:22'::timestamp) - extract(epoch from '2026-06-12 07:53: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'), 46702, 'SRID=4674;POINT (-40.027779 -2.804132)', '2026-06-12 07:53:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027764 -2.804144)'), GeomFromEWKT('SRID=4674;POINT (-40.027779 -2.804132)'))) / (select extract(epoch from '2026-06-12 07:53:31'::timestamp) - extract(epoch from '2026-06-12 07:53:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027764 -2.804144)'), GeomFromEWKT('SRID=4674;POINT (-40.027779 -2.804132)'))) / (select extract(epoch from '2026-06-12 07:53:31'::timestamp) - extract(epoch from '2026-06-12 07:53:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.027789 -2.804136)', '2026-06-12 07:53:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027779 -2.804132)'), GeomFromEWKT('SRID=4674;POINT (-40.027789 -2.804136)'))) / (select extract(epoch from '2026-06-12 07:53:51'::timestamp) - extract(epoch from '2026-06-12 07:53:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027779 -2.804132)'), GeomFromEWKT('SRID=4674;POINT (-40.027789 -2.804136)'))) / (select extract(epoch from '2026-06-12 07:53:51'::timestamp) - extract(epoch from '2026-06-12 07:53: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'), 46702, 'SRID=4674;POINT (-40.027791 -2.804146)', '2026-06-12 07:54:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027789 -2.804136)'), GeomFromEWKT('SRID=4674;POINT (-40.027791 -2.804146)'))) / (select extract(epoch from '2026-06-12 07:54:00'::timestamp) - extract(epoch from '2026-06-12 07:53:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027789 -2.804136)'), GeomFromEWKT('SRID=4674;POINT (-40.027791 -2.804146)'))) / (select extract(epoch from '2026-06-12 07:54:00'::timestamp) - extract(epoch from '2026-06-12 07:53:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.027769 -2.804176)', '2026-06-12 07:54:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027791 -2.804146)'), GeomFromEWKT('SRID=4674;POINT (-40.027769 -2.804176)'))) / (select extract(epoch from '2026-06-12 07:54:10'::timestamp) - extract(epoch from '2026-06-12 07:54:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027791 -2.804146)'), GeomFromEWKT('SRID=4674;POINT (-40.027769 -2.804176)'))) / (select extract(epoch from '2026-06-12 07:54:10'::timestamp) - extract(epoch from '2026-06-12 07:54: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'), 46702, 'SRID=4674;POINT (-40.027686 -2.804221)', '2026-06-12 07:54:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027769 -2.804176)'), GeomFromEWKT('SRID=4674;POINT (-40.027686 -2.804221)'))) / (select extract(epoch from '2026-06-12 07:54:23'::timestamp) - extract(epoch from '2026-06-12 07:54:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027769 -2.804176)'), GeomFromEWKT('SRID=4674;POINT (-40.027686 -2.804221)'))) / (select extract(epoch from '2026-06-12 07:54:23'::timestamp) - extract(epoch from '2026-06-12 07:54:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.027662 -2.804221)', '2026-06-12 07:54:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027686 -2.804221)'), GeomFromEWKT('SRID=4674;POINT (-40.027662 -2.804221)'))) / (select extract(epoch from '2026-06-12 07:54:25'::timestamp) - extract(epoch from '2026-06-12 07:54:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027686 -2.804221)'), GeomFromEWKT('SRID=4674;POINT (-40.027662 -2.804221)'))) / (select extract(epoch from '2026-06-12 07:54:25'::timestamp) - extract(epoch from '2026-06-12 07:54:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.027539 -2.804203)', '2026-06-12 07:54:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027662 -2.804221)'), GeomFromEWKT('SRID=4674;POINT (-40.027539 -2.804203)'))) / (select extract(epoch from '2026-06-12 07:54:34'::timestamp) - extract(epoch from '2026-06-12 07:54:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027662 -2.804221)'), GeomFromEWKT('SRID=4674;POINT (-40.027539 -2.804203)'))) / (select extract(epoch from '2026-06-12 07:54:34'::timestamp) - extract(epoch from '2026-06-12 07:54: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'), 46702, 'SRID=4674;POINT (-40.027433 -2.804153)', '2026-06-12 07:54:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027539 -2.804203)'), GeomFromEWKT('SRID=4674;POINT (-40.027433 -2.804153)'))) / (select extract(epoch from '2026-06-12 07:54:43'::timestamp) - extract(epoch from '2026-06-12 07:54:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027539 -2.804203)'), GeomFromEWKT('SRID=4674;POINT (-40.027433 -2.804153)'))) / (select extract(epoch from '2026-06-12 07:54:43'::timestamp) - extract(epoch from '2026-06-12 07:54: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'), 46702, 'SRID=4674;POINT (-40.027375 -2.804013)', '2026-06-12 07:54:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027433 -2.804153)'), GeomFromEWKT('SRID=4674;POINT (-40.027375 -2.804013)'))) / (select extract(epoch from '2026-06-12 07:54:52'::timestamp) - extract(epoch from '2026-06-12 07:54:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027433 -2.804153)'), GeomFromEWKT('SRID=4674;POINT (-40.027375 -2.804013)'))) / (select extract(epoch from '2026-06-12 07:54:52'::timestamp) - extract(epoch from '2026-06-12 07:54: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'), 46702, 'SRID=4674;POINT (-40.027428 -2.80385)', '2026-06-12 07:55:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027375 -2.804013)'), GeomFromEWKT('SRID=4674;POINT (-40.027428 -2.80385)'))) / (select extract(epoch from '2026-06-12 07:55:01'::timestamp) - extract(epoch from '2026-06-12 07:54:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027375 -2.804013)'), GeomFromEWKT('SRID=4674;POINT (-40.027428 -2.80385)'))) / (select extract(epoch from '2026-06-12 07:55:01'::timestamp) - extract(epoch from '2026-06-12 07:54: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'), 46702, 'SRID=4674;POINT (-40.027557 -2.803642)', '2026-06-12 07:55:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027428 -2.80385)'), GeomFromEWKT('SRID=4674;POINT (-40.027557 -2.803642)'))) / (select extract(epoch from '2026-06-12 07:55:13'::timestamp) - extract(epoch from '2026-06-12 07:55:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027428 -2.80385)'), GeomFromEWKT('SRID=4674;POINT (-40.027557 -2.803642)'))) / (select extract(epoch from '2026-06-12 07:55:13'::timestamp) - extract(epoch from '2026-06-12 07:55: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'), 46702, 'SRID=4674;POINT (-40.027706 -2.803428)', '2026-06-12 07:55:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027557 -2.803642)'), GeomFromEWKT('SRID=4674;POINT (-40.027706 -2.803428)'))) / (select extract(epoch from '2026-06-12 07:55:26'::timestamp) - extract(epoch from '2026-06-12 07:55:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027557 -2.803642)'), GeomFromEWKT('SRID=4674;POINT (-40.027706 -2.803428)'))) / (select extract(epoch from '2026-06-12 07:55:26'::timestamp) - extract(epoch from '2026-06-12 07:55: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'), 46702, 'SRID=4674;POINT (-40.027797 -2.803299)', '2026-06-12 07:55:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027706 -2.803428)'), GeomFromEWKT('SRID=4674;POINT (-40.027797 -2.803299)'))) / (select extract(epoch from '2026-06-12 07:55:35'::timestamp) - extract(epoch from '2026-06-12 07:55:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027706 -2.803428)'), GeomFromEWKT('SRID=4674;POINT (-40.027797 -2.803299)'))) / (select extract(epoch from '2026-06-12 07:55:35'::timestamp) - extract(epoch from '2026-06-12 07:55: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'), 46702, 'SRID=4674;POINT (-40.027894 -2.803175)', '2026-06-12 07:55:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027797 -2.803299)'), GeomFromEWKT('SRID=4674;POINT (-40.027894 -2.803175)'))) / (select extract(epoch from '2026-06-12 07:55:46'::timestamp) - extract(epoch from '2026-06-12 07:55:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027797 -2.803299)'), GeomFromEWKT('SRID=4674;POINT (-40.027894 -2.803175)'))) / (select extract(epoch from '2026-06-12 07:55:46'::timestamp) - extract(epoch from '2026-06-12 07:55: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'), 46702, 'SRID=4674;POINT (-40.027935 -2.803089)', '2026-06-12 07:55:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027894 -2.803175)'), GeomFromEWKT('SRID=4674;POINT (-40.027935 -2.803089)'))) / (select extract(epoch from '2026-06-12 07:55:56'::timestamp) - extract(epoch from '2026-06-12 07:55:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027894 -2.803175)'), GeomFromEWKT('SRID=4674;POINT (-40.027935 -2.803089)'))) / (select extract(epoch from '2026-06-12 07:55:56'::timestamp) - extract(epoch from '2026-06-12 07:55: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'), 46702, 'SRID=4674;POINT (-40.027935 -2.803034)', '2026-06-12 07:56:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027935 -2.803089)'), GeomFromEWKT('SRID=4674;POINT (-40.027935 -2.803034)'))) / (select extract(epoch from '2026-06-12 07:56:09'::timestamp) - extract(epoch from '2026-06-12 07:55:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027935 -2.803089)'), GeomFromEWKT('SRID=4674;POINT (-40.027935 -2.803034)'))) / (select extract(epoch from '2026-06-12 07:56:09'::timestamp) - extract(epoch from '2026-06-12 07:55:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.027932 -2.803001)', '2026-06-12 07:56:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027935 -2.803034)'), GeomFromEWKT('SRID=4674;POINT (-40.027932 -2.803001)'))) / (select extract(epoch from '2026-06-12 07:56:34'::timestamp) - extract(epoch from '2026-06-12 07:56:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027935 -2.803034)'), GeomFromEWKT('SRID=4674;POINT (-40.027932 -2.803001)'))) / (select extract(epoch from '2026-06-12 07:56:34'::timestamp) - extract(epoch from '2026-06-12 07:56: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'), 46702, 'SRID=4674;POINT (-40.027955 -2.803027)', '2026-06-12 07:56:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027932 -2.803001)'), GeomFromEWKT('SRID=4674;POINT (-40.027955 -2.803027)'))) / (select extract(epoch from '2026-06-12 07:56:55'::timestamp) - extract(epoch from '2026-06-12 07:56:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027932 -2.803001)'), GeomFromEWKT('SRID=4674;POINT (-40.027955 -2.803027)'))) / (select extract(epoch from '2026-06-12 07:56:55'::timestamp) - extract(epoch from '2026-06-12 07:56: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'), 46702, 'SRID=4674;POINT (-40.027962 -2.803046)', '2026-06-12 07:57:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027955 -2.803027)'), GeomFromEWKT('SRID=4674;POINT (-40.027962 -2.803046)'))) / (select extract(epoch from '2026-06-12 07:57:08'::timestamp) - extract(epoch from '2026-06-12 07:56:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027955 -2.803027)'), GeomFromEWKT('SRID=4674;POINT (-40.027962 -2.803046)'))) / (select extract(epoch from '2026-06-12 07:57:08'::timestamp) - extract(epoch from '2026-06-12 07:56:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.027961 -2.803062)', '2026-06-12 07:57:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027962 -2.803046)'), GeomFromEWKT('SRID=4674;POINT (-40.027961 -2.803062)'))) / (select extract(epoch from '2026-06-12 07:57:18'::timestamp) - extract(epoch from '2026-06-12 07:57:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027962 -2.803046)'), GeomFromEWKT('SRID=4674;POINT (-40.027961 -2.803062)'))) / (select extract(epoch from '2026-06-12 07:57:18'::timestamp) - extract(epoch from '2026-06-12 07:57: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'), 46702, 'SRID=4674;POINT (-40.027945 -2.803074)', '2026-06-12 07:57:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027961 -2.803062)'), GeomFromEWKT('SRID=4674;POINT (-40.027945 -2.803074)'))) / (select extract(epoch from '2026-06-12 07:57:26'::timestamp) - extract(epoch from '2026-06-12 07:57:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027961 -2.803062)'), GeomFromEWKT('SRID=4674;POINT (-40.027945 -2.803074)'))) / (select extract(epoch from '2026-06-12 07:57:26'::timestamp) - extract(epoch from '2026-06-12 07:57:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.027941 -2.803079)', '2026-06-12 07:57:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027945 -2.803074)'), GeomFromEWKT('SRID=4674;POINT (-40.027941 -2.803079)'))) / (select extract(epoch from '2026-06-12 07:57:36'::timestamp) - extract(epoch from '2026-06-12 07:57:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027945 -2.803074)'), GeomFromEWKT('SRID=4674;POINT (-40.027941 -2.803079)'))) / (select extract(epoch from '2026-06-12 07:57:36'::timestamp) - extract(epoch from '2026-06-12 07:57: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'), 46702, 'SRID=4674;POINT (-40.027948 -2.803068)', '2026-06-12 07:57:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027941 -2.803079)'), GeomFromEWKT('SRID=4674;POINT (-40.027948 -2.803068)'))) / (select extract(epoch from '2026-06-12 07:57:42'::timestamp) - extract(epoch from '2026-06-12 07:57:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027941 -2.803079)'), GeomFromEWKT('SRID=4674;POINT (-40.027948 -2.803068)'))) / (select extract(epoch from '2026-06-12 07:57:42'::timestamp) - extract(epoch from '2026-06-12 07:57: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'), 46702, 'SRID=4674;POINT (-40.027929 -2.803057)', '2026-06-12 07:57:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027948 -2.803068)'), GeomFromEWKT('SRID=4674;POINT (-40.027929 -2.803057)'))) / (select extract(epoch from '2026-06-12 07:57:49'::timestamp) - extract(epoch from '2026-06-12 07:57:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027948 -2.803068)'), GeomFromEWKT('SRID=4674;POINT (-40.027929 -2.803057)'))) / (select extract(epoch from '2026-06-12 07:57:49'::timestamp) - extract(epoch from '2026-06-12 07:57: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'), 46702, 'SRID=4674;POINT (-40.027941 -2.803051)', '2026-06-12 07:57:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027929 -2.803057)'), GeomFromEWKT('SRID=4674;POINT (-40.027941 -2.803051)'))) / (select extract(epoch from '2026-06-12 07:57:56'::timestamp) - extract(epoch from '2026-06-12 07:57:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027929 -2.803057)'), GeomFromEWKT('SRID=4674;POINT (-40.027941 -2.803051)'))) / (select extract(epoch from '2026-06-12 07:57:56'::timestamp) - extract(epoch from '2026-06-12 07:57: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'), 46702, 'SRID=4674;POINT (-40.027958 -2.80304)', '2026-06-12 07:58:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027941 -2.803051)'), GeomFromEWKT('SRID=4674;POINT (-40.027958 -2.80304)'))) / (select extract(epoch from '2026-06-12 07:58:04'::timestamp) - extract(epoch from '2026-06-12 07:57:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027941 -2.803051)'), GeomFromEWKT('SRID=4674;POINT (-40.027958 -2.80304)'))) / (select extract(epoch from '2026-06-12 07:58:04'::timestamp) - extract(epoch from '2026-06-12 07:57:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.027949 -2.803052)', '2026-06-12 07:58:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027958 -2.80304)'), GeomFromEWKT('SRID=4674;POINT (-40.027949 -2.803052)'))) / (select extract(epoch from '2026-06-12 07:58:39'::timestamp) - extract(epoch from '2026-06-12 07:58:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027958 -2.80304)'), GeomFromEWKT('SRID=4674;POINT (-40.027949 -2.803052)'))) / (select extract(epoch from '2026-06-12 07:58:39'::timestamp) - extract(epoch from '2026-06-12 07:58:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.027912 -2.803081)', '2026-06-12 07:58:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027949 -2.803052)'), GeomFromEWKT('SRID=4674;POINT (-40.027912 -2.803081)'))) / (select extract(epoch from '2026-06-12 07:58:44'::timestamp) - extract(epoch from '2026-06-12 07:58:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027949 -2.803052)'), GeomFromEWKT('SRID=4674;POINT (-40.027912 -2.803081)'))) / (select extract(epoch from '2026-06-12 07:58:44'::timestamp) - extract(epoch from '2026-06-12 07:58: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'), 46702, 'SRID=4674;POINT (-40.027893 -2.80309)', '2026-06-12 07:58:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027912 -2.803081)'), GeomFromEWKT('SRID=4674;POINT (-40.027893 -2.80309)'))) / (select extract(epoch from '2026-06-12 07:58:46'::timestamp) - extract(epoch from '2026-06-12 07:58:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027912 -2.803081)'), GeomFromEWKT('SRID=4674;POINT (-40.027893 -2.80309)'))) / (select extract(epoch from '2026-06-12 07:58:46'::timestamp) - extract(epoch from '2026-06-12 07:58: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'), 46702, 'SRID=4674;POINT (-40.027848 -2.803139)', '2026-06-12 07:58:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027893 -2.80309)'), GeomFromEWKT('SRID=4674;POINT (-40.027848 -2.803139)'))) / (select extract(epoch from '2026-06-12 07:58:51'::timestamp) - extract(epoch from '2026-06-12 07:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027893 -2.80309)'), GeomFromEWKT('SRID=4674;POINT (-40.027848 -2.803139)'))) / (select extract(epoch from '2026-06-12 07:58:51'::timestamp) - extract(epoch from '2026-06-12 07:58: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'), 46702, 'SRID=4674;POINT (-40.027803 -2.803207)', '2026-06-12 07:58:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027848 -2.803139)'), GeomFromEWKT('SRID=4674;POINT (-40.027803 -2.803207)'))) / (select extract(epoch from '2026-06-12 07:58:58'::timestamp) - extract(epoch from '2026-06-12 07:58:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027848 -2.803139)'), GeomFromEWKT('SRID=4674;POINT (-40.027803 -2.803207)'))) / (select extract(epoch from '2026-06-12 07:58:58'::timestamp) - extract(epoch from '2026-06-12 07:58: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'), 46702, 'SRID=4674;POINT (-40.027842 -2.8033)', '2026-06-12 07:59:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027803 -2.803207)'), GeomFromEWKT('SRID=4674;POINT (-40.027842 -2.8033)'))) / (select extract(epoch from '2026-06-12 07:59:05'::timestamp) - extract(epoch from '2026-06-12 07:58:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027803 -2.803207)'), GeomFromEWKT('SRID=4674;POINT (-40.027842 -2.8033)'))) / (select extract(epoch from '2026-06-12 07:59:05'::timestamp) - extract(epoch from '2026-06-12 07:58: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'), 46702, 'SRID=4674;POINT (-40.027931 -2.803327)', '2026-06-12 07:59:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027842 -2.8033)'), GeomFromEWKT('SRID=4674;POINT (-40.027931 -2.803327)'))) / (select extract(epoch from '2026-06-12 07:59:11'::timestamp) - extract(epoch from '2026-06-12 07:59:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027842 -2.8033)'), GeomFromEWKT('SRID=4674;POINT (-40.027931 -2.803327)'))) / (select extract(epoch from '2026-06-12 07:59:11'::timestamp) - extract(epoch from '2026-06-12 07:59: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'), 46702, 'SRID=4674;POINT (-40.028095 -2.80329)', '2026-06-12 07:59:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027931 -2.803327)'), GeomFromEWKT('SRID=4674;POINT (-40.028095 -2.80329)'))) / (select extract(epoch from '2026-06-12 07:59:20'::timestamp) - extract(epoch from '2026-06-12 07:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027931 -2.803327)'), GeomFromEWKT('SRID=4674;POINT (-40.028095 -2.80329)'))) / (select extract(epoch from '2026-06-12 07:59:20'::timestamp) - extract(epoch from '2026-06-12 07:59:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.028294 -2.803235)', '2026-06-12 07:59:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028095 -2.80329)'), GeomFromEWKT('SRID=4674;POINT (-40.028294 -2.803235)'))) / (select extract(epoch from '2026-06-12 07:59:30'::timestamp) - extract(epoch from '2026-06-12 07:59:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028095 -2.80329)'), GeomFromEWKT('SRID=4674;POINT (-40.028294 -2.803235)'))) / (select extract(epoch from '2026-06-12 07:59:30'::timestamp) - extract(epoch from '2026-06-12 07:59: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'), 46702, 'SRID=4674;POINT (-40.028538 -2.803202)', '2026-06-12 07:59:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028294 -2.803235)'), GeomFromEWKT('SRID=4674;POINT (-40.028538 -2.803202)'))) / (select extract(epoch from '2026-06-12 07:59:42'::timestamp) - extract(epoch from '2026-06-12 07:59:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028294 -2.803235)'), GeomFromEWKT('SRID=4674;POINT (-40.028538 -2.803202)'))) / (select extract(epoch from '2026-06-12 07:59:42'::timestamp) - extract(epoch from '2026-06-12 07:59: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'), 46702, 'SRID=4674;POINT (-40.028771 -2.803187)', '2026-06-12 07:59:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028538 -2.803202)'), GeomFromEWKT('SRID=4674;POINT (-40.028771 -2.803187)'))) / (select extract(epoch from '2026-06-12 07:59:53'::timestamp) - extract(epoch from '2026-06-12 07:59:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028538 -2.803202)'), GeomFromEWKT('SRID=4674;POINT (-40.028771 -2.803187)'))) / (select extract(epoch from '2026-06-12 07:59:53'::timestamp) - extract(epoch from '2026-06-12 07:59: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'), 46702, 'SRID=4674;POINT (-40.029038 -2.803209)', '2026-06-12 08:00:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028771 -2.803187)'), GeomFromEWKT('SRID=4674;POINT (-40.029038 -2.803209)'))) / (select extract(epoch from '2026-06-12 08:00:06'::timestamp) - extract(epoch from '2026-06-12 07:59:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028771 -2.803187)'), GeomFromEWKT('SRID=4674;POINT (-40.029038 -2.803209)'))) / (select extract(epoch from '2026-06-12 08:00:06'::timestamp) - extract(epoch from '2026-06-12 07:59:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.029261 -2.803274)', '2026-06-12 08:00:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029038 -2.803209)'), GeomFromEWKT('SRID=4674;POINT (-40.029261 -2.803274)'))) / (select extract(epoch from '2026-06-12 08:00:17'::timestamp) - extract(epoch from '2026-06-12 08:00:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029038 -2.803209)'), GeomFromEWKT('SRID=4674;POINT (-40.029261 -2.803274)'))) / (select extract(epoch from '2026-06-12 08:00:17'::timestamp) - extract(epoch from '2026-06-12 08:00:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.029391 -2.803346)', '2026-06-12 08:00:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029261 -2.803274)'), GeomFromEWKT('SRID=4674;POINT (-40.029391 -2.803346)'))) / (select extract(epoch from '2026-06-12 08:00:26'::timestamp) - extract(epoch from '2026-06-12 08:00:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029261 -2.803274)'), GeomFromEWKT('SRID=4674;POINT (-40.029391 -2.803346)'))) / (select extract(epoch from '2026-06-12 08:00:26'::timestamp) - extract(epoch from '2026-06-12 08:00: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'), 46702, 'SRID=4674;POINT (-40.029454 -2.803398)', '2026-06-12 08:00:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029391 -2.803346)'), GeomFromEWKT('SRID=4674;POINT (-40.029454 -2.803398)'))) / (select extract(epoch from '2026-06-12 08:00:33'::timestamp) - extract(epoch from '2026-06-12 08:00:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029391 -2.803346)'), GeomFromEWKT('SRID=4674;POINT (-40.029454 -2.803398)'))) / (select extract(epoch from '2026-06-12 08:00:33'::timestamp) - extract(epoch from '2026-06-12 08:00: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'), 46702, 'SRID=4674;POINT (-40.029488 -2.803451)', '2026-06-12 08:00:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029454 -2.803398)'), GeomFromEWKT('SRID=4674;POINT (-40.029488 -2.803451)'))) / (select extract(epoch from '2026-06-12 08:00:42'::timestamp) - extract(epoch from '2026-06-12 08:00:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029454 -2.803398)'), GeomFromEWKT('SRID=4674;POINT (-40.029488 -2.803451)'))) / (select extract(epoch from '2026-06-12 08:00:42'::timestamp) - extract(epoch from '2026-06-12 08:00: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'), 46702, 'SRID=4674;POINT (-40.029502 -2.803479)', '2026-06-12 08:00:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029488 -2.803451)'), GeomFromEWKT('SRID=4674;POINT (-40.029502 -2.803479)'))) / (select extract(epoch from '2026-06-12 08:00:53'::timestamp) - extract(epoch from '2026-06-12 08:00:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029488 -2.803451)'), GeomFromEWKT('SRID=4674;POINT (-40.029502 -2.803479)'))) / (select extract(epoch from '2026-06-12 08:00:53'::timestamp) - extract(epoch from '2026-06-12 08:00: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'), 46702, 'SRID=4674;POINT (-40.029515 -2.803477)', '2026-06-12 08:01:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029502 -2.803479)'), GeomFromEWKT('SRID=4674;POINT (-40.029515 -2.803477)'))) / (select extract(epoch from '2026-06-12 08:01:14'::timestamp) - extract(epoch from '2026-06-12 08:00:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029502 -2.803479)'), GeomFromEWKT('SRID=4674;POINT (-40.029515 -2.803477)'))) / (select extract(epoch from '2026-06-12 08:01:14'::timestamp) - extract(epoch from '2026-06-12 08:00: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'), 46702, 'SRID=4674;POINT (-40.029543 -2.803434)', '2026-06-12 08:01:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029515 -2.803477)'), GeomFromEWKT('SRID=4674;POINT (-40.029543 -2.803434)'))) / (select extract(epoch from '2026-06-12 08:01:40'::timestamp) - extract(epoch from '2026-06-12 08:01:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029515 -2.803477)'), GeomFromEWKT('SRID=4674;POINT (-40.029543 -2.803434)'))) / (select extract(epoch from '2026-06-12 08:01:40'::timestamp) - extract(epoch from '2026-06-12 08:01:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.029519 -2.803432)', '2026-06-12 08:01:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029543 -2.803434)'), GeomFromEWKT('SRID=4674;POINT (-40.029519 -2.803432)'))) / (select extract(epoch from '2026-06-12 08:01:50'::timestamp) - extract(epoch from '2026-06-12 08:01:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029543 -2.803434)'), GeomFromEWKT('SRID=4674;POINT (-40.029519 -2.803432)'))) / (select extract(epoch from '2026-06-12 08:01:50'::timestamp) - extract(epoch from '2026-06-12 08:01: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'), 46702, 'SRID=4674;POINT (-40.029498 -2.803446)', '2026-06-12 08:01:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029519 -2.803432)'), GeomFromEWKT('SRID=4674;POINT (-40.029498 -2.803446)'))) / (select extract(epoch from '2026-06-12 08:01:55'::timestamp) - extract(epoch from '2026-06-12 08:01:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029519 -2.803432)'), GeomFromEWKT('SRID=4674;POINT (-40.029498 -2.803446)'))) / (select extract(epoch from '2026-06-12 08:01:55'::timestamp) - extract(epoch from '2026-06-12 08: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'), 46702, 'SRID=4674;POINT (-40.029495 -2.803434)', '2026-06-12 08:01:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029498 -2.803446)'), GeomFromEWKT('SRID=4674;POINT (-40.029495 -2.803434)'))) / (select extract(epoch from '2026-06-12 08:01:57'::timestamp) - extract(epoch from '2026-06-12 08:01:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029498 -2.803446)'), GeomFromEWKT('SRID=4674;POINT (-40.029495 -2.803434)'))) / (select extract(epoch from '2026-06-12 08:01:57'::timestamp) - extract(epoch from '2026-06-12 08: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'), 46702, 'SRID=4674;POINT (-40.0295 -2.803427)', '2026-06-12 08:02:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029495 -2.803434)'), GeomFromEWKT('SRID=4674;POINT (-40.0295 -2.803427)'))) / (select extract(epoch from '2026-06-12 08:02:00'::timestamp) - extract(epoch from '2026-06-12 08:01:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029495 -2.803434)'), GeomFromEWKT('SRID=4674;POINT (-40.0295 -2.803427)'))) / (select extract(epoch from '2026-06-12 08:02:00'::timestamp) - extract(epoch from '2026-06-12 08:01:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.02951 -2.80342)', '2026-06-12 08:02:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0295 -2.803427)'), GeomFromEWKT('SRID=4674;POINT (-40.02951 -2.80342)'))) / (select extract(epoch from '2026-06-12 08:02:06'::timestamp) - extract(epoch from '2026-06-12 08:02:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0295 -2.803427)'), GeomFromEWKT('SRID=4674;POINT (-40.02951 -2.80342)'))) / (select extract(epoch from '2026-06-12 08:02:06'::timestamp) - extract(epoch from '2026-06-12 08:02: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'), 46702, 'SRID=4674;POINT (-40.029526 -2.803405)', '2026-06-12 08:02:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02951 -2.80342)'), GeomFromEWKT('SRID=4674;POINT (-40.029526 -2.803405)'))) / (select extract(epoch from '2026-06-12 08:02:11'::timestamp) - extract(epoch from '2026-06-12 08:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02951 -2.80342)'), GeomFromEWKT('SRID=4674;POINT (-40.029526 -2.803405)'))) / (select extract(epoch from '2026-06-12 08:02:11'::timestamp) - extract(epoch from '2026-06-12 08:02: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'), 46702, 'SRID=4674;POINT (-40.029541 -2.803405)', '2026-06-12 08:02:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029526 -2.803405)'), GeomFromEWKT('SRID=4674;POINT (-40.029541 -2.803405)'))) / (select extract(epoch from '2026-06-12 08:02:25'::timestamp) - extract(epoch from '2026-06-12 08:02:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029526 -2.803405)'), GeomFromEWKT('SRID=4674;POINT (-40.029541 -2.803405)'))) / (select extract(epoch from '2026-06-12 08:02:25'::timestamp) - extract(epoch from '2026-06-12 08: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'), 46702, 'SRID=4674;POINT (-40.029535 -2.80341)', '2026-06-12 08:02:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029541 -2.803405)'), GeomFromEWKT('SRID=4674;POINT (-40.029535 -2.80341)'))) / (select extract(epoch from '2026-06-12 08:02:38'::timestamp) - extract(epoch from '2026-06-12 08:02:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029541 -2.803405)'), GeomFromEWKT('SRID=4674;POINT (-40.029535 -2.80341)'))) / (select extract(epoch from '2026-06-12 08:02:38'::timestamp) - extract(epoch from '2026-06-12 08:02: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'), 46702, 'SRID=4674;POINT (-40.029459 -2.803444)', '2026-06-12 08:02:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029535 -2.80341)'), GeomFromEWKT('SRID=4674;POINT (-40.029459 -2.803444)'))) / (select extract(epoch from '2026-06-12 08:02:50'::timestamp) - extract(epoch from '2026-06-12 08:02:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029535 -2.80341)'), GeomFromEWKT('SRID=4674;POINT (-40.029459 -2.803444)'))) / (select extract(epoch from '2026-06-12 08:02:50'::timestamp) - extract(epoch from '2026-06-12 08:02: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'), 46702, 'SRID=4674;POINT (-40.029404 -2.803485)', '2026-06-12 08:02:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029459 -2.803444)'), GeomFromEWKT('SRID=4674;POINT (-40.029404 -2.803485)'))) / (select extract(epoch from '2026-06-12 08:02:58'::timestamp) - extract(epoch from '2026-06-12 08:02:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029459 -2.803444)'), GeomFromEWKT('SRID=4674;POINT (-40.029404 -2.803485)'))) / (select extract(epoch from '2026-06-12 08:02:58'::timestamp) - extract(epoch from '2026-06-12 08:02:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.029393 -2.803538)', '2026-06-12 08:03:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029404 -2.803485)'), GeomFromEWKT('SRID=4674;POINT (-40.029393 -2.803538)'))) / (select extract(epoch from '2026-06-12 08:03:03'::timestamp) - extract(epoch from '2026-06-12 08:02:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029404 -2.803485)'), GeomFromEWKT('SRID=4674;POINT (-40.029393 -2.803538)'))) / (select extract(epoch from '2026-06-12 08:03:03'::timestamp) - extract(epoch from '2026-06-12 08:02: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'), 46702, 'SRID=4674;POINT (-40.029391 -2.803553)', '2026-06-12 08:03:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029393 -2.803538)'), GeomFromEWKT('SRID=4674;POINT (-40.029391 -2.803553)'))) / (select extract(epoch from '2026-06-12 08:03:04'::timestamp) - extract(epoch from '2026-06-12 08:03:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029393 -2.803538)'), GeomFromEWKT('SRID=4674;POINT (-40.029391 -2.803553)'))) / (select extract(epoch from '2026-06-12 08:03:04'::timestamp) - extract(epoch from '2026-06-12 08: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'), 46702, 'SRID=4674;POINT (-40.029389 -2.803566)', '2026-06-12 08:03:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029391 -2.803553)'), GeomFromEWKT('SRID=4674;POINT (-40.029389 -2.803566)'))) / (select extract(epoch from '2026-06-12 08:03:05'::timestamp) - extract(epoch from '2026-06-12 08:03:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029391 -2.803553)'), GeomFromEWKT('SRID=4674;POINT (-40.029389 -2.803566)'))) / (select extract(epoch from '2026-06-12 08:03:05'::timestamp) - extract(epoch from '2026-06-12 08:03: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'), 46702, 'SRID=4674;POINT (-40.0294 -2.803617)', '2026-06-12 08:03:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029389 -2.803566)'), GeomFromEWKT('SRID=4674;POINT (-40.0294 -2.803617)'))) / (select extract(epoch from '2026-06-12 08:03:09'::timestamp) - extract(epoch from '2026-06-12 08:03:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029389 -2.803566)'), GeomFromEWKT('SRID=4674;POINT (-40.0294 -2.803617)'))) / (select extract(epoch from '2026-06-12 08:03:09'::timestamp) - extract(epoch from '2026-06-12 08:03: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'), 46702, 'SRID=4674;POINT (-40.029479 -2.803777)', '2026-06-12 08:03:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0294 -2.803617)'), GeomFromEWKT('SRID=4674;POINT (-40.029479 -2.803777)'))) / (select extract(epoch from '2026-06-12 08:03:19'::timestamp) - extract(epoch from '2026-06-12 08:03:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0294 -2.803617)'), GeomFromEWKT('SRID=4674;POINT (-40.029479 -2.803777)'))) / (select extract(epoch from '2026-06-12 08:03:19'::timestamp) - extract(epoch from '2026-06-12 08:03:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.029603 -2.803899)', '2026-06-12 08:03:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029479 -2.803777)'), GeomFromEWKT('SRID=4674;POINT (-40.029603 -2.803899)'))) / (select extract(epoch from '2026-06-12 08:03:28'::timestamp) - extract(epoch from '2026-06-12 08:03:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029479 -2.803777)'), GeomFromEWKT('SRID=4674;POINT (-40.029603 -2.803899)'))) / (select extract(epoch from '2026-06-12 08:03:28'::timestamp) - extract(epoch from '2026-06-12 08:03:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.029713 -2.804009)', '2026-06-12 08:03:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029603 -2.803899)'), GeomFromEWKT('SRID=4674;POINT (-40.029713 -2.804009)'))) / (select extract(epoch from '2026-06-12 08:03:36'::timestamp) - extract(epoch from '2026-06-12 08:03:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029603 -2.803899)'), GeomFromEWKT('SRID=4674;POINT (-40.029713 -2.804009)'))) / (select extract(epoch from '2026-06-12 08:03:36'::timestamp) - extract(epoch from '2026-06-12 08: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'), 46702, 'SRID=4674;POINT (-40.029837 -2.804184)', '2026-06-12 08:03:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029713 -2.804009)'), GeomFromEWKT('SRID=4674;POINT (-40.029837 -2.804184)'))) / (select extract(epoch from '2026-06-12 08:03:47'::timestamp) - extract(epoch from '2026-06-12 08:03:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029713 -2.804009)'), GeomFromEWKT('SRID=4674;POINT (-40.029837 -2.804184)'))) / (select extract(epoch from '2026-06-12 08:03:47'::timestamp) - extract(epoch from '2026-06-12 08: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'), 46702, 'SRID=4674;POINT (-40.029932 -2.804345)', '2026-06-12 08:03:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029837 -2.804184)'), GeomFromEWKT('SRID=4674;POINT (-40.029932 -2.804345)'))) / (select extract(epoch from '2026-06-12 08:03:57'::timestamp) - extract(epoch from '2026-06-12 08:03:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029837 -2.804184)'), GeomFromEWKT('SRID=4674;POINT (-40.029932 -2.804345)'))) / (select extract(epoch from '2026-06-12 08:03:57'::timestamp) - extract(epoch from '2026-06-12 08:03: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'), 46702, 'SRID=4674;POINT (-40.029959 -2.804417)', '2026-06-12 08:04:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029932 -2.804345)'), GeomFromEWKT('SRID=4674;POINT (-40.029959 -2.804417)'))) / (select extract(epoch from '2026-06-12 08:04:03'::timestamp) - extract(epoch from '2026-06-12 08:03:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029932 -2.804345)'), GeomFromEWKT('SRID=4674;POINT (-40.029959 -2.804417)'))) / (select extract(epoch from '2026-06-12 08:04:03'::timestamp) - extract(epoch from '2026-06-12 08:03: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'), 46702, 'SRID=4674;POINT (-40.029966 -2.804439)', '2026-06-12 08:04:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029959 -2.804417)'), GeomFromEWKT('SRID=4674;POINT (-40.029966 -2.804439)'))) / (select extract(epoch from '2026-06-12 08:04:05'::timestamp) - extract(epoch from '2026-06-12 08:04:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029959 -2.804417)'), GeomFromEWKT('SRID=4674;POINT (-40.029966 -2.804439)'))) / (select extract(epoch from '2026-06-12 08:04:05'::timestamp) - extract(epoch from '2026-06-12 08:04:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.029999 -2.804511)', '2026-06-12 08:04:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029966 -2.804439)'), GeomFromEWKT('SRID=4674;POINT (-40.029999 -2.804511)'))) / (select extract(epoch from '2026-06-12 08:04:15'::timestamp) - extract(epoch from '2026-06-12 08:04:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029966 -2.804439)'), GeomFromEWKT('SRID=4674;POINT (-40.029999 -2.804511)'))) / (select extract(epoch from '2026-06-12 08:04:15'::timestamp) - extract(epoch from '2026-06-12 08:04: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'), 46702, 'SRID=4674;POINT (-40.030007 -2.804533)', '2026-06-12 08:04:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029999 -2.804511)'), GeomFromEWKT('SRID=4674;POINT (-40.030007 -2.804533)'))) / (select extract(epoch from '2026-06-12 08:04:30'::timestamp) - extract(epoch from '2026-06-12 08:04:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029999 -2.804511)'), GeomFromEWKT('SRID=4674;POINT (-40.030007 -2.804533)'))) / (select extract(epoch from '2026-06-12 08:04:30'::timestamp) - extract(epoch from '2026-06-12 08:04:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.030018 -2.804507)', '2026-06-12 08:04:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030007 -2.804533)'), GeomFromEWKT('SRID=4674;POINT (-40.030018 -2.804507)'))) / (select extract(epoch from '2026-06-12 08:04:43'::timestamp) - extract(epoch from '2026-06-12 08:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030007 -2.804533)'), GeomFromEWKT('SRID=4674;POINT (-40.030018 -2.804507)'))) / (select extract(epoch from '2026-06-12 08:04:43'::timestamp) - extract(epoch from '2026-06-12 08:04: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'), 46702, 'SRID=4674;POINT (-40.030018 -2.804499)', '2026-06-12 08:04:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030018 -2.804507)'), GeomFromEWKT('SRID=4674;POINT (-40.030018 -2.804499)'))) / (select extract(epoch from '2026-06-12 08:04:46'::timestamp) - extract(epoch from '2026-06-12 08:04:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030018 -2.804507)'), GeomFromEWKT('SRID=4674;POINT (-40.030018 -2.804499)'))) / (select extract(epoch from '2026-06-12 08:04:46'::timestamp) - extract(epoch from '2026-06-12 08:04: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'), 46702, 'SRID=4674;POINT (-40.030024 -2.804487)', '2026-06-12 08:04:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030018 -2.804499)'), GeomFromEWKT('SRID=4674;POINT (-40.030024 -2.804487)'))) / (select extract(epoch from '2026-06-12 08:04:59'::timestamp) - extract(epoch from '2026-06-12 08:04:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030018 -2.804499)'), GeomFromEWKT('SRID=4674;POINT (-40.030024 -2.804487)'))) / (select extract(epoch from '2026-06-12 08:04:59'::timestamp) - extract(epoch from '2026-06-12 08:04:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.030022 -2.804487)', '2026-06-12 08:05:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030024 -2.804487)'), GeomFromEWKT('SRID=4674;POINT (-40.030022 -2.804487)'))) / (select extract(epoch from '2026-06-12 08:05:09'::timestamp) - extract(epoch from '2026-06-12 08:04:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030024 -2.804487)'), GeomFromEWKT('SRID=4674;POINT (-40.030022 -2.804487)'))) / (select extract(epoch from '2026-06-12 08:05:09'::timestamp) - extract(epoch from '2026-06-12 08:04: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'), 46702, 'SRID=4674;POINT (-40.030022 -2.804468)', '2026-06-12 08:05:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030022 -2.804487)'), GeomFromEWKT('SRID=4674;POINT (-40.030022 -2.804468)'))) / (select extract(epoch from '2026-06-12 08:05:19'::timestamp) - extract(epoch from '2026-06-12 08:05:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030022 -2.804487)'), GeomFromEWKT('SRID=4674;POINT (-40.030022 -2.804468)'))) / (select extract(epoch from '2026-06-12 08:05:19'::timestamp) - extract(epoch from '2026-06-12 08:05:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.030023 -2.804457)', '2026-06-12 08:05:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030022 -2.804468)'), GeomFromEWKT('SRID=4674;POINT (-40.030023 -2.804457)'))) / (select extract(epoch from '2026-06-12 08:05:29'::timestamp) - extract(epoch from '2026-06-12 08:05:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030022 -2.804468)'), GeomFromEWKT('SRID=4674;POINT (-40.030023 -2.804457)'))) / (select extract(epoch from '2026-06-12 08:05:29'::timestamp) - extract(epoch from '2026-06-12 08:05: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'), 46702, 'SRID=4674;POINT (-40.030021 -2.804453)', '2026-06-12 08:05:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030023 -2.804457)'), GeomFromEWKT('SRID=4674;POINT (-40.030021 -2.804453)'))) / (select extract(epoch from '2026-06-12 08:05:38'::timestamp) - extract(epoch from '2026-06-12 08:05:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030023 -2.804457)'), GeomFromEWKT('SRID=4674;POINT (-40.030021 -2.804453)'))) / (select extract(epoch from '2026-06-12 08:05:38'::timestamp) - extract(epoch from '2026-06-12 08: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'), 46702, 'SRID=4674;POINT (-40.030027 -2.804438)', '2026-06-12 08:05:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030021 -2.804453)'), GeomFromEWKT('SRID=4674;POINT (-40.030027 -2.804438)'))) / (select extract(epoch from '2026-06-12 08:05:46'::timestamp) - extract(epoch from '2026-06-12 08:05:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030021 -2.804453)'), GeomFromEWKT('SRID=4674;POINT (-40.030027 -2.804438)'))) / (select extract(epoch from '2026-06-12 08:05:46'::timestamp) - extract(epoch from '2026-06-12 08: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'), 46702, 'SRID=4674;POINT (-40.030049 -2.804391)', '2026-06-12 08:05:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030027 -2.804438)'), GeomFromEWKT('SRID=4674;POINT (-40.030049 -2.804391)'))) / (select extract(epoch from '2026-06-12 08:05:55'::timestamp) - extract(epoch from '2026-06-12 08:05:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030027 -2.804438)'), GeomFromEWKT('SRID=4674;POINT (-40.030049 -2.804391)'))) / (select extract(epoch from '2026-06-12 08:05:55'::timestamp) - extract(epoch from '2026-06-12 08:05: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'), 46702, 'SRID=4674;POINT (-40.030058 -2.804374)', '2026-06-12 08:06:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030049 -2.804391)'), GeomFromEWKT('SRID=4674;POINT (-40.030058 -2.804374)'))) / (select extract(epoch from '2026-06-12 08:06:03'::timestamp) - extract(epoch from '2026-06-12 08:05:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030049 -2.804391)'), GeomFromEWKT('SRID=4674;POINT (-40.030058 -2.804374)'))) / (select extract(epoch from '2026-06-12 08:06:03'::timestamp) - extract(epoch from '2026-06-12 08:05: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'), 46702, 'SRID=4674;POINT (-40.030046 -2.804404)', '2026-06-12 08:06:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030058 -2.804374)'), GeomFromEWKT('SRID=4674;POINT (-40.030046 -2.804404)'))) / (select extract(epoch from '2026-06-12 08:06:12'::timestamp) - extract(epoch from '2026-06-12 08:06:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030058 -2.804374)'), GeomFromEWKT('SRID=4674;POINT (-40.030046 -2.804404)'))) / (select extract(epoch from '2026-06-12 08:06:12'::timestamp) - extract(epoch from '2026-06-12 08:06:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.03004 -2.80443)', '2026-06-12 08:06:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030046 -2.804404)'), GeomFromEWKT('SRID=4674;POINT (-40.03004 -2.80443)'))) / (select extract(epoch from '2026-06-12 08:06:19'::timestamp) - extract(epoch from '2026-06-12 08:06:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030046 -2.804404)'), GeomFromEWKT('SRID=4674;POINT (-40.03004 -2.80443)'))) / (select extract(epoch from '2026-06-12 08:06:19'::timestamp) - extract(epoch from '2026-06-12 08:06:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.030038 -2.804464)', '2026-06-12 08:06:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03004 -2.80443)'), GeomFromEWKT('SRID=4674;POINT (-40.030038 -2.804464)'))) / (select extract(epoch from '2026-06-12 08:06:29'::timestamp) - extract(epoch from '2026-06-12 08:06:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03004 -2.80443)'), GeomFromEWKT('SRID=4674;POINT (-40.030038 -2.804464)'))) / (select extract(epoch from '2026-06-12 08:06:29'::timestamp) - extract(epoch from '2026-06-12 08:06: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'), 46702, 'SRID=4674;POINT (-40.030032 -2.804459)', '2026-06-12 08:06:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030038 -2.804464)'), GeomFromEWKT('SRID=4674;POINT (-40.030032 -2.804459)'))) / (select extract(epoch from '2026-06-12 08:06:49'::timestamp) - extract(epoch from '2026-06-12 08:06:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030038 -2.804464)'), GeomFromEWKT('SRID=4674;POINT (-40.030032 -2.804459)'))) / (select extract(epoch from '2026-06-12 08:06:49'::timestamp) - extract(epoch from '2026-06-12 08:06: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'), 46702, 'SRID=4674;POINT (-40.030032 -2.804472)', '2026-06-12 08:07:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030032 -2.804459)'), GeomFromEWKT('SRID=4674;POINT (-40.030032 -2.804472)'))) / (select extract(epoch from '2026-06-12 08:07:54'::timestamp) - extract(epoch from '2026-06-12 08:06:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030032 -2.804459)'), GeomFromEWKT('SRID=4674;POINT (-40.030032 -2.804472)'))) / (select extract(epoch from '2026-06-12 08:07:54'::timestamp) - extract(epoch from '2026-06-12 08:06: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'), 46702, 'SRID=4674;POINT (-40.029969 -2.804459)', '2026-06-12 08:08:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030032 -2.804472)'), GeomFromEWKT('SRID=4674;POINT (-40.029969 -2.804459)'))) / (select extract(epoch from '2026-06-12 08:08:36'::timestamp) - extract(epoch from '2026-06-12 08:07:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030032 -2.804472)'), GeomFromEWKT('SRID=4674;POINT (-40.029969 -2.804459)'))) / (select extract(epoch from '2026-06-12 08:08:36'::timestamp) - extract(epoch from '2026-06-12 08:07: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'), 46702, 'SRID=4674;POINT (-40.029936 -2.804453)', '2026-06-12 08:08:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029969 -2.804459)'), GeomFromEWKT('SRID=4674;POINT (-40.029936 -2.804453)'))) / (select extract(epoch from '2026-06-12 08:08:43'::timestamp) - extract(epoch from '2026-06-12 08:08:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029969 -2.804459)'), GeomFromEWKT('SRID=4674;POINT (-40.029936 -2.804453)'))) / (select extract(epoch from '2026-06-12 08:08:43'::timestamp) - extract(epoch from '2026-06-12 08:08: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'), 46702, 'SRID=4674;POINT (-40.029906 -2.80437)', '2026-06-12 08:08:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029936 -2.804453)'), GeomFromEWKT('SRID=4674;POINT (-40.029906 -2.80437)'))) / (select extract(epoch from '2026-06-12 08:08:59'::timestamp) - extract(epoch from '2026-06-12 08:08:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029936 -2.804453)'), GeomFromEWKT('SRID=4674;POINT (-40.029906 -2.80437)'))) / (select extract(epoch from '2026-06-12 08:08:59'::timestamp) - extract(epoch from '2026-06-12 08:08:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.029893 -2.804315)', '2026-06-12 08:09:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029906 -2.80437)'), GeomFromEWKT('SRID=4674;POINT (-40.029893 -2.804315)'))) / (select extract(epoch from '2026-06-12 08:09:13'::timestamp) - extract(epoch from '2026-06-12 08:08:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029906 -2.80437)'), GeomFromEWKT('SRID=4674;POINT (-40.029893 -2.804315)'))) / (select extract(epoch from '2026-06-12 08:09:13'::timestamp) - extract(epoch from '2026-06-12 08:08: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'), 46702, 'SRID=4674;POINT (-40.029917 -2.804265)', '2026-06-12 08:09:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029893 -2.804315)'), GeomFromEWKT('SRID=4674;POINT (-40.029917 -2.804265)'))) / (select extract(epoch from '2026-06-12 08:09:40'::timestamp) - extract(epoch from '2026-06-12 08:09:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029893 -2.804315)'), GeomFromEWKT('SRID=4674;POINT (-40.029917 -2.804265)'))) / (select extract(epoch from '2026-06-12 08:09:40'::timestamp) - extract(epoch from '2026-06-12 08:09: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'), 46702, 'SRID=4674;POINT (-40.029907 -2.804267)', '2026-06-12 08:09:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029917 -2.804265)'), GeomFromEWKT('SRID=4674;POINT (-40.029907 -2.804267)'))) / (select extract(epoch from '2026-06-12 08:09:57'::timestamp) - extract(epoch from '2026-06-12 08:09:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029917 -2.804265)'), GeomFromEWKT('SRID=4674;POINT (-40.029907 -2.804267)'))) / (select extract(epoch from '2026-06-12 08:09:57'::timestamp) - extract(epoch from '2026-06-12 08:09:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.029893 -2.804311)', '2026-06-12 08:10:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029907 -2.804267)'), GeomFromEWKT('SRID=4674;POINT (-40.029893 -2.804311)'))) / (select extract(epoch from '2026-06-12 08:10:11'::timestamp) - extract(epoch from '2026-06-12 08:09:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029907 -2.804267)'), GeomFromEWKT('SRID=4674;POINT (-40.029893 -2.804311)'))) / (select extract(epoch from '2026-06-12 08:10:11'::timestamp) - extract(epoch from '2026-06-12 08: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'), 46702, 'SRID=4674;POINT (-40.02993 -2.804336)', '2026-06-12 08:10:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029893 -2.804311)'), GeomFromEWKT('SRID=4674;POINT (-40.02993 -2.804336)'))) / (select extract(epoch from '2026-06-12 08:10:33'::timestamp) - extract(epoch from '2026-06-12 08:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029893 -2.804311)'), GeomFromEWKT('SRID=4674;POINT (-40.02993 -2.804336)'))) / (select extract(epoch from '2026-06-12 08:10:33'::timestamp) - extract(epoch from '2026-06-12 08:10: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'), 46702, 'SRID=4674;POINT (-40.029987 -2.804383)', '2026-06-12 08:10:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02993 -2.804336)'), GeomFromEWKT('SRID=4674;POINT (-40.029987 -2.804383)'))) / (select extract(epoch from '2026-06-12 08:10:46'::timestamp) - extract(epoch from '2026-06-12 08:10:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02993 -2.804336)'), GeomFromEWKT('SRID=4674;POINT (-40.029987 -2.804383)'))) / (select extract(epoch from '2026-06-12 08:10:46'::timestamp) - extract(epoch from '2026-06-12 08:10: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'), 46702, 'SRID=4674;POINT (-40.029994 -2.804386)', '2026-06-12 08:10:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029987 -2.804383)'), GeomFromEWKT('SRID=4674;POINT (-40.029994 -2.804386)'))) / (select extract(epoch from '2026-06-12 08:10:47'::timestamp) - extract(epoch from '2026-06-12 08:10:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029987 -2.804383)'), GeomFromEWKT('SRID=4674;POINT (-40.029994 -2.804386)'))) / (select extract(epoch from '2026-06-12 08:10:47'::timestamp) - extract(epoch from '2026-06-12 08:10:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.029994 -2.804417)', '2026-06-12 08:10:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029994 -2.804386)'), GeomFromEWKT('SRID=4674;POINT (-40.029994 -2.804417)'))) / (select extract(epoch from '2026-06-12 08:10:51'::timestamp) - extract(epoch from '2026-06-12 08:10:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029994 -2.804386)'), GeomFromEWKT('SRID=4674;POINT (-40.029994 -2.804417)'))) / (select extract(epoch from '2026-06-12 08:10:51'::timestamp) - extract(epoch from '2026-06-12 08:10: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'), 46702, 'SRID=4674;POINT (-40.029995 -2.804427)', '2026-06-12 08:10:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029994 -2.804417)'), GeomFromEWKT('SRID=4674;POINT (-40.029995 -2.804427)'))) / (select extract(epoch from '2026-06-12 08:10:52'::timestamp) - extract(epoch from '2026-06-12 08:10:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029994 -2.804417)'), GeomFromEWKT('SRID=4674;POINT (-40.029995 -2.804427)'))) / (select extract(epoch from '2026-06-12 08:10:52'::timestamp) - extract(epoch from '2026-06-12 08:10: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'), 46702, 'SRID=4674;POINT (-40.029997 -2.804447)', '2026-06-12 08:10:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029995 -2.804427)'), GeomFromEWKT('SRID=4674;POINT (-40.029997 -2.804447)'))) / (select extract(epoch from '2026-06-12 08:10:54'::timestamp) - extract(epoch from '2026-06-12 08:10:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029995 -2.804427)'), GeomFromEWKT('SRID=4674;POINT (-40.029997 -2.804447)'))) / (select extract(epoch from '2026-06-12 08:10:54'::timestamp) - extract(epoch from '2026-06-12 08: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'), 46702, 'SRID=4674;POINT (-40.030001 -2.804469)', '2026-06-12 08:10:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029997 -2.804447)'), GeomFromEWKT('SRID=4674;POINT (-40.030001 -2.804469)'))) / (select extract(epoch from '2026-06-12 08:10:56'::timestamp) - extract(epoch from '2026-06-12 08:10:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029997 -2.804447)'), GeomFromEWKT('SRID=4674;POINT (-40.030001 -2.804469)'))) / (select extract(epoch from '2026-06-12 08:10:56'::timestamp) - extract(epoch from '2026-06-12 08:10:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.030031 -2.804586)', '2026-06-12 08:11:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030001 -2.804469)'), GeomFromEWKT('SRID=4674;POINT (-40.030031 -2.804586)'))) / (select extract(epoch from '2026-06-12 08:11:04'::timestamp) - extract(epoch from '2026-06-12 08:10:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030001 -2.804469)'), GeomFromEWKT('SRID=4674;POINT (-40.030031 -2.804586)'))) / (select extract(epoch from '2026-06-12 08:11:04'::timestamp) - extract(epoch from '2026-06-12 08:10: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'), 46702, 'SRID=4674;POINT (-40.030067 -2.804709)', '2026-06-12 08:11:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030031 -2.804586)'), GeomFromEWKT('SRID=4674;POINT (-40.030067 -2.804709)'))) / (select extract(epoch from '2026-06-12 08:11:11'::timestamp) - extract(epoch from '2026-06-12 08:11:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030031 -2.804586)'), GeomFromEWKT('SRID=4674;POINT (-40.030067 -2.804709)'))) / (select extract(epoch from '2026-06-12 08:11:11'::timestamp) - extract(epoch from '2026-06-12 08:11: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'), 46702, 'SRID=4674;POINT (-40.030084 -2.80485)', '2026-06-12 08:11:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030067 -2.804709)'), GeomFromEWKT('SRID=4674;POINT (-40.030084 -2.80485)'))) / (select extract(epoch from '2026-06-12 08:11:19'::timestamp) - extract(epoch from '2026-06-12 08:11:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030067 -2.804709)'), GeomFromEWKT('SRID=4674;POINT (-40.030084 -2.80485)'))) / (select extract(epoch from '2026-06-12 08:11:19'::timestamp) - extract(epoch from '2026-06-12 08: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'), 46702, 'SRID=4674;POINT (-40.030097 -2.805011)', '2026-06-12 08:11:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030084 -2.80485)'), GeomFromEWKT('SRID=4674;POINT (-40.030097 -2.805011)'))) / (select extract(epoch from '2026-06-12 08:11:28'::timestamp) - extract(epoch from '2026-06-12 08:11:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030084 -2.80485)'), GeomFromEWKT('SRID=4674;POINT (-40.030097 -2.805011)'))) / (select extract(epoch from '2026-06-12 08:11:28'::timestamp) - extract(epoch from '2026-06-12 08:11: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'), 46702, 'SRID=4674;POINT (-40.030138 -2.80514)', '2026-06-12 08:11:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030097 -2.805011)'), GeomFromEWKT('SRID=4674;POINT (-40.030138 -2.80514)'))) / (select extract(epoch from '2026-06-12 08:11:36'::timestamp) - extract(epoch from '2026-06-12 08:11:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030097 -2.805011)'), GeomFromEWKT('SRID=4674;POINT (-40.030138 -2.80514)'))) / (select extract(epoch from '2026-06-12 08:11:36'::timestamp) - extract(epoch from '2026-06-12 08:11: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'), 46702, 'SRID=4674;POINT (-40.030173 -2.805264)', '2026-06-12 08:11:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030138 -2.80514)'), GeomFromEWKT('SRID=4674;POINT (-40.030173 -2.805264)'))) / (select extract(epoch from '2026-06-12 08:11:46'::timestamp) - extract(epoch from '2026-06-12 08:11:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030138 -2.80514)'), GeomFromEWKT('SRID=4674;POINT (-40.030173 -2.805264)'))) / (select extract(epoch from '2026-06-12 08:11:46'::timestamp) - extract(epoch from '2026-06-12 08:11: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'), 46702, 'SRID=4674;POINT (-40.030161 -2.805327)', '2026-06-12 08:11:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030173 -2.805264)'), GeomFromEWKT('SRID=4674;POINT (-40.030161 -2.805327)'))) / (select extract(epoch from '2026-06-12 08:11:58'::timestamp) - extract(epoch from '2026-06-12 08:11:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030173 -2.805264)'), GeomFromEWKT('SRID=4674;POINT (-40.030161 -2.805327)'))) / (select extract(epoch from '2026-06-12 08:11:58'::timestamp) - extract(epoch from '2026-06-12 08:11: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'), 46702, 'SRID=4674;POINT (-40.030162 -2.805331)', '2026-06-12 08:12:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030161 -2.805327)'), GeomFromEWKT('SRID=4674;POINT (-40.030162 -2.805331)'))) / (select extract(epoch from '2026-06-12 08:12:14'::timestamp) - extract(epoch from '2026-06-12 08:11:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030161 -2.805327)'), GeomFromEWKT('SRID=4674;POINT (-40.030162 -2.805331)'))) / (select extract(epoch from '2026-06-12 08:12:14'::timestamp) - extract(epoch from '2026-06-12 08:11: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'), 46702, 'SRID=4674;POINT (-40.030188 -2.80531)', '2026-06-12 08:12:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030162 -2.805331)'), GeomFromEWKT('SRID=4674;POINT (-40.030188 -2.80531)'))) / (select extract(epoch from '2026-06-12 08:12:27'::timestamp) - extract(epoch from '2026-06-12 08:12:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030162 -2.805331)'), GeomFromEWKT('SRID=4674;POINT (-40.030188 -2.80531)'))) / (select extract(epoch from '2026-06-12 08:12:27'::timestamp) - extract(epoch from '2026-06-12 08: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'), 46702, 'SRID=4674;POINT (-40.030224 -2.805263)', '2026-06-12 08:12:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030188 -2.80531)'), GeomFromEWKT('SRID=4674;POINT (-40.030224 -2.805263)'))) / (select extract(epoch from '2026-06-12 08:12:54'::timestamp) - extract(epoch from '2026-06-12 08:12:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030188 -2.80531)'), GeomFromEWKT('SRID=4674;POINT (-40.030224 -2.805263)'))) / (select extract(epoch from '2026-06-12 08:12:54'::timestamp) - extract(epoch from '2026-06-12 08:12: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'), 46702, 'SRID=4674;POINT (-40.030203 -2.80527)', '2026-06-12 08:13:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030224 -2.805263)'), GeomFromEWKT('SRID=4674;POINT (-40.030203 -2.80527)'))) / (select extract(epoch from '2026-06-12 08:13:01'::timestamp) - extract(epoch from '2026-06-12 08:12:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030224 -2.805263)'), GeomFromEWKT('SRID=4674;POINT (-40.030203 -2.80527)'))) / (select extract(epoch from '2026-06-12 08:13:01'::timestamp) - extract(epoch from '2026-06-12 08:12:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.030185 -2.805278)', '2026-06-12 08:13:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030203 -2.80527)'), GeomFromEWKT('SRID=4674;POINT (-40.030185 -2.805278)'))) / (select extract(epoch from '2026-06-12 08:13:07'::timestamp) - extract(epoch from '2026-06-12 08:13:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030203 -2.80527)'), GeomFromEWKT('SRID=4674;POINT (-40.030185 -2.805278)'))) / (select extract(epoch from '2026-06-12 08:13:07'::timestamp) - extract(epoch from '2026-06-12 08:13: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'), 46702, 'SRID=4674;POINT (-40.030149 -2.805306)', '2026-06-12 08:13:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030185 -2.805278)'), GeomFromEWKT('SRID=4674;POINT (-40.030149 -2.805306)'))) / (select extract(epoch from '2026-06-12 08:13:14'::timestamp) - extract(epoch from '2026-06-12 08:13:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030185 -2.805278)'), GeomFromEWKT('SRID=4674;POINT (-40.030149 -2.805306)'))) / (select extract(epoch from '2026-06-12 08:13:14'::timestamp) - extract(epoch from '2026-06-12 08:13: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'), 46702, 'SRID=4674;POINT (-40.030155 -2.805285)', '2026-06-12 08:13:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030149 -2.805306)'), GeomFromEWKT('SRID=4674;POINT (-40.030155 -2.805285)'))) / (select extract(epoch from '2026-06-12 08:13:20'::timestamp) - extract(epoch from '2026-06-12 08:13:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030149 -2.805306)'), GeomFromEWKT('SRID=4674;POINT (-40.030155 -2.805285)'))) / (select extract(epoch from '2026-06-12 08:13:20'::timestamp) - extract(epoch from '2026-06-12 08:13: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'), 46702, 'SRID=4674;POINT (-40.030181 -2.805244)', '2026-06-12 08:13:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030155 -2.805285)'), GeomFromEWKT('SRID=4674;POINT (-40.030181 -2.805244)'))) / (select extract(epoch from '2026-06-12 08:13:30'::timestamp) - extract(epoch from '2026-06-12 08:13:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030155 -2.805285)'), GeomFromEWKT('SRID=4674;POINT (-40.030181 -2.805244)'))) / (select extract(epoch from '2026-06-12 08:13:30'::timestamp) - extract(epoch from '2026-06-12 08:13: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'), 46702, 'SRID=4674;POINT (-40.030205 -2.80524)', '2026-06-12 08:13:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030181 -2.805244)'), GeomFromEWKT('SRID=4674;POINT (-40.030205 -2.80524)'))) / (select extract(epoch from '2026-06-12 08:13:37'::timestamp) - extract(epoch from '2026-06-12 08:13:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030181 -2.805244)'), GeomFromEWKT('SRID=4674;POINT (-40.030205 -2.80524)'))) / (select extract(epoch from '2026-06-12 08:13:37'::timestamp) - extract(epoch from '2026-06-12 08:13: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'), 46702, 'SRID=4674;POINT (-40.030223 -2.80524)', '2026-06-12 08:13:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030205 -2.80524)'), GeomFromEWKT('SRID=4674;POINT (-40.030223 -2.80524)'))) / (select extract(epoch from '2026-06-12 08:13:48'::timestamp) - extract(epoch from '2026-06-12 08:13:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030205 -2.80524)'), GeomFromEWKT('SRID=4674;POINT (-40.030223 -2.80524)'))) / (select extract(epoch from '2026-06-12 08:13:48'::timestamp) - extract(epoch from '2026-06-12 08:13:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.030196 -2.805243)', '2026-06-12 08:14:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030223 -2.80524)'), GeomFromEWKT('SRID=4674;POINT (-40.030196 -2.805243)'))) / (select extract(epoch from '2026-06-12 08:14:07'::timestamp) - extract(epoch from '2026-06-12 08:13:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030223 -2.80524)'), GeomFromEWKT('SRID=4674;POINT (-40.030196 -2.805243)'))) / (select extract(epoch from '2026-06-12 08:14:07'::timestamp) - extract(epoch from '2026-06-12 08:13:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.030131 -2.805283)', '2026-06-12 08:14:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030196 -2.805243)'), GeomFromEWKT('SRID=4674;POINT (-40.030131 -2.805283)'))) / (select extract(epoch from '2026-06-12 08:14:18'::timestamp) - extract(epoch from '2026-06-12 08:14:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030196 -2.805243)'), GeomFromEWKT('SRID=4674;POINT (-40.030131 -2.805283)'))) / (select extract(epoch from '2026-06-12 08:14:18'::timestamp) - extract(epoch from '2026-06-12 08:14: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'), 46702, 'SRID=4674;POINT (-40.030081 -2.805378)', '2026-06-12 08:14:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030131 -2.805283)'), GeomFromEWKT('SRID=4674;POINT (-40.030081 -2.805378)'))) / (select extract(epoch from '2026-06-12 08:14:30'::timestamp) - extract(epoch from '2026-06-12 08:14:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030131 -2.805283)'), GeomFromEWKT('SRID=4674;POINT (-40.030081 -2.805378)'))) / (select extract(epoch from '2026-06-12 08:14:30'::timestamp) - extract(epoch from '2026-06-12 08:14: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'), 46702, 'SRID=4674;POINT (-40.030093 -2.805459)', '2026-06-12 08:14:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030081 -2.805378)'), GeomFromEWKT('SRID=4674;POINT (-40.030093 -2.805459)'))) / (select extract(epoch from '2026-06-12 08:14:37'::timestamp) - extract(epoch from '2026-06-12 08:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030081 -2.805378)'), GeomFromEWKT('SRID=4674;POINT (-40.030093 -2.805459)'))) / (select extract(epoch from '2026-06-12 08:14:37'::timestamp) - extract(epoch from '2026-06-12 08:14: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'), 46702, 'SRID=4674;POINT (-40.030111 -2.805559)', '2026-06-12 08:14:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030093 -2.805459)'), GeomFromEWKT('SRID=4674;POINT (-40.030111 -2.805559)'))) / (select extract(epoch from '2026-06-12 08:14:44'::timestamp) - extract(epoch from '2026-06-12 08:14:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030093 -2.805459)'), GeomFromEWKT('SRID=4674;POINT (-40.030111 -2.805559)'))) / (select extract(epoch from '2026-06-12 08:14:44'::timestamp) - extract(epoch from '2026-06-12 08:14:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.030139 -2.805667)', '2026-06-12 08:14:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030111 -2.805559)'), GeomFromEWKT('SRID=4674;POINT (-40.030139 -2.805667)'))) / (select extract(epoch from '2026-06-12 08:14:50'::timestamp) - extract(epoch from '2026-06-12 08:14:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030111 -2.805559)'), GeomFromEWKT('SRID=4674;POINT (-40.030139 -2.805667)'))) / (select extract(epoch from '2026-06-12 08:14:50'::timestamp) - extract(epoch from '2026-06-12 08:14: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'), 46702, 'SRID=4674;POINT (-40.030191 -2.805871)', '2026-06-12 08:15:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030139 -2.805667)'), GeomFromEWKT('SRID=4674;POINT (-40.030191 -2.805871)'))) / (select extract(epoch from '2026-06-12 08:15:01'::timestamp) - extract(epoch from '2026-06-12 08:14:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030139 -2.805667)'), GeomFromEWKT('SRID=4674;POINT (-40.030191 -2.805871)'))) / (select extract(epoch from '2026-06-12 08:15:01'::timestamp) - extract(epoch from '2026-06-12 08:14: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'), 46702, 'SRID=4674;POINT (-40.030277 -2.80604)', '2026-06-12 08:15:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030191 -2.805871)'), GeomFromEWKT('SRID=4674;POINT (-40.030277 -2.80604)'))) / (select extract(epoch from '2026-06-12 08:15:11'::timestamp) - extract(epoch from '2026-06-12 08:15:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030191 -2.805871)'), GeomFromEWKT('SRID=4674;POINT (-40.030277 -2.80604)'))) / (select extract(epoch from '2026-06-12 08:15:11'::timestamp) - extract(epoch from '2026-06-12 08: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'), 46702, 'SRID=4674;POINT (-40.030347 -2.806166)', '2026-06-12 08:15:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030277 -2.80604)'), GeomFromEWKT('SRID=4674;POINT (-40.030347 -2.806166)'))) / (select extract(epoch from '2026-06-12 08:15:19'::timestamp) - extract(epoch from '2026-06-12 08:15:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030277 -2.80604)'), GeomFromEWKT('SRID=4674;POINT (-40.030347 -2.806166)'))) / (select extract(epoch from '2026-06-12 08:15:19'::timestamp) - extract(epoch from '2026-06-12 08:15:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.030411 -2.806275)', '2026-06-12 08:15:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030347 -2.806166)'), GeomFromEWKT('SRID=4674;POINT (-40.030411 -2.806275)'))) / (select extract(epoch from '2026-06-12 08:15:28'::timestamp) - extract(epoch from '2026-06-12 08:15:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030347 -2.806166)'), GeomFromEWKT('SRID=4674;POINT (-40.030411 -2.806275)'))) / (select extract(epoch from '2026-06-12 08:15:28'::timestamp) - extract(epoch from '2026-06-12 08:15: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'), 46702, 'SRID=4674;POINT (-40.030417 -2.806284)', '2026-06-12 08:15:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030411 -2.806275)'), GeomFromEWKT('SRID=4674;POINT (-40.030417 -2.806284)'))) / (select extract(epoch from '2026-06-12 08:15:29'::timestamp) - extract(epoch from '2026-06-12 08:15:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030411 -2.806275)'), GeomFromEWKT('SRID=4674;POINT (-40.030417 -2.806284)'))) / (select extract(epoch from '2026-06-12 08:15:29'::timestamp) - extract(epoch from '2026-06-12 08:15: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'), 46702, 'SRID=4674;POINT (-40.030444 -2.806324)', '2026-06-12 08:15:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030417 -2.806284)'), GeomFromEWKT('SRID=4674;POINT (-40.030444 -2.806324)'))) / (select extract(epoch from '2026-06-12 08:15:34'::timestamp) - extract(epoch from '2026-06-12 08:15:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030417 -2.806284)'), GeomFromEWKT('SRID=4674;POINT (-40.030444 -2.806324)'))) / (select extract(epoch from '2026-06-12 08:15:34'::timestamp) - extract(epoch from '2026-06-12 08:15: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'), 46702, 'SRID=4674;POINT (-40.030458 -2.806371)', '2026-06-12 08:15:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030444 -2.806324)'), GeomFromEWKT('SRID=4674;POINT (-40.030458 -2.806371)'))) / (select extract(epoch from '2026-06-12 08:15:47'::timestamp) - extract(epoch from '2026-06-12 08:15:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030444 -2.806324)'), GeomFromEWKT('SRID=4674;POINT (-40.030458 -2.806371)'))) / (select extract(epoch from '2026-06-12 08:15:47'::timestamp) - extract(epoch from '2026-06-12 08:15: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'), 46702, 'SRID=4674;POINT (-40.03048 -2.806359)', '2026-06-12 08:16:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030458 -2.806371)'), GeomFromEWKT('SRID=4674;POINT (-40.03048 -2.806359)'))) / (select extract(epoch from '2026-06-12 08:16:05'::timestamp) - extract(epoch from '2026-06-12 08:15:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030458 -2.806371)'), GeomFromEWKT('SRID=4674;POINT (-40.03048 -2.806359)'))) / (select extract(epoch from '2026-06-12 08:16:05'::timestamp) - extract(epoch from '2026-06-12 08:15:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.030495 -2.806294)', '2026-06-12 08:16:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03048 -2.806359)'), GeomFromEWKT('SRID=4674;POINT (-40.030495 -2.806294)'))) / (select extract(epoch from '2026-06-12 08:16:35'::timestamp) - extract(epoch from '2026-06-12 08:16:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03048 -2.806359)'), GeomFromEWKT('SRID=4674;POINT (-40.030495 -2.806294)'))) / (select extract(epoch from '2026-06-12 08:16:35'::timestamp) - extract(epoch from '2026-06-12 08:16:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.030541 -2.806242)', '2026-06-12 08:17:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030495 -2.806294)'), GeomFromEWKT('SRID=4674;POINT (-40.030541 -2.806242)'))) / (select extract(epoch from '2026-06-12 08:17:08'::timestamp) - extract(epoch from '2026-06-12 08:16:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030495 -2.806294)'), GeomFromEWKT('SRID=4674;POINT (-40.030541 -2.806242)'))) / (select extract(epoch from '2026-06-12 08:17:08'::timestamp) - extract(epoch from '2026-06-12 08:16: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'), 46702, 'SRID=4674;POINT (-40.03055 -2.806232)', '2026-06-12 08:17:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030541 -2.806242)'), GeomFromEWKT('SRID=4674;POINT (-40.03055 -2.806232)'))) / (select extract(epoch from '2026-06-12 08:17:33'::timestamp) - extract(epoch from '2026-06-12 08:17:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030541 -2.806242)'), GeomFromEWKT('SRID=4674;POINT (-40.03055 -2.806232)'))) / (select extract(epoch from '2026-06-12 08:17:33'::timestamp) - extract(epoch from '2026-06-12 08:17:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.030586 -2.806269)', '2026-06-12 08:18:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03055 -2.806232)'), GeomFromEWKT('SRID=4674;POINT (-40.030586 -2.806269)'))) / (select extract(epoch from '2026-06-12 08:18:15'::timestamp) - extract(epoch from '2026-06-12 08:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03055 -2.806232)'), GeomFromEWKT('SRID=4674;POINT (-40.030586 -2.806269)'))) / (select extract(epoch from '2026-06-12 08:18:15'::timestamp) - extract(epoch from '2026-06-12 08:17: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'), 46702, 'SRID=4674;POINT (-40.030589 -2.8063)', '2026-06-12 08:18:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030586 -2.806269)'), GeomFromEWKT('SRID=4674;POINT (-40.030589 -2.8063)'))) / (select extract(epoch from '2026-06-12 08:18:53'::timestamp) - extract(epoch from '2026-06-12 08:18:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030586 -2.806269)'), GeomFromEWKT('SRID=4674;POINT (-40.030589 -2.8063)'))) / (select extract(epoch from '2026-06-12 08:18:53'::timestamp) - extract(epoch from '2026-06-12 08:18: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'), 46702, 'SRID=4674;POINT (-40.030594 -2.806293)', '2026-06-12 08:18:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030589 -2.8063)'), GeomFromEWKT('SRID=4674;POINT (-40.030594 -2.806293)'))) / (select extract(epoch from '2026-06-12 08:18:58'::timestamp) - extract(epoch from '2026-06-12 08:18:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030589 -2.8063)'), GeomFromEWKT('SRID=4674;POINT (-40.030594 -2.806293)'))) / (select extract(epoch from '2026-06-12 08:18:58'::timestamp) - extract(epoch from '2026-06-12 08:18: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'), 46702, 'SRID=4674;POINT (-40.030584 -2.806271)', '2026-06-12 08:19:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030594 -2.806293)'), GeomFromEWKT('SRID=4674;POINT (-40.030584 -2.806271)'))) / (select extract(epoch from '2026-06-12 08:19:18'::timestamp) - extract(epoch from '2026-06-12 08:18:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030594 -2.806293)'), GeomFromEWKT('SRID=4674;POINT (-40.030584 -2.806271)'))) / (select extract(epoch from '2026-06-12 08:19:18'::timestamp) - extract(epoch from '2026-06-12 08:18:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.030566 -2.806251)', '2026-06-12 08:19:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030584 -2.806271)'), GeomFromEWKT('SRID=4674;POINT (-40.030566 -2.806251)'))) / (select extract(epoch from '2026-06-12 08:19:30'::timestamp) - extract(epoch from '2026-06-12 08:19:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030584 -2.806271)'), GeomFromEWKT('SRID=4674;POINT (-40.030566 -2.806251)'))) / (select extract(epoch from '2026-06-12 08:19:30'::timestamp) - extract(epoch from '2026-06-12 08:19:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.030528 -2.806252)', '2026-06-12 08:19:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030566 -2.806251)'), GeomFromEWKT('SRID=4674;POINT (-40.030528 -2.806252)'))) / (select extract(epoch from '2026-06-12 08:19:37'::timestamp) - extract(epoch from '2026-06-12 08:19:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030566 -2.806251)'), GeomFromEWKT('SRID=4674;POINT (-40.030528 -2.806252)'))) / (select extract(epoch from '2026-06-12 08:19:37'::timestamp) - extract(epoch from '2026-06-12 08:19: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'), 46702, 'SRID=4674;POINT (-40.030447 -2.806296)', '2026-06-12 08:19:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030528 -2.806252)'), GeomFromEWKT('SRID=4674;POINT (-40.030447 -2.806296)'))) / (select extract(epoch from '2026-06-12 08:19:46'::timestamp) - extract(epoch from '2026-06-12 08:19:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030528 -2.806252)'), GeomFromEWKT('SRID=4674;POINT (-40.030447 -2.806296)'))) / (select extract(epoch from '2026-06-12 08:19:46'::timestamp) - extract(epoch from '2026-06-12 08:19: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'), 46702, 'SRID=4674;POINT (-40.030397 -2.80633)', '2026-06-12 08:19:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030447 -2.806296)'), GeomFromEWKT('SRID=4674;POINT (-40.030397 -2.80633)'))) / (select extract(epoch from '2026-06-12 08:19:53'::timestamp) - extract(epoch from '2026-06-12 08:19:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030447 -2.806296)'), GeomFromEWKT('SRID=4674;POINT (-40.030397 -2.80633)'))) / (select extract(epoch from '2026-06-12 08:19:53'::timestamp) - extract(epoch from '2026-06-12 08:19: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'), 46702, 'SRID=4674;POINT (-40.030344 -2.806397)', '2026-06-12 08:20:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030397 -2.80633)'), GeomFromEWKT('SRID=4674;POINT (-40.030344 -2.806397)'))) / (select extract(epoch from '2026-06-12 08:20:01'::timestamp) - extract(epoch from '2026-06-12 08:19:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030397 -2.80633)'), GeomFromEWKT('SRID=4674;POINT (-40.030344 -2.806397)'))) / (select extract(epoch from '2026-06-12 08:20:01'::timestamp) - extract(epoch from '2026-06-12 08:19:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.030365 -2.806507)', '2026-06-12 08:20:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030344 -2.806397)'), GeomFromEWKT('SRID=4674;POINT (-40.030365 -2.806507)'))) / (select extract(epoch from '2026-06-12 08:20:08'::timestamp) - extract(epoch from '2026-06-12 08:20:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030344 -2.806397)'), GeomFromEWKT('SRID=4674;POINT (-40.030365 -2.806507)'))) / (select extract(epoch from '2026-06-12 08:20:08'::timestamp) - extract(epoch from '2026-06-12 08:20: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'), 46702, 'SRID=4674;POINT (-40.030486 -2.806625)', '2026-06-12 08:20:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030365 -2.806507)'), GeomFromEWKT('SRID=4674;POINT (-40.030486 -2.806625)'))) / (select extract(epoch from '2026-06-12 08:20:17'::timestamp) - extract(epoch from '2026-06-12 08:20:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030365 -2.806507)'), GeomFromEWKT('SRID=4674;POINT (-40.030486 -2.806625)'))) / (select extract(epoch from '2026-06-12 08:20:17'::timestamp) - extract(epoch from '2026-06-12 08:20: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'), 46702, 'SRID=4674;POINT (-40.030651 -2.806708)', '2026-06-12 08:20:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030486 -2.806625)'), GeomFromEWKT('SRID=4674;POINT (-40.030651 -2.806708)'))) / (select extract(epoch from '2026-06-12 08:20:26'::timestamp) - extract(epoch from '2026-06-12 08:20:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030486 -2.806625)'), GeomFromEWKT('SRID=4674;POINT (-40.030651 -2.806708)'))) / (select extract(epoch from '2026-06-12 08:20:26'::timestamp) - extract(epoch from '2026-06-12 08: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'), 46702, 'SRID=4674;POINT (-40.030825 -2.806817)', '2026-06-12 08:20:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030651 -2.806708)'), GeomFromEWKT('SRID=4674;POINT (-40.030825 -2.806817)'))) / (select extract(epoch from '2026-06-12 08:20:36'::timestamp) - extract(epoch from '2026-06-12 08:20:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030651 -2.806708)'), GeomFromEWKT('SRID=4674;POINT (-40.030825 -2.806817)'))) / (select extract(epoch from '2026-06-12 08:20:36'::timestamp) - extract(epoch from '2026-06-12 08:20:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.030979 -2.806975)', '2026-06-12 08:20:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030825 -2.806817)'), GeomFromEWKT('SRID=4674;POINT (-40.030979 -2.806975)'))) / (select extract(epoch from '2026-06-12 08:20:47'::timestamp) - extract(epoch from '2026-06-12 08:20:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030825 -2.806817)'), GeomFromEWKT('SRID=4674;POINT (-40.030979 -2.806975)'))) / (select extract(epoch from '2026-06-12 08:20:47'::timestamp) - extract(epoch from '2026-06-12 08:20:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.031048 -2.807091)', '2026-06-12 08:20:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030979 -2.806975)'), GeomFromEWKT('SRID=4674;POINT (-40.031048 -2.807091)'))) / (select extract(epoch from '2026-06-12 08:20:55'::timestamp) - extract(epoch from '2026-06-12 08:20:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030979 -2.806975)'), GeomFromEWKT('SRID=4674;POINT (-40.031048 -2.807091)'))) / (select extract(epoch from '2026-06-12 08:20:55'::timestamp) - extract(epoch from '2026-06-12 08:20: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'), 46702, 'SRID=4674;POINT (-40.031086 -2.807173)', '2026-06-12 08:21:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031048 -2.807091)'), GeomFromEWKT('SRID=4674;POINT (-40.031086 -2.807173)'))) / (select extract(epoch from '2026-06-12 08:21:03'::timestamp) - extract(epoch from '2026-06-12 08:20:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031048 -2.807091)'), GeomFromEWKT('SRID=4674;POINT (-40.031086 -2.807173)'))) / (select extract(epoch from '2026-06-12 08:21:03'::timestamp) - extract(epoch from '2026-06-12 08:20:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.031091 -2.80721)', '2026-06-12 08:21:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031086 -2.807173)'), GeomFromEWKT('SRID=4674;POINT (-40.031091 -2.80721)'))) / (select extract(epoch from '2026-06-12 08:21:15'::timestamp) - extract(epoch from '2026-06-12 08:21:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031086 -2.807173)'), GeomFromEWKT('SRID=4674;POINT (-40.031091 -2.80721)'))) / (select extract(epoch from '2026-06-12 08:21:15'::timestamp) - extract(epoch from '2026-06-12 08:21: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'), 46702, 'SRID=4674;POINT (-40.031125 -2.807189)', '2026-06-12 08:21:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031091 -2.80721)'), GeomFromEWKT('SRID=4674;POINT (-40.031125 -2.807189)'))) / (select extract(epoch from '2026-06-12 08:21:37'::timestamp) - extract(epoch from '2026-06-12 08:21:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031091 -2.80721)'), GeomFromEWKT('SRID=4674;POINT (-40.031125 -2.807189)'))) / (select extract(epoch from '2026-06-12 08:21:37'::timestamp) - extract(epoch from '2026-06-12 08:21: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'), 46702, 'SRID=4674;POINT (-40.031117 -2.80716)', '2026-06-12 08:21:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031125 -2.807189)'), GeomFromEWKT('SRID=4674;POINT (-40.031117 -2.80716)'))) / (select extract(epoch from '2026-06-12 08:21:59'::timestamp) - extract(epoch from '2026-06-12 08:21:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031125 -2.807189)'), GeomFromEWKT('SRID=4674;POINT (-40.031117 -2.80716)'))) / (select extract(epoch from '2026-06-12 08:21:59'::timestamp) - extract(epoch from '2026-06-12 08:21: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'), 46702, 'SRID=4674;POINT (-40.031115 -2.807179)', '2026-06-12 08:22:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031117 -2.80716)'), GeomFromEWKT('SRID=4674;POINT (-40.031115 -2.807179)'))) / (select extract(epoch from '2026-06-12 08:22:09'::timestamp) - extract(epoch from '2026-06-12 08:21:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031117 -2.80716)'), GeomFromEWKT('SRID=4674;POINT (-40.031115 -2.807179)'))) / (select extract(epoch from '2026-06-12 08:22:09'::timestamp) - extract(epoch from '2026-06-12 08:21: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'), 46702, 'SRID=4674;POINT (-40.031109 -2.807167)', '2026-06-12 08:22:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031115 -2.807179)'), GeomFromEWKT('SRID=4674;POINT (-40.031109 -2.807167)'))) / (select extract(epoch from '2026-06-12 08:22:13'::timestamp) - extract(epoch from '2026-06-12 08:22:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031115 -2.807179)'), GeomFromEWKT('SRID=4674;POINT (-40.031109 -2.807167)'))) / (select extract(epoch from '2026-06-12 08:22:13'::timestamp) - extract(epoch from '2026-06-12 08: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'), 46702, 'SRID=4674;POINT (-40.031111 -2.807159)', '2026-06-12 08:22:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031109 -2.807167)'), GeomFromEWKT('SRID=4674;POINT (-40.031111 -2.807159)'))) / (select extract(epoch from '2026-06-12 08:22:14'::timestamp) - extract(epoch from '2026-06-12 08:22:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031109 -2.807167)'), GeomFromEWKT('SRID=4674;POINT (-40.031111 -2.807159)'))) / (select extract(epoch from '2026-06-12 08:22:14'::timestamp) - extract(epoch from '2026-06-12 08:22:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.031117 -2.807159)', '2026-06-12 08:22:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031111 -2.807159)'), GeomFromEWKT('SRID=4674;POINT (-40.031117 -2.807159)'))) / (select extract(epoch from '2026-06-12 08:22:20'::timestamp) - extract(epoch from '2026-06-12 08:22:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031111 -2.807159)'), GeomFromEWKT('SRID=4674;POINT (-40.031117 -2.807159)'))) / (select extract(epoch from '2026-06-12 08:22:20'::timestamp) - extract(epoch from '2026-06-12 08:22:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.031129 -2.807161)', '2026-06-12 08:23:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031117 -2.807159)'), GeomFromEWKT('SRID=4674;POINT (-40.031129 -2.807161)'))) / (select extract(epoch from '2026-06-12 08:23:00'::timestamp) - extract(epoch from '2026-06-12 08:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031117 -2.807159)'), GeomFromEWKT('SRID=4674;POINT (-40.031129 -2.807161)'))) / (select extract(epoch from '2026-06-12 08:23:00'::timestamp) - extract(epoch from '2026-06-12 08:22:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.031119 -2.807149)', '2026-06-12 08:23:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031129 -2.807161)'), GeomFromEWKT('SRID=4674;POINT (-40.031119 -2.807149)'))) / (select extract(epoch from '2026-06-12 08:23:18'::timestamp) - extract(epoch from '2026-06-12 08:23:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031129 -2.807161)'), GeomFromEWKT('SRID=4674;POINT (-40.031119 -2.807149)'))) / (select extract(epoch from '2026-06-12 08:23:18'::timestamp) - extract(epoch from '2026-06-12 08:23: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'), 46702, 'SRID=4674;POINT (-40.031075 -2.807184)', '2026-06-12 08:23:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031119 -2.807149)'), GeomFromEWKT('SRID=4674;POINT (-40.031075 -2.807184)'))) / (select extract(epoch from '2026-06-12 08:23:36'::timestamp) - extract(epoch from '2026-06-12 08:23:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031119 -2.807149)'), GeomFromEWKT('SRID=4674;POINT (-40.031075 -2.807184)'))) / (select extract(epoch from '2026-06-12 08:23:36'::timestamp) - extract(epoch from '2026-06-12 08:23:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.030979 -2.807209)', '2026-06-12 08:23:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031075 -2.807184)'), GeomFromEWKT('SRID=4674;POINT (-40.030979 -2.807209)'))) / (select extract(epoch from '2026-06-12 08:23:47'::timestamp) - extract(epoch from '2026-06-12 08:23:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031075 -2.807184)'), GeomFromEWKT('SRID=4674;POINT (-40.030979 -2.807209)'))) / (select extract(epoch from '2026-06-12 08:23:47'::timestamp) - extract(epoch from '2026-06-12 08: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'), 46702, 'SRID=4674;POINT (-40.030892 -2.807183)', '2026-06-12 08:23:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030979 -2.807209)'), GeomFromEWKT('SRID=4674;POINT (-40.030892 -2.807183)'))) / (select extract(epoch from '2026-06-12 08:23:55'::timestamp) - extract(epoch from '2026-06-12 08:23:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030979 -2.807209)'), GeomFromEWKT('SRID=4674;POINT (-40.030892 -2.807183)'))) / (select extract(epoch from '2026-06-12 08:23:55'::timestamp) - extract(epoch from '2026-06-12 08: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'), 46702, 'SRID=4674;POINT (-40.030821 -2.807071)', '2026-06-12 08:24:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030892 -2.807183)'), GeomFromEWKT('SRID=4674;POINT (-40.030821 -2.807071)'))) / (select extract(epoch from '2026-06-12 08:24:04'::timestamp) - extract(epoch from '2026-06-12 08:23:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030892 -2.807183)'), GeomFromEWKT('SRID=4674;POINT (-40.030821 -2.807071)'))) / (select extract(epoch from '2026-06-12 08:24:04'::timestamp) - extract(epoch from '2026-06-12 08:23: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'), 46702, 'SRID=4674;POINT (-40.030744 -2.806911)', '2026-06-12 08:24:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030821 -2.807071)'), GeomFromEWKT('SRID=4674;POINT (-40.030744 -2.806911)'))) / (select extract(epoch from '2026-06-12 08:24:14'::timestamp) - extract(epoch from '2026-06-12 08:24:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030821 -2.807071)'), GeomFromEWKT('SRID=4674;POINT (-40.030744 -2.806911)'))) / (select extract(epoch from '2026-06-12 08:24:14'::timestamp) - extract(epoch from '2026-06-12 08: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'), 46702, 'SRID=4674;POINT (-40.030695 -2.806817)', '2026-06-12 08:24:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030744 -2.806911)'), GeomFromEWKT('SRID=4674;POINT (-40.030695 -2.806817)'))) / (select extract(epoch from '2026-06-12 08:24:20'::timestamp) - extract(epoch from '2026-06-12 08:24:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030744 -2.806911)'), GeomFromEWKT('SRID=4674;POINT (-40.030695 -2.806817)'))) / (select extract(epoch from '2026-06-12 08:24:20'::timestamp) - extract(epoch from '2026-06-12 08:24:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.030602 -2.806613)', '2026-06-12 08:24:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030695 -2.806817)'), GeomFromEWKT('SRID=4674;POINT (-40.030602 -2.806613)'))) / (select extract(epoch from '2026-06-12 08:24:32'::timestamp) - extract(epoch from '2026-06-12 08:24:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030695 -2.806817)'), GeomFromEWKT('SRID=4674;POINT (-40.030602 -2.806613)'))) / (select extract(epoch from '2026-06-12 08:24:32'::timestamp) - extract(epoch from '2026-06-12 08: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'), 46702, 'SRID=4674;POINT (-40.030519 -2.806385)', '2026-06-12 08:24:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030602 -2.806613)'), GeomFromEWKT('SRID=4674;POINT (-40.030519 -2.806385)'))) / (select extract(epoch from '2026-06-12 08:24:45'::timestamp) - extract(epoch from '2026-06-12 08:24:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030602 -2.806613)'), GeomFromEWKT('SRID=4674;POINT (-40.030519 -2.806385)'))) / (select extract(epoch from '2026-06-12 08:24:45'::timestamp) - extract(epoch from '2026-06-12 08:24: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'), 46702, 'SRID=4674;POINT (-40.030457 -2.806223)', '2026-06-12 08:24:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030519 -2.806385)'), GeomFromEWKT('SRID=4674;POINT (-40.030457 -2.806223)'))) / (select extract(epoch from '2026-06-12 08:24:55'::timestamp) - extract(epoch from '2026-06-12 08:24:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030519 -2.806385)'), GeomFromEWKT('SRID=4674;POINT (-40.030457 -2.806223)'))) / (select extract(epoch from '2026-06-12 08:24:55'::timestamp) - extract(epoch from '2026-06-12 08:24: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'), 46702, 'SRID=4674;POINT (-40.030379 -2.806048)', '2026-06-12 08:25:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030457 -2.806223)'), GeomFromEWKT('SRID=4674;POINT (-40.030379 -2.806048)'))) / (select extract(epoch from '2026-06-12 08:25:07'::timestamp) - extract(epoch from '2026-06-12 08:24:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030457 -2.806223)'), GeomFromEWKT('SRID=4674;POINT (-40.030379 -2.806048)'))) / (select extract(epoch from '2026-06-12 08:25:07'::timestamp) - extract(epoch from '2026-06-12 08:24: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'), 46702, 'SRID=4674;POINT (-40.030349 -2.805865)', '2026-06-12 08:25:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030379 -2.806048)'), GeomFromEWKT('SRID=4674;POINT (-40.030349 -2.805865)'))) / (select extract(epoch from '2026-06-12 08:25:17'::timestamp) - extract(epoch from '2026-06-12 08:25:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030379 -2.806048)'), GeomFromEWKT('SRID=4674;POINT (-40.030349 -2.805865)'))) / (select extract(epoch from '2026-06-12 08:25:17'::timestamp) - extract(epoch from '2026-06-12 08:25: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'), 46702, 'SRID=4674;POINT (-40.030308 -2.805701)', '2026-06-12 08:25:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030349 -2.805865)'), GeomFromEWKT('SRID=4674;POINT (-40.030308 -2.805701)'))) / (select extract(epoch from '2026-06-12 08:25:26'::timestamp) - extract(epoch from '2026-06-12 08:25:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030349 -2.805865)'), GeomFromEWKT('SRID=4674;POINT (-40.030308 -2.805701)'))) / (select extract(epoch from '2026-06-12 08:25:26'::timestamp) - extract(epoch from '2026-06-12 08:25:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.030225 -2.805514)', '2026-06-12 08:25:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030308 -2.805701)'), GeomFromEWKT('SRID=4674;POINT (-40.030225 -2.805514)'))) / (select extract(epoch from '2026-06-12 08:25:37'::timestamp) - extract(epoch from '2026-06-12 08:25:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030308 -2.805701)'), GeomFromEWKT('SRID=4674;POINT (-40.030225 -2.805514)'))) / (select extract(epoch from '2026-06-12 08:25:37'::timestamp) - extract(epoch from '2026-06-12 08: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'), 46702, 'SRID=4674;POINT (-40.030196 -2.805283)', '2026-06-12 08:25:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030225 -2.805514)'), GeomFromEWKT('SRID=4674;POINT (-40.030196 -2.805283)'))) / (select extract(epoch from '2026-06-12 08:25:49'::timestamp) - extract(epoch from '2026-06-12 08:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030225 -2.805514)'), GeomFromEWKT('SRID=4674;POINT (-40.030196 -2.805283)'))) / (select extract(epoch from '2026-06-12 08:25:49'::timestamp) - extract(epoch from '2026-06-12 08:25:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.03016 -2.805079)', '2026-06-12 08:26:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030196 -2.805283)'), GeomFromEWKT('SRID=4674;POINT (-40.03016 -2.805079)'))) / (select extract(epoch from '2026-06-12 08:26:00'::timestamp) - extract(epoch from '2026-06-12 08:25:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030196 -2.805283)'), GeomFromEWKT('SRID=4674;POINT (-40.03016 -2.805079)'))) / (select extract(epoch from '2026-06-12 08:26:00'::timestamp) - extract(epoch from '2026-06-12 08:25: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'), 46702, 'SRID=4674;POINT (-40.030098 -2.804927)', '2026-06-12 08:26:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03016 -2.805079)'), GeomFromEWKT('SRID=4674;POINT (-40.030098 -2.804927)'))) / (select extract(epoch from '2026-06-12 08:26:09'::timestamp) - extract(epoch from '2026-06-12 08:26:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03016 -2.805079)'), GeomFromEWKT('SRID=4674;POINT (-40.030098 -2.804927)'))) / (select extract(epoch from '2026-06-12 08:26:09'::timestamp) - extract(epoch from '2026-06-12 08:26:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.030076 -2.804772)', '2026-06-12 08:26:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030098 -2.804927)'), GeomFromEWKT('SRID=4674;POINT (-40.030076 -2.804772)'))) / (select extract(epoch from '2026-06-12 08:26:17'::timestamp) - extract(epoch from '2026-06-12 08:26:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030098 -2.804927)'), GeomFromEWKT('SRID=4674;POINT (-40.030076 -2.804772)'))) / (select extract(epoch from '2026-06-12 08:26:17'::timestamp) - extract(epoch from '2026-06-12 08:26: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'), 46702, 'SRID=4674;POINT (-40.030053 -2.804666)', '2026-06-12 08:26:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030076 -2.804772)'), GeomFromEWKT('SRID=4674;POINT (-40.030053 -2.804666)'))) / (select extract(epoch from '2026-06-12 08:26:23'::timestamp) - extract(epoch from '2026-06-12 08:26:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030076 -2.804772)'), GeomFromEWKT('SRID=4674;POINT (-40.030053 -2.804666)'))) / (select extract(epoch from '2026-06-12 08:26:23'::timestamp) - extract(epoch from '2026-06-12 08:26: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'), 46702, 'SRID=4674;POINT (-40.030043 -2.804501)', '2026-06-12 08:26:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030053 -2.804666)'), GeomFromEWKT('SRID=4674;POINT (-40.030043 -2.804501)'))) / (select extract(epoch from '2026-06-12 08:26:33'::timestamp) - extract(epoch from '2026-06-12 08:26:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030053 -2.804666)'), GeomFromEWKT('SRID=4674;POINT (-40.030043 -2.804501)'))) / (select extract(epoch from '2026-06-12 08:26:33'::timestamp) - extract(epoch from '2026-06-12 08:26: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'), 46702, 'SRID=4674;POINT (-40.030024 -2.804361)', '2026-06-12 08:26:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030043 -2.804501)'), GeomFromEWKT('SRID=4674;POINT (-40.030024 -2.804361)'))) / (select extract(epoch from '2026-06-12 08:26:43'::timestamp) - extract(epoch from '2026-06-12 08:26:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030043 -2.804501)'), GeomFromEWKT('SRID=4674;POINT (-40.030024 -2.804361)'))) / (select extract(epoch from '2026-06-12 08:26:43'::timestamp) - extract(epoch from '2026-06-12 08:26: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'), 46702, 'SRID=4674;POINT (-40.029988 -2.80432)', '2026-06-12 08:26:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030024 -2.804361)'), GeomFromEWKT('SRID=4674;POINT (-40.029988 -2.80432)'))) / (select extract(epoch from '2026-06-12 08:26:52'::timestamp) - extract(epoch from '2026-06-12 08:26:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030024 -2.804361)'), GeomFromEWKT('SRID=4674;POINT (-40.029988 -2.80432)'))) / (select extract(epoch from '2026-06-12 08:26:52'::timestamp) - extract(epoch from '2026-06-12 08: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'), 46702, 'SRID=4674;POINT (-40.029975 -2.804275)', '2026-06-12 08:27:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029988 -2.80432)'), GeomFromEWKT('SRID=4674;POINT (-40.029975 -2.804275)'))) / (select extract(epoch from '2026-06-12 08:27:09'::timestamp) - extract(epoch from '2026-06-12 08:26:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029988 -2.80432)'), GeomFromEWKT('SRID=4674;POINT (-40.029975 -2.804275)'))) / (select extract(epoch from '2026-06-12 08:27:09'::timestamp) - extract(epoch from '2026-06-12 08:26: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'), 46702, 'SRID=4674;POINT (-40.030016 -2.804242)', '2026-06-12 08:27:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029975 -2.804275)'), GeomFromEWKT('SRID=4674;POINT (-40.030016 -2.804242)'))) / (select extract(epoch from '2026-06-12 08:27:34'::timestamp) - extract(epoch from '2026-06-12 08:27:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029975 -2.804275)'), GeomFromEWKT('SRID=4674;POINT (-40.030016 -2.804242)'))) / (select extract(epoch from '2026-06-12 08:27:34'::timestamp) - extract(epoch from '2026-06-12 08:27:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.030026 -2.80426)', '2026-06-12 08:27:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030016 -2.804242)'), GeomFromEWKT('SRID=4674;POINT (-40.030026 -2.80426)'))) / (select extract(epoch from '2026-06-12 08:27:49'::timestamp) - extract(epoch from '2026-06-12 08:27:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030016 -2.804242)'), GeomFromEWKT('SRID=4674;POINT (-40.030026 -2.80426)'))) / (select extract(epoch from '2026-06-12 08:27:49'::timestamp) - extract(epoch from '2026-06-12 08:27: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'), 46702, 'SRID=4674;POINT (-40.030039 -2.804285)', '2026-06-12 08:28:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030026 -2.80426)'), GeomFromEWKT('SRID=4674;POINT (-40.030039 -2.804285)'))) / (select extract(epoch from '2026-06-12 08:28:19'::timestamp) - extract(epoch from '2026-06-12 08:27:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030026 -2.80426)'), GeomFromEWKT('SRID=4674;POINT (-40.030039 -2.804285)'))) / (select extract(epoch from '2026-06-12 08:28:19'::timestamp) - extract(epoch from '2026-06-12 08:27:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.030039 -2.804267)', '2026-06-12 08:28:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030039 -2.804285)'), GeomFromEWKT('SRID=4674;POINT (-40.030039 -2.804267)'))) / (select extract(epoch from '2026-06-12 08:28:37'::timestamp) - extract(epoch from '2026-06-12 08:28:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030039 -2.804285)'), GeomFromEWKT('SRID=4674;POINT (-40.030039 -2.804267)'))) / (select extract(epoch from '2026-06-12 08:28:37'::timestamp) - extract(epoch from '2026-06-12 08:28:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.030046 -2.804262)', '2026-06-12 08:28:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030039 -2.804267)'), GeomFromEWKT('SRID=4674;POINT (-40.030046 -2.804262)'))) / (select extract(epoch from '2026-06-12 08:28:49'::timestamp) - extract(epoch from '2026-06-12 08:28:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030039 -2.804267)'), GeomFromEWKT('SRID=4674;POINT (-40.030046 -2.804262)'))) / (select extract(epoch from '2026-06-12 08:28:49'::timestamp) - extract(epoch from '2026-06-12 08:28: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'), 46702, 'SRID=4674;POINT (-40.030069 -2.804267)', '2026-06-12 08:29:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030046 -2.804262)'), GeomFromEWKT('SRID=4674;POINT (-40.030069 -2.804267)'))) / (select extract(epoch from '2026-06-12 08:29:08'::timestamp) - extract(epoch from '2026-06-12 08:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030046 -2.804262)'), GeomFromEWKT('SRID=4674;POINT (-40.030069 -2.804267)'))) / (select extract(epoch from '2026-06-12 08:29:08'::timestamp) - extract(epoch from '2026-06-12 08:28: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'), 46702, 'SRID=4674;POINT (-40.030084 -2.804283)', '2026-06-12 08:29:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030069 -2.804267)'), GeomFromEWKT('SRID=4674;POINT (-40.030084 -2.804283)'))) / (select extract(epoch from '2026-06-12 08:29:25'::timestamp) - extract(epoch from '2026-06-12 08:29:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030069 -2.804267)'), GeomFromEWKT('SRID=4674;POINT (-40.030084 -2.804283)'))) / (select extract(epoch from '2026-06-12 08:29:25'::timestamp) - extract(epoch from '2026-06-12 08: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'), 46702, 'SRID=4674;POINT (-40.030109 -2.804279)', '2026-06-12 08:29:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030084 -2.804283)'), GeomFromEWKT('SRID=4674;POINT (-40.030109 -2.804279)'))) / (select extract(epoch from '2026-06-12 08:29:40'::timestamp) - extract(epoch from '2026-06-12 08:29:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030084 -2.804283)'), GeomFromEWKT('SRID=4674;POINT (-40.030109 -2.804279)'))) / (select extract(epoch from '2026-06-12 08:29:40'::timestamp) - extract(epoch from '2026-06-12 08: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'), 46702, 'SRID=4674;POINT (-40.030134 -2.80424)', '2026-06-12 08:30:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030109 -2.804279)'), GeomFromEWKT('SRID=4674;POINT (-40.030134 -2.80424)'))) / (select extract(epoch from '2026-06-12 08:30:02'::timestamp) - extract(epoch from '2026-06-12 08:29:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030109 -2.804279)'), GeomFromEWKT('SRID=4674;POINT (-40.030134 -2.80424)'))) / (select extract(epoch from '2026-06-12 08:30:02'::timestamp) - extract(epoch from '2026-06-12 08:29:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.030102 -2.804259)', '2026-06-12 08:30:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030134 -2.80424)'), GeomFromEWKT('SRID=4674;POINT (-40.030102 -2.804259)'))) / (select extract(epoch from '2026-06-12 08:30:19'::timestamp) - extract(epoch from '2026-06-12 08:30:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030134 -2.80424)'), GeomFromEWKT('SRID=4674;POINT (-40.030102 -2.804259)'))) / (select extract(epoch from '2026-06-12 08:30:19'::timestamp) - extract(epoch from '2026-06-12 08: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'), 46702, 'SRID=4674;POINT (-40.03012 -2.804295)', '2026-06-12 08:30:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030102 -2.804259)'), GeomFromEWKT('SRID=4674;POINT (-40.03012 -2.804295)'))) / (select extract(epoch from '2026-06-12 08:30:38'::timestamp) - extract(epoch from '2026-06-12 08:30:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030102 -2.804259)'), GeomFromEWKT('SRID=4674;POINT (-40.03012 -2.804295)'))) / (select extract(epoch from '2026-06-12 08:30:38'::timestamp) - extract(epoch from '2026-06-12 08:30: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'), 46702, 'SRID=4674;POINT (-40.030111 -2.8043)', '2026-06-12 08:30:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03012 -2.804295)'), GeomFromEWKT('SRID=4674;POINT (-40.030111 -2.8043)'))) / (select extract(epoch from '2026-06-12 08:30:56'::timestamp) - extract(epoch from '2026-06-12 08:30:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03012 -2.804295)'), GeomFromEWKT('SRID=4674;POINT (-40.030111 -2.8043)'))) / (select extract(epoch from '2026-06-12 08:30:56'::timestamp) - extract(epoch from '2026-06-12 08:30: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'), 46702, 'SRID=4674;POINT (-40.030103 -2.804252)', '2026-06-12 08:31:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030111 -2.8043)'), GeomFromEWKT('SRID=4674;POINT (-40.030103 -2.804252)'))) / (select extract(epoch from '2026-06-12 08:31:19'::timestamp) - extract(epoch from '2026-06-12 08:30:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030111 -2.8043)'), GeomFromEWKT('SRID=4674;POINT (-40.030103 -2.804252)'))) / (select extract(epoch from '2026-06-12 08:31:19'::timestamp) - extract(epoch from '2026-06-12 08:30: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'), 46702, 'SRID=4674;POINT (-40.030108 -2.80426)', '2026-06-12 08:31:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030103 -2.804252)'), GeomFromEWKT('SRID=4674;POINT (-40.030108 -2.80426)'))) / (select extract(epoch from '2026-06-12 08:31:35'::timestamp) - extract(epoch from '2026-06-12 08:31:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030103 -2.804252)'), GeomFromEWKT('SRID=4674;POINT (-40.030108 -2.80426)'))) / (select extract(epoch from '2026-06-12 08:31:35'::timestamp) - extract(epoch from '2026-06-12 08:31:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.030071 -2.804317)', '2026-06-12 08:31:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030108 -2.80426)'), GeomFromEWKT('SRID=4674;POINT (-40.030071 -2.804317)'))) / (select extract(epoch from '2026-06-12 08:31:44'::timestamp) - extract(epoch from '2026-06-12 08:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030108 -2.80426)'), GeomFromEWKT('SRID=4674;POINT (-40.030071 -2.804317)'))) / (select extract(epoch from '2026-06-12 08:31:44'::timestamp) - extract(epoch from '2026-06-12 08:31:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.029997 -2.80437)', '2026-06-12 08:31:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030071 -2.804317)'), GeomFromEWKT('SRID=4674;POINT (-40.029997 -2.80437)'))) / (select extract(epoch from '2026-06-12 08:31:54'::timestamp) - extract(epoch from '2026-06-12 08:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030071 -2.804317)'), GeomFromEWKT('SRID=4674;POINT (-40.029997 -2.80437)'))) / (select extract(epoch from '2026-06-12 08:31:54'::timestamp) - extract(epoch from '2026-06-12 08:31: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'), 46702, 'SRID=4674;POINT (-40.029902 -2.804459)', '2026-06-12 08:32:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029997 -2.80437)'), GeomFromEWKT('SRID=4674;POINT (-40.029902 -2.804459)'))) / (select extract(epoch from '2026-06-12 08:32:05'::timestamp) - extract(epoch from '2026-06-12 08:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029997 -2.80437)'), GeomFromEWKT('SRID=4674;POINT (-40.029902 -2.804459)'))) / (select extract(epoch from '2026-06-12 08:32:05'::timestamp) - extract(epoch from '2026-06-12 08:31: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'), 46702, 'SRID=4674;POINT (-40.029853 -2.804486)', '2026-06-12 08:32:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029902 -2.804459)'), GeomFromEWKT('SRID=4674;POINT (-40.029853 -2.804486)'))) / (select extract(epoch from '2026-06-12 08:32:14'::timestamp) - extract(epoch from '2026-06-12 08:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029902 -2.804459)'), GeomFromEWKT('SRID=4674;POINT (-40.029853 -2.804486)'))) / (select extract(epoch from '2026-06-12 08:32:14'::timestamp) - extract(epoch from '2026-06-12 08:32:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.029861 -2.8045)', '2026-06-12 08:32:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029853 -2.804486)'), GeomFromEWKT('SRID=4674;POINT (-40.029861 -2.8045)'))) / (select extract(epoch from '2026-06-12 08:32:30'::timestamp) - extract(epoch from '2026-06-12 08:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029853 -2.804486)'), GeomFromEWKT('SRID=4674;POINT (-40.029861 -2.8045)'))) / (select extract(epoch from '2026-06-12 08:32:30'::timestamp) - extract(epoch from '2026-06-12 08:32: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'), 46702, 'SRID=4674;POINT (-40.029919 -2.80449)', '2026-06-12 08:32:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029861 -2.8045)'), GeomFromEWKT('SRID=4674;POINT (-40.029919 -2.80449)'))) / (select extract(epoch from '2026-06-12 08:32:51'::timestamp) - extract(epoch from '2026-06-12 08:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029861 -2.8045)'), GeomFromEWKT('SRID=4674;POINT (-40.029919 -2.80449)'))) / (select extract(epoch from '2026-06-12 08:32:51'::timestamp) - extract(epoch from '2026-06-12 08:32:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.02996 -2.804442)', '2026-06-12 08:33:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029919 -2.80449)'), GeomFromEWKT('SRID=4674;POINT (-40.02996 -2.804442)'))) / (select extract(epoch from '2026-06-12 08:33:16'::timestamp) - extract(epoch from '2026-06-12 08:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029919 -2.80449)'), GeomFromEWKT('SRID=4674;POINT (-40.02996 -2.804442)'))) / (select extract(epoch from '2026-06-12 08:33:16'::timestamp) - extract(epoch from '2026-06-12 08:32:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.030013 -2.804409)', '2026-06-12 08:33:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02996 -2.804442)'), GeomFromEWKT('SRID=4674;POINT (-40.030013 -2.804409)'))) / (select extract(epoch from '2026-06-12 08:33:40'::timestamp) - extract(epoch from '2026-06-12 08:33:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02996 -2.804442)'), GeomFromEWKT('SRID=4674;POINT (-40.030013 -2.804409)'))) / (select extract(epoch from '2026-06-12 08:33:40'::timestamp) - extract(epoch from '2026-06-12 08: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'), 46702, 'SRID=4674;POINT (-40.030076 -2.804405)', '2026-06-12 08:34:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030013 -2.804409)'), GeomFromEWKT('SRID=4674;POINT (-40.030076 -2.804405)'))) / (select extract(epoch from '2026-06-12 08:34:06'::timestamp) - extract(epoch from '2026-06-12 08:33:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030013 -2.804409)'), GeomFromEWKT('SRID=4674;POINT (-40.030076 -2.804405)'))) / (select extract(epoch from '2026-06-12 08:34:06'::timestamp) - extract(epoch from '2026-06-12 08:33: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'), 46702, 'SRID=4674;POINT (-40.030072 -2.804394)', '2026-06-12 08:34:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030076 -2.804405)'), GeomFromEWKT('SRID=4674;POINT (-40.030072 -2.804394)'))) / (select extract(epoch from '2026-06-12 08:34:28'::timestamp) - extract(epoch from '2026-06-12 08:34:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030076 -2.804405)'), GeomFromEWKT('SRID=4674;POINT (-40.030072 -2.804394)'))) / (select extract(epoch from '2026-06-12 08:34:28'::timestamp) - extract(epoch from '2026-06-12 08:34:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.03005 -2.804355)', '2026-06-12 08:35:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030072 -2.804394)'), GeomFromEWKT('SRID=4674;POINT (-40.03005 -2.804355)'))) / (select extract(epoch from '2026-06-12 08:35:05'::timestamp) - extract(epoch from '2026-06-12 08:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030072 -2.804394)'), GeomFromEWKT('SRID=4674;POINT (-40.03005 -2.804355)'))) / (select extract(epoch from '2026-06-12 08:35:05'::timestamp) - extract(epoch from '2026-06-12 08:34:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.030046 -2.804354)', '2026-06-12 08:35:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03005 -2.804355)'), GeomFromEWKT('SRID=4674;POINT (-40.030046 -2.804354)'))) / (select extract(epoch from '2026-06-12 08:35:47'::timestamp) - extract(epoch from '2026-06-12 08:35:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03005 -2.804355)'), GeomFromEWKT('SRID=4674;POINT (-40.030046 -2.804354)'))) / (select extract(epoch from '2026-06-12 08:35:47'::timestamp) - extract(epoch from '2026-06-12 08:35:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
